Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Rider: the game's own physics, LiquidFun 1.1.0 (work in progress)

Mason3630c1f62a535dd
diff --git a/LICENSES/Zlib-LiquidFun.txt b/LICENSES/Zlib-LiquidFun.txt
new file mode 100644
index 00000000..7601bc8c
--- /dev/null
+++ b/LICENSES/Zlib-LiquidFun.txt
@@ -0,0 +1,21 @@
+LiquidFun 1.1.0 (Box2D 2.3.0), as Corona SDK builds it, is Rider's physics (games/rider/src/Box2D).
+This copy is altered: its particles are left out and its memory made smaller ("NumPlay:" notes in the sources).
+
+Copyright (c) 2006-2013 Erin Catto http://www.gphysics.com
+Copyright (c) 2013 Google, Inc.
+
+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.
diff --git a/games/rider/Makefile b/games/rider/Makefile
index 4424375f..a1fe53e8 100644
--- a/games/rider/Makefile
+++ b/games/rider/Makefile
@@ -1,8 +1,9 @@
-# Rider on the NumWorks calculator, an app of its own.
+# Rider on the NumWorks calculator, an app of its own (C, and the physics in C++ on the game's own engine:
+# LiquidFun 1.1.0, Box2D 2.3.0, src/Box2D).
# make output/rider.nwa
# make check link it like the calculator does (output/rider.bin), within the RAM and the app space
# make host build/play: the game on a computer, for tests and pictures
-# make test the bike against the game's numbers, a level ridden to its end with the keys, a crash, the
+# make test the bike against the game's numbers, every level ridden to its end with the keys, a crash, the
# endless run, saves (kept, damaged, from the copy) and random keys, with the sanitizers
# make perf every frame drawn in tools/emu.py, at an N0110's speed
# make data src/data.h from Rider's files (GAMESRC: the unpacked app, see its spec/)
@@ -10,6 +11,7 @@ Q ?= @
TOOLCHAIN ?=
BIN = $(if $(TOOLCHAIN),$(TOOLCHAIN)/)
CC = $(BIN)arm-none-eabi-gcc
+CXX = $(BIN)arm-none-eabi-g++
STRIP ?= $(BIN)arm-none-eabi-strip --strip-unneeded
NWLINK ?= npx --yes -- [email protected]
BUILD_DIR = output
@@ -18,13 +20,23 @@ PYTHON ?= python3
GAMESRC ?= $(HOME)/Documents/Assets/gamesrc/rider
SRC = src/main.c src/game.c src/draw.c src/plat_eadk.c $(L)/gfx.c $(L)/font_data.c $(L)/xfont.c
-HEADERS = src/rider.h src/data.h src/plat.h $(L)/gfx.h $(L)/font.h $(L)/np.h ../common/epsilon_app.h \
+HEADERS = src/rider.h src/data.h src/plat.h src/phys.h $(L)/gfx.h $(L)/font.h $(L)/np.h ../common/epsilon_app.h \
../common/epsilon_files.h ../common/np_text.h
+BOX2D = $(wildcard src/Box2D/*/*.cpp src/Box2D/*/*/*.cpp)
+BOX2D_H = $(wildcard src/Box2D/*/*.h src/Box2D/*/*/*.h)
+PHYS = src/phys.cpp $(BOX2D)
+# the calculator's memory: Box2D's arena, its tree made once, small chunks and stack
+B2 = -DB2_TREE_NODES=320 -DB2_STACK_SIZE=4096 -DB2_CHUNK_SIZE=1024 -DB2_CHUNK_ARRAY_INCREMENT=64
+# (a computer's pointers are twice as big: room for that)
+DEVICE_ARENA = -DPH_ARENA=102400
+HOST_ARENA = -DPH_ARENA=163840 -DPH_DEVICE_ARENA=102400 -DB2_BLOCK_HOOK
CFLAGS = -std=gnu11 $(shell $(NWLINK) eadk-cflags-device) -DPLATFORM_DEVICE=1 -DEPSILON_XL=1 -I$(L) -Isrc
CFLAGS += -Os -Wall -Wextra -Wno-unused-parameter -fno-math-errno -fsingle-precision-constant
CFLAGS += -fno-tree-loop-distribute-patterns -flto -fno-fat-lto-objects -fwhole-program -fvisibility=internal
-CFLAGS += -ffunction-sections -fdata-sections
+CFLAGS += -ffunction-sections -fdata-sections $(B2) $(DEVICE_ARENA)
+CXXFLAGS = $(filter-out -std=gnu11 -Os,$(CFLAGS)) -std=gnu++11 -O2 -fno-exceptions -fno-rtti -fno-threadsafe-statics
+CXXFLAGS += -fno-use-cxa-atexit -Wno-unused-but-set-variable -Wno-class-memaccess -Wno-unused-variable
LDFLAGS = -Wl,--relocatable -nostartfiles --specs=nano.specs
LDFLAGS += -Wl,-e,main -Wl,-u,eadk_app_name -Wl,-u,eadk_app_icon -Wl,-u,eadk_api_level
LDFLAGS += -Wl,--gc-sections -flinker-output=nolto-rel
@@ -50,9 +62,13 @@ $(BUILD_DIR)/obj/%.o: src/%.c $(HEADERS) | $(BUILD_DIR)
$(BUILD_DIR)/obj/%.o: $(L)/%.c $(HEADERS) | $(BUILD_DIR)
@mkdir -p $(@D)
$(Q) $(CC) $(CFLAGS) -c $< -o $@
+$(BUILD_DIR)/phys/%.o: src/%.cpp src/phys.h $(BOX2D_H) | $(BUILD_DIR)
+ @mkdir -p $(@D)
+ $(Q) $(CXX) $(CXXFLAGS) -c $< -o $@
OBJ = $(patsubst %.c,$(BUILD_DIR)/obj/%.o,$(notdir $(SRC)))
-$(BUILD_DIR)/rider.nwa: $(OBJ) $(BUILD_DIR)/icon.o
+PHYS_OBJ = $(patsubst src/%.cpp,$(BUILD_DIR)/phys/%.o,$(PHYS))
+$(BUILD_DIR)/rider.nwa: $(OBJ) $(PHYS_OBJ) $(BUILD_DIR)/icon.o
@echo "LD $@"
$(Q) $(CC) $(CFLAGS) $(LDFLAGS) $^ -lm -o $@
$(Q) $(STRIP) $@
@@ -65,8 +81,8 @@ $(BUILD_DIR):
$(Q) mkdir -p $@
# every frame drawn, at an N0110's speed in tools/emu.py: the endless run with OK held now and then
-$(BUILD_DIR)/perf.nwa: $(SRC) $(HEADERS) $(BUILD_DIR)/icon.o
- $(Q) $(CC) $(CFLAGS) -DPERF $(LDFLAGS) $(SRC) $(BUILD_DIR)/icon.o -lm -o $@
+$(BUILD_DIR)/perf.nwa: $(SRC) $(HEADERS) $(PHYS_OBJ) $(BUILD_DIR)/icon.o
+ $(Q) $(CC) $(CFLAGS) -DPERF $(LDFLAGS) $(SRC) $(PHYS_OBJ) $(BUILD_DIR)/icon.o -lm -o $@
perf: $(BUILD_DIR)/perf.nwa
$(PYTHON) ../../tools/emu.py $< --nwlink "$(NWLINK)" --ms 12000 --out $(BUILD_DIR) \
--keys "500-600:ok,1500-1600:ok,2000-5000:ok,5600-6600:ok,7000-9000:ok,9500-11500:ok"
@@ -75,12 +91,25 @@ data:
$(PYTHON) -I tools/data.py $(GAMESRC)
# on a computer: tests/play.c checks the game and saves pictures
-HOST_FLAGS = -std=gnu11 -O1 -g -Wall -Wextra -Wno-unused-parameter -DHOST -I$(L) -Isrc \
- -fsanitize=address,undefined -fno-sanitize-recover=undefined
+HOST_SAN = -fsanitize=address,undefined -fno-sanitize-recover=undefined
+HOST_FLAGS = -std=gnu11 -O1 -g -Wall -Wextra -Wno-unused-parameter -DHOST -I$(L) -Isrc $(B2) $(HOST_ARENA) $(HOST_SAN)
+HOST_CXXFLAGS = -std=gnu++11 -O2 -g -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable \
+ -Wno-unused-private-field -DHOST -Isrc -fno-exceptions -fno-rtti $(B2) $(HOST_ARENA) $(HOST_SAN)
+HOST_PHYS = $(patsubst src/%.cpp,build/host/%.o,$(PHYS))
host: build/play
-build/play: tests/play.c src/main.c src/game.c src/draw.c $(HEADERS)
+build/host/%.o: src/%.cpp src/phys.h $(BOX2D_H)
+ $(Q) mkdir -p $(@D)
+ $(Q) c++ $(HOST_CXXFLAGS) -c $< -o $@
+build/play: tests/play.c src/main.c src/game.c src/draw.c $(HEADERS) $(HOST_PHYS)
$(Q) mkdir -p build
- $(Q) cc $(HOST_FLAGS) tests/play.c src/game.c src/draw.c $(L)/gfx.c $(L)/font_data.c $(L)/xfont.c -lm -o $@
+ $(Q) cc $(HOST_FLAGS) -c tests/play.c -o build/play.o
+ $(Q) cc $(HOST_FLAGS) -c src/game.c -o build/game.o
+ $(Q) cc $(HOST_FLAGS) -c src/draw.c -o build/draw.o
+ $(Q) cc $(HOST_FLAGS) -c $(L)/gfx.c -o build/gfx.o
+ $(Q) cc $(HOST_FLAGS) -c $(L)/font_data.c -o build/font_data.o
+ $(Q) cc $(HOST_FLAGS) -c $(L)/xfont.c -o build/xfont.o
+ $(Q) c++ $(HOST_SAN) build/play.o build/game.o build/draw.o build/gfx.o build/font_data.o build/xfont.o \
+ $(HOST_PHYS) -lm -o $@
@echo "HOST $@"
test: build/play
build/play test
diff --git a/games/rider/src/Box2D/Collision/Shapes/b2ChainShape.cpp b/games/rider/src/Box2D/Collision/Shapes/b2ChainShape.cpp
new file mode 100755
index 00000000..3f44abd3
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/Shapes/b2ChainShape.cpp
@@ -0,0 +1,203 @@
+/*
+* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/Shapes/b2ChainShape.h>
+#include <Box2D/Collision/Shapes/b2EdgeShape.h>
+#include <new>
+#include <memory.h>
+#include <string.h>
+
+b2ChainShape::~b2ChainShape()
+{
+ b2Free(m_vertices);
+ m_vertices = NULL;
+ m_count = 0;
+}
+
+void b2ChainShape::CreateLoop(const b2Vec2* vertices, int32 count)
+{
+ b2Assert(m_vertices == NULL && m_count == 0);
+ b2Assert(count >= 3);
+ for (int32 i = 1; i < count; ++i)
+ {
+#if B2_ASSERT_ENABLED
+ b2Vec2 v1 = vertices[i-1];
+ b2Vec2 v2 = vertices[i];
+ // If the code crashes here, it means your vertices are too close together.
+ b2Assert(b2DistanceSquared(v1, v2) > b2_linearSlop * b2_linearSlop);
+#endif // B2_ASSERT_ENABLED
+ }
+
+ m_count = count + 1;
+ m_vertices = (b2Vec2*)b2Alloc(m_count * sizeof(b2Vec2));
+ memcpy(m_vertices, vertices, count * sizeof(b2Vec2));
+ m_vertices[count] = m_vertices[0];
+ m_prevVertex = m_vertices[m_count - 2];
+ m_nextVertex = m_vertices[1];
+ m_hasPrevVertex = true;
+ m_hasNextVertex = true;
+}
+
+void b2ChainShape::CreateChain(const b2Vec2* vertices, int32 count)
+{
+ b2Assert(m_vertices == NULL && m_count == 0);
+ b2Assert(count >= 2);
+ for (int32 i = 1; i < count; ++i)
+ {
+#if B2_ASSERT_ENABLED
+ b2Vec2 v1 = vertices[i-1];
+ b2Vec2 v2 = vertices[i];
+ // If the code crashes here, it means your vertices are too close together.
+ b2Assert(b2DistanceSquared(v1, v2) > b2_linearSlop * b2_linearSlop);
+#endif // B2_ASSERT_ENABLED
+ }
+
+ m_count = count;
+ m_vertices = (b2Vec2*)b2Alloc(count * sizeof(b2Vec2));
+ memcpy(m_vertices, vertices, m_count * sizeof(b2Vec2));
+
+ m_hasPrevVertex = false;
+ m_hasNextVertex = false;
+
+ m_prevVertex.SetZero();
+ m_nextVertex.SetZero();
+}
+
+void b2ChainShape::SetPrevVertex(const b2Vec2& prevVertex)
+{
+ m_prevVertex = prevVertex;
+ m_hasPrevVertex = true;
+}
+
+void b2ChainShape::SetNextVertex(const b2Vec2& nextVertex)
+{
+ m_nextVertex = nextVertex;
+ m_hasNextVertex = true;
+}
+
+b2Shape* b2ChainShape::Clone(b2BlockAllocator* allocator) const
+{
+ void* mem = allocator->Allocate(sizeof(b2ChainShape));
+ b2ChainShape* clone = new (mem) b2ChainShape;
+ clone->CreateChain(m_vertices, m_count);
+ clone->m_prevVertex = m_prevVertex;
+ clone->m_nextVertex = m_nextVertex;
+ clone->m_hasPrevVertex = m_hasPrevVertex;
+ clone->m_hasNextVertex = m_hasNextVertex;
+ return clone;
+}
+
+int32 b2ChainShape::GetChildCount() const
+{
+ // edge count = vertex count - 1
+ return m_count - 1;
+}
+
+void b2ChainShape::GetChildEdge(b2EdgeShape* edge, int32 index) const
+{
+ b2Assert(0 <= index && index < m_count - 1);
+ edge->m_type = b2Shape::e_edge;
+ edge->m_radius = m_radius;
+
+ edge->m_vertex1 = m_vertices[index + 0];
+ edge->m_vertex2 = m_vertices[index + 1];
+
+ if (index > 0)
+ {
+ edge->m_vertex0 = m_vertices[index - 1];
+ edge->m_hasVertex0 = true;
+ }
+ else
+ {
+ edge->m_vertex0 = m_prevVertex;
+ edge->m_hasVertex0 = m_hasPrevVertex;
+ }
+
+ if (index < m_count - 2)
+ {
+ edge->m_vertex3 = m_vertices[index + 2];
+ edge->m_hasVertex3 = true;
+ }
+ else
+ {
+ edge->m_vertex3 = m_nextVertex;
+ edge->m_hasVertex3 = m_hasNextVertex;
+ }
+}
+
+void b2ChainShape::ComputeDistance(const b2Transform& xf, const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const
+{
+ b2EdgeShape edge;
+ GetChildEdge(&edge, childIndex);
+ edge.ComputeDistance(xf, p, distance, normal, 0);
+}
+
+bool b2ChainShape::TestPoint(const b2Transform& xf, const b2Vec2& p) const
+{
+ B2_NOT_USED(xf);
+ B2_NOT_USED(p);
+ return false;
+}
+
+bool b2ChainShape::RayCast(b2RayCastOutput* output, const b2RayCastInput& input,
+ const b2Transform& xf, int32 childIndex) const
+{
+ b2Assert(childIndex < m_count);
+
+ b2EdgeShape edgeShape;
+
+ int32 i1 = childIndex;
+ int32 i2 = childIndex + 1;
+ if (i2 == m_count)
+ {
+ i2 = 0;
+ }
+
+ edgeShape.m_vertex1 = m_vertices[i1];
+ edgeShape.m_vertex2 = m_vertices[i2];
+
+ return edgeShape.RayCast(output, input, xf, 0);
+}
+
+void b2ChainShape::ComputeAABB(b2AABB* aabb, const b2Transform& xf, int32 childIndex) const
+{
+ b2Assert(childIndex < m_count);
+
+ int32 i1 = childIndex;
+ int32 i2 = childIndex + 1;
+ if (i2 == m_count)
+ {
+ i2 = 0;
+ }
+
+ b2Vec2 v1 = b2Mul(xf, m_vertices[i1]);
+ b2Vec2 v2 = b2Mul(xf, m_vertices[i2]);
+
+ aabb->lowerBound = b2Min(v1, v2);
+ aabb->upperBound = b2Max(v1, v2);
+}
+
+void b2ChainShape::ComputeMass(b2MassData* massData, float32 density) const
+{
+ B2_NOT_USED(density);
+
+ massData->mass = 0.0f;
+ massData->center.SetZero();
+ massData->I = 0.0f;
+}
diff --git a/games/rider/src/Box2D/Collision/Shapes/b2ChainShape.h b/games/rider/src/Box2D/Collision/Shapes/b2ChainShape.h
new file mode 100755
index 00000000..fe2f4b3a
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/Shapes/b2ChainShape.h
@@ -0,0 +1,106 @@
+/*
+* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_CHAIN_SHAPE_H
+#define B2_CHAIN_SHAPE_H
+
+#include <Box2D/Collision/Shapes/b2Shape.h>
+
+class b2EdgeShape;
+
+/// A chain shape is a free form sequence of line segments.
+/// The chain has two-sided collision, so you can use inside and outside collision.
+/// Therefore, you may use any winding order.
+/// Since there may be many vertices, they are allocated using b2Alloc.
+/// Connectivity information is used to create smooth collisions.
+/// WARNING: The chain will not collide properly if there are self-intersections.
+class b2ChainShape : public b2Shape
+{
+public:
+ b2ChainShape();
+
+ /// The destructor frees the vertices using b2Free.
+ ~b2ChainShape();
+
+ /// Create a loop. This automatically adjusts connectivity.
+ /// @param vertices an array of vertices, these are copied
+ /// @param count the vertex count
+ void CreateLoop(const b2Vec2* vertices, int32 count);
+
+ /// Create a chain with isolated end vertices.
+ /// @param vertices an array of vertices, these are copied
+ /// @param count the vertex count
+ void CreateChain(const b2Vec2* vertices, int32 count);
+
+ /// Establish connectivity to a vertex that precedes the first vertex.
+ /// Don't call this for loops.
+ void SetPrevVertex(const b2Vec2& prevVertex);
+
+ /// Establish connectivity to a vertex that follows the last vertex.
+ /// Don't call this for loops.
+ void SetNextVertex(const b2Vec2& nextVertex);
+
+ /// Implement b2Shape. Vertices are cloned using b2Alloc.
+ b2Shape* Clone(b2BlockAllocator* allocator) const;
+
+ /// @see b2Shape::GetChildCount
+ int32 GetChildCount() const;
+
+ /// Get a child edge.
+ void GetChildEdge(b2EdgeShape* edge, int32 index) const;
+
+ /// This always return false.
+ /// @see b2Shape::TestPoint
+ bool TestPoint(const b2Transform& transform, const b2Vec2& p) const;
+
+ // @see b2Shape::ComputeDistance
+ void ComputeDistance(const b2Transform& xf, const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const;
+
+ /// Implement b2Shape.
+ bool RayCast(b2RayCastOutput* output, const b2RayCastInput& input,
+ const b2Transform& transform, int32 childIndex) const;
+
+ /// @see b2Shape::ComputeAABB
+ void ComputeAABB(b2AABB* aabb, const b2Transform& transform, int32 childIndex) const;
+
+ /// Chains have zero mass.
+ /// @see b2Shape::ComputeMass
+ void ComputeMass(b2MassData* massData, float32 density) const;
+
+ /// The vertices. Owned by this class.
+ b2Vec2* m_vertices;
+
+ /// The vertex count.
+ int32 m_count;
+
+ b2Vec2 m_prevVertex, m_nextVertex;
+ bool m_hasPrevVertex, m_hasNextVertex;
+};
+
+inline b2ChainShape::b2ChainShape()
+{
+ m_type = e_chain;
+ m_radius = b2_polygonRadius;
+ m_vertices = NULL;
+ m_count = 0;
+ m_hasPrevVertex = false;
+ m_hasNextVertex = false;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Collision/Shapes/b2CircleShape.cpp b/games/rider/src/Box2D/Collision/Shapes/b2CircleShape.cpp
new file mode 100755
index 00000000..d2b2e9ec
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/Shapes/b2CircleShape.cpp
@@ -0,0 +1,111 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/Shapes/b2CircleShape.h>
+#include <new>
+
+b2Shape* b2CircleShape::Clone(b2BlockAllocator* allocator) const
+{
+ void* mem = allocator->Allocate(sizeof(b2CircleShape));
+ b2CircleShape* clone = new (mem) b2CircleShape;
+ *clone = *this;
+ return clone;
+}
+
+int32 b2CircleShape::GetChildCount() const
+{
+ return 1;
+}
+
+bool b2CircleShape::TestPoint(const b2Transform& transform, const b2Vec2& p) const
+{
+ b2Vec2 center = transform.p + b2Mul(transform.q, m_p);
+ b2Vec2 d = p - center;
+ return b2Dot(d, d) <= m_radius * m_radius;
+}
+
+void b2CircleShape::ComputeDistance(const b2Transform& transform, const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const
+{
+ B2_NOT_USED(childIndex);
+
+ b2Vec2 center = transform.p + b2Mul(transform.q, m_p);
+ b2Vec2 d = p - center;
+ float32 d1 = d.Length();
+ *distance = d1 - m_radius;
+ *normal = 1 / d1 * d;
+}
+
+// Collision Detection in Interactive 3D Environments by Gino van den Bergen
+// From Section 3.1.2
+// x = s + a * r
+// norm(x) = radius
+bool b2CircleShape::RayCast(b2RayCastOutput* output, const b2RayCastInput& input,
+ const b2Transform& transform, int32 childIndex) const
+{
+ B2_NOT_USED(childIndex);
+
+ b2Vec2 position = transform.p + b2Mul(transform.q, m_p);
+ b2Vec2 s = input.p1 - position;
+ float32 b = b2Dot(s, s) - m_radius * m_radius;
+
+ // Solve quadratic equation.
+ b2Vec2 r = input.p2 - input.p1;
+ float32 c = b2Dot(s, r);
+ float32 rr = b2Dot(r, r);
+ float32 sigma = c * c - rr * b;
+
+ // Check for negative discriminant and short segment.
+ if (sigma < 0.0f || rr < b2_epsilon)
+ {
+ return false;
+ }
+
+ // Find the point of intersection of the line with the circle.
+ float32 a = -(c + b2Sqrt(sigma));
+
+ // Is the intersection point on the segment?
+ if (0.0f <= a && a <= input.maxFraction * rr)
+ {
+ a /= rr;
+ output->fraction = a;
+ output->normal = s + a * r;
+ output->normal.Normalize();
+ return true;
+ }
+
+ return false;
+}
+
+void b2CircleShape::ComputeAABB(b2AABB* aabb, const b2Transform& transform, int32 childIndex) const
+{
+ B2_NOT_USED(childIndex);
+
+ b2Vec2 p = transform.p + b2Mul(transform.q, m_p);
+ aabb->lowerBound.Set(p.x - m_radius, p.y - m_radius);
+ aabb->upperBound.Set(p.x + m_radius, p.y + m_radius);
+}
+
+void b2CircleShape::ComputeMass(b2MassData* massData, float32 density) const
+{
+ massData->mass = density * b2_pi * m_radius * m_radius;
+ massData->center = m_p;
+
+ // inertia about the local origin
+ massData->I = massData->mass * (0.5f * m_radius * m_radius + b2Dot(m_p, m_p));
+}
diff --git a/games/rider/src/Box2D/Collision/Shapes/b2CircleShape.h b/games/rider/src/Box2D/Collision/Shapes/b2CircleShape.h
new file mode 100755
index 00000000..c1bfb3d7
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/Shapes/b2CircleShape.h
@@ -0,0 +1,107 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_CIRCLE_SHAPE_H
+#define B2_CIRCLE_SHAPE_H
+
+#include <Box2D/Collision/Shapes/b2Shape.h>
+
+/// A circle shape.
+class b2CircleShape : public b2Shape
+{
+public:
+ b2CircleShape();
+
+ /// Implement b2Shape.
+ b2Shape* Clone(b2BlockAllocator* allocator) const;
+
+ /// @see b2Shape::GetChildCount
+ int32 GetChildCount() const;
+
+ /// Implement b2Shape.
+ bool TestPoint(const b2Transform& transform, const b2Vec2& p) const;
+
+ // @see b2Shape::ComputeDistance
+ void ComputeDistance(const b2Transform& xf, const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const;
+
+ /// Implement b2Shape.
+ bool RayCast(b2RayCastOutput* output, const b2RayCastInput& input,
+ const b2Transform& transform, int32 childIndex) const;
+
+ /// @see b2Shape::ComputeAABB
+ void ComputeAABB(b2AABB* aabb, const b2Transform& transform, int32 childIndex) const;
+
+ /// @see b2Shape::ComputeMass
+ void ComputeMass(b2MassData* massData, float32 density) const;
+
+ /// Get the supporting vertex index in the given direction.
+ int32 GetSupport(const b2Vec2& d) const;
+
+ /// Get the supporting vertex in the given direction.
+ const b2Vec2& GetSupportVertex(const b2Vec2& d) const;
+
+ /// Get the vertex count.
+ int32 GetVertexCount() const { return 1; }
+
+ /// Get a vertex by index. Used by b2Distance.
+ const b2Vec2& GetVertex(int32 index) const;
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+public:
+ /// Set position with direct floats.
+ void SetPosition(float32 x, float32 y) { m_p.Set(x, y); }
+
+ /// Get x-coordinate of position.
+ float32 GetPositionX() const { return m_p.x; }
+
+ /// Get y-coordinate of position.
+ float32 GetPositionY() const { return m_p.y; }
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+ /// Position
+ b2Vec2 m_p;
+};
+
+inline b2CircleShape::b2CircleShape()
+{
+ m_type = e_circle;
+ m_radius = 0.0f;
+ m_p.SetZero();
+}
+
+inline int32 b2CircleShape::GetSupport(const b2Vec2 &d) const
+{
+ B2_NOT_USED(d);
+ return 0;
+}
+
+inline const b2Vec2& b2CircleShape::GetSupportVertex(const b2Vec2 &d) const
+{
+ B2_NOT_USED(d);
+ return m_p;
+}
+
+inline const b2Vec2& b2CircleShape::GetVertex(int32 index) const
+{
+ B2_NOT_USED(index);
+ b2Assert(index == 0);
+ return m_p;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Collision/Shapes/b2EdgeShape.cpp b/games/rider/src/Box2D/Collision/Shapes/b2EdgeShape.cpp
new file mode 100755
index 00000000..3a60a66d
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/Shapes/b2EdgeShape.cpp
@@ -0,0 +1,168 @@
+/*
+* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/Shapes/b2EdgeShape.h>
+#include <new>
+
+void b2EdgeShape::Set(const b2Vec2& v1, const b2Vec2& v2)
+{
+ m_vertex1 = v1;
+ m_vertex2 = v2;
+ m_hasVertex0 = false;
+ m_hasVertex3 = false;
+}
+
+b2Shape* b2EdgeShape::Clone(b2BlockAllocator* allocator) const
+{
+ void* mem = allocator->Allocate(sizeof(b2EdgeShape));
+ b2EdgeShape* clone = new (mem) b2EdgeShape;
+ *clone = *this;
+ return clone;
+}
+
+int32 b2EdgeShape::GetChildCount() const
+{
+ return 1;
+}
+
+bool b2EdgeShape::TestPoint(const b2Transform& xf, const b2Vec2& p) const
+{
+ B2_NOT_USED(xf);
+ B2_NOT_USED(p);
+ return false;
+}
+
+void b2EdgeShape::ComputeDistance(const b2Transform& xf, const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const
+{
+ B2_NOT_USED(childIndex);
+
+ b2Vec2 v1 = b2Mul(xf, m_vertex1);
+ b2Vec2 v2 = b2Mul(xf, m_vertex2);
+
+ b2Vec2 d = p - v1;
+ b2Vec2 s = v2 - v1;
+ float32 ds = b2Dot(d, s);
+ if (ds > 0)
+ {
+ float32 s2 = b2Dot(s, s);
+ if (ds > s2)
+ {
+ d = p - v2;
+ }
+ else
+ {
+ d -= ds / s2 * s;
+ }
+ }
+
+ float32 d1 = d.Length();
+ *distance = d1;
+ *normal = d1 > 0 ? 1 / d1 * d : b2Vec2_zero;
+
+}
+
+// p = p1 + t * d
+// v = v1 + s * e
+// p1 + t * d = v1 + s * e
+// s * e - t * d = p1 - v1
+bool b2EdgeShape::RayCast(b2RayCastOutput* output, const b2RayCastInput& input,
+ const b2Transform& xf, int32 childIndex) const
+{
+ B2_NOT_USED(childIndex);
+
+ // Put the ray into the edge's frame of reference.
+ b2Vec2 p1 = b2MulT(xf.q, input.p1 - xf.p);
+ b2Vec2 p2 = b2MulT(xf.q, input.p2 - xf.p);
+ b2Vec2 d = p2 - p1;
+
+ b2Vec2 v1 = m_vertex1;
+ b2Vec2 v2 = m_vertex2;
+ b2Vec2 e = v2 - v1;
+ b2Vec2 normal(e.y, -e.x);
+ normal.Normalize();
+
+ // q = p1 + t * d
+ // dot(normal, q - v1) = 0
+ // dot(normal, p1 - v1) + t * dot(normal, d) = 0
+ float32 numerator = b2Dot(normal, v1 - p1);
+ float32 denominator = b2Dot(normal, d);
+
+ if (denominator == 0.0f)
+ {
+ return false;
+ }
+
+ float32 t = numerator / denominator;
+ if (t < 0.0f || input.maxFraction < t)
+ {
+ return false;
+ }
+
+ b2Vec2 q = p1 + t * d;
+
+ // q = v1 + s * r
+ // s = dot(q - v1, r) / dot(r, r)
+ b2Vec2 r = v2 - v1;
+ float32 rr = b2Dot(r, r);
+ if (rr == 0.0f)
+ {
+ return false;
+ }
+
+ float32 s = b2Dot(q - v1, r) / rr;
+ if (s < 0.0f || 1.0f < s)
+ {
+ return false;
+ }
+
+ output->fraction = t;
+ if (numerator > 0.0f)
+ {
+ output->normal = -b2Mul(xf.q, normal);
+ }
+ else
+ {
+ output->normal = b2Mul(xf.q, normal);
+ }
+ return true;
+}
+
+void b2EdgeShape::ComputeAABB(b2AABB* aabb, const b2Transform& xf, int32 childIndex) const
+{
+ B2_NOT_USED(childIndex);
+
+ b2Vec2 v1 = b2Mul(xf, m_vertex1);
+ b2Vec2 v2 = b2Mul(xf, m_vertex2);
+
+ b2Vec2 lower = b2Min(v1, v2);
+ b2Vec2 upper = b2Max(v1, v2);
+
+ b2Vec2 r(m_radius, m_radius);
+ aabb->lowerBound = lower - r;
+ aabb->upperBound = upper + r;
+}
+
+void b2EdgeShape::ComputeMass(b2MassData* massData, float32 density) const
+{
+ B2_NOT_USED(density);
+
+ massData->mass = 0.0f;
+ massData->center = 0.5f * (m_vertex1 + m_vertex2);
+ massData->I = 0.0f;
+}
diff --git a/games/rider/src/Box2D/Collision/Shapes/b2EdgeShape.h b/games/rider/src/Box2D/Collision/Shapes/b2EdgeShape.h
new file mode 100755
index 00000000..36055e00
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/Shapes/b2EdgeShape.h
@@ -0,0 +1,94 @@
+/*
+* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_EDGE_SHAPE_H
+#define B2_EDGE_SHAPE_H
+
+#include <Box2D/Collision/Shapes/b2Shape.h>
+
+/// A line segment (edge) shape. These can be connected in chains or loops
+/// to other edge shapes. The connectivity information is used to ensure
+/// correct contact normals.
+class b2EdgeShape : public b2Shape
+{
+public:
+ b2EdgeShape();
+
+ /// Set this as an isolated edge.
+ void Set(const b2Vec2& v1, const b2Vec2& v2);
+
+ /// Implement b2Shape.
+ b2Shape* Clone(b2BlockAllocator* allocator) const;
+
+ /// @see b2Shape::GetChildCount
+ int32 GetChildCount() const;
+
+ /// @see b2Shape::TestPoint
+ bool TestPoint(const b2Transform& transform, const b2Vec2& p) const;
+
+ // @see b2Shape::ComputeDistance
+ void ComputeDistance(const b2Transform& xf, const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const;
+
+ /// Implement b2Shape.
+ bool RayCast(b2RayCastOutput* output, const b2RayCastInput& input,
+ const b2Transform& transform, int32 childIndex) const;
+
+ /// @see b2Shape::ComputeAABB
+ void ComputeAABB(b2AABB* aabb, const b2Transform& transform, int32 childIndex) const;
+
+ /// @see b2Shape::ComputeMass
+ void ComputeMass(b2MassData* massData, float32 density) const;
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+public:
+ /// Set this as an isolated edge, with direct floats.
+ void Set(float32 vx1, float32 vy1, float32 vx2, float32 vy2);
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+ /// These are the edge vertices
+ b2Vec2 m_vertex1, m_vertex2;
+
+ /// Optional adjacent vertices. These are used for smooth collision.
+ b2Vec2 m_vertex0, m_vertex3;
+ bool m_hasVertex0, m_hasVertex3;
+};
+
+inline b2EdgeShape::b2EdgeShape()
+{
+ m_type = e_edge;
+ m_radius = b2_polygonRadius;
+ m_vertex0.x = 0.0f;
+ m_vertex0.y = 0.0f;
+ m_vertex3.x = 0.0f;
+ m_vertex3.y = 0.0f;
+ m_hasVertex0 = false;
+ m_hasVertex3 = false;
+}
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+inline void b2EdgeShape::Set(float32 vx1,
+ float32 vy1,
+ float32 vx2,
+ float32 vy2) {
+ Set(b2Vec2(vx1, vy1), b2Vec2(vx2, vy2));
+}
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+
+#endif
diff --git a/games/rider/src/Box2D/Collision/Shapes/b2PolygonShape.cpp b/games/rider/src/Box2D/Collision/Shapes/b2PolygonShape.cpp
new file mode 100755
index 00000000..dce844df
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/Shapes/b2PolygonShape.cpp
@@ -0,0 +1,508 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/Shapes/b2PolygonShape.h>
+#include <new>
+
+b2Shape* b2PolygonShape::Clone(b2BlockAllocator* allocator) const
+{
+ void* mem = allocator->Allocate(sizeof(b2PolygonShape));
+ b2PolygonShape* clone = new (mem) b2PolygonShape;
+ *clone = *this;
+ return clone;
+}
+
+void b2PolygonShape::SetAsBox(float32 hx, float32 hy)
+{
+ m_count = 4;
+ m_vertices[0].Set(-hx, -hy);
+ m_vertices[1].Set( hx, -hy);
+ m_vertices[2].Set( hx, hy);
+ m_vertices[3].Set(-hx, hy);
+ m_normals[0].Set(0.0f, -1.0f);
+ m_normals[1].Set(1.0f, 0.0f);
+ m_normals[2].Set(0.0f, 1.0f);
+ m_normals[3].Set(-1.0f, 0.0f);
+ m_centroid.SetZero();
+}
+
+void b2PolygonShape::SetAsBox(float32 hx, float32 hy, const b2Vec2& center, float32 angle)
+{
+ m_count = 4;
+ m_vertices[0].Set(-hx, -hy);
+ m_vertices[1].Set( hx, -hy);
+ m_vertices[2].Set( hx, hy);
+ m_vertices[3].Set(-hx, hy);
+ m_normals[0].Set(0.0f, -1.0f);
+ m_normals[1].Set(1.0f, 0.0f);
+ m_normals[2].Set(0.0f, 1.0f);
+ m_normals[3].Set(-1.0f, 0.0f);
+ m_centroid = center;
+
+ b2Transform xf;
+ xf.p = center;
+ xf.q.Set(angle);
+
+ // Transform vertices and normals.
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ m_vertices[i] = b2Mul(xf, m_vertices[i]);
+ m_normals[i] = b2Mul(xf.q, m_normals[i]);
+ }
+}
+
+int32 b2PolygonShape::GetChildCount() const
+{
+ return 1;
+}
+
+static b2Vec2 ComputeCentroid(const b2Vec2* vs, int32 count)
+{
+ b2Assert(count >= 3);
+
+ b2Vec2 c; c.Set(0.0f, 0.0f);
+ float32 area = 0.0f;
+
+ // pRef is the reference point for forming triangles.
+ // It's location doesn't change the result (except for rounding error).
+ b2Vec2 pRef(0.0f, 0.0f);
+#if 0
+ // This code would put the reference point inside the polygon.
+ for (int32 i = 0; i < count; ++i)
+ {
+ pRef += vs[i];
+ }
+ pRef *= 1.0f / count;
+#endif
+
+ const float32 inv3 = 1.0f / 3.0f;
+
+ for (int32 i = 0; i < count; ++i)
+ {
+ // Triangle vertices.
+ b2Vec2 p1 = pRef;
+ b2Vec2 p2 = vs[i];
+ b2Vec2 p3 = i + 1 < count ? vs[i+1] : vs[0];
+
+ b2Vec2 e1 = p2 - p1;
+ b2Vec2 e2 = p3 - p1;
+
+ float32 D = b2Cross(e1, e2);
+
+ float32 triangleArea = 0.5f * D;
+ area += triangleArea;
+
+ // Area weighted centroid
+ c += triangleArea * inv3 * (p1 + p2 + p3);
+ }
+
+ // Centroid
+ b2Assert(area > b2_epsilon);
+ c *= 1.0f / area;
+ return c;
+}
+
+bool b2PolygonShape::Set(const b2Vec2* vertices, int32 count)
+{
+ b2Assert(3 <= count && count <= b2_maxPolygonVertices);
+ if (count < 3)
+ {
+ SetAsBox(1.0f, 1.0f);
+ return false;
+ }
+
+ int32 n = b2Min(count, b2_maxPolygonVertices);
+
+ // Perform welding and copy vertices into local buffer.
+ b2Vec2 ps[b2_maxPolygonVertices];
+ int32 tempCount = 0;
+ for (int32 i = 0; i < n; ++i)
+ {
+ b2Vec2 v = vertices[i];
+
+ bool unique = true;
+ for (int32 j = 0; j < tempCount; ++j)
+ {
+ if (b2DistanceSquared(v, ps[j]) < 0.5f * b2_linearSlop)
+ {
+ unique = false;
+ break;
+ }
+ }
+
+ if (unique)
+ {
+ ps[tempCount++] = v;
+ }
+ }
+
+ n = tempCount;
+ if (n < 3)
+ {
+ // Polygon is degenerate.
+ // CORONASDK/CORONALABS NOTE: We'll look at the return
+ // value instead of the asserting.
+ //b2Assert(false);
+ SetAsBox(1.0f, 1.0f);
+ return false;
+ }
+
+ // Create the convex hull using the Gift wrapping algorithm
+ // http://en.wikipedia.org/wiki/Gift_wrapping_algorithm
+
+ // Find the right most point on the hull
+ int32 i0 = 0;
+ float32 x0 = ps[0].x;
+ for (int32 i = 1; i < n; ++i)
+ {
+ float32 x = ps[i].x;
+ if (x > x0 || (x == x0 && ps[i].y < ps[i0].y))
+ {
+ i0 = i;
+ x0 = x;
+ }
+ }
+
+ int32 hull[b2_maxPolygonVertices];
+ int32 m = 0;
+ int32 ih = i0;
+
+ for (;;)
+ {
+ hull[m] = ih;
+
+ int32 ie = 0;
+ for (int32 j = 1; j < n; ++j)
+ {
+ if (ie == ih)
+ {
+ ie = j;
+ continue;
+ }
+
+ b2Vec2 r = ps[ie] - ps[hull[m]];
+ b2Vec2 v = ps[j] - ps[hull[m]];
+ float32 c = b2Cross(r, v);
+ if (c < 0.0f)
+ {
+ ie = j;
+ }
+
+ // Collinearity check
+ if (c == 0.0f && v.LengthSquared() > r.LengthSquared())
+ {
+ ie = j;
+ }
+ }
+
+ ++m;
+ ih = ie;
+
+ if (ie == i0)
+ {
+ break;
+ }
+ }
+
+ m_count = m;
+
+ // Copy vertices.
+ for (int32 i = 0; i < m; ++i)
+ {
+ m_vertices[i] = ps[hull[i]];
+ }
+
+ // Compute normals. Ensure the edges have non-zero length.
+ for (int32 i = 0; i < m; ++i)
+ {
+ int32 i1 = i;
+ int32 i2 = i + 1 < m ? i + 1 : 0;
+ b2Vec2 edge = m_vertices[i2] - m_vertices[i1];
+ b2Assert(edge.LengthSquared() > b2_epsilon * b2_epsilon);
+ m_normals[i] = b2Cross(edge, 1.0f);
+ m_normals[i].Normalize();
+ }
+
+ // Compute the polygon centroid.
+ m_centroid = ComputeCentroid(m_vertices, m);
+
+ return true;
+}
+
+bool b2PolygonShape::TestPoint(const b2Transform& xf, const b2Vec2& p) const
+{
+ b2Vec2 pLocal = b2MulT(xf.q, p - xf.p);
+
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ float32 dot = b2Dot(m_normals[i], pLocal - m_vertices[i]);
+ if (dot > 0.0f)
+ {
+ return false;
+ }
+ }
+
+ return true;
+}
+
+void b2PolygonShape::ComputeDistance(const b2Transform& xf, const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const
+{
+ B2_NOT_USED(childIndex);
+
+ b2Vec2 pLocal = b2MulT(xf.q, p - xf.p);
+ float32 maxDistance = -FLT_MAX;
+ b2Vec2 normalForMaxDistance = pLocal;
+
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ float32 dot = b2Dot(m_normals[i], pLocal - m_vertices[i]);
+ if (dot > maxDistance)
+ {
+ maxDistance = dot;
+ normalForMaxDistance = m_normals[i];
+ }
+ }
+
+ if (maxDistance > 0)
+ {
+ b2Vec2 minDistance = normalForMaxDistance;
+ float32 minDistance2 = maxDistance * maxDistance;
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ b2Vec2 distance = pLocal - m_vertices[i];
+ float32 distance2 = distance.LengthSquared();
+ if (minDistance2 > distance2)
+ {
+ minDistance = distance;
+ minDistance2 = distance2;
+ }
+ }
+
+ *distance = b2Sqrt(minDistance2);
+ *normal = b2Mul(xf.q, minDistance);
+ normal->Normalize();
+ }
+ else
+ {
+ *distance = maxDistance;
+ *normal = b2Mul(xf.q, normalForMaxDistance);
+ }
+}
+
+bool b2PolygonShape::RayCast(b2RayCastOutput* output, const b2RayCastInput& input,
+ const b2Transform& xf, int32 childIndex) const
+{
+ B2_NOT_USED(childIndex);
+
+ // Put the ray into the polygon's frame of reference.
+ b2Vec2 p1 = b2MulT(xf.q, input.p1 - xf.p);
+ b2Vec2 p2 = b2MulT(xf.q, input.p2 - xf.p);
+ b2Vec2 d = p2 - p1;
+
+ float32 lower = 0.0f, upper = input.maxFraction;
+
+ int32 index = -1;
+
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ // p = p1 + a * d
+ // dot(normal, p - v) = 0
+ // dot(normal, p1 - v) + a * dot(normal, d) = 0
+ float32 numerator = b2Dot(m_normals[i], m_vertices[i] - p1);
+ float32 denominator = b2Dot(m_normals[i], d);
+
+ if (denominator == 0.0f)
+ {
+ if (numerator < 0.0f)
+ {
+ return false;
+ }
+ }
+ else
+ {
+ // Note: we want this predicate without division:
+ // lower < numerator / denominator, where denominator < 0
+ // Since denominator < 0, we have to flip the inequality:
+ // lower < numerator / denominator <==> denominator * lower > numerator.
+ if (denominator < 0.0f && numerator < lower * denominator)
+ {
+ // Increase lower.
+ // The segment enters this half-space.
+ lower = numerator / denominator;
+ index = i;
+ }
+ else if (denominator > 0.0f && numerator < upper * denominator)
+ {
+ // Decrease upper.
+ // The segment exits this half-space.
+ upper = numerator / denominator;
+ }
+ }
+
+ // The use of epsilon here causes the assert on lower to trip
+ // in some cases. Apparently the use of epsilon was to make edge
+ // shapes work, but now those are handled separately.
+ //if (upper < lower - b2_epsilon)
+ if (upper < lower)
+ {
+ return false;
+ }
+ }
+
+ b2Assert(0.0f <= lower && lower <= input.maxFraction);
+
+ if (index >= 0)
+ {
+ output->fraction = lower;
+ output->normal = b2Mul(xf.q, m_normals[index]);
+ return true;
+ }
+
+ return false;
+}
+
+void b2PolygonShape::ComputeAABB(b2AABB* aabb, const b2Transform& xf, int32 childIndex) const
+{
+ B2_NOT_USED(childIndex);
+
+ b2Vec2 lower = b2Mul(xf, m_vertices[0]);
+ b2Vec2 upper = lower;
+
+ for (int32 i = 1; i < m_count; ++i)
+ {
+ b2Vec2 v = b2Mul(xf, m_vertices[i]);
+ lower = b2Min(lower, v);
+ upper = b2Max(upper, v);
+ }
+
+ b2Vec2 r(m_radius, m_radius);
+ aabb->lowerBound = lower - r;
+ aabb->upperBound = upper + r;
+}
+
+void b2PolygonShape::ComputeMass(b2MassData* massData, float32 density) const
+{
+ // Polygon mass, centroid, and inertia.
+ // Let rho be the polygon density in mass per unit area.
+ // Then:
+ // mass = rho * int(dA)
+ // centroid.x = (1/mass) * rho * int(x * dA)
+ // centroid.y = (1/mass) * rho * int(y * dA)
+ // I = rho * int((x*x + y*y) * dA)
+ //
+ // We can compute these integrals by summing all the integrals
+ // for each triangle of the polygon. To evaluate the integral
+ // for a single triangle, we make a change of variables to
+ // the (u,v) coordinates of the triangle:
+ // x = x0 + e1x * u + e2x * v
+ // y = y0 + e1y * u + e2y * v
+ // where 0 <= u && 0 <= v && u + v <= 1.
+ //
+ // We integrate u from [0,1-v] and then v from [0,1].
+ // We also need to use the Jacobian of the transformation:
+ // D = cross(e1, e2)
+ //
+ // Simplification: triangle centroid = (1/3) * (p1 + p2 + p3)
+ //
+ // The rest of the derivation is handled by computer algebra.
+
+ b2Assert(m_count >= 3);
+
+ b2Vec2 center; center.Set(0.0f, 0.0f);
+ float32 area = 0.0f;
+ float32 I = 0.0f;
+
+ // s is the reference point for forming triangles.
+ // It's location doesn't change the result (except for rounding error).
+ b2Vec2 s(0.0f, 0.0f);
+
+ // This code would put the reference point inside the polygon.
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ s += m_vertices[i];
+ }
+ s *= 1.0f / m_count;
+
+ const float32 k_inv3 = 1.0f / 3.0f;
+
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ // Triangle vertices.
+ b2Vec2 e1 = m_vertices[i] - s;
+ b2Vec2 e2 = i + 1 < m_count ? m_vertices[i+1] - s : m_vertices[0] - s;
+
+ float32 D = b2Cross(e1, e2);
+
+ float32 triangleArea = 0.5f * D;
+ area += triangleArea;
+
+ // Area weighted centroid
+ center += triangleArea * k_inv3 * (e1 + e2);
+
+ float32 ex1 = e1.x, ey1 = e1.y;
+ float32 ex2 = e2.x, ey2 = e2.y;
+
+ float32 intx2 = ex1*ex1 + ex2*ex1 + ex2*ex2;
+ float32 inty2 = ey1*ey1 + ey2*ey1 + ey2*ey2;
+
+ I += (0.25f * k_inv3 * D) * (intx2 + inty2);
+ }
+
+ // Total mass
+ massData->mass = density * area;
+
+ // Center of mass
+ b2Assert(area > b2_epsilon);
+ center *= 1.0f / area;
+ massData->center = center + s;
+
+ // Inertia tensor relative to the local origin (point s).
+ massData->I = density * I;
+
+ // Shift to center of mass then to original body origin.
+ massData->I += massData->mass * (b2Dot(massData->center, massData->center) - b2Dot(center, center));
+}
+
+bool b2PolygonShape::Validate() const
+{
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ int32 i1 = i;
+ int32 i2 = i < m_count - 1 ? i1 + 1 : 0;
+ b2Vec2 p = m_vertices[i1];
+ b2Vec2 e = m_vertices[i2] - p;
+
+ for (int32 j = 0; j < m_count; ++j)
+ {
+ if (j == i1 || j == i2)
+ {
+ continue;
+ }
+
+ b2Vec2 v = m_vertices[j] - p;
+ float32 c = b2Cross(e, v);
+ if (c < 0.0f)
+ {
+ return false;
+ }
+ }
+ }
+
+ return true;
+}
diff --git a/games/rider/src/Box2D/Collision/Shapes/b2PolygonShape.h b/games/rider/src/Box2D/Collision/Shapes/b2PolygonShape.h
new file mode 100755
index 00000000..2192e657
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/Shapes/b2PolygonShape.h
@@ -0,0 +1,137 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_POLYGON_SHAPE_H
+#define B2_POLYGON_SHAPE_H
+
+#include <Box2D/Collision/Shapes/b2Shape.h>
+
+/// A convex polygon. It is assumed that the interior of the polygon is to
+/// the left of each edge.
+/// Polygons have a maximum number of vertices equal to b2_maxPolygonVertices.
+/// In most cases you should not need many vertices for a convex polygon.
+class b2PolygonShape : public b2Shape
+{
+public:
+ b2PolygonShape();
+
+ /// Implement b2Shape.
+ b2Shape* Clone(b2BlockAllocator* allocator) const;
+
+ /// @see b2Shape::GetChildCount
+ int32 GetChildCount() const;
+
+ /// Create a convex hull from the given array of local points.
+ /// The count must be in the range [3, b2_maxPolygonVertices].
+ /// @warning the points may be re-ordered, even if they form a convex polygon
+ /// @warning collinear points are handled but not removed. Collinear points
+ /// may lead to poor stacking behavior.
+ ///
+ /// CORONASDK/CORONALABS NOTE: We changed the return value from "void" to
+ /// "bool" because we want to know when this function fails.
+ bool Set(const b2Vec2* points, int32 count);
+
+ /// Build vertices to represent an axis-aligned box centered on the local origin.
+ /// @param hx the half-width.
+ /// @param hy the half-height.
+ void SetAsBox(float32 hx, float32 hy);
+
+ /// Build vertices to represent an oriented box.
+ /// @param hx the half-width.
+ /// @param hy the half-height.
+ /// @param center the center of the box in local coordinates.
+ /// @param angle the rotation of the box in local coordinates.
+ void SetAsBox(float32 hx, float32 hy, const b2Vec2& center, float32 angle);
+
+ /// @see b2Shape::TestPoint
+ bool TestPoint(const b2Transform& transform, const b2Vec2& p) const;
+
+ // @see b2Shape::ComputeDistance
+ void ComputeDistance(const b2Transform& xf, const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const;
+
+ /// Implement b2Shape.
+ bool RayCast(b2RayCastOutput* output, const b2RayCastInput& input,
+ const b2Transform& transform, int32 childIndex) const;
+
+ /// @see b2Shape::ComputeAABB
+ void ComputeAABB(b2AABB* aabb, const b2Transform& transform, int32 childIndex) const;
+
+ /// @see b2Shape::ComputeMass
+ void ComputeMass(b2MassData* massData, float32 density) const;
+
+ /// Get the vertex count.
+ int32 GetVertexCount() const { return m_count; }
+
+ /// Get a vertex by index.
+ const b2Vec2& GetVertex(int32 index) const;
+
+ /// Validate convexity. This is a very time consuming operation.
+ /// @returns true if valid
+ bool Validate() const;
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+public:
+ /// Set centroid with direct floats.
+ void SetCentroid(float32 x, float32 y);
+
+ /// SetAsBox with direct floats for center.
+ /// @see b2Shape::SetAsBox
+ void SetAsBox(float32 hx,
+ float32 hy,
+ float32 centerX,
+ float32 centerY,
+ float32 angle);
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+ b2Vec2 m_centroid;
+ b2Vec2 m_vertices[b2_maxPolygonVertices];
+ b2Vec2 m_normals[b2_maxPolygonVertices];
+ int32 m_count;
+};
+
+inline b2PolygonShape::b2PolygonShape()
+{
+ m_type = e_polygon;
+ m_radius = b2_polygonRadius;
+ m_count = 0;
+ m_centroid.SetZero();
+}
+
+inline const b2Vec2& b2PolygonShape::GetVertex(int32 index) const
+{
+ b2Assert(0 <= index && index < m_count);
+ return m_vertices[index];
+}
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+inline void b2PolygonShape::SetCentroid(float32 x, float32 y)
+{
+ m_centroid.Set(x, y);
+}
+
+inline void b2PolygonShape::SetAsBox(float32 hx,
+ float32 hy,
+ float32 centerX,
+ float32 centerY,
+ float32 angle) {
+ SetAsBox(hx, hy, b2Vec2(centerX, centerY), angle);
+}
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+#endif
diff --git a/games/rider/src/Box2D/Collision/Shapes/b2Shape.h b/games/rider/src/Box2D/Collision/Shapes/b2Shape.h
new file mode 100755
index 00000000..7f14f396
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/Shapes/b2Shape.h
@@ -0,0 +1,109 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_SHAPE_H
+#define B2_SHAPE_H
+
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Common/b2Math.h>
+#include <Box2D/Collision/b2Collision.h>
+
+/// This holds the mass data computed for a shape.
+struct b2MassData
+{
+ /// The mass of the shape, usually in kilograms.
+ float32 mass;
+
+ /// The position of the shape's centroid relative to the shape's origin.
+ b2Vec2 center;
+
+ /// The rotational inertia of the shape about the local origin.
+ float32 I;
+};
+
+/// A shape is used for collision detection. You can create a shape however you like.
+/// Shapes used for simulation in b2World are created automatically when a b2Fixture
+/// is created. Shapes may encapsulate a one or more child shapes.
+class b2Shape
+{
+public:
+
+ enum Type
+ {
+ e_circle = 0,
+ e_edge = 1,
+ e_polygon = 2,
+ e_chain = 3,
+ e_typeCount = 4
+ };
+
+ virtual ~b2Shape() {}
+
+ /// Clone the concrete shape using the provided allocator.
+ virtual b2Shape* Clone(b2BlockAllocator* allocator) const = 0;
+
+ /// Get the type of this shape. You can use this to down cast to the concrete shape.
+ /// @return the shape type.
+ Type GetType() const;
+
+ /// Get the number of child primitives.
+ virtual int32 GetChildCount() const = 0;
+
+ /// Test a point for containment in this shape. This only works for convex shapes.
+ /// @param xf the shape world transform.
+ /// @param p a point in world coordinates.
+ virtual bool TestPoint(const b2Transform& xf, const b2Vec2& p) const = 0;
+
+ /// Compute the distance from the current shape to the specified point. This only works for convex shapes.
+ /// @param xf the shape world transform.
+ /// @param p a point in world coordinates.
+ /// @param distance returns the distance from the current shape.
+ /// @param normal returns the direction in which the distance increases.
+ virtual void ComputeDistance(const b2Transform& xf, const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const= 0;
+
+ /// Cast a ray against a child shape.
+ /// @param output the ray-cast results.
+ /// @param input the ray-cast input parameters.
+ /// @param transform the transform to be applied to the shape.
+ /// @param childIndex the child shape index
+ virtual bool RayCast(b2RayCastOutput* output, const b2RayCastInput& input,
+ const b2Transform& transform, int32 childIndex) const = 0;
+
+ /// Given a transform, compute the associated axis aligned bounding box for a child shape.
+ /// @param aabb returns the axis aligned box.
+ /// @param xf the world transform of the shape.
+ /// @param childIndex the child shape
+ virtual void ComputeAABB(b2AABB* aabb, const b2Transform& xf, int32 childIndex) const = 0;
+
+ /// Compute the mass properties of this shape using its dimensions and density.
+ /// The inertia tensor is computed about the local origin.
+ /// @param massData returns the mass data for this shape.
+ /// @param density the density in kilograms per meter squared.
+ virtual void ComputeMass(b2MassData* massData, float32 density) const = 0;
+
+ Type m_type;
+ float32 m_radius;
+};
+
+inline b2Shape::Type b2Shape::GetType() const
+{
+ return m_type;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Collision/b2BroadPhase.cpp b/games/rider/src/Box2D/Collision/b2BroadPhase.cpp
new file mode 100755
index 00000000..04e955d2
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2BroadPhase.cpp
@@ -0,0 +1,119 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/b2BroadPhase.h>
+
+b2BroadPhase::b2BroadPhase()
+{
+ m_proxyCount = 0;
+
+ m_pairCapacity = 16;
+ m_pairCount = 0;
+ m_pairBuffer = (b2Pair*)b2Alloc(m_pairCapacity * sizeof(b2Pair));
+
+ m_moveCapacity = 16;
+ m_moveCount = 0;
+ m_moveBuffer = (int32*)b2Alloc(m_moveCapacity * sizeof(int32));
+}
+
+b2BroadPhase::~b2BroadPhase()
+{
+ b2Free(m_moveBuffer);
+ b2Free(m_pairBuffer);
+}
+
+int32 b2BroadPhase::CreateProxy(const b2AABB& aabb, void* userData)
+{
+ int32 proxyId = m_tree.CreateProxy(aabb, userData);
+ ++m_proxyCount;
+ BufferMove(proxyId);
+ return proxyId;
+}
+
+void b2BroadPhase::DestroyProxy(int32 proxyId)
+{
+ UnBufferMove(proxyId);
+ --m_proxyCount;
+ m_tree.DestroyProxy(proxyId);
+}
+
+void b2BroadPhase::MoveProxy(int32 proxyId, const b2AABB& aabb, const b2Vec2& displacement)
+{
+ bool buffer = m_tree.MoveProxy(proxyId, aabb, displacement);
+ if (buffer)
+ {
+ BufferMove(proxyId);
+ }
+}
+
+void b2BroadPhase::TouchProxy(int32 proxyId)
+{
+ BufferMove(proxyId);
+}
+
+void b2BroadPhase::BufferMove(int32 proxyId)
+{
+ if (m_moveCount == m_moveCapacity)
+ {
+ int32* oldBuffer = m_moveBuffer;
+ m_moveCapacity *= 2;
+ m_moveBuffer = (int32*)b2Alloc(m_moveCapacity * sizeof(int32));
+ memcpy(m_moveBuffer, oldBuffer, m_moveCount * sizeof(int32));
+ b2Free(oldBuffer);
+ }
+
+ m_moveBuffer[m_moveCount] = proxyId;
+ ++m_moveCount;
+}
+
+void b2BroadPhase::UnBufferMove(int32 proxyId)
+{
+ for (int32 i = 0; i < m_moveCount; ++i)
+ {
+ if (m_moveBuffer[i] == proxyId)
+ {
+ m_moveBuffer[i] = e_nullProxy;
+ }
+ }
+}
+
+// This is called from b2DynamicTree::Query when we are gathering pairs.
+bool b2BroadPhase::QueryCallback(int32 proxyId)
+{
+ // A proxy cannot form a pair with itself.
+ if (proxyId == m_queryProxyId)
+ {
+ return true;
+ }
+
+ // Grow the pair buffer as needed.
+ if (m_pairCount == m_pairCapacity)
+ {
+ b2Pair* oldBuffer = m_pairBuffer;
+ m_pairCapacity *= 2;
+ m_pairBuffer = (b2Pair*)b2Alloc(m_pairCapacity * sizeof(b2Pair));
+ memcpy(m_pairBuffer, oldBuffer, m_pairCount * sizeof(b2Pair));
+ b2Free(oldBuffer);
+ }
+
+ m_pairBuffer[m_pairCount].proxyIdA = b2Min(proxyId, m_queryProxyId);
+ m_pairBuffer[m_pairCount].proxyIdB = b2Max(proxyId, m_queryProxyId);
+ ++m_pairCount;
+
+ return true;
+}
diff --git a/games/rider/src/Box2D/Collision/b2BroadPhase.h b/games/rider/src/Box2D/Collision/b2BroadPhase.h
new file mode 100755
index 00000000..0c460cab
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2BroadPhase.h
@@ -0,0 +1,257 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_BROAD_PHASE_H
+#define B2_BROAD_PHASE_H
+
+#include <Box2D/Common/b2Settings.h>
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/b2DynamicTree.h>
+#include <algorithm>
+
+struct b2Pair
+{
+ int32 proxyIdA;
+ int32 proxyIdB;
+};
+
+/// The broad-phase is used for computing pairs and performing volume queries and ray casts.
+/// This broad-phase does not persist pairs. Instead, this reports potentially new pairs.
+/// It is up to the client to consume the new pairs and to track subsequent overlap.
+class b2BroadPhase
+{
+public:
+
+ enum
+ {
+ e_nullProxy = -1
+ };
+
+ b2BroadPhase();
+ ~b2BroadPhase();
+
+ /// Create a proxy with an initial AABB. Pairs are not reported until
+ /// UpdatePairs is called.
+ int32 CreateProxy(const b2AABB& aabb, void* userData);
+
+ /// Destroy a proxy. It is up to the client to remove any pairs.
+ void DestroyProxy(int32 proxyId);
+
+ /// Call MoveProxy as many times as you like, then when you are done
+ /// call UpdatePairs to finalized the proxy pairs (for your time step).
+ void MoveProxy(int32 proxyId, const b2AABB& aabb, const b2Vec2& displacement);
+
+ /// Call to trigger a re-processing of it's pairs on the next call to UpdatePairs.
+ void TouchProxy(int32 proxyId);
+
+ /// Get the fat AABB for a proxy.
+ const b2AABB& GetFatAABB(int32 proxyId) const;
+
+ /// Get user data from a proxy. Returns NULL if the id is invalid.
+ void* GetUserData(int32 proxyId) const;
+
+ /// Test overlap of fat AABBs.
+ bool TestOverlap(int32 proxyIdA, int32 proxyIdB) const;
+
+ /// Get the number of proxies.
+ int32 GetProxyCount() const;
+
+ /// Update the pairs. This results in pair callbacks. This can only add pairs.
+ template <typename T>
+ void UpdatePairs(T* callback);
+
+ /// Query an AABB for overlapping proxies. The callback class
+ /// is called for each proxy that overlaps the supplied AABB.
+ template <typename T>
+ void Query(T* callback, const b2AABB& aabb) const;
+
+ /// Ray-cast against the proxies in the tree. This relies on the callback
+ /// to perform a exact ray-cast in the case were the proxy contains a shape.
+ /// The callback also performs the any collision filtering. This has performance
+ /// roughly equal to k * log(n), where k is the number of collisions and n is the
+ /// number of proxies in the tree.
+ /// @param input the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
+ /// @param callback a callback class that is called for each proxy that is hit by the ray.
+ template <typename T>
+ void RayCast(T* callback, const b2RayCastInput& input) const;
+
+ /// Get the height of the embedded tree.
+ int32 GetTreeHeight() const;
+
+ /// Get the balance of the embedded tree.
+ int32 GetTreeBalance() const;
+
+ /// Get the quality metric of the embedded tree.
+ float32 GetTreeQuality() const;
+
+ /// Shift the world origin. Useful for large worlds.
+ /// The shift formula is: position -= newOrigin
+ /// @param newOrigin the new origin with respect to the old origin
+ void ShiftOrigin(const b2Vec2& newOrigin);
+
+private:
+
+ friend class b2DynamicTree;
+
+ void BufferMove(int32 proxyId);
+ void UnBufferMove(int32 proxyId);
+
+ bool QueryCallback(int32 proxyId);
+
+ b2DynamicTree m_tree;
+
+ int32 m_proxyCount;
+
+ int32* m_moveBuffer;
+ int32 m_moveCapacity;
+ int32 m_moveCount;
+
+ b2Pair* m_pairBuffer;
+ int32 m_pairCapacity;
+ int32 m_pairCount;
+
+ int32 m_queryProxyId;
+};
+
+/// This is used to sort pairs.
+inline bool b2PairLessThan(const b2Pair& pair1, const b2Pair& pair2)
+{
+ if (pair1.proxyIdA < pair2.proxyIdA)
+ {
+ return true;
+ }
+
+ if (pair1.proxyIdA == pair2.proxyIdA)
+ {
+ return pair1.proxyIdB < pair2.proxyIdB;
+ }
+
+ return false;
+}
+
+inline void* b2BroadPhase::GetUserData(int32 proxyId) const
+{
+ return m_tree.GetUserData(proxyId);
+}
+
+inline bool b2BroadPhase::TestOverlap(int32 proxyIdA, int32 proxyIdB) const
+{
+ const b2AABB& aabbA = m_tree.GetFatAABB(proxyIdA);
+ const b2AABB& aabbB = m_tree.GetFatAABB(proxyIdB);
+ return b2TestOverlap(aabbA, aabbB);
+}
+
+inline const b2AABB& b2BroadPhase::GetFatAABB(int32 proxyId) const
+{
+ return m_tree.GetFatAABB(proxyId);
+}
+
+inline int32 b2BroadPhase::GetProxyCount() const
+{
+ return m_proxyCount;
+}
+
+inline int32 b2BroadPhase::GetTreeHeight() const
+{
+ return m_tree.GetHeight();
+}
+
+inline int32 b2BroadPhase::GetTreeBalance() const
+{
+ return m_tree.GetMaxBalance();
+}
+
+inline float32 b2BroadPhase::GetTreeQuality() const
+{
+ return m_tree.GetAreaRatio();
+}
+
+template <typename T>
+void b2BroadPhase::UpdatePairs(T* callback)
+{
+ // Reset pair buffer
+ m_pairCount = 0;
+
+ // Perform tree queries for all moving proxies.
+ for (int32 i = 0; i < m_moveCount; ++i)
+ {
+ m_queryProxyId = m_moveBuffer[i];
+ if (m_queryProxyId == e_nullProxy)
+ {
+ continue;
+ }
+
+ // We have to query the tree with the fat AABB so that
+ // we don't fail to create a pair that may touch later.
+ const b2AABB& fatAABB = m_tree.GetFatAABB(m_queryProxyId);
+
+ // Query tree, create pairs and add them pair buffer.
+ m_tree.Query(this, fatAABB);
+ }
+
+ // Reset move buffer
+ m_moveCount = 0;
+
+ // Sort the pair buffer to expose duplicates.
+ std::sort(m_pairBuffer, m_pairBuffer + m_pairCount, b2PairLessThan);
+
+ // Send the pairs back to the client.
+ int32 i = 0;
+ while (i < m_pairCount)
+ {
+ b2Pair* primaryPair = m_pairBuffer + i;
+ void* userDataA = m_tree.GetUserData(primaryPair->proxyIdA);
+ void* userDataB = m_tree.GetUserData(primaryPair->proxyIdB);
+
+ callback->AddPair(userDataA, userDataB);
+ ++i;
+
+ // Skip any duplicate pairs.
+ while (i < m_pairCount)
+ {
+ b2Pair* pair = m_pairBuffer + i;
+ if (pair->proxyIdA != primaryPair->proxyIdA || pair->proxyIdB != primaryPair->proxyIdB)
+ {
+ break;
+ }
+ ++i;
+ }
+ }
+
+ // Try to keep the tree balanced.
+ //m_tree.Rebalance(4);
+}
+
+template <typename T>
+inline void b2BroadPhase::Query(T* callback, const b2AABB& aabb) const
+{
+ m_tree.Query(callback, aabb);
+}
+
+template <typename T>
+inline void b2BroadPhase::RayCast(T* callback, const b2RayCastInput& input) const
+{
+ m_tree.RayCast(callback, input);
+}
+
+inline void b2BroadPhase::ShiftOrigin(const b2Vec2& newOrigin)
+{
+ m_tree.ShiftOrigin(newOrigin);
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Collision/b2CollideCircle.cpp b/games/rider/src/Box2D/Collision/b2CollideCircle.cpp
new file mode 100755
index 00000000..4181fd47
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2CollideCircle.cpp
@@ -0,0 +1,154 @@
+/*
+* Copyright (c) 2007-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/Shapes/b2CircleShape.h>
+#include <Box2D/Collision/Shapes/b2PolygonShape.h>
+
+void b2CollideCircles(
+ b2Manifold* manifold,
+ const b2CircleShape* circleA, const b2Transform& xfA,
+ const b2CircleShape* circleB, const b2Transform& xfB)
+{
+ manifold->pointCount = 0;
+
+ b2Vec2 pA = b2Mul(xfA, circleA->m_p);
+ b2Vec2 pB = b2Mul(xfB, circleB->m_p);
+
+ b2Vec2 d = pB - pA;
+ float32 distSqr = b2Dot(d, d);
+ float32 rA = circleA->m_radius, rB = circleB->m_radius;
+ float32 radius = rA + rB;
+ if (distSqr > radius * radius)
+ {
+ return;
+ }
+
+ manifold->type = b2Manifold::e_circles;
+ manifold->localPoint = circleA->m_p;
+ manifold->localNormal.SetZero();
+ manifold->pointCount = 1;
+
+ manifold->points[0].localPoint = circleB->m_p;
+ manifold->points[0].id.key = 0;
+}
+
+void b2CollidePolygonAndCircle(
+ b2Manifold* manifold,
+ const b2PolygonShape* polygonA, const b2Transform& xfA,
+ const b2CircleShape* circleB, const b2Transform& xfB)
+{
+ manifold->pointCount = 0;
+
+ // Compute circle position in the frame of the polygon.
+ b2Vec2 c = b2Mul(xfB, circleB->m_p);
+ b2Vec2 cLocal = b2MulT(xfA, c);
+
+ // Find the min separating edge.
+ int32 normalIndex = 0;
+ float32 separation = -b2_maxFloat;
+ float32 radius = polygonA->m_radius + circleB->m_radius;
+ int32 vertexCount = polygonA->m_count;
+ const b2Vec2* vertices = polygonA->m_vertices;
+ const b2Vec2* normals = polygonA->m_normals;
+
+ for (int32 i = 0; i < vertexCount; ++i)
+ {
+ float32 s = b2Dot(normals[i], cLocal - vertices[i]);
+
+ if (s > radius)
+ {
+ // Early out.
+ return;
+ }
+
+ if (s > separation)
+ {
+ separation = s;
+ normalIndex = i;
+ }
+ }
+
+ // Vertices that subtend the incident face.
+ int32 vertIndex1 = normalIndex;
+ int32 vertIndex2 = vertIndex1 + 1 < vertexCount ? vertIndex1 + 1 : 0;
+ b2Vec2 v1 = vertices[vertIndex1];
+ b2Vec2 v2 = vertices[vertIndex2];
+
+ // If the center is inside the polygon ...
+ if (separation < b2_epsilon)
+ {
+ manifold->pointCount = 1;
+ manifold->type = b2Manifold::e_faceA;
+ manifold->localNormal = normals[normalIndex];
+ manifold->localPoint = 0.5f * (v1 + v2);
+ manifold->points[0].localPoint = circleB->m_p;
+ manifold->points[0].id.key = 0;
+ return;
+ }
+
+ // Compute barycentric coordinates
+ float32 u1 = b2Dot(cLocal - v1, v2 - v1);
+ float32 u2 = b2Dot(cLocal - v2, v1 - v2);
+ if (u1 <= 0.0f)
+ {
+ if (b2DistanceSquared(cLocal, v1) > radius * radius)
+ {
+ return;
+ }
+
+ manifold->pointCount = 1;
+ manifold->type = b2Manifold::e_faceA;
+ manifold->localNormal = cLocal - v1;
+ manifold->localNormal.Normalize();
+ manifold->localPoint = v1;
+ manifold->points[0].localPoint = circleB->m_p;
+ manifold->points[0].id.key = 0;
+ }
+ else if (u2 <= 0.0f)
+ {
+ if (b2DistanceSquared(cLocal, v2) > radius * radius)
+ {
+ return;
+ }
+
+ manifold->pointCount = 1;
+ manifold->type = b2Manifold::e_faceA;
+ manifold->localNormal = cLocal - v2;
+ manifold->localNormal.Normalize();
+ manifold->localPoint = v2;
+ manifold->points[0].localPoint = circleB->m_p;
+ manifold->points[0].id.key = 0;
+ }
+ else
+ {
+ b2Vec2 faceCenter = 0.5f * (v1 + v2);
+ float32 separation = b2Dot(cLocal - faceCenter, normals[vertIndex1]);
+ if (separation > radius)
+ {
+ return;
+ }
+
+ manifold->pointCount = 1;
+ manifold->type = b2Manifold::e_faceA;
+ manifold->localNormal = normals[vertIndex1];
+ manifold->localPoint = faceCenter;
+ manifold->points[0].localPoint = circleB->m_p;
+ manifold->points[0].id.key = 0;
+ }
+}
diff --git a/games/rider/src/Box2D/Collision/b2CollideEdge.cpp b/games/rider/src/Box2D/Collision/b2CollideEdge.cpp
new file mode 100755
index 00000000..88e311c6
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2CollideEdge.cpp
@@ -0,0 +1,698 @@
+/*
+ * Copyright (c) 2007-2009 Erin Catto http://www.box2d.org
+ *
+ * This software is provided 'as-is', without any express or implied
+ * warranty. In no event will the authors be held liable for any damages
+ * arising from the use of this software.
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
+ * 1. The origin of this software must not be misrepresented; you must not
+ * claim that you wrote the original software. If you use this software
+ * in a product, an acknowledgment in the product documentation would be
+ * appreciated but is not required.
+ * 2. Altered source versions must be plainly marked as such, and must not be
+ * misrepresented as being the original software.
+ * 3. This notice may not be removed or altered from any source distribution.
+ */
+
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/Shapes/b2CircleShape.h>
+#include <Box2D/Collision/Shapes/b2EdgeShape.h>
+#include <Box2D/Collision/Shapes/b2PolygonShape.h>
+
+
+// Compute contact points for edge versus circle.
+// This accounts for edge connectivity.
+void b2CollideEdgeAndCircle(b2Manifold* manifold,
+ const b2EdgeShape* edgeA, const b2Transform& xfA,
+ const b2CircleShape* circleB, const b2Transform& xfB)
+{
+ manifold->pointCount = 0;
+
+ // Compute circle in frame of edge
+ b2Vec2 Q = b2MulT(xfA, b2Mul(xfB, circleB->m_p));
+
+ b2Vec2 A = edgeA->m_vertex1, B = edgeA->m_vertex2;
+ b2Vec2 e = B - A;
+
+ // Barycentric coordinates
+ float32 u = b2Dot(e, B - Q);
+ float32 v = b2Dot(e, Q - A);
+
+ float32 radius = edgeA->m_radius + circleB->m_radius;
+
+ b2ContactFeature cf;
+ cf.indexB = 0;
+ cf.typeB = b2ContactFeature::e_vertex;
+
+ // Region A
+ if (v <= 0.0f)
+ {
+ b2Vec2 P = A;
+ b2Vec2 d = Q - P;
+ float32 dd = b2Dot(d, d);
+ if (dd > radius * radius)
+ {
+ return;
+ }
+
+ // Is there an edge connected to A?
+ if (edgeA->m_hasVertex0)
+ {
+ b2Vec2 A1 = edgeA->m_vertex0;
+ b2Vec2 B1 = A;
+ b2Vec2 e1 = B1 - A1;
+ float32 u1 = b2Dot(e1, B1 - Q);
+
+ // Is the circle in Region AB of the previous edge?
+ if (u1 > 0.0f)
+ {
+ return;
+ }
+ }
+
+ cf.indexA = 0;
+ cf.typeA = b2ContactFeature::e_vertex;
+ manifold->pointCount = 1;
+ manifold->type = b2Manifold::e_circles;
+ manifold->localNormal.SetZero();
+ manifold->localPoint = P;
+ manifold->points[0].id.key = 0;
+ manifold->points[0].id.cf = cf;
+ manifold->points[0].localPoint = circleB->m_p;
+ return;
+ }
+
+ // Region B
+ if (u <= 0.0f)
+ {
+ b2Vec2 P = B;
+ b2Vec2 d = Q - P;
+ float32 dd = b2Dot(d, d);
+ if (dd > radius * radius)
+ {
+ return;
+ }
+
+ // Is there an edge connected to B?
+ if (edgeA->m_hasVertex3)
+ {
+ b2Vec2 B2 = edgeA->m_vertex3;
+ b2Vec2 A2 = B;
+ b2Vec2 e2 = B2 - A2;
+ float32 v2 = b2Dot(e2, Q - A2);
+
+ // Is the circle in Region AB of the next edge?
+ if (v2 > 0.0f)
+ {
+ return;
+ }
+ }
+
+ cf.indexA = 1;
+ cf.typeA = b2ContactFeature::e_vertex;
+ manifold->pointCount = 1;
+ manifold->type = b2Manifold::e_circles;
+ manifold->localNormal.SetZero();
+ manifold->localPoint = P;
+ manifold->points[0].id.key = 0;
+ manifold->points[0].id.cf = cf;
+ manifold->points[0].localPoint = circleB->m_p;
+ return;
+ }
+
+ // Region AB
+ float32 den = b2Dot(e, e);
+ b2Assert(den > 0.0f);
+ b2Vec2 P = (1.0f / den) * (u * A + v * B);
+ b2Vec2 d = Q - P;
+ float32 dd = b2Dot(d, d);
+ if (dd > radius * radius)
+ {
+ return;
+ }
+
+ b2Vec2 n(-e.y, e.x);
+ if (b2Dot(n, Q - A) < 0.0f)
+ {
+ n.Set(-n.x, -n.y);
+ }
+ n.Normalize();
+
+ cf.indexA = 0;
+ cf.typeA = b2ContactFeature::e_face;
+ manifold->pointCount = 1;
+ manifold->type = b2Manifold::e_faceA;
+ manifold->localNormal = n;
+ manifold->localPoint = A;
+ manifold->points[0].id.key = 0;
+ manifold->points[0].id.cf = cf;
+ manifold->points[0].localPoint = circleB->m_p;
+}
+
+// This structure is used to keep track of the best separating axis.
+struct b2EPAxis
+{
+ enum Type
+ {
+ e_unknown,
+ e_edgeA,
+ e_edgeB
+ };
+
+ Type type;
+ int32 index;
+ float32 separation;
+};
+
+// This holds polygon B expressed in frame A.
+struct b2TempPolygon
+{
+ b2Vec2 vertices[b2_maxPolygonVertices];
+ b2Vec2 normals[b2_maxPolygonVertices];
+ int32 count;
+};
+
+// Reference face used for clipping
+struct b2ReferenceFace
+{
+ int32 i1, i2;
+
+ b2Vec2 v1, v2;
+
+ b2Vec2 normal;
+
+ b2Vec2 sideNormal1;
+ float32 sideOffset1;
+
+ b2Vec2 sideNormal2;
+ float32 sideOffset2;
+};
+
+// This class collides and edge and a polygon, taking into account edge adjacency.
+struct b2EPCollider
+{
+ void Collide(b2Manifold* manifold, const b2EdgeShape* edgeA, const b2Transform& xfA,
+ const b2PolygonShape* polygonB, const b2Transform& xfB);
+ b2EPAxis ComputeEdgeSeparation();
+ b2EPAxis ComputePolygonSeparation();
+
+ enum VertexType
+ {
+ e_isolated,
+ e_concave,
+ e_convex
+ };
+
+ b2TempPolygon m_polygonB;
+
+ b2Transform m_xf;
+ b2Vec2 m_centroidB;
+ b2Vec2 m_v0, m_v1, m_v2, m_v3;
+ b2Vec2 m_normal0, m_normal1, m_normal2;
+ b2Vec2 m_normal;
+ VertexType m_type1, m_type2;
+ b2Vec2 m_lowerLimit, m_upperLimit;
+ float32 m_radius;
+ bool m_front;
+};
+
+// Algorithm:
+// 1. Classify v1 and v2
+// 2. Classify polygon centroid as front or back
+// 3. Flip normal if necessary
+// 4. Initialize normal range to [-pi, pi] about face normal
+// 5. Adjust normal range according to adjacent edges
+// 6. Visit each separating axes, only accept axes within the range
+// 7. Return if _any_ axis indicates separation
+// 8. Clip
+void b2EPCollider::Collide(b2Manifold* manifold, const b2EdgeShape* edgeA, const b2Transform& xfA,
+ const b2PolygonShape* polygonB, const b2Transform& xfB)
+{
+ m_xf = b2MulT(xfA, xfB);
+
+ m_centroidB = b2Mul(m_xf, polygonB->m_centroid);
+
+ m_v0 = edgeA->m_vertex0;
+ m_v1 = edgeA->m_vertex1;
+ m_v2 = edgeA->m_vertex2;
+ m_v3 = edgeA->m_vertex3;
+
+ bool hasVertex0 = edgeA->m_hasVertex0;
+ bool hasVertex3 = edgeA->m_hasVertex3;
+
+ b2Vec2 edge1 = m_v2 - m_v1;
+ edge1.Normalize();
+ m_normal1.Set(edge1.y, -edge1.x);
+ float32 offset1 = b2Dot(m_normal1, m_centroidB - m_v1);
+ float32 offset0 = 0.0f, offset2 = 0.0f;
+ bool convex1 = false, convex2 = false;
+
+ // Is there a preceding edge?
+ if (hasVertex0)
+ {
+ b2Vec2 edge0 = m_v1 - m_v0;
+ edge0.Normalize();
+ m_normal0.Set(edge0.y, -edge0.x);
+ convex1 = b2Cross(edge0, edge1) >= 0.0f;
+ offset0 = b2Dot(m_normal0, m_centroidB - m_v0);
+ }
+
+ // Is there a following edge?
+ if (hasVertex3)
+ {
+ b2Vec2 edge2 = m_v3 - m_v2;
+ edge2.Normalize();
+ m_normal2.Set(edge2.y, -edge2.x);
+ convex2 = b2Cross(edge1, edge2) > 0.0f;
+ offset2 = b2Dot(m_normal2, m_centroidB - m_v2);
+ }
+
+ // Determine front or back collision. Determine collision normal limits.
+ if (hasVertex0 && hasVertex3)
+ {
+ if (convex1 && convex2)
+ {
+ m_front = offset0 >= 0.0f || offset1 >= 0.0f || offset2 >= 0.0f;
+ if (m_front)
+ {
+ m_normal = m_normal1;
+ m_lowerLimit = m_normal0;
+ m_upperLimit = m_normal2;
+ }
+ else
+ {
+ m_normal = -m_normal1;
+ m_lowerLimit = -m_normal1;
+ m_upperLimit = -m_normal1;
+ }
+ }
+ else if (convex1)
+ {
+ m_front = offset0 >= 0.0f || (offset1 >= 0.0f && offset2 >= 0.0f);
+ if (m_front)
+ {
+ m_normal = m_normal1;
+ m_lowerLimit = m_normal0;
+ m_upperLimit = m_normal1;
+ }
+ else
+ {
+ m_normal = -m_normal1;
+ m_lowerLimit = -m_normal2;
+ m_upperLimit = -m_normal1;
+ }
+ }
+ else if (convex2)
+ {
+ m_front = offset2 >= 0.0f || (offset0 >= 0.0f && offset1 >= 0.0f);
+ if (m_front)
+ {
+ m_normal = m_normal1;
+ m_lowerLimit = m_normal1;
+ m_upperLimit = m_normal2;
+ }
+ else
+ {
+ m_normal = -m_normal1;
+ m_lowerLimit = -m_normal1;
+ m_upperLimit = -m_normal0;
+ }
+ }
+ else
+ {
+ m_front = offset0 >= 0.0f && offset1 >= 0.0f && offset2 >= 0.0f;
+ if (m_front)
+ {
+ m_normal = m_normal1;
+ m_lowerLimit = m_normal1;
+ m_upperLimit = m_normal1;
+ }
+ else
+ {
+ m_normal = -m_normal1;
+ m_lowerLimit = -m_normal2;
+ m_upperLimit = -m_normal0;
+ }
+ }
+ }
+ else if (hasVertex0)
+ {
+ if (convex1)
+ {
+ m_front = offset0 >= 0.0f || offset1 >= 0.0f;
+ if (m_front)
+ {
+ m_normal = m_normal1;
+ m_lowerLimit = m_normal0;
+ m_upperLimit = -m_normal1;
+ }
+ else
+ {
+ m_normal = -m_normal1;
+ m_lowerLimit = m_normal1;
+ m_upperLimit = -m_normal1;
+ }
+ }
+ else
+ {
+ m_front = offset0 >= 0.0f && offset1 >= 0.0f;
+ if (m_front)
+ {
+ m_normal = m_normal1;
+ m_lowerLimit = m_normal1;
+ m_upperLimit = -m_normal1;
+ }
+ else
+ {
+ m_normal = -m_normal1;
+ m_lowerLimit = m_normal1;
+ m_upperLimit = -m_normal0;
+ }
+ }
+ }
+ else if (hasVertex3)
+ {
+ if (convex2)
+ {
+ m_front = offset1 >= 0.0f || offset2 >= 0.0f;
+ if (m_front)
+ {
+ m_normal = m_normal1;
+ m_lowerLimit = -m_normal1;
+ m_upperLimit = m_normal2;
+ }
+ else
+ {
+ m_normal = -m_normal1;
+ m_lowerLimit = -m_normal1;
+ m_upperLimit = m_normal1;
+ }
+ }
+ else
+ {
+ m_front = offset1 >= 0.0f && offset2 >= 0.0f;
+ if (m_front)
+ {
+ m_normal = m_normal1;
+ m_lowerLimit = -m_normal1;
+ m_upperLimit = m_normal1;
+ }
+ else
+ {
+ m_normal = -m_normal1;
+ m_lowerLimit = -m_normal2;
+ m_upperLimit = m_normal1;
+ }
+ }
+ }
+ else
+ {
+ m_front = offset1 >= 0.0f;
+ if (m_front)
+ {
+ m_normal = m_normal1;
+ m_lowerLimit = -m_normal1;
+ m_upperLimit = -m_normal1;
+ }
+ else
+ {
+ m_normal = -m_normal1;
+ m_lowerLimit = m_normal1;
+ m_upperLimit = m_normal1;
+ }
+ }
+
+ // Get polygonB in frameA
+ m_polygonB.count = polygonB->m_count;
+ for (int32 i = 0; i < polygonB->m_count; ++i)
+ {
+ m_polygonB.vertices[i] = b2Mul(m_xf, polygonB->m_vertices[i]);
+ m_polygonB.normals[i] = b2Mul(m_xf.q, polygonB->m_normals[i]);
+ }
+
+ m_radius = 2.0f * b2_polygonRadius;
+
+ manifold->pointCount = 0;
+
+ b2EPAxis edgeAxis = ComputeEdgeSeparation();
+
+ // If no valid normal can be found than this edge should not collide.
+ if (edgeAxis.type == b2EPAxis::e_unknown)
+ {
+ return;
+ }
+
+ if (edgeAxis.separation > m_radius)
+ {
+ return;
+ }
+
+ b2EPAxis polygonAxis = ComputePolygonSeparation();
+ if (polygonAxis.type != b2EPAxis::e_unknown && polygonAxis.separation > m_radius)
+ {
+ return;
+ }
+
+ // Use hysteresis for jitter reduction.
+ const float32 k_relativeTol = 0.98f;
+ const float32 k_absoluteTol = 0.001f;
+
+ b2EPAxis primaryAxis;
+ if (polygonAxis.type == b2EPAxis::e_unknown)
+ {
+ primaryAxis = edgeAxis;
+ }
+ else if (polygonAxis.separation > k_relativeTol * edgeAxis.separation + k_absoluteTol)
+ {
+ primaryAxis = polygonAxis;
+ }
+ else
+ {
+ primaryAxis = edgeAxis;
+ }
+
+ b2ClipVertex ie[2];
+ b2ReferenceFace rf;
+ if (primaryAxis.type == b2EPAxis::e_edgeA)
+ {
+ manifold->type = b2Manifold::e_faceA;
+
+ // Search for the polygon normal that is most anti-parallel to the edge normal.
+ int32 bestIndex = 0;
+ float32 bestValue = b2Dot(m_normal, m_polygonB.normals[0]);
+ for (int32 i = 1; i < m_polygonB.count; ++i)
+ {
+ float32 value = b2Dot(m_normal, m_polygonB.normals[i]);
+ if (value < bestValue)
+ {
+ bestValue = value;
+ bestIndex = i;
+ }
+ }
+
+ int32 i1 = bestIndex;
+ int32 i2 = i1 + 1 < m_polygonB.count ? i1 + 1 : 0;
+
+ ie[0].v = m_polygonB.vertices[i1];
+ ie[0].id.cf.indexA = 0;
+ ie[0].id.cf.indexB = static_cast<uint8>(i1);
+ ie[0].id.cf.typeA = b2ContactFeature::e_face;
+ ie[0].id.cf.typeB = b2ContactFeature::e_vertex;
+
+ ie[1].v = m_polygonB.vertices[i2];
+ ie[1].id.cf.indexA = 0;
+ ie[1].id.cf.indexB = static_cast<uint8>(i2);
+ ie[1].id.cf.typeA = b2ContactFeature::e_face;
+ ie[1].id.cf.typeB = b2ContactFeature::e_vertex;
+
+ if (m_front)
+ {
+ rf.i1 = 0;
+ rf.i2 = 1;
+ rf.v1 = m_v1;
+ rf.v2 = m_v2;
+ rf.normal = m_normal1;
+ }
+ else
+ {
+ rf.i1 = 1;
+ rf.i2 = 0;
+ rf.v1 = m_v2;
+ rf.v2 = m_v1;
+ rf.normal = -m_normal1;
+ }
+ }
+ else
+ {
+ manifold->type = b2Manifold::e_faceB;
+
+ ie[0].v = m_v1;
+ ie[0].id.cf.indexA = 0;
+ ie[0].id.cf.indexB = static_cast<uint8>(primaryAxis.index);
+ ie[0].id.cf.typeA = b2ContactFeature::e_vertex;
+ ie[0].id.cf.typeB = b2ContactFeature::e_face;
+
+ ie[1].v = m_v2;
+ ie[1].id.cf.indexA = 0;
+ ie[1].id.cf.indexB = static_cast<uint8>(primaryAxis.index);
+ ie[1].id.cf.typeA = b2ContactFeature::e_vertex;
+ ie[1].id.cf.typeB = b2ContactFeature::e_face;
+
+ rf.i1 = primaryAxis.index;
+ rf.i2 = rf.i1 + 1 < m_polygonB.count ? rf.i1 + 1 : 0;
+ rf.v1 = m_polygonB.vertices[rf.i1];
+ rf.v2 = m_polygonB.vertices[rf.i2];
+ rf.normal = m_polygonB.normals[rf.i1];
+ }
+
+ rf.sideNormal1.Set(rf.normal.y, -rf.normal.x);
+ rf.sideNormal2 = -rf.sideNormal1;
+ rf.sideOffset1 = b2Dot(rf.sideNormal1, rf.v1);
+ rf.sideOffset2 = b2Dot(rf.sideNormal2, rf.v2);
+
+ // Clip incident edge against extruded edge1 side edges.
+ b2ClipVertex clipPoints1[2];
+ b2ClipVertex clipPoints2[2];
+ int32 np;
+
+ // Clip to box side 1
+ np = b2ClipSegmentToLine(clipPoints1, ie, rf.sideNormal1, rf.sideOffset1, rf.i1);
+
+ if (np < b2_maxManifoldPoints)
+ {
+ return;
+ }
+
+ // Clip to negative box side 1
+ np = b2ClipSegmentToLine(clipPoints2, clipPoints1, rf.sideNormal2, rf.sideOffset2, rf.i2);
+
+ if (np < b2_maxManifoldPoints)
+ {
+ return;
+ }
+
+ // Now clipPoints2 contains the clipped points.
+ if (primaryAxis.type == b2EPAxis::e_edgeA)
+ {
+ manifold->localNormal = rf.normal;
+ manifold->localPoint = rf.v1;
+ }
+ else
+ {
+ manifold->localNormal = polygonB->m_normals[rf.i1];
+ manifold->localPoint = polygonB->m_vertices[rf.i1];
+ }
+
+ int32 pointCount = 0;
+ for (int32 i = 0; i < b2_maxManifoldPoints; ++i)
+ {
+ float32 separation;
+
+ separation = b2Dot(rf.normal, clipPoints2[i].v - rf.v1);
+
+ if (separation <= m_radius)
+ {
+ b2ManifoldPoint* cp = manifold->points + pointCount;
+
+ if (primaryAxis.type == b2EPAxis::e_edgeA)
+ {
+ cp->localPoint = b2MulT(m_xf, clipPoints2[i].v);
+ cp->id = clipPoints2[i].id;
+ }
+ else
+ {
+ cp->localPoint = clipPoints2[i].v;
+ cp->id.cf.typeA = clipPoints2[i].id.cf.typeB;
+ cp->id.cf.typeB = clipPoints2[i].id.cf.typeA;
+ cp->id.cf.indexA = clipPoints2[i].id.cf.indexB;
+ cp->id.cf.indexB = clipPoints2[i].id.cf.indexA;
+ }
+
+ ++pointCount;
+ }
+ }
+
+ manifold->pointCount = pointCount;
+}
+
+b2EPAxis b2EPCollider::ComputeEdgeSeparation()
+{
+ b2EPAxis axis;
+ axis.type = b2EPAxis::e_edgeA;
+ axis.index = m_front ? 0 : 1;
+ axis.separation = FLT_MAX;
+
+ for (int32 i = 0; i < m_polygonB.count; ++i)
+ {
+ float32 s = b2Dot(m_normal, m_polygonB.vertices[i] - m_v1);
+ if (s < axis.separation)
+ {
+ axis.separation = s;
+ }
+ }
+
+ return axis;
+}
+
+b2EPAxis b2EPCollider::ComputePolygonSeparation()
+{
+ b2EPAxis axis;
+ axis.type = b2EPAxis::e_unknown;
+ axis.index = -1;
+ axis.separation = -FLT_MAX;
+
+ b2Vec2 perp(-m_normal.y, m_normal.x);
+
+ for (int32 i = 0; i < m_polygonB.count; ++i)
+ {
+ b2Vec2 n = -m_polygonB.normals[i];
+
+ float32 s1 = b2Dot(n, m_polygonB.vertices[i] - m_v1);
+ float32 s2 = b2Dot(n, m_polygonB.vertices[i] - m_v2);
+ float32 s = b2Min(s1, s2);
+
+ if (s > m_radius)
+ {
+ // No collision
+ axis.type = b2EPAxis::e_edgeB;
+ axis.index = i;
+ axis.separation = s;
+ return axis;
+ }
+
+ // Adjacency
+ if (b2Dot(n, perp) >= 0.0f)
+ {
+ if (b2Dot(n - m_upperLimit, m_normal) < -b2_angularSlop)
+ {
+ continue;
+ }
+ }
+ else
+ {
+ if (b2Dot(n - m_lowerLimit, m_normal) < -b2_angularSlop)
+ {
+ continue;
+ }
+ }
+
+ if (s > axis.separation)
+ {
+ axis.type = b2EPAxis::e_edgeB;
+ axis.index = i;
+ axis.separation = s;
+ }
+ }
+
+ return axis;
+}
+
+void b2CollideEdgeAndPolygon( b2Manifold* manifold,
+ const b2EdgeShape* edgeA, const b2Transform& xfA,
+ const b2PolygonShape* polygonB, const b2Transform& xfB)
+{
+ b2EPCollider collider;
+ collider.Collide(manifold, edgeA, xfA, polygonB, xfB);
+}
diff --git a/games/rider/src/Box2D/Collision/b2CollidePolygon.cpp b/games/rider/src/Box2D/Collision/b2CollidePolygon.cpp
new file mode 100755
index 00000000..0aac38b2
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2CollidePolygon.cpp
@@ -0,0 +1,239 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/Shapes/b2PolygonShape.h>
+
+// Find the max separation between poly1 and poly2 using edge normals from poly1.
+static float32 b2FindMaxSeparation(int32* edgeIndex,
+ const b2PolygonShape* poly1, const b2Transform& xf1,
+ const b2PolygonShape* poly2, const b2Transform& xf2)
+{
+ int32 count1 = poly1->m_count;
+ int32 count2 = poly2->m_count;
+ const b2Vec2* n1s = poly1->m_normals;
+ const b2Vec2* v1s = poly1->m_vertices;
+ const b2Vec2* v2s = poly2->m_vertices;
+ b2Transform xf = b2MulT(xf2, xf1);
+
+ int32 bestIndex = 0;
+ float32 maxSeparation = -b2_maxFloat;
+ for (int32 i = 0; i < count1; ++i)
+ {
+ // Get poly1 normal in frame2.
+ b2Vec2 n = b2Mul(xf.q, n1s[i]);
+ b2Vec2 v1 = b2Mul(xf, v1s[i]);
+
+ // Find deepest point for normal i.
+ float32 si = b2_maxFloat;
+ for (int32 j = 0; j < count2; ++j)
+ {
+ float32 sij = b2Dot(n, v2s[j] - v1);
+ if (sij < si)
+ {
+ si = sij;
+ }
+ }
+
+ if (si > maxSeparation)
+ {
+ maxSeparation = si;
+ bestIndex = i;
+ }
+ }
+
+ *edgeIndex = bestIndex;
+ return maxSeparation;
+}
+
+static void b2FindIncidentEdge(b2ClipVertex c[2],
+ const b2PolygonShape* poly1, const b2Transform& xf1, int32 edge1,
+ const b2PolygonShape* poly2, const b2Transform& xf2)
+{
+ const b2Vec2* normals1 = poly1->m_normals;
+
+ int32 count2 = poly2->m_count;
+ const b2Vec2* vertices2 = poly2->m_vertices;
+ const b2Vec2* normals2 = poly2->m_normals;
+
+ b2Assert(0 <= edge1 && edge1 < poly1->m_count);
+
+ // Get the normal of the reference edge in poly2's frame.
+ b2Vec2 normal1 = b2MulT(xf2.q, b2Mul(xf1.q, normals1[edge1]));
+
+ // Find the incident edge on poly2.
+ int32 index = 0;
+ float32 minDot = b2_maxFloat;
+ for (int32 i = 0; i < count2; ++i)
+ {
+ float32 dot = b2Dot(normal1, normals2[i]);
+ if (dot < minDot)
+ {
+ minDot = dot;
+ index = i;
+ }
+ }
+
+ // Build the clip vertices for the incident edge.
+ int32 i1 = index;
+ int32 i2 = i1 + 1 < count2 ? i1 + 1 : 0;
+
+ c[0].v = b2Mul(xf2, vertices2[i1]);
+ c[0].id.cf.indexA = (uint8)edge1;
+ c[0].id.cf.indexB = (uint8)i1;
+ c[0].id.cf.typeA = b2ContactFeature::e_face;
+ c[0].id.cf.typeB = b2ContactFeature::e_vertex;
+
+ c[1].v = b2Mul(xf2, vertices2[i2]);
+ c[1].id.cf.indexA = (uint8)edge1;
+ c[1].id.cf.indexB = (uint8)i2;
+ c[1].id.cf.typeA = b2ContactFeature::e_face;
+ c[1].id.cf.typeB = b2ContactFeature::e_vertex;
+}
+
+// Find edge normal of max separation on A - return if separating axis is found
+// Find edge normal of max separation on B - return if separation axis is found
+// Choose reference edge as min(minA, minB)
+// Find incident edge
+// Clip
+
+// The normal points from 1 to 2
+void b2CollidePolygons(b2Manifold* manifold,
+ const b2PolygonShape* polyA, const b2Transform& xfA,
+ const b2PolygonShape* polyB, const b2Transform& xfB)
+{
+ manifold->pointCount = 0;
+ float32 totalRadius = polyA->m_radius + polyB->m_radius;
+
+ int32 edgeA = 0;
+ float32 separationA = b2FindMaxSeparation(&edgeA, polyA, xfA, polyB, xfB);
+ if (separationA > totalRadius)
+ return;
+
+ int32 edgeB = 0;
+ float32 separationB = b2FindMaxSeparation(&edgeB, polyB, xfB, polyA, xfA);
+ if (separationB > totalRadius)
+ return;
+
+ const b2PolygonShape* poly1; // reference polygon
+ const b2PolygonShape* poly2; // incident polygon
+ b2Transform xf1, xf2;
+ int32 edge1; // reference edge
+ uint8 flip;
+ const float32 k_tol = 0.1f * b2_linearSlop;
+
+ if (separationB > separationA + k_tol)
+ {
+ poly1 = polyB;
+ poly2 = polyA;
+ xf1 = xfB;
+ xf2 = xfA;
+ edge1 = edgeB;
+ manifold->type = b2Manifold::e_faceB;
+ flip = 1;
+ }
+ else
+ {
+ poly1 = polyA;
+ poly2 = polyB;
+ xf1 = xfA;
+ xf2 = xfB;
+ edge1 = edgeA;
+ manifold->type = b2Manifold::e_faceA;
+ flip = 0;
+ }
+
+ b2ClipVertex incidentEdge[2];
+ b2FindIncidentEdge(incidentEdge, poly1, xf1, edge1, poly2, xf2);
+
+ int32 count1 = poly1->m_count;
+ const b2Vec2* vertices1 = poly1->m_vertices;
+
+ int32 iv1 = edge1;
+ int32 iv2 = edge1 + 1 < count1 ? edge1 + 1 : 0;
+
+ b2Vec2 v11 = vertices1[iv1];
+ b2Vec2 v12 = vertices1[iv2];
+
+ b2Vec2 localTangent = v12 - v11;
+ localTangent.Normalize();
+
+ b2Vec2 localNormal = b2Cross(localTangent, 1.0f);
+ b2Vec2 planePoint = 0.5f * (v11 + v12);
+
+ b2Vec2 tangent = b2Mul(xf1.q, localTangent);
+ b2Vec2 normal = b2Cross(tangent, 1.0f);
+
+ v11 = b2Mul(xf1, v11);
+ v12 = b2Mul(xf1, v12);
+
+ // Face offset.
+ float32 frontOffset = b2Dot(normal, v11);
+
+ // Side offsets, extended by polytope skin thickness.
+ float32 sideOffset1 = -b2Dot(tangent, v11) + totalRadius;
+ float32 sideOffset2 = b2Dot(tangent, v12) + totalRadius;
+
+ // Clip incident edge against extruded edge1 side edges.
+ b2ClipVertex clipPoints1[2];
+ b2ClipVertex clipPoints2[2];
+ int np;
+
+ // Clip to box side 1
+ np = b2ClipSegmentToLine(clipPoints1, incidentEdge, -tangent, sideOffset1, iv1);
+
+ if (np < 2)
+ return;
+
+ // Clip to negative box side 1
+ np = b2ClipSegmentToLine(clipPoints2, clipPoints1, tangent, sideOffset2, iv2);
+
+ if (np < 2)
+ {
+ return;
+ }
+
+ // Now clipPoints2 contains the clipped points.
+ manifold->localNormal = localNormal;
+ manifold->localPoint = planePoint;
+
+ int32 pointCount = 0;
+ for (int32 i = 0; i < b2_maxManifoldPoints; ++i)
+ {
+ float32 separation = b2Dot(normal, clipPoints2[i].v) - frontOffset;
+
+ if (separation <= totalRadius)
+ {
+ b2ManifoldPoint* cp = manifold->points + pointCount;
+ cp->localPoint = b2MulT(xf2, clipPoints2[i].v);
+ cp->id = clipPoints2[i].id;
+ if (flip)
+ {
+ // Swap features
+ b2ContactFeature cf = cp->id.cf;
+ cp->id.cf.indexA = cf.indexB;
+ cp->id.cf.indexB = cf.indexA;
+ cp->id.cf.typeA = cf.typeB;
+ cp->id.cf.typeB = cf.typeA;
+ }
+ ++pointCount;
+ }
+ }
+
+ manifold->pointCount = pointCount;
+}
diff --git a/games/rider/src/Box2D/Collision/b2Collision.cpp b/games/rider/src/Box2D/Collision/b2Collision.cpp
new file mode 100755
index 00000000..4ebf3556
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2Collision.cpp
@@ -0,0 +1,252 @@
+/*
+* Copyright (c) 2007-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/b2Distance.h>
+
+void b2WorldManifold::Initialize(const b2Manifold* manifold,
+ const b2Transform& xfA, float32 radiusA,
+ const b2Transform& xfB, float32 radiusB)
+{
+ if (manifold->pointCount == 0)
+ {
+ return;
+ }
+
+ switch (manifold->type)
+ {
+ case b2Manifold::e_circles:
+ {
+ normal.Set(1.0f, 0.0f);
+ b2Vec2 pointA = b2Mul(xfA, manifold->localPoint);
+ b2Vec2 pointB = b2Mul(xfB, manifold->points[0].localPoint);
+ if (b2DistanceSquared(pointA, pointB) > b2_epsilon * b2_epsilon)
+ {
+ normal = pointB - pointA;
+ normal.Normalize();
+ }
+
+ b2Vec2 cA = pointA + radiusA * normal;
+ b2Vec2 cB = pointB - radiusB * normal;
+ points[0] = 0.5f * (cA + cB);
+ separations[0] = b2Dot(cB - cA, normal);
+ }
+ break;
+
+ case b2Manifold::e_faceA:
+ {
+ normal = b2Mul(xfA.q, manifold->localNormal);
+ b2Vec2 planePoint = b2Mul(xfA, manifold->localPoint);
+
+ for (int32 i = 0; i < manifold->pointCount; ++i)
+ {
+ b2Vec2 clipPoint = b2Mul(xfB, manifold->points[i].localPoint);
+ b2Vec2 cA = clipPoint + (radiusA - b2Dot(clipPoint - planePoint, normal)) * normal;
+ b2Vec2 cB = clipPoint - radiusB * normal;
+ points[i] = 0.5f * (cA + cB);
+ separations[i] = b2Dot(cB - cA, normal);
+ }
+ }
+ break;
+
+ case b2Manifold::e_faceB:
+ {
+ normal = b2Mul(xfB.q, manifold->localNormal);
+ b2Vec2 planePoint = b2Mul(xfB, manifold->localPoint);
+
+ for (int32 i = 0; i < manifold->pointCount; ++i)
+ {
+ b2Vec2 clipPoint = b2Mul(xfA, manifold->points[i].localPoint);
+ b2Vec2 cB = clipPoint + (radiusB - b2Dot(clipPoint - planePoint, normal)) * normal;
+ b2Vec2 cA = clipPoint - radiusA * normal;
+ points[i] = 0.5f * (cA + cB);
+ separations[i] = b2Dot(cA - cB, normal);
+ }
+
+ // Ensure normal points from A to B.
+ normal = -normal;
+ }
+ break;
+ }
+}
+
+void b2GetPointStates(b2PointState state1[b2_maxManifoldPoints], b2PointState state2[b2_maxManifoldPoints],
+ const b2Manifold* manifold1, const b2Manifold* manifold2)
+{
+ for (int32 i = 0; i < b2_maxManifoldPoints; ++i)
+ {
+ state1[i] = b2_nullState;
+ state2[i] = b2_nullState;
+ }
+
+ // Detect persists and removes.
+ for (int32 i = 0; i < manifold1->pointCount; ++i)
+ {
+ b2ContactID id = manifold1->points[i].id;
+
+ state1[i] = b2_removeState;
+
+ for (int32 j = 0; j < manifold2->pointCount; ++j)
+ {
+ if (manifold2->points[j].id.key == id.key)
+ {
+ state1[i] = b2_persistState;
+ break;
+ }
+ }
+ }
+
+ // Detect persists and adds.
+ for (int32 i = 0; i < manifold2->pointCount; ++i)
+ {
+ b2ContactID id = manifold2->points[i].id;
+
+ state2[i] = b2_addState;
+
+ for (int32 j = 0; j < manifold1->pointCount; ++j)
+ {
+ if (manifold1->points[j].id.key == id.key)
+ {
+ state2[i] = b2_persistState;
+ break;
+ }
+ }
+ }
+}
+
+// From Real-time Collision Detection, p179.
+bool b2AABB::RayCast(b2RayCastOutput* output, const b2RayCastInput& input) const
+{
+ float32 tmin = -b2_maxFloat;
+ float32 tmax = b2_maxFloat;
+
+ b2Vec2 p = input.p1;
+ b2Vec2 d = input.p2 - input.p1;
+ b2Vec2 absD = b2Abs(d);
+
+ b2Vec2 normal;
+
+ for (int32 i = 0; i < 2; ++i)
+ {
+ if (absD(i) < b2_epsilon)
+ {
+ // Parallel.
+ if (p(i) < lowerBound(i) || upperBound(i) < p(i))
+ {
+ return false;
+ }
+ }
+ else
+ {
+ float32 inv_d = 1.0f / d(i);
+ float32 t1 = (lowerBound(i) - p(i)) * inv_d;
+ float32 t2 = (upperBound(i) - p(i)) * inv_d;
+
+ // Sign of the normal vector.
+ float32 s = -1.0f;
+
+ if (t1 > t2)
+ {
+ b2Swap(t1, t2);
+ s = 1.0f;
+ }
+
+ // Push the min up
+ if (t1 > tmin)
+ {
+ normal.SetZero();
+ normal(i) = s;
+ tmin = t1;
+ }
+
+ // Pull the max down
+ tmax = b2Min(tmax, t2);
+
+ if (tmin > tmax)
+ {
+ return false;
+ }
+ }
+ }
+
+ // Does the ray start inside the box?
+ // Does the ray intersect beyond the max fraction?
+ if (tmin < 0.0f || input.maxFraction < tmin)
+ {
+ return false;
+ }
+
+ // Intersection.
+ output->fraction = tmin;
+ output->normal = normal;
+ return true;
+}
+
+// Sutherland-Hodgman clipping.
+int32 b2ClipSegmentToLine(b2ClipVertex vOut[2], const b2ClipVertex vIn[2],
+ const b2Vec2& normal, float32 offset, int32 vertexIndexA)
+{
+ // Start with no output points
+ int32 numOut = 0;
+
+ // Calculate the distance of end points to the line
+ float32 distance0 = b2Dot(normal, vIn[0].v) - offset;
+ float32 distance1 = b2Dot(normal, vIn[1].v) - offset;
+
+ // If the points are behind the plane
+ if (distance0 <= 0.0f) vOut[numOut++] = vIn[0];
+ if (distance1 <= 0.0f) vOut[numOut++] = vIn[1];
+
+ // If the points are on different sides of the plane
+ if (distance0 * distance1 < 0.0f)
+ {
+ // Find intersection point of edge and plane
+ float32 interp = distance0 / (distance0 - distance1);
+ vOut[numOut].v = vIn[0].v + interp * (vIn[1].v - vIn[0].v);
+
+ // VertexA is hitting edgeB.
+ vOut[numOut].id.cf.indexA = static_cast<uint8>(vertexIndexA);
+ vOut[numOut].id.cf.indexB = vIn[0].id.cf.indexB;
+ vOut[numOut].id.cf.typeA = b2ContactFeature::e_vertex;
+ vOut[numOut].id.cf.typeB = b2ContactFeature::e_face;
+ ++numOut;
+ }
+
+ return numOut;
+}
+
+bool b2TestOverlap( const b2Shape* shapeA, int32 indexA,
+ const b2Shape* shapeB, int32 indexB,
+ const b2Transform& xfA, const b2Transform& xfB)
+{
+ b2DistanceInput input;
+ input.proxyA.Set(shapeA, indexA);
+ input.proxyB.Set(shapeB, indexB);
+ input.transformA = xfA;
+ input.transformB = xfB;
+ input.useRadii = true;
+
+ b2SimplexCache cache;
+ cache.count = 0;
+
+ b2DistanceOutput output;
+
+ b2Distance(&output, &cache, &input);
+
+ return output.distance < 10.0f * b2_epsilon;
+}
diff --git a/games/rider/src/Box2D/Collision/b2Collision.h b/games/rider/src/Box2D/Collision/b2Collision.h
new file mode 100755
index 00000000..ad023b3c
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2Collision.h
@@ -0,0 +1,277 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_COLLISION_H
+#define B2_COLLISION_H
+
+#include <Box2D/Common/b2Math.h>
+#include <limits.h>
+
+/// @file
+/// Structures and functions used for computing contact points, distance
+/// queries, and TOI queries.
+
+class b2Shape;
+class b2CircleShape;
+class b2EdgeShape;
+class b2PolygonShape;
+
+const uint8 b2_nullFeature = UCHAR_MAX;
+
+/// The features that intersect to form the contact point
+/// This must be 4 bytes or less.
+struct b2ContactFeature
+{
+ enum Type
+ {
+ e_vertex = 0,
+ e_face = 1
+ };
+
+ uint8 indexA; ///< Feature index on shapeA
+ uint8 indexB; ///< Feature index on shapeB
+ uint8 typeA; ///< The feature type on shapeA
+ uint8 typeB; ///< The feature type on shapeB
+};
+
+/// Contact ids to facilitate warm starting.
+union b2ContactID
+{
+ b2ContactFeature cf;
+ uint32 key; ///< Used to quickly compare contact ids.
+};
+
+/// A manifold point is a contact point belonging to a contact
+/// manifold. It holds details related to the geometry and dynamics
+/// of the contact points.
+/// The local point usage depends on the manifold type:
+/// -e_circles: the local center of circleB
+/// -e_faceA: the local center of cirlceB or the clip point of polygonB
+/// -e_faceB: the clip point of polygonA
+/// This structure is stored across time steps, so we keep it small.
+/// Note: the impulses are used for internal caching and may not
+/// provide reliable contact forces, especially for high speed collisions.
+struct b2ManifoldPoint
+{
+ b2Vec2 localPoint; ///< usage depends on manifold type
+ float32 normalImpulse; ///< the non-penetration impulse
+ float32 tangentImpulse; ///< the friction impulse
+ b2ContactID id; ///< uniquely identifies a contact point between two shapes
+};
+
+/// A manifold for two touching convex shapes.
+/// Box2D supports multiple types of contact:
+/// - clip point versus plane with radius
+/// - point versus point with radius (circles)
+/// The local point usage depends on the manifold type:
+/// -e_circles: the local center of circleA
+/// -e_faceA: the center of faceA
+/// -e_faceB: the center of faceB
+/// Similarly the local normal usage:
+/// -e_circles: not used
+/// -e_faceA: the normal on polygonA
+/// -e_faceB: the normal on polygonB
+/// We store contacts in this way so that position correction can
+/// account for movement, which is critical for continuous physics.
+/// All contact scenarios must be expressed in one of these types.
+/// This structure is stored across time steps, so we keep it small.
+struct b2Manifold
+{
+ enum Type
+ {
+ e_circles,
+ e_faceA,
+ e_faceB
+ };
+
+ b2ManifoldPoint points[b2_maxManifoldPoints]; ///< the points of contact
+ b2Vec2 localNormal; ///< not use for Type::e_points
+ b2Vec2 localPoint; ///< usage depends on manifold type
+ Type type;
+ int32 pointCount; ///< the number of manifold points
+};
+
+/// This is used to compute the current state of a contact manifold.
+struct b2WorldManifold
+{
+ /// Evaluate the manifold with supplied transforms. This assumes
+ /// modest motion from the original state. This does not change the
+ /// point count, impulses, etc. The radii must come from the shapes
+ /// that generated the manifold.
+ void Initialize(const b2Manifold* manifold,
+ const b2Transform& xfA, float32 radiusA,
+ const b2Transform& xfB, float32 radiusB);
+
+ b2Vec2 normal; ///< world vector pointing from A to B
+ b2Vec2 points[b2_maxManifoldPoints]; ///< world contact point (point of intersection)
+ float32 separations[b2_maxManifoldPoints]; ///< a negative value indicates overlap, in meters
+};
+
+/// This is used for determining the state of contact points.
+enum b2PointState
+{
+ b2_nullState, ///< point does not exist
+ b2_addState, ///< point was added in the update
+ b2_persistState, ///< point persisted across the update
+ b2_removeState ///< point was removed in the update
+};
+
+/// Compute the point states given two manifolds. The states pertain to the transition from manifold1
+/// to manifold2. So state1 is either persist or remove while state2 is either add or persist.
+void b2GetPointStates(b2PointState state1[b2_maxManifoldPoints], b2PointState state2[b2_maxManifoldPoints],
+ const b2Manifold* manifold1, const b2Manifold* manifold2);
+
+/// Used for computing contact manifolds.
+struct b2ClipVertex
+{
+ b2Vec2 v;
+ b2ContactID id;
+};
+
+/// Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
+struct b2RayCastInput
+{
+ b2Vec2 p1, p2;
+ float32 maxFraction;
+};
+
+/// Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2
+/// come from b2RayCastInput.
+struct b2RayCastOutput
+{
+ b2Vec2 normal;
+ float32 fraction;
+};
+
+/// An axis aligned bounding box.
+struct b2AABB
+{
+ /// Verify that the bounds are sorted.
+ bool IsValid() const;
+
+ /// Get the center of the AABB.
+ b2Vec2 GetCenter() const
+ {
+ return 0.5f * (lowerBound + upperBound);
+ }
+
+ /// Get the extents of the AABB (half-widths).
+ b2Vec2 GetExtents() const
+ {
+ return 0.5f * (upperBound - lowerBound);
+ }
+
+ /// Get the perimeter length
+ float32 GetPerimeter() const
+ {
+ float32 wx = upperBound.x - lowerBound.x;
+ float32 wy = upperBound.y - lowerBound.y;
+ return 2.0f * (wx + wy);
+ }
+
+ /// Combine an AABB into this one.
+ void Combine(const b2AABB& aabb)
+ {
+ lowerBound = b2Min(lowerBound, aabb.lowerBound);
+ upperBound = b2Max(upperBound, aabb.upperBound);
+ }
+
+ /// Combine two AABBs into this one.
+ void Combine(const b2AABB& aabb1, const b2AABB& aabb2)
+ {
+ lowerBound = b2Min(aabb1.lowerBound, aabb2.lowerBound);
+ upperBound = b2Max(aabb1.upperBound, aabb2.upperBound);
+ }
+
+ /// Does this aabb contain the provided AABB.
+ bool Contains(const b2AABB& aabb) const
+ {
+ bool result = true;
+ result = result && lowerBound.x <= aabb.lowerBound.x;
+ result = result && lowerBound.y <= aabb.lowerBound.y;
+ result = result && aabb.upperBound.x <= upperBound.x;
+ result = result && aabb.upperBound.y <= upperBound.y;
+ return result;
+ }
+
+ bool RayCast(b2RayCastOutput* output, const b2RayCastInput& input) const;
+
+ b2Vec2 lowerBound; ///< the lower vertex
+ b2Vec2 upperBound; ///< the upper vertex
+};
+
+/// Compute the collision manifold between two circles.
+void b2CollideCircles(b2Manifold* manifold,
+ const b2CircleShape* circleA, const b2Transform& xfA,
+ const b2CircleShape* circleB, const b2Transform& xfB);
+
+/// Compute the collision manifold between a polygon and a circle.
+void b2CollidePolygonAndCircle(b2Manifold* manifold,
+ const b2PolygonShape* polygonA, const b2Transform& xfA,
+ const b2CircleShape* circleB, const b2Transform& xfB);
+
+/// Compute the collision manifold between two polygons.
+void b2CollidePolygons(b2Manifold* manifold,
+ const b2PolygonShape* polygonA, const b2Transform& xfA,
+ const b2PolygonShape* polygonB, const b2Transform& xfB);
+
+/// Compute the collision manifold between an edge and a circle.
+void b2CollideEdgeAndCircle(b2Manifold* manifold,
+ const b2EdgeShape* polygonA, const b2Transform& xfA,
+ const b2CircleShape* circleB, const b2Transform& xfB);
+
+/// Compute the collision manifold between an edge and a circle.
+void b2CollideEdgeAndPolygon(b2Manifold* manifold,
+ const b2EdgeShape* edgeA, const b2Transform& xfA,
+ const b2PolygonShape* circleB, const b2Transform& xfB);
+
+/// Clipping for contact manifolds.
+int32 b2ClipSegmentToLine(b2ClipVertex vOut[2], const b2ClipVertex vIn[2],
+ const b2Vec2& normal, float32 offset, int32 vertexIndexA);
+
+/// Determine if two generic shapes overlap.
+bool b2TestOverlap( const b2Shape* shapeA, int32 indexA,
+ const b2Shape* shapeB, int32 indexB,
+ const b2Transform& xfA, const b2Transform& xfB);
+
+// ---------------- Inline Functions ------------------------------------------
+
+inline bool b2AABB::IsValid() const
+{
+ b2Vec2 d = upperBound - lowerBound;
+ bool valid = d.x >= 0.0f && d.y >= 0.0f;
+ valid = valid && lowerBound.IsValid() && upperBound.IsValid();
+ return valid;
+}
+
+inline bool b2TestOverlap(const b2AABB& a, const b2AABB& b)
+{
+ b2Vec2 d1, d2;
+ d1 = b.lowerBound - a.upperBound;
+ d2 = a.lowerBound - b.upperBound;
+
+ if (d1.x > 0.0f || d1.y > 0.0f)
+ return false;
+
+ if (d2.x > 0.0f || d2.y > 0.0f)
+ return false;
+
+ return true;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Collision/b2Distance.cpp b/games/rider/src/Box2D/Collision/b2Distance.cpp
new file mode 100755
index 00000000..05b9d1ed
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2Distance.cpp
@@ -0,0 +1,614 @@
+/*
+* Copyright (c) 2007-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2014 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+#include <string.h>
+#include <memory.h>
+
+#include <Box2D/Collision/b2Distance.h>
+#include <Box2D/Collision/Shapes/b2CircleShape.h>
+#include <Box2D/Collision/Shapes/b2EdgeShape.h>
+#include <Box2D/Collision/Shapes/b2ChainShape.h>
+#include <Box2D/Collision/Shapes/b2PolygonShape.h>
+
+// GJK using Voronoi regions (Christer Ericson) and Barycentric coordinates.
+int32 b2_gjkCalls, b2_gjkIters, b2_gjkMaxIters;
+
+void b2DistanceProxy::Set(const b2Shape* shape, int32 index)
+{
+ switch (shape->GetType())
+ {
+ case b2Shape::e_circle:
+ {
+ const b2CircleShape* circle = static_cast<const b2CircleShape*>(shape);
+ m_vertices = &circle->m_p;
+ m_count = 1;
+ m_radius = circle->m_radius;
+ }
+ break;
+
+ case b2Shape::e_polygon:
+ {
+ const b2PolygonShape* polygon = static_cast<const b2PolygonShape*>(shape);
+ m_vertices = polygon->m_vertices;
+ m_count = polygon->m_count;
+ m_radius = polygon->m_radius;
+ }
+ break;
+
+ case b2Shape::e_chain:
+ {
+ const b2ChainShape* chain = static_cast<const b2ChainShape*>(shape);
+ b2Assert(0 <= index && index < chain->m_count);
+
+ m_buffer[0] = chain->m_vertices[index];
+ if (index + 1 < chain->m_count)
+ {
+ m_buffer[1] = chain->m_vertices[index + 1];
+ }
+ else
+ {
+ m_buffer[1] = chain->m_vertices[0];
+ }
+
+ m_vertices = m_buffer;
+ m_count = 2;
+ m_radius = chain->m_radius;
+ }
+ break;
+
+ case b2Shape::e_edge:
+ {
+ const b2EdgeShape* edge = static_cast<const b2EdgeShape*>(shape);
+ m_vertices = &edge->m_vertex1;
+ m_count = 2;
+ m_radius = edge->m_radius;
+ }
+ break;
+
+ default:
+ b2Assert(false);
+ }
+}
+
+
+struct b2SimplexVertex
+{
+ b2Vec2 wA; // support point in proxyA
+ b2Vec2 wB; // support point in proxyB
+ b2Vec2 w; // wB - wA
+ float32 a; // barycentric coordinate for closest point
+ int32 indexA; // wA index
+ int32 indexB; // wB index
+};
+
+struct b2Simplex
+{
+ void ReadCache( const b2SimplexCache* cache,
+ const b2DistanceProxy* proxyA, const b2Transform& transformA,
+ const b2DistanceProxy* proxyB, const b2Transform& transformB)
+ {
+ b2Assert(cache->count <= 3);
+
+ // Copy data from cache.
+ m_count = cache->count;
+ b2SimplexVertex* vertices = &m_v1;
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ b2SimplexVertex* v = vertices + i;
+ v->indexA = cache->indexA[i];
+ v->indexB = cache->indexB[i];
+ b2Vec2 wALocal = proxyA->GetVertex(v->indexA);
+ b2Vec2 wBLocal = proxyB->GetVertex(v->indexB);
+ v->wA = b2Mul(transformA, wALocal);
+ v->wB = b2Mul(transformB, wBLocal);
+ v->w = v->wB - v->wA;
+ v->a = 0.0f;
+ }
+
+ // Compute the new simplex metric, if it is substantially different than
+ // old metric then flush the simplex.
+ if (m_count > 1)
+ {
+ float32 metric1 = cache->metric;
+ float32 metric2 = GetMetric();
+ if (metric2 < 0.5f * metric1 || 2.0f * metric1 < metric2 || metric2 < b2_epsilon)
+ {
+ // Reset the simplex.
+ m_count = 0;
+ }
+ }
+
+ // If the cache is empty or invalid ...
+ if (m_count == 0)
+ {
+ b2SimplexVertex* v = vertices + 0;
+ v->indexA = 0;
+ v->indexB = 0;
+ b2Vec2 wALocal = proxyA->GetVertex(0);
+ b2Vec2 wBLocal = proxyB->GetVertex(0);
+ v->wA = b2Mul(transformA, wALocal);
+ v->wB = b2Mul(transformB, wBLocal);
+ v->w = v->wB - v->wA;
+ v->a = 1.0f;
+ m_count = 1;
+ }
+ }
+
+ void WriteCache(b2SimplexCache* cache) const
+ {
+ cache->metric = GetMetric();
+ cache->count = uint16(m_count);
+ const b2SimplexVertex* vertices = &m_v1;
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ cache->indexA[i] = uint8(vertices[i].indexA);
+ cache->indexB[i] = uint8(vertices[i].indexB);
+ }
+ }
+
+ b2Vec2 GetSearchDirection() const
+ {
+ switch (m_count)
+ {
+ case 1:
+ return -m_v1.w;
+
+ case 2:
+ {
+ b2Vec2 e12 = m_v2.w - m_v1.w;
+ float32 sgn = b2Cross(e12, -m_v1.w);
+ if (sgn > 0.0f)
+ {
+ // Origin is left of e12.
+ return b2Cross(1.0f, e12);
+ }
+ else
+ {
+ // Origin is right of e12.
+ return b2Cross(e12, 1.0f);
+ }
+ }
+
+ default:
+ b2Assert(false);
+ return b2Vec2_zero;
+ }
+ }
+
+ b2Vec2 GetClosestPoint() const
+ {
+ switch (m_count)
+ {
+ case 0:
+ b2Assert(false);
+ return b2Vec2_zero;
+
+ case 1:
+ return m_v1.w;
+
+ case 2:
+ return m_v1.a * m_v1.w + m_v2.a * m_v2.w;
+
+ case 3:
+ return b2Vec2_zero;
+
+ default:
+ b2Assert(false);
+ return b2Vec2_zero;
+ }
+ }
+
+ void GetWitnessPoints(b2Vec2* pA, b2Vec2* pB) const
+ {
+ switch (m_count)
+ {
+ case 0:
+ b2Assert(false);
+ break;
+
+ case 1:
+ *pA = m_v1.wA;
+ *pB = m_v1.wB;
+ break;
+
+ case 2:
+ *pA = m_v1.a * m_v1.wA + m_v2.a * m_v2.wA;
+ *pB = m_v1.a * m_v1.wB + m_v2.a * m_v2.wB;
+ break;
+
+ case 3:
+ *pA = m_v1.a * m_v1.wA + m_v2.a * m_v2.wA + m_v3.a * m_v3.wA;
+ *pB = *pA;
+ break;
+
+ default:
+ b2Assert(false);
+ break;
+ }
+ }
+
+ float32 GetMetric() const
+ {
+ switch (m_count)
+ {
+ case 0:
+ b2Assert(false);
+ return 0.0f;
+
+ case 1:
+ return 0.0f;
+
+ case 2:
+ return b2Distance(m_v1.w, m_v2.w);
+
+ case 3:
+ return b2Cross(m_v2.w - m_v1.w, m_v3.w - m_v1.w);
+
+ default:
+ b2Assert(false);
+ return 0.0f;
+ }
+ }
+
+ void Solve2();
+ void Solve3();
+
+ b2SimplexVertex m_v1, m_v2, m_v3;
+ int32 m_count;
+};
+
+
+// Solve a line segment using barycentric coordinates.
+//
+// p = a1 * w1 + a2 * w2
+// a1 + a2 = 1
+//
+// The vector from the origin to the closest point on the line is
+// perpendicular to the line.
+// e12 = w2 - w1
+// dot(p, e) = 0
+// a1 * dot(w1, e) + a2 * dot(w2, e) = 0
+//
+// 2-by-2 linear system
+// [1 1 ][a1] = [1]
+// [w1.e12 w2.e12][a2] = [0]
+//
+// Define
+// d12_1 = dot(w2, e12)
+// d12_2 = -dot(w1, e12)
+// d12 = d12_1 + d12_2
+//
+// Solution
+// a1 = d12_1 / d12
+// a2 = d12_2 / d12
+void b2Simplex::Solve2()
+{
+ b2Vec2 w1 = m_v1.w;
+ b2Vec2 w2 = m_v2.w;
+ b2Vec2 e12 = w2 - w1;
+
+ // w1 region
+ float32 d12_2 = -b2Dot(w1, e12);
+ if (d12_2 <= 0.0f)
+ {
+ // a2 <= 0, so we clamp it to 0
+ m_v1.a = 1.0f;
+ m_count = 1;
+ return;
+ }
+
+ // w2 region
+ float32 d12_1 = b2Dot(w2, e12);
+ if (d12_1 <= 0.0f)
+ {
+ // a1 <= 0, so we clamp it to 0
+ m_v2.a = 1.0f;
+ m_count = 1;
+ m_v1 = m_v2;
+ return;
+ }
+
+ // Must be in e12 region.
+ float32 inv_d12 = 1.0f / (d12_1 + d12_2);
+ m_v1.a = d12_1 * inv_d12;
+ m_v2.a = d12_2 * inv_d12;
+ m_count = 2;
+}
+
+// Possible regions:
+// - points[2]
+// - edge points[0]-points[2]
+// - edge points[1]-points[2]
+// - inside the triangle
+void b2Simplex::Solve3()
+{
+ b2Vec2 w1 = m_v1.w;
+ b2Vec2 w2 = m_v2.w;
+ b2Vec2 w3 = m_v3.w;
+
+ // Edge12
+ // [1 1 ][a1] = [1]
+ // [w1.e12 w2.e12][a2] = [0]
+ // a3 = 0
+ b2Vec2 e12 = w2 - w1;
+ float32 w1e12 = b2Dot(w1, e12);
+ float32 w2e12 = b2Dot(w2, e12);
+ float32 d12_1 = w2e12;
+ float32 d12_2 = -w1e12;
+
+ // Edge13
+ // [1 1 ][a1] = [1]
+ // [w1.e13 w3.e13][a3] = [0]
+ // a2 = 0
+ b2Vec2 e13 = w3 - w1;
+ float32 w1e13 = b2Dot(w1, e13);
+ float32 w3e13 = b2Dot(w3, e13);
+ float32 d13_1 = w3e13;
+ float32 d13_2 = -w1e13;
+
+ // Edge23
+ // [1 1 ][a2] = [1]
+ // [w2.e23 w3.e23][a3] = [0]
+ // a1 = 0
+ b2Vec2 e23 = w3 - w2;
+ float32 w2e23 = b2Dot(w2, e23);
+ float32 w3e23 = b2Dot(w3, e23);
+ float32 d23_1 = w3e23;
+ float32 d23_2 = -w2e23;
+
+ // Triangle123
+ float32 n123 = b2Cross(e12, e13);
+
+ float32 d123_1 = n123 * b2Cross(w2, w3);
+ float32 d123_2 = n123 * b2Cross(w3, w1);
+ float32 d123_3 = n123 * b2Cross(w1, w2);
+
+ // w1 region
+ if (d12_2 <= 0.0f && d13_2 <= 0.0f)
+ {
+ m_v1.a = 1.0f;
+ m_count = 1;
+ return;
+ }
+
+ // e12
+ if (d12_1 > 0.0f && d12_2 > 0.0f && d123_3 <= 0.0f)
+ {
+ float32 inv_d12 = 1.0f / (d12_1 + d12_2);
+ m_v1.a = d12_1 * inv_d12;
+ m_v2.a = d12_2 * inv_d12;
+ m_count = 2;
+ return;
+ }
+
+ // e13
+ if (d13_1 > 0.0f && d13_2 > 0.0f && d123_2 <= 0.0f)
+ {
+ float32 inv_d13 = 1.0f / (d13_1 + d13_2);
+ m_v1.a = d13_1 * inv_d13;
+ m_v3.a = d13_2 * inv_d13;
+ m_count = 2;
+ m_v2 = m_v3;
+ return;
+ }
+
+ // w2 region
+ if (d12_1 <= 0.0f && d23_2 <= 0.0f)
+ {
+ m_v2.a = 1.0f;
+ m_count = 1;
+ m_v1 = m_v2;
+ return;
+ }
+
+ // w3 region
+ if (d13_1 <= 0.0f && d23_1 <= 0.0f)
+ {
+ m_v3.a = 1.0f;
+ m_count = 1;
+ m_v1 = m_v3;
+ return;
+ }
+
+ // e23
+ if (d23_1 > 0.0f && d23_2 > 0.0f && d123_1 <= 0.0f)
+ {
+ float32 inv_d23 = 1.0f / (d23_1 + d23_2);
+ m_v2.a = d23_1 * inv_d23;
+ m_v3.a = d23_2 * inv_d23;
+ m_count = 2;
+ m_v1 = m_v3;
+ return;
+ }
+
+ // Must be in triangle123
+ float32 inv_d123 = 1.0f / (d123_1 + d123_2 + d123_3);
+ m_v1.a = d123_1 * inv_d123;
+ m_v2.a = d123_2 * inv_d123;
+ m_v3.a = d123_3 * inv_d123;
+ m_count = 3;
+}
+
+void b2Distance(b2DistanceOutput* output,
+ b2SimplexCache* cache,
+ const b2DistanceInput* input)
+{
+ ++b2_gjkCalls;
+
+ const b2DistanceProxy* proxyA = &input->proxyA;
+ const b2DistanceProxy* proxyB = &input->proxyB;
+
+ b2Transform transformA = input->transformA;
+ b2Transform transformB = input->transformB;
+
+ // Initialize the simplex.
+ b2Simplex simplex;
+ simplex.ReadCache(cache, proxyA, transformA, proxyB, transformB);
+
+ // Get simplex vertices as an array.
+ b2SimplexVertex* vertices = &simplex.m_v1;
+ const int32 k_maxIters = 20;
+
+ // These store the vertices of the last simplex so that we
+ // can check for duplicates and prevent cycling.
+ int32 saveA[3], saveB[3];
+ int32 saveCount = 0;
+
+ // Work around spurious gcc-4.8.2 warnings when -Wmaybe-uninitialized is
+ // enabled by initializing saveA / saveB arrays when they're referenced
+ // at the end of the main iteration loop below even though saveCount
+ // entries of each array are initialized at the start of the main
+ // iteration loop.
+ memset(saveA, 0, sizeof(saveA));
+ memset(saveB, 0, sizeof(saveB));
+
+ float32 distanceSqr1 = b2_maxFloat;
+ float32 distanceSqr2;
+
+ // Main iteration loop.
+ int32 iter = 0;
+ while (iter < k_maxIters)
+ {
+ // Copy simplex so we can identify duplicates.
+ saveCount = simplex.m_count;
+ for (int32 i = 0; i < saveCount; ++i)
+ {
+ saveA[i] = vertices[i].indexA;
+ saveB[i] = vertices[i].indexB;
+ }
+
+ switch (simplex.m_count)
+ {
+ case 1:
+ break;
+
+ case 2:
+ simplex.Solve2();
+ break;
+
+ case 3:
+ simplex.Solve3();
+ break;
+
+ default:
+ b2Assert(false);
+ }
+
+ // If we have 3 points, then the origin is in the corresponding triangle.
+ if (simplex.m_count == 3)
+ {
+ break;
+ }
+
+ // Compute closest point.
+ b2Vec2 p = simplex.GetClosestPoint();
+ distanceSqr2 = p.LengthSquared();
+
+ // Ensure progress
+ if (distanceSqr2 >= distanceSqr1)
+ {
+ //break;
+ }
+ distanceSqr1 = distanceSqr2;
+
+ // Get search direction.
+ b2Vec2 d = simplex.GetSearchDirection();
+
+ // Ensure the search direction is numerically fit.
+ if (d.LengthSquared() < b2_epsilon * b2_epsilon)
+ {
+ // The origin is probably contained by a line segment
+ // or triangle. Thus the shapes are overlapped.
+
+ // We can't return zero here even though there may be overlap.
+ // In case the simplex is a point, segment, or triangle it is difficult
+ // to determine if the origin is contained in the CSO or very close to it.
+ break;
+ }
+
+ // Compute a tentative new simplex vertex using support points.
+ b2SimplexVertex* vertex = vertices + simplex.m_count;
+ vertex->indexA = proxyA->GetSupport(b2MulT(transformA.q, -d));
+ vertex->wA = b2Mul(transformA, proxyA->GetVertex(vertex->indexA));
+ b2Vec2 wBLocal;
+ vertex->indexB = proxyB->GetSupport(b2MulT(transformB.q, d));
+ vertex->wB = b2Mul(transformB, proxyB->GetVertex(vertex->indexB));
+ vertex->w = vertex->wB - vertex->wA;
+
+ // Iteration count is equated to the number of support point calls.
+ ++iter;
+ ++b2_gjkIters;
+
+ // Check for duplicate support points. This is the main termination criteria.
+ bool duplicate = false;
+ for (int32 i = 0; i < saveCount; ++i)
+ {
+ if (vertex->indexA == saveA[i] && vertex->indexB == saveB[i])
+ {
+ duplicate = true;
+ break;
+ }
+ }
+
+ // If we found a duplicate support point we must exit to avoid cycling.
+ if (duplicate)
+ {
+ break;
+ }
+
+ // New vertex is ok and needed.
+ ++simplex.m_count;
+ }
+
+ b2_gjkMaxIters = b2Max(b2_gjkMaxIters, iter);
+
+ // Prepare output.
+ simplex.GetWitnessPoints(&output->pointA, &output->pointB);
+ output->distance = b2Distance(output->pointA, output->pointB);
+ output->iterations = iter;
+
+ // Cache the simplex.
+ simplex.WriteCache(cache);
+
+ // Apply radii if requested.
+ if (input->useRadii)
+ {
+ float32 rA = proxyA->m_radius;
+ float32 rB = proxyB->m_radius;
+
+ if (output->distance > rA + rB && output->distance > b2_epsilon)
+ {
+ // Shapes are still no overlapped.
+ // Move the witness points to the outer surface.
+ output->distance -= rA + rB;
+ b2Vec2 normal = output->pointB - output->pointA;
+ normal.Normalize();
+ output->pointA += rA * normal;
+ output->pointB -= rB * normal;
+ }
+ else
+ {
+ // Shapes are overlapped when radii are considered.
+ // Move the witness points to the middle.
+ b2Vec2 p = 0.5f * (output->pointA + output->pointB);
+ output->pointA = p;
+ output->pointB = p;
+ output->distance = 0.0f;
+ }
+ }
+}
diff --git a/games/rider/src/Box2D/Collision/b2Distance.h b/games/rider/src/Box2D/Collision/b2Distance.h
new file mode 100755
index 00000000..7bae689d
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2Distance.h
@@ -0,0 +1,141 @@
+
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_DISTANCE_H
+#define B2_DISTANCE_H
+
+#include <Box2D/Common/b2Math.h>
+
+class b2Shape;
+
+/// A distance proxy is used by the GJK algorithm.
+/// It encapsulates any shape.
+struct b2DistanceProxy
+{
+ b2DistanceProxy() : m_vertices(NULL), m_count(0), m_radius(0.0f) {}
+
+ /// Initialize the proxy using the given shape. The shape
+ /// must remain in scope while the proxy is in use.
+ void Set(const b2Shape* shape, int32 index);
+
+ /// Get the supporting vertex index in the given direction.
+ int32 GetSupport(const b2Vec2& d) const;
+
+ /// Get the supporting vertex in the given direction.
+ const b2Vec2& GetSupportVertex(const b2Vec2& d) const;
+
+ /// Get the vertex count.
+ int32 GetVertexCount() const;
+
+ /// Get a vertex by index. Used by b2Distance.
+ const b2Vec2& GetVertex(int32 index) const;
+
+ b2Vec2 m_buffer[2];
+ const b2Vec2* m_vertices;
+ int32 m_count;
+ float32 m_radius;
+};
+
+/// Used to warm start b2Distance.
+/// Set count to zero on first call.
+struct b2SimplexCache
+{
+ float32 metric; ///< length or area
+ uint16 count;
+ uint8 indexA[3]; ///< vertices on shape A
+ uint8 indexB[3]; ///< vertices on shape B
+};
+
+/// Input for b2Distance.
+/// You have to option to use the shape radii
+/// in the computation. Even
+struct b2DistanceInput
+{
+ b2DistanceProxy proxyA;
+ b2DistanceProxy proxyB;
+ b2Transform transformA;
+ b2Transform transformB;
+ bool useRadii;
+};
+
+/// Output for b2Distance.
+struct b2DistanceOutput
+{
+ b2Vec2 pointA; ///< closest point on shapeA
+ b2Vec2 pointB; ///< closest point on shapeB
+ float32 distance;
+ int32 iterations; ///< number of GJK iterations used
+};
+
+/// Compute the closest points between two shapes. Supports any combination of:
+/// b2CircleShape, b2PolygonShape, b2EdgeShape. The simplex cache is input/output.
+/// On the first call set b2SimplexCache.count to zero.
+void b2Distance(b2DistanceOutput* output,
+ b2SimplexCache* cache,
+ const b2DistanceInput* input);
+
+
+//////////////////////////////////////////////////////////////////////////
+
+inline int32 b2DistanceProxy::GetVertexCount() const
+{
+ return m_count;
+}
+
+inline const b2Vec2& b2DistanceProxy::GetVertex(int32 index) const
+{
+ b2Assert(0 <= index && index < m_count);
+ return m_vertices[index];
+}
+
+inline int32 b2DistanceProxy::GetSupport(const b2Vec2& d) const
+{
+ int32 bestIndex = 0;
+ float32 bestValue = b2Dot(m_vertices[0], d);
+ for (int32 i = 1; i < m_count; ++i)
+ {
+ float32 value = b2Dot(m_vertices[i], d);
+ if (value > bestValue)
+ {
+ bestIndex = i;
+ bestValue = value;
+ }
+ }
+
+ return bestIndex;
+}
+
+inline const b2Vec2& b2DistanceProxy::GetSupportVertex(const b2Vec2& d) const
+{
+ int32 bestIndex = 0;
+ float32 bestValue = b2Dot(m_vertices[0], d);
+ for (int32 i = 1; i < m_count; ++i)
+ {
+ float32 value = b2Dot(m_vertices[i], d);
+ if (value > bestValue)
+ {
+ bestIndex = i;
+ bestValue = value;
+ }
+ }
+
+ return m_vertices[bestIndex];
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Collision/b2DynamicTree.cpp b/games/rider/src/Box2D/Collision/b2DynamicTree.cpp
new file mode 100755
index 00000000..eaf40ed9
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2DynamicTree.cpp
@@ -0,0 +1,788 @@
+/*
+* Copyright (c) 2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2014 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/b2DynamicTree.h>
+#include <memory.h>
+#include <string.h>
+
+b2DynamicTree::b2DynamicTree()
+{
+ m_root = b2_nullNode;
+
+ // NumPlay: the first capacity can be set, so that the calculator's tree is allocated once.
+#ifndef B2_TREE_NODES
+#define B2_TREE_NODES 16
+#endif
+ m_nodeCapacity = B2_TREE_NODES;
+ m_nodeCount = 0;
+ m_nodes = (b2TreeNode*)b2Alloc(m_nodeCapacity * sizeof(b2TreeNode));
+ memset(m_nodes, 0, m_nodeCapacity * sizeof(b2TreeNode));
+
+ // Build a linked list for the free list.
+ for (int32 i = 0; i < m_nodeCapacity - 1; ++i)
+ {
+ m_nodes[i].next = i + 1;
+ m_nodes[i].height = -1;
+ }
+ m_nodes[m_nodeCapacity-1].next = b2_nullNode;
+ m_nodes[m_nodeCapacity-1].height = -1;
+ m_freeList = 0;
+
+ m_path = 0;
+
+ m_insertionCount = 0;
+}
+
+b2DynamicTree::~b2DynamicTree()
+{
+ // This frees the entire tree in one shot.
+ b2Free(m_nodes);
+}
+
+// Allocate a node from the pool. Grow the pool if necessary.
+int32 b2DynamicTree::AllocateNode()
+{
+ // Expand the node pool as needed.
+ if (m_freeList == b2_nullNode)
+ {
+ b2Assert(m_nodeCount == m_nodeCapacity);
+
+ // The free list is empty. Rebuild a bigger pool.
+ b2TreeNode* oldNodes = m_nodes;
+ m_nodeCapacity *= 2;
+ m_nodes = (b2TreeNode*)b2Alloc(m_nodeCapacity * sizeof(b2TreeNode));
+ memcpy(m_nodes, oldNodes, m_nodeCount * sizeof(b2TreeNode));
+ b2Free(oldNodes);
+
+ // Build a linked list for the free list. The parent
+ // pointer becomes the "next" pointer.
+ for (int32 i = m_nodeCount; i < m_nodeCapacity - 1; ++i)
+ {
+ m_nodes[i].next = i + 1;
+ m_nodes[i].height = -1;
+ }
+ m_nodes[m_nodeCapacity-1].next = b2_nullNode;
+ m_nodes[m_nodeCapacity-1].height = -1;
+ m_freeList = m_nodeCount;
+ }
+
+ // Peel a node off the free list.
+ int32 nodeId = m_freeList;
+ m_freeList = m_nodes[nodeId].next;
+ m_nodes[nodeId].parent = b2_nullNode;
+ m_nodes[nodeId].child1 = b2_nullNode;
+ m_nodes[nodeId].child2 = b2_nullNode;
+ m_nodes[nodeId].height = 0;
+ m_nodes[nodeId].userData = NULL;
+ ++m_nodeCount;
+ return nodeId;
+}
+
+// Return a node to the pool.
+void b2DynamicTree::FreeNode(int32 nodeId)
+{
+ b2Assert(0 <= nodeId && nodeId < m_nodeCapacity);
+ b2Assert(0 < m_nodeCount);
+ m_nodes[nodeId].next = m_freeList;
+ m_nodes[nodeId].height = -1;
+ m_freeList = nodeId;
+ --m_nodeCount;
+}
+
+// Create a proxy in the tree as a leaf node. We return the index
+// of the node instead of a pointer so that we can grow
+// the node pool.
+int32 b2DynamicTree::CreateProxy(const b2AABB& aabb, void* userData)
+{
+ int32 proxyId = AllocateNode();
+
+ // Fatten the aabb.
+ b2Vec2 r(b2_aabbExtension, b2_aabbExtension);
+ m_nodes[proxyId].aabb.lowerBound = aabb.lowerBound - r;
+ m_nodes[proxyId].aabb.upperBound = aabb.upperBound + r;
+ m_nodes[proxyId].userData = userData;
+ m_nodes[proxyId].height = 0;
+
+ InsertLeaf(proxyId);
+
+ return proxyId;
+}
+
+void b2DynamicTree::DestroyProxy(int32 proxyId)
+{
+ b2Assert(0 <= proxyId && proxyId < m_nodeCapacity);
+ b2Assert(m_nodes[proxyId].IsLeaf());
+
+ RemoveLeaf(proxyId);
+ FreeNode(proxyId);
+}
+
+bool b2DynamicTree::MoveProxy(int32 proxyId, const b2AABB& aabb, const b2Vec2& displacement)
+{
+ b2Assert(0 <= proxyId && proxyId < m_nodeCapacity);
+
+ b2Assert(m_nodes[proxyId].IsLeaf());
+
+ if (m_nodes[proxyId].aabb.Contains(aabb))
+ {
+ return false;
+ }
+
+ RemoveLeaf(proxyId);
+
+ // Extend AABB.
+ b2AABB b = aabb;
+ b2Vec2 r(b2_aabbExtension, b2_aabbExtension);
+ b.lowerBound = b.lowerBound - r;
+ b.upperBound = b.upperBound + r;
+
+ // Predict AABB displacement.
+ b2Vec2 d = b2_aabbMultiplier * displacement;
+
+ if (d.x < 0.0f)
+ {
+ b.lowerBound.x += d.x;
+ }
+ else
+ {
+ b.upperBound.x += d.x;
+ }
+
+ if (d.y < 0.0f)
+ {
+ b.lowerBound.y += d.y;
+ }
+ else
+ {
+ b.upperBound.y += d.y;
+ }
+
+ m_nodes[proxyId].aabb = b;
+
+ InsertLeaf(proxyId);
+ return true;
+}
+
+void b2DynamicTree::InsertLeaf(int32 leaf)
+{
+ ++m_insertionCount;
+
+ if (m_root == b2_nullNode)
+ {
+ m_root = leaf;
+ m_nodes[m_root].parent = b2_nullNode;
+ return;
+ }
+
+ // Find the best sibling for this node
+ b2AABB leafAABB = m_nodes[leaf].aabb;
+ int32 index = m_root;
+ while (m_nodes[index].IsLeaf() == false)
+ {
+ int32 child1 = m_nodes[index].child1;
+ int32 child2 = m_nodes[index].child2;
+
+ float32 area = m_nodes[index].aabb.GetPerimeter();
+
+ b2AABB combinedAABB;
+ combinedAABB.Combine(m_nodes[index].aabb, leafAABB);
+ float32 combinedArea = combinedAABB.GetPerimeter();
+
+ // Cost of creating a new parent for this node and the new leaf
+ float32 cost = 2.0f * combinedArea;
+
+ // Minimum cost of pushing the leaf further down the tree
+ float32 inheritanceCost = 2.0f * (combinedArea - area);
+
+ // Cost of descending into child1
+ float32 cost1;
+ if (m_nodes[child1].IsLeaf())
+ {
+ b2AABB aabb;
+ aabb.Combine(leafAABB, m_nodes[child1].aabb);
+ cost1 = aabb.GetPerimeter() + inheritanceCost;
+ }
+ else
+ {
+ b2AABB aabb;
+ aabb.Combine(leafAABB, m_nodes[child1].aabb);
+ float32 oldArea = m_nodes[child1].aabb.GetPerimeter();
+ float32 newArea = aabb.GetPerimeter();
+ cost1 = (newArea - oldArea) + inheritanceCost;
+ }
+
+ // Cost of descending into child2
+ float32 cost2;
+ if (m_nodes[child2].IsLeaf())
+ {
+ b2AABB aabb;
+ aabb.Combine(leafAABB, m_nodes[child2].aabb);
+ cost2 = aabb.GetPerimeter() + inheritanceCost;
+ }
+ else
+ {
+ b2AABB aabb;
+ aabb.Combine(leafAABB, m_nodes[child2].aabb);
+ float32 oldArea = m_nodes[child2].aabb.GetPerimeter();
+ float32 newArea = aabb.GetPerimeter();
+ cost2 = newArea - oldArea + inheritanceCost;
+ }
+
+ // Descend according to the minimum cost.
+ if (cost < cost1 && cost < cost2)
+ {
+ break;
+ }
+
+ // Descend
+ if (cost1 < cost2)
+ {
+ index = child1;
+ }
+ else
+ {
+ index = child2;
+ }
+ }
+
+ int32 sibling = index;
+
+ // Create a new parent.
+ int32 oldParent = m_nodes[sibling].parent;
+ int32 newParent = AllocateNode();
+ m_nodes[newParent].parent = oldParent;
+ m_nodes[newParent].userData = NULL;
+ m_nodes[newParent].aabb.Combine(leafAABB, m_nodes[sibling].aabb);
+ m_nodes[newParent].height = m_nodes[sibling].height + 1;
+
+ if (oldParent != b2_nullNode)
+ {
+ // The sibling was not the root.
+ if (m_nodes[oldParent].child1 == sibling)
+ {
+ m_nodes[oldParent].child1 = newParent;
+ }
+ else
+ {
+ m_nodes[oldParent].child2 = newParent;
+ }
+
+ m_nodes[newParent].child1 = sibling;
+ m_nodes[newParent].child2 = leaf;
+ m_nodes[sibling].parent = newParent;
+ m_nodes[leaf].parent = newParent;
+ }
+ else
+ {
+ // The sibling was the root.
+ m_nodes[newParent].child1 = sibling;
+ m_nodes[newParent].child2 = leaf;
+ m_nodes[sibling].parent = newParent;
+ m_nodes[leaf].parent = newParent;
+ m_root = newParent;
+ }
+
+ // Walk back up the tree fixing heights and AABBs
+ index = m_nodes[leaf].parent;
+ while (index != b2_nullNode)
+ {
+ index = Balance(index);
+
+ int32 child1 = m_nodes[index].child1;
+ int32 child2 = m_nodes[index].child2;
+
+ b2Assert(child1 != b2_nullNode);
+ b2Assert(child2 != b2_nullNode);
+
+ m_nodes[index].height = 1 + b2Max(m_nodes[child1].height, m_nodes[child2].height);
+ m_nodes[index].aabb.Combine(m_nodes[child1].aabb, m_nodes[child2].aabb);
+
+ index = m_nodes[index].parent;
+ }
+
+ //Validate();
+}
+
+void b2DynamicTree::RemoveLeaf(int32 leaf)
+{
+ if (leaf == m_root)
+ {
+ m_root = b2_nullNode;
+ return;
+ }
+
+ int32 parent = m_nodes[leaf].parent;
+ int32 grandParent = m_nodes[parent].parent;
+ int32 sibling;
+ if (m_nodes[parent].child1 == leaf)
+ {
+ sibling = m_nodes[parent].child2;
+ }
+ else
+ {
+ sibling = m_nodes[parent].child1;
+ }
+
+ if (grandParent != b2_nullNode)
+ {
+ // Destroy parent and connect sibling to grandParent.
+ if (m_nodes[grandParent].child1 == parent)
+ {
+ m_nodes[grandParent].child1 = sibling;
+ }
+ else
+ {
+ m_nodes[grandParent].child2 = sibling;
+ }
+ m_nodes[sibling].parent = grandParent;
+ FreeNode(parent);
+
+ // Adjust ancestor bounds.
+ int32 index = grandParent;
+ while (index != b2_nullNode)
+ {
+ index = Balance(index);
+
+ int32 child1 = m_nodes[index].child1;
+ int32 child2 = m_nodes[index].child2;
+
+ m_nodes[index].aabb.Combine(m_nodes[child1].aabb, m_nodes[child2].aabb);
+ m_nodes[index].height = 1 + b2Max(m_nodes[child1].height, m_nodes[child2].height);
+
+ index = m_nodes[index].parent;
+ }
+ }
+ else
+ {
+ m_root = sibling;
+ m_nodes[sibling].parent = b2_nullNode;
+ FreeNode(parent);
+ }
+
+ //Validate();
+}
+
+// Perform a left or right rotation if node A is imbalanced.
+// Returns the new root index.
+int32 b2DynamicTree::Balance(int32 iA)
+{
+ b2Assert(iA != b2_nullNode);
+
+ b2TreeNode* A = m_nodes + iA;
+ if (A->IsLeaf() || A->height < 2)
+ {
+ return iA;
+ }
+
+ int32 iB = A->child1;
+ int32 iC = A->child2;
+ b2Assert(0 <= iB && iB < m_nodeCapacity);
+ b2Assert(0 <= iC && iC < m_nodeCapacity);
+
+ b2TreeNode* B = m_nodes + iB;
+ b2TreeNode* C = m_nodes + iC;
+
+ int32 balance = C->height - B->height;
+
+ // Rotate C up
+ if (balance > 1)
+ {
+ int32 iF = C->child1;
+ int32 iG = C->child2;
+ b2TreeNode* F = m_nodes + iF;
+ b2TreeNode* G = m_nodes + iG;
+ b2Assert(0 <= iF && iF < m_nodeCapacity);
+ b2Assert(0 <= iG && iG < m_nodeCapacity);
+
+ // Swap A and C
+ C->child1 = iA;
+ C->parent = A->parent;
+ A->parent = iC;
+
+ // A's old parent should point to C
+ if (C->parent != b2_nullNode)
+ {
+ if (m_nodes[C->parent].child1 == iA)
+ {
+ m_nodes[C->parent].child1 = iC;
+ }
+ else
+ {
+ b2Assert(m_nodes[C->parent].child2 == iA);
+ m_nodes[C->parent].child2 = iC;
+ }
+ }
+ else
+ {
+ m_root = iC;
+ }
+
+ // Rotate
+ if (F->height > G->height)
+ {
+ C->child2 = iF;
+ A->child2 = iG;
+ G->parent = iA;
+ A->aabb.Combine(B->aabb, G->aabb);
+ C->aabb.Combine(A->aabb, F->aabb);
+
+ A->height = 1 + b2Max(B->height, G->height);
+ C->height = 1 + b2Max(A->height, F->height);
+ }
+ else
+ {
+ C->child2 = iG;
+ A->child2 = iF;
+ F->parent = iA;
+ A->aabb.Combine(B->aabb, F->aabb);
+ C->aabb.Combine(A->aabb, G->aabb);
+
+ A->height = 1 + b2Max(B->height, F->height);
+ C->height = 1 + b2Max(A->height, G->height);
+ }
+
+ return iC;
+ }
+
+ // Rotate B up
+ if (balance < -1)
+ {
+ int32 iD = B->child1;
+ int32 iE = B->child2;
+ b2TreeNode* D = m_nodes + iD;
+ b2TreeNode* E = m_nodes + iE;
+ b2Assert(0 <= iD && iD < m_nodeCapacity);
+ b2Assert(0 <= iE && iE < m_nodeCapacity);
+
+ // Swap A and B
+ B->child1 = iA;
+ B->parent = A->parent;
+ A->parent = iB;
+
+ // A's old parent should point to B
+ if (B->parent != b2_nullNode)
+ {
+ if (m_nodes[B->parent].child1 == iA)
+ {
+ m_nodes[B->parent].child1 = iB;
+ }
+ else
+ {
+ b2Assert(m_nodes[B->parent].child2 == iA);
+ m_nodes[B->parent].child2 = iB;
+ }
+ }
+ else
+ {
+ m_root = iB;
+ }
+
+ // Rotate
+ if (D->height > E->height)
+ {
+ B->child2 = iD;
+ A->child1 = iE;
+ E->parent = iA;
+ A->aabb.Combine(C->aabb, E->aabb);
+ B->aabb.Combine(A->aabb, D->aabb);
+
+ A->height = 1 + b2Max(C->height, E->height);
+ B->height = 1 + b2Max(A->height, D->height);
+ }
+ else
+ {
+ B->child2 = iE;
+ A->child1 = iD;
+ D->parent = iA;
+ A->aabb.Combine(C->aabb, D->aabb);
+ B->aabb.Combine(A->aabb, E->aabb);
+
+ A->height = 1 + b2Max(C->height, D->height);
+ B->height = 1 + b2Max(A->height, E->height);
+ }
+
+ return iB;
+ }
+
+ return iA;
+}
+
+int32 b2DynamicTree::GetHeight() const
+{
+ if (m_root == b2_nullNode)
+ {
+ return 0;
+ }
+
+ return m_nodes[m_root].height;
+}
+
+//
+float32 b2DynamicTree::GetAreaRatio() const
+{
+ if (m_root == b2_nullNode)
+ {
+ return 0.0f;
+ }
+
+ const b2TreeNode* root = m_nodes + m_root;
+ float32 rootArea = root->aabb.GetPerimeter();
+
+ float32 totalArea = 0.0f;
+ for (int32 i = 0; i < m_nodeCapacity; ++i)
+ {
+ const b2TreeNode* node = m_nodes + i;
+ if (node->height < 0)
+ {
+ // Free node in pool
+ continue;
+ }
+
+ totalArea += node->aabb.GetPerimeter();
+ }
+
+ return totalArea / rootArea;
+}
+
+// Compute the height of a sub-tree.
+int32 b2DynamicTree::ComputeHeight(int32 nodeId) const
+{
+ b2Assert(0 <= nodeId && nodeId < m_nodeCapacity);
+ b2TreeNode* node = m_nodes + nodeId;
+
+ if (node->IsLeaf())
+ {
+ return 0;
+ }
+
+ int32 height1 = ComputeHeight(node->child1);
+ int32 height2 = ComputeHeight(node->child2);
+ return 1 + b2Max(height1, height2);
+}
+
+int32 b2DynamicTree::ComputeHeight() const
+{
+ int32 height = ComputeHeight(m_root);
+ return height;
+}
+
+void b2DynamicTree::ValidateStructure(int32 index) const
+{
+ if (index == b2_nullNode)
+ {
+ return;
+ }
+
+ if (index == m_root)
+ {
+ b2Assert(m_nodes[index].parent == b2_nullNode);
+ }
+
+ const b2TreeNode* node = m_nodes + index;
+
+#if B2_ASSERT_ENABLED || DEBUG
+ int32 child1 = node->child1;
+ int32 child2 = node->child2;
+#endif // B2_ASSERT_ENABLED || DEBUG
+
+ if (node->IsLeaf())
+ {
+ b2Assert(child1 == b2_nullNode);
+ b2Assert(child2 == b2_nullNode);
+ b2Assert(node->height == 0);
+ return;
+ }
+
+ b2Assert(0 <= child1 && child1 < m_nodeCapacity);
+ b2Assert(0 <= child2 && child2 < m_nodeCapacity);
+
+ b2Assert(m_nodes[child1].parent == index);
+ b2Assert(m_nodes[child2].parent == index);
+
+ B2_DEBUG_STATEMENT(ValidateStructure(child1));
+ B2_DEBUG_STATEMENT(ValidateStructure(child2));
+}
+
+void b2DynamicTree::ValidateMetrics(int32 index) const
+{
+ if (index == b2_nullNode)
+ {
+ return;
+ }
+
+ const b2TreeNode* node = m_nodes + index;
+
+ int32 child1 = node->child1;
+ int32 child2 = node->child2;
+
+ if (node->IsLeaf())
+ {
+ b2Assert(child1 == b2_nullNode);
+ b2Assert(child2 == b2_nullNode);
+ b2Assert(node->height == 0);
+ return;
+ }
+
+ b2Assert(0 <= child1 && child1 < m_nodeCapacity);
+ b2Assert(0 <= child2 && child2 < m_nodeCapacity);
+
+#if B2_ASSERT_ENABLED
+ int32 height1 = m_nodes[child1].height;
+ int32 height2 = m_nodes[child2].height;
+ int32 height;
+ height = 1 + b2Max(height1, height2);
+#endif // B2_ASSERT_ENABLED
+ b2Assert(node->height == height);
+
+ b2AABB aabb;
+ aabb.Combine(m_nodes[child1].aabb, m_nodes[child2].aabb);
+
+ b2Assert(aabb.lowerBound == node->aabb.lowerBound);
+ b2Assert(aabb.upperBound == node->aabb.upperBound);
+
+ ValidateMetrics(child1);
+ ValidateMetrics(child2);
+}
+
+void b2DynamicTree::Validate() const
+{
+ B2_DEBUG_STATEMENT(ValidateStructure(m_root));
+ B2_DEBUG_STATEMENT(ValidateMetrics(m_root));
+
+ int32 freeCount = 0;
+ int32 freeIndex = m_freeList;
+ while (freeIndex != b2_nullNode)
+ {
+ b2Assert(0 <= freeIndex && freeIndex < m_nodeCapacity);
+ freeIndex = m_nodes[freeIndex].next;
+ ++freeCount;
+ }
+
+ b2Assert(GetHeight() == ComputeHeight());
+
+ b2Assert(m_nodeCount + freeCount == m_nodeCapacity);
+}
+
+int32 b2DynamicTree::GetMaxBalance() const
+{
+ int32 maxBalance = 0;
+ for (int32 i = 0; i < m_nodeCapacity; ++i)
+ {
+ const b2TreeNode* node = m_nodes + i;
+ if (node->height <= 1)
+ {
+ continue;
+ }
+
+ b2Assert(node->IsLeaf() == false);
+
+ int32 child1 = node->child1;
+ int32 child2 = node->child2;
+ int32 balance = b2Abs(m_nodes[child2].height - m_nodes[child1].height);
+ maxBalance = b2Max(maxBalance, balance);
+ }
+
+ return maxBalance;
+}
+
+void b2DynamicTree::RebuildBottomUp()
+{
+ int32* nodes = (int32*)b2Alloc(m_nodeCount * sizeof(int32));
+ int32 count = 0;
+
+ // Build array of leaves. Free the rest.
+ for (int32 i = 0; i < m_nodeCapacity; ++i)
+ {
+ if (m_nodes[i].height < 0)
+ {
+ // free node in pool
+ continue;
+ }
+
+ if (m_nodes[i].IsLeaf())
+ {
+ m_nodes[i].parent = b2_nullNode;
+ nodes[count] = i;
+ ++count;
+ }
+ else
+ {
+ FreeNode(i);
+ }
+ }
+
+ while (count > 1)
+ {
+ float32 minCost = b2_maxFloat;
+ int32 iMin = -1, jMin = -1;
+ for (int32 i = 0; i < count; ++i)
+ {
+ b2AABB aabbi = m_nodes[nodes[i]].aabb;
+
+ for (int32 j = i + 1; j < count; ++j)
+ {
+ b2AABB aabbj = m_nodes[nodes[j]].aabb;
+ b2AABB b;
+ b.Combine(aabbi, aabbj);
+ float32 cost = b.GetPerimeter();
+ if (cost < minCost)
+ {
+ iMin = i;
+ jMin = j;
+ minCost = cost;
+ }
+ }
+ }
+
+ int32 index1 = nodes[iMin];
+ int32 index2 = nodes[jMin];
+ b2TreeNode* child1 = m_nodes + index1;
+ b2TreeNode* child2 = m_nodes + index2;
+
+ int32 parentIndex = AllocateNode();
+ b2TreeNode* parent = m_nodes + parentIndex;
+ parent->child1 = index1;
+ parent->child2 = index2;
+ parent->height = 1 + b2Max(child1->height, child2->height);
+ parent->aabb.Combine(child1->aabb, child2->aabb);
+ parent->parent = b2_nullNode;
+
+ child1->parent = parentIndex;
+ child2->parent = parentIndex;
+
+ nodes[jMin] = nodes[count-1];
+ nodes[iMin] = parentIndex;
+ --count;
+ }
+
+ m_root = nodes[0];
+ b2Free(nodes);
+
+ B2_DEBUG_STATEMENT(Validate());
+}
+
+void b2DynamicTree::ShiftOrigin(const b2Vec2& newOrigin)
+{
+ // Build array of leaves. Free the rest.
+ for (int32 i = 0; i < m_nodeCapacity; ++i)
+ {
+ m_nodes[i].aabb.lowerBound -= newOrigin;
+ m_nodes[i].aabb.upperBound -= newOrigin;
+ }
+}
diff --git a/games/rider/src/Box2D/Collision/b2DynamicTree.h b/games/rider/src/Box2D/Collision/b2DynamicTree.h
new file mode 100755
index 00000000..bf80f73a
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2DynamicTree.h
@@ -0,0 +1,289 @@
+/*
+* Copyright (c) 2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_DYNAMIC_TREE_H
+#define B2_DYNAMIC_TREE_H
+
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Common/b2GrowableStack.h>
+
+#define b2_nullNode (-1)
+
+/// A node in the dynamic tree. The client does not interact with this directly.
+struct b2TreeNode
+{
+ bool IsLeaf() const
+ {
+ return child1 == b2_nullNode;
+ }
+
+ /// Enlarged AABB
+ b2AABB aabb;
+
+ void* userData;
+
+ union
+ {
+ int32 parent;
+ int32 next;
+ };
+
+ int32 child1;
+ int32 child2;
+
+ // leaf = 0, free node = -1
+ int32 height;
+};
+
+/// A dynamic AABB tree broad-phase, inspired by Nathanael Presson's btDbvt.
+/// A dynamic tree arranges data in a binary tree to accelerate
+/// queries such as volume queries and ray casts. Leafs are proxies
+/// with an AABB. In the tree we expand the proxy AABB by b2_fatAABBFactor
+/// so that the proxy AABB is bigger than the client object. This allows the client
+/// object to move by small amounts without triggering a tree update.
+///
+/// Nodes are pooled and relocatable, so we use node indices rather than pointers.
+class b2DynamicTree
+{
+public:
+ /// Constructing the tree initializes the node pool.
+ b2DynamicTree();
+
+ /// Destroy the tree, freeing the node pool.
+ ~b2DynamicTree();
+
+ /// Create a proxy. Provide a tight fitting AABB and a userData pointer.
+ int32 CreateProxy(const b2AABB& aabb, void* userData);
+
+ /// Destroy a proxy. This asserts if the id is invalid.
+ void DestroyProxy(int32 proxyId);
+
+ /// Move a proxy with a swepted AABB. If the proxy has moved outside of its fattened AABB,
+ /// then the proxy is removed from the tree and re-inserted. Otherwise
+ /// the function returns immediately.
+ /// @return true if the proxy was re-inserted.
+ bool MoveProxy(int32 proxyId, const b2AABB& aabb1, const b2Vec2& displacement);
+
+ /// Get proxy user data.
+ /// @return the proxy user data or 0 if the id is invalid.
+ void* GetUserData(int32 proxyId) const;
+
+ /// Get the fat AABB for a proxy.
+ const b2AABB& GetFatAABB(int32 proxyId) const;
+
+ /// Query an AABB for overlapping proxies. The callback class
+ /// is called for each proxy that overlaps the supplied AABB.
+ template <typename T>
+ void Query(T* callback, const b2AABB& aabb) const;
+
+ /// Ray-cast against the proxies in the tree. This relies on the callback
+ /// to perform a exact ray-cast in the case were the proxy contains a shape.
+ /// The callback also performs the any collision filtering. This has performance
+ /// roughly equal to k * log(n), where k is the number of collisions and n is the
+ /// number of proxies in the tree.
+ /// @param input the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).
+ /// @param callback a callback class that is called for each proxy that is hit by the ray.
+ template <typename T>
+ void RayCast(T* callback, const b2RayCastInput& input) const;
+
+ /// Validate this tree. For testing.
+ void Validate() const;
+
+ /// Compute the height of the binary tree in O(N) time. Should not be
+ /// called often.
+ int32 GetHeight() const;
+
+ /// Get the maximum balance of an node in the tree. The balance is the difference
+ /// in height of the two children of a node.
+ int32 GetMaxBalance() const;
+
+ /// Get the ratio of the sum of the node areas to the root area.
+ float32 GetAreaRatio() const;
+
+ /// Build an optimal tree. Very expensive. For testing.
+ void RebuildBottomUp();
+
+ /// Shift the world origin. Useful for large worlds.
+ /// The shift formula is: position -= newOrigin
+ /// @param newOrigin the new origin with respect to the old origin
+ void ShiftOrigin(const b2Vec2& newOrigin);
+
+private:
+
+ int32 AllocateNode();
+ void FreeNode(int32 node);
+
+ void InsertLeaf(int32 node);
+ void RemoveLeaf(int32 node);
+
+ int32 Balance(int32 index);
+
+ int32 ComputeHeight() const;
+ int32 ComputeHeight(int32 nodeId) const;
+
+ void ValidateStructure(int32 index) const;
+ void ValidateMetrics(int32 index) const;
+
+ int32 m_root;
+
+ b2TreeNode* m_nodes;
+ int32 m_nodeCount;
+ int32 m_nodeCapacity;
+
+ int32 m_freeList;
+
+ /// This is used to incrementally traverse the tree for re-balancing.
+ uint32 m_path;
+
+ int32 m_insertionCount;
+};
+
+inline void* b2DynamicTree::GetUserData(int32 proxyId) const
+{
+ b2Assert(0 <= proxyId && proxyId < m_nodeCapacity);
+ return m_nodes[proxyId].userData;
+}
+
+inline const b2AABB& b2DynamicTree::GetFatAABB(int32 proxyId) const
+{
+ b2Assert(0 <= proxyId && proxyId < m_nodeCapacity);
+ return m_nodes[proxyId].aabb;
+}
+
+template <typename T>
+inline void b2DynamicTree::Query(T* callback, const b2AABB& aabb) const
+{
+ b2GrowableStack<int32, 256> stack;
+ stack.Push(m_root);
+
+ while (stack.GetCount() > 0)
+ {
+ int32 nodeId = stack.Pop();
+ if (nodeId == b2_nullNode)
+ {
+ continue;
+ }
+
+ const b2TreeNode* node = m_nodes + nodeId;
+
+ if (b2TestOverlap(node->aabb, aabb))
+ {
+ if (node->IsLeaf())
+ {
+ bool proceed = callback->QueryCallback(nodeId);
+ if (proceed == false)
+ {
+ return;
+ }
+ }
+ else
+ {
+ stack.Push(node->child1);
+ stack.Push(node->child2);
+ }
+ }
+ }
+}
+
+template <typename T>
+inline void b2DynamicTree::RayCast(T* callback, const b2RayCastInput& input) const
+{
+ b2Vec2 p1 = input.p1;
+ b2Vec2 p2 = input.p2;
+ b2Vec2 r = p2 - p1;
+ b2Assert(r.LengthSquared() > 0.0f);
+ r.Normalize();
+
+ // v is perpendicular to the segment.
+ b2Vec2 v = b2Cross(1.0f, r);
+ b2Vec2 abs_v = b2Abs(v);
+
+ // Separating axis for segment (Gino, p80).
+ // |dot(v, p1 - c)| > dot(|v|, h)
+
+ float32 maxFraction = input.maxFraction;
+
+ // Build a bounding box for the segment.
+ b2AABB segmentAABB;
+ {
+ b2Vec2 t = p1 + maxFraction * (p2 - p1);
+ segmentAABB.lowerBound = b2Min(p1, t);
+ segmentAABB.upperBound = b2Max(p1, t);
+ }
+
+ b2GrowableStack<int32, 256> stack;
+ stack.Push(m_root);
+
+ while (stack.GetCount() > 0)
+ {
+ int32 nodeId = stack.Pop();
+ if (nodeId == b2_nullNode)
+ {
+ continue;
+ }
+
+ const b2TreeNode* node = m_nodes + nodeId;
+
+ if (b2TestOverlap(node->aabb, segmentAABB) == false)
+ {
+ continue;
+ }
+
+ // Separating axis for segment (Gino, p80).
+ // |dot(v, p1 - c)| > dot(|v|, h)
+ b2Vec2 c = node->aabb.GetCenter();
+ b2Vec2 h = node->aabb.GetExtents();
+ float32 separation = b2Abs(b2Dot(v, p1 - c)) - b2Dot(abs_v, h);
+ if (separation > 0.0f)
+ {
+ continue;
+ }
+
+ if (node->IsLeaf())
+ {
+ b2RayCastInput subInput;
+ subInput.p1 = input.p1;
+ subInput.p2 = input.p2;
+ subInput.maxFraction = maxFraction;
+
+ float32 value = callback->RayCastCallback(subInput, nodeId);
+
+ if (value == 0.0f)
+ {
+ // The client has terminated the ray cast.
+ return;
+ }
+
+ if (value > 0.0f)
+ {
+ // Update segment bounding box.
+ maxFraction = value;
+ b2Vec2 t = p1 + maxFraction * (p2 - p1);
+ segmentAABB.lowerBound = b2Min(p1, t);
+ segmentAABB.upperBound = b2Max(p1, t);
+ }
+ }
+ else
+ {
+ stack.Push(node->child1);
+ stack.Push(node->child2);
+ }
+ }
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Collision/b2TimeOfImpact.cpp b/games/rider/src/Box2D/Collision/b2TimeOfImpact.cpp
new file mode 100755
index 00000000..60551f67
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2TimeOfImpact.cpp
@@ -0,0 +1,487 @@
+/*
+* Copyright (c) 2007-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/b2Distance.h>
+#include <Box2D/Collision/b2TimeOfImpact.h>
+#include <Box2D/Collision/Shapes/b2CircleShape.h>
+#include <Box2D/Collision/Shapes/b2PolygonShape.h>
+#include <Box2D/Common/b2Timer.h>
+
+#include <stdio.h>
+
+float32 b2_toiTime, b2_toiMaxTime;
+int32 b2_toiCalls, b2_toiIters, b2_toiMaxIters;
+int32 b2_toiRootIters, b2_toiMaxRootIters;
+
+//
+struct b2SeparationFunction
+{
+ enum Type
+ {
+ e_points,
+ e_faceA,
+ e_faceB
+ };
+
+ // TODO_ERIN might not need to return the separation
+
+ float32 Initialize(const b2SimplexCache* cache,
+ const b2DistanceProxy* proxyA, const b2Sweep& sweepA,
+ const b2DistanceProxy* proxyB, const b2Sweep& sweepB,
+ float32 t1)
+ {
+ m_proxyA = proxyA;
+ m_proxyB = proxyB;
+ int32 count = cache->count;
+ b2Assert(0 < count && count < 3);
+
+ m_sweepA = sweepA;
+ m_sweepB = sweepB;
+
+ b2Transform xfA, xfB;
+ m_sweepA.GetTransform(&xfA, t1);
+ m_sweepB.GetTransform(&xfB, t1);
+
+ if (count == 1)
+ {
+ m_type = e_points;
+ b2Vec2 localPointA = m_proxyA->GetVertex(cache->indexA[0]);
+ b2Vec2 localPointB = m_proxyB->GetVertex(cache->indexB[0]);
+ b2Vec2 pointA = b2Mul(xfA, localPointA);
+ b2Vec2 pointB = b2Mul(xfB, localPointB);
+ m_axis = pointB - pointA;
+ float32 s = m_axis.Normalize();
+ m_localPoint = b2Vec2_zero;
+ return s;
+ }
+ else if (cache->indexA[0] == cache->indexA[1])
+ {
+ // Two points on B and one on A.
+ m_type = e_faceB;
+ b2Vec2 localPointB1 = proxyB->GetVertex(cache->indexB[0]);
+ b2Vec2 localPointB2 = proxyB->GetVertex(cache->indexB[1]);
+
+ m_axis = b2Cross(localPointB2 - localPointB1, 1.0f);
+ m_axis.Normalize();
+ b2Vec2 normal = b2Mul(xfB.q, m_axis);
+
+ m_localPoint = 0.5f * (localPointB1 + localPointB2);
+ b2Vec2 pointB = b2Mul(xfB, m_localPoint);
+
+ b2Vec2 localPointA = proxyA->GetVertex(cache->indexA[0]);
+ b2Vec2 pointA = b2Mul(xfA, localPointA);
+
+ float32 s = b2Dot(pointA - pointB, normal);
+ if (s < 0.0f)
+ {
+ m_axis = -m_axis;
+ s = -s;
+ }
+ return s;
+ }
+ else
+ {
+ // Two points on A and one or two points on B.
+ m_type = e_faceA;
+ b2Vec2 localPointA1 = m_proxyA->GetVertex(cache->indexA[0]);
+ b2Vec2 localPointA2 = m_proxyA->GetVertex(cache->indexA[1]);
+
+ m_axis = b2Cross(localPointA2 - localPointA1, 1.0f);
+ m_axis.Normalize();
+ b2Vec2 normal = b2Mul(xfA.q, m_axis);
+
+ m_localPoint = 0.5f * (localPointA1 + localPointA2);
+ b2Vec2 pointA = b2Mul(xfA, m_localPoint);
+
+ b2Vec2 localPointB = m_proxyB->GetVertex(cache->indexB[0]);
+ b2Vec2 pointB = b2Mul(xfB, localPointB);
+
+ float32 s = b2Dot(pointB - pointA, normal);
+ if (s < 0.0f)
+ {
+ m_axis = -m_axis;
+ s = -s;
+ }
+ return s;
+ }
+ }
+
+ //
+ float32 FindMinSeparation(int32* indexA, int32* indexB, float32 t) const
+ {
+ b2Transform xfA, xfB;
+ m_sweepA.GetTransform(&xfA, t);
+ m_sweepB.GetTransform(&xfB, t);
+
+ switch (m_type)
+ {
+ case e_points:
+ {
+ b2Vec2 axisA = b2MulT(xfA.q, m_axis);
+ b2Vec2 axisB = b2MulT(xfB.q, -m_axis);
+
+ *indexA = m_proxyA->GetSupport(axisA);
+ *indexB = m_proxyB->GetSupport(axisB);
+
+ b2Vec2 localPointA = m_proxyA->GetVertex(*indexA);
+ b2Vec2 localPointB = m_proxyB->GetVertex(*indexB);
+
+ b2Vec2 pointA = b2Mul(xfA, localPointA);
+ b2Vec2 pointB = b2Mul(xfB, localPointB);
+
+ float32 separation = b2Dot(pointB - pointA, m_axis);
+ return separation;
+ }
+
+ case e_faceA:
+ {
+ b2Vec2 normal = b2Mul(xfA.q, m_axis);
+ b2Vec2 pointA = b2Mul(xfA, m_localPoint);
+
+ b2Vec2 axisB = b2MulT(xfB.q, -normal);
+
+ *indexA = -1;
+ *indexB = m_proxyB->GetSupport(axisB);
+
+ b2Vec2 localPointB = m_proxyB->GetVertex(*indexB);
+ b2Vec2 pointB = b2Mul(xfB, localPointB);
+
+ float32 separation = b2Dot(pointB - pointA, normal);
+ return separation;
+ }
+
+ case e_faceB:
+ {
+ b2Vec2 normal = b2Mul(xfB.q, m_axis);
+ b2Vec2 pointB = b2Mul(xfB, m_localPoint);
+
+ b2Vec2 axisA = b2MulT(xfA.q, -normal);
+
+ *indexB = -1;
+ *indexA = m_proxyA->GetSupport(axisA);
+
+ b2Vec2 localPointA = m_proxyA->GetVertex(*indexA);
+ b2Vec2 pointA = b2Mul(xfA, localPointA);
+
+ float32 separation = b2Dot(pointA - pointB, normal);
+ return separation;
+ }
+
+ default:
+ b2Assert(false);
+ *indexA = -1;
+ *indexB = -1;
+ return 0.0f;
+ }
+ }
+
+ //
+ float32 Evaluate(int32 indexA, int32 indexB, float32 t) const
+ {
+ b2Transform xfA, xfB;
+ m_sweepA.GetTransform(&xfA, t);
+ m_sweepB.GetTransform(&xfB, t);
+
+ switch (m_type)
+ {
+ case e_points:
+ {
+ b2Vec2 localPointA = m_proxyA->GetVertex(indexA);
+ b2Vec2 localPointB = m_proxyB->GetVertex(indexB);
+
+ b2Vec2 pointA = b2Mul(xfA, localPointA);
+ b2Vec2 pointB = b2Mul(xfB, localPointB);
+ float32 separation = b2Dot(pointB - pointA, m_axis);
+
+ return separation;
+ }
+
+ case e_faceA:
+ {
+ b2Vec2 normal = b2Mul(xfA.q, m_axis);
+ b2Vec2 pointA = b2Mul(xfA, m_localPoint);
+
+ b2Vec2 localPointB = m_proxyB->GetVertex(indexB);
+ b2Vec2 pointB = b2Mul(xfB, localPointB);
+
+ float32 separation = b2Dot(pointB - pointA, normal);
+ return separation;
+ }
+
+ case e_faceB:
+ {
+ b2Vec2 normal = b2Mul(xfB.q, m_axis);
+ b2Vec2 pointB = b2Mul(xfB, m_localPoint);
+
+ b2Vec2 localPointA = m_proxyA->GetVertex(indexA);
+ b2Vec2 pointA = b2Mul(xfA, localPointA);
+
+ float32 separation = b2Dot(pointA - pointB, normal);
+ return separation;
+ }
+
+ default:
+ b2Assert(false);
+ return 0.0f;
+ }
+ }
+
+ const b2DistanceProxy* m_proxyA;
+ const b2DistanceProxy* m_proxyB;
+ b2Sweep m_sweepA, m_sweepB;
+ Type m_type;
+ b2Vec2 m_localPoint;
+ b2Vec2 m_axis;
+};
+
+// CCD via the local separating axis method. This seeks progression
+// by computing the largest time at which separation is maintained.
+void b2TimeOfImpact(b2TOIOutput* output, const b2TOIInput* input)
+{
+ b2Timer timer;
+
+ ++b2_toiCalls;
+
+ output->state = b2TOIOutput::e_unknown;
+ output->t = input->tMax;
+
+ const b2DistanceProxy* proxyA = &input->proxyA;
+ const b2DistanceProxy* proxyB = &input->proxyB;
+
+ b2Sweep sweepA = input->sweepA;
+ b2Sweep sweepB = input->sweepB;
+
+ // Large rotations can make the root finder fail, so we normalize the
+ // sweep angles.
+ sweepA.Normalize();
+ sweepB.Normalize();
+
+ float32 tMax = input->tMax;
+
+ float32 totalRadius = proxyA->m_radius + proxyB->m_radius;
+ float32 target = b2Max(b2_linearSlop, totalRadius - 3.0f * b2_linearSlop);
+ float32 tolerance = 0.25f * b2_linearSlop;
+ b2Assert(target > tolerance);
+
+ float32 t1 = 0.0f;
+ const int32 k_maxIterations = 20; // TODO_ERIN b2Settings
+ int32 iter = 0;
+
+ // Prepare input for distance query.
+ b2SimplexCache cache;
+ cache.count = 0;
+ b2DistanceInput distanceInput;
+ distanceInput.proxyA = input->proxyA;
+ distanceInput.proxyB = input->proxyB;
+ distanceInput.useRadii = false;
+
+ // The outer loop progressively attempts to compute new separating axes.
+ // This loop terminates when an axis is repeated (no progress is made).
+ for(;;)
+ {
+ b2Transform xfA, xfB;
+ sweepA.GetTransform(&xfA, t1);
+ sweepB.GetTransform(&xfB, t1);
+
+ // Get the distance between shapes. We can also use the results
+ // to get a separating axis.
+ distanceInput.transformA = xfA;
+ distanceInput.transformB = xfB;
+ b2DistanceOutput distanceOutput;
+ b2Distance(&distanceOutput, &cache, &distanceInput);
+
+ // If the shapes are overlapped, we give up on continuous collision.
+ if (distanceOutput.distance <= 0.0f)
+ {
+ // Failure!
+ output->state = b2TOIOutput::e_overlapped;
+ output->t = 0.0f;
+ break;
+ }
+
+ if (distanceOutput.distance < target + tolerance)
+ {
+ // Victory!
+ output->state = b2TOIOutput::e_touching;
+ output->t = t1;
+ break;
+ }
+
+ // Initialize the separating axis.
+ b2SeparationFunction fcn;
+ fcn.Initialize(&cache, proxyA, sweepA, proxyB, sweepB, t1);
+#if 0
+ // Dump the curve seen by the root finder
+ {
+ const int32 N = 100;
+ float32 dx = 1.0f / N;
+ float32 xs[N+1];
+ float32 fs[N+1];
+
+ float32 x = 0.0f;
+
+ for (int32 i = 0; i <= N; ++i)
+ {
+ sweepA.GetTransform(&xfA, x);
+ sweepB.GetTransform(&xfB, x);
+ float32 f = fcn.Evaluate(xfA, xfB) - target;
+
+ printf("%g %g\n", x, f);
+
+ xs[i] = x;
+ fs[i] = f;
+
+ x += dx;
+ }
+ }
+#endif
+
+ // Compute the TOI on the separating axis. We do this by successively
+ // resolving the deepest point. This loop is bounded by the number of vertices.
+ bool done = false;
+ float32 t2 = tMax;
+ int32 pushBackIter = 0;
+ for (;;)
+ {
+ // Find the deepest point at t2. Store the witness point indices.
+ int32 indexA, indexB;
+ float32 s2 = fcn.FindMinSeparation(&indexA, &indexB, t2);
+
+ // Is the final configuration separated?
+ if (s2 > target + tolerance)
+ {
+ // Victory!
+ output->state = b2TOIOutput::e_separated;
+ output->t = tMax;
+ done = true;
+ break;
+ }
+
+ // Has the separation reached tolerance?
+ if (s2 > target - tolerance)
+ {
+ // Advance the sweeps
+ t1 = t2;
+ break;
+ }
+
+ // Compute the initial separation of the witness points.
+ float32 s1 = fcn.Evaluate(indexA, indexB, t1);
+
+ // Check for initial overlap. This might happen if the root finder
+ // runs out of iterations.
+ if (s1 < target - tolerance)
+ {
+ output->state = b2TOIOutput::e_failed;
+ output->t = t1;
+ done = true;
+ break;
+ }
+
+ // Check for touching
+ if (s1 <= target + tolerance)
+ {
+ // Victory! t1 should hold the TOI (could be 0.0).
+ output->state = b2TOIOutput::e_touching;
+ output->t = t1;
+ done = true;
+ break;
+ }
+
+ // Compute 1D root of: f(x) - target = 0
+ int32 rootIterCount = 0;
+ float32 a1 = t1, a2 = t2;
+ for (;;)
+ {
+ // Use a mix of the secant rule and bisection.
+ float32 t;
+ if (rootIterCount & 1)
+ {
+ // Secant rule to improve convergence.
+ t = a1 + (target - s1) * (a2 - a1) / (s2 - s1);
+ }
+ else
+ {
+ // Bisection to guarantee progress.
+ t = 0.5f * (a1 + a2);
+ }
+
+ ++rootIterCount;
+ ++b2_toiRootIters;
+
+ float32 s = fcn.Evaluate(indexA, indexB, t);
+
+ if (b2Abs(s - target) < tolerance)
+ {
+ // t2 holds a tentative value for t1
+ t2 = t;
+ break;
+ }
+
+ // Ensure we continue to bracket the root.
+ if (s > target)
+ {
+ a1 = t;
+ s1 = s;
+ }
+ else
+ {
+ a2 = t;
+ s2 = s;
+ }
+
+ if (rootIterCount == 50)
+ {
+ break;
+ }
+ }
+
+ b2_toiMaxRootIters = b2Max(b2_toiMaxRootIters, rootIterCount);
+
+ ++pushBackIter;
+
+ if (pushBackIter == b2_maxPolygonVertices)
+ {
+ break;
+ }
+ }
+
+ ++iter;
+ ++b2_toiIters;
+
+ if (done)
+ {
+ break;
+ }
+
+ if (iter == k_maxIterations)
+ {
+ // Root finder got stuck. Semi-victory.
+ output->state = b2TOIOutput::e_failed;
+ output->t = t1;
+ break;
+ }
+ }
+
+ b2_toiMaxIters = b2Max(b2_toiMaxIters, iter);
+
+ float32 time = timer.GetMilliseconds();
+ b2_toiMaxTime = b2Max(b2_toiMaxTime, time);
+ b2_toiTime += time;
+}
diff --git a/games/rider/src/Box2D/Collision/b2TimeOfImpact.h b/games/rider/src/Box2D/Collision/b2TimeOfImpact.h
new file mode 100755
index 00000000..20620c1e
--- /dev/null
+++ b/games/rider/src/Box2D/Collision/b2TimeOfImpact.h
@@ -0,0 +1,58 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_TIME_OF_IMPACT_H
+#define B2_TIME_OF_IMPACT_H
+
+#include <Box2D/Common/b2Math.h>
+#include <Box2D/Collision/b2Distance.h>
+
+/// Input parameters for b2TimeOfImpact
+struct b2TOIInput
+{
+ b2DistanceProxy proxyA;
+ b2DistanceProxy proxyB;
+ b2Sweep sweepA;
+ b2Sweep sweepB;
+ float32 tMax; // defines sweep interval [0, tMax]
+};
+
+// Output parameters for b2TimeOfImpact.
+struct b2TOIOutput
+{
+ enum State
+ {
+ e_unknown,
+ e_failed,
+ e_overlapped,
+ e_touching,
+ e_separated
+ };
+
+ State state;
+ float32 t;
+};
+
+/// Compute the upper bound on time before two shapes penetrate. Time is represented as
+/// a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate,
+/// non-tunneling collision. If you change the time interval, you should call this function
+/// again.
+/// Note: use b2Distance to compute the contact point and normal at the time of impact.
+void b2TimeOfImpact(b2TOIOutput* output, const b2TOIInput* input);
+
+#endif
diff --git a/games/rider/src/Box2D/Common/b2BlockAllocator.cpp b/games/rider/src/Box2D/Common/b2BlockAllocator.cpp
new file mode 100755
index 00000000..67f12722
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2BlockAllocator.cpp
@@ -0,0 +1,239 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <limits.h>
+#include <memory.h>
+#include <stddef.h>
+#include <string.h>
+#include <new> // For placement new
+
+int32 b2BlockAllocator::s_blockSizes[b2_blockSizes] =
+{
+ 16, // 0
+ 32, // 1
+ 64, // 2
+ 96, // 3
+ 128, // 4
+ 160, // 5
+ 192, // 6
+ 224, // 7
+ 256, // 8
+ 320, // 9
+ 384, // 10
+ 448, // 11
+ 512, // 12
+ 640, // 13
+};
+uint8 b2BlockAllocator::s_blockSizeLookup[b2_maxBlockSize + 1];
+#ifdef B2_BLOCK_HOOK
+void (*b2_blockHook)(int32 size, int32 count);
+#endif
+bool b2BlockAllocator::s_blockSizeLookupInitialized;
+
+struct b2Chunk
+{
+ int32 blockSize;
+ b2Block* blocks;
+};
+
+struct b2Block
+{
+ b2Block* next;
+};
+
+b2BlockAllocator::b2BlockAllocator()
+{
+ b2Assert((uint32)b2_blockSizes < UCHAR_MAX);
+
+ m_chunkSpace = b2_chunkArrayIncrement;
+ m_chunkCount = 0;
+ m_chunks = (b2Chunk*)b2Alloc(m_chunkSpace * sizeof(b2Chunk));
+
+ memset(m_chunks, 0, m_chunkSpace * sizeof(b2Chunk));
+ memset(m_freeLists, 0, sizeof(m_freeLists));
+ m_freeBytes = 0;
+
+ if (s_blockSizeLookupInitialized == false)
+ {
+ int32 j = 0;
+ for (int32 i = 1; i <= b2_maxBlockSize; ++i)
+ {
+ b2Assert(j < b2_blockSizes);
+ if (i <= s_blockSizes[j])
+ {
+ s_blockSizeLookup[i] = (uint8)j;
+ }
+ else
+ {
+ ++j;
+ s_blockSizeLookup[i] = (uint8)j;
+ }
+ }
+
+ s_blockSizeLookupInitialized = true;
+ }
+}
+
+b2BlockAllocator::~b2BlockAllocator()
+{
+ for (int32 i = 0; i < m_chunkCount; ++i)
+ {
+ b2Free(m_chunks[i].blocks);
+ }
+
+ b2Free(m_chunks);
+}
+
+uint32 b2BlockAllocator::GetNumGiantAllocations() const
+{
+ return m_giants.GetList().GetLength();
+}
+
+void* b2BlockAllocator::Allocate(int32 size)
+{
+ if (size == 0)
+ return NULL;
+
+ b2Assert(0 < size);
+
+ if (size > b2_maxBlockSize)
+ {
+ return m_giants.Allocate(size);
+ }
+#ifdef B2_BLOCK_HOOK
+ if (b2_blockHook) b2_blockHook(size, 1); // NumPlay's tests: what the calculator would hold
+#endif
+
+ int32 index = s_blockSizeLookup[size];
+ b2Assert(0 <= index && index < b2_blockSizes);
+
+ if (m_freeLists[index])
+ {
+ b2Block* block = m_freeLists[index];
+ m_freeLists[index] = block->next;
+ m_freeBytes -= s_blockSizes[index];
+ return block;
+ }
+ else
+ {
+ if (m_chunkCount == m_chunkSpace)
+ {
+ b2Chunk* oldChunks = m_chunks;
+ m_chunkSpace += b2_chunkArrayIncrement;
+ m_chunks = (b2Chunk*)b2Alloc(m_chunkSpace * sizeof(b2Chunk));
+ memcpy(m_chunks, oldChunks, m_chunkCount * sizeof(b2Chunk));
+ memset(m_chunks + m_chunkCount, 0, b2_chunkArrayIncrement * sizeof(b2Chunk));
+ b2Free(oldChunks);
+ }
+
+ b2Chunk* chunk = m_chunks + m_chunkCount;
+ chunk->blocks = (b2Block*)b2Alloc(b2_chunkSize);
+#if DEBUG
+ memset(chunk->blocks, 0xcd, b2_chunkSize);
+#endif
+ int32 blockSize = s_blockSizes[index];
+ chunk->blockSize = blockSize;
+ int32 blockCount = b2_chunkSize / blockSize;
+ b2Assert(blockCount * blockSize <= b2_chunkSize);
+ for (int32 i = 0; i < blockCount - 1; ++i)
+ {
+ b2Block* block = (b2Block*)((int8*)chunk->blocks + blockSize * i);
+ b2Block* next = (b2Block*)((int8*)chunk->blocks + blockSize * (i + 1));
+ block->next = next;
+ }
+ b2Block* last = (b2Block*)((int8*)chunk->blocks + blockSize * (blockCount - 1));
+ last->next = NULL;
+
+ m_freeLists[index] = chunk->blocks->next;
+ m_freeBytes += (blockCount - 1) * blockSize;
+ ++m_chunkCount;
+
+ return chunk->blocks;
+ }
+}
+
+void b2BlockAllocator::Free(void* p, int32 size)
+{
+ if (size == 0)
+ {
+ return;
+ }
+
+ b2Assert(0 < size);
+
+ if (size > b2_maxBlockSize)
+ {
+ m_giants.Free(p);
+ return;
+ }
+#ifdef B2_BLOCK_HOOK
+ if (b2_blockHook) b2_blockHook(size, -1);
+#endif
+
+ int32 index = s_blockSizeLookup[size];
+ b2Assert(0 <= index && index < b2_blockSizes);
+
+#if B2_ASSERT_ENABLED
+ // Verify the memory address and size is valid.
+ int32 blockSize = s_blockSizes[index];
+ bool found = false;
+ for (int32 i = 0; i < m_chunkCount; ++i)
+ {
+ b2Chunk* chunk = m_chunks + i;
+ if (chunk->blockSize != blockSize)
+ {
+ b2Assert( (int8*)p + blockSize <= (int8*)chunk->blocks ||
+ (int8*)chunk->blocks + b2_chunkSize <= (int8*)p);
+ }
+ else
+ {
+ if ((int8*)chunk->blocks <= (int8*)p && (int8*)p + blockSize <= (int8*)chunk->blocks + b2_chunkSize)
+ {
+ found = true;
+ }
+ }
+ }
+
+ b2Assert(found);
+#endif // B2_ASSERT_ENABLED
+
+#if DEBUG
+ memset(p, 0xfd, s_blockSizes[index]);
+#endif
+
+ b2Block* block = (b2Block*)p;
+ block->next = m_freeLists[index];
+ m_freeLists[index] = block;
+ m_freeBytes += s_blockSizes[index];
+}
+
+void b2BlockAllocator::Clear()
+{
+ for (int32 i = 0; i < m_chunkCount; ++i)
+ {
+ b2Free(m_chunks[i].blocks);
+ }
+
+ m_chunkCount = 0;
+ memset(m_chunks, 0, m_chunkSpace * sizeof(b2Chunk));
+
+ memset(m_freeLists, 0, sizeof(m_freeLists));
+ m_freeBytes = 0;
+}
diff --git a/games/rider/src/Box2D/Common/b2BlockAllocator.h b/games/rider/src/Box2D/Common/b2BlockAllocator.h
new file mode 100755
index 00000000..c5d6d44e
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2BlockAllocator.h
@@ -0,0 +1,82 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_BLOCK_ALLOCATOR_H
+#define B2_BLOCK_ALLOCATOR_H
+
+#include <Box2D/Common/b2Settings.h>
+#include <Box2D/Common/b2TrackedBlock.h>
+
+// NumPlay: smaller chunks for the calculator's memory.
+#ifndef B2_CHUNK_SIZE
+#define B2_CHUNK_SIZE (16 * 1024)
+#define B2_CHUNK_ARRAY_INCREMENT 128
+#endif
+
+const int32 b2_chunkSize = B2_CHUNK_SIZE;
+const int32 b2_maxBlockSize = 640;
+const int32 b2_blockSizes = 14;
+const int32 b2_chunkArrayIncrement = B2_CHUNK_ARRAY_INCREMENT;
+
+#ifdef B2_BLOCK_HOOK
+extern void (*b2_blockHook)(int32 size, int32 count); // NumPlay's tests
+#endif
+
+struct b2Block;
+struct b2Chunk;
+
+/// This is a small object allocator used for allocating small
+/// objects that persist for more than one time step.
+/// See: http://www.codeproject.com/useritems/Small_Block_Allocator.asp
+class b2BlockAllocator
+{
+public:
+ b2BlockAllocator();
+ ~b2BlockAllocator();
+
+ /// Allocate memory. This uses b2Alloc if the size is larger than b2_maxBlockSize.
+ void* Allocate(int32 size);
+
+ /// Free memory. This uses b2Free if the size is larger than b2_maxBlockSize.
+ void Free(void* p, int32 size);
+
+ void Clear();
+
+ /// Returns the number of allocations larger than the max block size.
+ uint32 GetNumGiantAllocations() const;
+
+ /// NumPlay: the bytes of the free blocks in its chunks (memory it can give again without b2Alloc).
+ int32 GetFreeBytes() const { return m_freeBytes; }
+
+private:
+ b2Chunk* m_chunks;
+ int32 m_chunkCount;
+ int32 m_chunkSpace;
+
+ b2Block* m_freeLists[b2_blockSizes];
+ int32 m_freeBytes; // NumPlay
+
+ // Record giant allocations--ones bigger than the max block size
+ b2TrackedBlockAllocator m_giants;
+
+ static int32 s_blockSizes[b2_blockSizes];
+ static uint8 s_blockSizeLookup[b2_maxBlockSize + 1];
+ static bool s_blockSizeLookupInitialized;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Common/b2Draw.cpp b/games/rider/src/Box2D/Common/b2Draw.cpp
new file mode 100755
index 00000000..2cd9b1a5
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2Draw.cpp
@@ -0,0 +1,44 @@
+/*
+* Copyright (c) 2011 Erin Catto http://box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Common/b2Draw.h>
+
+b2Draw::b2Draw()
+{
+ m_drawFlags = 0;
+}
+
+void b2Draw::SetFlags(uint32 flags)
+{
+ m_drawFlags = flags;
+}
+
+uint32 b2Draw::GetFlags() const
+{
+ return m_drawFlags;
+}
+
+void b2Draw::AppendFlags(uint32 flags)
+{
+ m_drawFlags |= flags;
+}
+
+void b2Draw::ClearFlags(uint32 flags)
+{
+ m_drawFlags &= ~flags;
+}
diff --git a/games/rider/src/Box2D/Common/b2Draw.h b/games/rider/src/Box2D/Common/b2Draw.h
new file mode 100755
index 00000000..c6189bb3
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2Draw.h
@@ -0,0 +1,97 @@
+/*
+* Copyright (c) 2011 Erin Catto http://box2d.org
+* Copyright (c) 2014 Google, Inc.
+*
+* 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 B2_DRAW_H
+#define B2_DRAW_H
+
+#include <Box2D/Common/b2Math.h>
+// NumPlay: LiquidFun's particles are not part of this copy (Rider has none).
+#if LIQUIDFUN_PARTICLES
+#include <Box2D/Particle/b2Particle.h>
+#endif
+
+/// Color for debug drawing. Each value has the range [0,1].
+struct b2Color
+{
+ b2Color() {}
+ b2Color(float32 r, float32 g, float32 b) : r(r), g(g), b(b) {}
+ void Set(float32 ri, float32 gi, float32 bi) { r = ri; g = gi; b = bi; }
+ float32 r, g, b;
+};
+
+/// Implement and register this class with a b2World to provide debug drawing of physics
+/// entities in your game.
+class b2Draw
+{
+public:
+ b2Draw();
+
+ virtual ~b2Draw() {}
+
+ enum
+ {
+ e_shapeBit = 0x0001, ///< draw shapes
+ e_jointBit = 0x0002, ///< draw joint connections
+ e_aabbBit = 0x0004, ///< draw axis aligned bounding boxes
+ e_pairBit = 0x0008, ///< draw broad-phase pairs
+ e_centerOfMassBit = 0x0010, ///< draw center of mass frame
+ e_particleBit = 0x0020 ///< draw particles
+ };
+
+ /// Set the drawing flags.
+ void SetFlags(uint32 flags);
+
+ /// Get the drawing flags.
+ uint32 GetFlags() const;
+
+ /// Append flags to the current flags.
+ void AppendFlags(uint32 flags);
+
+ /// Clear flags from the current flags.
+ void ClearFlags(uint32 flags);
+
+ /// Draw a closed polygon provided in CCW order.
+ virtual void DrawPolygon(const b2Vec2* vertices, int32 vertexCount, const b2Color& color) = 0;
+
+ /// Draw a solid closed polygon provided in CCW order.
+ virtual void DrawSolidPolygon(const b2Vec2* vertices, int32 vertexCount, const b2Color& color) = 0;
+
+ /// Draw a circle.
+ virtual void DrawCircle(const b2Vec2& center, float32 radius, const b2Color& color) = 0;
+
+ /// Draw a solid circle.
+ virtual void DrawSolidCircle(const b2Vec2& center, float32 radius, const b2Vec2& axis, const b2Color& color) = 0;
+
+#if LIQUIDFUN_PARTICLES
+ /// Draw a particle array
+ virtual void DrawParticles(const b2Vec2 *centers, float32 radius, const b2ParticleColor *colors, int32 count) = 0;
+#endif
+
+ /// Draw a line segment.
+ virtual void DrawSegment(const b2Vec2& p1, const b2Vec2& p2, const b2Color& color) = 0;
+
+ /// Draw a transform. Choose your own length scale.
+ /// @param xf a transform.
+ virtual void DrawTransform(const b2Transform& xf) = 0;
+
+protected:
+ uint32 m_drawFlags;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Common/b2GrowableStack.h b/games/rider/src/Box2D/Common/b2GrowableStack.h
new file mode 100755
index 00000000..2d676013
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2GrowableStack.h
@@ -0,0 +1,87 @@
+/*
+* Copyright (c) 2010 Erin Catto http://www.box2d.org
+*
+* 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 B2_GROWABLE_STACK_H
+#define B2_GROWABLE_STACK_H
+
+#include <Box2D/Common/b2Settings.h>
+#include <string.h>
+#include <memory.h>
+
+/// This is a growable LIFO stack with an initial capacity of N.
+/// If the stack size exceeds the initial capacity, the heap is used
+/// to increase the size of the stack.
+template <typename T, int32 N>
+class b2GrowableStack
+{
+public:
+ b2GrowableStack()
+ {
+ m_stack = m_array;
+ m_count = 0;
+ m_capacity = N;
+ }
+
+ ~b2GrowableStack()
+ {
+ if (m_stack != m_array)
+ {
+ b2Free(m_stack);
+ m_stack = NULL;
+ }
+ }
+
+ void Push(const T& element)
+ {
+ if (m_count == m_capacity)
+ {
+ T* old = m_stack;
+ m_capacity *= 2;
+ m_stack = (T*)b2Alloc(m_capacity * sizeof(T));
+ memcpy(m_stack, old, m_count * sizeof(T));
+ if (old != m_array)
+ {
+ b2Free(old);
+ }
+ }
+
+ m_stack[m_count] = element;
+ ++m_count;
+ }
+
+ T Pop()
+ {
+ b2Assert(m_count > 0);
+ --m_count;
+ return m_stack[m_count];
+ }
+
+ int32 GetCount()
+ {
+ return m_count;
+ }
+
+private:
+ T* m_stack;
+ T m_array[N];
+ int32 m_count;
+ int32 m_capacity;
+};
+
+
+#endif
diff --git a/games/rider/src/Box2D/Common/b2IntrusiveList.h b/games/rider/src/Box2D/Common/b2IntrusiveList.h
new file mode 100755
index 00000000..542154c7
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2IntrusiveList.h
@@ -0,0 +1,369 @@
+/*
+* Copyright (c) 2014 Google, Inc.
+*
+* 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 B2_INTRUSIVE_LIST
+#define B2_INTRUSIVE_LIST
+
+#include <Box2D/Common/b2Settings.h>
+
+// Whether to enable b2IntrusiveList::ValidateList().
+// Be careful when enabling this since this changes the size of
+// b2IntrusiveListNode so make sure *all* projects that include Box2D.h
+// also define this value in the same way to avoid data corruption.
+#ifndef B2_INTRUSIVE_LIST_VALIDATE
+#define B2_INTRUSIVE_LIST_VALIDATE 0
+#endif // B2_INTRUSIVE_LIST_VALIDATE
+
+/// b2IntrusiveListNode is used to implement an intrusive doubly-linked
+/// list.
+///
+/// For example:
+///
+/// class MyClass {
+/// public:
+/// MyClass(const char *msg) : m_msg(msg) {}
+/// const char* GetMessage() const { return m_msg; }
+/// B2_INTRUSIVE_LIST_GET_NODE(m_node);
+/// B2_INTRUSIVE_LIST_NODE_GET_CLASS(MyClass, m_node);
+/// private:
+/// b2IntrusiveListNode m_node;
+/// const char *m_msg;
+/// };
+///
+/// int main(int argc, char *argv[]) {
+/// b2IntrusiveListNode list; // NOTE: type is NOT MyClass
+/// MyClass a("this");
+/// MyClass b("is");
+/// MyClass c("a");
+/// MyClass d("test");
+/// list.InsertBefore(a.GetListNode());
+/// list.InsertBefore(b.GetListNode());
+/// list.InsertBefore(c.GetListNode());
+/// list.InsertBefore(d.GetListNode());
+/// for (b2IntrusiveListNode* node = list.GetNext();
+/// node != list.GetTerminator(); node = node->GetNext()) {
+/// MyClass *cls = MyClass::GetInstanceFromListNode(node);
+/// printf("%s\n", cls->GetMessage());
+/// }
+/// return 0;
+/// }
+class b2IntrusiveListNode
+{
+public:
+ /// Initialize the node.
+ b2IntrusiveListNode()
+ {
+ Initialize();
+#if B2_INTRUSIVE_LIST_VALIDATE
+ m_magic = k_magic;
+#endif // B2_INTRUSIVE_LIST_VALIDATE
+ }
+
+ /// If the node is in a list, remove it from the list.
+ ~b2IntrusiveListNode()
+ {
+ Remove();
+#if B2_INTRUSIVE_LIST_VALIDATE
+ m_magic = 0;
+#endif // B2_INTRUSIVE_LIST_VALIDATE
+ }
+
+ /// Insert this node after the specified node.
+ void InsertAfter(b2IntrusiveListNode* const node)
+ {
+ b2Assert(!node->InList());
+ node->m_next = m_next;
+ node->m_prev = this;
+ m_next->m_prev = node;
+ m_next = node;
+ }
+
+ /// Insert this node before the specified node.
+ void InsertBefore(b2IntrusiveListNode* const node)
+ {
+ b2Assert(!node->InList());
+ node->m_next = this;
+ node->m_prev = m_prev;
+ m_prev->m_next = node;
+ m_prev = node;
+ }
+
+ /// Get the terminator of the list.
+ const b2IntrusiveListNode* GetTerminator() const
+ {
+ return this;
+ }
+
+ /// Remove this node from the list it's currently in.
+ b2IntrusiveListNode* Remove()
+ {
+ m_prev->m_next = m_next;
+ m_next->m_prev = m_prev;
+ Initialize();
+ return this;
+ }
+
+ /// Determine whether this list is empty or the node isn't in a list.
+ bool IsEmpty() const
+ {
+ return GetNext() == this;
+ }
+
+ /// Determine whether this node is in a list or the list contains nodes.
+ bool InList() const
+ {
+ return !IsEmpty();
+ }
+
+ /// Calculate the length of the list.
+ uint32 GetLength() const
+ {
+ uint32 length = 0;
+ const b2IntrusiveListNode * const terminator = GetTerminator();
+ for (const b2IntrusiveListNode* node = GetNext();
+ node != terminator; node = node->GetNext())
+ {
+ length++;
+ }
+ return length;
+ }
+
+ /// Get the next node in the list.
+ b2IntrusiveListNode* GetNext() const
+ {
+ return m_next;
+ }
+
+ /// Get the previous node in the list.
+ b2IntrusiveListNode* GetPrevious() const
+ {
+ return m_prev;
+ }
+
+ /// If B2_INTRUSIVE_LIST_VALIDATE is 1 perform a very rough validation
+ /// of all nodes in the list.
+ bool ValidateList() const
+ {
+#if B2_INTRUSIVE_LIST_VALIDATE
+ if (m_magic != k_magic) return false;
+ const b2IntrusiveListNode * const terminator = GetTerminator();
+ for (b2IntrusiveListNode *node = GetNext(); node != terminator;
+ node = node->GetNext()) {
+ if (node->m_magic != k_magic) return false;
+ }
+#endif // B2_INTRUSIVE_LIST_VALIDATE
+ return true;
+ }
+
+ /// Determine whether the specified node is present in this list.
+ bool FindNodeInList(b2IntrusiveListNode* const nodeToFind) const
+ {
+ const b2IntrusiveListNode * const terminator = GetTerminator();
+ for (b2IntrusiveListNode *node = GetNext(); node != terminator;
+ node = node->GetNext())
+ {
+ if (nodeToFind == node) return true;
+ }
+ return false;
+ }
+
+private:
+ /// Initialize the list node.
+ void Initialize()
+ {
+ m_next = this;
+ m_prev = this;
+ }
+
+private:
+#if B2_INTRUSIVE_LIST_VALIDATE
+ uint32 m_magic;
+#endif // B2_INTRUSIVE_LIST_VALIDATE
+ /// The next node in the list.
+ b2IntrusiveListNode *m_prev;
+ /// The previous node in the list.
+ b2IntrusiveListNode *m_next;
+
+private:
+#if B2_INTRUSIVE_LIST_VALIDATE
+ static const uint32 k_magic = 0x7157ac01;
+#endif // B2_INTRUSIVE_LIST_VALIDATE
+};
+
+/// Declares the member function GetListNode() of Class to retrieve a pointer
+/// to NodeMemberName.
+/// See #B2_INTRUSIVE_LIST_NODE_GET_CLASS_ACCESSOR()
+#define B2_INTRUSIVE_LIST_GET_NODE(NodeMemberName) \
+ b2IntrusiveListNode* GetListNode() { return &NodeMemberName; } \
+ const b2IntrusiveListNode* GetListNode() const { return &NodeMemberName; }
+
+/// Declares the member function FunctionName of Class to retrieve a pointer
+/// to a Class instance from a list node pointer. NodeMemberName references
+/// the name of the b2IntrusiveListNode member of Class.
+#define B2_INTRUSIVE_LIST_NODE_GET_CLASS_ACCESSOR( \
+ Class, NodeMemberName, FunctionName) \
+ static Class* FunctionName(b2IntrusiveListNode *node) \
+ { \
+ Class *cls = NULL; \
+ /* This effectively performs offsetof(Class, NodeMemberName) */ \
+ /* which ends up in the undefined behavior realm of C++ but in */ \
+ /* practice this works with most compilers. */ \
+ return reinterpret_cast<Class*>((uint8*)(node) - \
+ (uint8*)(&cls->NodeMemberName)); \
+ } \
+ \
+ static const Class* FunctionName(const b2IntrusiveListNode *node) \
+ { \
+ return FunctionName(const_cast<b2IntrusiveListNode*>(node)); \
+ }
+
+/// Declares the member function GetInstanceFromListNode() of Class to retrieve
+/// a pointer to a Class instance from a list node pointer. NodeMemberName
+/// reference the name of the b2IntrusiveListNode member of Class.
+#define B2_INTRUSIVE_LIST_NODE_GET_CLASS(Class, NodeMemberName) \
+ B2_INTRUSIVE_LIST_NODE_GET_CLASS_ACCESSOR(Class, NodeMemberName, \
+ GetInstanceFromListNode)
+
+/// b2TypedIntrusiveListNode which supports inserting an object into a single
+/// doubly linked list. For objects that need to be inserted in multiple
+/// doubly linked lists, use b2IntrusiveListNode.
+///
+/// For example:
+///
+/// class IntegerItem : public b2TypedIntrusiveListNode<IntegerItem>
+/// {
+/// public:
+/// IntegerItem(int32 value) : m_value(value) { }
+/// ~IntegerItem() { }
+/// int32 GetValue() const { return m_value; }
+/// private:
+/// int32 m_value;
+/// };
+///
+/// int main(int argc, const char *arvg[]) {
+/// b2TypedIntrusiveListNode<IntegerItem> list;
+/// IntegerItem a(1);
+/// IntegerItem b(2);
+/// IntegerItem c(3);
+/// list.InsertBefore(&a);
+/// list.InsertBefore(&b);
+/// list.InsertBefore(&c);
+/// for (IntegerItem* item = list.GetNext();
+/// item != list.GetTerminator(); item = item->GetNext())
+/// {
+/// printf("%d\n", item->GetValue());
+/// }
+/// }
+template<typename T>
+class b2TypedIntrusiveListNode
+{
+public:
+ b2TypedIntrusiveListNode() { }
+ ~b2TypedIntrusiveListNode() { }
+
+ /// Insert this object after the specified object.
+ void InsertAfter(T* const obj)
+ {
+ b2Assert(obj);
+ GetListNode()->InsertAfter(obj->GetListNode());
+ }
+
+ /// Insert this object before the specified object.
+ void InsertBefore(T* const obj)
+ {
+ b2Assert(obj);
+ GetListNode()->InsertBefore(obj->GetListNode());
+ }
+
+ /// Get the next object in the list.
+ /// Check against GetTerminator() before deferencing the object.
+ T* GetNext() const
+ {
+ return GetInstanceFromListNode(GetListNode()->GetNext());
+ }
+
+ /// Get the previous object in the list.
+ /// Check against GetTerminator() before deferencing the object.
+ T* GetPrevious() const
+ {
+ return GetInstanceFromListNode(GetListNode()->GetPrevious());
+ }
+
+ /// Get the terminator of the list.
+ /// This should not be dereferenced as it is a pointer to
+ /// b2TypedIntrusiveListNode<T> *not* T.
+ T* GetTerminator() const
+ {
+ return (T*)GetListNode();
+ }
+
+ /// Remove this object from the list it's currently in.
+ T* Remove()
+ {
+ GetListNode()->Remove();
+ return GetInstanceFromListNode(GetListNode());
+ }
+
+ /// Determine whether this object is in a list.
+ bool InList() const
+ {
+ return GetListNode()->InList();
+ }
+
+ // Determine whether this list is empty.
+ bool IsEmpty() const
+ {
+ return GetListNode()->IsEmpty();
+ }
+
+ /// Calculate the length of the list.
+ uint32 GetLength() const
+ {
+ return GetListNode()->GetLength();
+ }
+
+ B2_INTRUSIVE_LIST_GET_NODE(m_node);
+
+private:
+ // Node within an intrusive list.
+ b2IntrusiveListNode m_node;
+
+public:
+ /// Get a pointer to the instance of T that contains "node".
+ static T* GetInstanceFromListNode(b2IntrusiveListNode* const node)
+ {
+ b2Assert(node);
+ // Calculate the pointer to T from the offset.
+ return (T*)((uint8*)node - GetNodeOffset(node));
+ }
+
+private:
+ // Get the offset of m_node within this class.
+ static int32 GetNodeOffset(b2IntrusiveListNode* const node)
+ {
+ b2Assert(node);
+ // Perform some type punning to calculate the offset of m_node in T.
+ // WARNING: This could result in undefined behavior with some C++
+ // compilers.
+ T* obj = (T*)node;
+ int32 nodeOffset = (int32)((uint8*)&obj->m_node - (uint8*)obj);
+ return nodeOffset;
+ }
+};
+
+#endif // B2_INTRUSIVE_LIST
+
diff --git a/games/rider/src/Box2D/Common/b2Math.cpp b/games/rider/src/Box2D/Common/b2Math.cpp
new file mode 100755
index 00000000..d6027be9
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2Math.cpp
@@ -0,0 +1,94 @@
+/*
+* Copyright (c) 2007-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Common/b2Math.h>
+
+const b2Vec2 b2Vec2_zero(0.0f, 0.0f);
+
+/// Solve A * x = b, where b is a column vector. This is more efficient
+/// than computing the inverse in one-shot cases.
+b2Vec3 b2Mat33::Solve33(const b2Vec3& b) const
+{
+ float32 det = b2Dot(ex, b2Cross(ey, ez));
+ if (det != 0.0f)
+ {
+ det = 1.0f / det;
+ }
+ b2Vec3 x;
+ x.x = det * b2Dot(b, b2Cross(ey, ez));
+ x.y = det * b2Dot(ex, b2Cross(b, ez));
+ x.z = det * b2Dot(ex, b2Cross(ey, b));
+ return x;
+}
+
+/// Solve A * x = b, where b is a column vector. This is more efficient
+/// than computing the inverse in one-shot cases.
+b2Vec2 b2Mat33::Solve22(const b2Vec2& b) const
+{
+ float32 a11 = ex.x, a12 = ey.x, a21 = ex.y, a22 = ey.y;
+ float32 det = a11 * a22 - a12 * a21;
+ if (det != 0.0f)
+ {
+ det = 1.0f / det;
+ }
+ b2Vec2 x;
+ x.x = det * (a22 * b.x - a12 * b.y);
+ x.y = det * (a11 * b.y - a21 * b.x);
+ return x;
+}
+
+///
+void b2Mat33::GetInverse22(b2Mat33* M) const
+{
+ float32 a = ex.x, b = ey.x, c = ex.y, d = ey.y;
+ float32 det = a * d - b * c;
+ if (det != 0.0f)
+ {
+ det = 1.0f / det;
+ }
+
+ M->ex.x = det * d; M->ey.x = -det * b; M->ex.z = 0.0f;
+ M->ex.y = -det * c; M->ey.y = det * a; M->ey.z = 0.0f;
+ M->ez.x = 0.0f; M->ez.y = 0.0f; M->ez.z = 0.0f;
+}
+
+/// Returns the zero matrix if singular.
+void b2Mat33::GetSymInverse33(b2Mat33* M) const
+{
+ float32 det = b2Dot(ex, b2Cross(ey, ez));
+ if (det != 0.0f)
+ {
+ det = 1.0f / det;
+ }
+
+ float32 a11 = ex.x, a12 = ey.x, a13 = ez.x;
+ float32 a22 = ey.y, a23 = ez.y;
+ float32 a33 = ez.z;
+
+ M->ex.x = det * (a22 * a33 - a23 * a23);
+ M->ex.y = det * (a13 * a23 - a12 * a33);
+ M->ex.z = det * (a12 * a23 - a13 * a22);
+
+ M->ey.x = M->ex.y;
+ M->ey.y = det * (a11 * a33 - a13 * a13);
+ M->ey.z = det * (a13 * a12 - a11 * a23);
+
+ M->ez.x = M->ex.z;
+ M->ez.y = M->ey.z;
+ M->ez.z = det * (a11 * a22 - a12 * a12);
+}
diff --git a/games/rider/src/Box2D/Common/b2Math.h b/games/rider/src/Box2D/Common/b2Math.h
new file mode 100755
index 00000000..34679d2d
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2Math.h
@@ -0,0 +1,800 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_MATH_H
+#define B2_MATH_H
+
+#include <Box2D/Common/b2Settings.h>
+#include <math.h>
+
+/// This function is used to ensure that a floating point number is not a NaN or infinity.
+inline bool b2IsValid(float32 x)
+{
+ union {
+ float32 f;
+ int32 i;
+ } v = { x };
+ return (v.i & 0x7f800000) != 0x7f800000;
+}
+
+/// This is a approximate yet fast inverse square-root.
+inline float32 b2InvSqrt(float32 x)
+{
+ union
+ {
+ float32 x;
+ int32 i;
+ } convert;
+
+ convert.x = x;
+ float32 xhalf = 0.5f * x;
+ convert.i = 0x5f3759df - (convert.i >> 1);
+ x = convert.x;
+ x = x * (1.5f - xhalf * x * x);
+ return x;
+}
+
+#define b2Sqrt(x) sqrtf(x)
+#define b2Atan2(y, x) atan2f(y, x)
+
+/// A 2D column vector.
+struct b2Vec2
+{
+ /// Default constructor does nothing (for performance).
+ b2Vec2() {}
+
+ /// Construct using coordinates.
+ b2Vec2(float32 x, float32 y) : x(x), y(y) {}
+
+ /// Set this vector to all zeros.
+ void SetZero() { x = 0.0f; y = 0.0f; }
+
+ /// Set this vector to some specified coordinates.
+ void Set(float32 x_, float32 y_) { x = x_; y = y_; }
+
+ /// Negate this vector.
+ b2Vec2 operator -() const { b2Vec2 v; v.Set(-x, -y); return v; }
+
+ /// Read from and indexed element.
+ float32 operator () (int32 i) const
+ {
+ return (&x)[i];
+ }
+
+ /// Write to an indexed element.
+ float32& operator () (int32 i)
+ {
+ return (&x)[i];
+ }
+
+ /// Add a vector to this vector.
+ void operator += (const b2Vec2& v)
+ {
+ x += v.x; y += v.y;
+ }
+
+ /// Subtract a vector from this vector.
+ void operator -= (const b2Vec2& v)
+ {
+ x -= v.x; y -= v.y;
+ }
+
+ /// Multiply this vector by a scalar.
+ void operator *= (float32 a)
+ {
+ x *= a; y *= a;
+ }
+
+ /// Get the length of this vector (the norm).
+ float32 Length() const
+ {
+ return b2Sqrt(x * x + y * y);
+ }
+
+ /// Get the length squared. For performance, use this instead of
+ /// b2Vec2::Length (if possible).
+ float32 LengthSquared() const
+ {
+ return x * x + y * y;
+ }
+
+ /// Convert this vector into a unit vector. Returns the length.
+ float32 Normalize()
+ {
+ float32 length = Length();
+ if (length < b2_epsilon)
+ {
+ return 0.0f;
+ }
+ float32 invLength = 1.0f / length;
+ x *= invLength;
+ y *= invLength;
+
+ return length;
+ }
+
+ /// Does this vector contain finite coordinates?
+ bool IsValid() const
+ {
+ return b2IsValid(x) && b2IsValid(y);
+ }
+
+ /// Get the skew vector such that dot(skew_vec, other) == cross(vec, other)
+ b2Vec2 Skew() const
+ {
+ return b2Vec2(-y, x);
+ }
+
+ float32 x, y;
+};
+
+/// Add a float to a vector.
+inline b2Vec2 operator + (const b2Vec2& v, float f)
+{
+ return b2Vec2(v.x + f, v.y + f);
+}
+
+/// Substract a float from a vector.
+inline b2Vec2 operator - (const b2Vec2& v, float f)
+{
+ return b2Vec2(v.x - f, v.y - f);
+}
+
+/// Multiply a float with a vector.
+inline b2Vec2 operator * (const b2Vec2& v, float f)
+{
+ return b2Vec2(v.x * f, v.y * f);
+}
+
+/// Divide a vector by a float.
+inline b2Vec2 operator / (const b2Vec2& v, float f)
+{
+ return b2Vec2(v.x / f, v.y / f);
+}
+
+/// A 3D column vector with 3 elements.
+struct b2Vec3
+{
+ /// Default constructor does nothing (for performance).
+ b2Vec3() {}
+
+ /// Construct using coordinates.
+ b2Vec3(float32 x, float32 y, float32 z) : x(x), y(y), z(z) {}
+
+ /// Set this vector to all zeros.
+ void SetZero() { x = 0.0f; y = 0.0f; z = 0.0f; }
+
+ /// Set this vector to some specified coordinates.
+ void Set(float32 x_, float32 y_, float32 z_) { x = x_; y = y_; z = z_; }
+
+ /// Negate this vector.
+ b2Vec3 operator -() const { b2Vec3 v; v.Set(-x, -y, -z); return v; }
+
+ /// Add a vector to this vector.
+ void operator += (const b2Vec3& v)
+ {
+ x += v.x; y += v.y; z += v.z;
+ }
+
+ /// Subtract a vector from this vector.
+ void operator -= (const b2Vec3& v)
+ {
+ x -= v.x; y -= v.y; z -= v.z;
+ }
+
+ /// Multiply this vector by a scalar.
+ void operator *= (float32 s)
+ {
+ x *= s; y *= s; z *= s;
+ }
+
+ /// Get the length of this vector (the norm).
+ float32 Length() const
+ {
+ return b2Sqrt(x * x + y * y + z * z);
+ }
+
+ /// Convert this vector into a unit vector. Returns the length.
+ float32 Normalize()
+ {
+ float32 length = Length();
+ if (length < b2_epsilon)
+ {
+ return 0.0f;
+ }
+ float32 invLength = 1.0f / length;
+ x *= invLength;
+ y *= invLength;
+ z *= invLength;
+
+ return length;
+ }
+
+ float32 x, y, z;
+};
+
+/// A 4D column vector with 4 elements.
+struct b2Vec4
+{
+ /// Default constructor does nothing (for performance).
+ b2Vec4() {}
+
+ /// Construct using coordinates.
+ b2Vec4(float32 x, float32 y, float32 z, float32 w) : x(x), y(y), z(z), w(w) {}
+
+ float32 x, y, z, w;
+};
+
+/// A 2-by-2 matrix. Stored in column-major order.
+struct b2Mat22
+{
+ /// The default constructor does nothing (for performance).
+ b2Mat22() {}
+
+ /// Construct this matrix using columns.
+ b2Mat22(const b2Vec2& c1, const b2Vec2& c2)
+ {
+ ex = c1;
+ ey = c2;
+ }
+
+ /// Construct this matrix using scalars.
+ b2Mat22(float32 a11, float32 a12, float32 a21, float32 a22)
+ {
+ ex.x = a11; ex.y = a21;
+ ey.x = a12; ey.y = a22;
+ }
+
+ /// Initialize this matrix using columns.
+ void Set(const b2Vec2& c1, const b2Vec2& c2)
+ {
+ ex = c1;
+ ey = c2;
+ }
+
+ /// Set this to the identity matrix.
+ void SetIdentity()
+ {
+ ex.x = 1.0f; ey.x = 0.0f;
+ ex.y = 0.0f; ey.y = 1.0f;
+ }
+
+ /// Set this matrix to all zeros.
+ void SetZero()
+ {
+ ex.x = 0.0f; ey.x = 0.0f;
+ ex.y = 0.0f; ey.y = 0.0f;
+ }
+
+ b2Mat22 GetInverse() const
+ {
+ float32 a = ex.x, b = ey.x, c = ex.y, d = ey.y;
+ b2Mat22 B;
+ float32 det = a * d - b * c;
+ if (det != 0.0f)
+ {
+ det = 1.0f / det;
+ }
+ B.ex.x = det * d; B.ey.x = -det * b;
+ B.ex.y = -det * c; B.ey.y = det * a;
+ return B;
+ }
+
+ /// Solve A * x = b, where b is a column vector. This is more efficient
+ /// than computing the inverse in one-shot cases.
+ b2Vec2 Solve(const b2Vec2& b) const
+ {
+ float32 a11 = ex.x, a12 = ey.x, a21 = ex.y, a22 = ey.y;
+ float32 det = a11 * a22 - a12 * a21;
+ if (det != 0.0f)
+ {
+ det = 1.0f / det;
+ }
+ b2Vec2 x;
+ x.x = det * (a22 * b.x - a12 * b.y);
+ x.y = det * (a11 * b.y - a21 * b.x);
+ return x;
+ }
+
+ b2Vec2 ex, ey;
+};
+
+/// A 3-by-3 matrix. Stored in column-major order.
+struct b2Mat33
+{
+ /// The default constructor does nothing (for performance).
+ b2Mat33() {}
+
+ /// Construct this matrix using columns.
+ b2Mat33(const b2Vec3& c1, const b2Vec3& c2, const b2Vec3& c3)
+ {
+ ex = c1;
+ ey = c2;
+ ez = c3;
+ }
+
+ /// Set this matrix to all zeros.
+ void SetZero()
+ {
+ ex.SetZero();
+ ey.SetZero();
+ ez.SetZero();
+ }
+
+ /// Solve A * x = b, where b is a column vector. This is more efficient
+ /// than computing the inverse in one-shot cases.
+ b2Vec3 Solve33(const b2Vec3& b) const;
+
+ /// Solve A * x = b, where b is a column vector. This is more efficient
+ /// than computing the inverse in one-shot cases. Solve only the upper
+ /// 2-by-2 matrix equation.
+ b2Vec2 Solve22(const b2Vec2& b) const;
+
+ /// Get the inverse of this matrix as a 2-by-2.
+ /// Returns the zero matrix if singular.
+ void GetInverse22(b2Mat33* M) const;
+
+ /// Get the symmetric inverse of this matrix as a 3-by-3.
+ /// Returns the zero matrix if singular.
+ void GetSymInverse33(b2Mat33* M) const;
+
+ b2Vec3 ex, ey, ez;
+};
+
+/// Rotation
+struct b2Rot
+{
+ b2Rot() {}
+
+ /// Initialize from an angle in radians
+ explicit b2Rot(float32 angle)
+ {
+ /// TODO_ERIN optimize
+ s = sinf(angle);
+ c = cosf(angle);
+ }
+
+ /// Set using an angle in radians.
+ void Set(float32 angle)
+ {
+ /// TODO_ERIN optimize
+ s = sinf(angle);
+ c = cosf(angle);
+ }
+
+ /// Set to the identity rotation
+ void SetIdentity()
+ {
+ s = 0.0f;
+ c = 1.0f;
+ }
+
+ /// Get the angle in radians
+ float32 GetAngle() const
+ {
+ return b2Atan2(s, c);
+ }
+
+ /// Get the x-axis
+ b2Vec2 GetXAxis() const
+ {
+ return b2Vec2(c, s);
+ }
+
+ /// Get the u-axis
+ b2Vec2 GetYAxis() const
+ {
+ return b2Vec2(-s, c);
+ }
+
+ /// Sine and cosine
+ float32 s, c;
+};
+
+/// A transform contains translation and rotation. It is used to represent
+/// the position and orientation of rigid frames.
+struct b2Transform
+{
+ /// The default constructor does nothing.
+ b2Transform() {}
+
+ /// Initialize using a position vector and a rotation.
+ b2Transform(const b2Vec2& position, const b2Rot& rotation) : p(position), q(rotation) {}
+
+ /// Set this to the identity transform.
+ void SetIdentity()
+ {
+ p.SetZero();
+ q.SetIdentity();
+ }
+
+ /// Set this based on the position and angle.
+ void Set(const b2Vec2& position, float32 angle)
+ {
+ p = position;
+ q.Set(angle);
+ }
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+ /// Get x-coordinate of p.
+ float32 GetPositionX() const { return p.x; }
+
+ /// Get y-coordinate of p.
+ float32 GetPositionY() const { return p.y; }
+
+ /// Get sine-component of q.
+ float32 GetRotationSin() const { return q.s; }
+
+ /// Get cosine-component of q.
+ float32 GetRotationCos() const { return q.c; }
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+ b2Vec2 p;
+ b2Rot q;
+};
+
+/// This describes the motion of a body/shape for TOI computation.
+/// Shapes are defined with respect to the body origin, which may
+/// no coincide with the center of mass. However, to support dynamics
+/// we must interpolate the center of mass position.
+struct b2Sweep
+{
+ /// Get the interpolated transform at a specific time.
+ /// @param beta is a factor in [0,1], where 0 indicates alpha0.
+ void GetTransform(b2Transform* xfb, float32 beta) const;
+
+ /// Advance the sweep forward, yielding a new initial state.
+ /// @param alpha the new initial time.
+ void Advance(float32 alpha);
+
+ /// Normalize the angles.
+ void Normalize();
+
+ b2Vec2 localCenter; ///< local center of mass position
+ b2Vec2 c0, c; ///< center world positions
+ float32 a0, a; ///< world angles
+
+ /// Fraction of the current time step in the range [0,1]
+ /// c0 and a0 are the positions at alpha0.
+ float32 alpha0;
+};
+
+/// Useful constant
+extern const b2Vec2 b2Vec2_zero;
+
+/// Perform the dot product on two vectors.
+inline float32 b2Dot(const b2Vec2& a, const b2Vec2& b)
+{
+ return a.x * b.x + a.y * b.y;
+}
+
+/// Perform the cross product on two vectors. In 2D this produces a scalar.
+inline float32 b2Cross(const b2Vec2& a, const b2Vec2& b)
+{
+ return a.x * b.y - a.y * b.x;
+}
+
+/// Perform the cross product on a vector and a scalar. In 2D this produces
+/// a vector.
+inline b2Vec2 b2Cross(const b2Vec2& a, float32 s)
+{
+ return b2Vec2(s * a.y, -s * a.x);
+}
+
+/// Perform the cross product on a scalar and a vector. In 2D this produces
+/// a vector.
+inline b2Vec2 b2Cross(float32 s, const b2Vec2& a)
+{
+ return b2Vec2(-s * a.y, s * a.x);
+}
+
+/// Multiply a matrix times a vector. If a rotation matrix is provided,
+/// then this transforms the vector from one frame to another.
+inline b2Vec2 b2Mul(const b2Mat22& A, const b2Vec2& v)
+{
+ return b2Vec2(A.ex.x * v.x + A.ey.x * v.y, A.ex.y * v.x + A.ey.y * v.y);
+}
+
+/// Multiply a matrix transpose times a vector. If a rotation matrix is provided,
+/// then this transforms the vector from one frame to another (inverse transform).
+inline b2Vec2 b2MulT(const b2Mat22& A, const b2Vec2& v)
+{
+ return b2Vec2(b2Dot(v, A.ex), b2Dot(v, A.ey));
+}
+
+/// Add two vectors component-wise.
+inline b2Vec2 operator + (const b2Vec2& a, const b2Vec2& b)
+{
+ return b2Vec2(a.x + b.x, a.y + b.y);
+}
+
+/// Subtract two vectors component-wise.
+inline b2Vec2 operator - (const b2Vec2& a, const b2Vec2& b)
+{
+ return b2Vec2(a.x - b.x, a.y - b.y);
+}
+
+inline b2Vec2 operator * (float32 s, const b2Vec2& a)
+{
+ return b2Vec2(s * a.x, s * a.y);
+}
+
+inline bool operator == (const b2Vec2& a, const b2Vec2& b)
+{
+ return a.x == b.x && a.y == b.y;
+}
+
+inline bool operator != (const b2Vec2& a, const b2Vec2& b)
+{
+ return !operator==(a, b);
+}
+
+inline float32 b2Distance(const b2Vec2& a, const b2Vec2& b)
+{
+ b2Vec2 c = a - b;
+ return c.Length();
+}
+
+inline float32 b2DistanceSquared(const b2Vec2& a, const b2Vec2& b)
+{
+ b2Vec2 c = a - b;
+ return b2Dot(c, c);
+}
+
+inline b2Vec3 operator * (float32 s, const b2Vec3& a)
+{
+ return b2Vec3(s * a.x, s * a.y, s * a.z);
+}
+
+/// Add two vectors component-wise.
+inline b2Vec3 operator + (const b2Vec3& a, const b2Vec3& b)
+{
+ return b2Vec3(a.x + b.x, a.y + b.y, a.z + b.z);
+}
+
+/// Subtract two vectors component-wise.
+inline b2Vec3 operator - (const b2Vec3& a, const b2Vec3& b)
+{
+ return b2Vec3(a.x - b.x, a.y - b.y, a.z - b.z);
+}
+
+/// Perform the dot product on two vectors.
+inline float32 b2Dot(const b2Vec3& a, const b2Vec3& b)
+{
+ return a.x * b.x + a.y * b.y + a.z * b.z;
+}
+
+/// Perform the cross product on two vectors.
+inline b2Vec3 b2Cross(const b2Vec3& a, const b2Vec3& b)
+{
+ return b2Vec3(a.y * b.z - a.z * b.y, a.z * b.x - a.x * b.z, a.x * b.y - a.y * b.x);
+}
+
+inline b2Mat22 operator + (const b2Mat22& A, const b2Mat22& B)
+{
+ return b2Mat22(A.ex + B.ex, A.ey + B.ey);
+}
+
+// A * B
+inline b2Mat22 b2Mul(const b2Mat22& A, const b2Mat22& B)
+{
+ return b2Mat22(b2Mul(A, B.ex), b2Mul(A, B.ey));
+}
+
+// A^T * B
+inline b2Mat22 b2MulT(const b2Mat22& A, const b2Mat22& B)
+{
+ b2Vec2 c1(b2Dot(A.ex, B.ex), b2Dot(A.ey, B.ex));
+ b2Vec2 c2(b2Dot(A.ex, B.ey), b2Dot(A.ey, B.ey));
+ return b2Mat22(c1, c2);
+}
+
+/// Multiply a matrix times a vector.
+inline b2Vec3 b2Mul(const b2Mat33& A, const b2Vec3& v)
+{
+ return v.x * A.ex + v.y * A.ey + v.z * A.ez;
+}
+
+/// Multiply a matrix times a vector.
+inline b2Vec2 b2Mul22(const b2Mat33& A, const b2Vec2& v)
+{
+ return b2Vec2(A.ex.x * v.x + A.ey.x * v.y, A.ex.y * v.x + A.ey.y * v.y);
+}
+
+/// Multiply two rotations: q * r
+inline b2Rot b2Mul(const b2Rot& q, const b2Rot& r)
+{
+ // [qc -qs] * [rc -rs] = [qc*rc-qs*rs -qc*rs-qs*rc]
+ // [qs qc] [rs rc] [qs*rc+qc*rs -qs*rs+qc*rc]
+ // s = qs * rc + qc * rs
+ // c = qc * rc - qs * rs
+ b2Rot qr;
+ qr.s = q.s * r.c + q.c * r.s;
+ qr.c = q.c * r.c - q.s * r.s;
+ return qr;
+}
+
+/// Transpose multiply two rotations: qT * r
+inline b2Rot b2MulT(const b2Rot& q, const b2Rot& r)
+{
+ // [ qc qs] * [rc -rs] = [qc*rc+qs*rs -qc*rs+qs*rc]
+ // [-qs qc] [rs rc] [-qs*rc+qc*rs qs*rs+qc*rc]
+ // s = qc * rs - qs * rc
+ // c = qc * rc + qs * rs
+ b2Rot qr;
+ qr.s = q.c * r.s - q.s * r.c;
+ qr.c = q.c * r.c + q.s * r.s;
+ return qr;
+}
+
+/// Rotate a vector
+inline b2Vec2 b2Mul(const b2Rot& q, const b2Vec2& v)
+{
+ return b2Vec2(q.c * v.x - q.s * v.y, q.s * v.x + q.c * v.y);
+}
+
+/// Inverse rotate a vector
+inline b2Vec2 b2MulT(const b2Rot& q, const b2Vec2& v)
+{
+ return b2Vec2(q.c * v.x + q.s * v.y, -q.s * v.x + q.c * v.y);
+}
+
+inline b2Vec2 b2Mul(const b2Transform& T, const b2Vec2& v)
+{
+ float32 x = (T.q.c * v.x - T.q.s * v.y) + T.p.x;
+ float32 y = (T.q.s * v.x + T.q.c * v.y) + T.p.y;
+
+ return b2Vec2(x, y);
+}
+
+inline b2Vec2 b2MulT(const b2Transform& T, const b2Vec2& v)
+{
+ float32 px = v.x - T.p.x;
+ float32 py = v.y - T.p.y;
+ float32 x = (T.q.c * px + T.q.s * py);
+ float32 y = (-T.q.s * px + T.q.c * py);
+
+ return b2Vec2(x, y);
+}
+
+// v2 = A.q.Rot(B.q.Rot(v1) + B.p) + A.p
+// = (A.q * B.q).Rot(v1) + A.q.Rot(B.p) + A.p
+inline b2Transform b2Mul(const b2Transform& A, const b2Transform& B)
+{
+ b2Transform C;
+ C.q = b2Mul(A.q, B.q);
+ C.p = b2Mul(A.q, B.p) + A.p;
+ return C;
+}
+
+// v2 = A.q' * (B.q * v1 + B.p - A.p)
+// = A.q' * B.q * v1 + A.q' * (B.p - A.p)
+inline b2Transform b2MulT(const b2Transform& A, const b2Transform& B)
+{
+ b2Transform C;
+ C.q = b2MulT(A.q, B.q);
+ C.p = b2MulT(A.q, B.p - A.p);
+ return C;
+}
+
+template <typename T>
+inline T b2Abs(T a)
+{
+ return a > T(0) ? a : -a;
+}
+
+inline b2Vec2 b2Abs(const b2Vec2& a)
+{
+ return b2Vec2(b2Abs(a.x), b2Abs(a.y));
+}
+
+inline b2Mat22 b2Abs(const b2Mat22& A)
+{
+ return b2Mat22(b2Abs(A.ex), b2Abs(A.ey));
+}
+
+template <typename T>
+inline T b2Min(T a, T b)
+{
+ return a < b ? a : b;
+}
+
+inline b2Vec2 b2Min(const b2Vec2& a, const b2Vec2& b)
+{
+ return b2Vec2(b2Min(a.x, b.x), b2Min(a.y, b.y));
+}
+
+template <typename T>
+inline T b2Max(T a, T b)
+{
+ return a > b ? a : b;
+}
+
+inline b2Vec2 b2Max(const b2Vec2& a, const b2Vec2& b)
+{
+ return b2Vec2(b2Max(a.x, b.x), b2Max(a.y, b.y));
+}
+
+template <typename T>
+inline T b2Clamp(T a, T low, T high)
+{
+ return b2Max(low, b2Min(a, high));
+}
+
+inline b2Vec2 b2Clamp(const b2Vec2& a, const b2Vec2& low, const b2Vec2& high)
+{
+ return b2Max(low, b2Min(a, high));
+}
+
+template<typename T> inline void b2Swap(T& a, T& b)
+{
+ T tmp = a;
+ a = b;
+ b = tmp;
+}
+
+/// "Next Largest Power of 2
+/// Given a binary integer value x, the next largest power of 2 can be computed by a SWAR algorithm
+/// that recursively "folds" the upper bits into the lower bits. This process yields a bit vector with
+/// the same most significant 1 as x, but all 1's below it. Adding 1 to that value yields the next
+/// largest power of 2. For a 32-bit value:"
+inline uint32 b2NextPowerOfTwo(uint32 x)
+{
+ x |= (x >> 1);
+ x |= (x >> 2);
+ x |= (x >> 4);
+ x |= (x >> 8);
+ x |= (x >> 16);
+ return x + 1;
+}
+
+inline bool b2IsPowerOfTwo(uint32 x)
+{
+ bool result = x > 0 && (x & (x - 1)) == 0;
+ return result;
+}
+
+inline void b2Sweep::GetTransform(b2Transform* xf, float32 beta) const
+{
+ xf->p = (1.0f - beta) * c0 + beta * c;
+ float32 angle = (1.0f - beta) * a0 + beta * a;
+ xf->q.Set(angle);
+
+ // Shift to origin
+ xf->p -= b2Mul(xf->q, localCenter);
+}
+
+inline void b2Sweep::Advance(float32 alpha)
+{
+ b2Assert(alpha0 < 1.0f);
+ float32 beta = (alpha - alpha0) / (1.0f - alpha0);
+ c0 += beta * (c - c0);
+ a0 += beta * (a - a0);
+ alpha0 = alpha;
+}
+
+/// Normalize an angle in radians to be between -pi and pi
+inline void b2Sweep::Normalize()
+{
+ float32 twoPi = 2.0f * b2_pi;
+ float32 d = twoPi * floorf(a0 / twoPi);
+ a0 -= d;
+ a -= d;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Common/b2Settings.cpp b/games/rider/src/Box2D/Common/b2Settings.cpp
new file mode 100755
index 00000000..7b5e59fa
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2Settings.cpp
@@ -0,0 +1,142 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Common/b2Settings.h>
+#include <stdio.h>
+#include <stdarg.h>
+#include <stdlib.h>
+
+b2Version b2_version = {2, 3, 0};
+
+#define LIQUIDFUN_VERSION_MAJOR 1
+#define LIQUIDFUN_VERSION_MINOR 1
+#define LIQUIDFUN_VERSION_REVISION 0
+#define LIQUIDFUN_STRING_EXPAND(X) #X
+#define LIQUIDFUN_STRING(X) LIQUIDFUN_STRING_EXPAND(X)
+
+static void* b2AllocDefault(int32 size, void* callbackData);
+static void b2FreeDefault(void* mem, void* callbackData);
+
+const b2Version b2_liquidFunVersion = {
+ LIQUIDFUN_VERSION_MAJOR, LIQUIDFUN_VERSION_MINOR,
+ LIQUIDFUN_VERSION_REVISION,
+};
+
+const char *b2_liquidFunVersionString =
+ "LiquidFun "
+ LIQUIDFUN_STRING(LIQUIDFUN_VERSION_MAJOR) "."
+ LIQUIDFUN_STRING(LIQUIDFUN_VERSION_MINOR) "."
+ LIQUIDFUN_STRING(LIQUIDFUN_VERSION_REVISION);
+
+static int32 b2_numAllocs = 0;
+
+// Initialize default allocator.
+static b2AllocFunction b2_allocCallback = b2AllocDefault;
+static b2FreeFunction b2_freeCallback = b2FreeDefault;
+static void *b2_callbackData = NULL;
+
+// Default implementation of b2AllocFunction.
+static void* b2AllocDefault(int32 size, void* callbackData)
+{
+ B2_NOT_USED(callbackData);
+ return malloc(size);
+}
+
+// Default implementation of b2FreeFunction.
+static void b2FreeDefault(void* mem, void* callbackData)
+{
+ B2_NOT_USED(callbackData);
+ free(mem);
+}
+
+/// Set alloc and free callbacks to override the default behavior of using
+/// malloc() and free() for dynamic memory allocation.
+/// Set allocCallback and freeCallback to NULL to restore the default
+/// allocator (malloc / free).
+void b2SetAllocFreeCallbacks(b2AllocFunction allocCallback,
+ b2FreeFunction freeCallback, void* callbackData)
+{
+ b2Assert((allocCallback && freeCallback) ||
+ (!allocCallback && !freeCallback));
+ b2Assert(0 == b2GetNumAllocs());
+ if (allocCallback && freeCallback)
+ {
+ b2_allocCallback = allocCallback;
+ b2_freeCallback = freeCallback;
+ b2_callbackData = callbackData;
+ }
+ else
+ {
+ b2_allocCallback = b2AllocDefault;
+ b2_freeCallback = b2FreeDefault;
+ b2_callbackData = NULL;
+ }
+}
+
+// Memory allocators. Modify these to use your own allocator.
+void* b2Alloc(int32 size)
+{
+ b2_numAllocs++;
+ return b2_allocCallback(size, b2_callbackData);
+}
+
+void b2Free(void* mem)
+{
+ b2_numAllocs--;
+ b2_freeCallback(mem, b2_callbackData);
+}
+
+void b2SetNumAllocs(const int32 numAllocs)
+{
+ b2_numAllocs = numAllocs;
+}
+
+int32 b2GetNumAllocs()
+{
+ return b2_numAllocs;
+}
+
+// You can modify this to use your logging facility.
+void b2Log(const char* string, ...)
+{
+#if DEBUG
+ va_list args;
+ va_start(args, string);
+ vprintf(string, args);
+ va_end(args);
+#else
+ B2_NOT_USED(string);
+#endif
+}
+
+//CORONASDK/CORONALABS NOTE:
+//THIS CLASS ("Validator") CAN CAUSE LINK ERRORS IF EXPOSED (For example,
+//with Apple's OpenEars framework). IT'S ALSO NOT BEING USED ANYWHERE,
+//SO WE'RE WRAPPING IT IN AN ANONYMOUS NAMESPACE TO KEEP IT PRIVATE TO
+//THIS FILE!!!
+// NumPlay: the Validator (a global with a constructor, checks only) taken out: the calculator's apps run no
+// constructors.
+
+float b2Settings::velocityThreshold = b2_velocityThreshold;
+float b2Settings::timeToSleep = b2_timeToSleep;
+int32 b2Settings::maxSubSteps = b2_maxSubSteps;
+float b2Settings::linearSleepTolerance = b2_linearSleepTolerance;
+float b2Settings::angularSleepTolerance = b2_angularSleepTolerance;
+float b2Settings::linearSleepToleranceSq = b2_linearSleepTolerance * b2_linearSleepTolerance;
+float b2Settings::angularSleepToleranceSq = b2_angularSleepTolerance * b2_angularSleepTolerance;
diff --git a/games/rider/src/Box2D/Common/b2Settings.h b/games/rider/src/Box2D/Common/b2Settings.h
new file mode 100755
index 00000000..ee78292d
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2Settings.h
@@ -0,0 +1,285 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_SETTINGS_H
+#define B2_SETTINGS_H
+
+// NumPlay: Corona's renames of b2Alloc, b2Free, b2Log and b2_version (for CoronaKit) taken out.
+
+#include <stddef.h>
+#include <assert.h>
+#include <float.h>
+
+#define B2_NOT_USED(x) ((void)(x))
+#if DEBUG && !defined(NDEBUG)
+#define b2Assert(A) assert(A)
+#define B2_ASSERT_ENABLED 1
+#else
+#define b2Assert(A)
+#define B2_ASSERT_ENABLED 0
+#endif
+
+// Statement which is compiled out when DEBUG isn't defined.
+#if DEBUG
+#define B2_DEBUG_STATEMENT(A) A
+#else
+#define B2_DEBUG_STATEMENT(A)
+#endif // DEBUG
+
+// Calculate the size of a static array.
+#define B2_ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
+
+typedef signed char int8;
+typedef signed short int16;
+typedef signed int int32;
+typedef unsigned char uint8;
+typedef unsigned short uint16;
+typedef unsigned int uint32;
+typedef float float32;
+typedef double float64;
+
+#ifdef WIN32
+typedef __int64 int64;
+typedef unsigned __int64 uint64;
+#else // !WIN32
+typedef long long int64;
+typedef unsigned long long uint64;
+#endif
+
+#define b2_maxFloat FLT_MAX
+#define b2_epsilon FLT_EPSILON
+#define b2_pi 3.14159265359f
+
+#if !defined(b2Inline)
+#if defined(__GNUC__)
+#define b2Inline __attribute__((always_inline))
+#else
+#define b2Inline inline
+#endif // defined(__GNUC__)
+#endif // !defined(b2Inline)
+
+// We expand the API so that other languages (e.g. Java) can call into
+// our C++ more easily. Only set if when the flag is not externally defined.
+#if !defined(LIQUIDFUN_EXTERNAL_LANGUAGE_API)
+#if SWIG || LIQUIDFUN_UNIT_TESTS
+#define LIQUIDFUN_EXTERNAL_LANGUAGE_API 1
+#else
+#define LIQUIDFUN_EXTERNAL_LANGUAGE_API 0
+#endif
+#endif
+
+/// @file
+/// Global tuning constants based on meters-kilograms-seconds (MKS) units.
+///
+
+// Collision
+
+/// The maximum number of contact points between two convex shapes. Do
+/// not change this value.
+#define b2_maxManifoldPoints 2
+
+/// The maximum number of vertices on a convex polygon. You cannot increase
+/// this too much because b2BlockAllocator has a maximum object size.
+#define b2_maxPolygonVertices 8
+
+/// This is used to fatten AABBs in the dynamic tree. This allows proxies
+/// to move by a small amount without triggering a tree adjustment.
+/// This is in meters.
+#define b2_aabbExtension 0.1f
+
+/// This is used to fatten AABBs in the dynamic tree. This is used to predict
+/// the future position based on the current displacement.
+/// This is a dimensionless multiplier.
+#define b2_aabbMultiplier 2.0f
+
+/// A small length used as a collision and constraint tolerance. Usually it is
+/// chosen to be numerically significant, but visually insignificant.
+#define b2_linearSlop 0.005f
+
+/// A small angle used as a collision and constraint tolerance. Usually it is
+/// chosen to be numerically significant, but visually insignificant.
+#define b2_angularSlop (2.0f / 180.0f * b2_pi)
+
+/// The radius of the polygon/edge shape skin. This should not be modified. Making
+/// this smaller means polygons will have an insufficient buffer for continuous collision.
+/// Making it larger may create artifacts for vertex collision.
+#define b2_polygonRadius (2.0f * b2_linearSlop)
+
+/// Maximum number of sub-steps per contact in continuous physics simulation.
+#define b2_maxSubSteps 8
+
+
+// Dynamics
+
+/// Maximum number of contacts to be handled to solve a TOI impact.
+#define b2_maxTOIContacts 32
+
+/// A velocity threshold for elastic collisions. Any collision with a relative linear
+/// velocity below this threshold will be treated as inelastic.
+#define b2_velocityThreshold 1.0f
+
+/// The maximum linear position correction used when solving constraints. This helps to
+/// prevent overshoot.
+#define b2_maxLinearCorrection 0.2f
+
+/// The maximum angular position correction used when solving constraints. This helps to
+/// prevent overshoot.
+#define b2_maxAngularCorrection (8.0f / 180.0f * b2_pi)
+
+/// The maximum linear velocity of a body. This limit is very large and is used
+/// to prevent numerical problems. You shouldn't need to adjust this.
+#define b2_maxTranslation 2.0f
+#define b2_maxTranslationSquared (b2_maxTranslation * b2_maxTranslation)
+
+/// The maximum angular velocity of a body. This limit is very large and is used
+/// to prevent numerical problems. You shouldn't need to adjust this.
+#define b2_maxRotation (0.5f * b2_pi)
+#define b2_maxRotationSquared (b2_maxRotation * b2_maxRotation)
+
+/// This scale factor controls how fast overlap is resolved. Ideally this would be 1 so
+/// that overlap is removed in one time step. However using values close to 1 often lead
+/// to overshoot.
+#define b2_baumgarte 0.2f
+#define b2_toiBaugarte 0.75f
+
+
+// Particle
+
+/// NEON SIMD requires 16-bit particle indices
+#if !defined(B2_USE_16_BIT_PARTICLE_INDICES) && defined(LIQUIDFUN_SIMD_NEON)
+#define B2_USE_16_BIT_PARTICLE_INDICES
+#endif
+
+/// A symbolic constant that stands for particle allocation error.
+#define b2_invalidParticleIndex (-1)
+
+#ifdef B2_USE_16_BIT_PARTICLE_INDICES
+#define b2_maxParticleIndex 0x7FFF
+#else
+#define b2_maxParticleIndex 0x7FFFFFFF
+#endif
+
+/// The default distance between particles, multiplied by the particle diameter.
+#define b2_particleStride 0.75f
+
+/// The minimum particle weight that produces pressure.
+#define b2_minParticleWeight 1.0f
+
+/// The upper limit for particle pressure.
+#define b2_maxParticlePressure 0.25f
+
+/// The upper limit for force between particles.
+#define b2_maxParticleForce 0.5f
+
+/// The maximum distance between particles in a triad, multiplied by the
+/// particle diameter.
+#define b2_maxTriadDistance 2
+#define b2_maxTriadDistanceSquared (b2_maxTriadDistance * b2_maxTriadDistance)
+
+/// The initial size of particle data buffers.
+#define b2_minParticleSystemBufferCapacity 256
+
+/// The time into the future that collisions against barrier particles will be detected.
+#define b2_barrierCollisionTime 2.5f
+
+// Sleep
+
+/// The time that a body must be still before it will go to sleep.
+#define b2_timeToSleep 0.5f
+
+/// A body cannot sleep if its linear velocity is above this tolerance.
+#define b2_linearSleepTolerance 0.01f
+
+/// A body cannot sleep if its angular velocity is above this tolerance.
+#define b2_angularSleepTolerance (2.0f / 180.0f * b2_pi)
+
+// Memory Allocation
+
+/// Implement this function to use your own memory allocator.
+void* b2Alloc(int32 size);
+
+/// If you implement b2Alloc, you should also implement this function.
+void b2Free(void* mem);
+
+/// Use this function to override b2Alloc() without recompiling this library.
+typedef void* (*b2AllocFunction)(int32 size, void* callbackData);
+/// Use this function to override b2Free() without recompiling this library.
+typedef void (*b2FreeFunction)(void* mem, void* callbackData);
+
+/// Set alloc and free callbacks to override the default behavior of using
+/// malloc() and free() for dynamic memory allocation.
+/// Set allocCallback and freeCallback to NULL to restore the default
+/// allocator (malloc / free).
+void b2SetAllocFreeCallbacks(b2AllocFunction allocCallback,
+ b2FreeFunction freeCallback,
+ void* callbackData);
+
+/// Set the number of calls to b2Alloc minus the number of calls to b2Free.
+/// This can be used to disable the empty heap check in
+/// b2SetAllocFreeCallbacks() which can be useful for testing.
+void b2SetNumAllocs(const int32 numAllocs);
+
+/// Get number of calls to b2Alloc minus number of calls to b2Free.
+int32 b2GetNumAllocs();
+
+/// Logging function.
+void b2Log(const char* string, ...);
+
+/// Version numbering scheme.
+/// See http://en.wikipedia.org/wiki/Software_versioning
+struct b2Version
+{
+ int32 major; ///< significant changes
+ int32 minor; ///< incremental changes
+ int32 revision; ///< bug fixes
+};
+
+/// Current version.
+/// Version of Box2D, LiquidFun is based upon.
+extern b2Version b2_version;
+
+/// Global variable is used to identify the version of LiquidFun.
+extern const b2Version b2_liquidFunVersion;
+/// String which identifies the current version of LiquidFun.
+/// b2_liquidFunVersionString is used by Google developers to identify which
+/// applications uploaded to Google Play are using this library. This allows
+/// the development team at Google to determine the popularity of the library.
+/// How it works: Applications that are uploaded to the Google Play Store are
+/// scanned for this version string. We track which applications are using it
+/// to measure popularity. You are free to remove it (of course) but we would
+/// appreciate if you left it in.
+extern const char *b2_liquidFunVersionString;
+
+class b2Settings
+{
+ public:
+ static float velocityThreshold;
+ static float timeToSleep;
+ static int32 maxSubSteps;
+
+ static float linearSleepTolerance;
+ static float angularSleepTolerance;
+
+ // Precalculated square values.
+ // WARNING: Must update these if you update corresponding values above
+ static float linearSleepToleranceSq;
+ static float angularSleepToleranceSq;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Common/b2StackAllocator.cpp b/games/rider/src/Box2D/Common/b2StackAllocator.cpp
new file mode 100755
index 00000000..f9d295b4
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2StackAllocator.cpp
@@ -0,0 +1,120 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Common/b2StackAllocator.h>
+#include <Box2D/Common/b2Math.h>
+#include <string.h>
+
+b2StackAllocator::b2StackAllocator()
+{
+ m_index = 0;
+ m_allocation = 0;
+ m_maxAllocation = 0;
+ m_entryCount = 0;
+}
+
+b2StackAllocator::~b2StackAllocator()
+{
+ b2Assert(m_index == 0);
+ b2Assert(m_entryCount == 0);
+}
+
+void* b2StackAllocator::Allocate(int32 size)
+{
+ b2Assert(m_entryCount < b2_maxStackEntries);
+ const int32 roundedSize = (size + ALIGN_MASK) & ~ALIGN_MASK;
+ b2StackEntry* entry = m_entries + m_entryCount;
+ entry->size = roundedSize;
+ if (m_index + roundedSize > b2_stackSize)
+ {
+ entry->data = (char*)b2Alloc(roundedSize);
+ entry->usedMalloc = true;
+ }
+ else
+ {
+ entry->data = m_data + m_index;
+ entry->usedMalloc = false;
+ m_index += roundedSize;
+ }
+
+ m_allocation += roundedSize;
+ m_maxAllocation = b2Max(m_maxAllocation, m_allocation);
+ ++m_entryCount;
+
+ return entry->data;
+}
+
+void* b2StackAllocator::Reallocate(void* p, int32 size)
+{
+ b2Assert(m_entryCount > 0);
+ b2StackEntry* entry = m_entries + m_entryCount - 1;
+ b2Assert(p == entry->data);
+ B2_NOT_USED(p);
+ int32 incrementSize = size - entry->size;
+ if (incrementSize > 0)
+ {
+ if (entry->usedMalloc)
+ {
+ void* data = b2Alloc(size);
+ memcpy(data, entry->data, entry->size);
+ b2Free(entry->data);
+ entry->data = (char*)data;
+ }
+ else if (m_index + incrementSize > b2_stackSize)
+ {
+ void* data = b2Alloc(size);
+ memcpy(data, entry->data, entry->size);
+ m_index -= entry->size;
+ entry->data = (char*)data;
+ entry->usedMalloc = true;
+ }
+ else
+ {
+ m_index += incrementSize;
+ m_allocation += incrementSize;
+ m_maxAllocation = b2Max(m_maxAllocation, m_allocation);
+ }
+ entry->size = size;
+ }
+
+ return entry->data;
+}
+
+void b2StackAllocator::Free(void* p)
+{
+ b2Assert(m_entryCount > 0);
+ b2StackEntry* entry = m_entries + m_entryCount - 1;
+ b2Assert(p == entry->data);
+ if (entry->usedMalloc)
+ {
+ b2Free(p);
+ }
+ else
+ {
+ m_index -= entry->size;
+ }
+ m_allocation -= entry->size;
+ --m_entryCount;
+
+ p = NULL;
+}
+
+int32 b2StackAllocator::GetMaxAllocation() const
+{
+ return m_maxAllocation;
+}
diff --git a/games/rider/src/Box2D/Common/b2StackAllocator.h b/games/rider/src/Box2D/Common/b2StackAllocator.h
new file mode 100755
index 00000000..d6fe85f2
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2StackAllocator.h
@@ -0,0 +1,68 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_STACK_ALLOCATOR_H
+#define B2_STACK_ALLOCATOR_H
+
+#include <Box2D/Common/b2Settings.h>
+
+// NumPlay: 100k does not fit the calculator; past this, allocations go to b2Alloc as before.
+#ifndef B2_STACK_SIZE
+#define B2_STACK_SIZE (100 * 1024)
+#endif
+const int32 b2_stackSize = B2_STACK_SIZE;
+const int32 b2_maxStackEntries = 32;
+
+struct b2StackEntry
+{
+ char* data;
+ int32 size;
+ bool usedMalloc;
+};
+
+// This is a stack allocator used for fast per step allocations.
+// You must nest allocate/free pairs. The code will assert
+// if you try to interleave multiple allocate/free pairs.
+class b2StackAllocator
+{
+public:
+ enum { MIN_ALIGNMENT = sizeof(void*) }; // Must be a power of 2
+ enum { ALIGN_MASK = MIN_ALIGNMENT - 1 };
+
+ b2StackAllocator();
+ ~b2StackAllocator();
+
+ void* Allocate(int32 size);
+ void* Reallocate(void* p, int32 size);
+ void Free(void* p);
+
+ int32 GetMaxAllocation() const;
+
+private:
+
+ char m_data[b2_stackSize];
+ int32 m_index;
+
+ int32 m_allocation;
+ int32 m_maxAllocation;
+
+ b2StackEntry m_entries[b2_maxStackEntries];
+ int32 m_entryCount;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Common/b2Timer.cpp b/games/rider/src/Box2D/Common/b2Timer.cpp
new file mode 100755
index 00000000..383ed3dc
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2Timer.cpp
@@ -0,0 +1,134 @@
+/*
+* Copyright (c) 2011 Erin Catto http://box2d.org
+* Copyright (c) 2014 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Common/b2Timer.h>
+
+#if defined(_WIN32)
+
+float64 b2Timer::s_invFrequency = 0.0f;
+
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
+typedef BOOL (WINAPI *SystemGetTimeFunc)(_Out_ LARGE_INTEGER *lpFrequency);
+SystemGetTimeFunc systemGetTimeFunc = ::QueryPerformanceCounter;
+SystemGetTimeFunc systemGetFreqFunc = ::QueryPerformanceFrequency;
+
+int64 b2Timer::GetTicks()
+{
+ LARGE_INTEGER largeInteger;
+ systemGetTimeFunc(&largeInteger);
+ return largeInteger.QuadPart;
+}
+
+b2Timer::b2Timer()
+{
+ LARGE_INTEGER largeInteger;
+
+ if (s_invFrequency == 0.0f)
+ {
+ systemGetFreqFunc(&largeInteger);
+ s_invFrequency = float64(largeInteger.QuadPart);
+ if (s_invFrequency > 0.0f)
+ {
+ s_invFrequency = 1000.0f / s_invFrequency;
+ }
+ }
+
+ m_start = GetTicks();
+}
+
+void b2Timer::Reset()
+{
+ m_start = GetTicks();
+}
+
+float32 b2Timer::GetMilliseconds() const
+{
+ int64 elapsed = GetTicks() - m_start;
+ return (float32)(s_invFrequency * elapsed);
+}
+
+#elif defined(__linux__) || defined (__APPLE__)
+
+#include <sys/time.h>
+#include <time.h>
+
+// systemGetTimeFunc is defined with external linkage to allow unit
+// test to mock out the system time function
+
+#if defined(__linux__)
+
+typedef int (*SystemGetTimeFunc)(clockid_t clk_id, struct timespec *tp);
+SystemGetTimeFunc systemGetTimeFunc = ::clock_gettime;
+
+#elif defined(__APPLE__)
+
+typedef int (*SystemGetTimeFunc)(struct timeval * tp, void * tzp);
+SystemGetTimeFunc systemGetTimeFunc = ::gettimeofday;
+
+#endif
+
+int64 b2Timer::GetTicks()
+{
+ static const int NSEC_PER_SEC = 1000000000;
+
+#ifdef __linux__
+ timespec ts;
+ systemGetTimeFunc(CLOCK_MONOTONIC,&ts);
+ return ((int64)ts.tv_sec) * NSEC_PER_SEC + ts.tv_nsec;
+#else
+ timeval t;
+ systemGetTimeFunc(&t, 0);
+ return ((int64)t.tv_sec) * NSEC_PER_SEC + t.tv_usec * 1000;
+#endif
+}
+
+b2Timer::b2Timer()
+{
+ Reset();
+}
+
+void b2Timer::Reset()
+{
+ m_start = GetTicks();
+}
+
+float32 b2Timer::GetMilliseconds() const
+{
+ static const float32 kTicksToMs = 0.000001f;
+ return kTicksToMs * (float32)(GetTicks() - m_start);
+}
+
+#else
+
+b2Timer::b2Timer()
+{
+}
+
+void b2Timer::Reset()
+{
+}
+
+float32 b2Timer::GetMilliseconds() const
+{
+ return 0.0f;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Common/b2Timer.h b/games/rider/src/Box2D/Common/b2Timer.h
new file mode 100755
index 00000000..eb983cd3
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2Timer.h
@@ -0,0 +1,50 @@
+/*
+* Copyright (c) 2011 Erin Catto http://box2d.org
+* Copyright (c) 2014 Google, Inc.
+*
+* 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 B2_TIMER_H
+#define B2_TIMER_H
+
+#include <Box2D/Common/b2Settings.h>
+
+/// Timer for profiling. This has platform specific code and may
+/// not work on every platform.
+class b2Timer
+{
+public:
+
+ /// Constructor
+ b2Timer();
+
+ /// Reset the timer.
+ void Reset();
+
+ /// Get the time since construction or the last reset.
+ float32 GetMilliseconds() const;
+
+private:
+ /// Get platform specific tick count
+ static int64 GetTicks();
+
+#if defined(_WIN32)
+ static float64 s_invFrequency;
+#endif
+ int64 m_start;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Common/b2TrackedBlock.cpp b/games/rider/src/Box2D/Common/b2TrackedBlock.cpp
new file mode 100755
index 00000000..2e0d04ed
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2TrackedBlock.cpp
@@ -0,0 +1,125 @@
+/*
+* Copyright (c) 2014 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Common/b2TrackedBlock.h>
+#include <stddef.h>
+
+//CORONASDK/CORONALABS NOTE:
+//THIS IS UNNECESSARY WITH VISUAL STUDIO 2010 OR HIGHER!!!
+#ifndef CORONA_STDINT_
+#define CORONA_STDINT_
+ #ifdef _MSC_VER
+ typedef __int32 int32;
+ typedef unsigned __int32 uint32;
+ typedef __int64 int64;
+ typedef unsigned __int64 uint64;
+ #else
+ #include <stdint.h>
+ #endif
+#endif // CORONA_STDINT_
+
+#include <new>
+
+// Initialize this block with a reference to "this".
+b2TrackedBlock::b2TrackedBlock()
+{
+ b2TrackedBlock** pointerToThis =
+ (b2TrackedBlock**)((uint8*)GetMemory() - sizeof(b2TrackedBlock**));
+ *pointerToThis = this;
+}
+
+/// Get the allocated memory associated with this block.
+void* b2TrackedBlock::GetMemory() const
+{
+ // The size of data in this without padding.
+ static const uint32 kSizeOfThisWithNoPadding =
+ sizeof(*this) - sizeof(m_padding) + sizeof(b2TrackedBlock**);
+
+ // Make sure b2_mallocAlignment is base2.
+ b2Assert(((b2_mallocAlignment - 1) & b2_mallocAlignment) == 0);
+
+ // Round the pointer following data in this to b2_mallocAlignment.
+ uint8* const aligned = (uint8*)(
+ ((uintptr_t)this + kSizeOfThisWithNoPadding + b2_mallocAlignment - 1) &
+ ~((uintptr_t)b2_mallocAlignment - 1));
+ // Verify offset doesn't overlap data in this.
+ b2Assert((uintptr_t)aligned - (uintptr_t)this >= kSizeOfThisWithNoPadding);
+ return aligned;
+}
+
+/// Allocate a b2TrackedBlock returning a pointer to memory of size
+/// bytes that can be used by the caller.
+void* b2TrackedBlock::Allocate(uint32 size)
+{
+ void* memory = (b2TrackedBlock*)b2Alloc(sizeof(b2TrackedBlock) +
+ size);
+ if (!memory)
+ {
+ return NULL;
+ }
+ return (new(memory) b2TrackedBlock)->GetMemory();
+}
+
+/// Get a b2TrackedBlock from a pointer to memory returned by
+/// b2TrackedBlock::Allocate().
+b2TrackedBlock* b2TrackedBlock::GetFromMemory(void *memory)
+{
+ uint8* const aligned = (uint8*)memory;
+ b2Assert(memory);
+ b2TrackedBlock **blockPtr = (b2TrackedBlock**)(aligned -
+ sizeof(b2TrackedBlock**));
+ b2Assert(*blockPtr);
+ return *blockPtr;
+}
+
+/// Free a block of memory returned by b2TrackedBlock::Allocate()
+void b2TrackedBlock::Free(void *memory)
+{
+ Free(GetFromMemory(memory));
+}
+
+/// Free a b2TrackedBlock.
+void b2TrackedBlock::Free(b2TrackedBlock *block)
+{
+ b2Assert(block);
+ block->~b2TrackedBlock();
+ b2Free(block);
+}
+
+/// Allocate a block of size bytes using b2TrackedBlock::Allocate().
+void* b2TrackedBlockAllocator::Allocate(uint32 size)
+{
+ void *memory = b2TrackedBlock::Allocate(size);
+ m_blocks.InsertBefore(b2TrackedBlock::GetFromMemory(memory));
+ return memory;
+}
+
+/// Free a block returned by Allocate().
+void b2TrackedBlockAllocator::Free(void *memory)
+{
+ b2TrackedBlock::Free(memory);
+}
+
+/// Free all allocated blocks.
+void b2TrackedBlockAllocator::FreeAll()
+{
+ while (!m_blocks.IsEmpty())
+ {
+ b2TrackedBlock::Free(m_blocks.GetNext());
+ }
+}
diff --git a/games/rider/src/Box2D/Common/b2TrackedBlock.h b/games/rider/src/Box2D/Common/b2TrackedBlock.h
new file mode 100755
index 00000000..b9acb3c3
--- /dev/null
+++ b/games/rider/src/Box2D/Common/b2TrackedBlock.h
@@ -0,0 +1,92 @@
+/*
+* Copyright (c) 2014 Google, Inc.
+*
+* 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 B2_TRACKED_BLOCK_H
+#define B2_TRACKED_BLOCK_H
+
+#include <Box2D/Common/b2IntrusiveList.h>
+#include <Box2D/Common/b2Settings.h>
+
+/// Alignment (in bytes) of user memory associated with b2TrackedBlock.
+const int32 b2_mallocAlignment = 32;
+
+/// Allocated block of memory that can be tracked in a b2IntrusiveList.
+class b2TrackedBlock : public b2TypedIntrusiveListNode<b2TrackedBlock>
+{
+private:
+ // Initialize this block with a reference to "this".
+ b2TrackedBlock();
+ // Remove the block from the list.
+ ~b2TrackedBlock() { }
+
+public:
+ /// Get the allocated memory associated with this block.
+ void* GetMemory() const;
+
+private:
+ // Padding required to align the pointer to user memory in the block
+ // to b2_mallocAlignment.
+ uint8 m_padding[b2_mallocAlignment + sizeof(b2TrackedBlock**)];
+
+public:
+ /// Allocate a b2TrackedBlock returning a pointer to memory of size
+ /// bytes that can be used by the caller.
+ static void* Allocate(uint32 size);
+
+ /// Get a b2TrackedBlock from a pointer to memory returned by
+ /// b2TrackedBlock::Allocate().
+ static b2TrackedBlock* GetFromMemory(void *memory);
+
+ /// Free a block of memory returned by b2TrackedBlock::Allocate()
+ static void Free(void *memory);
+
+ /// Free a b2TrackedBlock.
+ static void Free(b2TrackedBlock *block);
+};
+
+/// Allocator of blocks which are tracked in a list.
+class b2TrackedBlockAllocator
+{
+public:
+ /// Initialize.
+ b2TrackedBlockAllocator() {}
+ /// Free all allocated blocks.
+ ~b2TrackedBlockAllocator()
+ {
+ FreeAll();
+ }
+
+ /// Allocate a block of size bytes using b2TrackedBlock::Allocate().
+ void* Allocate(uint32 size);
+
+ /// Free a block returned by Allocate().
+ void Free(void *memory);
+
+ /// Free all allocated blocks.
+ void FreeAll();
+
+ // Get the list of allocated blocks.
+ const b2TypedIntrusiveListNode<b2TrackedBlock>& GetList() const
+ {
+ return m_blocks;
+ }
+
+private:
+ b2TypedIntrusiveListNode<b2TrackedBlock> m_blocks;
+};
+
+#endif // B2_TRACKED_BLOCK_H
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndCircleContact.cpp b/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndCircleContact.cpp
new file mode 100755
index 00000000..01c921f3
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndCircleContact.cpp
@@ -0,0 +1,53 @@
+/*
+* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Contacts/b2ChainAndCircleContact.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Collision/Shapes/b2ChainShape.h>
+#include <Box2D/Collision/Shapes/b2EdgeShape.h>
+
+#include <new>
+
+b2Contact* b2ChainAndCircleContact::Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator)
+{
+ void* mem = allocator->Allocate(sizeof(b2ChainAndCircleContact));
+ return new (mem) b2ChainAndCircleContact(fixtureA, indexA, fixtureB, indexB);
+}
+
+void b2ChainAndCircleContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator)
+{
+ ((b2ChainAndCircleContact*)contact)->~b2ChainAndCircleContact();
+ allocator->Free(contact, sizeof(b2ChainAndCircleContact));
+}
+
+b2ChainAndCircleContact::b2ChainAndCircleContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB)
+: b2Contact(fixtureA, indexA, fixtureB, indexB)
+{
+ b2Assert(m_fixtureA->GetType() == b2Shape::e_chain);
+ b2Assert(m_fixtureB->GetType() == b2Shape::e_circle);
+}
+
+void b2ChainAndCircleContact::Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB)
+{
+ b2ChainShape* chain = (b2ChainShape*)m_fixtureA->GetShape();
+ b2EdgeShape edge;
+ chain->GetChildEdge(&edge, m_indexA);
+ b2CollideEdgeAndCircle( manifold, &edge, xfA,
+ (b2CircleShape*)m_fixtureB->GetShape(), xfB);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndCircleContact.h b/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndCircleContact.h
new file mode 100755
index 00000000..b93c30ed
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndCircleContact.h
@@ -0,0 +1,39 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_CHAIN_AND_CIRCLE_CONTACT_H
+#define B2_CHAIN_AND_CIRCLE_CONTACT_H
+
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+
+class b2BlockAllocator;
+
+class b2ChainAndCircleContact : public b2Contact
+{
+public:
+ static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
+ b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
+ static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
+
+ b2ChainAndCircleContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB);
+ ~b2ChainAndCircleContact() {}
+
+ void Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB);
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.cpp b/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.cpp
new file mode 100755
index 00000000..4642fa46
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.cpp
@@ -0,0 +1,53 @@
+/*
+* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Collision/Shapes/b2ChainShape.h>
+#include <Box2D/Collision/Shapes/b2EdgeShape.h>
+
+#include <new>
+
+b2Contact* b2ChainAndPolygonContact::Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator)
+{
+ void* mem = allocator->Allocate(sizeof(b2ChainAndPolygonContact));
+ return new (mem) b2ChainAndPolygonContact(fixtureA, indexA, fixtureB, indexB);
+}
+
+void b2ChainAndPolygonContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator)
+{
+ ((b2ChainAndPolygonContact*)contact)->~b2ChainAndPolygonContact();
+ allocator->Free(contact, sizeof(b2ChainAndPolygonContact));
+}
+
+b2ChainAndPolygonContact::b2ChainAndPolygonContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB)
+: b2Contact(fixtureA, indexA, fixtureB, indexB)
+{
+ b2Assert(m_fixtureA->GetType() == b2Shape::e_chain);
+ b2Assert(m_fixtureB->GetType() == b2Shape::e_polygon);
+}
+
+void b2ChainAndPolygonContact::Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB)
+{
+ b2ChainShape* chain = (b2ChainShape*)m_fixtureA->GetShape();
+ b2EdgeShape edge;
+ chain->GetChildEdge(&edge, m_indexA);
+ b2CollideEdgeAndPolygon( manifold, &edge, xfA,
+ (b2PolygonShape*)m_fixtureB->GetShape(), xfB);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.h b/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.h
new file mode 100755
index 00000000..0c09af68
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.h
@@ -0,0 +1,39 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_CHAIN_AND_POLYGON_CONTACT_H
+#define B2_CHAIN_AND_POLYGON_CONTACT_H
+
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+
+class b2BlockAllocator;
+
+class b2ChainAndPolygonContact : public b2Contact
+{
+public:
+ static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
+ b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
+ static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
+
+ b2ChainAndPolygonContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB);
+ ~b2ChainAndPolygonContact() {}
+
+ void Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB);
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2CircleContact.cpp b/games/rider/src/Box2D/Dynamics/Contacts/b2CircleContact.cpp
new file mode 100755
index 00000000..b47f35ae
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2CircleContact.cpp
@@ -0,0 +1,52 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Contacts/b2CircleContact.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/b2WorldCallbacks.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Collision/b2TimeOfImpact.h>
+
+#include <new>
+
+b2Contact* b2CircleContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32, b2BlockAllocator* allocator)
+{
+ void* mem = allocator->Allocate(sizeof(b2CircleContact));
+ return new (mem) b2CircleContact(fixtureA, fixtureB);
+}
+
+void b2CircleContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator)
+{
+ ((b2CircleContact*)contact)->~b2CircleContact();
+ allocator->Free(contact, sizeof(b2CircleContact));
+}
+
+b2CircleContact::b2CircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB)
+ : b2Contact(fixtureA, 0, fixtureB, 0)
+{
+ b2Assert(m_fixtureA->GetType() == b2Shape::e_circle);
+ b2Assert(m_fixtureB->GetType() == b2Shape::e_circle);
+}
+
+void b2CircleContact::Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB)
+{
+ b2CollideCircles(manifold,
+ (b2CircleShape*)m_fixtureA->GetShape(), xfA,
+ (b2CircleShape*)m_fixtureB->GetShape(), xfB);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2CircleContact.h b/games/rider/src/Box2D/Dynamics/Contacts/b2CircleContact.h
new file mode 100755
index 00000000..079d3abc
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2CircleContact.h
@@ -0,0 +1,39 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_CIRCLE_CONTACT_H
+#define B2_CIRCLE_CONTACT_H
+
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+
+class b2BlockAllocator;
+
+class b2CircleContact : public b2Contact
+{
+public:
+ static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
+ b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
+ static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
+
+ b2CircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
+ ~b2CircleContact() {}
+
+ void Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB);
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2Contact.cpp b/games/rider/src/Box2D/Dynamics/Contacts/b2Contact.cpp
new file mode 100755
index 00000000..d9f1021e
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2Contact.cpp
@@ -0,0 +1,247 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+#include <Box2D/Dynamics/Contacts/b2CircleContact.h>
+#include <Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.h>
+#include <Box2D/Dynamics/Contacts/b2PolygonContact.h>
+#include <Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.h>
+#include <Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.h>
+#include <Box2D/Dynamics/Contacts/b2ChainAndCircleContact.h>
+#include <Box2D/Dynamics/Contacts/b2ChainAndPolygonContact.h>
+#include <Box2D/Dynamics/Contacts/b2ContactSolver.h>
+
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/b2TimeOfImpact.h>
+#include <Box2D/Collision/Shapes/b2Shape.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/b2World.h>
+
+b2ContactRegister b2Contact::s_registers[b2Shape::e_typeCount][b2Shape::e_typeCount];
+bool b2Contact::s_initialized = false;
+
+void b2Contact::InitializeRegisters()
+{
+ AddType(b2CircleContact::Create, b2CircleContact::Destroy, b2Shape::e_circle, b2Shape::e_circle);
+ AddType(b2PolygonAndCircleContact::Create, b2PolygonAndCircleContact::Destroy, b2Shape::e_polygon, b2Shape::e_circle);
+ AddType(b2PolygonContact::Create, b2PolygonContact::Destroy, b2Shape::e_polygon, b2Shape::e_polygon);
+ AddType(b2EdgeAndCircleContact::Create, b2EdgeAndCircleContact::Destroy, b2Shape::e_edge, b2Shape::e_circle);
+ AddType(b2EdgeAndPolygonContact::Create, b2EdgeAndPolygonContact::Destroy, b2Shape::e_edge, b2Shape::e_polygon);
+ AddType(b2ChainAndCircleContact::Create, b2ChainAndCircleContact::Destroy, b2Shape::e_chain, b2Shape::e_circle);
+ AddType(b2ChainAndPolygonContact::Create, b2ChainAndPolygonContact::Destroy, b2Shape::e_chain, b2Shape::e_polygon);
+}
+
+void b2Contact::AddType(b2ContactCreateFcn* createFcn, b2ContactDestroyFcn* destoryFcn,
+ b2Shape::Type type1, b2Shape::Type type2)
+{
+ b2Assert(0 <= type1 && type1 < b2Shape::e_typeCount);
+ b2Assert(0 <= type2 && type2 < b2Shape::e_typeCount);
+
+ s_registers[type1][type2].createFcn = createFcn;
+ s_registers[type1][type2].destroyFcn = destoryFcn;
+ s_registers[type1][type2].primary = true;
+
+ if (type1 != type2)
+ {
+ s_registers[type2][type1].createFcn = createFcn;
+ s_registers[type2][type1].destroyFcn = destoryFcn;
+ s_registers[type2][type1].primary = false;
+ }
+}
+
+b2Contact* b2Contact::Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator)
+{
+ if (s_initialized == false)
+ {
+ InitializeRegisters();
+ s_initialized = true;
+ }
+
+ b2Shape::Type type1 = fixtureA->GetType();
+ b2Shape::Type type2 = fixtureB->GetType();
+
+ b2Assert(0 <= type1 && type1 < b2Shape::e_typeCount);
+ b2Assert(0 <= type2 && type2 < b2Shape::e_typeCount);
+
+ b2ContactCreateFcn* createFcn = s_registers[type1][type2].createFcn;
+ if (createFcn)
+ {
+ if (s_registers[type1][type2].primary)
+ {
+ return createFcn(fixtureA, indexA, fixtureB, indexB, allocator);
+ }
+ else
+ {
+ return createFcn(fixtureB, indexB, fixtureA, indexA, allocator);
+ }
+ }
+ else
+ {
+ return NULL;
+ }
+}
+
+void b2Contact::Destroy(b2Contact* contact, b2BlockAllocator* allocator)
+{
+ b2Assert(s_initialized == true);
+
+ b2Fixture* fixtureA = contact->m_fixtureA;
+ b2Fixture* fixtureB = contact->m_fixtureB;
+
+ if (contact->m_manifold.pointCount > 0 &&
+ fixtureA->IsSensor() == false &&
+ fixtureB->IsSensor() == false)
+ {
+ fixtureA->GetBody()->SetAwake(true);
+ fixtureB->GetBody()->SetAwake(true);
+ }
+
+ b2Shape::Type typeA = fixtureA->GetType();
+ b2Shape::Type typeB = fixtureB->GetType();
+
+ b2Assert(0 <= typeA && typeB < b2Shape::e_typeCount);
+ b2Assert(0 <= typeA && typeB < b2Shape::e_typeCount);
+
+ b2ContactDestroyFcn* destroyFcn = s_registers[typeA][typeB].destroyFcn;
+ destroyFcn(contact, allocator);
+}
+
+b2Contact::b2Contact(b2Fixture* fA, int32 indexA, b2Fixture* fB, int32 indexB)
+{
+ m_flags = e_enabledFlag;
+
+ m_fixtureA = fA;
+ m_fixtureB = fB;
+
+ m_indexA = indexA;
+ m_indexB = indexB;
+
+ m_manifold.pointCount = 0;
+
+ m_prev = NULL;
+ m_next = NULL;
+
+ m_nodeA.contact = NULL;
+ m_nodeA.prev = NULL;
+ m_nodeA.next = NULL;
+ m_nodeA.other = NULL;
+
+ m_nodeB.contact = NULL;
+ m_nodeB.prev = NULL;
+ m_nodeB.next = NULL;
+ m_nodeB.other = NULL;
+
+ m_toiCount = 0;
+
+ m_friction = b2MixFriction(m_fixtureA->m_friction, m_fixtureB->m_friction);
+ m_restitution = b2MixRestitution(m_fixtureA->m_restitution, m_fixtureB->m_restitution);
+
+ m_tangentSpeed = 0.0f;
+}
+
+// Update the contact manifold and touching status.
+// Note: do not assume the fixture AABBs are overlapping or are valid.
+void b2Contact::Update(b2ContactListener* listener)
+{
+ b2Manifold oldManifold = m_manifold;
+
+ // Re-enable this contact.
+ m_flags |= e_enabledFlag;
+
+ bool touching = false;
+ bool wasTouching = (m_flags & e_touchingFlag) == e_touchingFlag;
+
+ bool sensorA = m_fixtureA->IsSensor();
+ bool sensorB = m_fixtureB->IsSensor();
+ bool sensor = sensorA || sensorB;
+
+ b2Body* bodyA = m_fixtureA->GetBody();
+ b2Body* bodyB = m_fixtureB->GetBody();
+ const b2Transform& xfA = bodyA->GetTransform();
+ const b2Transform& xfB = bodyB->GetTransform();
+
+ // Is this contact a sensor?
+ if (sensor)
+ {
+ const b2Shape* shapeA = m_fixtureA->GetShape();
+ const b2Shape* shapeB = m_fixtureB->GetShape();
+ touching = b2TestOverlap(shapeA, m_indexA, shapeB, m_indexB, xfA, xfB);
+
+ // Sensors don't generate manifolds.
+ m_manifold.pointCount = 0;
+ }
+ else
+ {
+ Evaluate(&m_manifold, xfA, xfB);
+ touching = m_manifold.pointCount > 0;
+
+ // Match old contact ids to new contact ids and copy the
+ // stored impulses to warm start the solver.
+ for (int32 i = 0; i < m_manifold.pointCount; ++i)
+ {
+ b2ManifoldPoint* mp2 = m_manifold.points + i;
+ mp2->normalImpulse = 0.0f;
+ mp2->tangentImpulse = 0.0f;
+ b2ContactID id2 = mp2->id;
+
+ for (int32 j = 0; j < oldManifold.pointCount; ++j)
+ {
+ b2ManifoldPoint* mp1 = oldManifold.points + j;
+
+ if (mp1->id.key == id2.key)
+ {
+ mp2->normalImpulse = mp1->normalImpulse;
+ mp2->tangentImpulse = mp1->tangentImpulse;
+ break;
+ }
+ }
+ }
+
+ if (touching != wasTouching)
+ {
+ bodyA->SetAwake(true);
+ bodyB->SetAwake(true);
+ }
+ }
+
+ if (touching)
+ {
+ m_flags |= e_touchingFlag;
+ }
+ else
+ {
+ m_flags &= ~e_touchingFlag;
+ }
+
+ if (wasTouching == false && touching == true && listener)
+ {
+ listener->BeginContact(this);
+ }
+
+ if (wasTouching == true && touching == false && listener)
+ {
+ listener->EndContact(this);
+ }
+
+ if (sensor == false && touching && listener)
+ {
+ listener->PreSolve(this, &oldManifold);
+ }
+}
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2Contact.h b/games/rider/src/Box2D/Dynamics/Contacts/b2Contact.h
new file mode 100755
index 00000000..36e31e25
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2Contact.h
@@ -0,0 +1,349 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_CONTACT_H
+#define B2_CONTACT_H
+
+#include <Box2D/Common/b2Math.h>
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/Shapes/b2Shape.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+
+class b2Body;
+class b2Contact;
+class b2Fixture;
+class b2World;
+class b2BlockAllocator;
+class b2StackAllocator;
+class b2ContactListener;
+
+/// Friction mixing law. The idea is to allow either fixture to drive the restitution to zero.
+/// For example, anything slides on ice.
+inline float32 b2MixFriction(float32 friction1, float32 friction2)
+{
+ return b2Sqrt(friction1 * friction2);
+}
+
+/// Restitution mixing law. The idea is allow for anything to bounce off an inelastic surface.
+/// For example, a superball bounces on anything.
+inline float32 b2MixRestitution(float32 restitution1, float32 restitution2)
+{
+ return restitution1 > restitution2 ? restitution1 : restitution2;
+}
+
+typedef b2Contact* b2ContactCreateFcn( b2Fixture* fixtureA, int32 indexA,
+ b2Fixture* fixtureB, int32 indexB,
+ b2BlockAllocator* allocator);
+typedef void b2ContactDestroyFcn(b2Contact* contact, b2BlockAllocator* allocator);
+
+struct b2ContactRegister
+{
+ b2ContactCreateFcn* createFcn;
+ b2ContactDestroyFcn* destroyFcn;
+ bool primary;
+};
+
+/// A contact edge is used to connect bodies and contacts together
+/// in a contact graph where each body is a node and each contact
+/// is an edge. A contact edge belongs to a doubly linked list
+/// maintained in each attached body. Each contact has two contact
+/// nodes, one for each attached body.
+struct b2ContactEdge
+{
+ b2Body* other; ///< provides quick access to the other body attached.
+ b2Contact* contact; ///< the contact
+ b2ContactEdge* prev; ///< the previous contact edge in the body's contact list
+ b2ContactEdge* next; ///< the next contact edge in the body's contact list
+};
+
+/// The class manages contact between two shapes. A contact exists for each overlapping
+/// AABB in the broad-phase (except if filtered). Therefore a contact object may exist
+/// that has no contact points.
+class b2Contact
+{
+public:
+
+ /// Get the contact manifold. Do not modify the manifold unless you understand the
+ /// internals of Box2D.
+ b2Manifold* GetManifold();
+ const b2Manifold* GetManifold() const;
+
+ /// Get the world manifold.
+ void GetWorldManifold(b2WorldManifold* worldManifold) const;
+
+ /// Is this contact touching?
+ bool IsTouching() const;
+
+ /// Enable/disable this contact. This can be used inside the pre-solve
+ /// contact listener. The contact is only disabled for the current
+ /// time step (or sub-step in continuous collisions).
+ void SetEnabled(bool flag);
+
+ /// Has this contact been disabled?
+ bool IsEnabled() const;
+
+ /// Get the next contact in the world's contact list.
+ b2Contact* GetNext();
+ const b2Contact* GetNext() const;
+
+ /// Get fixture A in this contact.
+ b2Fixture* GetFixtureA();
+ const b2Fixture* GetFixtureA() const;
+
+ /// Get the child primitive index for fixture A.
+ int32 GetChildIndexA() const;
+
+ /// Get fixture B in this contact.
+ b2Fixture* GetFixtureB();
+ const b2Fixture* GetFixtureB() const;
+
+ /// Get the child primitive index for fixture B.
+ int32 GetChildIndexB() const;
+
+ /// Override the default friction mixture. You can call this in b2ContactListener::PreSolve.
+ /// This value persists until set or reset.
+ void SetFriction(float32 friction);
+
+ /// Get the friction.
+ float32 GetFriction() const;
+
+ /// Reset the friction mixture to the default value.
+ void ResetFriction();
+
+ /// Override the default restitution mixture. You can call this in b2ContactListener::PreSolve.
+ /// The value persists until you set or reset.
+ void SetRestitution(float32 restitution);
+
+ /// Get the restitution.
+ float32 GetRestitution() const;
+
+ /// Reset the restitution to the default value.
+ void ResetRestitution();
+
+ /// Set the desired tangent speed for a conveyor belt behavior. In meters per second.
+ void SetTangentSpeed(float32 speed);
+
+ /// Get the desired tangent speed. In meters per second.
+ float32 GetTangentSpeed() const;
+
+ /// Evaluate this contact with your own manifold and transforms.
+ virtual void Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB) = 0;
+
+protected:
+ friend class b2ContactManager;
+ friend class b2World;
+ friend class b2ContactSolver;
+ friend class b2Body;
+ friend class b2Fixture;
+
+ // Flags stored in m_flags
+ enum
+ {
+ // Used when crawling contact graph when forming islands.
+ e_islandFlag = 0x0001,
+
+ // Set when the shapes are touching.
+ e_touchingFlag = 0x0002,
+
+ // This contact can be disabled (by user)
+ e_enabledFlag = 0x0004,
+
+ // This contact needs filtering because a fixture filter was changed.
+ e_filterFlag = 0x0008,
+
+ // This bullet contact had a TOI event
+ e_bulletHitFlag = 0x0010,
+
+ // This contact has a valid TOI in m_toi
+ e_toiFlag = 0x0020
+ };
+
+ /// Flag this contact for filtering. Filtering will occur the next time step.
+ void FlagForFiltering();
+
+ static void AddType(b2ContactCreateFcn* createFcn, b2ContactDestroyFcn* destroyFcn,
+ b2Shape::Type typeA, b2Shape::Type typeB);
+ static void InitializeRegisters();
+ static b2Contact* Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
+ static void Destroy(b2Contact* contact, b2Shape::Type typeA, b2Shape::Type typeB, b2BlockAllocator* allocator);
+ static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
+
+ b2Contact() : m_fixtureA(NULL), m_fixtureB(NULL) {}
+ b2Contact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB);
+ virtual ~b2Contact() {}
+
+ void Update(b2ContactListener* listener);
+
+ static b2ContactRegister s_registers[b2Shape::e_typeCount][b2Shape::e_typeCount];
+ static bool s_initialized;
+
+ uint32 m_flags;
+
+ // World pool and list pointers.
+ b2Contact* m_prev;
+ b2Contact* m_next;
+
+ // Nodes for connecting bodies.
+ b2ContactEdge m_nodeA;
+ b2ContactEdge m_nodeB;
+
+ b2Fixture* m_fixtureA;
+ b2Fixture* m_fixtureB;
+
+ int32 m_indexA;
+ int32 m_indexB;
+
+ b2Manifold m_manifold;
+
+ int32 m_toiCount;
+ float32 m_toi;
+
+ float32 m_friction;
+ float32 m_restitution;
+
+ float32 m_tangentSpeed;
+};
+
+inline b2Manifold* b2Contact::GetManifold()
+{
+ return &m_manifold;
+}
+
+inline const b2Manifold* b2Contact::GetManifold() const
+{
+ return &m_manifold;
+}
+
+inline void b2Contact::GetWorldManifold(b2WorldManifold* worldManifold) const
+{
+ const b2Body* bodyA = m_fixtureA->GetBody();
+ const b2Body* bodyB = m_fixtureB->GetBody();
+ const b2Shape* shapeA = m_fixtureA->GetShape();
+ const b2Shape* shapeB = m_fixtureB->GetShape();
+
+ worldManifold->Initialize(&m_manifold, bodyA->GetTransform(), shapeA->m_radius, bodyB->GetTransform(), shapeB->m_radius);
+}
+
+inline void b2Contact::SetEnabled(bool flag)
+{
+ if (flag)
+ {
+ m_flags |= e_enabledFlag;
+ }
+ else
+ {
+ m_flags &= ~e_enabledFlag;
+ }
+}
+
+inline bool b2Contact::IsEnabled() const
+{
+ return (m_flags & e_enabledFlag) == e_enabledFlag;
+}
+
+inline bool b2Contact::IsTouching() const
+{
+ return (m_flags & e_touchingFlag) == e_touchingFlag;
+}
+
+inline b2Contact* b2Contact::GetNext()
+{
+ return m_next;
+}
+
+inline const b2Contact* b2Contact::GetNext() const
+{
+ return m_next;
+}
+
+inline b2Fixture* b2Contact::GetFixtureA()
+{
+ return m_fixtureA;
+}
+
+inline const b2Fixture* b2Contact::GetFixtureA() const
+{
+ return m_fixtureA;
+}
+
+inline b2Fixture* b2Contact::GetFixtureB()
+{
+ return m_fixtureB;
+}
+
+inline int32 b2Contact::GetChildIndexA() const
+{
+ return m_indexA;
+}
+
+inline const b2Fixture* b2Contact::GetFixtureB() const
+{
+ return m_fixtureB;
+}
+
+inline int32 b2Contact::GetChildIndexB() const
+{
+ return m_indexB;
+}
+
+inline void b2Contact::FlagForFiltering()
+{
+ m_flags |= e_filterFlag;
+}
+
+inline void b2Contact::SetFriction(float32 friction)
+{
+ m_friction = friction;
+}
+
+inline float32 b2Contact::GetFriction() const
+{
+ return m_friction;
+}
+
+inline void b2Contact::ResetFriction()
+{
+ m_friction = b2MixFriction(m_fixtureA->m_friction, m_fixtureB->m_friction);
+}
+
+inline void b2Contact::SetRestitution(float32 restitution)
+{
+ m_restitution = restitution;
+}
+
+inline float32 b2Contact::GetRestitution() const
+{
+ return m_restitution;
+}
+
+inline void b2Contact::ResetRestitution()
+{
+ m_restitution = b2MixRestitution(m_fixtureA->m_restitution, m_fixtureB->m_restitution);
+}
+
+inline void b2Contact::SetTangentSpeed(float32 speed)
+{
+ m_tangentSpeed = speed;
+}
+
+inline float32 b2Contact::GetTangentSpeed() const
+{
+ return m_tangentSpeed;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2ContactSolver.cpp b/games/rider/src/Box2D/Dynamics/Contacts/b2ContactSolver.cpp
new file mode 100755
index 00000000..c6cd3d56
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2ContactSolver.cpp
@@ -0,0 +1,841 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+* Copyright (c) 2014 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Contacts/b2ContactSolver.h>
+
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/b2World.h>
+#include <Box2D/Common/b2StackAllocator.h>
+
+#define B2_DEBUG_SOLVER 0
+
+struct b2ContactPositionConstraint
+{
+ b2Vec2 localPoints[b2_maxManifoldPoints];
+ b2Vec2 localNormal;
+ b2Vec2 localPoint;
+ int32 indexA;
+ int32 indexB;
+ float32 invMassA, invMassB;
+ b2Vec2 localCenterA, localCenterB;
+ float32 invIA, invIB;
+ b2Manifold::Type type;
+ float32 radiusA, radiusB;
+ int32 pointCount;
+};
+
+b2ContactSolver::b2ContactSolver(b2ContactSolverDef* def)
+{
+ m_step = def->step;
+ m_allocator = def->allocator;
+ m_count = def->count;
+ m_positionConstraints = (b2ContactPositionConstraint*)m_allocator->Allocate(m_count * sizeof(b2ContactPositionConstraint));
+ m_velocityConstraints = (b2ContactVelocityConstraint*)m_allocator->Allocate(m_count * sizeof(b2ContactVelocityConstraint));
+ m_positions = def->positions;
+ m_velocities = def->velocities;
+ m_contacts = def->contacts;
+
+ // Initialize position independent portions of the constraints.
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ b2Contact* contact = m_contacts[i];
+
+ b2Fixture* fixtureA = contact->m_fixtureA;
+ b2Fixture* fixtureB = contact->m_fixtureB;
+ b2Shape* shapeA = fixtureA->GetShape();
+ b2Shape* shapeB = fixtureB->GetShape();
+ float32 radiusA = shapeA->m_radius;
+ float32 radiusB = shapeB->m_radius;
+ b2Body* bodyA = fixtureA->GetBody();
+ b2Body* bodyB = fixtureB->GetBody();
+ b2Manifold* manifold = contact->GetManifold();
+
+ int32 pointCount = manifold->pointCount;
+ b2Assert(pointCount > 0);
+
+ b2ContactVelocityConstraint* vc = m_velocityConstraints + i;
+ vc->friction = contact->m_friction;
+ vc->restitution = contact->m_restitution;
+ vc->tangentSpeed = contact->m_tangentSpeed;
+ vc->indexA = bodyA->m_islandIndex;
+ vc->indexB = bodyB->m_islandIndex;
+ vc->invMassA = bodyA->m_invMass;
+ vc->invMassB = bodyB->m_invMass;
+ vc->invIA = bodyA->m_invI;
+ vc->invIB = bodyB->m_invI;
+ vc->contactIndex = i;
+ vc->pointCount = pointCount;
+ vc->K.SetZero();
+ vc->normalMass.SetZero();
+
+ b2ContactPositionConstraint* pc = m_positionConstraints + i;
+ pc->indexA = bodyA->m_islandIndex;
+ pc->indexB = bodyB->m_islandIndex;
+ pc->invMassA = bodyA->m_invMass;
+ pc->invMassB = bodyB->m_invMass;
+ pc->localCenterA = bodyA->m_sweep.localCenter;
+ pc->localCenterB = bodyB->m_sweep.localCenter;
+ pc->invIA = bodyA->m_invI;
+ pc->invIB = bodyB->m_invI;
+ pc->localNormal = manifold->localNormal;
+ pc->localPoint = manifold->localPoint;
+ pc->pointCount = pointCount;
+ pc->radiusA = radiusA;
+ pc->radiusB = radiusB;
+ pc->type = manifold->type;
+
+ for (int32 j = 0; j < pointCount; ++j)
+ {
+ b2ManifoldPoint* cp = manifold->points + j;
+ b2VelocityConstraintPoint* vcp = vc->points + j;
+
+ if (m_step.warmStarting)
+ {
+ vcp->normalImpulse = m_step.dtRatio * cp->normalImpulse;
+ vcp->tangentImpulse = m_step.dtRatio * cp->tangentImpulse;
+ }
+ else
+ {
+ vcp->normalImpulse = 0.0f;
+ vcp->tangentImpulse = 0.0f;
+ }
+
+ vcp->rA.SetZero();
+ vcp->rB.SetZero();
+ vcp->normalMass = 0.0f;
+ vcp->tangentMass = 0.0f;
+ vcp->velocityBias = 0.0f;
+
+ pc->localPoints[j] = cp->localPoint;
+ }
+ }
+}
+
+b2ContactSolver::~b2ContactSolver()
+{
+ m_allocator->Free(m_velocityConstraints);
+ m_allocator->Free(m_positionConstraints);
+}
+
+// Initialize position dependent portions of the velocity constraints.
+void b2ContactSolver::InitializeVelocityConstraints()
+{
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ b2ContactVelocityConstraint* vc = m_velocityConstraints + i;
+ b2ContactPositionConstraint* pc = m_positionConstraints + i;
+
+ float32 radiusA = pc->radiusA;
+ float32 radiusB = pc->radiusB;
+ b2Manifold* manifold = m_contacts[vc->contactIndex]->GetManifold();
+
+ int32 indexA = vc->indexA;
+ int32 indexB = vc->indexB;
+
+ float32 mA = vc->invMassA;
+ float32 mB = vc->invMassB;
+ float32 iA = vc->invIA;
+ float32 iB = vc->invIB;
+ b2Vec2 localCenterA = pc->localCenterA;
+ b2Vec2 localCenterB = pc->localCenterB;
+
+ b2Vec2 cA = m_positions[indexA].c;
+ float32 aA = m_positions[indexA].a;
+ b2Vec2 vA = m_velocities[indexA].v;
+ float32 wA = m_velocities[indexA].w;
+
+ b2Vec2 cB = m_positions[indexB].c;
+ float32 aB = m_positions[indexB].a;
+ b2Vec2 vB = m_velocities[indexB].v;
+ float32 wB = m_velocities[indexB].w;
+
+ b2Assert(manifold->pointCount > 0);
+
+ b2Transform xfA, xfB;
+ xfA.q.Set(aA);
+ xfB.q.Set(aB);
+ xfA.p = cA - b2Mul(xfA.q, localCenterA);
+ xfB.p = cB - b2Mul(xfB.q, localCenterB);
+
+ b2WorldManifold worldManifold;
+ worldManifold.Initialize(manifold, xfA, radiusA, xfB, radiusB);
+
+ vc->normal = worldManifold.normal;
+
+ int32 pointCount = vc->pointCount;
+ for (int32 j = 0; j < pointCount; ++j)
+ {
+ b2VelocityConstraintPoint* vcp = vc->points + j;
+
+ vcp->rA = worldManifold.points[j] - cA;
+ vcp->rB = worldManifold.points[j] - cB;
+
+ float32 rnA = b2Cross(vcp->rA, vc->normal);
+ float32 rnB = b2Cross(vcp->rB, vc->normal);
+
+ float32 kNormal = mA + mB + iA * rnA * rnA + iB * rnB * rnB;
+
+ vcp->normalMass = kNormal > 0.0f ? 1.0f / kNormal : 0.0f;
+
+ b2Vec2 tangent = b2Cross(vc->normal, 1.0f);
+
+ float32 rtA = b2Cross(vcp->rA, tangent);
+ float32 rtB = b2Cross(vcp->rB, tangent);
+
+ float32 kTangent = mA + mB + iA * rtA * rtA + iB * rtB * rtB;
+
+ vcp->tangentMass = kTangent > 0.0f ? 1.0f / kTangent : 0.0f;
+
+ // Setup a velocity bias for restitution.
+ vcp->velocityBias = 0.0f;
+ float32 vRel = b2Dot(vc->normal, vB + b2Cross(wB, vcp->rB) - vA - b2Cross(wA, vcp->rA));
+ if (vRel < -b2_velocityThreshold)
+ {
+ vcp->velocityBias = -vc->restitution * vRel;
+ }
+ }
+
+ // If we have two points, then prepare the block solver.
+ if (vc->pointCount == 2)
+ {
+ b2VelocityConstraintPoint* vcp1 = vc->points + 0;
+ b2VelocityConstraintPoint* vcp2 = vc->points + 1;
+
+ float32 rn1A = b2Cross(vcp1->rA, vc->normal);
+ float32 rn1B = b2Cross(vcp1->rB, vc->normal);
+ float32 rn2A = b2Cross(vcp2->rA, vc->normal);
+ float32 rn2B = b2Cross(vcp2->rB, vc->normal);
+
+ float32 k11 = mA + mB + iA * rn1A * rn1A + iB * rn1B * rn1B;
+ float32 k22 = mA + mB + iA * rn2A * rn2A + iB * rn2B * rn2B;
+ float32 k12 = mA + mB + iA * rn1A * rn2A + iB * rn1B * rn2B;
+
+ // Ensure a reasonable condition number.
+ const float32 k_maxConditionNumber = 1000.0f;
+ if (k11 * k11 < k_maxConditionNumber * (k11 * k22 - k12 * k12))
+ {
+ // K is safe to invert.
+ vc->K.ex.Set(k11, k12);
+ vc->K.ey.Set(k12, k22);
+ vc->normalMass = vc->K.GetInverse();
+ }
+ else
+ {
+ // The constraints are redundant, just use one.
+ // TODO_ERIN use deepest?
+ vc->pointCount = 1;
+ }
+ }
+ }
+}
+
+void b2ContactSolver::WarmStart()
+{
+ // Warm start.
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ b2ContactVelocityConstraint* vc = m_velocityConstraints + i;
+
+ int32 indexA = vc->indexA;
+ int32 indexB = vc->indexB;
+ float32 mA = vc->invMassA;
+ float32 iA = vc->invIA;
+ float32 mB = vc->invMassB;
+ float32 iB = vc->invIB;
+ int32 pointCount = vc->pointCount;
+
+ b2Vec2 vA = m_velocities[indexA].v;
+ float32 wA = m_velocities[indexA].w;
+ b2Vec2 vB = m_velocities[indexB].v;
+ float32 wB = m_velocities[indexB].w;
+
+ b2Vec2 normal = vc->normal;
+ b2Vec2 tangent = b2Cross(normal, 1.0f);
+
+ for (int32 j = 0; j < pointCount; ++j)
+ {
+ b2VelocityConstraintPoint* vcp = vc->points + j;
+ b2Vec2 P = vcp->normalImpulse * normal + vcp->tangentImpulse * tangent;
+ wA -= iA * b2Cross(vcp->rA, P);
+ vA -= mA * P;
+ wB += iB * b2Cross(vcp->rB, P);
+ vB += mB * P;
+ }
+
+ m_velocities[indexA].v = vA;
+ m_velocities[indexA].w = wA;
+ m_velocities[indexB].v = vB;
+ m_velocities[indexB].w = wB;
+ }
+}
+
+void b2ContactSolver::SolveVelocityConstraints()
+{
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ b2ContactVelocityConstraint* vc = m_velocityConstraints + i;
+
+ int32 indexA = vc->indexA;
+ int32 indexB = vc->indexB;
+ float32 mA = vc->invMassA;
+ float32 iA = vc->invIA;
+ float32 mB = vc->invMassB;
+ float32 iB = vc->invIB;
+ int32 pointCount = vc->pointCount;
+
+ b2Vec2 vA = m_velocities[indexA].v;
+ float32 wA = m_velocities[indexA].w;
+ b2Vec2 vB = m_velocities[indexB].v;
+ float32 wB = m_velocities[indexB].w;
+
+ b2Vec2 normal = vc->normal;
+ b2Vec2 tangent = b2Cross(normal, 1.0f);
+ float32 friction = vc->friction;
+
+ b2Assert(pointCount == 1 || pointCount == 2);
+
+ // Solve tangent constraints first because non-penetration is more important
+ // than friction.
+ for (int32 j = 0; j < pointCount; ++j)
+ {
+ b2VelocityConstraintPoint* vcp = vc->points + j;
+
+ // Relative velocity at contact
+ b2Vec2 dv = vB + b2Cross(wB, vcp->rB) - vA - b2Cross(wA, vcp->rA);
+
+ // Compute tangent force
+ float32 vt = b2Dot(dv, tangent) - vc->tangentSpeed;
+ float32 lambda = vcp->tangentMass * (-vt);
+
+ // b2Clamp the accumulated force
+ float32 maxFriction = friction * vcp->normalImpulse;
+ float32 newImpulse = b2Clamp(vcp->tangentImpulse + lambda, -maxFriction, maxFriction);
+ lambda = newImpulse - vcp->tangentImpulse;
+ vcp->tangentImpulse = newImpulse;
+
+ // Apply contact impulse
+ b2Vec2 P = lambda * tangent;
+
+ vA -= mA * P;
+ wA -= iA * b2Cross(vcp->rA, P);
+
+ vB += mB * P;
+ wB += iB * b2Cross(vcp->rB, P);
+ }
+
+ // Solve normal constraints
+ if (vc->pointCount == 1)
+ {
+ b2VelocityConstraintPoint* vcp = vc->points + 0;
+
+ // Relative velocity at contact
+ b2Vec2 dv = vB + b2Cross(wB, vcp->rB) - vA - b2Cross(wA, vcp->rA);
+
+ // Compute normal impulse
+ float32 vn = b2Dot(dv, normal);
+ float32 lambda = -vcp->normalMass * (vn - vcp->velocityBias);
+
+ // b2Clamp the accumulated impulse
+ float32 newImpulse = b2Max(vcp->normalImpulse + lambda, 0.0f);
+ lambda = newImpulse - vcp->normalImpulse;
+ vcp->normalImpulse = newImpulse;
+
+ // Apply contact impulse
+ b2Vec2 P = lambda * normal;
+ vA -= mA * P;
+ wA -= iA * b2Cross(vcp->rA, P);
+
+ vB += mB * P;
+ wB += iB * b2Cross(vcp->rB, P);
+ }
+ else
+ {
+ // Block solver developed in collaboration with Dirk Gregorius (back in 01/07 on Box2D_Lite).
+ // Build the mini LCP for this contact patch
+ //
+ // vn = A * x + b, vn >= 0, , vn >= 0, x >= 0 and vn_i * x_i = 0 with i = 1..2
+ //
+ // A = J * W * JT and J = ( -n, -r1 x n, n, r2 x n )
+ // b = vn0 - velocityBias
+ //
+ // The system is solved using the "Total enumeration method" (s. Murty). The complementary constraint vn_i * x_i
+ // implies that we must have in any solution either vn_i = 0 or x_i = 0. So for the 2D contact problem the cases
+ // vn1 = 0 and vn2 = 0, x1 = 0 and x2 = 0, x1 = 0 and vn2 = 0, x2 = 0 and vn1 = 0 need to be tested. The first valid
+ // solution that satisfies the problem is chosen.
+ //
+ // In order to account of the accumulated impulse 'a' (because of the iterative nature of the solver which only requires
+ // that the accumulated impulse is clamped and not the incremental impulse) we change the impulse variable (x_i).
+ //
+ // Substitute:
+ //
+ // x = a + d
+ //
+ // a := old total impulse
+ // x := new total impulse
+ // d := incremental impulse
+ //
+ // For the current iteration we extend the formula for the incremental impulse
+ // to compute the new total impulse:
+ //
+ // vn = A * d + b
+ // = A * (x - a) + b
+ // = A * x + b - A * a
+ // = A * x + b'
+ // b' = b - A * a;
+
+ b2VelocityConstraintPoint* cp1 = vc->points + 0;
+ b2VelocityConstraintPoint* cp2 = vc->points + 1;
+
+ b2Vec2 a(cp1->normalImpulse, cp2->normalImpulse);
+ b2Assert(a.x >= 0.0f && a.y >= 0.0f);
+
+ // Relative velocity at contact
+ b2Vec2 dv1 = vB + b2Cross(wB, cp1->rB) - vA - b2Cross(wA, cp1->rA);
+ b2Vec2 dv2 = vB + b2Cross(wB, cp2->rB) - vA - b2Cross(wA, cp2->rA);
+
+ // Compute normal velocity
+ float32 vn1 = b2Dot(dv1, normal);
+ float32 vn2 = b2Dot(dv2, normal);
+
+ b2Vec2 b;
+ b.x = vn1 - cp1->velocityBias;
+ b.y = vn2 - cp2->velocityBias;
+
+ // Compute b'
+ b -= b2Mul(vc->K, a);
+
+ const float32 k_errorTol = 1e-3f;
+ B2_NOT_USED(k_errorTol);
+
+ for (;;)
+ {
+ //
+ // Case 1: vn = 0
+ //
+ // 0 = A * x + b'
+ //
+ // Solve for x:
+ //
+ // x = - inv(A) * b'
+ //
+ b2Vec2 x = - b2Mul(vc->normalMass, b);
+
+ if (x.x >= 0.0f && x.y >= 0.0f)
+ {
+ // Get the incremental impulse
+ b2Vec2 d = x - a;
+
+ // Apply incremental impulse
+ b2Vec2 P1 = d.x * normal;
+ b2Vec2 P2 = d.y * normal;
+ vA -= mA * (P1 + P2);
+ wA -= iA * (b2Cross(cp1->rA, P1) + b2Cross(cp2->rA, P2));
+
+ vB += mB * (P1 + P2);
+ wB += iB * (b2Cross(cp1->rB, P1) + b2Cross(cp2->rB, P2));
+
+ // Accumulate
+ cp1->normalImpulse = x.x;
+ cp2->normalImpulse = x.y;
+
+#if B2_DEBUG_SOLVER == 1
+ // Postconditions
+ dv1 = vB + b2Cross(wB, cp1->rB) - vA - b2Cross(wA, cp1->rA);
+ dv2 = vB + b2Cross(wB, cp2->rB) - vA - b2Cross(wA, cp2->rA);
+
+ // Compute normal velocity
+ vn1 = b2Dot(dv1, normal);
+ vn2 = b2Dot(dv2, normal);
+
+ b2Assert(b2Abs(vn1 - cp1->velocityBias) < k_errorTol);
+ b2Assert(b2Abs(vn2 - cp2->velocityBias) < k_errorTol);
+#endif
+ break;
+ }
+
+ //
+ // Case 2: vn1 = 0 and x2 = 0
+ //
+ // 0 = a11 * x1 + a12 * 0 + b1'
+ // vn2 = a21 * x1 + a22 * 0 + b2'
+ //
+ x.x = - cp1->normalMass * b.x;
+ x.y = 0.0f;
+ vn2 = vc->K.ex.y * x.x + b.y;
+
+ if (x.x >= 0.0f && vn2 >= 0.0f)
+ {
+ // Get the incremental impulse
+ b2Vec2 d = x - a;
+
+ // Apply incremental impulse
+ b2Vec2 P1 = d.x * normal;
+ b2Vec2 P2 = d.y * normal;
+ vA -= mA * (P1 + P2);
+ wA -= iA * (b2Cross(cp1->rA, P1) + b2Cross(cp2->rA, P2));
+
+ vB += mB * (P1 + P2);
+ wB += iB * (b2Cross(cp1->rB, P1) + b2Cross(cp2->rB, P2));
+
+ // Accumulate
+ cp1->normalImpulse = x.x;
+ cp2->normalImpulse = x.y;
+
+#if B2_DEBUG_SOLVER == 1
+ // Postconditions
+ dv1 = vB + b2Cross(wB, cp1->rB) - vA - b2Cross(wA, cp1->rA);
+
+ // Compute normal velocity
+ vn1 = b2Dot(dv1, normal);
+
+ b2Assert(b2Abs(vn1 - cp1->velocityBias) < k_errorTol);
+#endif
+ break;
+ }
+
+
+ //
+ // Case 3: vn2 = 0 and x1 = 0
+ //
+ // vn1 = a11 * 0 + a12 * x2 + b1'
+ // 0 = a21 * 0 + a22 * x2 + b2'
+ //
+ x.x = 0.0f;
+ x.y = - cp2->normalMass * b.y;
+ vn1 = vc->K.ey.x * x.y + b.x;
+
+ if (x.y >= 0.0f && vn1 >= 0.0f)
+ {
+ // Resubstitute for the incremental impulse
+ b2Vec2 d = x - a;
+
+ // Apply incremental impulse
+ b2Vec2 P1 = d.x * normal;
+ b2Vec2 P2 = d.y * normal;
+ vA -= mA * (P1 + P2);
+ wA -= iA * (b2Cross(cp1->rA, P1) + b2Cross(cp2->rA, P2));
+
+ vB += mB * (P1 + P2);
+ wB += iB * (b2Cross(cp1->rB, P1) + b2Cross(cp2->rB, P2));
+
+ // Accumulate
+ cp1->normalImpulse = x.x;
+ cp2->normalImpulse = x.y;
+
+#if B2_DEBUG_SOLVER == 1
+ // Postconditions
+ dv2 = vB + b2Cross(wB, cp2->rB) - vA - b2Cross(wA, cp2->rA);
+
+ // Compute normal velocity
+ vn2 = b2Dot(dv2, normal);
+
+ b2Assert(b2Abs(vn2 - cp2->velocityBias) < k_errorTol);
+#endif
+ break;
+ }
+
+ //
+ // Case 4: x1 = 0 and x2 = 0
+ //
+ // vn1 = b1
+ // vn2 = b2;
+ x.x = 0.0f;
+ x.y = 0.0f;
+ vn1 = b.x;
+ vn2 = b.y;
+
+ if (vn1 >= 0.0f && vn2 >= 0.0f )
+ {
+ // Resubstitute for the incremental impulse
+ b2Vec2 d = x - a;
+
+ // Apply incremental impulse
+ b2Vec2 P1 = d.x * normal;
+ b2Vec2 P2 = d.y * normal;
+ vA -= mA * (P1 + P2);
+ wA -= iA * (b2Cross(cp1->rA, P1) + b2Cross(cp2->rA, P2));
+
+ vB += mB * (P1 + P2);
+ wB += iB * (b2Cross(cp1->rB, P1) + b2Cross(cp2->rB, P2));
+
+ // Accumulate
+ cp1->normalImpulse = x.x;
+ cp2->normalImpulse = x.y;
+
+ break;
+ }
+
+ // No solution, give up. This is hit sometimes, but it doesn't seem to matter.
+ break;
+ }
+ }
+
+ m_velocities[indexA].v = vA;
+ m_velocities[indexA].w = wA;
+ m_velocities[indexB].v = vB;
+ m_velocities[indexB].w = wB;
+ }
+}
+
+void b2ContactSolver::StoreImpulses()
+{
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ b2ContactVelocityConstraint* vc = m_velocityConstraints + i;
+ b2Manifold* manifold = m_contacts[vc->contactIndex]->GetManifold();
+
+ for (int32 j = 0; j < vc->pointCount; ++j)
+ {
+ manifold->points[j].normalImpulse = vc->points[j].normalImpulse;
+ manifold->points[j].tangentImpulse = vc->points[j].tangentImpulse;
+ }
+ }
+}
+
+struct b2PositionSolverManifold
+{
+ void Initialize(b2ContactPositionConstraint* pc, const b2Transform& xfA, const b2Transform& xfB, int32 index)
+ {
+ b2Assert(pc->pointCount > 0);
+
+ switch (pc->type)
+ {
+ case b2Manifold::e_circles:
+ {
+ b2Vec2 pointA = b2Mul(xfA, pc->localPoint);
+ b2Vec2 pointB = b2Mul(xfB, pc->localPoints[0]);
+ normal = pointB - pointA;
+ normal.Normalize();
+ point = 0.5f * (pointA + pointB);
+ separation = b2Dot(pointB - pointA, normal) - pc->radiusA - pc->radiusB;
+ }
+ break;
+
+ case b2Manifold::e_faceA:
+ {
+ normal = b2Mul(xfA.q, pc->localNormal);
+ b2Vec2 planePoint = b2Mul(xfA, pc->localPoint);
+
+ b2Vec2 clipPoint = b2Mul(xfB, pc->localPoints[index]);
+ separation = b2Dot(clipPoint - planePoint, normal) - pc->radiusA - pc->radiusB;
+ point = clipPoint;
+ }
+ break;
+
+ case b2Manifold::e_faceB:
+ {
+ normal = b2Mul(xfB.q, pc->localNormal);
+ b2Vec2 planePoint = b2Mul(xfB, pc->localPoint);
+
+ b2Vec2 clipPoint = b2Mul(xfA, pc->localPoints[index]);
+ separation = b2Dot(clipPoint - planePoint, normal) - pc->radiusA - pc->radiusB;
+ point = clipPoint;
+
+ // Ensure normal points from A to B
+ normal = -normal;
+ }
+ break;
+ default:
+ {
+ // This shouldn't be executed if pc->type is valid.
+ separation = 0.0f;
+ normal = b2Vec2_zero;
+ point = b2Vec2_zero;
+ b2Assert(false);
+ }
+ break;
+ }
+ }
+
+ b2Vec2 normal;
+ b2Vec2 point;
+ float32 separation;
+};
+
+// Sequential solver.
+bool b2ContactSolver::SolvePositionConstraints()
+{
+ float32 minSeparation = 0.0f;
+
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ b2ContactPositionConstraint* pc = m_positionConstraints + i;
+
+ int32 indexA = pc->indexA;
+ int32 indexB = pc->indexB;
+ b2Vec2 localCenterA = pc->localCenterA;
+ float32 mA = pc->invMassA;
+ float32 iA = pc->invIA;
+ b2Vec2 localCenterB = pc->localCenterB;
+ float32 mB = pc->invMassB;
+ float32 iB = pc->invIB;
+ int32 pointCount = pc->pointCount;
+
+ b2Vec2 cA = m_positions[indexA].c;
+ float32 aA = m_positions[indexA].a;
+
+ b2Vec2 cB = m_positions[indexB].c;
+ float32 aB = m_positions[indexB].a;
+
+ // Solve normal constraints
+ for (int32 j = 0; j < pointCount; ++j)
+ {
+ b2Transform xfA, xfB;
+ xfA.q.Set(aA);
+ xfB.q.Set(aB);
+ xfA.p = cA - b2Mul(xfA.q, localCenterA);
+ xfB.p = cB - b2Mul(xfB.q, localCenterB);
+
+ b2PositionSolverManifold psm;
+ psm.Initialize(pc, xfA, xfB, j);
+ b2Vec2 normal = psm.normal;
+
+ b2Vec2 point = psm.point;
+ float32 separation = psm.separation;
+
+ b2Vec2 rA = point - cA;
+ b2Vec2 rB = point - cB;
+
+ // Track max constraint error.
+ minSeparation = b2Min(minSeparation, separation);
+
+ // Prevent large corrections and allow slop.
+ float32 C = b2Clamp(b2_baumgarte * (separation + b2_linearSlop), -b2_maxLinearCorrection, 0.0f);
+
+ // Compute the effective mass.
+ float32 rnA = b2Cross(rA, normal);
+ float32 rnB = b2Cross(rB, normal);
+ float32 K = mA + mB + iA * rnA * rnA + iB * rnB * rnB;
+
+ // Compute normal impulse
+ float32 impulse = K > 0.0f ? - C / K : 0.0f;
+
+ b2Vec2 P = impulse * normal;
+
+ cA -= mA * P;
+ aA -= iA * b2Cross(rA, P);
+
+ cB += mB * P;
+ aB += iB * b2Cross(rB, P);
+ }
+
+ m_positions[indexA].c = cA;
+ m_positions[indexA].a = aA;
+
+ m_positions[indexB].c = cB;
+ m_positions[indexB].a = aB;
+ }
+
+ // We can't expect minSpeparation >= -b2_linearSlop because we don't
+ // push the separation above -b2_linearSlop.
+ return minSeparation >= -3.0f * b2_linearSlop;
+}
+
+// Sequential position solver for position constraints.
+bool b2ContactSolver::SolveTOIPositionConstraints(int32 toiIndexA, int32 toiIndexB)
+{
+ float32 minSeparation = 0.0f;
+
+ for (int32 i = 0; i < m_count; ++i)
+ {
+ b2ContactPositionConstraint* pc = m_positionConstraints + i;
+
+ int32 indexA = pc->indexA;
+ int32 indexB = pc->indexB;
+ b2Vec2 localCenterA = pc->localCenterA;
+ b2Vec2 localCenterB = pc->localCenterB;
+ int32 pointCount = pc->pointCount;
+
+ float32 mA = 0.0f;
+ float32 iA = 0.0f;
+ if (indexA == toiIndexA || indexA == toiIndexB)
+ {
+ mA = pc->invMassA;
+ iA = pc->invIA;
+ }
+
+ float32 mB = 0.0f;
+ float32 iB = 0.;
+ if (indexB == toiIndexA || indexB == toiIndexB)
+ {
+ mB = pc->invMassB;
+ iB = pc->invIB;
+ }
+
+ b2Vec2 cA = m_positions[indexA].c;
+ float32 aA = m_positions[indexA].a;
+
+ b2Vec2 cB = m_positions[indexB].c;
+ float32 aB = m_positions[indexB].a;
+
+ // Solve normal constraints
+ for (int32 j = 0; j < pointCount; ++j)
+ {
+ b2Transform xfA, xfB;
+ xfA.q.Set(aA);
+ xfB.q.Set(aB);
+ xfA.p = cA - b2Mul(xfA.q, localCenterA);
+ xfB.p = cB - b2Mul(xfB.q, localCenterB);
+
+ b2PositionSolverManifold psm;
+ psm.Initialize(pc, xfA, xfB, j);
+ b2Vec2 normal = psm.normal;
+
+ b2Vec2 point = psm.point;
+ float32 separation = psm.separation;
+
+ b2Vec2 rA = point - cA;
+ b2Vec2 rB = point - cB;
+
+ // Track max constraint error.
+ minSeparation = b2Min(minSeparation, separation);
+
+ // Prevent large corrections and allow slop.
+ float32 C = b2Clamp(b2_toiBaugarte * (separation + b2_linearSlop), -b2_maxLinearCorrection, 0.0f);
+
+ // Compute the effective mass.
+ float32 rnA = b2Cross(rA, normal);
+ float32 rnB = b2Cross(rB, normal);
+ float32 K = mA + mB + iA * rnA * rnA + iB * rnB * rnB;
+
+ // Compute normal impulse
+ float32 impulse = K > 0.0f ? - C / K : 0.0f;
+
+ b2Vec2 P = impulse * normal;
+
+ cA -= mA * P;
+ aA -= iA * b2Cross(rA, P);
+
+ cB += mB * P;
+ aB += iB * b2Cross(rB, P);
+ }
+
+ m_positions[indexA].c = cA;
+ m_positions[indexA].a = aA;
+
+ m_positions[indexB].c = cB;
+ m_positions[indexB].a = aB;
+ }
+
+ // We can't expect minSpeparation >= -b2_linearSlop because we don't
+ // push the separation above -b2_linearSlop.
+ return minSeparation >= -1.5f * b2_linearSlop;
+}
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2ContactSolver.h b/games/rider/src/Box2D/Dynamics/Contacts/b2ContactSolver.h
new file mode 100755
index 00000000..a622e30d
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2ContactSolver.h
@@ -0,0 +1,95 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_CONTACT_SOLVER_H
+#define B2_CONTACT_SOLVER_H
+
+#include <Box2D/Common/b2Math.h>
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+class b2Contact;
+class b2Body;
+class b2StackAllocator;
+struct b2ContactPositionConstraint;
+
+struct b2VelocityConstraintPoint
+{
+ b2Vec2 rA;
+ b2Vec2 rB;
+ float32 normalImpulse;
+ float32 tangentImpulse;
+ float32 normalMass;
+ float32 tangentMass;
+ float32 velocityBias;
+};
+
+struct b2ContactVelocityConstraint
+{
+ b2VelocityConstraintPoint points[b2_maxManifoldPoints];
+ b2Vec2 normal;
+ b2Mat22 normalMass;
+ b2Mat22 K;
+ int32 indexA;
+ int32 indexB;
+ float32 invMassA, invMassB;
+ float32 invIA, invIB;
+ float32 friction;
+ float32 restitution;
+ float32 tangentSpeed;
+ int32 pointCount;
+ int32 contactIndex;
+};
+
+struct b2ContactSolverDef
+{
+ b2TimeStep step;
+ b2Contact** contacts;
+ int32 count;
+ b2Position* positions;
+ b2Velocity* velocities;
+ b2StackAllocator* allocator;
+};
+
+class b2ContactSolver
+{
+public:
+ b2ContactSolver(b2ContactSolverDef* def);
+ ~b2ContactSolver();
+
+ void InitializeVelocityConstraints();
+
+ void WarmStart();
+ void SolveVelocityConstraints();
+ void StoreImpulses();
+
+ bool SolvePositionConstraints();
+ bool SolveTOIPositionConstraints(int32 toiIndexA, int32 toiIndexB);
+
+ b2TimeStep m_step;
+ b2Position* m_positions;
+ b2Velocity* m_velocities;
+ b2StackAllocator* m_allocator;
+ b2ContactPositionConstraint* m_positionConstraints;
+ b2ContactVelocityConstraint* m_velocityConstraints;
+ b2Contact** m_contacts;
+ int m_count;
+};
+
+#endif
+
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.cpp b/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.cpp
new file mode 100755
index 00000000..d1fd3295
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.cpp
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+
+#include <new>
+
+b2Contact* b2EdgeAndCircleContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32, b2BlockAllocator* allocator)
+{
+ void* mem = allocator->Allocate(sizeof(b2EdgeAndCircleContact));
+ return new (mem) b2EdgeAndCircleContact(fixtureA, fixtureB);
+}
+
+void b2EdgeAndCircleContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator)
+{
+ ((b2EdgeAndCircleContact*)contact)->~b2EdgeAndCircleContact();
+ allocator->Free(contact, sizeof(b2EdgeAndCircleContact));
+}
+
+b2EdgeAndCircleContact::b2EdgeAndCircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB)
+: b2Contact(fixtureA, 0, fixtureB, 0)
+{
+ b2Assert(m_fixtureA->GetType() == b2Shape::e_edge);
+ b2Assert(m_fixtureB->GetType() == b2Shape::e_circle);
+}
+
+void b2EdgeAndCircleContact::Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB)
+{
+ b2CollideEdgeAndCircle( manifold,
+ (b2EdgeShape*)m_fixtureA->GetShape(), xfA,
+ (b2CircleShape*)m_fixtureB->GetShape(), xfB);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.h b/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.h
new file mode 100755
index 00000000..e7a34553
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndCircleContact.h
@@ -0,0 +1,39 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_EDGE_AND_CIRCLE_CONTACT_H
+#define B2_EDGE_AND_CIRCLE_CONTACT_H
+
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+
+class b2BlockAllocator;
+
+class b2EdgeAndCircleContact : public b2Contact
+{
+public:
+ static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
+ b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
+ static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
+
+ b2EdgeAndCircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
+ ~b2EdgeAndCircleContact() {}
+
+ void Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB);
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.cpp b/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.cpp
new file mode 100755
index 00000000..ba536bc3
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.cpp
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+
+#include <new>
+
+b2Contact* b2EdgeAndPolygonContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32, b2BlockAllocator* allocator)
+{
+ void* mem = allocator->Allocate(sizeof(b2EdgeAndPolygonContact));
+ return new (mem) b2EdgeAndPolygonContact(fixtureA, fixtureB);
+}
+
+void b2EdgeAndPolygonContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator)
+{
+ ((b2EdgeAndPolygonContact*)contact)->~b2EdgeAndPolygonContact();
+ allocator->Free(contact, sizeof(b2EdgeAndPolygonContact));
+}
+
+b2EdgeAndPolygonContact::b2EdgeAndPolygonContact(b2Fixture* fixtureA, b2Fixture* fixtureB)
+: b2Contact(fixtureA, 0, fixtureB, 0)
+{
+ b2Assert(m_fixtureA->GetType() == b2Shape::e_edge);
+ b2Assert(m_fixtureB->GetType() == b2Shape::e_polygon);
+}
+
+void b2EdgeAndPolygonContact::Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB)
+{
+ b2CollideEdgeAndPolygon( manifold,
+ (b2EdgeShape*)m_fixtureA->GetShape(), xfA,
+ (b2PolygonShape*)m_fixtureB->GetShape(), xfB);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.h b/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.h
new file mode 100755
index 00000000..3b40f121
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2EdgeAndPolygonContact.h
@@ -0,0 +1,39 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_EDGE_AND_POLYGON_CONTACT_H
+#define B2_EDGE_AND_POLYGON_CONTACT_H
+
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+
+class b2BlockAllocator;
+
+class b2EdgeAndPolygonContact : public b2Contact
+{
+public:
+ static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
+ b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
+ static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
+
+ b2EdgeAndPolygonContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
+ ~b2EdgeAndPolygonContact() {}
+
+ void Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB);
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.cpp b/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.cpp
new file mode 100755
index 00000000..7c9cbcc9
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.cpp
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+
+#include <new>
+
+b2Contact* b2PolygonAndCircleContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32, b2BlockAllocator* allocator)
+{
+ void* mem = allocator->Allocate(sizeof(b2PolygonAndCircleContact));
+ return new (mem) b2PolygonAndCircleContact(fixtureA, fixtureB);
+}
+
+void b2PolygonAndCircleContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator)
+{
+ ((b2PolygonAndCircleContact*)contact)->~b2PolygonAndCircleContact();
+ allocator->Free(contact, sizeof(b2PolygonAndCircleContact));
+}
+
+b2PolygonAndCircleContact::b2PolygonAndCircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB)
+: b2Contact(fixtureA, 0, fixtureB, 0)
+{
+ b2Assert(m_fixtureA->GetType() == b2Shape::e_polygon);
+ b2Assert(m_fixtureB->GetType() == b2Shape::e_circle);
+}
+
+void b2PolygonAndCircleContact::Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB)
+{
+ b2CollidePolygonAndCircle( manifold,
+ (b2PolygonShape*)m_fixtureA->GetShape(), xfA,
+ (b2CircleShape*)m_fixtureB->GetShape(), xfB);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.h b/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.h
new file mode 100755
index 00000000..fe0645e0
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.h
@@ -0,0 +1,38 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_POLYGON_AND_CIRCLE_CONTACT_H
+#define B2_POLYGON_AND_CIRCLE_CONTACT_H
+
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+
+class b2BlockAllocator;
+
+class b2PolygonAndCircleContact : public b2Contact
+{
+public:
+ static b2Contact* Create(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
+ static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
+
+ b2PolygonAndCircleContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
+ ~b2PolygonAndCircleContact() {}
+
+ void Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB);
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonContact.cpp b/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonContact.cpp
new file mode 100755
index 00000000..b5706ca1
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonContact.cpp
@@ -0,0 +1,52 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Contacts/b2PolygonContact.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Collision/b2TimeOfImpact.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/b2WorldCallbacks.h>
+
+#include <new>
+
+b2Contact* b2PolygonContact::Create(b2Fixture* fixtureA, int32, b2Fixture* fixtureB, int32, b2BlockAllocator* allocator)
+{
+ void* mem = allocator->Allocate(sizeof(b2PolygonContact));
+ return new (mem) b2PolygonContact(fixtureA, fixtureB);
+}
+
+void b2PolygonContact::Destroy(b2Contact* contact, b2BlockAllocator* allocator)
+{
+ ((b2PolygonContact*)contact)->~b2PolygonContact();
+ allocator->Free(contact, sizeof(b2PolygonContact));
+}
+
+b2PolygonContact::b2PolygonContact(b2Fixture* fixtureA, b2Fixture* fixtureB)
+ : b2Contact(fixtureA, 0, fixtureB, 0)
+{
+ b2Assert(m_fixtureA->GetType() == b2Shape::e_polygon);
+ b2Assert(m_fixtureB->GetType() == b2Shape::e_polygon);
+}
+
+void b2PolygonContact::Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB)
+{
+ b2CollidePolygons( manifold,
+ (b2PolygonShape*)m_fixtureA->GetShape(), xfA,
+ (b2PolygonShape*)m_fixtureB->GetShape(), xfB);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonContact.h b/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonContact.h
new file mode 100755
index 00000000..434e6c92
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Contacts/b2PolygonContact.h
@@ -0,0 +1,39 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_POLYGON_CONTACT_H
+#define B2_POLYGON_CONTACT_H
+
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+
+class b2BlockAllocator;
+
+class b2PolygonContact : public b2Contact
+{
+public:
+ static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
+ b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
+ static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
+
+ b2PolygonContact(b2Fixture* fixtureA, b2Fixture* fixtureB);
+ ~b2PolygonContact() {}
+
+ void Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB);
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2DistanceJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2DistanceJoint.cpp
new file mode 100755
index 00000000..ba2b6c00
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2DistanceJoint.cpp
@@ -0,0 +1,260 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2DistanceJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// 1-D constrained system
+// m (v2 - v1) = lambda
+// v2 + (beta/h) * x1 + gamma * lambda = 0, gamma has units of inverse mass.
+// x2 = x1 + h * v2
+
+// 1-D mass-damper-spring system
+// m (v2 - v1) + h * d * v2 + h * k *
+
+// C = norm(p2 - p1) - L
+// u = (p2 - p1) / norm(p2 - p1)
+// Cdot = dot(u, v2 + cross(w2, r2) - v1 - cross(w1, r1))
+// J = [-u -cross(r1, u) u cross(r2, u)]
+// K = J * invM * JT
+// = invMass1 + invI1 * cross(r1, u)^2 + invMass2 + invI2 * cross(r2, u)^2
+
+void b2DistanceJointDef::Initialize(b2Body* b1, b2Body* b2,
+ const b2Vec2& anchor1, const b2Vec2& anchor2)
+{
+ bodyA = b1;
+ bodyB = b2;
+ localAnchorA = bodyA->GetLocalPoint(anchor1);
+ localAnchorB = bodyB->GetLocalPoint(anchor2);
+ b2Vec2 d = anchor2 - anchor1;
+ length = d.Length();
+}
+
+b2DistanceJoint::b2DistanceJoint(const b2DistanceJointDef* def)
+: b2Joint(def)
+{
+ m_localAnchorA = def->localAnchorA;
+ m_localAnchorB = def->localAnchorB;
+ m_length = def->length;
+ m_frequencyHz = def->frequencyHz;
+ m_dampingRatio = def->dampingRatio;
+ m_impulse = 0.0f;
+ m_gamma = 0.0f;
+ m_bias = 0.0f;
+}
+
+void b2DistanceJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterA = m_bodyA->m_sweep.localCenter;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassA = m_bodyA->m_invMass;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIA = m_bodyA->m_invI;
+ m_invIB = m_bodyB->m_invI;
+
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qA(aA), qB(aB);
+
+ m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+ m_u = cB + m_rB - cA - m_rA;
+
+ // Handle singularity.
+ float32 length = m_u.Length();
+ if (length > b2_linearSlop)
+ {
+ m_u *= 1.0f / length;
+ }
+ else
+ {
+ m_u.Set(0.0f, 0.0f);
+ }
+
+ float32 crAu = b2Cross(m_rA, m_u);
+ float32 crBu = b2Cross(m_rB, m_u);
+ float32 invMass = m_invMassA + m_invIA * crAu * crAu + m_invMassB + m_invIB * crBu * crBu;
+
+ // Compute the effective mass matrix.
+ m_mass = invMass != 0.0f ? 1.0f / invMass : 0.0f;
+
+ if (m_frequencyHz > 0.0f)
+ {
+ float32 C = length - m_length;
+
+ // Frequency
+ float32 omega = 2.0f * b2_pi * m_frequencyHz;
+
+ // Damping coefficient
+ float32 d = 2.0f * m_mass * m_dampingRatio * omega;
+
+ // Spring stiffness
+ float32 k = m_mass * omega * omega;
+
+ // magic formulas
+ float32 h = data.step.dt;
+ m_gamma = h * (d + h * k);
+ m_gamma = m_gamma != 0.0f ? 1.0f / m_gamma : 0.0f;
+ m_bias = C * h * k * m_gamma;
+
+ invMass += m_gamma;
+ m_mass = invMass != 0.0f ? 1.0f / invMass : 0.0f;
+ }
+ else
+ {
+ m_gamma = 0.0f;
+ m_bias = 0.0f;
+ }
+
+ if (data.step.warmStarting)
+ {
+ // Scale the impulse to support a variable time step.
+ m_impulse *= data.step.dtRatio;
+
+ b2Vec2 P = m_impulse * m_u;
+ vA -= m_invMassA * P;
+ wA -= m_invIA * b2Cross(m_rA, P);
+ vB += m_invMassB * P;
+ wB += m_invIB * b2Cross(m_rB, P);
+ }
+ else
+ {
+ m_impulse = 0.0f;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2DistanceJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ // Cdot = dot(u, v + cross(w, r))
+ b2Vec2 vpA = vA + b2Cross(wA, m_rA);
+ b2Vec2 vpB = vB + b2Cross(wB, m_rB);
+ float32 Cdot = b2Dot(m_u, vpB - vpA);
+
+ float32 impulse = -m_mass * (Cdot + m_bias + m_gamma * m_impulse);
+ m_impulse += impulse;
+
+ b2Vec2 P = impulse * m_u;
+ vA -= m_invMassA * P;
+ wA -= m_invIA * b2Cross(m_rA, P);
+ vB += m_invMassB * P;
+ wB += m_invIB * b2Cross(m_rB, P);
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2DistanceJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ if (m_frequencyHz > 0.0f)
+ {
+ // There is no position correction for soft distance constraints.
+ return true;
+ }
+
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+
+ b2Rot qA(aA), qB(aB);
+
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+ b2Vec2 u = cB + rB - cA - rA;
+
+ float32 length = u.Normalize();
+ float32 C = length - m_length;
+ C = b2Clamp(C, -b2_maxLinearCorrection, b2_maxLinearCorrection);
+
+ float32 impulse = -m_mass * C;
+ b2Vec2 P = impulse * u;
+
+ cA -= m_invMassA * P;
+ aA -= m_invIA * b2Cross(rA, P);
+ cB += m_invMassB * P;
+ aB += m_invIB * b2Cross(rB, P);
+
+ data.positions[m_indexA].c = cA;
+ data.positions[m_indexA].a = aA;
+ data.positions[m_indexB].c = cB;
+ data.positions[m_indexB].a = aB;
+
+ return b2Abs(C) < b2_linearSlop;
+}
+
+b2Vec2 b2DistanceJoint::GetAnchorA() const
+{
+ return m_bodyA->GetWorldPoint(m_localAnchorA);
+}
+
+b2Vec2 b2DistanceJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2DistanceJoint::GetReactionForce(float32 inv_dt) const
+{
+ b2Vec2 F = (inv_dt * m_impulse) * m_u;
+ return F;
+}
+
+float32 b2DistanceJoint::GetReactionTorque(float32 inv_dt) const
+{
+ B2_NOT_USED(inv_dt);
+ return 0.0f;
+}
+
+void b2DistanceJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ b2Log(" b2DistanceJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.localAnchorA.Set(%.15lef, %.15lef);\n", m_localAnchorA.x, m_localAnchorA.y);
+ b2Log(" jd.localAnchorB.Set(%.15lef, %.15lef);\n", m_localAnchorB.x, m_localAnchorB.y);
+ b2Log(" jd.length = %.15lef;\n", m_length);
+ b2Log(" jd.frequencyHz = %.15lef;\n", m_frequencyHz);
+ b2Log(" jd.dampingRatio = %.15lef;\n", m_dampingRatio);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2DistanceJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2DistanceJoint.h
new file mode 100755
index 00000000..2faba9d4
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2DistanceJoint.h
@@ -0,0 +1,169 @@
+/*
+* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
+*
+* 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 B2_DISTANCE_JOINT_H
+#define B2_DISTANCE_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Distance joint definition. This requires defining an
+/// anchor point on both bodies and the non-zero length of the
+/// distance joint. The definition uses local anchor points
+/// so that the initial configuration can violate the constraint
+/// slightly. This helps when saving and loading a game.
+/// @warning Do not use a zero or short length.
+struct b2DistanceJointDef : public b2JointDef
+{
+ b2DistanceJointDef()
+ {
+ type = e_distanceJoint;
+ localAnchorA.Set(0.0f, 0.0f);
+ localAnchorB.Set(0.0f, 0.0f);
+ length = 1.0f;
+ frequencyHz = 0.0f;
+ dampingRatio = 0.0f;
+ }
+
+ /// Initialize the bodies, anchors, and length using the world
+ /// anchors.
+ void Initialize(b2Body* bodyA, b2Body* bodyB,
+ const b2Vec2& anchorA, const b2Vec2& anchorB);
+
+ /// The local anchor point relative to bodyA's origin.
+ b2Vec2 localAnchorA;
+
+ /// The local anchor point relative to bodyB's origin.
+ b2Vec2 localAnchorB;
+
+ /// The natural length between the anchor points.
+ float32 length;
+
+ /// The mass-spring-damper frequency in Hertz. A value of 0
+ /// disables softness.
+ float32 frequencyHz;
+
+ /// The damping ratio. 0 = no damping, 1 = critical damping.
+ float32 dampingRatio;
+};
+
+/// A distance joint constrains two points on two bodies
+/// to remain at a fixed distance from each other. You can view
+/// this as a massless, rigid rod.
+class b2DistanceJoint : public b2Joint
+{
+public:
+
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ /// Get the reaction force given the inverse time step.
+ /// Unit is N.
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+
+ /// Get the reaction torque given the inverse time step.
+ /// Unit is N*m. This is always zero for a distance joint.
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// The local anchor point relative to bodyA's origin.
+ const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; }
+
+ /// The local anchor point relative to bodyB's origin.
+ const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; }
+
+ /// Set/get the natural length.
+ /// Manipulating the length can lead to non-physical behavior when the frequency is zero.
+ void SetLength(float32 length);
+ float32 GetLength() const;
+
+ /// Set/get frequency in Hz.
+ void SetFrequency(float32 hz);
+ float32 GetFrequency() const;
+
+ /// Set/get damping ratio.
+ void SetDampingRatio(float32 ratio);
+ float32 GetDampingRatio() const;
+
+ /// Dump joint to dmLog
+ void Dump();
+
+protected:
+
+ friend class b2Joint;
+ b2DistanceJoint(const b2DistanceJointDef* data);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ float32 m_frequencyHz;
+ float32 m_dampingRatio;
+ float32 m_bias;
+
+ // Solver shared
+ b2Vec2 m_localAnchorA;
+ b2Vec2 m_localAnchorB;
+ float32 m_gamma;
+ float32 m_impulse;
+ float32 m_length;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_u;
+ b2Vec2 m_rA;
+ b2Vec2 m_rB;
+ b2Vec2 m_localCenterA;
+ b2Vec2 m_localCenterB;
+ float32 m_invMassA;
+ float32 m_invMassB;
+ float32 m_invIA;
+ float32 m_invIB;
+ float32 m_mass;
+};
+
+inline void b2DistanceJoint::SetLength(float32 length)
+{
+ m_length = length;
+}
+
+inline float32 b2DistanceJoint::GetLength() const
+{
+ return m_length;
+}
+
+inline void b2DistanceJoint::SetFrequency(float32 hz)
+{
+ m_frequencyHz = hz;
+}
+
+inline float32 b2DistanceJoint::GetFrequency() const
+{
+ return m_frequencyHz;
+}
+
+inline void b2DistanceJoint::SetDampingRatio(float32 ratio)
+{
+ m_dampingRatio = ratio;
+}
+
+inline float32 b2DistanceJoint::GetDampingRatio() const
+{
+ return m_dampingRatio;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2FrictionJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2FrictionJoint.cpp
new file mode 100755
index 00000000..412d257a
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2FrictionJoint.cpp
@@ -0,0 +1,251 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2FrictionJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// Point-to-point constraint
+// Cdot = v2 - v1
+// = v2 + cross(w2, r2) - v1 - cross(w1, r1)
+// J = [-I -r1_skew I r2_skew ]
+// Identity used:
+// w k % (rx i + ry j) = w * (-ry i + rx j)
+
+// Angle constraint
+// Cdot = w2 - w1
+// J = [0 0 -1 0 0 1]
+// K = invI1 + invI2
+
+void b2FrictionJointDef::Initialize(b2Body* bA, b2Body* bB, const b2Vec2& anchor)
+{
+ bodyA = bA;
+ bodyB = bB;
+ localAnchorA = bodyA->GetLocalPoint(anchor);
+ localAnchorB = bodyB->GetLocalPoint(anchor);
+}
+
+b2FrictionJoint::b2FrictionJoint(const b2FrictionJointDef* def)
+: b2Joint(def)
+{
+ m_localAnchorA = def->localAnchorA;
+ m_localAnchorB = def->localAnchorB;
+
+ m_linearImpulse.SetZero();
+ m_angularImpulse = 0.0f;
+
+ m_maxForce = def->maxForce;
+ m_maxTorque = def->maxTorque;
+}
+
+void b2FrictionJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterA = m_bodyA->m_sweep.localCenter;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassA = m_bodyA->m_invMass;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIA = m_bodyA->m_invI;
+ m_invIB = m_bodyB->m_invI;
+
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qA(aA), qB(aB);
+
+ // Compute the effective mass matrix.
+ m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+
+ // J = [-I -r1_skew I r2_skew]
+ // [ 0 -1 0 1]
+ // r_skew = [-ry; rx]
+
+ // Matlab
+ // K = [ mA+r1y^2*iA+mB+r2y^2*iB, -r1y*iA*r1x-r2y*iB*r2x, -r1y*iA-r2y*iB]
+ // [ -r1y*iA*r1x-r2y*iB*r2x, mA+r1x^2*iA+mB+r2x^2*iB, r1x*iA+r2x*iB]
+ // [ -r1y*iA-r2y*iB, r1x*iA+r2x*iB, iA+iB]
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ b2Mat22 K;
+ K.ex.x = mA + mB + iA * m_rA.y * m_rA.y + iB * m_rB.y * m_rB.y;
+ K.ex.y = -iA * m_rA.x * m_rA.y - iB * m_rB.x * m_rB.y;
+ K.ey.x = K.ex.y;
+ K.ey.y = mA + mB + iA * m_rA.x * m_rA.x + iB * m_rB.x * m_rB.x;
+
+ m_linearMass = K.GetInverse();
+
+ m_angularMass = iA + iB;
+ if (m_angularMass > 0.0f)
+ {
+ m_angularMass = 1.0f / m_angularMass;
+ }
+
+ if (data.step.warmStarting)
+ {
+ // Scale impulses to support a variable time step.
+ m_linearImpulse *= data.step.dtRatio;
+ m_angularImpulse *= data.step.dtRatio;
+
+ b2Vec2 P(m_linearImpulse.x, m_linearImpulse.y);
+ vA -= mA * P;
+ wA -= iA * (b2Cross(m_rA, P) + m_angularImpulse);
+ vB += mB * P;
+ wB += iB * (b2Cross(m_rB, P) + m_angularImpulse);
+ }
+ else
+ {
+ m_linearImpulse.SetZero();
+ m_angularImpulse = 0.0f;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2FrictionJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ float32 h = data.step.dt;
+
+ // Solve angular friction
+ {
+ float32 Cdot = wB - wA;
+ float32 impulse = -m_angularMass * Cdot;
+
+ float32 oldImpulse = m_angularImpulse;
+ float32 maxImpulse = h * m_maxTorque;
+ m_angularImpulse = b2Clamp(m_angularImpulse + impulse, -maxImpulse, maxImpulse);
+ impulse = m_angularImpulse - oldImpulse;
+
+ wA -= iA * impulse;
+ wB += iB * impulse;
+ }
+
+ // Solve linear friction
+ {
+ b2Vec2 Cdot = vB + b2Cross(wB, m_rB) - vA - b2Cross(wA, m_rA);
+
+ b2Vec2 impulse = -b2Mul(m_linearMass, Cdot);
+ b2Vec2 oldImpulse = m_linearImpulse;
+ m_linearImpulse += impulse;
+
+ float32 maxImpulse = h * m_maxForce;
+
+ if (m_linearImpulse.LengthSquared() > maxImpulse * maxImpulse)
+ {
+ m_linearImpulse.Normalize();
+ m_linearImpulse *= maxImpulse;
+ }
+
+ impulse = m_linearImpulse - oldImpulse;
+
+ vA -= mA * impulse;
+ wA -= iA * b2Cross(m_rA, impulse);
+
+ vB += mB * impulse;
+ wB += iB * b2Cross(m_rB, impulse);
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2FrictionJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ B2_NOT_USED(data);
+
+ return true;
+}
+
+b2Vec2 b2FrictionJoint::GetAnchorA() const
+{
+ return m_bodyA->GetWorldPoint(m_localAnchorA);
+}
+
+b2Vec2 b2FrictionJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2FrictionJoint::GetReactionForce(float32 inv_dt) const
+{
+ return inv_dt * m_linearImpulse;
+}
+
+float32 b2FrictionJoint::GetReactionTorque(float32 inv_dt) const
+{
+ return inv_dt * m_angularImpulse;
+}
+
+void b2FrictionJoint::SetMaxForce(float32 force)
+{
+ b2Assert(b2IsValid(force) && force >= 0.0f);
+ m_maxForce = force;
+}
+
+float32 b2FrictionJoint::GetMaxForce() const
+{
+ return m_maxForce;
+}
+
+void b2FrictionJoint::SetMaxTorque(float32 torque)
+{
+ b2Assert(b2IsValid(torque) && torque >= 0.0f);
+ m_maxTorque = torque;
+}
+
+float32 b2FrictionJoint::GetMaxTorque() const
+{
+ return m_maxTorque;
+}
+
+void b2FrictionJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ b2Log(" b2FrictionJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.localAnchorA.Set(%.15lef, %.15lef);\n", m_localAnchorA.x, m_localAnchorA.y);
+ b2Log(" jd.localAnchorB.Set(%.15lef, %.15lef);\n", m_localAnchorB.x, m_localAnchorB.y);
+ b2Log(" jd.maxForce = %.15lef;\n", m_maxForce);
+ b2Log(" jd.maxTorque = %.15lef;\n", m_maxTorque);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2FrictionJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2FrictionJoint.h
new file mode 100755
index 00000000..d57abe80
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2FrictionJoint.h
@@ -0,0 +1,119 @@
+/*
+* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
+*
+* 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 B2_FRICTION_JOINT_H
+#define B2_FRICTION_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Friction joint definition.
+struct b2FrictionJointDef : public b2JointDef
+{
+ b2FrictionJointDef()
+ {
+ type = e_frictionJoint;
+ localAnchorA.SetZero();
+ localAnchorB.SetZero();
+ maxForce = 0.0f;
+ maxTorque = 0.0f;
+ }
+
+ /// Initialize the bodies, anchors, axis, and reference angle using the world
+ /// anchor and world axis.
+ void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor);
+
+ /// The local anchor point relative to bodyA's origin.
+ b2Vec2 localAnchorA;
+
+ /// The local anchor point relative to bodyB's origin.
+ b2Vec2 localAnchorB;
+
+ /// The maximum friction force in N.
+ float32 maxForce;
+
+ /// The maximum friction torque in N-m.
+ float32 maxTorque;
+};
+
+/// Friction joint. This is used for top-down friction.
+/// It provides 2D translational friction and angular friction.
+class b2FrictionJoint : public b2Joint
+{
+public:
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// The local anchor point relative to bodyA's origin.
+ const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; }
+
+ /// The local anchor point relative to bodyB's origin.
+ const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; }
+
+ /// Set the maximum friction force in N.
+ void SetMaxForce(float32 force);
+
+ /// Get the maximum friction force in N.
+ float32 GetMaxForce() const;
+
+ /// Set the maximum friction torque in N*m.
+ void SetMaxTorque(float32 torque);
+
+ /// Get the maximum friction torque in N*m.
+ float32 GetMaxTorque() const;
+
+ /// Dump joint to dmLog
+ void Dump();
+
+protected:
+
+ friend class b2Joint;
+
+ b2FrictionJoint(const b2FrictionJointDef* def);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ b2Vec2 m_localAnchorA;
+ b2Vec2 m_localAnchorB;
+
+ // Solver shared
+ b2Vec2 m_linearImpulse;
+ float32 m_angularImpulse;
+ float32 m_maxForce;
+ float32 m_maxTorque;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_rA;
+ b2Vec2 m_rB;
+ b2Vec2 m_localCenterA;
+ b2Vec2 m_localCenterB;
+ float32 m_invMassA;
+ float32 m_invMassB;
+ float32 m_invIA;
+ float32 m_invIB;
+ b2Mat22 m_linearMass;
+ float32 m_angularMass;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2GearJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2GearJoint.cpp
new file mode 100755
index 00000000..155eb0c1
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2GearJoint.cpp
@@ -0,0 +1,419 @@
+/*
+* Copyright (c) 2007-2011 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2GearJoint.h>
+#include <Box2D/Dynamics/Joints/b2RevoluteJoint.h>
+#include <Box2D/Dynamics/Joints/b2PrismaticJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// Gear Joint:
+// C0 = (coordinate1 + ratio * coordinate2)_initial
+// C = (coordinate1 + ratio * coordinate2) - C0 = 0
+// J = [J1 ratio * J2]
+// K = J * invM * JT
+// = J1 * invM1 * J1T + ratio * ratio * J2 * invM2 * J2T
+//
+// Revolute:
+// coordinate = rotation
+// Cdot = angularVelocity
+// J = [0 0 1]
+// K = J * invM * JT = invI
+//
+// Prismatic:
+// coordinate = dot(p - pg, ug)
+// Cdot = dot(v + cross(w, r), ug)
+// J = [ug cross(r, ug)]
+// K = J * invM * JT = invMass + invI * cross(r, ug)^2
+
+b2GearJoint::b2GearJoint(const b2GearJointDef* def)
+: b2Joint(def)
+{
+ m_joint1 = def->joint1;
+ m_joint2 = def->joint2;
+
+ m_typeA = m_joint1->GetType();
+ m_typeB = m_joint2->GetType();
+
+ b2Assert(m_typeA == e_revoluteJoint || m_typeA == e_prismaticJoint);
+ b2Assert(m_typeB == e_revoluteJoint || m_typeB == e_prismaticJoint);
+
+ float32 coordinateA, coordinateB;
+
+ // TODO_ERIN there might be some problem with the joint edges in b2Joint.
+
+ m_bodyC = m_joint1->GetBodyA();
+ m_bodyA = m_joint1->GetBodyB();
+
+ // Get geometry of joint1
+ b2Transform xfA = m_bodyA->m_xf;
+ float32 aA = m_bodyA->m_sweep.a;
+ b2Transform xfC = m_bodyC->m_xf;
+ float32 aC = m_bodyC->m_sweep.a;
+
+ if (m_typeA == e_revoluteJoint)
+ {
+ b2RevoluteJoint* revolute = (b2RevoluteJoint*)def->joint1;
+ m_localAnchorC = revolute->m_localAnchorA;
+ m_localAnchorA = revolute->m_localAnchorB;
+ m_referenceAngleA = revolute->m_referenceAngle;
+ m_localAxisC.SetZero();
+
+ coordinateA = aA - aC - m_referenceAngleA;
+ }
+ else
+ {
+ b2PrismaticJoint* prismatic = (b2PrismaticJoint*)def->joint1;
+ m_localAnchorC = prismatic->m_localAnchorA;
+ m_localAnchorA = prismatic->m_localAnchorB;
+ m_referenceAngleA = prismatic->m_referenceAngle;
+ m_localAxisC = prismatic->m_localXAxisA;
+
+ b2Vec2 pC = m_localAnchorC;
+ b2Vec2 pA = b2MulT(xfC.q, b2Mul(xfA.q, m_localAnchorA) + (xfA.p - xfC.p));
+ coordinateA = b2Dot(pA - pC, m_localAxisC);
+ }
+
+ m_bodyD = m_joint2->GetBodyA();
+ m_bodyB = m_joint2->GetBodyB();
+
+ // Get geometry of joint2
+ b2Transform xfB = m_bodyB->m_xf;
+ float32 aB = m_bodyB->m_sweep.a;
+ b2Transform xfD = m_bodyD->m_xf;
+ float32 aD = m_bodyD->m_sweep.a;
+
+ if (m_typeB == e_revoluteJoint)
+ {
+ b2RevoluteJoint* revolute = (b2RevoluteJoint*)def->joint2;
+ m_localAnchorD = revolute->m_localAnchorA;
+ m_localAnchorB = revolute->m_localAnchorB;
+ m_referenceAngleB = revolute->m_referenceAngle;
+ m_localAxisD.SetZero();
+
+ coordinateB = aB - aD - m_referenceAngleB;
+ }
+ else
+ {
+ b2PrismaticJoint* prismatic = (b2PrismaticJoint*)def->joint2;
+ m_localAnchorD = prismatic->m_localAnchorA;
+ m_localAnchorB = prismatic->m_localAnchorB;
+ m_referenceAngleB = prismatic->m_referenceAngle;
+ m_localAxisD = prismatic->m_localXAxisA;
+
+ b2Vec2 pD = m_localAnchorD;
+ b2Vec2 pB = b2MulT(xfD.q, b2Mul(xfB.q, m_localAnchorB) + (xfB.p - xfD.p));
+ coordinateB = b2Dot(pB - pD, m_localAxisD);
+ }
+
+ m_ratio = def->ratio;
+
+ m_constant = coordinateA + m_ratio * coordinateB;
+
+ m_impulse = 0.0f;
+}
+
+void b2GearJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_indexC = m_bodyC->m_islandIndex;
+ m_indexD = m_bodyD->m_islandIndex;
+ m_lcA = m_bodyA->m_sweep.localCenter;
+ m_lcB = m_bodyB->m_sweep.localCenter;
+ m_lcC = m_bodyC->m_sweep.localCenter;
+ m_lcD = m_bodyD->m_sweep.localCenter;
+ m_mA = m_bodyA->m_invMass;
+ m_mB = m_bodyB->m_invMass;
+ m_mC = m_bodyC->m_invMass;
+ m_mD = m_bodyD->m_invMass;
+ m_iA = m_bodyA->m_invI;
+ m_iB = m_bodyB->m_invI;
+ m_iC = m_bodyC->m_invI;
+ m_iD = m_bodyD->m_invI;
+
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ float32 aC = data.positions[m_indexC].a;
+ b2Vec2 vC = data.velocities[m_indexC].v;
+ float32 wC = data.velocities[m_indexC].w;
+
+ float32 aD = data.positions[m_indexD].a;
+ b2Vec2 vD = data.velocities[m_indexD].v;
+ float32 wD = data.velocities[m_indexD].w;
+
+ b2Rot qA(aA), qB(aB), qC(aC), qD(aD);
+
+ m_mass = 0.0f;
+
+ if (m_typeA == e_revoluteJoint)
+ {
+ m_JvAC.SetZero();
+ m_JwA = 1.0f;
+ m_JwC = 1.0f;
+ m_mass += m_iA + m_iC;
+ }
+ else
+ {
+ b2Vec2 u = b2Mul(qC, m_localAxisC);
+ b2Vec2 rC = b2Mul(qC, m_localAnchorC - m_lcC);
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_lcA);
+ m_JvAC = u;
+ m_JwC = b2Cross(rC, u);
+ m_JwA = b2Cross(rA, u);
+ m_mass += m_mC + m_mA + m_iC * m_JwC * m_JwC + m_iA * m_JwA * m_JwA;
+ }
+
+ if (m_typeB == e_revoluteJoint)
+ {
+ m_JvBD.SetZero();
+ m_JwB = m_ratio;
+ m_JwD = m_ratio;
+ m_mass += m_ratio * m_ratio * (m_iB + m_iD);
+ }
+ else
+ {
+ b2Vec2 u = b2Mul(qD, m_localAxisD);
+ b2Vec2 rD = b2Mul(qD, m_localAnchorD - m_lcD);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_lcB);
+ m_JvBD = m_ratio * u;
+ m_JwD = m_ratio * b2Cross(rD, u);
+ m_JwB = m_ratio * b2Cross(rB, u);
+ m_mass += m_ratio * m_ratio * (m_mD + m_mB) + m_iD * m_JwD * m_JwD + m_iB * m_JwB * m_JwB;
+ }
+
+ // Compute effective mass.
+ m_mass = m_mass > 0.0f ? 1.0f / m_mass : 0.0f;
+
+ if (data.step.warmStarting)
+ {
+ vA += (m_mA * m_impulse) * m_JvAC;
+ wA += m_iA * m_impulse * m_JwA;
+ vB += (m_mB * m_impulse) * m_JvBD;
+ wB += m_iB * m_impulse * m_JwB;
+ vC -= (m_mC * m_impulse) * m_JvAC;
+ wC -= m_iC * m_impulse * m_JwC;
+ vD -= (m_mD * m_impulse) * m_JvBD;
+ wD -= m_iD * m_impulse * m_JwD;
+ }
+ else
+ {
+ m_impulse = 0.0f;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+ data.velocities[m_indexC].v = vC;
+ data.velocities[m_indexC].w = wC;
+ data.velocities[m_indexD].v = vD;
+ data.velocities[m_indexD].w = wD;
+}
+
+void b2GearJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+ b2Vec2 vC = data.velocities[m_indexC].v;
+ float32 wC = data.velocities[m_indexC].w;
+ b2Vec2 vD = data.velocities[m_indexD].v;
+ float32 wD = data.velocities[m_indexD].w;
+
+ float32 Cdot = b2Dot(m_JvAC, vA - vC) + b2Dot(m_JvBD, vB - vD);
+ Cdot += (m_JwA * wA - m_JwC * wC) + (m_JwB * wB - m_JwD * wD);
+
+ float32 impulse = -m_mass * Cdot;
+ m_impulse += impulse;
+
+ vA += (m_mA * impulse) * m_JvAC;
+ wA += m_iA * impulse * m_JwA;
+ vB += (m_mB * impulse) * m_JvBD;
+ wB += m_iB * impulse * m_JwB;
+ vC -= (m_mC * impulse) * m_JvAC;
+ wC -= m_iC * impulse * m_JwC;
+ vD -= (m_mD * impulse) * m_JvBD;
+ wD -= m_iD * impulse * m_JwD;
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+ data.velocities[m_indexC].v = vC;
+ data.velocities[m_indexC].w = wC;
+ data.velocities[m_indexD].v = vD;
+ data.velocities[m_indexD].w = wD;
+}
+
+bool b2GearJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 cC = data.positions[m_indexC].c;
+ float32 aC = data.positions[m_indexC].a;
+ b2Vec2 cD = data.positions[m_indexD].c;
+ float32 aD = data.positions[m_indexD].a;
+
+ b2Rot qA(aA), qB(aB), qC(aC), qD(aD);
+
+ float32 linearError = 0.0f;
+
+ float32 coordinateA, coordinateB;
+
+ b2Vec2 JvAC, JvBD;
+ float32 JwA, JwB, JwC, JwD;
+ float32 mass = 0.0f;
+
+ if (m_typeA == e_revoluteJoint)
+ {
+ JvAC.SetZero();
+ JwA = 1.0f;
+ JwC = 1.0f;
+ mass += m_iA + m_iC;
+
+ coordinateA = aA - aC - m_referenceAngleA;
+ }
+ else
+ {
+ b2Vec2 u = b2Mul(qC, m_localAxisC);
+ b2Vec2 rC = b2Mul(qC, m_localAnchorC - m_lcC);
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_lcA);
+ JvAC = u;
+ JwC = b2Cross(rC, u);
+ JwA = b2Cross(rA, u);
+ mass += m_mC + m_mA + m_iC * JwC * JwC + m_iA * JwA * JwA;
+
+ b2Vec2 pC = m_localAnchorC - m_lcC;
+ b2Vec2 pA = b2MulT(qC, rA + (cA - cC));
+ coordinateA = b2Dot(pA - pC, m_localAxisC);
+ }
+
+ if (m_typeB == e_revoluteJoint)
+ {
+ JvBD.SetZero();
+ JwB = m_ratio;
+ JwD = m_ratio;
+ mass += m_ratio * m_ratio * (m_iB + m_iD);
+
+ coordinateB = aB - aD - m_referenceAngleB;
+ }
+ else
+ {
+ b2Vec2 u = b2Mul(qD, m_localAxisD);
+ b2Vec2 rD = b2Mul(qD, m_localAnchorD - m_lcD);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_lcB);
+ JvBD = m_ratio * u;
+ JwD = m_ratio * b2Cross(rD, u);
+ JwB = m_ratio * b2Cross(rB, u);
+ mass += m_ratio * m_ratio * (m_mD + m_mB) + m_iD * JwD * JwD + m_iB * JwB * JwB;
+
+ b2Vec2 pD = m_localAnchorD - m_lcD;
+ b2Vec2 pB = b2MulT(qD, rB + (cB - cD));
+ coordinateB = b2Dot(pB - pD, m_localAxisD);
+ }
+
+ float32 C = (coordinateA + m_ratio * coordinateB) - m_constant;
+
+ float32 impulse = 0.0f;
+ if (mass > 0.0f)
+ {
+ impulse = -C / mass;
+ }
+
+ cA += m_mA * impulse * JvAC;
+ aA += m_iA * impulse * JwA;
+ cB += m_mB * impulse * JvBD;
+ aB += m_iB * impulse * JwB;
+ cC -= m_mC * impulse * JvAC;
+ aC -= m_iC * impulse * JwC;
+ cD -= m_mD * impulse * JvBD;
+ aD -= m_iD * impulse * JwD;
+
+ data.positions[m_indexA].c = cA;
+ data.positions[m_indexA].a = aA;
+ data.positions[m_indexB].c = cB;
+ data.positions[m_indexB].a = aB;
+ data.positions[m_indexC].c = cC;
+ data.positions[m_indexC].a = aC;
+ data.positions[m_indexD].c = cD;
+ data.positions[m_indexD].a = aD;
+
+ // TODO_ERIN not implemented
+ return linearError < b2_linearSlop;
+}
+
+b2Vec2 b2GearJoint::GetAnchorA() const
+{
+ return m_bodyA->GetWorldPoint(m_localAnchorA);
+}
+
+b2Vec2 b2GearJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2GearJoint::GetReactionForce(float32 inv_dt) const
+{
+ b2Vec2 P = m_impulse * m_JvAC;
+ return inv_dt * P;
+}
+
+float32 b2GearJoint::GetReactionTorque(float32 inv_dt) const
+{
+ float32 L = m_impulse * m_JwA;
+ return inv_dt * L;
+}
+
+void b2GearJoint::SetRatio(float32 ratio)
+{
+ b2Assert(b2IsValid(ratio));
+ m_ratio = ratio;
+}
+
+float32 b2GearJoint::GetRatio() const
+{
+ return m_ratio;
+}
+
+void b2GearJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ int32 index1 = m_joint1->m_index;
+ int32 index2 = m_joint2->m_index;
+
+ b2Log(" b2GearJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.joint1 = joints[%d];\n", index1);
+ b2Log(" jd.joint2 = joints[%d];\n", index2);
+ b2Log(" jd.ratio = %.15lef;\n", m_ratio);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2GearJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2GearJoint.h
new file mode 100755
index 00000000..fd3d7b2f
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2GearJoint.h
@@ -0,0 +1,125 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* 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 B2_GEAR_JOINT_H
+#define B2_GEAR_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Gear joint definition. This definition requires two existing
+/// revolute or prismatic joints (any combination will work).
+struct b2GearJointDef : public b2JointDef
+{
+ b2GearJointDef()
+ {
+ type = e_gearJoint;
+ joint1 = NULL;
+ joint2 = NULL;
+ ratio = 1.0f;
+ }
+
+ /// The first revolute/prismatic joint attached to the gear joint.
+ b2Joint* joint1;
+
+ /// The second revolute/prismatic joint attached to the gear joint.
+ b2Joint* joint2;
+
+ /// The gear ratio.
+ /// @see b2GearJoint for explanation.
+ float32 ratio;
+};
+
+/// A gear joint is used to connect two joints together. Either joint
+/// can be a revolute or prismatic joint. You specify a gear ratio
+/// to bind the motions together:
+/// coordinate1 + ratio * coordinate2 = constant
+/// The ratio can be negative or positive. If one joint is a revolute joint
+/// and the other joint is a prismatic joint, then the ratio will have units
+/// of length or units of 1/length.
+/// @warning You have to manually destroy the gear joint if joint1 or joint2
+/// is destroyed.
+class b2GearJoint : public b2Joint
+{
+public:
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// Get the first joint.
+ b2Joint* GetJoint1() { return m_joint1; }
+
+ /// Get the second joint.
+ b2Joint* GetJoint2() { return m_joint2; }
+
+ /// Set/Get the gear ratio.
+ void SetRatio(float32 ratio);
+ float32 GetRatio() const;
+
+ /// Dump joint to dmLog
+ void Dump();
+
+protected:
+
+ friend class b2Joint;
+ b2GearJoint(const b2GearJointDef* data);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ b2Joint* m_joint1;
+ b2Joint* m_joint2;
+
+ b2JointType m_typeA;
+ b2JointType m_typeB;
+
+ // Body A is connected to body C
+ // Body B is connected to body D
+ b2Body* m_bodyC;
+ b2Body* m_bodyD;
+
+ // Solver shared
+ b2Vec2 m_localAnchorA;
+ b2Vec2 m_localAnchorB;
+ b2Vec2 m_localAnchorC;
+ b2Vec2 m_localAnchorD;
+
+ b2Vec2 m_localAxisC;
+ b2Vec2 m_localAxisD;
+
+ float32 m_referenceAngleA;
+ float32 m_referenceAngleB;
+
+ float32 m_constant;
+ float32 m_ratio;
+
+ float32 m_impulse;
+
+ // Solver temp
+ int32 m_indexA, m_indexB, m_indexC, m_indexD;
+ b2Vec2 m_lcA, m_lcB, m_lcC, m_lcD;
+ float32 m_mA, m_mB, m_mC, m_mD;
+ float32 m_iA, m_iB, m_iC, m_iD;
+ b2Vec2 m_JvAC, m_JvBD;
+ float32 m_JwA, m_JwB, m_JwC, m_JwD;
+ float32 m_mass;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2Joint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2Joint.cpp
new file mode 100755
index 00000000..dd55be94
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2Joint.cpp
@@ -0,0 +1,211 @@
+/*
+* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+#include <Box2D/Dynamics/Joints/b2DistanceJoint.h>
+#include <Box2D/Dynamics/Joints/b2WheelJoint.h>
+#include <Box2D/Dynamics/Joints/b2MouseJoint.h>
+#include <Box2D/Dynamics/Joints/b2RevoluteJoint.h>
+#include <Box2D/Dynamics/Joints/b2PrismaticJoint.h>
+#include <Box2D/Dynamics/Joints/b2PulleyJoint.h>
+#include <Box2D/Dynamics/Joints/b2GearJoint.h>
+#include <Box2D/Dynamics/Joints/b2WeldJoint.h>
+#include <Box2D/Dynamics/Joints/b2FrictionJoint.h>
+#include <Box2D/Dynamics/Joints/b2RopeJoint.h>
+#include <Box2D/Dynamics/Joints/b2MotorJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2World.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+
+#include <new>
+
+b2Joint* b2Joint::Create(const b2JointDef* def, b2BlockAllocator* allocator)
+{
+ b2Joint* joint = NULL;
+
+ switch (def->type)
+ {
+ case e_distanceJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2DistanceJoint));
+ joint = new (mem) b2DistanceJoint(static_cast<const b2DistanceJointDef*>(def));
+ }
+ break;
+
+ case e_mouseJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2MouseJoint));
+ joint = new (mem) b2MouseJoint(static_cast<const b2MouseJointDef*>(def));
+ }
+ break;
+
+ case e_prismaticJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2PrismaticJoint));
+ joint = new (mem) b2PrismaticJoint(static_cast<const b2PrismaticJointDef*>(def));
+ }
+ break;
+
+ case e_revoluteJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2RevoluteJoint));
+ joint = new (mem) b2RevoluteJoint(static_cast<const b2RevoluteJointDef*>(def));
+ }
+ break;
+
+ case e_pulleyJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2PulleyJoint));
+ joint = new (mem) b2PulleyJoint(static_cast<const b2PulleyJointDef*>(def));
+ }
+ break;
+
+ case e_gearJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2GearJoint));
+ joint = new (mem) b2GearJoint(static_cast<const b2GearJointDef*>(def));
+ }
+ break;
+
+ case e_wheelJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2WheelJoint));
+ joint = new (mem) b2WheelJoint(static_cast<const b2WheelJointDef*>(def));
+ }
+ break;
+
+ case e_weldJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2WeldJoint));
+ joint = new (mem) b2WeldJoint(static_cast<const b2WeldJointDef*>(def));
+ }
+ break;
+
+ case e_frictionJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2FrictionJoint));
+ joint = new (mem) b2FrictionJoint(static_cast<const b2FrictionJointDef*>(def));
+ }
+ break;
+
+ case e_ropeJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2RopeJoint));
+ joint = new (mem) b2RopeJoint(static_cast<const b2RopeJointDef*>(def));
+ }
+ break;
+
+ case e_motorJoint:
+ {
+ void* mem = allocator->Allocate(sizeof(b2MotorJoint));
+ joint = new (mem) b2MotorJoint(static_cast<const b2MotorJointDef*>(def));
+ }
+ break;
+
+ default:
+ b2Assert(false);
+ break;
+ }
+
+ return joint;
+}
+
+void b2Joint::Destroy(b2Joint* joint, b2BlockAllocator* allocator)
+{
+ joint->~b2Joint();
+ switch (joint->m_type)
+ {
+ case e_distanceJoint:
+ allocator->Free(joint, sizeof(b2DistanceJoint));
+ break;
+
+ case e_mouseJoint:
+ allocator->Free(joint, sizeof(b2MouseJoint));
+ break;
+
+ case e_prismaticJoint:
+ allocator->Free(joint, sizeof(b2PrismaticJoint));
+ break;
+
+ case e_revoluteJoint:
+ allocator->Free(joint, sizeof(b2RevoluteJoint));
+ break;
+
+ case e_pulleyJoint:
+ allocator->Free(joint, sizeof(b2PulleyJoint));
+ break;
+
+ case e_gearJoint:
+ allocator->Free(joint, sizeof(b2GearJoint));
+ break;
+
+ case e_wheelJoint:
+ allocator->Free(joint, sizeof(b2WheelJoint));
+ break;
+
+ case e_weldJoint:
+ allocator->Free(joint, sizeof(b2WeldJoint));
+ break;
+
+ case e_frictionJoint:
+ allocator->Free(joint, sizeof(b2FrictionJoint));
+ break;
+
+ case e_ropeJoint:
+ allocator->Free(joint, sizeof(b2RopeJoint));
+ break;
+
+ case e_motorJoint:
+ allocator->Free(joint, sizeof(b2MotorJoint));
+ break;
+
+ default:
+ b2Assert(false);
+ break;
+ }
+}
+
+b2Joint::b2Joint(const b2JointDef* def)
+{
+ b2Assert(def->bodyA != def->bodyB);
+
+ m_type = def->type;
+ m_prev = NULL;
+ m_next = NULL;
+ m_bodyA = def->bodyA;
+ m_bodyB = def->bodyB;
+ m_index = 0;
+ m_collideConnected = def->collideConnected;
+ m_islandFlag = false;
+ m_userData = def->userData;
+
+ m_edgeA.joint = NULL;
+ m_edgeA.other = NULL;
+ m_edgeA.prev = NULL;
+ m_edgeA.next = NULL;
+
+ m_edgeB.joint = NULL;
+ m_edgeB.other = NULL;
+ m_edgeB.prev = NULL;
+ m_edgeB.next = NULL;
+}
+
+bool b2Joint::IsActive() const
+{
+ return m_bodyA->IsActive() && m_bodyB->IsActive();
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2Joint.h b/games/rider/src/Box2D/Dynamics/Joints/b2Joint.h
new file mode 100755
index 00000000..dd076b6b
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2Joint.h
@@ -0,0 +1,226 @@
+/*
+* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
+*
+* 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 B2_JOINT_H
+#define B2_JOINT_H
+
+#include <Box2D/Common/b2Math.h>
+
+class b2Body;
+class b2Joint;
+struct b2SolverData;
+class b2BlockAllocator;
+
+enum b2JointType
+{
+ e_unknownJoint,
+ e_revoluteJoint,
+ e_prismaticJoint,
+ e_distanceJoint,
+ e_pulleyJoint,
+ e_mouseJoint,
+ e_gearJoint,
+ e_wheelJoint,
+ e_weldJoint,
+ e_frictionJoint,
+ e_ropeJoint,
+ e_motorJoint
+};
+
+enum b2LimitState
+{
+ e_inactiveLimit,
+ e_atLowerLimit,
+ e_atUpperLimit,
+ e_equalLimits
+};
+
+struct b2Jacobian
+{
+ b2Vec2 linear;
+ float32 angularA;
+ float32 angularB;
+};
+
+/// A joint edge is used to connect bodies and joints together
+/// in a joint graph where each body is a node and each joint
+/// is an edge. A joint edge belongs to a doubly linked list
+/// maintained in each attached body. Each joint has two joint
+/// nodes, one for each attached body.
+struct b2JointEdge
+{
+ b2Body* other; ///< provides quick access to the other body attached.
+ b2Joint* joint; ///< the joint
+ b2JointEdge* prev; ///< the previous joint edge in the body's joint list
+ b2JointEdge* next; ///< the next joint edge in the body's joint list
+};
+
+/// Joint definitions are used to construct joints.
+struct b2JointDef
+{
+ b2JointDef()
+ {
+ type = e_unknownJoint;
+ userData = NULL;
+ bodyA = NULL;
+ bodyB = NULL;
+ collideConnected = false;
+ }
+
+ /// The joint type is set automatically for concrete joint types.
+ b2JointType type;
+
+ /// Use this to attach application specific data to your joints.
+ void* userData;
+
+ /// The first attached body.
+ b2Body* bodyA;
+
+ /// The second attached body.
+ b2Body* bodyB;
+
+ /// Set this flag to true if the attached bodies should collide.
+ bool collideConnected;
+};
+
+/// The base joint class. Joints are used to constraint two bodies together in
+/// various fashions. Some joints also feature limits and motors.
+class b2Joint
+{
+public:
+
+ /// Get the type of the concrete joint.
+ b2JointType GetType() const;
+
+ /// Get the first body attached to this joint.
+ b2Body* GetBodyA();
+
+ /// Get the second body attached to this joint.
+ b2Body* GetBodyB();
+
+ /// Get the anchor point on bodyA in world coordinates.
+ virtual b2Vec2 GetAnchorA() const = 0;
+
+ /// Get the anchor point on bodyB in world coordinates.
+ virtual b2Vec2 GetAnchorB() const = 0;
+
+ /// Get the reaction force on bodyB at the joint anchor in Newtons.
+ virtual b2Vec2 GetReactionForce(float32 inv_dt) const = 0;
+
+ /// Get the reaction torque on bodyB in N*m.
+ virtual float32 GetReactionTorque(float32 inv_dt) const = 0;
+
+ /// Get the next joint the world joint list.
+ b2Joint* GetNext();
+ const b2Joint* GetNext() const;
+
+ /// Get the user data pointer.
+ void* GetUserData() const;
+
+ /// Set the user data pointer.
+ void SetUserData(void* data);
+
+ /// Short-cut function to determine if either body is inactive.
+ bool IsActive() const;
+
+ /// Get collide connected.
+ /// Note: modifying the collide connect flag won't work correctly because
+ /// the flag is only checked when fixture AABBs begin to overlap.
+ bool GetCollideConnected() const;
+
+ /// Dump this joint to the log file.
+ virtual void Dump() { b2Log("// Dump is not supported for this joint type.\n"); }
+
+ /// Shift the origin for any points stored in world coordinates.
+ virtual void ShiftOrigin(const b2Vec2& newOrigin) { B2_NOT_USED(newOrigin); }
+
+protected:
+ friend class b2World;
+ friend class b2Body;
+ friend class b2Island;
+ friend class b2GearJoint;
+
+ static b2Joint* Create(const b2JointDef* def, b2BlockAllocator* allocator);
+ static void Destroy(b2Joint* joint, b2BlockAllocator* allocator);
+
+ b2Joint(const b2JointDef* def);
+ virtual ~b2Joint() {}
+
+ virtual void InitVelocityConstraints(const b2SolverData& data) = 0;
+ virtual void SolveVelocityConstraints(const b2SolverData& data) = 0;
+
+ // This returns true if the position errors are within tolerance.
+ virtual bool SolvePositionConstraints(const b2SolverData& data) = 0;
+
+ b2JointType m_type;
+ b2Joint* m_prev;
+ b2Joint* m_next;
+ b2JointEdge m_edgeA;
+ b2JointEdge m_edgeB;
+ b2Body* m_bodyA;
+ b2Body* m_bodyB;
+
+ int32 m_index;
+
+ bool m_islandFlag;
+ bool m_collideConnected;
+
+ void* m_userData;
+};
+
+inline b2JointType b2Joint::GetType() const
+{
+ return m_type;
+}
+
+inline b2Body* b2Joint::GetBodyA()
+{
+ return m_bodyA;
+}
+
+inline b2Body* b2Joint::GetBodyB()
+{
+ return m_bodyB;
+}
+
+inline b2Joint* b2Joint::GetNext()
+{
+ return m_next;
+}
+
+inline const b2Joint* b2Joint::GetNext() const
+{
+ return m_next;
+}
+
+inline void* b2Joint::GetUserData() const
+{
+ return m_userData;
+}
+
+inline void b2Joint::SetUserData(void* data)
+{
+ m_userData = data;
+}
+
+inline bool b2Joint::GetCollideConnected() const
+{
+ return m_collideConnected;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2MotorJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2MotorJoint.cpp
new file mode 100755
index 00000000..e5bbcb16
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2MotorJoint.cpp
@@ -0,0 +1,304 @@
+/*
+* Copyright (c) 2006-2012 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2MotorJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// Point-to-point constraint
+// Cdot = v2 - v1
+// = v2 + cross(w2, r2) - v1 - cross(w1, r1)
+// J = [-I -r1_skew I r2_skew ]
+// Identity used:
+// w k % (rx i + ry j) = w * (-ry i + rx j)
+
+// Angle constraint
+// Cdot = w2 - w1
+// J = [0 0 -1 0 0 1]
+// K = invI1 + invI2
+
+void b2MotorJointDef::Initialize(b2Body* bA, b2Body* bB)
+{
+ bodyA = bA;
+ bodyB = bB;
+ b2Vec2 xB = bodyB->GetPosition();
+ linearOffset = bodyA->GetLocalPoint(xB);
+
+ float32 angleA = bodyA->GetAngle();
+ float32 angleB = bodyB->GetAngle();
+ angularOffset = angleB - angleA;
+}
+
+b2MotorJoint::b2MotorJoint(const b2MotorJointDef* def)
+: b2Joint(def)
+{
+ m_linearOffset = def->linearOffset;
+ m_angularOffset = def->angularOffset;
+
+ m_linearImpulse.SetZero();
+ m_angularImpulse = 0.0f;
+
+ m_maxForce = def->maxForce;
+ m_maxTorque = def->maxTorque;
+ m_correctionFactor = def->correctionFactor;
+}
+
+void b2MotorJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterA = m_bodyA->m_sweep.localCenter;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassA = m_bodyA->m_invMass;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIA = m_bodyA->m_invI;
+ m_invIB = m_bodyB->m_invI;
+
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qA(aA), qB(aB);
+
+ // Compute the effective mass matrix.
+ m_rA = b2Mul(qA, -m_localCenterA);
+ m_rB = b2Mul(qB, -m_localCenterB);
+
+ // J = [-I -r1_skew I r2_skew]
+ // [ 0 -1 0 1]
+ // r_skew = [-ry; rx]
+
+ // Matlab
+ // K = [ mA+r1y^2*iA+mB+r2y^2*iB, -r1y*iA*r1x-r2y*iB*r2x, -r1y*iA-r2y*iB]
+ // [ -r1y*iA*r1x-r2y*iB*r2x, mA+r1x^2*iA+mB+r2x^2*iB, r1x*iA+r2x*iB]
+ // [ -r1y*iA-r2y*iB, r1x*iA+r2x*iB, iA+iB]
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ b2Mat22 K;
+ K.ex.x = mA + mB + iA * m_rA.y * m_rA.y + iB * m_rB.y * m_rB.y;
+ K.ex.y = -iA * m_rA.x * m_rA.y - iB * m_rB.x * m_rB.y;
+ K.ey.x = K.ex.y;
+ K.ey.y = mA + mB + iA * m_rA.x * m_rA.x + iB * m_rB.x * m_rB.x;
+
+ m_linearMass = K.GetInverse();
+
+ m_angularMass = iA + iB;
+ if (m_angularMass > 0.0f)
+ {
+ m_angularMass = 1.0f / m_angularMass;
+ }
+
+ m_linearError = cB + m_rB - cA - m_rA - b2Mul(qA, m_linearOffset);
+ m_angularError = aB - aA - m_angularOffset;
+
+ if (data.step.warmStarting)
+ {
+ // Scale impulses to support a variable time step.
+ m_linearImpulse *= data.step.dtRatio;
+ m_angularImpulse *= data.step.dtRatio;
+
+ b2Vec2 P(m_linearImpulse.x, m_linearImpulse.y);
+ vA -= mA * P;
+ wA -= iA * (b2Cross(m_rA, P) + m_angularImpulse);
+ vB += mB * P;
+ wB += iB * (b2Cross(m_rB, P) + m_angularImpulse);
+ }
+ else
+ {
+ m_linearImpulse.SetZero();
+ m_angularImpulse = 0.0f;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2MotorJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ float32 h = data.step.dt;
+ float32 inv_h = data.step.inv_dt;
+
+ // Solve angular friction
+ {
+ float32 Cdot = wB - wA + inv_h * m_correctionFactor * m_angularError;
+ float32 impulse = -m_angularMass * Cdot;
+
+ float32 oldImpulse = m_angularImpulse;
+ float32 maxImpulse = h * m_maxTorque;
+ m_angularImpulse = b2Clamp(m_angularImpulse + impulse, -maxImpulse, maxImpulse);
+ impulse = m_angularImpulse - oldImpulse;
+
+ wA -= iA * impulse;
+ wB += iB * impulse;
+ }
+
+ // Solve linear friction
+ {
+ b2Vec2 Cdot = vB + b2Cross(wB, m_rB) - vA - b2Cross(wA, m_rA) + inv_h * m_correctionFactor * m_linearError;
+
+ b2Vec2 impulse = -b2Mul(m_linearMass, Cdot);
+ b2Vec2 oldImpulse = m_linearImpulse;
+ m_linearImpulse += impulse;
+
+ float32 maxImpulse = h * m_maxForce;
+
+ if (m_linearImpulse.LengthSquared() > maxImpulse * maxImpulse)
+ {
+ m_linearImpulse.Normalize();
+ m_linearImpulse *= maxImpulse;
+ }
+
+ impulse = m_linearImpulse - oldImpulse;
+
+ vA -= mA * impulse;
+ wA -= iA * b2Cross(m_rA, impulse);
+
+ vB += mB * impulse;
+ wB += iB * b2Cross(m_rB, impulse);
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2MotorJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ B2_NOT_USED(data);
+
+ return true;
+}
+
+b2Vec2 b2MotorJoint::GetAnchorA() const
+{
+ return m_bodyA->GetPosition();
+}
+
+b2Vec2 b2MotorJoint::GetAnchorB() const
+{
+ return m_bodyB->GetPosition();
+}
+
+b2Vec2 b2MotorJoint::GetReactionForce(float32 inv_dt) const
+{
+ return inv_dt * m_linearImpulse;
+}
+
+float32 b2MotorJoint::GetReactionTorque(float32 inv_dt) const
+{
+ return inv_dt * m_angularImpulse;
+}
+
+void b2MotorJoint::SetMaxForce(float32 force)
+{
+ b2Assert(b2IsValid(force) && force >= 0.0f);
+ m_maxForce = force;
+}
+
+float32 b2MotorJoint::GetMaxForce() const
+{
+ return m_maxForce;
+}
+
+void b2MotorJoint::SetMaxTorque(float32 torque)
+{
+ b2Assert(b2IsValid(torque) && torque >= 0.0f);
+ m_maxTorque = torque;
+}
+
+float32 b2MotorJoint::GetMaxTorque() const
+{
+ return m_maxTorque;
+}
+
+void b2MotorJoint::SetCorrectionFactor(float32 factor)
+{
+ b2Assert(b2IsValid(factor) && 0.0f <= factor && factor <= 1.0f);
+ m_correctionFactor = factor;
+}
+
+float32 b2MotorJoint::GetCorrectionFactor() const
+{
+ return m_correctionFactor;
+}
+
+void b2MotorJoint::SetLinearOffset(const b2Vec2& linearOffset)
+{
+ if (linearOffset.x != m_linearOffset.x || linearOffset.y != m_linearOffset.y)
+ {
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_linearOffset = linearOffset;
+ }
+}
+
+const b2Vec2& b2MotorJoint::GetLinearOffset() const
+{
+ return m_linearOffset;
+}
+
+void b2MotorJoint::SetAngularOffset(float32 angularOffset)
+{
+ if (angularOffset != m_angularOffset)
+ {
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_angularOffset = angularOffset;
+ }
+}
+
+float32 b2MotorJoint::GetAngularOffset() const
+{
+ return m_angularOffset;
+}
+
+void b2MotorJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ b2Log(" b2MotorJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.linearOffset.Set(%.15lef, %.15lef);\n", m_linearOffset.x, m_linearOffset.y);
+ b2Log(" jd.angularOffset = %.15lef;\n", m_angularOffset);
+ b2Log(" jd.maxForce = %.15lef;\n", m_maxForce);
+ b2Log(" jd.maxTorque = %.15lef;\n", m_maxTorque);
+ b2Log(" jd.correctionFactor = %.15lef;\n", m_correctionFactor);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2MotorJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2MotorJoint.h
new file mode 100755
index 00000000..0b76d6fe
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2MotorJoint.h
@@ -0,0 +1,133 @@
+/*
+* Copyright (c) 2006-2012 Erin Catto http://www.box2d.org
+*
+* 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 B2_MOTOR_JOINT_H
+#define B2_MOTOR_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Motor joint definition.
+struct b2MotorJointDef : public b2JointDef
+{
+ b2MotorJointDef()
+ {
+ type = e_motorJoint;
+ linearOffset.SetZero();
+ angularOffset = 0.0f;
+ maxForce = 1.0f;
+ maxTorque = 1.0f;
+ correctionFactor = 0.3f;
+ }
+
+ /// Initialize the bodies and offsets using the current transforms.
+ void Initialize(b2Body* bodyA, b2Body* bodyB);
+
+ /// Position of bodyB minus the position of bodyA, in bodyA's frame, in meters.
+ b2Vec2 linearOffset;
+
+ /// The bodyB angle minus bodyA angle in radians.
+ float32 angularOffset;
+
+ /// The maximum motor force in N.
+ float32 maxForce;
+
+ /// The maximum motor torque in N-m.
+ float32 maxTorque;
+
+ /// Position correction factor in the range [0,1].
+ float32 correctionFactor;
+};
+
+/// A motor joint is used to control the relative motion
+/// between two bodies. A typical usage is to control the movement
+/// of a dynamic body with respect to the ground.
+class b2MotorJoint : public b2Joint
+{
+public:
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// Set/get the target linear offset, in frame A, in meters.
+ void SetLinearOffset(const b2Vec2& linearOffset);
+ const b2Vec2& GetLinearOffset() const;
+
+ /// Set/get the target angular offset, in radians.
+ void SetAngularOffset(float32 angularOffset);
+ float32 GetAngularOffset() const;
+
+ /// Set the maximum friction force in N.
+ void SetMaxForce(float32 force);
+
+ /// Get the maximum friction force in N.
+ float32 GetMaxForce() const;
+
+ /// Set the maximum friction torque in N*m.
+ void SetMaxTorque(float32 torque);
+
+ /// Get the maximum friction torque in N*m.
+ float32 GetMaxTorque() const;
+
+ /// Set the position correction factor in the range [0,1].
+ void SetCorrectionFactor(float32 factor);
+
+ /// Get the position correction factor in the range [0,1].
+ float32 GetCorrectionFactor() const;
+
+ /// Dump to b2Log
+ void Dump();
+
+protected:
+
+ friend class b2Joint;
+
+ b2MotorJoint(const b2MotorJointDef* def);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ // Solver shared
+ b2Vec2 m_linearOffset;
+ float32 m_angularOffset;
+ b2Vec2 m_linearImpulse;
+ float32 m_angularImpulse;
+ float32 m_maxForce;
+ float32 m_maxTorque;
+ float32 m_correctionFactor;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_rA;
+ b2Vec2 m_rB;
+ b2Vec2 m_localCenterA;
+ b2Vec2 m_localCenterB;
+ b2Vec2 m_linearError;
+ float32 m_angularError;
+ float32 m_invMassA;
+ float32 m_invMassB;
+ float32 m_invIA;
+ float32 m_invIB;
+ b2Mat22 m_linearMass;
+ float32 m_angularMass;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2MouseJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2MouseJoint.cpp
new file mode 100755
index 00000000..ea96edde
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2MouseJoint.cpp
@@ -0,0 +1,222 @@
+/*
+* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2MouseJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// p = attached point, m = mouse point
+// C = p - m
+// Cdot = v
+// = v + cross(w, r)
+// J = [I r_skew]
+// Identity used:
+// w k % (rx i + ry j) = w * (-ry i + rx j)
+
+b2MouseJoint::b2MouseJoint(const b2MouseJointDef* def)
+: b2Joint(def)
+{
+ b2Assert(def->target.IsValid());
+ b2Assert(b2IsValid(def->maxForce) && def->maxForce >= 0.0f);
+ b2Assert(b2IsValid(def->frequencyHz) && def->frequencyHz >= 0.0f);
+ b2Assert(b2IsValid(def->dampingRatio) && def->dampingRatio >= 0.0f);
+
+ m_targetA = def->target;
+ m_localAnchorB = b2MulT(m_bodyB->GetTransform(), m_targetA);
+
+ m_maxForce = def->maxForce;
+ m_impulse.SetZero();
+
+ m_frequencyHz = def->frequencyHz;
+ m_dampingRatio = def->dampingRatio;
+
+ m_beta = 0.0f;
+ m_gamma = 0.0f;
+}
+
+void b2MouseJoint::SetTarget(const b2Vec2& target)
+{
+ if (m_bodyB->IsAwake() == false)
+ {
+ m_bodyB->SetAwake(true);
+ }
+ m_targetA = target;
+}
+
+const b2Vec2& b2MouseJoint::GetTarget() const
+{
+ return m_targetA;
+}
+
+void b2MouseJoint::SetMaxForce(float32 force)
+{
+ m_maxForce = force;
+}
+
+float32 b2MouseJoint::GetMaxForce() const
+{
+ return m_maxForce;
+}
+
+void b2MouseJoint::SetFrequency(float32 hz)
+{
+ m_frequencyHz = hz;
+}
+
+float32 b2MouseJoint::GetFrequency() const
+{
+ return m_frequencyHz;
+}
+
+void b2MouseJoint::SetDampingRatio(float32 ratio)
+{
+ m_dampingRatio = ratio;
+}
+
+float32 b2MouseJoint::GetDampingRatio() const
+{
+ return m_dampingRatio;
+}
+
+void b2MouseJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIB = m_bodyB->m_invI;
+
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qB(aB);
+
+ float32 mass = m_bodyB->GetMass();
+
+ // Frequency
+ float32 omega = 2.0f * b2_pi * m_frequencyHz;
+
+ // Damping coefficient
+ float32 d = 2.0f * mass * m_dampingRatio * omega;
+
+ // Spring stiffness
+ float32 k = mass * (omega * omega);
+
+ // magic formulas
+ // gamma has units of inverse mass.
+ // beta has units of inverse time.
+ float32 h = data.step.dt;
+ b2Assert(d + h * k > b2_epsilon);
+ m_gamma = h * (d + h * k);
+ if (m_gamma != 0.0f)
+ {
+ m_gamma = 1.0f / m_gamma;
+ }
+ m_beta = h * k * m_gamma;
+
+ // Compute the effective mass matrix.
+ m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+
+ // K = [(1/m1 + 1/m2) * eye(2) - skew(r1) * invI1 * skew(r1) - skew(r2) * invI2 * skew(r2)]
+ // = [1/m1+1/m2 0 ] + invI1 * [r1.y*r1.y -r1.x*r1.y] + invI2 * [r1.y*r1.y -r1.x*r1.y]
+ // [ 0 1/m1+1/m2] [-r1.x*r1.y r1.x*r1.x] [-r1.x*r1.y r1.x*r1.x]
+ b2Mat22 K;
+ K.ex.x = m_invMassB + m_invIB * m_rB.y * m_rB.y + m_gamma;
+ K.ex.y = -m_invIB * m_rB.x * m_rB.y;
+ K.ey.x = K.ex.y;
+ K.ey.y = m_invMassB + m_invIB * m_rB.x * m_rB.x + m_gamma;
+
+ m_mass = K.GetInverse();
+
+ m_C = cB + m_rB - m_targetA;
+ m_C *= m_beta;
+
+ // Cheat with some damping
+ wB *= 0.98f;
+
+ if (data.step.warmStarting)
+ {
+ m_impulse *= data.step.dtRatio;
+ vB += m_invMassB * m_impulse;
+ wB += m_invIB * b2Cross(m_rB, m_impulse);
+ }
+ else
+ {
+ m_impulse.SetZero();
+ }
+
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2MouseJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ // Cdot = v + cross(w, r)
+ b2Vec2 Cdot = vB + b2Cross(wB, m_rB);
+ b2Vec2 impulse = b2Mul(m_mass, -(Cdot + m_C + m_gamma * m_impulse));
+
+ b2Vec2 oldImpulse = m_impulse;
+ m_impulse += impulse;
+ float32 maxImpulse = data.step.dt * m_maxForce;
+ if (m_impulse.LengthSquared() > maxImpulse * maxImpulse)
+ {
+ m_impulse *= maxImpulse / m_impulse.Length();
+ }
+ impulse = m_impulse - oldImpulse;
+
+ vB += m_invMassB * impulse;
+ wB += m_invIB * b2Cross(m_rB, impulse);
+
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2MouseJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ B2_NOT_USED(data);
+ return true;
+}
+
+b2Vec2 b2MouseJoint::GetAnchorA() const
+{
+ return m_targetA;
+}
+
+b2Vec2 b2MouseJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2MouseJoint::GetReactionForce(float32 inv_dt) const
+{
+ return inv_dt * m_impulse;
+}
+
+float32 b2MouseJoint::GetReactionTorque(float32 inv_dt) const
+{
+ return inv_dt * 0.0f;
+}
+
+void b2MouseJoint::ShiftOrigin(const b2Vec2& newOrigin)
+{
+ m_targetA -= newOrigin;
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2MouseJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2MouseJoint.h
new file mode 100755
index 00000000..8b50a0e1
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2MouseJoint.h
@@ -0,0 +1,129 @@
+/*
+* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
+*
+* 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 B2_MOUSE_JOINT_H
+#define B2_MOUSE_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Mouse joint definition. This requires a world target point,
+/// tuning parameters, and the time step.
+struct b2MouseJointDef : public b2JointDef
+{
+ b2MouseJointDef()
+ {
+ type = e_mouseJoint;
+ target.Set(0.0f, 0.0f);
+ maxForce = 0.0f;
+ frequencyHz = 5.0f;
+ dampingRatio = 0.7f;
+ }
+
+ /// The initial world target point. This is assumed
+ /// to coincide with the body anchor initially.
+ b2Vec2 target;
+
+ /// The maximum constraint force that can be exerted
+ /// to move the candidate body. Usually you will express
+ /// as some multiple of the weight (multiplier * mass * gravity).
+ float32 maxForce;
+
+ /// The response speed.
+ float32 frequencyHz;
+
+ /// The damping ratio. 0 = no damping, 1 = critical damping.
+ float32 dampingRatio;
+};
+
+/// A mouse joint is used to make a point on a body track a
+/// specified world point. This a soft constraint with a maximum
+/// force. This allows the constraint to stretch and without
+/// applying huge forces.
+/// NOTE: this joint is not documented in the manual because it was
+/// developed to be used in the testbed. If you want to learn how to
+/// use the mouse joint, look at the testbed.
+class b2MouseJoint : public b2Joint
+{
+public:
+
+ /// Implements b2Joint.
+ b2Vec2 GetAnchorA() const;
+
+ /// Implements b2Joint.
+ b2Vec2 GetAnchorB() const;
+
+ /// Implements b2Joint.
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+
+ /// Implements b2Joint.
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// Use this to update the target point.
+ void SetTarget(const b2Vec2& target);
+ const b2Vec2& GetTarget() const;
+
+ /// Set/get the maximum force in Newtons.
+ void SetMaxForce(float32 force);
+ float32 GetMaxForce() const;
+
+ /// Set/get the frequency in Hertz.
+ void SetFrequency(float32 hz);
+ float32 GetFrequency() const;
+
+ /// Set/get the damping ratio (dimensionless).
+ void SetDampingRatio(float32 ratio);
+ float32 GetDampingRatio() const;
+
+ /// The mouse joint does not support dumping.
+ void Dump() { b2Log("Mouse joint dumping is not supported.\n"); }
+
+ /// Implement b2Joint::ShiftOrigin
+ void ShiftOrigin(const b2Vec2& newOrigin);
+
+protected:
+ friend class b2Joint;
+
+ b2MouseJoint(const b2MouseJointDef* def);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ b2Vec2 m_localAnchorB;
+ b2Vec2 m_targetA;
+ float32 m_frequencyHz;
+ float32 m_dampingRatio;
+ float32 m_beta;
+
+ // Solver shared
+ b2Vec2 m_impulse;
+ float32 m_maxForce;
+ float32 m_gamma;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_rB;
+ b2Vec2 m_localCenterB;
+ float32 m_invMassB;
+ float32 m_invIB;
+ b2Mat22 m_mass;
+ b2Vec2 m_C;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2PrismaticJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2PrismaticJoint.cpp
new file mode 100755
index 00000000..26f53968
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2PrismaticJoint.cpp
@@ -0,0 +1,626 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2PrismaticJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// Linear constraint (point-to-line)
+// d = p2 - p1 = x2 + r2 - x1 - r1
+// C = dot(perp, d)
+// Cdot = dot(d, cross(w1, perp)) + dot(perp, v2 + cross(w2, r2) - v1 - cross(w1, r1))
+// = -dot(perp, v1) - dot(cross(d + r1, perp), w1) + dot(perp, v2) + dot(cross(r2, perp), v2)
+// J = [-perp, -cross(d + r1, perp), perp, cross(r2,perp)]
+//
+// Angular constraint
+// C = a2 - a1 + a_initial
+// Cdot = w2 - w1
+// J = [0 0 -1 0 0 1]
+//
+// K = J * invM * JT
+//
+// J = [-a -s1 a s2]
+// [0 -1 0 1]
+// a = perp
+// s1 = cross(d + r1, a) = cross(p2 - x1, a)
+// s2 = cross(r2, a) = cross(p2 - x2, a)
+
+
+// Motor/Limit linear constraint
+// C = dot(ax1, d)
+// Cdot = = -dot(ax1, v1) - dot(cross(d + r1, ax1), w1) + dot(ax1, v2) + dot(cross(r2, ax1), v2)
+// J = [-ax1 -cross(d+r1,ax1) ax1 cross(r2,ax1)]
+
+// Block Solver
+// We develop a block solver that includes the joint limit. This makes the limit stiff (inelastic) even
+// when the mass has poor distribution (leading to large torques about the joint anchor points).
+//
+// The Jacobian has 3 rows:
+// J = [-uT -s1 uT s2] // linear
+// [0 -1 0 1] // angular
+// [-vT -a1 vT a2] // limit
+//
+// u = perp
+// v = axis
+// s1 = cross(d + r1, u), s2 = cross(r2, u)
+// a1 = cross(d + r1, v), a2 = cross(r2, v)
+
+// M * (v2 - v1) = JT * df
+// J * v2 = bias
+//
+// v2 = v1 + invM * JT * df
+// J * (v1 + invM * JT * df) = bias
+// K * df = bias - J * v1 = -Cdot
+// K = J * invM * JT
+// Cdot = J * v1 - bias
+//
+// Now solve for f2.
+// df = f2 - f1
+// K * (f2 - f1) = -Cdot
+// f2 = invK * (-Cdot) + f1
+//
+// Clamp accumulated limit impulse.
+// lower: f2(3) = max(f2(3), 0)
+// upper: f2(3) = min(f2(3), 0)
+//
+// Solve for correct f2(1:2)
+// K(1:2, 1:2) * f2(1:2) = -Cdot(1:2) - K(1:2,3) * f2(3) + K(1:2,1:3) * f1
+// = -Cdot(1:2) - K(1:2,3) * f2(3) + K(1:2,1:2) * f1(1:2) + K(1:2,3) * f1(3)
+// K(1:2, 1:2) * f2(1:2) = -Cdot(1:2) - K(1:2,3) * (f2(3) - f1(3)) + K(1:2,1:2) * f1(1:2)
+// f2(1:2) = invK(1:2,1:2) * (-Cdot(1:2) - K(1:2,3) * (f2(3) - f1(3))) + f1(1:2)
+//
+// Now compute impulse to be applied:
+// df = f2 - f1
+
+void b2PrismaticJointDef::Initialize(b2Body* bA, b2Body* bB, const b2Vec2& anchor, const b2Vec2& axis)
+{
+ bodyA = bA;
+ bodyB = bB;
+ localAnchorA = bodyA->GetLocalPoint(anchor);
+ localAnchorB = bodyB->GetLocalPoint(anchor);
+ localAxisA = bodyA->GetLocalVector(axis);
+ referenceAngle = bodyB->GetAngle() - bodyA->GetAngle();
+}
+
+b2PrismaticJoint::b2PrismaticJoint(const b2PrismaticJointDef* def)
+: b2Joint(def)
+{
+ m_localAnchorA = def->localAnchorA;
+ m_localAnchorB = def->localAnchorB;
+ m_localXAxisA = def->localAxisA;
+ m_localXAxisA.Normalize();
+ m_localYAxisA = b2Cross(1.0f, m_localXAxisA);
+ m_referenceAngle = def->referenceAngle;
+
+ m_impulse.SetZero();
+ m_motorMass = 0.0f;
+ m_motorImpulse = 0.0f;
+
+ m_lowerTranslation = def->lowerTranslation;
+ m_upperTranslation = def->upperTranslation;
+ m_maxMotorForce = def->maxMotorForce;
+ m_motorSpeed = def->motorSpeed;
+ m_enableLimit = def->enableLimit;
+ m_enableMotor = def->enableMotor;
+ m_limitState = e_inactiveLimit;
+
+ m_axis.SetZero();
+ m_perp.SetZero();
+}
+
+void b2PrismaticJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterA = m_bodyA->m_sweep.localCenter;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassA = m_bodyA->m_invMass;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIA = m_bodyA->m_invI;
+ m_invIB = m_bodyB->m_invI;
+
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qA(aA), qB(aB);
+
+ // Compute the effective masses.
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+ b2Vec2 d = (cB - cA) + rB - rA;
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ // Compute motor Jacobian and effective mass.
+ {
+ m_axis = b2Mul(qA, m_localXAxisA);
+ m_a1 = b2Cross(d + rA, m_axis);
+ m_a2 = b2Cross(rB, m_axis);
+
+ m_motorMass = mA + mB + iA * m_a1 * m_a1 + iB * m_a2 * m_a2;
+ if (m_motorMass > 0.0f)
+ {
+ m_motorMass = 1.0f / m_motorMass;
+ }
+ }
+
+ // Prismatic constraint.
+ {
+ m_perp = b2Mul(qA, m_localYAxisA);
+
+ m_s1 = b2Cross(d + rA, m_perp);
+ m_s2 = b2Cross(rB, m_perp);
+
+ float32 k11 = mA + mB + iA * m_s1 * m_s1 + iB * m_s2 * m_s2;
+ float32 k12 = iA * m_s1 + iB * m_s2;
+ float32 k13 = iA * m_s1 * m_a1 + iB * m_s2 * m_a2;
+ float32 k22 = iA + iB;
+ if (k22 == 0.0f)
+ {
+ // For bodies with fixed rotation.
+ k22 = 1.0f;
+ }
+ float32 k23 = iA * m_a1 + iB * m_a2;
+ float32 k33 = mA + mB + iA * m_a1 * m_a1 + iB * m_a2 * m_a2;
+
+ m_K.ex.Set(k11, k12, k13);
+ m_K.ey.Set(k12, k22, k23);
+ m_K.ez.Set(k13, k23, k33);
+ }
+
+ // Compute motor and limit terms.
+ if (m_enableLimit)
+ {
+ float32 jointTranslation = b2Dot(m_axis, d);
+ if (b2Abs(m_upperTranslation - m_lowerTranslation) < 2.0f * b2_linearSlop)
+ {
+ m_limitState = e_equalLimits;
+ }
+ else if (jointTranslation <= m_lowerTranslation)
+ {
+ if (m_limitState != e_atLowerLimit)
+ {
+ m_limitState = e_atLowerLimit;
+ m_impulse.z = 0.0f;
+ }
+ }
+ else if (jointTranslation >= m_upperTranslation)
+ {
+ if (m_limitState != e_atUpperLimit)
+ {
+ m_limitState = e_atUpperLimit;
+ m_impulse.z = 0.0f;
+ }
+ }
+ else
+ {
+ m_limitState = e_inactiveLimit;
+ m_impulse.z = 0.0f;
+ }
+ }
+ else
+ {
+ m_limitState = e_inactiveLimit;
+ m_impulse.z = 0.0f;
+ }
+
+ if (m_enableMotor == false)
+ {
+ m_motorImpulse = 0.0f;
+ }
+
+ if (data.step.warmStarting)
+ {
+ // Account for variable time step.
+ m_impulse *= data.step.dtRatio;
+ m_motorImpulse *= data.step.dtRatio;
+
+ b2Vec2 P = m_impulse.x * m_perp + (m_motorImpulse + m_impulse.z) * m_axis;
+ float32 LA = m_impulse.x * m_s1 + m_impulse.y + (m_motorImpulse + m_impulse.z) * m_a1;
+ float32 LB = m_impulse.x * m_s2 + m_impulse.y + (m_motorImpulse + m_impulse.z) * m_a2;
+
+ vA -= mA * P;
+ wA -= iA * LA;
+
+ vB += mB * P;
+ wB += iB * LB;
+ }
+ else
+ {
+ m_impulse.SetZero();
+ m_motorImpulse = 0.0f;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2PrismaticJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ // Solve linear motor constraint.
+ if (m_enableMotor && m_limitState != e_equalLimits)
+ {
+ float32 Cdot = b2Dot(m_axis, vB - vA) + m_a2 * wB - m_a1 * wA;
+ float32 impulse = m_motorMass * (m_motorSpeed - Cdot);
+ float32 oldImpulse = m_motorImpulse;
+ float32 maxImpulse = data.step.dt * m_maxMotorForce;
+ m_motorImpulse = b2Clamp(m_motorImpulse + impulse, -maxImpulse, maxImpulse);
+ impulse = m_motorImpulse - oldImpulse;
+
+ b2Vec2 P = impulse * m_axis;
+ float32 LA = impulse * m_a1;
+ float32 LB = impulse * m_a2;
+
+ vA -= mA * P;
+ wA -= iA * LA;
+
+ vB += mB * P;
+ wB += iB * LB;
+ }
+
+ b2Vec2 Cdot1;
+ Cdot1.x = b2Dot(m_perp, vB - vA) + m_s2 * wB - m_s1 * wA;
+ Cdot1.y = wB - wA;
+
+ if (m_enableLimit && m_limitState != e_inactiveLimit)
+ {
+ // Solve prismatic and limit constraint in block form.
+ float32 Cdot2;
+ Cdot2 = b2Dot(m_axis, vB - vA) + m_a2 * wB - m_a1 * wA;
+ b2Vec3 Cdot(Cdot1.x, Cdot1.y, Cdot2);
+
+ b2Vec3 f1 = m_impulse;
+ b2Vec3 df = m_K.Solve33(-Cdot);
+ m_impulse += df;
+
+ if (m_limitState == e_atLowerLimit)
+ {
+ m_impulse.z = b2Max(m_impulse.z, 0.0f);
+ }
+ else if (m_limitState == e_atUpperLimit)
+ {
+ m_impulse.z = b2Min(m_impulse.z, 0.0f);
+ }
+
+ // f2(1:2) = invK(1:2,1:2) * (-Cdot(1:2) - K(1:2,3) * (f2(3) - f1(3))) + f1(1:2)
+ b2Vec2 b = -Cdot1 - (m_impulse.z - f1.z) * b2Vec2(m_K.ez.x, m_K.ez.y);
+ b2Vec2 f2r = m_K.Solve22(b) + b2Vec2(f1.x, f1.y);
+ m_impulse.x = f2r.x;
+ m_impulse.y = f2r.y;
+
+ df = m_impulse - f1;
+
+ b2Vec2 P = df.x * m_perp + df.z * m_axis;
+ float32 LA = df.x * m_s1 + df.y + df.z * m_a1;
+ float32 LB = df.x * m_s2 + df.y + df.z * m_a2;
+
+ vA -= mA * P;
+ wA -= iA * LA;
+
+ vB += mB * P;
+ wB += iB * LB;
+ }
+ else
+ {
+ // Limit is inactive, just solve the prismatic constraint in block form.
+ b2Vec2 df = m_K.Solve22(-Cdot1);
+ m_impulse.x += df.x;
+ m_impulse.y += df.y;
+
+ b2Vec2 P = df.x * m_perp;
+ float32 LA = df.x * m_s1 + df.y;
+ float32 LB = df.x * m_s2 + df.y;
+
+ vA -= mA * P;
+ wA -= iA * LA;
+
+ vB += mB * P;
+ wB += iB * LB;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2PrismaticJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+
+ b2Rot qA(aA), qB(aB);
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ // Compute fresh Jacobians
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+ b2Vec2 d = cB + rB - cA - rA;
+
+ b2Vec2 axis = b2Mul(qA, m_localXAxisA);
+ float32 a1 = b2Cross(d + rA, axis);
+ float32 a2 = b2Cross(rB, axis);
+ b2Vec2 perp = b2Mul(qA, m_localYAxisA);
+
+ float32 s1 = b2Cross(d + rA, perp);
+ float32 s2 = b2Cross(rB, perp);
+
+ b2Vec3 impulse;
+ b2Vec2 C1;
+ C1.x = b2Dot(perp, d);
+ C1.y = aB - aA - m_referenceAngle;
+
+ float32 linearError = b2Abs(C1.x);
+ float32 angularError = b2Abs(C1.y);
+
+ bool active = false;
+ float32 C2 = 0.0f;
+ if (m_enableLimit)
+ {
+ float32 translation = b2Dot(axis, d);
+ if (b2Abs(m_upperTranslation - m_lowerTranslation) < 2.0f * b2_linearSlop)
+ {
+ // Prevent large angular corrections
+ C2 = b2Clamp(translation, -b2_maxLinearCorrection, b2_maxLinearCorrection);
+ linearError = b2Max(linearError, b2Abs(translation));
+ active = true;
+ }
+ else if (translation <= m_lowerTranslation)
+ {
+ // Prevent large linear corrections and allow some slop.
+ C2 = b2Clamp(translation - m_lowerTranslation + b2_linearSlop, -b2_maxLinearCorrection, 0.0f);
+ linearError = b2Max(linearError, m_lowerTranslation - translation);
+ active = true;
+ }
+ else if (translation >= m_upperTranslation)
+ {
+ // Prevent large linear corrections and allow some slop.
+ C2 = b2Clamp(translation - m_upperTranslation - b2_linearSlop, 0.0f, b2_maxLinearCorrection);
+ linearError = b2Max(linearError, translation - m_upperTranslation);
+ active = true;
+ }
+ }
+
+ if (active)
+ {
+ float32 k11 = mA + mB + iA * s1 * s1 + iB * s2 * s2;
+ float32 k12 = iA * s1 + iB * s2;
+ float32 k13 = iA * s1 * a1 + iB * s2 * a2;
+ float32 k22 = iA + iB;
+ if (k22 == 0.0f)
+ {
+ // For fixed rotation
+ k22 = 1.0f;
+ }
+ float32 k23 = iA * a1 + iB * a2;
+ float32 k33 = mA + mB + iA * a1 * a1 + iB * a2 * a2;
+
+ b2Mat33 K;
+ K.ex.Set(k11, k12, k13);
+ K.ey.Set(k12, k22, k23);
+ K.ez.Set(k13, k23, k33);
+
+ b2Vec3 C;
+ C.x = C1.x;
+ C.y = C1.y;
+ C.z = C2;
+
+ impulse = K.Solve33(-C);
+ }
+ else
+ {
+ float32 k11 = mA + mB + iA * s1 * s1 + iB * s2 * s2;
+ float32 k12 = iA * s1 + iB * s2;
+ float32 k22 = iA + iB;
+ if (k22 == 0.0f)
+ {
+ k22 = 1.0f;
+ }
+
+ b2Mat22 K;
+ K.ex.Set(k11, k12);
+ K.ey.Set(k12, k22);
+
+ b2Vec2 impulse1 = K.Solve(-C1);
+ impulse.x = impulse1.x;
+ impulse.y = impulse1.y;
+ impulse.z = 0.0f;
+ }
+
+ b2Vec2 P = impulse.x * perp + impulse.z * axis;
+ float32 LA = impulse.x * s1 + impulse.y + impulse.z * a1;
+ float32 LB = impulse.x * s2 + impulse.y + impulse.z * a2;
+
+ cA -= mA * P;
+ aA -= iA * LA;
+ cB += mB * P;
+ aB += iB * LB;
+
+ data.positions[m_indexA].c = cA;
+ data.positions[m_indexA].a = aA;
+ data.positions[m_indexB].c = cB;
+ data.positions[m_indexB].a = aB;
+
+ return linearError <= b2_linearSlop && angularError <= b2_angularSlop;
+}
+
+b2Vec2 b2PrismaticJoint::GetAnchorA() const
+{
+ return m_bodyA->GetWorldPoint(m_localAnchorA);
+}
+
+b2Vec2 b2PrismaticJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2PrismaticJoint::GetReactionForce(float32 inv_dt) const
+{
+ return inv_dt * (m_impulse.x * m_perp + (m_motorImpulse + m_impulse.z) * m_axis);
+}
+
+float32 b2PrismaticJoint::GetReactionTorque(float32 inv_dt) const
+{
+ return inv_dt * m_impulse.y;
+}
+
+float32 b2PrismaticJoint::GetJointTranslation() const
+{
+ b2Vec2 pA = m_bodyA->GetWorldPoint(m_localAnchorA);
+ b2Vec2 pB = m_bodyB->GetWorldPoint(m_localAnchorB);
+ b2Vec2 d = pB - pA;
+ b2Vec2 axis = m_bodyA->GetWorldVector(m_localXAxisA);
+
+ float32 translation = b2Dot(d, axis);
+ return translation;
+}
+
+float32 b2PrismaticJoint::GetJointSpeed() const
+{
+ b2Body* bA = m_bodyA;
+ b2Body* bB = m_bodyB;
+
+ b2Vec2 rA = b2Mul(bA->m_xf.q, m_localAnchorA - bA->m_sweep.localCenter);
+ b2Vec2 rB = b2Mul(bB->m_xf.q, m_localAnchorB - bB->m_sweep.localCenter);
+ b2Vec2 p1 = bA->m_sweep.c + rA;
+ b2Vec2 p2 = bB->m_sweep.c + rB;
+ b2Vec2 d = p2 - p1;
+ b2Vec2 axis = b2Mul(bA->m_xf.q, m_localXAxisA);
+
+ b2Vec2 vA = bA->m_linearVelocity;
+ b2Vec2 vB = bB->m_linearVelocity;
+ float32 wA = bA->m_angularVelocity;
+ float32 wB = bB->m_angularVelocity;
+
+ float32 speed = b2Dot(d, b2Cross(wA, axis)) + b2Dot(axis, vB + b2Cross(wB, rB) - vA - b2Cross(wA, rA));
+ return speed;
+}
+
+bool b2PrismaticJoint::IsLimitEnabled() const
+{
+ return m_enableLimit;
+}
+
+void b2PrismaticJoint::EnableLimit(bool flag)
+{
+ if (flag != m_enableLimit)
+ {
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_enableLimit = flag;
+ m_impulse.z = 0.0f;
+ }
+}
+
+float32 b2PrismaticJoint::GetLowerLimit() const
+{
+ return m_lowerTranslation;
+}
+
+float32 b2PrismaticJoint::GetUpperLimit() const
+{
+ return m_upperTranslation;
+}
+
+void b2PrismaticJoint::SetLimits(float32 lower, float32 upper)
+{
+ b2Assert(lower <= upper);
+ if (lower != m_lowerTranslation || upper != m_upperTranslation)
+ {
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_lowerTranslation = lower;
+ m_upperTranslation = upper;
+ m_impulse.z = 0.0f;
+ }
+}
+
+bool b2PrismaticJoint::IsMotorEnabled() const
+{
+ return m_enableMotor;
+}
+
+void b2PrismaticJoint::EnableMotor(bool flag)
+{
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_enableMotor = flag;
+}
+
+void b2PrismaticJoint::SetMotorSpeed(float32 speed)
+{
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_motorSpeed = speed;
+}
+
+void b2PrismaticJoint::SetMaxMotorForce(float32 force)
+{
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_maxMotorForce = force;
+}
+
+float32 b2PrismaticJoint::GetMotorForce(float32 inv_dt) const
+{
+ return inv_dt * m_motorImpulse;
+}
+
+void b2PrismaticJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ b2Log(" b2PrismaticJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.localAnchorA.Set(%.15lef, %.15lef);\n", m_localAnchorA.x, m_localAnchorA.y);
+ b2Log(" jd.localAnchorB.Set(%.15lef, %.15lef);\n", m_localAnchorB.x, m_localAnchorB.y);
+ b2Log(" jd.localAxisA.Set(%.15lef, %.15lef);\n", m_localXAxisA.x, m_localXAxisA.y);
+ b2Log(" jd.referenceAngle = %.15lef;\n", m_referenceAngle);
+ b2Log(" jd.enableLimit = bool(%d);\n", m_enableLimit);
+ b2Log(" jd.lowerTranslation = %.15lef;\n", m_lowerTranslation);
+ b2Log(" jd.upperTranslation = %.15lef;\n", m_upperTranslation);
+ b2Log(" jd.enableMotor = bool(%d);\n", m_enableMotor);
+ b2Log(" jd.motorSpeed = %.15lef;\n", m_motorSpeed);
+ b2Log(" jd.maxMotorForce = %.15lef;\n", m_maxMotorForce);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2PrismaticJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2PrismaticJoint.h
new file mode 100755
index 00000000..6ef5d3ec
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2PrismaticJoint.h
@@ -0,0 +1,196 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* 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 B2_PRISMATIC_JOINT_H
+#define B2_PRISMATIC_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Prismatic joint definition. This requires defining a line of
+/// motion using an axis and an anchor point. The definition uses local
+/// anchor points and a local axis so that the initial configuration
+/// can violate the constraint slightly. The joint translation is zero
+/// when the local anchor points coincide in world space. Using local
+/// anchors and a local axis helps when saving and loading a game.
+struct b2PrismaticJointDef : public b2JointDef
+{
+ b2PrismaticJointDef()
+ {
+ type = e_prismaticJoint;
+ localAnchorA.SetZero();
+ localAnchorB.SetZero();
+ localAxisA.Set(1.0f, 0.0f);
+ referenceAngle = 0.0f;
+ enableLimit = false;
+ lowerTranslation = 0.0f;
+ upperTranslation = 0.0f;
+ enableMotor = false;
+ maxMotorForce = 0.0f;
+ motorSpeed = 0.0f;
+ }
+
+ /// Initialize the bodies, anchors, axis, and reference angle using the world
+ /// anchor and unit world axis.
+ void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor, const b2Vec2& axis);
+
+ /// The local anchor point relative to bodyA's origin.
+ b2Vec2 localAnchorA;
+
+ /// The local anchor point relative to bodyB's origin.
+ b2Vec2 localAnchorB;
+
+ /// The local translation unit axis in bodyA.
+ b2Vec2 localAxisA;
+
+ /// The constrained angle between the bodies: bodyB_angle - bodyA_angle.
+ float32 referenceAngle;
+
+ /// Enable/disable the joint limit.
+ bool enableLimit;
+
+ /// The lower translation limit, usually in meters.
+ float32 lowerTranslation;
+
+ /// The upper translation limit, usually in meters.
+ float32 upperTranslation;
+
+ /// Enable/disable the joint motor.
+ bool enableMotor;
+
+ /// The maximum motor torque, usually in N-m.
+ float32 maxMotorForce;
+
+ /// The desired motor speed in radians per second.
+ float32 motorSpeed;
+};
+
+/// A prismatic joint. This joint provides one degree of freedom: translation
+/// along an axis fixed in bodyA. Relative rotation is prevented. You can
+/// use a joint limit to restrict the range of motion and a joint motor to
+/// drive the motion or to model joint friction.
+class b2PrismaticJoint : public b2Joint
+{
+public:
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// The local anchor point relative to bodyA's origin.
+ const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; }
+
+ /// The local anchor point relative to bodyB's origin.
+ const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; }
+
+ /// The local joint axis relative to bodyA.
+ const b2Vec2& GetLocalAxisA() const { return m_localXAxisA; }
+
+ /// Get the reference angle.
+ float32 GetReferenceAngle() const { return m_referenceAngle; }
+
+ /// Get the current joint translation, usually in meters.
+ float32 GetJointTranslation() const;
+
+ /// Get the current joint translation speed, usually in meters per second.
+ float32 GetJointSpeed() const;
+
+ /// Is the joint limit enabled?
+ bool IsLimitEnabled() const;
+
+ /// Enable/disable the joint limit.
+ void EnableLimit(bool flag);
+
+ /// Get the lower joint limit, usually in meters.
+ float32 GetLowerLimit() const;
+
+ /// Get the upper joint limit, usually in meters.
+ float32 GetUpperLimit() const;
+
+ /// Set the joint limits, usually in meters.
+ void SetLimits(float32 lower, float32 upper);
+
+ /// Is the joint motor enabled?
+ bool IsMotorEnabled() const;
+
+ /// Enable/disable the joint motor.
+ void EnableMotor(bool flag);
+
+ /// Set the motor speed, usually in meters per second.
+ void SetMotorSpeed(float32 speed);
+
+ /// Get the motor speed, usually in meters per second.
+ float32 GetMotorSpeed() const;
+
+ /// Set the maximum motor force, usually in N.
+ void SetMaxMotorForce(float32 force);
+ float32 GetMaxMotorForce() const { return m_maxMotorForce; }
+
+ /// Get the current motor force given the inverse time step, usually in N.
+ float32 GetMotorForce(float32 inv_dt) const;
+
+ /// Dump to b2Log
+ void Dump();
+
+protected:
+ friend class b2Joint;
+ friend class b2GearJoint;
+ b2PrismaticJoint(const b2PrismaticJointDef* def);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ // Solver shared
+ b2Vec2 m_localAnchorA;
+ b2Vec2 m_localAnchorB;
+ b2Vec2 m_localXAxisA;
+ b2Vec2 m_localYAxisA;
+ float32 m_referenceAngle;
+ b2Vec3 m_impulse;
+ float32 m_motorImpulse;
+ float32 m_lowerTranslation;
+ float32 m_upperTranslation;
+ float32 m_maxMotorForce;
+ float32 m_motorSpeed;
+ bool m_enableLimit;
+ bool m_enableMotor;
+ b2LimitState m_limitState;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_localCenterA;
+ b2Vec2 m_localCenterB;
+ float32 m_invMassA;
+ float32 m_invMassB;
+ float32 m_invIA;
+ float32 m_invIB;
+ b2Vec2 m_axis, m_perp;
+ float32 m_s1, m_s2;
+ float32 m_a1, m_a2;
+ b2Mat33 m_K;
+ float32 m_motorMass;
+};
+
+inline float32 b2PrismaticJoint::GetMotorSpeed() const
+{
+ return m_motorSpeed;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2PulleyJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2PulleyJoint.cpp
new file mode 100755
index 00000000..9cd340f1
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2PulleyJoint.cpp
@@ -0,0 +1,348 @@
+/*
+* Copyright (c) 2007 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2PulleyJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// Pulley:
+// length1 = norm(p1 - s1)
+// length2 = norm(p2 - s2)
+// C0 = (length1 + ratio * length2)_initial
+// C = C0 - (length1 + ratio * length2)
+// u1 = (p1 - s1) / norm(p1 - s1)
+// u2 = (p2 - s2) / norm(p2 - s2)
+// Cdot = -dot(u1, v1 + cross(w1, r1)) - ratio * dot(u2, v2 + cross(w2, r2))
+// J = -[u1 cross(r1, u1) ratio * u2 ratio * cross(r2, u2)]
+// K = J * invM * JT
+// = invMass1 + invI1 * cross(r1, u1)^2 + ratio^2 * (invMass2 + invI2 * cross(r2, u2)^2)
+
+void b2PulleyJointDef::Initialize(b2Body* bA, b2Body* bB,
+ const b2Vec2& groundA, const b2Vec2& groundB,
+ const b2Vec2& anchorA, const b2Vec2& anchorB,
+ float32 r)
+{
+ bodyA = bA;
+ bodyB = bB;
+ groundAnchorA = groundA;
+ groundAnchorB = groundB;
+ localAnchorA = bodyA->GetLocalPoint(anchorA);
+ localAnchorB = bodyB->GetLocalPoint(anchorB);
+ b2Vec2 dA = anchorA - groundA;
+ lengthA = dA.Length();
+ b2Vec2 dB = anchorB - groundB;
+ lengthB = dB.Length();
+ ratio = r;
+ b2Assert(ratio > b2_epsilon);
+}
+
+b2PulleyJoint::b2PulleyJoint(const b2PulleyJointDef* def)
+: b2Joint(def)
+{
+ m_groundAnchorA = def->groundAnchorA;
+ m_groundAnchorB = def->groundAnchorB;
+ m_localAnchorA = def->localAnchorA;
+ m_localAnchorB = def->localAnchorB;
+
+ m_lengthA = def->lengthA;
+ m_lengthB = def->lengthB;
+
+ b2Assert(def->ratio != 0.0f);
+ m_ratio = def->ratio;
+
+ m_constant = def->lengthA + m_ratio * def->lengthB;
+
+ m_impulse = 0.0f;
+}
+
+void b2PulleyJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterA = m_bodyA->m_sweep.localCenter;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassA = m_bodyA->m_invMass;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIA = m_bodyA->m_invI;
+ m_invIB = m_bodyB->m_invI;
+
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qA(aA), qB(aB);
+
+ m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+
+ // Get the pulley axes.
+ m_uA = cA + m_rA - m_groundAnchorA;
+ m_uB = cB + m_rB - m_groundAnchorB;
+
+ float32 lengthA = m_uA.Length();
+ float32 lengthB = m_uB.Length();
+
+ if (lengthA > 10.0f * b2_linearSlop)
+ {
+ m_uA *= 1.0f / lengthA;
+ }
+ else
+ {
+ m_uA.SetZero();
+ }
+
+ if (lengthB > 10.0f * b2_linearSlop)
+ {
+ m_uB *= 1.0f / lengthB;
+ }
+ else
+ {
+ m_uB.SetZero();
+ }
+
+ // Compute effective mass.
+ float32 ruA = b2Cross(m_rA, m_uA);
+ float32 ruB = b2Cross(m_rB, m_uB);
+
+ float32 mA = m_invMassA + m_invIA * ruA * ruA;
+ float32 mB = m_invMassB + m_invIB * ruB * ruB;
+
+ m_mass = mA + m_ratio * m_ratio * mB;
+
+ if (m_mass > 0.0f)
+ {
+ m_mass = 1.0f / m_mass;
+ }
+
+ if (data.step.warmStarting)
+ {
+ // Scale impulses to support variable time steps.
+ m_impulse *= data.step.dtRatio;
+
+ // Warm starting.
+ b2Vec2 PA = -(m_impulse) * m_uA;
+ b2Vec2 PB = (-m_ratio * m_impulse) * m_uB;
+
+ vA += m_invMassA * PA;
+ wA += m_invIA * b2Cross(m_rA, PA);
+ vB += m_invMassB * PB;
+ wB += m_invIB * b2Cross(m_rB, PB);
+ }
+ else
+ {
+ m_impulse = 0.0f;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2PulleyJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Vec2 vpA = vA + b2Cross(wA, m_rA);
+ b2Vec2 vpB = vB + b2Cross(wB, m_rB);
+
+ float32 Cdot = -b2Dot(m_uA, vpA) - m_ratio * b2Dot(m_uB, vpB);
+ float32 impulse = -m_mass * Cdot;
+ m_impulse += impulse;
+
+ b2Vec2 PA = -impulse * m_uA;
+ b2Vec2 PB = -m_ratio * impulse * m_uB;
+ vA += m_invMassA * PA;
+ wA += m_invIA * b2Cross(m_rA, PA);
+ vB += m_invMassB * PB;
+ wB += m_invIB * b2Cross(m_rB, PB);
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2PulleyJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+
+ b2Rot qA(aA), qB(aB);
+
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+
+ // Get the pulley axes.
+ b2Vec2 uA = cA + rA - m_groundAnchorA;
+ b2Vec2 uB = cB + rB - m_groundAnchorB;
+
+ float32 lengthA = uA.Length();
+ float32 lengthB = uB.Length();
+
+ if (lengthA > 10.0f * b2_linearSlop)
+ {
+ uA *= 1.0f / lengthA;
+ }
+ else
+ {
+ uA.SetZero();
+ }
+
+ if (lengthB > 10.0f * b2_linearSlop)
+ {
+ uB *= 1.0f / lengthB;
+ }
+ else
+ {
+ uB.SetZero();
+ }
+
+ // Compute effective mass.
+ float32 ruA = b2Cross(rA, uA);
+ float32 ruB = b2Cross(rB, uB);
+
+ float32 mA = m_invMassA + m_invIA * ruA * ruA;
+ float32 mB = m_invMassB + m_invIB * ruB * ruB;
+
+ float32 mass = mA + m_ratio * m_ratio * mB;
+
+ if (mass > 0.0f)
+ {
+ mass = 1.0f / mass;
+ }
+
+ float32 C = m_constant - lengthA - m_ratio * lengthB;
+ float32 linearError = b2Abs(C);
+
+ float32 impulse = -mass * C;
+
+ b2Vec2 PA = -impulse * uA;
+ b2Vec2 PB = -m_ratio * impulse * uB;
+
+ cA += m_invMassA * PA;
+ aA += m_invIA * b2Cross(rA, PA);
+ cB += m_invMassB * PB;
+ aB += m_invIB * b2Cross(rB, PB);
+
+ data.positions[m_indexA].c = cA;
+ data.positions[m_indexA].a = aA;
+ data.positions[m_indexB].c = cB;
+ data.positions[m_indexB].a = aB;
+
+ return linearError < b2_linearSlop;
+}
+
+b2Vec2 b2PulleyJoint::GetAnchorA() const
+{
+ return m_bodyA->GetWorldPoint(m_localAnchorA);
+}
+
+b2Vec2 b2PulleyJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2PulleyJoint::GetReactionForce(float32 inv_dt) const
+{
+ b2Vec2 P = m_impulse * m_uB;
+ return inv_dt * P;
+}
+
+float32 b2PulleyJoint::GetReactionTorque(float32 inv_dt) const
+{
+ B2_NOT_USED(inv_dt);
+ return 0.0f;
+}
+
+b2Vec2 b2PulleyJoint::GetGroundAnchorA() const
+{
+ return m_groundAnchorA;
+}
+
+b2Vec2 b2PulleyJoint::GetGroundAnchorB() const
+{
+ return m_groundAnchorB;
+}
+
+float32 b2PulleyJoint::GetLengthA() const
+{
+ return m_lengthA;
+}
+
+float32 b2PulleyJoint::GetLengthB() const
+{
+ return m_lengthB;
+}
+
+float32 b2PulleyJoint::GetRatio() const
+{
+ return m_ratio;
+}
+
+float32 b2PulleyJoint::GetCurrentLengthA() const
+{
+ b2Vec2 p = m_bodyA->GetWorldPoint(m_localAnchorA);
+ b2Vec2 s = m_groundAnchorA;
+ b2Vec2 d = p - s;
+ return d.Length();
+}
+
+float32 b2PulleyJoint::GetCurrentLengthB() const
+{
+ b2Vec2 p = m_bodyB->GetWorldPoint(m_localAnchorB);
+ b2Vec2 s = m_groundAnchorB;
+ b2Vec2 d = p - s;
+ return d.Length();
+}
+
+void b2PulleyJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ b2Log(" b2PulleyJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.groundAnchorA.Set(%.15lef, %.15lef);\n", m_groundAnchorA.x, m_groundAnchorA.y);
+ b2Log(" jd.groundAnchorB.Set(%.15lef, %.15lef);\n", m_groundAnchorB.x, m_groundAnchorB.y);
+ b2Log(" jd.localAnchorA.Set(%.15lef, %.15lef);\n", m_localAnchorA.x, m_localAnchorA.y);
+ b2Log(" jd.localAnchorB.Set(%.15lef, %.15lef);\n", m_localAnchorB.x, m_localAnchorB.y);
+ b2Log(" jd.lengthA = %.15lef;\n", m_lengthA);
+ b2Log(" jd.lengthB = %.15lef;\n", m_lengthB);
+ b2Log(" jd.ratio = %.15lef;\n", m_ratio);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
+
+void b2PulleyJoint::ShiftOrigin(const b2Vec2& newOrigin)
+{
+ m_groundAnchorA -= newOrigin;
+ m_groundAnchorB -= newOrigin;
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2PulleyJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2PulleyJoint.h
new file mode 100755
index 00000000..44843e7b
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2PulleyJoint.h
@@ -0,0 +1,152 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* 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 B2_PULLEY_JOINT_H
+#define B2_PULLEY_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+const float32 b2_minPulleyLength = 2.0f;
+
+/// Pulley joint definition. This requires two ground anchors,
+/// two dynamic body anchor points, and a pulley ratio.
+struct b2PulleyJointDef : public b2JointDef
+{
+ b2PulleyJointDef()
+ {
+ type = e_pulleyJoint;
+ groundAnchorA.Set(-1.0f, 1.0f);
+ groundAnchorB.Set(1.0f, 1.0f);
+ localAnchorA.Set(-1.0f, 0.0f);
+ localAnchorB.Set(1.0f, 0.0f);
+ lengthA = 0.0f;
+ lengthB = 0.0f;
+ ratio = 1.0f;
+ collideConnected = true;
+ }
+
+ /// Initialize the bodies, anchors, lengths, max lengths, and ratio using the world anchors.
+ void Initialize(b2Body* bodyA, b2Body* bodyB,
+ const b2Vec2& groundAnchorA, const b2Vec2& groundAnchorB,
+ const b2Vec2& anchorA, const b2Vec2& anchorB,
+ float32 ratio);
+
+ /// The first ground anchor in world coordinates. This point never moves.
+ b2Vec2 groundAnchorA;
+
+ /// The second ground anchor in world coordinates. This point never moves.
+ b2Vec2 groundAnchorB;
+
+ /// The local anchor point relative to bodyA's origin.
+ b2Vec2 localAnchorA;
+
+ /// The local anchor point relative to bodyB's origin.
+ b2Vec2 localAnchorB;
+
+ /// The a reference length for the segment attached to bodyA.
+ float32 lengthA;
+
+ /// The a reference length for the segment attached to bodyB.
+ float32 lengthB;
+
+ /// The pulley ratio, used to simulate a block-and-tackle.
+ float32 ratio;
+};
+
+/// The pulley joint is connected to two bodies and two fixed ground points.
+/// The pulley supports a ratio such that:
+/// length1 + ratio * length2 <= constant
+/// Yes, the force transmitted is scaled by the ratio.
+/// Warning: the pulley joint can get a bit squirrelly by itself. They often
+/// work better when combined with prismatic joints. You should also cover the
+/// the anchor points with static shapes to prevent one side from going to
+/// zero length.
+class b2PulleyJoint : public b2Joint
+{
+public:
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// Get the first ground anchor.
+ b2Vec2 GetGroundAnchorA() const;
+
+ /// Get the second ground anchor.
+ b2Vec2 GetGroundAnchorB() const;
+
+ /// Get the current length of the segment attached to bodyA.
+ float32 GetLengthA() const;
+
+ /// Get the current length of the segment attached to bodyB.
+ float32 GetLengthB() const;
+
+ /// Get the pulley ratio.
+ float32 GetRatio() const;
+
+ /// Get the current length of the segment attached to bodyA.
+ float32 GetCurrentLengthA() const;
+
+ /// Get the current length of the segment attached to bodyB.
+ float32 GetCurrentLengthB() const;
+
+ /// Dump joint to dmLog
+ void Dump();
+
+ /// Implement b2Joint::ShiftOrigin
+ void ShiftOrigin(const b2Vec2& newOrigin);
+
+protected:
+
+ friend class b2Joint;
+ b2PulleyJoint(const b2PulleyJointDef* data);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ b2Vec2 m_groundAnchorA;
+ b2Vec2 m_groundAnchorB;
+ float32 m_lengthA;
+ float32 m_lengthB;
+
+ // Solver shared
+ b2Vec2 m_localAnchorA;
+ b2Vec2 m_localAnchorB;
+ float32 m_constant;
+ float32 m_ratio;
+ float32 m_impulse;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_uA;
+ b2Vec2 m_uB;
+ b2Vec2 m_rA;
+ b2Vec2 m_rB;
+ b2Vec2 m_localCenterA;
+ b2Vec2 m_localCenterB;
+ float32 m_invMassA;
+ float32 m_invMassB;
+ float32 m_invIA;
+ float32 m_invIB;
+ float32 m_mass;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2RevoluteJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2RevoluteJoint.cpp
new file mode 100755
index 00000000..64bd1907
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2RevoluteJoint.cpp
@@ -0,0 +1,502 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2RevoluteJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// Point-to-point constraint
+// C = p2 - p1
+// Cdot = v2 - v1
+// = v2 + cross(w2, r2) - v1 - cross(w1, r1)
+// J = [-I -r1_skew I r2_skew ]
+// Identity used:
+// w k % (rx i + ry j) = w * (-ry i + rx j)
+
+// Motor constraint
+// Cdot = w2 - w1
+// J = [0 0 -1 0 0 1]
+// K = invI1 + invI2
+
+void b2RevoluteJointDef::Initialize(b2Body* bA, b2Body* bB, const b2Vec2& anchor)
+{
+ bodyA = bA;
+ bodyB = bB;
+ localAnchorA = bodyA->GetLocalPoint(anchor);
+ localAnchorB = bodyB->GetLocalPoint(anchor);
+ referenceAngle = bodyB->GetAngle() - bodyA->GetAngle();
+}
+
+b2RevoluteJoint::b2RevoluteJoint(const b2RevoluteJointDef* def)
+: b2Joint(def)
+{
+ m_localAnchorA = def->localAnchorA;
+ m_localAnchorB = def->localAnchorB;
+ m_referenceAngle = def->referenceAngle;
+
+ m_impulse.SetZero();
+ m_motorImpulse = 0.0f;
+
+ m_lowerAngle = def->lowerAngle;
+ m_upperAngle = def->upperAngle;
+ m_maxMotorTorque = def->maxMotorTorque;
+ m_motorSpeed = def->motorSpeed;
+ m_enableLimit = def->enableLimit;
+ m_enableMotor = def->enableMotor;
+ m_limitState = e_inactiveLimit;
+}
+
+void b2RevoluteJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterA = m_bodyA->m_sweep.localCenter;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassA = m_bodyA->m_invMass;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIA = m_bodyA->m_invI;
+ m_invIB = m_bodyB->m_invI;
+
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qA(aA), qB(aB);
+
+ m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+
+ // J = [-I -r1_skew I r2_skew]
+ // [ 0 -1 0 1]
+ // r_skew = [-ry; rx]
+
+ // Matlab
+ // K = [ mA+r1y^2*iA+mB+r2y^2*iB, -r1y*iA*r1x-r2y*iB*r2x, -r1y*iA-r2y*iB]
+ // [ -r1y*iA*r1x-r2y*iB*r2x, mA+r1x^2*iA+mB+r2x^2*iB, r1x*iA+r2x*iB]
+ // [ -r1y*iA-r2y*iB, r1x*iA+r2x*iB, iA+iB]
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ bool fixedRotation = (iA + iB == 0.0f);
+
+ m_mass.ex.x = mA + mB + m_rA.y * m_rA.y * iA + m_rB.y * m_rB.y * iB;
+ m_mass.ey.x = -m_rA.y * m_rA.x * iA - m_rB.y * m_rB.x * iB;
+ m_mass.ez.x = -m_rA.y * iA - m_rB.y * iB;
+ m_mass.ex.y = m_mass.ey.x;
+ m_mass.ey.y = mA + mB + m_rA.x * m_rA.x * iA + m_rB.x * m_rB.x * iB;
+ m_mass.ez.y = m_rA.x * iA + m_rB.x * iB;
+ m_mass.ex.z = m_mass.ez.x;
+ m_mass.ey.z = m_mass.ez.y;
+ m_mass.ez.z = iA + iB;
+
+ m_motorMass = iA + iB;
+ if (m_motorMass > 0.0f)
+ {
+ m_motorMass = 1.0f / m_motorMass;
+ }
+
+ if (m_enableMotor == false || fixedRotation)
+ {
+ m_motorImpulse = 0.0f;
+ }
+
+ if (m_enableLimit && fixedRotation == false)
+ {
+ float32 jointAngle = aB - aA - m_referenceAngle;
+ if (b2Abs(m_upperAngle - m_lowerAngle) < 2.0f * b2_angularSlop)
+ {
+ m_limitState = e_equalLimits;
+ }
+ else if (jointAngle <= m_lowerAngle)
+ {
+ if (m_limitState != e_atLowerLimit)
+ {
+ m_impulse.z = 0.0f;
+ }
+ m_limitState = e_atLowerLimit;
+ }
+ else if (jointAngle >= m_upperAngle)
+ {
+ if (m_limitState != e_atUpperLimit)
+ {
+ m_impulse.z = 0.0f;
+ }
+ m_limitState = e_atUpperLimit;
+ }
+ else
+ {
+ m_limitState = e_inactiveLimit;
+ m_impulse.z = 0.0f;
+ }
+ }
+ else
+ {
+ m_limitState = e_inactiveLimit;
+ }
+
+ if (data.step.warmStarting)
+ {
+ // Scale impulses to support a variable time step.
+ m_impulse *= data.step.dtRatio;
+ m_motorImpulse *= data.step.dtRatio;
+
+ b2Vec2 P(m_impulse.x, m_impulse.y);
+
+ vA -= mA * P;
+ wA -= iA * (b2Cross(m_rA, P) + m_motorImpulse + m_impulse.z);
+
+ vB += mB * P;
+ wB += iB * (b2Cross(m_rB, P) + m_motorImpulse + m_impulse.z);
+ }
+ else
+ {
+ m_impulse.SetZero();
+ m_motorImpulse = 0.0f;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2RevoluteJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ bool fixedRotation = (iA + iB == 0.0f);
+
+ // Solve motor constraint.
+ if (m_enableMotor && m_limitState != e_equalLimits && fixedRotation == false)
+ {
+ float32 Cdot = wB - wA - m_motorSpeed;
+ float32 impulse = -m_motorMass * Cdot;
+ float32 oldImpulse = m_motorImpulse;
+ float32 maxImpulse = data.step.dt * m_maxMotorTorque;
+ m_motorImpulse = b2Clamp(m_motorImpulse + impulse, -maxImpulse, maxImpulse);
+ impulse = m_motorImpulse - oldImpulse;
+
+ wA -= iA * impulse;
+ wB += iB * impulse;
+ }
+
+ // Solve limit constraint.
+ if (m_enableLimit && m_limitState != e_inactiveLimit && fixedRotation == false)
+ {
+ b2Vec2 Cdot1 = vB + b2Cross(wB, m_rB) - vA - b2Cross(wA, m_rA);
+ float32 Cdot2 = wB - wA;
+ b2Vec3 Cdot(Cdot1.x, Cdot1.y, Cdot2);
+
+ b2Vec3 impulse = -m_mass.Solve33(Cdot);
+
+ if (m_limitState == e_equalLimits)
+ {
+ m_impulse += impulse;
+ }
+ else if (m_limitState == e_atLowerLimit)
+ {
+ float32 newImpulse = m_impulse.z + impulse.z;
+ if (newImpulse < 0.0f)
+ {
+ b2Vec2 rhs = -Cdot1 + m_impulse.z * b2Vec2(m_mass.ez.x, m_mass.ez.y);
+ b2Vec2 reduced = m_mass.Solve22(rhs);
+ impulse.x = reduced.x;
+ impulse.y = reduced.y;
+ impulse.z = -m_impulse.z;
+ m_impulse.x += reduced.x;
+ m_impulse.y += reduced.y;
+ m_impulse.z = 0.0f;
+ }
+ else
+ {
+ m_impulse += impulse;
+ }
+ }
+ else if (m_limitState == e_atUpperLimit)
+ {
+ float32 newImpulse = m_impulse.z + impulse.z;
+ if (newImpulse > 0.0f)
+ {
+ b2Vec2 rhs = -Cdot1 + m_impulse.z * b2Vec2(m_mass.ez.x, m_mass.ez.y);
+ b2Vec2 reduced = m_mass.Solve22(rhs);
+ impulse.x = reduced.x;
+ impulse.y = reduced.y;
+ impulse.z = -m_impulse.z;
+ m_impulse.x += reduced.x;
+ m_impulse.y += reduced.y;
+ m_impulse.z = 0.0f;
+ }
+ else
+ {
+ m_impulse += impulse;
+ }
+ }
+
+ b2Vec2 P(impulse.x, impulse.y);
+
+ vA -= mA * P;
+ wA -= iA * (b2Cross(m_rA, P) + impulse.z);
+
+ vB += mB * P;
+ wB += iB * (b2Cross(m_rB, P) + impulse.z);
+ }
+ else
+ {
+ // Solve point-to-point constraint
+ b2Vec2 Cdot = vB + b2Cross(wB, m_rB) - vA - b2Cross(wA, m_rA);
+ b2Vec2 impulse = m_mass.Solve22(-Cdot);
+
+ m_impulse.x += impulse.x;
+ m_impulse.y += impulse.y;
+
+ vA -= mA * impulse;
+ wA -= iA * b2Cross(m_rA, impulse);
+
+ vB += mB * impulse;
+ wB += iB * b2Cross(m_rB, impulse);
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2RevoluteJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+
+ b2Rot qA(aA), qB(aB);
+
+ float32 angularError = 0.0f;
+ float32 positionError = 0.0f;
+
+ bool fixedRotation = (m_invIA + m_invIB == 0.0f);
+
+ // Solve angular limit constraint.
+ if (m_enableLimit && m_limitState != e_inactiveLimit && fixedRotation == false)
+ {
+ float32 angle = aB - aA - m_referenceAngle;
+ float32 limitImpulse = 0.0f;
+
+ if (m_limitState == e_equalLimits)
+ {
+ // Prevent large angular corrections
+ float32 C = b2Clamp(angle - m_lowerAngle, -b2_maxAngularCorrection, b2_maxAngularCorrection);
+ limitImpulse = -m_motorMass * C;
+ angularError = b2Abs(C);
+ }
+ else if (m_limitState == e_atLowerLimit)
+ {
+ float32 C = angle - m_lowerAngle;
+ angularError = -C;
+
+ // Prevent large angular corrections and allow some slop.
+ C = b2Clamp(C + b2_angularSlop, -b2_maxAngularCorrection, 0.0f);
+ limitImpulse = -m_motorMass * C;
+ }
+ else if (m_limitState == e_atUpperLimit)
+ {
+ float32 C = angle - m_upperAngle;
+ angularError = C;
+
+ // Prevent large angular corrections and allow some slop.
+ C = b2Clamp(C - b2_angularSlop, 0.0f, b2_maxAngularCorrection);
+ limitImpulse = -m_motorMass * C;
+ }
+
+ aA -= m_invIA * limitImpulse;
+ aB += m_invIB * limitImpulse;
+ }
+
+ // Solve point-to-point constraint.
+ {
+ qA.Set(aA);
+ qB.Set(aB);
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+
+ b2Vec2 C = cB + rB - cA - rA;
+ positionError = C.Length();
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ b2Mat22 K;
+ K.ex.x = mA + mB + iA * rA.y * rA.y + iB * rB.y * rB.y;
+ K.ex.y = -iA * rA.x * rA.y - iB * rB.x * rB.y;
+ K.ey.x = K.ex.y;
+ K.ey.y = mA + mB + iA * rA.x * rA.x + iB * rB.x * rB.x;
+
+ b2Vec2 impulse = -K.Solve(C);
+
+ cA -= mA * impulse;
+ aA -= iA * b2Cross(rA, impulse);
+
+ cB += mB * impulse;
+ aB += iB * b2Cross(rB, impulse);
+ }
+
+ data.positions[m_indexA].c = cA;
+ data.positions[m_indexA].a = aA;
+ data.positions[m_indexB].c = cB;
+ data.positions[m_indexB].a = aB;
+
+ return positionError <= b2_linearSlop && angularError <= b2_angularSlop;
+}
+
+b2Vec2 b2RevoluteJoint::GetAnchorA() const
+{
+ return m_bodyA->GetWorldPoint(m_localAnchorA);
+}
+
+b2Vec2 b2RevoluteJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2RevoluteJoint::GetReactionForce(float32 inv_dt) const
+{
+ b2Vec2 P(m_impulse.x, m_impulse.y);
+ return inv_dt * P;
+}
+
+float32 b2RevoluteJoint::GetReactionTorque(float32 inv_dt) const
+{
+ return inv_dt * m_impulse.z;
+}
+
+float32 b2RevoluteJoint::GetJointAngle() const
+{
+ b2Body* bA = m_bodyA;
+ b2Body* bB = m_bodyB;
+ return bB->m_sweep.a - bA->m_sweep.a - m_referenceAngle;
+}
+
+float32 b2RevoluteJoint::GetJointSpeed() const
+{
+ b2Body* bA = m_bodyA;
+ b2Body* bB = m_bodyB;
+ return bB->m_angularVelocity - bA->m_angularVelocity;
+}
+
+bool b2RevoluteJoint::IsMotorEnabled() const
+{
+ return m_enableMotor;
+}
+
+void b2RevoluteJoint::EnableMotor(bool flag)
+{
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_enableMotor = flag;
+}
+
+float32 b2RevoluteJoint::GetMotorTorque(float32 inv_dt) const
+{
+ return inv_dt * m_motorImpulse;
+}
+
+void b2RevoluteJoint::SetMotorSpeed(float32 speed)
+{
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_motorSpeed = speed;
+}
+
+void b2RevoluteJoint::SetMaxMotorTorque(float32 torque)
+{
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_maxMotorTorque = torque;
+}
+
+bool b2RevoluteJoint::IsLimitEnabled() const
+{
+ return m_enableLimit;
+}
+
+void b2RevoluteJoint::EnableLimit(bool flag)
+{
+ if (flag != m_enableLimit)
+ {
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_enableLimit = flag;
+ m_impulse.z = 0.0f;
+ }
+}
+
+float32 b2RevoluteJoint::GetLowerLimit() const
+{
+ return m_lowerAngle;
+}
+
+float32 b2RevoluteJoint::GetUpperLimit() const
+{
+ return m_upperAngle;
+}
+
+void b2RevoluteJoint::SetLimits(float32 lower, float32 upper)
+{
+ b2Assert(lower <= upper);
+
+ if (lower != m_lowerAngle || upper != m_upperAngle)
+ {
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_impulse.z = 0.0f;
+ m_lowerAngle = lower;
+ m_upperAngle = upper;
+ }
+}
+
+void b2RevoluteJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ b2Log(" b2RevoluteJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.localAnchorA.Set(%.15lef, %.15lef);\n", m_localAnchorA.x, m_localAnchorA.y);
+ b2Log(" jd.localAnchorB.Set(%.15lef, %.15lef);\n", m_localAnchorB.x, m_localAnchorB.y);
+ b2Log(" jd.referenceAngle = %.15lef;\n", m_referenceAngle);
+ b2Log(" jd.enableLimit = bool(%d);\n", m_enableLimit);
+ b2Log(" jd.lowerAngle = %.15lef;\n", m_lowerAngle);
+ b2Log(" jd.upperAngle = %.15lef;\n", m_upperAngle);
+ b2Log(" jd.enableMotor = bool(%d);\n", m_enableMotor);
+ b2Log(" jd.motorSpeed = %.15lef;\n", m_motorSpeed);
+ b2Log(" jd.maxMotorTorque = %.15lef;\n", m_maxMotorTorque);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2RevoluteJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2RevoluteJoint.h
new file mode 100755
index 00000000..bbed4a6c
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2RevoluteJoint.h
@@ -0,0 +1,204 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* 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 B2_REVOLUTE_JOINT_H
+#define B2_REVOLUTE_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Revolute joint definition. This requires defining an
+/// anchor point where the bodies are joined. The definition
+/// uses local anchor points so that the initial configuration
+/// can violate the constraint slightly. You also need to
+/// specify the initial relative angle for joint limits. This
+/// helps when saving and loading a game.
+/// The local anchor points are measured from the body's origin
+/// rather than the center of mass because:
+/// 1. you might not know where the center of mass will be.
+/// 2. if you add/remove shapes from a body and recompute the mass,
+/// the joints will be broken.
+struct b2RevoluteJointDef : public b2JointDef
+{
+ b2RevoluteJointDef()
+ {
+ type = e_revoluteJoint;
+ localAnchorA.Set(0.0f, 0.0f);
+ localAnchorB.Set(0.0f, 0.0f);
+ referenceAngle = 0.0f;
+ lowerAngle = 0.0f;
+ upperAngle = 0.0f;
+ maxMotorTorque = 0.0f;
+ motorSpeed = 0.0f;
+ enableLimit = false;
+ enableMotor = false;
+ }
+
+ /// Initialize the bodies, anchors, and reference angle using a world
+ /// anchor point.
+ void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor);
+
+ /// The local anchor point relative to bodyA's origin.
+ b2Vec2 localAnchorA;
+
+ /// The local anchor point relative to bodyB's origin.
+ b2Vec2 localAnchorB;
+
+ /// The bodyB angle minus bodyA angle in the reference state (radians).
+ float32 referenceAngle;
+
+ /// A flag to enable joint limits.
+ bool enableLimit;
+
+ /// The lower angle for the joint limit (radians).
+ float32 lowerAngle;
+
+ /// The upper angle for the joint limit (radians).
+ float32 upperAngle;
+
+ /// A flag to enable the joint motor.
+ bool enableMotor;
+
+ /// The desired motor speed. Usually in radians per second.
+ float32 motorSpeed;
+
+ /// The maximum motor torque used to achieve the desired motor speed.
+ /// Usually in N-m.
+ float32 maxMotorTorque;
+};
+
+/// A revolute joint constrains two bodies to share a common point while they
+/// are free to rotate about the point. The relative rotation about the shared
+/// point is the joint angle. You can limit the relative rotation with
+/// a joint limit that specifies a lower and upper angle. You can use a motor
+/// to drive the relative rotation about the shared point. A maximum motor torque
+/// is provided so that infinite forces are not generated.
+class b2RevoluteJoint : public b2Joint
+{
+public:
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ /// The local anchor point relative to bodyA's origin.
+ const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; }
+
+ /// The local anchor point relative to bodyB's origin.
+ const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; }
+
+ /// Get the reference angle.
+ float32 GetReferenceAngle() const { return m_referenceAngle; }
+
+ /// Get the current joint angle in radians.
+ float32 GetJointAngle() const;
+
+ /// Get the current joint angle speed in radians per second.
+ float32 GetJointSpeed() const;
+
+ /// Is the joint limit enabled?
+ bool IsLimitEnabled() const;
+
+ /// Enable/disable the joint limit.
+ void EnableLimit(bool flag);
+
+ /// Get the lower joint limit in radians.
+ float32 GetLowerLimit() const;
+
+ /// Get the upper joint limit in radians.
+ float32 GetUpperLimit() const;
+
+ /// Set the joint limits in radians.
+ void SetLimits(float32 lower, float32 upper);
+
+ /// Is the joint motor enabled?
+ bool IsMotorEnabled() const;
+
+ /// Enable/disable the joint motor.
+ void EnableMotor(bool flag);
+
+ /// Set the motor speed in radians per second.
+ void SetMotorSpeed(float32 speed);
+
+ /// Get the motor speed in radians per second.
+ float32 GetMotorSpeed() const;
+
+ /// Set the maximum motor torque, usually in N-m.
+ void SetMaxMotorTorque(float32 torque);
+ float32 GetMaxMotorTorque() const { return m_maxMotorTorque; }
+
+ /// Get the reaction force given the inverse time step.
+ /// Unit is N.
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+
+ /// Get the reaction torque due to the joint limit given the inverse time step.
+ /// Unit is N*m.
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// Get the current motor torque given the inverse time step.
+ /// Unit is N*m.
+ float32 GetMotorTorque(float32 inv_dt) const;
+
+ /// Dump to b2Log.
+ void Dump();
+
+protected:
+
+ friend class b2Joint;
+ friend class b2GearJoint;
+
+ b2RevoluteJoint(const b2RevoluteJointDef* def);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ // Solver shared
+ b2Vec2 m_localAnchorA;
+ b2Vec2 m_localAnchorB;
+ b2Vec3 m_impulse;
+ float32 m_motorImpulse;
+
+ bool m_enableMotor;
+ float32 m_maxMotorTorque;
+ float32 m_motorSpeed;
+
+ bool m_enableLimit;
+ float32 m_referenceAngle;
+ float32 m_lowerAngle;
+ float32 m_upperAngle;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_rA;
+ b2Vec2 m_rB;
+ b2Vec2 m_localCenterA;
+ b2Vec2 m_localCenterB;
+ float32 m_invMassA;
+ float32 m_invMassB;
+ float32 m_invIA;
+ float32 m_invIB;
+ b2Mat33 m_mass; // effective mass for point-to-point constraint.
+ float32 m_motorMass; // effective mass for motor/limit angular constraint.
+ b2LimitState m_limitState;
+};
+
+inline float32 b2RevoluteJoint::GetMotorSpeed() const
+{
+ return m_motorSpeed;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2RopeJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2RopeJoint.cpp
new file mode 100755
index 00000000..952ee7a3
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2RopeJoint.cpp
@@ -0,0 +1,241 @@
+/*
+* Copyright (c) 2007-2011 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2RopeJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+
+// Limit:
+// C = norm(pB - pA) - L
+// u = (pB - pA) / norm(pB - pA)
+// Cdot = dot(u, vB + cross(wB, rB) - vA - cross(wA, rA))
+// J = [-u -cross(rA, u) u cross(rB, u)]
+// K = J * invM * JT
+// = invMassA + invIA * cross(rA, u)^2 + invMassB + invIB * cross(rB, u)^2
+
+b2RopeJoint::b2RopeJoint(const b2RopeJointDef* def)
+: b2Joint(def)
+{
+ m_localAnchorA = def->localAnchorA;
+ m_localAnchorB = def->localAnchorB;
+
+ m_maxLength = def->maxLength;
+
+ m_mass = 0.0f;
+ m_impulse = 0.0f;
+ m_state = e_inactiveLimit;
+ m_length = 0.0f;
+}
+
+void b2RopeJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterA = m_bodyA->m_sweep.localCenter;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassA = m_bodyA->m_invMass;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIA = m_bodyA->m_invI;
+ m_invIB = m_bodyB->m_invI;
+
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qA(aA), qB(aB);
+
+ m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+ m_u = cB + m_rB - cA - m_rA;
+
+ m_length = m_u.Length();
+
+ float32 C = m_length - m_maxLength;
+ if (C > 0.0f)
+ {
+ m_state = e_atUpperLimit;
+ }
+ else
+ {
+ m_state = e_inactiveLimit;
+ }
+
+ if (m_length > b2_linearSlop)
+ {
+ m_u *= 1.0f / m_length;
+ }
+ else
+ {
+ m_u.SetZero();
+ m_mass = 0.0f;
+ m_impulse = 0.0f;
+ return;
+ }
+
+ // Compute effective mass.
+ float32 crA = b2Cross(m_rA, m_u);
+ float32 crB = b2Cross(m_rB, m_u);
+ float32 invMass = m_invMassA + m_invIA * crA * crA + m_invMassB + m_invIB * crB * crB;
+
+ m_mass = invMass != 0.0f ? 1.0f / invMass : 0.0f;
+
+ if (data.step.warmStarting)
+ {
+ // Scale the impulse to support a variable time step.
+ m_impulse *= data.step.dtRatio;
+
+ b2Vec2 P = m_impulse * m_u;
+ vA -= m_invMassA * P;
+ wA -= m_invIA * b2Cross(m_rA, P);
+ vB += m_invMassB * P;
+ wB += m_invIB * b2Cross(m_rB, P);
+ }
+ else
+ {
+ m_impulse = 0.0f;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2RopeJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ // Cdot = dot(u, v + cross(w, r))
+ b2Vec2 vpA = vA + b2Cross(wA, m_rA);
+ b2Vec2 vpB = vB + b2Cross(wB, m_rB);
+ float32 C = m_length - m_maxLength;
+ float32 Cdot = b2Dot(m_u, vpB - vpA);
+
+ // Predictive constraint.
+ if (C < 0.0f)
+ {
+ Cdot += data.step.inv_dt * C;
+ }
+
+ float32 impulse = -m_mass * Cdot;
+ float32 oldImpulse = m_impulse;
+ m_impulse = b2Min(0.0f, m_impulse + impulse);
+ impulse = m_impulse - oldImpulse;
+
+ b2Vec2 P = impulse * m_u;
+ vA -= m_invMassA * P;
+ wA -= m_invIA * b2Cross(m_rA, P);
+ vB += m_invMassB * P;
+ wB += m_invIB * b2Cross(m_rB, P);
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2RopeJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+
+ b2Rot qA(aA), qB(aB);
+
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+ b2Vec2 u = cB + rB - cA - rA;
+
+ float32 length = u.Normalize();
+ float32 C = length - m_maxLength;
+
+ C = b2Clamp(C, 0.0f, b2_maxLinearCorrection);
+
+ float32 impulse = -m_mass * C;
+ b2Vec2 P = impulse * u;
+
+ cA -= m_invMassA * P;
+ aA -= m_invIA * b2Cross(rA, P);
+ cB += m_invMassB * P;
+ aB += m_invIB * b2Cross(rB, P);
+
+ data.positions[m_indexA].c = cA;
+ data.positions[m_indexA].a = aA;
+ data.positions[m_indexB].c = cB;
+ data.positions[m_indexB].a = aB;
+
+ return length - m_maxLength < b2_linearSlop;
+}
+
+b2Vec2 b2RopeJoint::GetAnchorA() const
+{
+ return m_bodyA->GetWorldPoint(m_localAnchorA);
+}
+
+b2Vec2 b2RopeJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2RopeJoint::GetReactionForce(float32 inv_dt) const
+{
+ b2Vec2 F = (inv_dt * m_impulse) * m_u;
+ return F;
+}
+
+float32 b2RopeJoint::GetReactionTorque(float32 inv_dt) const
+{
+ B2_NOT_USED(inv_dt);
+ return 0.0f;
+}
+
+float32 b2RopeJoint::GetMaxLength() const
+{
+ return m_maxLength;
+}
+
+b2LimitState b2RopeJoint::GetLimitState() const
+{
+ return m_state;
+}
+
+void b2RopeJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ b2Log(" b2RopeJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.localAnchorA.Set(%.15lef, %.15lef);\n", m_localAnchorA.x, m_localAnchorA.y);
+ b2Log(" jd.localAnchorB.Set(%.15lef, %.15lef);\n", m_localAnchorB.x, m_localAnchorB.y);
+ b2Log(" jd.maxLength = %.15lef;\n", m_maxLength);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2RopeJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2RopeJoint.h
new file mode 100755
index 00000000..eaca575d
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2RopeJoint.h
@@ -0,0 +1,114 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* 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 B2_ROPE_JOINT_H
+#define B2_ROPE_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Rope joint definition. This requires two body anchor points and
+/// a maximum lengths.
+/// Note: by default the connected objects will not collide.
+/// see collideConnected in b2JointDef.
+struct b2RopeJointDef : public b2JointDef
+{
+ b2RopeJointDef()
+ {
+ type = e_ropeJoint;
+ localAnchorA.Set(-1.0f, 0.0f);
+ localAnchorB.Set(1.0f, 0.0f);
+ maxLength = 0.0f;
+ }
+
+ /// The local anchor point relative to bodyA's origin.
+ b2Vec2 localAnchorA;
+
+ /// The local anchor point relative to bodyB's origin.
+ b2Vec2 localAnchorB;
+
+ /// The maximum length of the rope.
+ /// Warning: this must be larger than b2_linearSlop or
+ /// the joint will have no effect.
+ float32 maxLength;
+};
+
+/// A rope joint enforces a maximum distance between two points
+/// on two bodies. It has no other effect.
+/// Warning: if you attempt to change the maximum length during
+/// the simulation you will get some non-physical behavior.
+/// A model that would allow you to dynamically modify the length
+/// would have some sponginess, so I chose not to implement it
+/// that way. See b2DistanceJoint if you want to dynamically
+/// control length.
+class b2RopeJoint : public b2Joint
+{
+public:
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// The local anchor point relative to bodyA's origin.
+ const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; }
+
+ /// The local anchor point relative to bodyB's origin.
+ const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; }
+
+ /// Set/Get the maximum length of the rope.
+ void SetMaxLength(float32 length) { m_maxLength = length; }
+ float32 GetMaxLength() const;
+
+ b2LimitState GetLimitState() const;
+
+ /// Dump joint to dmLog
+ void Dump();
+
+protected:
+
+ friend class b2Joint;
+ b2RopeJoint(const b2RopeJointDef* data);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ // Solver shared
+ b2Vec2 m_localAnchorA;
+ b2Vec2 m_localAnchorB;
+ float32 m_maxLength;
+ float32 m_length;
+ float32 m_impulse;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_u;
+ b2Vec2 m_rA;
+ b2Vec2 m_rB;
+ b2Vec2 m_localCenterA;
+ b2Vec2 m_localCenterB;
+ float32 m_invMassA;
+ float32 m_invMassB;
+ float32 m_invIA;
+ float32 m_invIB;
+ float32 m_mass;
+ b2LimitState m_state;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2WeldJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2WeldJoint.cpp
new file mode 100755
index 00000000..253f7216
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2WeldJoint.cpp
@@ -0,0 +1,328 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2WeldJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// Point-to-point constraint
+// C = p2 - p1
+// Cdot = v2 - v1
+// = v2 + cross(w2, r2) - v1 - cross(w1, r1)
+// J = [-I -r1_skew I r2_skew ]
+// Identity used:
+// w k % (rx i + ry j) = w * (-ry i + rx j)
+
+// Angle constraint
+// C = angle2 - angle1 - referenceAngle
+// Cdot = w2 - w1
+// J = [0 0 -1 0 0 1]
+// K = invI1 + invI2
+
+void b2WeldJointDef::Initialize(b2Body* bA, b2Body* bB, const b2Vec2& anchor)
+{
+ bodyA = bA;
+ bodyB = bB;
+ localAnchorA = bodyA->GetLocalPoint(anchor);
+ localAnchorB = bodyB->GetLocalPoint(anchor);
+ referenceAngle = bodyB->GetAngle() - bodyA->GetAngle();
+}
+
+b2WeldJoint::b2WeldJoint(const b2WeldJointDef* def)
+: b2Joint(def)
+{
+ m_localAnchorA = def->localAnchorA;
+ m_localAnchorB = def->localAnchorB;
+ m_referenceAngle = def->referenceAngle;
+ m_frequencyHz = def->frequencyHz;
+ m_dampingRatio = def->dampingRatio;
+
+ m_impulse.SetZero();
+}
+
+void b2WeldJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterA = m_bodyA->m_sweep.localCenter;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassA = m_bodyA->m_invMass;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIA = m_bodyA->m_invI;
+ m_invIB = m_bodyB->m_invI;
+
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qA(aA), qB(aB);
+
+ m_rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ m_rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+
+ // J = [-I -r1_skew I r2_skew]
+ // [ 0 -1 0 1]
+ // r_skew = [-ry; rx]
+
+ // Matlab
+ // K = [ mA+r1y^2*iA+mB+r2y^2*iB, -r1y*iA*r1x-r2y*iB*r2x, -r1y*iA-r2y*iB]
+ // [ -r1y*iA*r1x-r2y*iB*r2x, mA+r1x^2*iA+mB+r2x^2*iB, r1x*iA+r2x*iB]
+ // [ -r1y*iA-r2y*iB, r1x*iA+r2x*iB, iA+iB]
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ b2Mat33 K;
+ K.ex.x = mA + mB + m_rA.y * m_rA.y * iA + m_rB.y * m_rB.y * iB;
+ K.ey.x = -m_rA.y * m_rA.x * iA - m_rB.y * m_rB.x * iB;
+ K.ez.x = -m_rA.y * iA - m_rB.y * iB;
+ K.ex.y = K.ey.x;
+ K.ey.y = mA + mB + m_rA.x * m_rA.x * iA + m_rB.x * m_rB.x * iB;
+ K.ez.y = m_rA.x * iA + m_rB.x * iB;
+ K.ex.z = K.ez.x;
+ K.ey.z = K.ez.y;
+ K.ez.z = iA + iB;
+
+ if (m_frequencyHz > 0.0f)
+ {
+ K.GetInverse22(&m_mass);
+
+ float32 invM = iA + iB;
+ float32 m = invM > 0.0f ? 1.0f / invM : 0.0f;
+
+ float32 C = aB - aA - m_referenceAngle;
+
+ // Frequency
+ float32 omega = 2.0f * b2_pi * m_frequencyHz;
+
+ // Damping coefficient
+ float32 d = 2.0f * m * m_dampingRatio * omega;
+
+ // Spring stiffness
+ float32 k = m * omega * omega;
+
+ // magic formulas
+ float32 h = data.step.dt;
+ m_gamma = h * (d + h * k);
+ m_gamma = m_gamma != 0.0f ? 1.0f / m_gamma : 0.0f;
+ m_bias = C * h * k * m_gamma;
+
+ invM += m_gamma;
+ m_mass.ez.z = invM != 0.0f ? 1.0f / invM : 0.0f;
+ }
+ else
+ {
+ K.GetSymInverse33(&m_mass);
+ m_gamma = 0.0f;
+ m_bias = 0.0f;
+ }
+
+ if (data.step.warmStarting)
+ {
+ // Scale impulses to support a variable time step.
+ m_impulse *= data.step.dtRatio;
+
+ b2Vec2 P(m_impulse.x, m_impulse.y);
+
+ vA -= mA * P;
+ wA -= iA * (b2Cross(m_rA, P) + m_impulse.z);
+
+ vB += mB * P;
+ wB += iB * (b2Cross(m_rB, P) + m_impulse.z);
+ }
+ else
+ {
+ m_impulse.SetZero();
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2WeldJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ if (m_frequencyHz > 0.0f)
+ {
+ float32 Cdot2 = wB - wA;
+
+ float32 impulse2 = -m_mass.ez.z * (Cdot2 + m_bias + m_gamma * m_impulse.z);
+ m_impulse.z += impulse2;
+
+ wA -= iA * impulse2;
+ wB += iB * impulse2;
+
+ b2Vec2 Cdot1 = vB + b2Cross(wB, m_rB) - vA - b2Cross(wA, m_rA);
+
+ b2Vec2 impulse1 = -b2Mul22(m_mass, Cdot1);
+ m_impulse.x += impulse1.x;
+ m_impulse.y += impulse1.y;
+
+ b2Vec2 P = impulse1;
+
+ vA -= mA * P;
+ wA -= iA * b2Cross(m_rA, P);
+
+ vB += mB * P;
+ wB += iB * b2Cross(m_rB, P);
+ }
+ else
+ {
+ b2Vec2 Cdot1 = vB + b2Cross(wB, m_rB) - vA - b2Cross(wA, m_rA);
+ float32 Cdot2 = wB - wA;
+ b2Vec3 Cdot(Cdot1.x, Cdot1.y, Cdot2);
+
+ b2Vec3 impulse = -b2Mul(m_mass, Cdot);
+ m_impulse += impulse;
+
+ b2Vec2 P(impulse.x, impulse.y);
+
+ vA -= mA * P;
+ wA -= iA * (b2Cross(m_rA, P) + impulse.z);
+
+ vB += mB * P;
+ wB += iB * (b2Cross(m_rB, P) + impulse.z);
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2WeldJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+
+ b2Rot qA(aA), qB(aB);
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+
+ float32 positionError, angularError;
+
+ b2Mat33 K;
+ K.ex.x = mA + mB + rA.y * rA.y * iA + rB.y * rB.y * iB;
+ K.ey.x = -rA.y * rA.x * iA - rB.y * rB.x * iB;
+ K.ez.x = -rA.y * iA - rB.y * iB;
+ K.ex.y = K.ey.x;
+ K.ey.y = mA + mB + rA.x * rA.x * iA + rB.x * rB.x * iB;
+ K.ez.y = rA.x * iA + rB.x * iB;
+ K.ex.z = K.ez.x;
+ K.ey.z = K.ez.y;
+ K.ez.z = iA + iB;
+
+ if (m_frequencyHz > 0.0f)
+ {
+ b2Vec2 C1 = cB + rB - cA - rA;
+
+ positionError = C1.Length();
+ angularError = 0.0f;
+
+ b2Vec2 P = -K.Solve22(C1);
+
+ cA -= mA * P;
+ aA -= iA * b2Cross(rA, P);
+
+ cB += mB * P;
+ aB += iB * b2Cross(rB, P);
+ }
+ else
+ {
+ b2Vec2 C1 = cB + rB - cA - rA;
+ float32 C2 = aB - aA - m_referenceAngle;
+
+ positionError = C1.Length();
+ angularError = b2Abs(C2);
+
+ b2Vec3 C(C1.x, C1.y, C2);
+
+ b2Vec3 impulse = -K.Solve33(C);
+ b2Vec2 P(impulse.x, impulse.y);
+
+ cA -= mA * P;
+ aA -= iA * (b2Cross(rA, P) + impulse.z);
+
+ cB += mB * P;
+ aB += iB * (b2Cross(rB, P) + impulse.z);
+ }
+
+ data.positions[m_indexA].c = cA;
+ data.positions[m_indexA].a = aA;
+ data.positions[m_indexB].c = cB;
+ data.positions[m_indexB].a = aB;
+
+ return positionError <= b2_linearSlop && angularError <= b2_angularSlop;
+}
+
+b2Vec2 b2WeldJoint::GetAnchorA() const
+{
+ return m_bodyA->GetWorldPoint(m_localAnchorA);
+}
+
+b2Vec2 b2WeldJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2WeldJoint::GetReactionForce(float32 inv_dt) const
+{
+ b2Vec2 P(m_impulse.x, m_impulse.y);
+ return inv_dt * P;
+}
+
+float32 b2WeldJoint::GetReactionTorque(float32 inv_dt) const
+{
+ return inv_dt * m_impulse.z;
+}
+
+void b2WeldJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ b2Log(" b2WeldJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.localAnchorA.Set(%.15lef, %.15lef);\n", m_localAnchorA.x, m_localAnchorA.y);
+ b2Log(" jd.localAnchorB.Set(%.15lef, %.15lef);\n", m_localAnchorB.x, m_localAnchorB.y);
+ b2Log(" jd.referenceAngle = %.15lef;\n", m_referenceAngle);
+ b2Log(" jd.frequencyHz = %.15lef;\n", m_frequencyHz);
+ b2Log(" jd.dampingRatio = %.15lef;\n", m_dampingRatio);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2WeldJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2WeldJoint.h
new file mode 100755
index 00000000..eed9bc10
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2WeldJoint.h
@@ -0,0 +1,126 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* 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 B2_WELD_JOINT_H
+#define B2_WELD_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Weld joint definition. You need to specify local anchor points
+/// where they are attached and the relative body angle. The position
+/// of the anchor points is important for computing the reaction torque.
+struct b2WeldJointDef : public b2JointDef
+{
+ b2WeldJointDef()
+ {
+ type = e_weldJoint;
+ localAnchorA.Set(0.0f, 0.0f);
+ localAnchorB.Set(0.0f, 0.0f);
+ referenceAngle = 0.0f;
+ frequencyHz = 0.0f;
+ dampingRatio = 0.0f;
+ }
+
+ /// Initialize the bodies, anchors, and reference angle using a world
+ /// anchor point.
+ void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor);
+
+ /// The local anchor point relative to bodyA's origin.
+ b2Vec2 localAnchorA;
+
+ /// The local anchor point relative to bodyB's origin.
+ b2Vec2 localAnchorB;
+
+ /// The bodyB angle minus bodyA angle in the reference state (radians).
+ float32 referenceAngle;
+
+ /// The mass-spring-damper frequency in Hertz. Rotation only.
+ /// Disable softness with a value of 0.
+ float32 frequencyHz;
+
+ /// The damping ratio. 0 = no damping, 1 = critical damping.
+ float32 dampingRatio;
+};
+
+/// A weld joint essentially glues two bodies together. A weld joint may
+/// distort somewhat because the island constraint solver is approximate.
+class b2WeldJoint : public b2Joint
+{
+public:
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// The local anchor point relative to bodyA's origin.
+ const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; }
+
+ /// The local anchor point relative to bodyB's origin.
+ const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; }
+
+ /// Get the reference angle.
+ float32 GetReferenceAngle() const { return m_referenceAngle; }
+
+ /// Set/get frequency in Hz.
+ void SetFrequency(float32 hz) { m_frequencyHz = hz; }
+ float32 GetFrequency() const { return m_frequencyHz; }
+
+ /// Set/get damping ratio.
+ void SetDampingRatio(float32 ratio) { m_dampingRatio = ratio; }
+ float32 GetDampingRatio() const { return m_dampingRatio; }
+
+ /// Dump to b2Log
+ void Dump();
+
+protected:
+
+ friend class b2Joint;
+
+ b2WeldJoint(const b2WeldJointDef* def);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ float32 m_frequencyHz;
+ float32 m_dampingRatio;
+ float32 m_bias;
+
+ // Solver shared
+ b2Vec2 m_localAnchorA;
+ b2Vec2 m_localAnchorB;
+ float32 m_referenceAngle;
+ float32 m_gamma;
+ b2Vec3 m_impulse;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_rA;
+ b2Vec2 m_rB;
+ b2Vec2 m_localCenterA;
+ b2Vec2 m_localCenterB;
+ float32 m_invMassA;
+ float32 m_invMassB;
+ float32 m_invIA;
+ float32 m_invIB;
+ b2Mat33 m_mass;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2WheelJoint.cpp b/games/rider/src/Box2D/Dynamics/Joints/b2WheelJoint.cpp
new file mode 100755
index 00000000..c9f6de60
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2WheelJoint.cpp
@@ -0,0 +1,419 @@
+/*
+* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/Joints/b2WheelJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+// Linear constraint (point-to-line)
+// d = pB - pA = xB + rB - xA - rA
+// C = dot(ay, d)
+// Cdot = dot(d, cross(wA, ay)) + dot(ay, vB + cross(wB, rB) - vA - cross(wA, rA))
+// = -dot(ay, vA) - dot(cross(d + rA, ay), wA) + dot(ay, vB) + dot(cross(rB, ay), vB)
+// J = [-ay, -cross(d + rA, ay), ay, cross(rB, ay)]
+
+// Spring linear constraint
+// C = dot(ax, d)
+// Cdot = = -dot(ax, vA) - dot(cross(d + rA, ax), wA) + dot(ax, vB) + dot(cross(rB, ax), vB)
+// J = [-ax -cross(d+rA, ax) ax cross(rB, ax)]
+
+// Motor rotational constraint
+// Cdot = wB - wA
+// J = [0 0 -1 0 0 1]
+
+void b2WheelJointDef::Initialize(b2Body* bA, b2Body* bB, const b2Vec2& anchor, const b2Vec2& axis)
+{
+ bodyA = bA;
+ bodyB = bB;
+ localAnchorA = bodyA->GetLocalPoint(anchor);
+ localAnchorB = bodyB->GetLocalPoint(anchor);
+ localAxisA = bodyA->GetLocalVector(axis);
+}
+
+b2WheelJoint::b2WheelJoint(const b2WheelJointDef* def)
+: b2Joint(def)
+{
+ m_localAnchorA = def->localAnchorA;
+ m_localAnchorB = def->localAnchorB;
+ m_localXAxisA = def->localAxisA;
+ m_localYAxisA = b2Cross(1.0f, m_localXAxisA);
+
+ m_mass = 0.0f;
+ m_impulse = 0.0f;
+ m_motorMass = 0.0f;
+ m_motorImpulse = 0.0f;
+ m_springMass = 0.0f;
+ m_springImpulse = 0.0f;
+
+ m_maxMotorTorque = def->maxMotorTorque;
+ m_motorSpeed = def->motorSpeed;
+ m_enableMotor = def->enableMotor;
+
+ m_frequencyHz = def->frequencyHz;
+ m_dampingRatio = def->dampingRatio;
+
+ m_bias = 0.0f;
+ m_gamma = 0.0f;
+
+ m_ax.SetZero();
+ m_ay.SetZero();
+}
+
+void b2WheelJoint::InitVelocityConstraints(const b2SolverData& data)
+{
+ m_indexA = m_bodyA->m_islandIndex;
+ m_indexB = m_bodyB->m_islandIndex;
+ m_localCenterA = m_bodyA->m_sweep.localCenter;
+ m_localCenterB = m_bodyB->m_sweep.localCenter;
+ m_invMassA = m_bodyA->m_invMass;
+ m_invMassB = m_bodyB->m_invMass;
+ m_invIA = m_bodyA->m_invI;
+ m_invIB = m_bodyB->m_invI;
+
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ b2Rot qA(aA), qB(aB);
+
+ // Compute the effective masses.
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+ b2Vec2 d = cB + rB - cA - rA;
+
+ // Point to line constraint
+ {
+ m_ay = b2Mul(qA, m_localYAxisA);
+ m_sAy = b2Cross(d + rA, m_ay);
+ m_sBy = b2Cross(rB, m_ay);
+
+ m_mass = mA + mB + iA * m_sAy * m_sAy + iB * m_sBy * m_sBy;
+
+ if (m_mass > 0.0f)
+ {
+ m_mass = 1.0f / m_mass;
+ }
+ }
+
+ // Spring constraint
+ m_springMass = 0.0f;
+ m_bias = 0.0f;
+ m_gamma = 0.0f;
+ if (m_frequencyHz > 0.0f)
+ {
+ m_ax = b2Mul(qA, m_localXAxisA);
+ m_sAx = b2Cross(d + rA, m_ax);
+ m_sBx = b2Cross(rB, m_ax);
+
+ float32 invMass = mA + mB + iA * m_sAx * m_sAx + iB * m_sBx * m_sBx;
+
+ if (invMass > 0.0f)
+ {
+ m_springMass = 1.0f / invMass;
+
+ float32 C = b2Dot(d, m_ax);
+
+ // Frequency
+ float32 omega = 2.0f * b2_pi * m_frequencyHz;
+
+ // Damping coefficient
+ float32 d = 2.0f * m_springMass * m_dampingRatio * omega;
+
+ // Spring stiffness
+ float32 k = m_springMass * omega * omega;
+
+ // magic formulas
+ float32 h = data.step.dt;
+ m_gamma = h * (d + h * k);
+ if (m_gamma > 0.0f)
+ {
+ m_gamma = 1.0f / m_gamma;
+ }
+
+ m_bias = C * h * k * m_gamma;
+
+ m_springMass = invMass + m_gamma;
+ if (m_springMass > 0.0f)
+ {
+ m_springMass = 1.0f / m_springMass;
+ }
+ }
+ }
+ else
+ {
+ m_springImpulse = 0.0f;
+ }
+
+ // Rotational motor
+ if (m_enableMotor)
+ {
+ m_motorMass = iA + iB;
+ if (m_motorMass > 0.0f)
+ {
+ m_motorMass = 1.0f / m_motorMass;
+ }
+ }
+ else
+ {
+ m_motorMass = 0.0f;
+ m_motorImpulse = 0.0f;
+ }
+
+ if (data.step.warmStarting)
+ {
+ // Account for variable time step.
+ m_impulse *= data.step.dtRatio;
+ m_springImpulse *= data.step.dtRatio;
+ m_motorImpulse *= data.step.dtRatio;
+
+ b2Vec2 P = m_impulse * m_ay + m_springImpulse * m_ax;
+ float32 LA = m_impulse * m_sAy + m_springImpulse * m_sAx + m_motorImpulse;
+ float32 LB = m_impulse * m_sBy + m_springImpulse * m_sBx + m_motorImpulse;
+
+ vA -= m_invMassA * P;
+ wA -= m_invIA * LA;
+
+ vB += m_invMassB * P;
+ wB += m_invIB * LB;
+ }
+ else
+ {
+ m_impulse = 0.0f;
+ m_springImpulse = 0.0f;
+ m_motorImpulse = 0.0f;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+void b2WheelJoint::SolveVelocityConstraints(const b2SolverData& data)
+{
+ float32 mA = m_invMassA, mB = m_invMassB;
+ float32 iA = m_invIA, iB = m_invIB;
+
+ b2Vec2 vA = data.velocities[m_indexA].v;
+ float32 wA = data.velocities[m_indexA].w;
+ b2Vec2 vB = data.velocities[m_indexB].v;
+ float32 wB = data.velocities[m_indexB].w;
+
+ // Solve spring constraint
+ {
+ float32 Cdot = b2Dot(m_ax, vB - vA) + m_sBx * wB - m_sAx * wA;
+ float32 impulse = -m_springMass * (Cdot + m_bias + m_gamma * m_springImpulse);
+ m_springImpulse += impulse;
+
+ b2Vec2 P = impulse * m_ax;
+ float32 LA = impulse * m_sAx;
+ float32 LB = impulse * m_sBx;
+
+ vA -= mA * P;
+ wA -= iA * LA;
+
+ vB += mB * P;
+ wB += iB * LB;
+ }
+
+ // Solve rotational motor constraint
+ {
+ float32 Cdot = wB - wA - m_motorSpeed;
+ float32 impulse = -m_motorMass * Cdot;
+
+ float32 oldImpulse = m_motorImpulse;
+ float32 maxImpulse = data.step.dt * m_maxMotorTorque;
+ m_motorImpulse = b2Clamp(m_motorImpulse + impulse, -maxImpulse, maxImpulse);
+ impulse = m_motorImpulse - oldImpulse;
+
+ wA -= iA * impulse;
+ wB += iB * impulse;
+ }
+
+ // Solve point to line constraint
+ {
+ float32 Cdot = b2Dot(m_ay, vB - vA) + m_sBy * wB - m_sAy * wA;
+ float32 impulse = -m_mass * Cdot;
+ m_impulse += impulse;
+
+ b2Vec2 P = impulse * m_ay;
+ float32 LA = impulse * m_sAy;
+ float32 LB = impulse * m_sBy;
+
+ vA -= mA * P;
+ wA -= iA * LA;
+
+ vB += mB * P;
+ wB += iB * LB;
+ }
+
+ data.velocities[m_indexA].v = vA;
+ data.velocities[m_indexA].w = wA;
+ data.velocities[m_indexB].v = vB;
+ data.velocities[m_indexB].w = wB;
+}
+
+bool b2WheelJoint::SolvePositionConstraints(const b2SolverData& data)
+{
+ b2Vec2 cA = data.positions[m_indexA].c;
+ float32 aA = data.positions[m_indexA].a;
+ b2Vec2 cB = data.positions[m_indexB].c;
+ float32 aB = data.positions[m_indexB].a;
+
+ b2Rot qA(aA), qB(aB);
+
+ b2Vec2 rA = b2Mul(qA, m_localAnchorA - m_localCenterA);
+ b2Vec2 rB = b2Mul(qB, m_localAnchorB - m_localCenterB);
+ b2Vec2 d = (cB - cA) + rB - rA;
+
+ b2Vec2 ay = b2Mul(qA, m_localYAxisA);
+
+ float32 sAy = b2Cross(d + rA, ay);
+ float32 sBy = b2Cross(rB, ay);
+
+ float32 C = b2Dot(d, ay);
+
+ float32 k = m_invMassA + m_invMassB + m_invIA * m_sAy * m_sAy + m_invIB * m_sBy * m_sBy;
+
+ float32 impulse;
+ if (k != 0.0f)
+ {
+ impulse = - C / k;
+ }
+ else
+ {
+ impulse = 0.0f;
+ }
+
+ b2Vec2 P = impulse * ay;
+ float32 LA = impulse * sAy;
+ float32 LB = impulse * sBy;
+
+ cA -= m_invMassA * P;
+ aA -= m_invIA * LA;
+ cB += m_invMassB * P;
+ aB += m_invIB * LB;
+
+ data.positions[m_indexA].c = cA;
+ data.positions[m_indexA].a = aA;
+ data.positions[m_indexB].c = cB;
+ data.positions[m_indexB].a = aB;
+
+ return b2Abs(C) <= b2_linearSlop;
+}
+
+b2Vec2 b2WheelJoint::GetAnchorA() const
+{
+ return m_bodyA->GetWorldPoint(m_localAnchorA);
+}
+
+b2Vec2 b2WheelJoint::GetAnchorB() const
+{
+ return m_bodyB->GetWorldPoint(m_localAnchorB);
+}
+
+b2Vec2 b2WheelJoint::GetReactionForce(float32 inv_dt) const
+{
+ return inv_dt * (m_impulse * m_ay + m_springImpulse * m_ax);
+}
+
+float32 b2WheelJoint::GetReactionTorque(float32 inv_dt) const
+{
+ return inv_dt * m_motorImpulse;
+}
+
+float32 b2WheelJoint::GetJointTranslation() const
+{
+ b2Body* bA = m_bodyA;
+ b2Body* bB = m_bodyB;
+
+ b2Vec2 pA = bA->GetWorldPoint(m_localAnchorA);
+ b2Vec2 pB = bB->GetWorldPoint(m_localAnchorB);
+ b2Vec2 d = pB - pA;
+ b2Vec2 axis = bA->GetWorldVector(m_localXAxisA);
+
+ float32 translation = b2Dot(d, axis);
+ return translation;
+}
+
+float32 b2WheelJoint::GetJointSpeed() const
+{
+ float32 wA = m_bodyA->m_angularVelocity;
+ float32 wB = m_bodyB->m_angularVelocity;
+ return wB - wA;
+}
+
+bool b2WheelJoint::IsMotorEnabled() const
+{
+ return m_enableMotor;
+}
+
+void b2WheelJoint::EnableMotor(bool flag)
+{
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_enableMotor = flag;
+}
+
+void b2WheelJoint::SetMotorSpeed(float32 speed)
+{
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_motorSpeed = speed;
+}
+
+void b2WheelJoint::SetMaxMotorTorque(float32 torque)
+{
+ m_bodyA->SetAwake(true);
+ m_bodyB->SetAwake(true);
+ m_maxMotorTorque = torque;
+}
+
+float32 b2WheelJoint::GetMotorTorque(float32 inv_dt) const
+{
+ return inv_dt * m_motorImpulse;
+}
+
+void b2WheelJoint::Dump()
+{
+ int32 indexA = m_bodyA->m_islandIndex;
+ int32 indexB = m_bodyB->m_islandIndex;
+
+ b2Log(" b2WheelJointDef jd;\n");
+ b2Log(" jd.bodyA = bodies[%d];\n", indexA);
+ b2Log(" jd.bodyB = bodies[%d];\n", indexB);
+ b2Log(" jd.collideConnected = bool(%d);\n", m_collideConnected);
+ b2Log(" jd.localAnchorA.Set(%.15lef, %.15lef);\n", m_localAnchorA.x, m_localAnchorA.y);
+ b2Log(" jd.localAnchorB.Set(%.15lef, %.15lef);\n", m_localAnchorB.x, m_localAnchorB.y);
+ b2Log(" jd.localAxisA.Set(%.15lef, %.15lef);\n", m_localXAxisA.x, m_localXAxisA.y);
+ b2Log(" jd.enableMotor = bool(%d);\n", m_enableMotor);
+ b2Log(" jd.motorSpeed = %.15lef;\n", m_motorSpeed);
+ b2Log(" jd.maxMotorTorque = %.15lef;\n", m_maxMotorTorque);
+ b2Log(" jd.frequencyHz = %.15lef;\n", m_frequencyHz);
+ b2Log(" jd.dampingRatio = %.15lef;\n", m_dampingRatio);
+ b2Log(" joints[%d] = m_world->CreateJoint(&jd);\n", m_index);
+}
diff --git a/games/rider/src/Box2D/Dynamics/Joints/b2WheelJoint.h b/games/rider/src/Box2D/Dynamics/Joints/b2WheelJoint.h
new file mode 100755
index 00000000..ca59d7a6
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/Joints/b2WheelJoint.h
@@ -0,0 +1,211 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* 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 B2_WHEEL_JOINT_H
+#define B2_WHEEL_JOINT_H
+
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+/// Wheel joint definition. This requires defining a line of
+/// motion using an axis and an anchor point. The definition uses local
+/// anchor points and a local axis so that the initial configuration
+/// can violate the constraint slightly. The joint translation is zero
+/// when the local anchor points coincide in world space. Using local
+/// anchors and a local axis helps when saving and loading a game.
+struct b2WheelJointDef : public b2JointDef
+{
+ b2WheelJointDef()
+ {
+ type = e_wheelJoint;
+ localAnchorA.SetZero();
+ localAnchorB.SetZero();
+ localAxisA.Set(1.0f, 0.0f);
+ enableMotor = false;
+ maxMotorTorque = 0.0f;
+ motorSpeed = 0.0f;
+ frequencyHz = 2.0f;
+ dampingRatio = 0.7f;
+ }
+
+ /// Initialize the bodies, anchors, axis, and reference angle using the world
+ /// anchor and world axis.
+ void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor, const b2Vec2& axis);
+
+ /// The local anchor point relative to bodyA's origin.
+ b2Vec2 localAnchorA;
+
+ /// The local anchor point relative to bodyB's origin.
+ b2Vec2 localAnchorB;
+
+ /// The local translation axis in bodyA.
+ b2Vec2 localAxisA;
+
+ /// Enable/disable the joint motor.
+ bool enableMotor;
+
+ /// The maximum motor torque, usually in N-m.
+ float32 maxMotorTorque;
+
+ /// The desired motor speed in radians per second.
+ float32 motorSpeed;
+
+ /// Suspension frequency, zero indicates no suspension
+ float32 frequencyHz;
+
+ /// Suspension damping ratio, one indicates critical damping
+ float32 dampingRatio;
+};
+
+/// A wheel joint. This joint provides two degrees of freedom: translation
+/// along an axis fixed in bodyA and rotation in the plane. You can use a
+/// joint limit to restrict the range of motion and a joint motor to drive
+/// the rotation or to model rotational friction.
+/// This joint is designed for vehicle suspensions.
+class b2WheelJoint : public b2Joint
+{
+public:
+ b2Vec2 GetAnchorA() const;
+ b2Vec2 GetAnchorB() const;
+
+ b2Vec2 GetReactionForce(float32 inv_dt) const;
+ float32 GetReactionTorque(float32 inv_dt) const;
+
+ /// The local anchor point relative to bodyA's origin.
+ const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; }
+
+ /// The local anchor point relative to bodyB's origin.
+ const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; }
+
+ /// The local joint axis relative to bodyA.
+ const b2Vec2& GetLocalAxisA() const { return m_localXAxisA; }
+
+ /// Get the current joint translation, usually in meters.
+ float32 GetJointTranslation() const;
+
+ /// Get the current joint translation speed, usually in meters per second.
+ float32 GetJointSpeed() const;
+
+ /// Is the joint motor enabled?
+ bool IsMotorEnabled() const;
+
+ /// Enable/disable the joint motor.
+ void EnableMotor(bool flag);
+
+ /// Set the motor speed, usually in radians per second.
+ void SetMotorSpeed(float32 speed);
+
+ /// Get the motor speed, usually in radians per second.
+ float32 GetMotorSpeed() const;
+
+ /// Set/Get the maximum motor force, usually in N-m.
+ void SetMaxMotorTorque(float32 torque);
+ float32 GetMaxMotorTorque() const;
+
+ /// Get the current motor torque given the inverse time step, usually in N-m.
+ float32 GetMotorTorque(float32 inv_dt) const;
+
+ /// Set/Get the spring frequency in hertz. Setting the frequency to zero disables the spring.
+ void SetSpringFrequencyHz(float32 hz);
+ float32 GetSpringFrequencyHz() const;
+
+ /// Set/Get the spring damping ratio
+ void SetSpringDampingRatio(float32 ratio);
+ float32 GetSpringDampingRatio() const;
+
+ /// Dump to b2Log
+ void Dump();
+
+protected:
+
+ friend class b2Joint;
+ b2WheelJoint(const b2WheelJointDef* def);
+
+ void InitVelocityConstraints(const b2SolverData& data);
+ void SolveVelocityConstraints(const b2SolverData& data);
+ bool SolvePositionConstraints(const b2SolverData& data);
+
+ float32 m_frequencyHz;
+ float32 m_dampingRatio;
+
+ // Solver shared
+ b2Vec2 m_localAnchorA;
+ b2Vec2 m_localAnchorB;
+ b2Vec2 m_localXAxisA;
+ b2Vec2 m_localYAxisA;
+
+ float32 m_impulse;
+ float32 m_motorImpulse;
+ float32 m_springImpulse;
+
+ float32 m_maxMotorTorque;
+ float32 m_motorSpeed;
+ bool m_enableMotor;
+
+ // Solver temp
+ int32 m_indexA;
+ int32 m_indexB;
+ b2Vec2 m_localCenterA;
+ b2Vec2 m_localCenterB;
+ float32 m_invMassA;
+ float32 m_invMassB;
+ float32 m_invIA;
+ float32 m_invIB;
+
+ b2Vec2 m_ax, m_ay;
+ float32 m_sAx, m_sBx;
+ float32 m_sAy, m_sBy;
+
+ float32 m_mass;
+ float32 m_motorMass;
+ float32 m_springMass;
+
+ float32 m_bias;
+ float32 m_gamma;
+};
+
+inline float32 b2WheelJoint::GetMotorSpeed() const
+{
+ return m_motorSpeed;
+}
+
+inline float32 b2WheelJoint::GetMaxMotorTorque() const
+{
+ return m_maxMotorTorque;
+}
+
+inline void b2WheelJoint::SetSpringFrequencyHz(float32 hz)
+{
+ m_frequencyHz = hz;
+}
+
+inline float32 b2WheelJoint::GetSpringFrequencyHz() const
+{
+ return m_frequencyHz;
+}
+
+inline void b2WheelJoint::SetSpringDampingRatio(float32 ratio)
+{
+ m_dampingRatio = ratio;
+}
+
+inline float32 b2WheelJoint::GetSpringDampingRatio() const
+{
+ return m_dampingRatio;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/b2Body.cpp b/games/rider/src/Box2D/Dynamics/b2Body.cpp
new file mode 100755
index 00000000..89bd8976
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2Body.cpp
@@ -0,0 +1,556 @@
+/*
+* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/b2World.h>
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+
+b2Body::b2Body(const b2BodyDef* bd, b2World* world)
+{
+ b2Assert(bd->position.IsValid());
+ b2Assert(bd->linearVelocity.IsValid());
+ b2Assert(b2IsValid(bd->angle));
+ b2Assert(b2IsValid(bd->angularVelocity));
+ b2Assert(b2IsValid(bd->angularDamping) && bd->angularDamping >= 0.0f);
+ b2Assert(b2IsValid(bd->linearDamping) && bd->linearDamping >= 0.0f);
+
+ m_flags = 0;
+
+ if (bd->bullet)
+ {
+ m_flags |= e_bulletFlag;
+ }
+ if (bd->fixedRotation)
+ {
+ m_flags |= e_fixedRotationFlag;
+ }
+ if (bd->allowSleep)
+ {
+ m_flags |= e_autoSleepFlag;
+ }
+ if (bd->awake)
+ {
+ m_flags |= e_awakeFlag;
+ }
+ if (bd->active)
+ {
+ m_flags |= e_activeFlag;
+ }
+
+ m_world = world;
+
+ m_xf.p = bd->position;
+ m_xf.q.Set(bd->angle);
+ m_xf0 = m_xf;
+
+ m_sweep.localCenter.SetZero();
+ m_sweep.c0 = m_xf.p;
+ m_sweep.c = m_xf.p;
+ m_sweep.a0 = bd->angle;
+ m_sweep.a = bd->angle;
+ m_sweep.alpha0 = 0.0f;
+
+ m_jointList = NULL;
+ m_contactList = NULL;
+ m_prev = NULL;
+ m_next = NULL;
+
+ m_linearVelocity = bd->linearVelocity;
+ m_angularVelocity = bd->angularVelocity;
+
+ m_linearDamping = bd->linearDamping;
+ m_angularDamping = bd->angularDamping;
+ m_gravityScale = bd->gravityScale;
+
+ m_force.SetZero();
+ m_torque = 0.0f;
+
+ m_sleepTime = 0.0f;
+
+ m_type = bd->type;
+
+ if (m_type == b2_dynamicBody)
+ {
+ m_mass = 1.0f;
+ m_invMass = 1.0f;
+ }
+ else
+ {
+ m_mass = 0.0f;
+ m_invMass = 0.0f;
+ }
+
+ m_I = 0.0f;
+ m_invI = 0.0f;
+
+ m_userData = bd->userData;
+
+ m_fixtureList = NULL;
+ m_fixtureCount = 0;
+}
+
+b2Body::~b2Body()
+{
+ // shapes and joints are destroyed in b2World::Destroy
+}
+
+void b2Body::SetType(b2BodyType type)
+{
+ b2Assert(m_world->IsLocked() == false);
+ if (m_world->IsLocked() == true)
+ {
+ return;
+ }
+
+ if (m_type == type)
+ {
+ return;
+ }
+
+ m_type = type;
+
+ ResetMassData();
+
+ if (m_type == b2_staticBody)
+ {
+ m_linearVelocity.SetZero();
+ m_angularVelocity = 0.0f;
+ m_sweep.a0 = m_sweep.a;
+ m_sweep.c0 = m_sweep.c;
+ SynchronizeFixtures();
+ }
+
+ SetAwake(true);
+
+ m_force.SetZero();
+ m_torque = 0.0f;
+
+ // Delete the attached contacts.
+ b2ContactEdge* ce = m_contactList;
+ while (ce)
+ {
+ b2ContactEdge* ce0 = ce;
+ ce = ce->next;
+ m_world->m_contactManager.Destroy(ce0->contact);
+ }
+ m_contactList = NULL;
+
+ // Touch the proxies so that new contacts will be created (when appropriate)
+ b2BroadPhase* broadPhase = &m_world->m_contactManager.m_broadPhase;
+ for (b2Fixture* f = m_fixtureList; f; f = f->m_next)
+ {
+ int32 proxyCount = f->m_proxyCount;
+ for (int32 i = 0; i < proxyCount; ++i)
+ {
+ broadPhase->TouchProxy(f->m_proxies[i].proxyId);
+ }
+ }
+}
+
+b2Fixture* b2Body::CreateFixture(const b2FixtureDef* def)
+{
+ b2Assert(m_world->IsLocked() == false);
+ if (m_world->IsLocked() == true)
+ {
+ return NULL;
+ }
+
+ b2BlockAllocator* allocator = &m_world->m_blockAllocator;
+
+ void* memory = allocator->Allocate(sizeof(b2Fixture));
+ b2Fixture* fixture = new (memory) b2Fixture;
+ fixture->Create(allocator, this, def);
+
+ if (m_flags & e_activeFlag)
+ {
+ b2BroadPhase* broadPhase = &m_world->m_contactManager.m_broadPhase;
+ fixture->CreateProxies(broadPhase, m_xf);
+ }
+
+ fixture->m_next = m_fixtureList;
+ m_fixtureList = fixture;
+ ++m_fixtureCount;
+
+ fixture->m_body = this;
+
+ // Adjust mass properties if needed.
+ if (fixture->m_density > 0.0f)
+ {
+ ResetMassData();
+ }
+
+ // Let the world know we have a new fixture. This will cause new contacts
+ // to be created at the beginning of the next time step.
+ m_world->m_flags |= b2World::e_newFixture;
+
+ return fixture;
+}
+
+b2Fixture* b2Body::CreateFixture(const b2Shape* shape, float32 density)
+{
+ b2FixtureDef def;
+ def.shape = shape;
+ def.density = density;
+
+ return CreateFixture(&def);
+}
+
+void b2Body::DestroyFixture(b2Fixture* fixture)
+{
+ b2Assert(m_world->IsLocked() == false);
+ if (m_world->IsLocked() == true)
+ {
+ return;
+ }
+
+ b2Assert(fixture->m_body == this);
+
+ // Remove the fixture from this body's singly linked list.
+ b2Assert(m_fixtureCount > 0);
+ b2Fixture** node = &m_fixtureList;
+#if B2_ASSERT_ENABLED
+ bool found = false;
+#endif // B2_ASSERT_ENABLED
+ while (*node != NULL)
+ {
+ if (*node == fixture)
+ {
+ *node = fixture->m_next;
+#if B2_ASSERT_ENABLED
+ found = true;
+#endif // B2_ASSERT_ENABLED
+ break;
+ }
+
+ node = &(*node)->m_next;
+ }
+
+ // You tried to remove a shape that is not attached to this body.
+ b2Assert(found);
+
+ // Destroy any contacts associated with the fixture.
+ b2ContactEdge* edge = m_contactList;
+ while (edge)
+ {
+ b2Contact* c = edge->contact;
+ edge = edge->next;
+
+ b2Fixture* fixtureA = c->GetFixtureA();
+ b2Fixture* fixtureB = c->GetFixtureB();
+
+ if (fixture == fixtureA || fixture == fixtureB)
+ {
+ // This destroys the contact and removes it from
+ // this body's contact list.
+ m_world->m_contactManager.Destroy(c);
+ }
+ }
+
+ b2BlockAllocator* allocator = &m_world->m_blockAllocator;
+
+ if (m_flags & e_activeFlag)
+ {
+ b2BroadPhase* broadPhase = &m_world->m_contactManager.m_broadPhase;
+ fixture->DestroyProxies(broadPhase);
+ }
+
+ fixture->Destroy(allocator);
+ fixture->m_body = NULL;
+ fixture->m_next = NULL;
+ fixture->~b2Fixture();
+ allocator->Free(fixture, sizeof(b2Fixture));
+
+ --m_fixtureCount;
+
+ // Reset the mass data.
+ ResetMassData();
+}
+
+void b2Body::ResetMassData()
+{
+ // Compute mass data from shapes. Each shape has its own density.
+ m_mass = 0.0f;
+ m_invMass = 0.0f;
+ m_I = 0.0f;
+ m_invI = 0.0f;
+ m_sweep.localCenter.SetZero();
+
+ // Static and kinematic bodies have zero mass.
+ if (m_type == b2_staticBody || m_type == b2_kinematicBody)
+ {
+ m_sweep.c0 = m_xf.p;
+ m_sweep.c = m_xf.p;
+ m_sweep.a0 = m_sweep.a;
+ return;
+ }
+
+ b2Assert(m_type == b2_dynamicBody);
+
+ // Accumulate mass over all fixtures.
+ b2Vec2 localCenter = b2Vec2_zero;
+ for (b2Fixture* f = m_fixtureList; f; f = f->m_next)
+ {
+ if (f->m_density == 0.0f)
+ {
+ continue;
+ }
+
+ b2MassData massData;
+ f->GetMassData(&massData);
+ m_mass += massData.mass;
+ localCenter += massData.mass * massData.center;
+ m_I += massData.I;
+ }
+
+ // Compute center of mass.
+ if (m_mass > 0.0f)
+ {
+ m_invMass = 1.0f / m_mass;
+ localCenter *= m_invMass;
+ }
+ else
+ {
+ // Force all dynamic bodies to have a positive mass.
+ m_mass = 1.0f;
+ m_invMass = 1.0f;
+ }
+
+ if (m_I > 0.0f && (m_flags & e_fixedRotationFlag) == 0)
+ {
+ // Center the inertia about the center of mass.
+ m_I -= m_mass * b2Dot(localCenter, localCenter);
+ b2Assert(m_I > 0.0f);
+ m_invI = 1.0f / m_I;
+
+ }
+ else
+ {
+ m_I = 0.0f;
+ m_invI = 0.0f;
+ }
+
+ // Move center of mass.
+ b2Vec2 oldCenter = m_sweep.c;
+ m_sweep.localCenter = localCenter;
+ m_sweep.c0 = m_sweep.c = b2Mul(m_xf, m_sweep.localCenter);
+
+ // Update center of mass velocity.
+ m_linearVelocity += b2Cross(m_angularVelocity, m_sweep.c - oldCenter);
+}
+
+void b2Body::SetMassData(const b2MassData* massData)
+{
+ b2Assert(m_world->IsLocked() == false);
+ if (m_world->IsLocked() == true)
+ {
+ return;
+ }
+
+ if (m_type != b2_dynamicBody)
+ {
+ return;
+ }
+
+ m_invMass = 0.0f;
+ m_I = 0.0f;
+ m_invI = 0.0f;
+
+ m_mass = massData->mass;
+ if (m_mass <= 0.0f)
+ {
+ m_mass = 1.0f;
+ }
+
+ m_invMass = 1.0f / m_mass;
+
+ if (massData->I > 0.0f && (m_flags & b2Body::e_fixedRotationFlag) == 0)
+ {
+ m_I = massData->I - m_mass * b2Dot(massData->center, massData->center);
+ b2Assert(m_I > 0.0f);
+ m_invI = 1.0f / m_I;
+ }
+
+ // Move center of mass.
+ b2Vec2 oldCenter = m_sweep.c;
+ m_sweep.localCenter = massData->center;
+ m_sweep.c0 = m_sweep.c = b2Mul(m_xf, m_sweep.localCenter);
+
+ // Update center of mass velocity.
+ m_linearVelocity += b2Cross(m_angularVelocity, m_sweep.c - oldCenter);
+}
+
+bool b2Body::ShouldCollide(const b2Body* other) const
+{
+ // At least one body should be dynamic.
+ if (m_type != b2_dynamicBody && other->m_type != b2_dynamicBody)
+ {
+ return false;
+ }
+
+ // Does a joint prevent collision?
+ for (b2JointEdge* jn = m_jointList; jn; jn = jn->next)
+ {
+ if (jn->other == other)
+ {
+ if (jn->joint->m_collideConnected == false)
+ {
+ return false;
+ }
+ }
+ }
+
+ return true;
+}
+
+void b2Body::SetTransform(const b2Vec2& position, float32 angle)
+{
+ b2Assert(m_world->IsLocked() == false);
+ if (m_world->IsLocked() == true)
+ {
+ return;
+ }
+
+ m_xf.q.Set(angle);
+ m_xf.p = position;
+ m_xf0 = m_xf;
+
+ m_sweep.c = b2Mul(m_xf, m_sweep.localCenter);
+ m_sweep.a = angle;
+
+ m_sweep.c0 = m_sweep.c;
+ m_sweep.a0 = angle;
+
+ b2BroadPhase* broadPhase = &m_world->m_contactManager.m_broadPhase;
+ for (b2Fixture* f = m_fixtureList; f; f = f->m_next)
+ {
+ f->Synchronize(broadPhase, m_xf, m_xf);
+ }
+}
+
+void b2Body::SynchronizeFixtures()
+{
+ b2Transform xf1;
+ xf1.q.Set(m_sweep.a0);
+ xf1.p = m_sweep.c0 - b2Mul(xf1.q, m_sweep.localCenter);
+
+ b2BroadPhase* broadPhase = &m_world->m_contactManager.m_broadPhase;
+ for (b2Fixture* f = m_fixtureList; f; f = f->m_next)
+ {
+ f->Synchronize(broadPhase, xf1, m_xf);
+ }
+}
+
+void b2Body::SetActive(bool flag)
+{
+ b2Assert(m_world->IsLocked() == false);
+
+ if (flag == IsActive())
+ {
+ return;
+ }
+
+ if (flag)
+ {
+ m_flags |= e_activeFlag;
+
+ // Create all proxies.
+ b2BroadPhase* broadPhase = &m_world->m_contactManager.m_broadPhase;
+ for (b2Fixture* f = m_fixtureList; f; f = f->m_next)
+ {
+ f->CreateProxies(broadPhase, m_xf);
+ }
+
+ // Contacts are created the next time step.
+ }
+ else
+ {
+ m_flags &= ~e_activeFlag;
+
+ // Destroy all proxies.
+ b2BroadPhase* broadPhase = &m_world->m_contactManager.m_broadPhase;
+ for (b2Fixture* f = m_fixtureList; f; f = f->m_next)
+ {
+ f->DestroyProxies(broadPhase);
+ }
+
+ // Destroy the attached contacts.
+ b2ContactEdge* ce = m_contactList;
+ while (ce)
+ {
+ b2ContactEdge* ce0 = ce;
+ ce = ce->next;
+ m_world->m_contactManager.Destroy(ce0->contact);
+ }
+ m_contactList = NULL;
+ }
+}
+
+void b2Body::SetFixedRotation(bool flag)
+{
+ bool status = (m_flags & e_fixedRotationFlag) == e_fixedRotationFlag;
+ if (status == flag)
+ {
+ return;
+ }
+
+ if (flag)
+ {
+ m_flags |= e_fixedRotationFlag;
+ }
+ else
+ {
+ m_flags &= ~e_fixedRotationFlag;
+ }
+
+ m_angularVelocity = 0.0f;
+
+ ResetMassData();
+}
+
+void b2Body::Dump()
+{
+ int32 bodyIndex = m_islandIndex;
+
+ b2Log("{\n");
+ b2Log(" b2BodyDef bd;\n");
+ b2Log(" bd.type = b2BodyType(%d);\n", m_type);
+ b2Log(" bd.position.Set(%.15lef, %.15lef);\n", m_xf.p.x, m_xf.p.y);
+ b2Log(" bd.angle = %.15lef;\n", m_sweep.a);
+ b2Log(" bd.linearVelocity.Set(%.15lef, %.15lef);\n", m_linearVelocity.x, m_linearVelocity.y);
+ b2Log(" bd.angularVelocity = %.15lef;\n", m_angularVelocity);
+ b2Log(" bd.linearDamping = %.15lef;\n", m_linearDamping);
+ b2Log(" bd.angularDamping = %.15lef;\n", m_angularDamping);
+ b2Log(" bd.allowSleep = bool(%d);\n", m_flags & e_autoSleepFlag);
+ b2Log(" bd.awake = bool(%d);\n", m_flags & e_awakeFlag);
+ b2Log(" bd.fixedRotation = bool(%d);\n", m_flags & e_fixedRotationFlag);
+ b2Log(" bd.bullet = bool(%d);\n", m_flags & e_bulletFlag);
+ b2Log(" bd.active = bool(%d);\n", m_flags & e_activeFlag);
+ b2Log(" bd.gravityScale = %.15lef;\n", m_gravityScale);
+ b2Log(" bodies[%d] = m_world->CreateBody(&bd);\n", m_islandIndex);
+ b2Log("\n");
+ for (b2Fixture* f = m_fixtureList; f; f = f->m_next)
+ {
+ b2Log(" {\n");
+ f->Dump(bodyIndex);
+ b2Log(" }\n");
+ }
+ b2Log("}\n");
+}
diff --git a/games/rider/src/Box2D/Dynamics/b2Body.h b/games/rider/src/Box2D/Dynamics/b2Body.h
new file mode 100755
index 00000000..943ad311
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2Body.h
@@ -0,0 +1,894 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_BODY_H
+#define B2_BODY_H
+
+#include <Box2D/Common/b2Math.h>
+#include <Box2D/Collision/Shapes/b2Shape.h>
+#include <memory>
+
+class b2Fixture;
+class b2Joint;
+class b2Contact;
+class b2Controller;
+class b2World;
+struct b2FixtureDef;
+struct b2JointEdge;
+struct b2ContactEdge;
+
+/// The body type.
+/// static: zero mass, zero velocity, may be manually moved
+/// kinematic: zero mass, non-zero velocity set by user, moved by solver
+/// dynamic: positive mass, non-zero velocity determined by forces, moved by solver
+enum b2BodyType
+{
+ b2_staticBody = 0,
+ b2_kinematicBody,
+ b2_dynamicBody
+
+ // TODO_ERIN
+ //b2_bulletBody,
+};
+
+/// A body definition holds all the data needed to construct a rigid body.
+/// You can safely re-use body definitions. Shapes are added to a body after construction.
+struct b2BodyDef
+{
+ /// This constructor sets the body definition default values.
+ b2BodyDef()
+ {
+ userData = NULL;
+ position.Set(0.0f, 0.0f);
+ angle = 0.0f;
+ linearVelocity.Set(0.0f, 0.0f);
+ angularVelocity = 0.0f;
+ linearDamping = 0.0f;
+ angularDamping = 0.0f;
+ allowSleep = true;
+ awake = true;
+ fixedRotation = false;
+ bullet = false;
+ type = b2_staticBody;
+ active = true;
+ gravityScale = 1.0f;
+ }
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+ /// Set position with direct floats.
+ void SetPosition(float32 positionX, float32 positionY);
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+ /// The body type: static, kinematic, or dynamic.
+ /// Note: if a dynamic body would have zero mass, the mass is set to one.
+ b2BodyType type;
+
+ /// The world position of the body. Avoid creating bodies at the origin
+ /// since this can lead to many overlapping shapes.
+ b2Vec2 position;
+
+ /// The world angle of the body in radians.
+ float32 angle;
+
+ /// The linear velocity of the body's origin in world co-ordinates.
+ b2Vec2 linearVelocity;
+
+ /// The angular velocity of the body.
+ float32 angularVelocity;
+
+ /// Linear damping is use to reduce the linear velocity. The damping parameter
+ /// can be larger than 1.0f but the damping effect becomes sensitive to the
+ /// time step when the damping parameter is large.
+ float32 linearDamping;
+
+ /// Angular damping is use to reduce the angular velocity. The damping parameter
+ /// can be larger than 1.0f but the damping effect becomes sensitive to the
+ /// time step when the damping parameter is large.
+ float32 angularDamping;
+
+ /// Set this flag to false if this body should never fall asleep. Note that
+ /// this increases CPU usage.
+ bool allowSleep;
+
+ /// Is this body initially awake or sleeping?
+ bool awake;
+
+ /// Should this body be prevented from rotating? Useful for characters.
+ bool fixedRotation;
+
+ /// Is this a fast moving body that should be prevented from tunneling through
+ /// other moving bodies? Note that all bodies are prevented from tunneling through
+ /// kinematic and static bodies. This setting is only considered on dynamic bodies.
+ /// @warning You should use this flag sparingly since it increases processing time.
+ bool bullet;
+
+ /// Does this body start out active?
+ bool active;
+
+ /// Use this to store application specific body data.
+ void* userData;
+
+ /// Scale the gravity applied to this body.
+ float32 gravityScale;
+};
+
+/// A rigid body. These are created via b2World::CreateBody.
+class b2Body
+{
+public:
+ /// Creates a fixture and attach it to this body. Use this function if you need
+ /// to set some fixture parameters, like friction. Otherwise you can create the
+ /// fixture directly from a shape.
+ /// If the density is non-zero, this function automatically updates the mass of the body.
+ /// Contacts are not created until the next time step.
+ /// @param def the fixture definition.
+ /// @warning This function is locked during callbacks.
+ b2Fixture* CreateFixture(const b2FixtureDef* def);
+
+ /// Creates a fixture from a shape and attach it to this body.
+ /// This is a convenience function. Use b2FixtureDef if you need to set parameters
+ /// like friction, restitution, user data, or filtering.
+ /// If the density is non-zero, this function automatically updates the mass of the body.
+ /// @param shape the shape to be cloned.
+ /// @param density the shape density (set to zero for static bodies).
+ /// @warning This function is locked during callbacks.
+ b2Fixture* CreateFixture(const b2Shape* shape, float32 density);
+
+ /// Destroy a fixture. This removes the fixture from the broad-phase and
+ /// destroys all contacts associated with this fixture. This will
+ /// automatically adjust the mass of the body if the body is dynamic and the
+ /// fixture has positive density.
+ /// All fixtures attached to a body are implicitly destroyed when the body is destroyed.
+ /// @param fixture the fixture to be removed.
+ /// @warning This function is locked during callbacks.
+ void DestroyFixture(b2Fixture* fixture);
+
+ /// Set the position of the body's origin and rotation.
+ /// Manipulating a body's transform may cause non-physical behavior.
+ /// Note: contacts are updated on the next call to b2World::Step.
+ /// @param position the world position of the body's local origin.
+ /// @param angle the world rotation in radians.
+ void SetTransform(const b2Vec2& position, float32 angle);
+
+ /// Get the body transform for the body's origin.
+ /// @return the world transform of the body's origin.
+ const b2Transform& GetTransform() const;
+
+ /// Get the world body origin position.
+ /// @return the world position of the body's origin.
+ const b2Vec2& GetPosition() const;
+
+ /// Get the angle in radians.
+ /// @return the current world rotation angle in radians.
+ float32 GetAngle() const;
+
+ /// Get the world position of the center of mass.
+ const b2Vec2& GetWorldCenter() const;
+
+ /// Get the local position of the center of mass.
+ const b2Vec2& GetLocalCenter() const;
+
+ /// Set the linear velocity of the center of mass.
+ /// @param v the new linear velocity of the center of mass.
+ void SetLinearVelocity(const b2Vec2& v);
+
+ /// Get the linear velocity of the center of mass.
+ /// @return the linear velocity of the center of mass.
+ const b2Vec2& GetLinearVelocity() const;
+
+ /// Set the angular velocity.
+ /// @param omega the new angular velocity in radians/second.
+ void SetAngularVelocity(float32 omega);
+
+ /// Get the angular velocity.
+ /// @return the angular velocity in radians/second.
+ float32 GetAngularVelocity() const;
+
+ /// Apply a force at a world point. If the force is not
+ /// applied at the center of mass, it will generate a torque and
+ /// affect the angular velocity. This wakes up the body.
+ /// @param force the world force vector, usually in Newtons (N).
+ /// @param point the world position of the point of application.
+ /// @param wake also wake up the body
+ void ApplyForce(const b2Vec2& force, const b2Vec2& point, bool wake);
+
+ /// Apply a force to the center of mass. This wakes up the body.
+ /// @param force the world force vector, usually in Newtons (N).
+ /// @param wake also wake up the body
+ void ApplyForceToCenter(const b2Vec2& force, bool wake);
+
+ /// Apply a torque. This affects the angular velocity
+ /// without affecting the linear velocity of the center of mass.
+ /// This wakes up the body.
+ /// @param torque about the z-axis (out of the screen), usually in N-m.
+ /// @param wake also wake up the body
+ void ApplyTorque(float32 torque, bool wake);
+
+ /// Apply an impulse at a point. This immediately modifies the velocity.
+ /// It also modifies the angular velocity if the point of application
+ /// is not at the center of mass. This wakes up the body.
+ /// @param impulse the world impulse vector, usually in N-seconds or kg-m/s.
+ /// @param point the world position of the point of application.
+ /// @param wake also wake up the body
+ void ApplyLinearImpulse(const b2Vec2& impulse, const b2Vec2& point, bool wake);
+
+ /// Apply an angular impulse.
+ /// @param impulse the angular impulse in units of kg*m*m/s
+ /// @param wake also wake up the body
+ void ApplyAngularImpulse(float32 impulse, bool wake);
+
+ /// Get the total mass of the body.
+ /// @return the mass, usually in kilograms (kg).
+ float32 GetMass() const;
+
+ /// Get the rotational inertia of the body about the local origin.
+ /// @return the rotational inertia, usually in kg-m^2.
+ float32 GetInertia() const;
+
+ /// Get the mass data of the body.
+ /// @return a struct containing the mass, inertia and center of the body.
+ void GetMassData(b2MassData* data) const;
+
+ /// Set the mass properties to override the mass properties of the fixtures.
+ /// Note that this changes the center of mass position.
+ /// Note that creating or destroying fixtures can also alter the mass.
+ /// This function has no effect if the body isn't dynamic.
+ /// @param massData the mass properties.
+ void SetMassData(const b2MassData* data);
+
+ /// This resets the mass properties to the sum of the mass properties of the fixtures.
+ /// This normally does not need to be called unless you called SetMassData to override
+ /// the mass and you later want to reset the mass.
+ void ResetMassData();
+
+ /// Get the world coordinates of a point given the local coordinates.
+ /// @param localPoint a point on the body measured relative the the body's origin.
+ /// @return the same point expressed in world coordinates.
+ b2Vec2 GetWorldPoint(const b2Vec2& localPoint) const;
+
+ /// Get the world coordinates of a vector given the local coordinates.
+ /// @param localVector a vector fixed in the body.
+ /// @return the same vector expressed in world coordinates.
+ b2Vec2 GetWorldVector(const b2Vec2& localVector) const;
+
+ /// Gets a local point relative to the body's origin given a world point.
+ /// @param a point in world coordinates.
+ /// @return the corresponding local point relative to the body's origin.
+ b2Vec2 GetLocalPoint(const b2Vec2& worldPoint) const;
+
+ /// Gets a local vector given a world vector.
+ /// @param a vector in world coordinates.
+ /// @return the corresponding local vector.
+ b2Vec2 GetLocalVector(const b2Vec2& worldVector) const;
+
+ /// Get the world linear velocity of a world point attached to this body.
+ /// @param a point in world coordinates.
+ /// @return the world velocity of a point.
+ b2Vec2 GetLinearVelocityFromWorldPoint(const b2Vec2& worldPoint) const;
+
+ /// Get the world velocity of a local point.
+ /// @param a point in local coordinates.
+ /// @return the world velocity of a point.
+ b2Vec2 GetLinearVelocityFromLocalPoint(const b2Vec2& localPoint) const;
+
+ /// Get the linear damping of the body.
+ float32 GetLinearDamping() const;
+
+ /// Set the linear damping of the body.
+ void SetLinearDamping(float32 linearDamping);
+
+ /// Get the angular damping of the body.
+ float32 GetAngularDamping() const;
+
+ /// Set the angular damping of the body.
+ void SetAngularDamping(float32 angularDamping);
+
+ /// Get the gravity scale of the body.
+ float32 GetGravityScale() const;
+
+ /// Set the gravity scale of the body.
+ void SetGravityScale(float32 scale);
+
+ /// Set the type of this body. This may alter the mass and velocity.
+ void SetType(b2BodyType type);
+
+ /// Get the type of this body.
+ b2BodyType GetType() const;
+
+ /// Should this body be treated like a bullet for continuous collision detection?
+ void SetBullet(bool flag);
+
+ /// Is this body treated like a bullet for continuous collision detection?
+ bool IsBullet() const;
+
+ /// You can disable sleeping on this body. If you disable sleeping, the
+ /// body will be woken.
+ void SetSleepingAllowed(bool flag);
+
+ /// Is this body allowed to sleep
+ bool IsSleepingAllowed() const;
+
+ /// Set the sleep state of the body. A sleeping body has very
+ /// low CPU cost.
+ /// @param flag set to true to wake the body, false to put it to sleep.
+ void SetAwake(bool flag);
+
+ /// Get the sleeping state of this body.
+ /// @return true if the body is awake.
+ bool IsAwake() const;
+
+ /// Set the active state of the body. An inactive body is not
+ /// simulated and cannot be collided with or woken up.
+ /// If you pass a flag of true, all fixtures will be added to the
+ /// broad-phase.
+ /// If you pass a flag of false, all fixtures will be removed from
+ /// the broad-phase and all contacts will be destroyed.
+ /// Fixtures and joints are otherwise unaffected. You may continue
+ /// to create/destroy fixtures and joints on inactive bodies.
+ /// Fixtures on an inactive body are implicitly inactive and will
+ /// not participate in collisions, ray-casts, or queries.
+ /// Joints connected to an inactive body are implicitly inactive.
+ /// An inactive body is still owned by a b2World object and remains
+ /// in the body list.
+ void SetActive(bool flag);
+
+ /// Get the active state of the body.
+ bool IsActive() const;
+
+ /// Set this body to have fixed rotation. This causes the mass
+ /// to be reset.
+ void SetFixedRotation(bool flag);
+
+ /// Does this body have fixed rotation?
+ bool IsFixedRotation() const;
+
+ /// Get the list of all fixtures attached to this body.
+ b2Fixture* GetFixtureList();
+ const b2Fixture* GetFixtureList() const;
+
+ /// Get the list of all joints attached to this body.
+ b2JointEdge* GetJointList();
+ const b2JointEdge* GetJointList() const;
+
+ /// Get the list of all contacts attached to this body.
+ /// @warning this list changes during the time step and you may
+ /// miss some collisions if you don't use b2ContactListener.
+ b2ContactEdge* GetContactList();
+ const b2ContactEdge* GetContactList() const;
+
+ /// Get the next body in the world's body list.
+ b2Body* GetNext();
+ const b2Body* GetNext() const;
+
+ /// Get the user data pointer that was provided in the body definition.
+ void* GetUserData() const;
+
+ /// Set the user data. Use this to store your application specific data.
+ void SetUserData(void* data);
+
+ /// Get the parent world of this body.
+ b2World* GetWorld();
+ const b2World* GetWorld() const;
+
+ /// Dump this body to a log file
+ void Dump();
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+public:
+ /// Get x-coordinate of position.
+ float32 GetPositionX() const { return GetPosition().x; }
+
+ /// Get y-coordinate of position.
+ float32 GetPositionY() const { return GetPosition().y; }
+
+ /// Set b2Transform using direct floats.
+ void SetTransform(float32 positionX, float32 positionY, float32 angle);
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+private:
+
+ friend class b2World;
+ friend class b2Island;
+ friend class b2ContactManager;
+ friend class b2ContactSolver;
+ friend class b2Contact;
+
+ friend class b2DistanceJoint;
+ friend class b2FrictionJoint;
+ friend class b2GearJoint;
+ friend class b2MotorJoint;
+ friend class b2MouseJoint;
+ friend class b2PrismaticJoint;
+ friend class b2PulleyJoint;
+ friend class b2RevoluteJoint;
+ friend class b2RopeJoint;
+ friend class b2WeldJoint;
+ friend class b2WheelJoint;
+
+ friend class b2ParticleSystem;
+ friend class b2ParticleGroup;
+
+ // m_flags
+ enum
+ {
+ e_islandFlag = 0x0001,
+ e_awakeFlag = 0x0002,
+ e_autoSleepFlag = 0x0004,
+ e_bulletFlag = 0x0008,
+ e_fixedRotationFlag = 0x0010,
+ e_activeFlag = 0x0020,
+ e_toiFlag = 0x0040
+ };
+
+ b2Body(const b2BodyDef* bd, b2World* world);
+ ~b2Body();
+
+ void SynchronizeFixtures();
+ void SynchronizeTransform();
+
+ // This is used to prevent connected bodies from colliding.
+ // It may lie, depending on the collideConnected flag.
+ bool ShouldCollide(const b2Body* other) const;
+
+ void Advance(float32 t);
+
+ b2BodyType m_type;
+
+ uint16 m_flags;
+
+ int32 m_islandIndex;
+
+ b2Transform m_xf; // the body origin transform
+ b2Transform m_xf0; // the previous transform for particle simulation
+ b2Sweep m_sweep; // the swept motion for CCD
+
+ b2Vec2 m_linearVelocity;
+ float32 m_angularVelocity;
+
+ b2Vec2 m_force;
+ float32 m_torque;
+
+ b2World* m_world;
+ b2Body* m_prev;
+ b2Body* m_next;
+
+ b2Fixture* m_fixtureList;
+ int32 m_fixtureCount;
+
+ b2JointEdge* m_jointList;
+ b2ContactEdge* m_contactList;
+
+ float32 m_mass, m_invMass;
+
+ // Rotational inertia about the center of mass.
+ float32 m_I, m_invI;
+
+ float32 m_linearDamping;
+ float32 m_angularDamping;
+ float32 m_gravityScale;
+
+ float32 m_sleepTime;
+
+ void* m_userData;
+};
+
+inline b2BodyType b2Body::GetType() const
+{
+ return m_type;
+}
+
+inline const b2Transform& b2Body::GetTransform() const
+{
+ return m_xf;
+}
+
+inline const b2Vec2& b2Body::GetPosition() const
+{
+ return m_xf.p;
+}
+
+inline float32 b2Body::GetAngle() const
+{
+ return m_sweep.a;
+}
+
+inline const b2Vec2& b2Body::GetWorldCenter() const
+{
+ return m_sweep.c;
+}
+
+inline const b2Vec2& b2Body::GetLocalCenter() const
+{
+ return m_sweep.localCenter;
+}
+
+inline void b2Body::SetLinearVelocity(const b2Vec2& v)
+{
+ if (m_type == b2_staticBody)
+ {
+ return;
+ }
+
+ if (b2Dot(v,v) > 0.0f)
+ {
+ SetAwake(true);
+ }
+
+ m_linearVelocity = v;
+}
+
+inline const b2Vec2& b2Body::GetLinearVelocity() const
+{
+ return m_linearVelocity;
+}
+
+inline void b2Body::SetAngularVelocity(float32 w)
+{
+ if (m_type == b2_staticBody)
+ {
+ return;
+ }
+
+ if (w * w > 0.0f)
+ {
+ SetAwake(true);
+ }
+
+ m_angularVelocity = w;
+}
+
+inline float32 b2Body::GetAngularVelocity() const
+{
+ return m_angularVelocity;
+}
+
+inline float32 b2Body::GetMass() const
+{
+ return m_mass;
+}
+
+inline float32 b2Body::GetInertia() const
+{
+ return m_I + m_mass * b2Dot(m_sweep.localCenter, m_sweep.localCenter);
+}
+
+inline void b2Body::GetMassData(b2MassData* data) const
+{
+ data->mass = m_mass;
+ data->I = m_I + m_mass * b2Dot(m_sweep.localCenter, m_sweep.localCenter);
+ data->center = m_sweep.localCenter;
+}
+
+inline b2Vec2 b2Body::GetWorldPoint(const b2Vec2& localPoint) const
+{
+ return b2Mul(m_xf, localPoint);
+}
+
+inline b2Vec2 b2Body::GetWorldVector(const b2Vec2& localVector) const
+{
+ return b2Mul(m_xf.q, localVector);
+}
+
+inline b2Vec2 b2Body::GetLocalPoint(const b2Vec2& worldPoint) const
+{
+ return b2MulT(m_xf, worldPoint);
+}
+
+inline b2Vec2 b2Body::GetLocalVector(const b2Vec2& worldVector) const
+{
+ return b2MulT(m_xf.q, worldVector);
+}
+
+inline b2Vec2 b2Body::GetLinearVelocityFromWorldPoint(const b2Vec2& worldPoint) const
+{
+ return m_linearVelocity + b2Cross(m_angularVelocity, worldPoint - m_sweep.c);
+}
+
+inline b2Vec2 b2Body::GetLinearVelocityFromLocalPoint(const b2Vec2& localPoint) const
+{
+ return GetLinearVelocityFromWorldPoint(GetWorldPoint(localPoint));
+}
+
+inline float32 b2Body::GetLinearDamping() const
+{
+ return m_linearDamping;
+}
+
+inline void b2Body::SetLinearDamping(float32 linearDamping)
+{
+ m_linearDamping = linearDamping;
+}
+
+inline float32 b2Body::GetAngularDamping() const
+{
+ return m_angularDamping;
+}
+
+inline void b2Body::SetAngularDamping(float32 angularDamping)
+{
+ m_angularDamping = angularDamping;
+}
+
+inline float32 b2Body::GetGravityScale() const
+{
+ return m_gravityScale;
+}
+
+inline void b2Body::SetGravityScale(float32 scale)
+{
+ m_gravityScale = scale;
+}
+
+inline void b2Body::SetBullet(bool flag)
+{
+ if (flag)
+ {
+ m_flags |= e_bulletFlag;
+ }
+ else
+ {
+ m_flags &= ~e_bulletFlag;
+ }
+}
+
+inline bool b2Body::IsBullet() const
+{
+ return (m_flags & e_bulletFlag) == e_bulletFlag;
+}
+
+inline void b2Body::SetAwake(bool flag)
+{
+ if (flag)
+ {
+ if ((m_flags & e_awakeFlag) == 0)
+ {
+ m_flags |= e_awakeFlag;
+ m_sleepTime = 0.0f;
+ }
+ }
+ else
+ {
+ m_flags &= ~e_awakeFlag;
+ m_sleepTime = 0.0f;
+ m_linearVelocity.SetZero();
+ m_angularVelocity = 0.0f;
+ m_force.SetZero();
+ m_torque = 0.0f;
+ }
+}
+
+inline bool b2Body::IsAwake() const
+{
+ return (m_flags & e_awakeFlag) == e_awakeFlag;
+}
+
+inline bool b2Body::IsActive() const
+{
+ return (m_flags & e_activeFlag) == e_activeFlag;
+}
+
+inline bool b2Body::IsFixedRotation() const
+{
+ return (m_flags & e_fixedRotationFlag) == e_fixedRotationFlag;
+}
+
+inline void b2Body::SetSleepingAllowed(bool flag)
+{
+ if (flag)
+ {
+ m_flags |= e_autoSleepFlag;
+ }
+ else
+ {
+ m_flags &= ~e_autoSleepFlag;
+ SetAwake(true);
+ }
+}
+
+inline bool b2Body::IsSleepingAllowed() const
+{
+ return (m_flags & e_autoSleepFlag) == e_autoSleepFlag;
+}
+
+inline b2Fixture* b2Body::GetFixtureList()
+{
+ return m_fixtureList;
+}
+
+inline const b2Fixture* b2Body::GetFixtureList() const
+{
+ return m_fixtureList;
+}
+
+inline b2JointEdge* b2Body::GetJointList()
+{
+ return m_jointList;
+}
+
+inline const b2JointEdge* b2Body::GetJointList() const
+{
+ return m_jointList;
+}
+
+inline b2ContactEdge* b2Body::GetContactList()
+{
+ return m_contactList;
+}
+
+inline const b2ContactEdge* b2Body::GetContactList() const
+{
+ return m_contactList;
+}
+
+inline b2Body* b2Body::GetNext()
+{
+ return m_next;
+}
+
+inline const b2Body* b2Body::GetNext() const
+{
+ return m_next;
+}
+
+inline void b2Body::SetUserData(void* data)
+{
+ m_userData = data;
+}
+
+inline void* b2Body::GetUserData() const
+{
+ return m_userData;
+}
+
+inline void b2Body::ApplyForce(const b2Vec2& force, const b2Vec2& point, bool wake)
+{
+ if (m_type != b2_dynamicBody)
+ {
+ return;
+ }
+
+ if (wake && (m_flags & e_awakeFlag) == 0)
+ {
+ SetAwake(true);
+ }
+
+ // Don't accumulate a force if the body is sleeping.
+ if (m_flags & e_awakeFlag)
+ {
+ m_force += force;
+ m_torque += b2Cross(point - m_sweep.c, force);
+ }
+}
+
+inline void b2Body::ApplyForceToCenter(const b2Vec2& force, bool wake)
+{
+ if (m_type != b2_dynamicBody)
+ {
+ return;
+ }
+
+ if (wake && (m_flags & e_awakeFlag) == 0)
+ {
+ SetAwake(true);
+ }
+
+ // Don't accumulate a force if the body is sleeping
+ if (m_flags & e_awakeFlag)
+ {
+ m_force += force;
+ }
+}
+
+inline void b2Body::ApplyTorque(float32 torque, bool wake)
+{
+ if (m_type != b2_dynamicBody)
+ {
+ return;
+ }
+
+ if (wake && (m_flags & e_awakeFlag) == 0)
+ {
+ SetAwake(true);
+ }
+
+ // Don't accumulate a force if the body is sleeping
+ if (m_flags & e_awakeFlag)
+ {
+ m_torque += torque;
+ }
+}
+
+inline void b2Body::ApplyLinearImpulse(const b2Vec2& impulse, const b2Vec2& point, bool wake)
+{
+ if (m_type != b2_dynamicBody)
+ {
+ return;
+ }
+
+ if (wake && (m_flags & e_awakeFlag) == 0)
+ {
+ SetAwake(true);
+ }
+
+ // Don't accumulate velocity if the body is sleeping
+ if (m_flags & e_awakeFlag)
+ {
+ m_linearVelocity += m_invMass * impulse;
+ m_angularVelocity += m_invI * b2Cross(point - m_sweep.c, impulse);
+ }
+}
+
+inline void b2Body::ApplyAngularImpulse(float32 impulse, bool wake)
+{
+ if (m_type != b2_dynamicBody)
+ {
+ return;
+ }
+
+ if (wake && (m_flags & e_awakeFlag) == 0)
+ {
+ SetAwake(true);
+ }
+
+ // Don't accumulate velocity if the body is sleeping
+ if (m_flags & e_awakeFlag)
+ {
+ m_angularVelocity += m_invI * impulse;
+ }
+}
+
+inline void b2Body::SynchronizeTransform()
+{
+ m_xf.q.Set(m_sweep.a);
+ m_xf.p = m_sweep.c - b2Mul(m_xf.q, m_sweep.localCenter);
+}
+
+inline void b2Body::Advance(float32 alpha)
+{
+ // Advance to the new safe time. This doesn't sync the broad-phase.
+ m_sweep.Advance(alpha);
+ m_sweep.c = m_sweep.c0;
+ m_sweep.a = m_sweep.a0;
+ m_xf.q.Set(m_sweep.a);
+ m_xf.p = m_sweep.c - b2Mul(m_xf.q, m_sweep.localCenter);
+}
+
+inline b2World* b2Body::GetWorld()
+{
+ return m_world;
+}
+
+inline const b2World* b2Body::GetWorld() const
+{
+ return m_world;
+}
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+inline void b2BodyDef::SetPosition(float32 positionX, float32 positionY)
+{
+ position.Set(positionX, positionY);
+}
+
+inline void b2Body::SetTransform(float32 positionX, float32 positionY, float32 angle)
+{
+ SetTransform(b2Vec2(positionX, positionY), angle);
+}
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/b2ContactManager.cpp b/games/rider/src/Box2D/Dynamics/b2ContactManager.cpp
new file mode 100755
index 00000000..a1148b58
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2ContactManager.cpp
@@ -0,0 +1,295 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2014 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/b2ContactManager.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/b2WorldCallbacks.h>
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+
+b2ContactFilter b2_defaultFilter;
+b2ContactListener b2_defaultListener;
+
+b2ContactManager::b2ContactManager()
+{
+ m_contactList = NULL;
+ m_contactCount = 0;
+ m_contactFilter = &b2_defaultFilter;
+ m_contactListener = &b2_defaultListener;
+ m_allocator = NULL;
+}
+
+void b2ContactManager::Destroy(b2Contact* c)
+{
+ b2Fixture* fixtureA = c->GetFixtureA();
+ b2Fixture* fixtureB = c->GetFixtureB();
+ b2Body* bodyA = fixtureA->GetBody();
+ b2Body* bodyB = fixtureB->GetBody();
+
+ if (m_contactListener && c->IsTouching())
+ {
+ m_contactListener->EndContact(c);
+ }
+
+ // Remove from the world.
+ if (c->m_prev)
+ {
+ c->m_prev->m_next = c->m_next;
+ }
+
+ if (c->m_next)
+ {
+ c->m_next->m_prev = c->m_prev;
+ }
+
+ if (c == m_contactList)
+ {
+ m_contactList = c->m_next;
+ }
+
+ // Remove from body 1
+ if (c->m_nodeA.prev)
+ {
+ c->m_nodeA.prev->next = c->m_nodeA.next;
+ }
+
+ if (c->m_nodeA.next)
+ {
+ c->m_nodeA.next->prev = c->m_nodeA.prev;
+ }
+
+ if (&c->m_nodeA == bodyA->m_contactList)
+ {
+ bodyA->m_contactList = c->m_nodeA.next;
+ }
+
+ // Remove from body 2
+ if (c->m_nodeB.prev)
+ {
+ c->m_nodeB.prev->next = c->m_nodeB.next;
+ }
+
+ if (c->m_nodeB.next)
+ {
+ c->m_nodeB.next->prev = c->m_nodeB.prev;
+ }
+
+ if (&c->m_nodeB == bodyB->m_contactList)
+ {
+ bodyB->m_contactList = c->m_nodeB.next;
+ }
+
+ // Call the factory.
+ b2Contact::Destroy(c, m_allocator);
+ --m_contactCount;
+}
+
+// This is the top level collision call for the time step. Here
+// all the narrow phase collision is processed for the world
+// contact list.
+void b2ContactManager::Collide()
+{
+ // Update awake contacts.
+ b2Contact* c = m_contactList;
+ while (c)
+ {
+ b2Fixture* fixtureA = c->GetFixtureA();
+ b2Fixture* fixtureB = c->GetFixtureB();
+ int32 indexA = c->GetChildIndexA();
+ int32 indexB = c->GetChildIndexB();
+ b2Body* bodyA = fixtureA->GetBody();
+ b2Body* bodyB = fixtureB->GetBody();
+
+ // Is this contact flagged for filtering?
+ if (c->m_flags & b2Contact::e_filterFlag)
+ {
+ // Should these bodies collide?
+ if (bodyB->ShouldCollide(bodyA) == false)
+ {
+ b2Contact* cNuke = c;
+ c = cNuke->GetNext();
+ Destroy(cNuke);
+ continue;
+ }
+
+ // Check user filtering.
+ if (m_contactFilter && m_contactFilter->ShouldCollide(fixtureA, fixtureB) == false)
+ {
+ b2Contact* cNuke = c;
+ c = cNuke->GetNext();
+ Destroy(cNuke);
+ continue;
+ }
+
+ // Clear the filtering flag.
+ c->m_flags &= ~b2Contact::e_filterFlag;
+ }
+
+ bool activeA = bodyA->IsAwake() && bodyA->m_type != b2_staticBody;
+ bool activeB = bodyB->IsAwake() && bodyB->m_type != b2_staticBody;
+
+ // At least one body must be awake and it must be dynamic or kinematic.
+ if (activeA == false && activeB == false)
+ {
+ c = c->GetNext();
+ continue;
+ }
+
+ int32 proxyIdA = fixtureA->m_proxies[indexA].proxyId;
+ int32 proxyIdB = fixtureB->m_proxies[indexB].proxyId;
+ bool overlap = m_broadPhase.TestOverlap(proxyIdA, proxyIdB);
+
+ // Here we destroy contacts that cease to overlap in the broad-phase.
+ if (overlap == false)
+ {
+ b2Contact* cNuke = c;
+ c = cNuke->GetNext();
+ Destroy(cNuke);
+ continue;
+ }
+
+ // The contact persists.
+ c->Update(m_contactListener);
+ c = c->GetNext();
+ }
+}
+
+void b2ContactManager::FindNewContacts()
+{
+ m_broadPhase.UpdatePairs(this);
+}
+
+void b2ContactManager::AddPair(void* proxyUserDataA, void* proxyUserDataB)
+{
+ b2FixtureProxy* proxyA = (b2FixtureProxy*)proxyUserDataA;
+ b2FixtureProxy* proxyB = (b2FixtureProxy*)proxyUserDataB;
+
+ b2Fixture* fixtureA = proxyA->fixture;
+ b2Fixture* fixtureB = proxyB->fixture;
+
+ int32 indexA = proxyA->childIndex;
+ int32 indexB = proxyB->childIndex;
+
+ b2Body* bodyA = fixtureA->GetBody();
+ b2Body* bodyB = fixtureB->GetBody();
+
+ // Are the fixtures on the same body?
+ if (bodyA == bodyB)
+ {
+ return;
+ }
+
+ // TODO_ERIN use a hash table to remove a potential bottleneck when both
+ // bodies have a lot of contacts.
+ // Does a contact already exist?
+ b2ContactEdge* edge = bodyB->GetContactList();
+ while (edge)
+ {
+ if (edge->other == bodyA)
+ {
+ b2Fixture* fA = edge->contact->GetFixtureA();
+ b2Fixture* fB = edge->contact->GetFixtureB();
+ int32 iA = edge->contact->GetChildIndexA();
+ int32 iB = edge->contact->GetChildIndexB();
+
+ if (fA == fixtureA && fB == fixtureB && iA == indexA && iB == indexB)
+ {
+ // A contact already exists.
+ return;
+ }
+
+ if (fA == fixtureB && fB == fixtureA && iA == indexB && iB == indexA)
+ {
+ // A contact already exists.
+ return;
+ }
+ }
+
+ edge = edge->next;
+ }
+
+ // Does a joint override collision? Is at least one body dynamic?
+ if (bodyB->ShouldCollide(bodyA) == false)
+ {
+ return;
+ }
+
+ // Check user filtering.
+ if (m_contactFilter && m_contactFilter->ShouldCollide(fixtureA, fixtureB) == false)
+ {
+ return;
+ }
+
+ // Call the factory.
+ b2Contact* c = b2Contact::Create(fixtureA, indexA, fixtureB, indexB, m_allocator);
+ if (c == NULL)
+ {
+ return;
+ }
+
+ // Contact creation may swap fixtures.
+ fixtureA = c->GetFixtureA();
+ fixtureB = c->GetFixtureB();
+ bodyA = fixtureA->GetBody();
+ bodyB = fixtureB->GetBody();
+
+ // Insert into the world.
+ c->m_prev = NULL;
+ c->m_next = m_contactList;
+ if (m_contactList != NULL)
+ {
+ m_contactList->m_prev = c;
+ }
+ m_contactList = c;
+
+ // Connect to island graph.
+
+ // Connect to body A
+ c->m_nodeA.contact = c;
+ c->m_nodeA.other = bodyB;
+
+ c->m_nodeA.prev = NULL;
+ c->m_nodeA.next = bodyA->m_contactList;
+ if (bodyA->m_contactList != NULL)
+ {
+ bodyA->m_contactList->prev = &c->m_nodeA;
+ }
+ bodyA->m_contactList = &c->m_nodeA;
+
+ // Connect to body B
+ c->m_nodeB.contact = c;
+ c->m_nodeB.other = bodyA;
+
+ c->m_nodeB.prev = NULL;
+ c->m_nodeB.next = bodyB->m_contactList;
+ if (bodyB->m_contactList != NULL)
+ {
+ bodyB->m_contactList->prev = &c->m_nodeB;
+ }
+ bodyB->m_contactList = &c->m_nodeB;
+
+ // Wake up the bodies
+ if (fixtureA->IsSensor() == false && fixtureB->IsSensor() == false)
+ {
+ bodyA->SetAwake(true);
+ bodyB->SetAwake(true);
+ }
+
+ ++m_contactCount;
+}
diff --git a/games/rider/src/Box2D/Dynamics/b2ContactManager.h b/games/rider/src/Box2D/Dynamics/b2ContactManager.h
new file mode 100755
index 00000000..d9298750
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2ContactManager.h
@@ -0,0 +1,55 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_CONTACT_MANAGER_H
+#define B2_CONTACT_MANAGER_H
+
+#include <Box2D/Collision/b2BroadPhase.h>
+
+class b2Contact;
+class b2ContactFilter;
+class b2ContactListener;
+class b2BlockAllocator;
+class b2ParticleSystem;
+
+// Delegate of b2World.
+class b2ContactManager
+{
+public:
+ friend class b2ParticleSystem;
+
+ b2ContactManager();
+
+ // Broad-phase callback.
+ void AddPair(void* proxyUserDataA, void* proxyUserDataB);
+
+ void FindNewContacts();
+
+ void Destroy(b2Contact* c);
+
+ void Collide();
+
+ b2BroadPhase m_broadPhase;
+ b2Contact* m_contactList;
+ int32 m_contactCount;
+ b2ContactFilter* m_contactFilter;
+ b2ContactListener* m_contactListener;
+ b2BlockAllocator* m_allocator;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/b2Fixture.cpp b/games/rider/src/Box2D/Dynamics/b2Fixture.cpp
new file mode 100755
index 00000000..fb17f0a3
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2Fixture.cpp
@@ -0,0 +1,303 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+#include <Box2D/Dynamics/b2World.h>
+#include <Box2D/Collision/Shapes/b2CircleShape.h>
+#include <Box2D/Collision/Shapes/b2EdgeShape.h>
+#include <Box2D/Collision/Shapes/b2PolygonShape.h>
+#include <Box2D/Collision/Shapes/b2ChainShape.h>
+#include <Box2D/Collision/b2BroadPhase.h>
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+
+b2Fixture::b2Fixture()
+{
+ m_userData = NULL;
+ m_body = NULL;
+ m_next = NULL;
+ m_proxies = NULL;
+ m_proxyCount = 0;
+ m_shape = NULL;
+ m_density = 0.0f;
+}
+
+void b2Fixture::Create(b2BlockAllocator* allocator, b2Body* body, const b2FixtureDef* def)
+{
+ m_userData = def->userData;
+ m_friction = def->friction;
+ m_restitution = def->restitution;
+
+ m_body = body;
+ m_next = NULL;
+
+ m_filter = def->filter;
+
+ m_isSensor = def->isSensor;
+
+ m_shape = def->shape->Clone(allocator);
+
+ // Reserve proxy space
+ int32 childCount = m_shape->GetChildCount();
+ m_proxies = (b2FixtureProxy*)allocator->Allocate(childCount * sizeof(b2FixtureProxy));
+ for (int32 i = 0; i < childCount; ++i)
+ {
+ m_proxies[i].fixture = NULL;
+ m_proxies[i].proxyId = b2BroadPhase::e_nullProxy;
+ }
+ m_proxyCount = 0;
+
+ m_density = def->density;
+}
+
+void b2Fixture::Destroy(b2BlockAllocator* allocator)
+{
+ // The proxies must be destroyed before calling this.
+ b2Assert(m_proxyCount == 0);
+
+ // Free the proxy array.
+ int32 childCount = m_shape->GetChildCount();
+ allocator->Free(m_proxies, childCount * sizeof(b2FixtureProxy));
+ m_proxies = NULL;
+
+ // Free the child shape.
+ switch (m_shape->m_type)
+ {
+ case b2Shape::e_circle:
+ {
+ b2CircleShape* s = (b2CircleShape*)m_shape;
+ s->~b2CircleShape();
+ allocator->Free(s, sizeof(b2CircleShape));
+ }
+ break;
+
+ case b2Shape::e_edge:
+ {
+ b2EdgeShape* s = (b2EdgeShape*)m_shape;
+ s->~b2EdgeShape();
+ allocator->Free(s, sizeof(b2EdgeShape));
+ }
+ break;
+
+ case b2Shape::e_polygon:
+ {
+ b2PolygonShape* s = (b2PolygonShape*)m_shape;
+ s->~b2PolygonShape();
+ allocator->Free(s, sizeof(b2PolygonShape));
+ }
+ break;
+
+ case b2Shape::e_chain:
+ {
+ b2ChainShape* s = (b2ChainShape*)m_shape;
+ s->~b2ChainShape();
+ allocator->Free(s, sizeof(b2ChainShape));
+ }
+ break;
+
+ default:
+ b2Assert(false);
+ break;
+ }
+
+ m_shape = NULL;
+}
+
+void b2Fixture::CreateProxies(b2BroadPhase* broadPhase, const b2Transform& xf)
+{
+ b2Assert(m_proxyCount == 0);
+
+ // Create proxies in the broad-phase.
+ m_proxyCount = m_shape->GetChildCount();
+
+ for (int32 i = 0; i < m_proxyCount; ++i)
+ {
+ b2FixtureProxy* proxy = m_proxies + i;
+ m_shape->ComputeAABB(&proxy->aabb, xf, i);
+ proxy->proxyId = broadPhase->CreateProxy(proxy->aabb, proxy);
+ proxy->fixture = this;
+ proxy->childIndex = i;
+ }
+}
+
+void b2Fixture::DestroyProxies(b2BroadPhase* broadPhase)
+{
+ // Destroy proxies in the broad-phase.
+ for (int32 i = 0; i < m_proxyCount; ++i)
+ {
+ b2FixtureProxy* proxy = m_proxies + i;
+ broadPhase->DestroyProxy(proxy->proxyId);
+ proxy->proxyId = b2BroadPhase::e_nullProxy;
+ }
+
+ m_proxyCount = 0;
+}
+
+void b2Fixture::Synchronize(b2BroadPhase* broadPhase, const b2Transform& transform1, const b2Transform& transform2)
+{
+ if (m_proxyCount == 0)
+ {
+ return;
+ }
+
+ for (int32 i = 0; i < m_proxyCount; ++i)
+ {
+ b2FixtureProxy* proxy = m_proxies + i;
+
+ // Compute an AABB that covers the swept shape (may miss some rotation effect).
+ b2AABB aabb1, aabb2;
+ m_shape->ComputeAABB(&aabb1, transform1, proxy->childIndex);
+ m_shape->ComputeAABB(&aabb2, transform2, proxy->childIndex);
+
+ proxy->aabb.Combine(aabb1, aabb2);
+
+ b2Vec2 displacement = transform2.p - transform1.p;
+
+ broadPhase->MoveProxy(proxy->proxyId, proxy->aabb, displacement);
+ }
+}
+
+void b2Fixture::SetFilterData(const b2Filter& filter)
+{
+ m_filter = filter;
+
+ Refilter();
+}
+
+void b2Fixture::Refilter()
+{
+ if (m_body == NULL)
+ {
+ return;
+ }
+
+ // Flag associated contacts for filtering.
+ b2ContactEdge* edge = m_body->GetContactList();
+ while (edge)
+ {
+ b2Contact* contact = edge->contact;
+ b2Fixture* fixtureA = contact->GetFixtureA();
+ b2Fixture* fixtureB = contact->GetFixtureB();
+ if (fixtureA == this || fixtureB == this)
+ {
+ contact->FlagForFiltering();
+ }
+
+ edge = edge->next;
+ }
+
+ b2World* world = m_body->GetWorld();
+
+ if (world == NULL)
+ {
+ return;
+ }
+
+ // Touch each proxy so that new pairs may be created
+ b2BroadPhase* broadPhase = &world->m_contactManager.m_broadPhase;
+ for (int32 i = 0; i < m_proxyCount; ++i)
+ {
+ broadPhase->TouchProxy(m_proxies[i].proxyId);
+ }
+}
+
+void b2Fixture::SetSensor(bool sensor)
+{
+ if (sensor != m_isSensor)
+ {
+ m_body->SetAwake(true);
+ m_isSensor = sensor;
+ }
+}
+
+void b2Fixture::Dump(int32 bodyIndex)
+{
+ b2Log(" b2FixtureDef fd;\n");
+ b2Log(" fd.friction = %.15lef;\n", m_friction);
+ b2Log(" fd.restitution = %.15lef;\n", m_restitution);
+ b2Log(" fd.density = %.15lef;\n", m_density);
+ b2Log(" fd.isSensor = bool(%d);\n", m_isSensor);
+ b2Log(" fd.filter.categoryBits = uint16(%d);\n", m_filter.categoryBits);
+ b2Log(" fd.filter.maskBits = uint16(%d);\n", m_filter.maskBits);
+ b2Log(" fd.filter.groupIndex = int16(%d);\n", m_filter.groupIndex);
+
+ switch (m_shape->m_type)
+ {
+ case b2Shape::e_circle:
+ {
+ b2CircleShape* s = (b2CircleShape*)m_shape;
+ b2Log(" b2CircleShape shape;\n");
+ b2Log(" shape.m_radius = %.15lef;\n", s->m_radius);
+ b2Log(" shape.m_p.Set(%.15lef, %.15lef);\n", s->m_p.x, s->m_p.y);
+ }
+ break;
+
+ case b2Shape::e_edge:
+ {
+ b2EdgeShape* s = (b2EdgeShape*)m_shape;
+ b2Log(" b2EdgeShape shape;\n");
+ b2Log(" shape.m_radius = %.15lef;\n", s->m_radius);
+ b2Log(" shape.m_vertex0.Set(%.15lef, %.15lef);\n", s->m_vertex0.x, s->m_vertex0.y);
+ b2Log(" shape.m_vertex1.Set(%.15lef, %.15lef);\n", s->m_vertex1.x, s->m_vertex1.y);
+ b2Log(" shape.m_vertex2.Set(%.15lef, %.15lef);\n", s->m_vertex2.x, s->m_vertex2.y);
+ b2Log(" shape.m_vertex3.Set(%.15lef, %.15lef);\n", s->m_vertex3.x, s->m_vertex3.y);
+ b2Log(" shape.m_hasVertex0 = bool(%d);\n", s->m_hasVertex0);
+ b2Log(" shape.m_hasVertex3 = bool(%d);\n", s->m_hasVertex3);
+ }
+ break;
+
+ case b2Shape::e_polygon:
+ {
+ b2PolygonShape* s = (b2PolygonShape*)m_shape;
+ b2Log(" b2PolygonShape shape;\n");
+ b2Log(" b2Vec2 vs[%d];\n", b2_maxPolygonVertices);
+ for (int32 i = 0; i < s->m_count; ++i)
+ {
+ b2Log(" vs[%d].Set(%.15lef, %.15lef);\n", i, s->m_vertices[i].x, s->m_vertices[i].y);
+ }
+ b2Log(" shape.Set(vs, %d);\n", s->m_count);
+ }
+ break;
+
+ case b2Shape::e_chain:
+ {
+ b2ChainShape* s = (b2ChainShape*)m_shape;
+ b2Log(" b2ChainShape shape;\n");
+ b2Log(" b2Vec2 vs[%d];\n", s->m_count);
+ for (int32 i = 0; i < s->m_count; ++i)
+ {
+ b2Log(" vs[%d].Set(%.15lef, %.15lef);\n", i, s->m_vertices[i].x, s->m_vertices[i].y);
+ }
+ b2Log(" shape.CreateChain(vs, %d);\n", s->m_count);
+ b2Log(" shape.m_prevVertex.Set(%.15lef, %.15lef);\n", s->m_prevVertex.x, s->m_prevVertex.y);
+ b2Log(" shape.m_nextVertex.Set(%.15lef, %.15lef);\n", s->m_nextVertex.x, s->m_nextVertex.y);
+ b2Log(" shape.m_hasPrevVertex = bool(%d);\n", s->m_hasPrevVertex);
+ b2Log(" shape.m_hasNextVertex = bool(%d);\n", s->m_hasNextVertex);
+ }
+ break;
+
+ default:
+ return;
+ }
+
+ b2Log("\n");
+ b2Log(" fd.shape = &shape;\n");
+ b2Log("\n");
+ b2Log(" bodies[%d]->CreateFixture(&fd);\n", bodyIndex);
+}
diff --git a/games/rider/src/Box2D/Dynamics/b2Fixture.h b/games/rider/src/Box2D/Dynamics/b2Fixture.h
new file mode 100755
index 00000000..b13fab45
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2Fixture.h
@@ -0,0 +1,355 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_FIXTURE_H
+#define B2_FIXTURE_H
+
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/Shapes/b2Shape.h>
+
+class b2BlockAllocator;
+class b2Body;
+class b2BroadPhase;
+class b2Fixture;
+
+/// This holds contact filtering data.
+struct b2Filter
+{
+ b2Filter()
+ {
+ categoryBits = 0x0001;
+ maskBits = 0xFFFF;
+ groupIndex = 0;
+ }
+
+ /// The collision category bits. Normally you would just set one bit.
+ uint16 categoryBits;
+
+ /// The collision mask bits. This states the categories that this
+ /// shape would accept for collision.
+ uint16 maskBits;
+
+ /// Collision groups allow a certain group of objects to never collide (negative)
+ /// or always collide (positive). Zero means no collision group. Non-zero group
+ /// filtering always wins against the mask bits.
+ int16 groupIndex;
+};
+
+/// A fixture definition is used to create a fixture. This class defines an
+/// abstract fixture definition. You can reuse fixture definitions safely.
+struct b2FixtureDef
+{
+ /// The constructor sets the default fixture definition values.
+ b2FixtureDef()
+ {
+ shape = NULL;
+ userData = NULL;
+ friction = 0.2f;
+ restitution = 0.0f;
+ density = 0.0f;
+ isSensor = false;
+ }
+
+ /// The shape, this must be set. The shape will be cloned, so you
+ /// can create the shape on the stack.
+ const b2Shape* shape;
+
+ /// Use this to store application specific fixture data.
+ void* userData;
+
+ /// The friction coefficient, usually in the range [0,1].
+ float32 friction;
+
+ /// The restitution (elasticity) usually in the range [0,1].
+ float32 restitution;
+
+ /// The density, usually in kg/m^2.
+ float32 density;
+
+ /// A sensor shape collects contact information but never generates a collision
+ /// response.
+ bool isSensor;
+
+ /// Contact filtering data.
+ b2Filter filter;
+};
+
+/// This proxy is used internally to connect fixtures to the broad-phase.
+struct b2FixtureProxy
+{
+ b2AABB aabb;
+ b2Fixture* fixture;
+ int32 childIndex;
+ int32 proxyId;
+};
+
+/// A fixture is used to attach a shape to a body for collision detection. A fixture
+/// inherits its transform from its parent. Fixtures hold additional non-geometric data
+/// such as friction, collision filters, etc.
+/// Fixtures are created via b2Body::CreateFixture.
+/// @warning you cannot reuse fixtures.
+class b2Fixture
+{
+public:
+ /// Get the type of the child shape. You can use this to down cast to the concrete shape.
+ /// @return the shape type.
+ b2Shape::Type GetType() const;
+
+ /// Get the child shape. You can modify the child shape, however you should not change the
+ /// number of vertices because this will crash some collision caching mechanisms.
+ /// Manipulating the shape may lead to non-physical behavior.
+ b2Shape* GetShape();
+ const b2Shape* GetShape() const;
+
+ /// Set if this fixture is a sensor.
+ void SetSensor(bool sensor);
+
+ /// Is this fixture a sensor (non-solid)?
+ /// @return the true if the shape is a sensor.
+ bool IsSensor() const;
+
+ /// Set the contact filtering data. This will not update contacts until the next time
+ /// step when either parent body is active and awake.
+ /// This automatically calls Refilter.
+ void SetFilterData(const b2Filter& filter);
+
+ /// Get the contact filtering data.
+ const b2Filter& GetFilterData() const;
+
+ /// Call this if you want to establish collision that was previously disabled by b2ContactFilter::ShouldCollide.
+ void Refilter();
+
+ /// Get the parent body of this fixture. This is NULL if the fixture is not attached.
+ /// @return the parent body.
+ b2Body* GetBody();
+ const b2Body* GetBody() const;
+
+ /// Get the next fixture in the parent body's fixture list.
+ /// @return the next shape.
+ b2Fixture* GetNext();
+ const b2Fixture* GetNext() const;
+
+ /// Get the user data that was assigned in the fixture definition. Use this to
+ /// store your application specific data.
+ void* GetUserData() const;
+
+ /// Set the user data. Use this to store your application specific data.
+ void SetUserData(void* data);
+
+ /// Test a point for containment in this fixture.
+ /// @param p a point in world coordinates.
+ bool TestPoint(const b2Vec2& p) const;
+
+ /// Compute the distance from this fixture.
+ /// @param p a point in world coordinates.
+ void ComputeDistance(const b2Vec2& p, float32* distance, b2Vec2* normal, int32 childIndex) const;
+
+ /// Cast a ray against this shape.
+ /// @param output the ray-cast results.
+ /// @param input the ray-cast input parameters.
+ bool RayCast(b2RayCastOutput* output, const b2RayCastInput& input, int32 childIndex) const;
+
+ /// Get the mass data for this fixture. The mass data is based on the density and
+ /// the shape. The rotational inertia is about the shape's origin. This operation
+ /// may be expensive.
+ void GetMassData(b2MassData* massData) const;
+
+ /// Set the density of this fixture. This will _not_ automatically adjust the mass
+ /// of the body. You must call b2Body::ResetMassData to update the body's mass.
+ void SetDensity(float32 density);
+
+ /// Get the density of this fixture.
+ float32 GetDensity() const;
+
+ /// Get the coefficient of friction.
+ float32 GetFriction() const;
+
+ /// Set the coefficient of friction. This will _not_ change the friction of
+ /// existing contacts.
+ void SetFriction(float32 friction);
+
+ /// Get the coefficient of restitution.
+ float32 GetRestitution() const;
+
+ /// Set the coefficient of restitution. This will _not_ change the restitution of
+ /// existing contacts.
+ void SetRestitution(float32 restitution);
+
+ /// Get the fixture's AABB. This AABB may be enlarge and/or stale.
+ /// If you need a more accurate AABB, compute it using the shape and
+ /// the body transform.
+ const b2AABB& GetAABB(int32 childIndex) const;
+
+ /// Dump this fixture to the log file.
+ void Dump(int32 bodyIndex);
+
+protected:
+
+ friend class b2Body;
+ friend class b2World;
+ friend class b2Contact;
+ friend class b2ContactManager;
+
+ b2Fixture();
+
+ // We need separation create/destroy functions from the constructor/destructor because
+ // the destructor cannot access the allocator (no destructor arguments allowed by C++).
+ void Create(b2BlockAllocator* allocator, b2Body* body, const b2FixtureDef* def);
+ void Destroy(b2BlockAllocator* allocator);
+
+ // These support body activation/deactivation.
+ void CreateProxies(b2BroadPhase* broadPhase, const b2Transform& xf);
+ void DestroyProxies(b2BroadPhase* broadPhase);
+
+ void Synchronize(b2BroadPhase* broadPhase, const b2Transform& xf1, const b2Transform& xf2);
+
+ float32 m_density;
+
+ b2Fixture* m_next;
+ b2Body* m_body;
+
+ b2Shape* m_shape;
+
+ float32 m_friction;
+ float32 m_restitution;
+
+ b2FixtureProxy* m_proxies;
+ int32 m_proxyCount;
+
+ b2Filter m_filter;
+
+ bool m_isSensor;
+
+ void* m_userData;
+};
+
+inline b2Shape::Type b2Fixture::GetType() const
+{
+ return m_shape->GetType();
+}
+
+inline b2Shape* b2Fixture::GetShape()
+{
+ return m_shape;
+}
+
+inline const b2Shape* b2Fixture::GetShape() const
+{
+ return m_shape;
+}
+
+inline bool b2Fixture::IsSensor() const
+{
+ return m_isSensor;
+}
+
+inline const b2Filter& b2Fixture::GetFilterData() const
+{
+ return m_filter;
+}
+
+inline void* b2Fixture::GetUserData() const
+{
+ return m_userData;
+}
+
+inline void b2Fixture::SetUserData(void* data)
+{
+ m_userData = data;
+}
+
+inline b2Body* b2Fixture::GetBody()
+{
+ return m_body;
+}
+
+inline const b2Body* b2Fixture::GetBody() const
+{
+ return m_body;
+}
+
+inline b2Fixture* b2Fixture::GetNext()
+{
+ return m_next;
+}
+
+inline const b2Fixture* b2Fixture::GetNext() const
+{
+ return m_next;
+}
+
+inline void b2Fixture::SetDensity(float32 density)
+{
+ b2Assert(b2IsValid(density) && density >= 0.0f);
+ m_density = density;
+}
+
+inline float32 b2Fixture::GetDensity() const
+{
+ return m_density;
+}
+
+inline float32 b2Fixture::GetFriction() const
+{
+ return m_friction;
+}
+
+inline void b2Fixture::SetFriction(float32 friction)
+{
+ m_friction = friction;
+}
+
+inline float32 b2Fixture::GetRestitution() const
+{
+ return m_restitution;
+}
+
+inline void b2Fixture::SetRestitution(float32 restitution)
+{
+ m_restitution = restitution;
+}
+
+inline bool b2Fixture::TestPoint(const b2Vec2& p) const
+{
+ return m_shape->TestPoint(m_body->GetTransform(), p);
+}
+
+inline void b2Fixture::ComputeDistance(const b2Vec2& p, float32* d, b2Vec2* n, int32 childIndex) const
+{
+ m_shape->ComputeDistance(m_body->GetTransform(), p, d, n, childIndex);
+}
+
+inline bool b2Fixture::RayCast(b2RayCastOutput* output, const b2RayCastInput& input, int32 childIndex) const
+{
+ return m_shape->RayCast(output, input, m_body->GetTransform(), childIndex);
+}
+
+inline void b2Fixture::GetMassData(b2MassData* massData) const
+{
+ m_shape->ComputeMass(massData, m_density);
+}
+
+inline const b2AABB& b2Fixture::GetAABB(int32 childIndex) const
+{
+ b2Assert(0 <= childIndex && childIndex < m_proxyCount);
+ return m_proxies[childIndex].aabb;
+}
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/b2Island.cpp b/games/rider/src/Box2D/Dynamics/b2Island.cpp
new file mode 100755
index 00000000..d46589de
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2Island.cpp
@@ -0,0 +1,539 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Collision/b2Distance.h>
+#include <Box2D/Dynamics/b2Island.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/b2World.h>
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+#include <Box2D/Dynamics/Contacts/b2ContactSolver.h>
+#include <Box2D/Dynamics/Joints/b2Joint.h>
+#include <Box2D/Common/b2StackAllocator.h>
+#include <Box2D/Common/b2Timer.h>
+
+/*
+Position Correction Notes
+=========================
+I tried the several algorithms for position correction of the 2D revolute joint.
+I looked at these systems:
+- simple pendulum (1m diameter sphere on massless 5m stick) with initial angular velocity of 100 rad/s.
+- suspension bridge with 30 1m long planks of length 1m.
+- multi-link chain with 30 1m long links.
+
+Here are the algorithms:
+
+Baumgarte - A fraction of the position error is added to the velocity error. There is no
+separate position solver.
+
+Pseudo Velocities - After the velocity solver and position integration,
+the position error, Jacobian, and effective mass are recomputed. Then
+the velocity constraints are solved with pseudo velocities and a fraction
+of the position error is added to the pseudo velocity error. The pseudo
+velocities are initialized to zero and there is no warm-starting. After
+the position solver, the pseudo velocities are added to the positions.
+This is also called the First Order World method or the Position LCP method.
+
+Modified Nonlinear Gauss-Seidel (NGS) - Like Pseudo Velocities except the
+position error is re-computed for each constraint and the positions are updated
+after the constraint is solved. The radius vectors (aka Jacobians) are
+re-computed too (otherwise the algorithm has horrible instability). The pseudo
+velocity states are not needed because they are effectively zero at the beginning
+of each iteration. Since we have the current position error, we allow the
+iterations to terminate early if the error becomes smaller than b2_linearSlop.
+
+Full NGS or just NGS - Like Modified NGS except the effective mass are re-computed
+each time a constraint is solved.
+
+Here are the results:
+Baumgarte - this is the cheapest algorithm but it has some stability problems,
+especially with the bridge. The chain links separate easily close to the root
+and they jitter as they struggle to pull together. This is one of the most common
+methods in the field. The big drawback is that the position correction artificially
+affects the momentum, thus leading to instabilities and false bounce. I used a
+bias factor of 0.2. A larger bias factor makes the bridge less stable, a smaller
+factor makes joints and contacts more spongy.
+
+Pseudo Velocities - the is more stable than the Baumgarte method. The bridge is
+stable. However, joints still separate with large angular velocities. Drag the
+simple pendulum in a circle quickly and the joint will separate. The chain separates
+easily and does not recover. I used a bias factor of 0.2. A larger value lead to
+the bridge collapsing when a heavy cube drops on it.
+
+Modified NGS - this algorithm is better in some ways than Baumgarte and Pseudo
+Velocities, but in other ways it is worse. The bridge and chain are much more
+stable, but the simple pendulum goes unstable at high angular velocities.
+
+Full NGS - stable in all tests. The joints display good stiffness. The bridge
+still sags, but this is better than infinite forces.
+
+Recommendations
+Pseudo Velocities are not really worthwhile because the bridge and chain cannot
+recover from joint separation. In other cases the benefit over Baumgarte is small.
+
+Modified NGS is not a robust method for the revolute joint due to the violent
+instability seen in the simple pendulum. Perhaps it is viable with other constraint
+types, especially scalar constraints where the effective mass is a scalar.
+
+This leaves Baumgarte and Full NGS. Baumgarte has small, but manageable instabilities
+and is very fast. I don't think we can escape Baumgarte, especially in highly
+demanding cases where high constraint fidelity is not needed.
+
+Full NGS is robust and easy on the eyes. I recommend this as an option for
+higher fidelity simulation and certainly for suspension bridges and long chains.
+Full NGS might be a good choice for ragdolls, especially motorized ragdolls where
+joint separation can be problematic. The number of NGS iterations can be reduced
+for better performance without harming robustness much.
+
+Each joint in a can be handled differently in the position solver. So I recommend
+a system where the user can select the algorithm on a per joint basis. I would
+probably default to the slower Full NGS and let the user select the faster
+Baumgarte method in performance critical scenarios.
+*/
+
+/*
+Cache Performance
+
+The Box2D solvers are dominated by cache misses. Data structures are designed
+to increase the number of cache hits. Much of misses are due to random access
+to body data. The constraint structures are iterated over linearly, which leads
+to few cache misses.
+
+The bodies are not accessed during iteration. Instead read only data, such as
+the mass values are stored with the constraints. The mutable data are the constraint
+impulses and the bodies velocities/positions. The impulses are held inside the
+constraint structures. The body velocities/positions are held in compact, temporary
+arrays to increase the number of cache hits. Linear and angular velocity are
+stored in a single array since multiple arrays lead to multiple misses.
+*/
+
+/*
+2D Rotation
+
+R = [cos(theta) -sin(theta)]
+ [sin(theta) cos(theta) ]
+
+thetaDot = omega
+
+Let q1 = cos(theta), q2 = sin(theta).
+R = [q1 -q2]
+ [q2 q1]
+
+q1Dot = -thetaDot * q2
+q2Dot = thetaDot * q1
+
+q1_new = q1_old - dt * w * q2
+q2_new = q2_old + dt * w * q1
+then normalize.
+
+This might be faster than computing sin+cos.
+However, we can compute sin+cos of the same angle fast.
+*/
+
+b2Island::b2Island(
+ int32 bodyCapacity,
+ int32 contactCapacity,
+ int32 jointCapacity,
+ b2StackAllocator* allocator,
+ b2ContactListener* listener)
+{
+ m_bodyCapacity = bodyCapacity;
+ m_contactCapacity = contactCapacity;
+ m_jointCapacity = jointCapacity;
+ m_bodyCount = 0;
+ m_contactCount = 0;
+ m_jointCount = 0;
+
+ m_allocator = allocator;
+ m_listener = listener;
+
+ m_bodies = (b2Body**)m_allocator->Allocate(bodyCapacity * sizeof(b2Body*));
+ m_contacts = (b2Contact**)m_allocator->Allocate(contactCapacity * sizeof(b2Contact*));
+ m_joints = (b2Joint**)m_allocator->Allocate(jointCapacity * sizeof(b2Joint*));
+
+ m_velocities = (b2Velocity*)m_allocator->Allocate(m_bodyCapacity * sizeof(b2Velocity));
+ m_positions = (b2Position*)m_allocator->Allocate(m_bodyCapacity * sizeof(b2Position));
+}
+
+b2Island::~b2Island()
+{
+ // Warning: the order should reverse the constructor order.
+ m_allocator->Free(m_positions);
+ m_allocator->Free(m_velocities);
+ m_allocator->Free(m_joints);
+ m_allocator->Free(m_contacts);
+ m_allocator->Free(m_bodies);
+}
+
+void b2Island::Solve(b2Profile* profile, const b2TimeStep& step, const b2Vec2& gravity, bool allowSleep)
+{
+ b2Timer timer;
+
+ float32 h = step.dt;
+
+ // Integrate velocities and apply damping. Initialize the body state.
+ for (int32 i = 0; i < m_bodyCount; ++i)
+ {
+ b2Body* b = m_bodies[i];
+
+ b2Vec2 c = b->m_sweep.c;
+ float32 a = b->m_sweep.a;
+ b2Vec2 v = b->m_linearVelocity;
+ float32 w = b->m_angularVelocity;
+
+ // Store positions for continuous collision.
+ b->m_sweep.c0 = b->m_sweep.c;
+ b->m_sweep.a0 = b->m_sweep.a;
+
+ if (b->m_type == b2_dynamicBody)
+ {
+ // Integrate velocities.
+ v += h * (b->m_gravityScale * gravity + b->m_invMass * b->m_force);
+ w += h * b->m_invI * b->m_torque;
+
+ // Apply damping.
+ // ODE: dv/dt + c * v = 0
+ // Solution: v(t) = v0 * exp(-c * t)
+ // Time step: v(t + dt) = v0 * exp(-c * (t + dt)) = v0 * exp(-c * t) * exp(-c * dt) = v * exp(-c * dt)
+ // v2 = exp(-c * dt) * v1
+ // Pade approximation:
+ // v2 = v1 * 1 / (1 + c * dt)
+ v *= 1.0f / (1.0f + h * b->m_linearDamping);
+ w *= 1.0f / (1.0f + h * b->m_angularDamping);
+ }
+
+ m_positions[i].c = c;
+ m_positions[i].a = a;
+ m_velocities[i].v = v;
+ m_velocities[i].w = w;
+ }
+
+ timer.Reset();
+
+ // Solver data
+ b2SolverData solverData;
+ solverData.step = step;
+ solverData.positions = m_positions;
+ solverData.velocities = m_velocities;
+
+ // Initialize velocity constraints.
+ b2ContactSolverDef contactSolverDef;
+ contactSolverDef.step = step;
+ contactSolverDef.contacts = m_contacts;
+ contactSolverDef.count = m_contactCount;
+ contactSolverDef.positions = m_positions;
+ contactSolverDef.velocities = m_velocities;
+ contactSolverDef.allocator = m_allocator;
+
+ b2ContactSolver contactSolver(&contactSolverDef);
+ contactSolver.InitializeVelocityConstraints();
+
+ if (step.warmStarting)
+ {
+ contactSolver.WarmStart();
+ }
+
+ for (int32 i = 0; i < m_jointCount; ++i)
+ {
+ m_joints[i]->InitVelocityConstraints(solverData);
+ }
+
+ profile->solveInit = timer.GetMilliseconds();
+
+ // Solve velocity constraints
+ timer.Reset();
+ for (int32 i = 0; i < step.velocityIterations; ++i)
+ {
+ for (int32 j = 0; j < m_jointCount; ++j)
+ {
+ m_joints[j]->SolveVelocityConstraints(solverData);
+ }
+
+ contactSolver.SolveVelocityConstraints();
+ }
+
+ // Store impulses for warm starting
+ contactSolver.StoreImpulses();
+ profile->solveVelocity = timer.GetMilliseconds();
+
+ // Integrate positions
+ for (int32 i = 0; i < m_bodyCount; ++i)
+ {
+ b2Vec2 c = m_positions[i].c;
+ float32 a = m_positions[i].a;
+ b2Vec2 v = m_velocities[i].v;
+ float32 w = m_velocities[i].w;
+
+ // Check for large velocities
+ b2Vec2 translation = h * v;
+ if (b2Dot(translation, translation) > b2_maxTranslationSquared)
+ {
+ float32 ratio = b2_maxTranslation / translation.Length();
+ v *= ratio;
+ }
+
+ float32 rotation = h * w;
+ if (rotation * rotation > b2_maxRotationSquared)
+ {
+ float32 ratio = b2_maxRotation / b2Abs(rotation);
+ w *= ratio;
+ }
+
+ // Integrate
+ c += h * v;
+ a += h * w;
+
+ m_positions[i].c = c;
+ m_positions[i].a = a;
+ m_velocities[i].v = v;
+ m_velocities[i].w = w;
+ }
+
+ // Solve position constraints
+ timer.Reset();
+ bool positionSolved = false;
+ for (int32 i = 0; i < step.positionIterations; ++i)
+ {
+ bool contactsOkay = contactSolver.SolvePositionConstraints();
+
+ bool jointsOkay = true;
+ for (int32 i = 0; i < m_jointCount; ++i)
+ {
+ bool jointOkay = m_joints[i]->SolvePositionConstraints(solverData);
+ jointsOkay = jointsOkay && jointOkay;
+ }
+
+ if (contactsOkay && jointsOkay)
+ {
+ // Exit early if the position errors are small.
+ positionSolved = true;
+ break;
+ }
+ }
+
+ // Copy state buffers back to the bodies
+ for (int32 i = 0; i < m_bodyCount; ++i)
+ {
+ b2Body* body = m_bodies[i];
+ body->m_sweep.c = m_positions[i].c;
+ body->m_sweep.a = m_positions[i].a;
+ body->m_linearVelocity = m_velocities[i].v;
+ body->m_angularVelocity = m_velocities[i].w;
+ body->SynchronizeTransform();
+ }
+
+ profile->solvePosition = timer.GetMilliseconds();
+
+ Report(contactSolver.m_velocityConstraints);
+
+ if (allowSleep)
+ {
+ float32 minSleepTime = b2_maxFloat;
+
+ const float32 linTolSqr = b2_linearSleepTolerance * b2_linearSleepTolerance;
+ const float32 angTolSqr = b2_angularSleepTolerance * b2_angularSleepTolerance;
+
+ for (int32 i = 0; i < m_bodyCount; ++i)
+ {
+ b2Body* b = m_bodies[i];
+ if (b->GetType() == b2_staticBody)
+ {
+ continue;
+ }
+
+ if ((b->m_flags & b2Body::e_autoSleepFlag) == 0 ||
+ b->m_angularVelocity * b->m_angularVelocity > angTolSqr ||
+ b2Dot(b->m_linearVelocity, b->m_linearVelocity) > linTolSqr)
+ {
+ b->m_sleepTime = 0.0f;
+ minSleepTime = 0.0f;
+ }
+ else
+ {
+ b->m_sleepTime += h;
+ minSleepTime = b2Min(minSleepTime, b->m_sleepTime);
+ }
+ }
+
+ if (minSleepTime >= b2_timeToSleep && positionSolved)
+ {
+ for (int32 i = 0; i < m_bodyCount; ++i)
+ {
+ b2Body* b = m_bodies[i];
+ b->SetAwake(false);
+ }
+ }
+ }
+}
+
+void b2Island::SolveTOI(const b2TimeStep& subStep, int32 toiIndexA, int32 toiIndexB)
+{
+ b2Assert(toiIndexA < m_bodyCount);
+ b2Assert(toiIndexB < m_bodyCount);
+
+ // Initialize the body state.
+ for (int32 i = 0; i < m_bodyCount; ++i)
+ {
+ b2Body* b = m_bodies[i];
+ m_positions[i].c = b->m_sweep.c;
+ m_positions[i].a = b->m_sweep.a;
+ m_velocities[i].v = b->m_linearVelocity;
+ m_velocities[i].w = b->m_angularVelocity;
+ }
+
+ b2ContactSolverDef contactSolverDef;
+ contactSolverDef.contacts = m_contacts;
+ contactSolverDef.count = m_contactCount;
+ contactSolverDef.allocator = m_allocator;
+ contactSolverDef.step = subStep;
+ contactSolverDef.positions = m_positions;
+ contactSolverDef.velocities = m_velocities;
+ b2ContactSolver contactSolver(&contactSolverDef);
+
+ // Solve position constraints.
+ for (int32 i = 0; i < subStep.positionIterations; ++i)
+ {
+ bool contactsOkay = contactSolver.SolveTOIPositionConstraints(toiIndexA, toiIndexB);
+ if (contactsOkay)
+ {
+ break;
+ }
+ }
+
+#if 0
+ // Is the new position really safe?
+ for (int32 i = 0; i < m_contactCount; ++i)
+ {
+ b2Contact* c = m_contacts[i];
+ b2Fixture* fA = c->GetFixtureA();
+ b2Fixture* fB = c->GetFixtureB();
+
+ b2Body* bA = fA->GetBody();
+ b2Body* bB = fB->GetBody();
+
+ int32 indexA = c->GetChildIndexA();
+ int32 indexB = c->GetChildIndexB();
+
+ b2DistanceInput input;
+ input.proxyA.Set(fA->GetShape(), indexA);
+ input.proxyB.Set(fB->GetShape(), indexB);
+ input.transformA = bA->GetTransform();
+ input.transformB = bB->GetTransform();
+ input.useRadii = false;
+
+ b2DistanceOutput output;
+ b2SimplexCache cache;
+ cache.count = 0;
+ b2Distance(&output, &cache, &input);
+
+ if (output.distance == 0 || cache.count == 3)
+ {
+ cache.count += 0;
+ }
+ }
+#endif
+
+ // Leap of faith to new safe state.
+ m_bodies[toiIndexA]->m_sweep.c0 = m_positions[toiIndexA].c;
+ m_bodies[toiIndexA]->m_sweep.a0 = m_positions[toiIndexA].a;
+ m_bodies[toiIndexB]->m_sweep.c0 = m_positions[toiIndexB].c;
+ m_bodies[toiIndexB]->m_sweep.a0 = m_positions[toiIndexB].a;
+
+ // No warm starting is needed for TOI events because warm
+ // starting impulses were applied in the discrete solver.
+ contactSolver.InitializeVelocityConstraints();
+
+ // Solve velocity constraints.
+ for (int32 i = 0; i < subStep.velocityIterations; ++i)
+ {
+ contactSolver.SolveVelocityConstraints();
+ }
+
+ // Don't store the TOI contact forces for warm starting
+ // because they can be quite large.
+
+ float32 h = subStep.dt;
+
+ // Integrate positions
+ for (int32 i = 0; i < m_bodyCount; ++i)
+ {
+ b2Vec2 c = m_positions[i].c;
+ float32 a = m_positions[i].a;
+ b2Vec2 v = m_velocities[i].v;
+ float32 w = m_velocities[i].w;
+
+ // Check for large velocities
+ b2Vec2 translation = h * v;
+ if (b2Dot(translation, translation) > b2_maxTranslationSquared)
+ {
+ float32 ratio = b2_maxTranslation / translation.Length();
+ v *= ratio;
+ }
+
+ float32 rotation = h * w;
+ if (rotation * rotation > b2_maxRotationSquared)
+ {
+ float32 ratio = b2_maxRotation / b2Abs(rotation);
+ w *= ratio;
+ }
+
+ // Integrate
+ c += h * v;
+ a += h * w;
+
+ m_positions[i].c = c;
+ m_positions[i].a = a;
+ m_velocities[i].v = v;
+ m_velocities[i].w = w;
+
+ // Sync bodies
+ b2Body* body = m_bodies[i];
+ body->m_sweep.c = c;
+ body->m_sweep.a = a;
+ body->m_linearVelocity = v;
+ body->m_angularVelocity = w;
+ body->SynchronizeTransform();
+ }
+
+ Report(contactSolver.m_velocityConstraints);
+}
+
+void b2Island::Report(const b2ContactVelocityConstraint* constraints)
+{
+ if (m_listener == NULL)
+ {
+ return;
+ }
+
+ for (int32 i = 0; i < m_contactCount; ++i)
+ {
+ b2Contact* c = m_contacts[i];
+
+ const b2ContactVelocityConstraint* vc = constraints + i;
+
+ b2ContactImpulse impulse;
+ impulse.count = vc->pointCount;
+ for (int32 j = 0; j < vc->pointCount; ++j)
+ {
+ impulse.normalImpulses[j] = vc->points[j].normalImpulse;
+ impulse.tangentImpulses[j] = vc->points[j].tangentImpulse;
+ }
+
+ m_listener->PostSolve(c, &impulse);
+ }
+}
diff --git a/games/rider/src/Box2D/Dynamics/b2Island.h b/games/rider/src/Box2D/Dynamics/b2Island.h
new file mode 100755
index 00000000..4a814c46
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2Island.h
@@ -0,0 +1,93 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* 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 B2_ISLAND_H
+#define B2_ISLAND_H
+
+#include <Box2D/Common/b2Math.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+
+class b2Contact;
+class b2Joint;
+class b2StackAllocator;
+class b2ContactListener;
+struct b2ContactVelocityConstraint;
+struct b2Profile;
+
+/// This is an internal class.
+class b2Island
+{
+public:
+ b2Island(int32 bodyCapacity, int32 contactCapacity, int32 jointCapacity,
+ b2StackAllocator* allocator, b2ContactListener* listener);
+ ~b2Island();
+
+ void Clear()
+ {
+ m_bodyCount = 0;
+ m_contactCount = 0;
+ m_jointCount = 0;
+ }
+
+ void Solve(b2Profile* profile, const b2TimeStep& step, const b2Vec2& gravity, bool allowSleep);
+
+ void SolveTOI(const b2TimeStep& subStep, int32 toiIndexA, int32 toiIndexB);
+
+ void Add(b2Body* body)
+ {
+ b2Assert(m_bodyCount < m_bodyCapacity);
+ body->m_islandIndex = m_bodyCount;
+ m_bodies[m_bodyCount] = body;
+ ++m_bodyCount;
+ }
+
+ void Add(b2Contact* contact)
+ {
+ b2Assert(m_contactCount < m_contactCapacity);
+ m_contacts[m_contactCount++] = contact;
+ }
+
+ void Add(b2Joint* joint)
+ {
+ b2Assert(m_jointCount < m_jointCapacity);
+ m_joints[m_jointCount++] = joint;
+ }
+
+ void Report(const b2ContactVelocityConstraint* constraints);
+
+ b2StackAllocator* m_allocator;
+ b2ContactListener* m_listener;
+
+ b2Body** m_bodies;
+ b2Contact** m_contacts;
+ b2Joint** m_joints;
+
+ b2Position* m_positions;
+ b2Velocity* m_velocities;
+
+ int32 m_bodyCount;
+ int32 m_jointCount;
+ int32 m_contactCount;
+
+ int32 m_bodyCapacity;
+ int32 m_contactCapacity;
+ int32 m_jointCapacity;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/b2TimeStep.h b/games/rider/src/Box2D/Dynamics/b2TimeStep.h
new file mode 100755
index 00000000..9e26aaca
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2TimeStep.h
@@ -0,0 +1,72 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+* Copyright (c) 2014 Google, Inc.
+*
+* 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 B2_TIME_STEP_H
+#define B2_TIME_STEP_H
+
+#include <Box2D/Common/b2Math.h>
+
+/// Profiling data. Times are in milliseconds.
+struct b2Profile
+{
+ float32 step;
+ float32 collide;
+ float32 solve;
+ float32 solveInit;
+ float32 solveVelocity;
+ float32 solvePosition;
+ float32 broadphase;
+ float32 solveTOI;
+};
+
+/// This is an internal structure.
+struct b2TimeStep
+{
+ float32 dt; // time step
+ float32 inv_dt; // inverse time step (0 if dt == 0).
+ float32 dtRatio; // dt * inv_dt0
+ int32 velocityIterations;
+ int32 positionIterations;
+ int32 particleIterations;
+ bool warmStarting;
+};
+
+/// This is an internal structure.
+struct b2Position
+{
+ b2Vec2 c;
+ float32 a;
+};
+
+/// This is an internal structure.
+struct b2Velocity
+{
+ b2Vec2 v;
+ float32 w;
+};
+
+/// Solver Data
+struct b2SolverData
+{
+ b2TimeStep step;
+ b2Position* positions;
+ b2Velocity* velocities;
+};
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/b2World.cpp b/games/rider/src/Box2D/Dynamics/b2World.cpp
new file mode 100755
index 00000000..f966724e
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2World.cpp
@@ -0,0 +1,1519 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/b2World.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/b2Island.h>
+#include <Box2D/Dynamics/Joints/b2PulleyJoint.h>
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+#include <Box2D/Dynamics/Contacts/b2ContactSolver.h>
+#include <Box2D/Collision/b2Collision.h>
+#include <Box2D/Collision/b2BroadPhase.h>
+#include <Box2D/Collision/Shapes/b2CircleShape.h>
+#include <Box2D/Collision/Shapes/b2EdgeShape.h>
+#include <Box2D/Collision/Shapes/b2ChainShape.h>
+#include <Box2D/Collision/Shapes/b2PolygonShape.h>
+#include <Box2D/Collision/b2TimeOfImpact.h>
+#include <Box2D/Common/b2Draw.h>
+#include <Box2D/Common/b2Timer.h>
+#include <new>
+
+b2World::b2World(const b2Vec2& gravity)
+{
+ Init(gravity);
+}
+
+b2World::~b2World()
+{
+ // Some shapes allocate using b2Alloc.
+ b2Body* b = m_bodyList;
+ while (b)
+ {
+ b2Body* bNext = b->m_next;
+
+ b2Fixture* f = b->m_fixtureList;
+ while (f)
+ {
+ b2Fixture* fNext = f->m_next;
+ f->m_proxyCount = 0;
+ f->Destroy(&m_blockAllocator);
+ f = fNext;
+ }
+
+ b = bNext;
+ }
+
+#if LIQUIDFUN_PARTICLES
+ while (m_particleSystemList)
+ {
+ DestroyParticleSystem(m_particleSystemList);
+ }
+#endif
+
+ // Even though the block allocator frees them for us, for safety,
+ // we should ensure that all buffers have been freed.
+ b2Assert(m_blockAllocator.GetNumGiantAllocations() == 0);
+}
+
+void b2World::SetDestructionListener(b2DestructionListener* listener)
+{
+ m_destructionListener = listener;
+}
+
+void b2World::SetContactFilter(b2ContactFilter* filter)
+{
+ m_contactManager.m_contactFilter = filter;
+}
+
+void b2World::SetContactListener(b2ContactListener* listener)
+{
+ m_contactManager.m_contactListener = listener;
+}
+
+void b2World::SetDebugDraw(b2Draw* debugDraw)
+{
+ m_debugDraw = debugDraw;
+}
+
+b2Body* b2World::CreateBody(const b2BodyDef* def)
+{
+ b2Assert(IsLocked() == false);
+ if (IsLocked())
+ {
+ return NULL;
+ }
+
+ void* mem = m_blockAllocator.Allocate(sizeof(b2Body));
+ b2Body* b = new (mem) b2Body(def, this);
+
+ // Add to world doubly linked list.
+ b->m_prev = NULL;
+ b->m_next = m_bodyList;
+ if (m_bodyList)
+ {
+ m_bodyList->m_prev = b;
+ }
+ m_bodyList = b;
+ ++m_bodyCount;
+
+ return b;
+}
+
+void b2World::DestroyBody(b2Body* b)
+{
+ b2Assert(m_bodyCount > 0);
+ b2Assert(IsLocked() == false);
+ if (IsLocked())
+ {
+ return;
+ }
+
+ // Delete the attached joints.
+ b2JointEdge* je = b->m_jointList;
+ while (je)
+ {
+ b2JointEdge* je0 = je;
+ je = je->next;
+
+ if (m_destructionListener)
+ {
+ m_destructionListener->SayGoodbye(je0->joint);
+ }
+
+ DestroyJoint(je0->joint);
+
+ b->m_jointList = je;
+ }
+ b->m_jointList = NULL;
+
+ // Delete the attached contacts.
+ b2ContactEdge* ce = b->m_contactList;
+ while (ce)
+ {
+ b2ContactEdge* ce0 = ce;
+ ce = ce->next;
+ m_contactManager.Destroy(ce0->contact);
+ }
+ b->m_contactList = NULL;
+
+ // Delete the attached fixtures. This destroys broad-phase proxies.
+ b2Fixture* f = b->m_fixtureList;
+ while (f)
+ {
+ b2Fixture* f0 = f;
+ f = f->m_next;
+
+ if (m_destructionListener)
+ {
+ m_destructionListener->SayGoodbye(f0);
+ }
+
+ f0->DestroyProxies(&m_contactManager.m_broadPhase);
+ f0->Destroy(&m_blockAllocator);
+ f0->~b2Fixture();
+ m_blockAllocator.Free(f0, sizeof(b2Fixture));
+
+ b->m_fixtureList = f;
+ b->m_fixtureCount -= 1;
+ }
+ b->m_fixtureList = NULL;
+ b->m_fixtureCount = 0;
+
+ // Remove world body list.
+ if (b->m_prev)
+ {
+ b->m_prev->m_next = b->m_next;
+ }
+
+ if (b->m_next)
+ {
+ b->m_next->m_prev = b->m_prev;
+ }
+
+ if (b == m_bodyList)
+ {
+ m_bodyList = b->m_next;
+ }
+
+ --m_bodyCount;
+ b->~b2Body();
+ m_blockAllocator.Free(b, sizeof(b2Body));
+}
+
+b2Joint* b2World::CreateJoint(const b2JointDef* def)
+{
+ b2Assert(IsLocked() == false);
+ if (IsLocked())
+ {
+ return NULL;
+ }
+
+ b2Joint* j = b2Joint::Create(def, &m_blockAllocator);
+
+ // Connect to the world list.
+ j->m_prev = NULL;
+ j->m_next = m_jointList;
+ if (m_jointList)
+ {
+ m_jointList->m_prev = j;
+ }
+ m_jointList = j;
+ ++m_jointCount;
+
+ // Connect to the bodies' doubly linked lists.
+ j->m_edgeA.joint = j;
+ j->m_edgeA.other = j->m_bodyB;
+ j->m_edgeA.prev = NULL;
+ j->m_edgeA.next = j->m_bodyA->m_jointList;
+ if (j->m_bodyA->m_jointList) j->m_bodyA->m_jointList->prev = &j->m_edgeA;
+ j->m_bodyA->m_jointList = &j->m_edgeA;
+
+ j->m_edgeB.joint = j;
+ j->m_edgeB.other = j->m_bodyA;
+ j->m_edgeB.prev = NULL;
+ j->m_edgeB.next = j->m_bodyB->m_jointList;
+ if (j->m_bodyB->m_jointList) j->m_bodyB->m_jointList->prev = &j->m_edgeB;
+ j->m_bodyB->m_jointList = &j->m_edgeB;
+
+ b2Body* bodyA = def->bodyA;
+ b2Body* bodyB = def->bodyB;
+
+ // If the joint prevents collisions, then flag any contacts for filtering.
+ if (def->collideConnected == false)
+ {
+ b2ContactEdge* edge = bodyB->GetContactList();
+ while (edge)
+ {
+ if (edge->other == bodyA)
+ {
+ // Flag the contact for filtering at the next time step (where either
+ // body is awake).
+ edge->contact->FlagForFiltering();
+ }
+
+ edge = edge->next;
+ }
+ }
+
+ // Note: creating a joint doesn't wake the bodies.
+
+ return j;
+}
+
+void b2World::DestroyJoint(b2Joint* j)
+{
+ b2Assert(IsLocked() == false);
+ if (IsLocked())
+ {
+ return;
+ }
+
+ bool collideConnected = j->m_collideConnected;
+
+ // Remove from the doubly linked list.
+ if (j->m_prev)
+ {
+ j->m_prev->m_next = j->m_next;
+ }
+
+ if (j->m_next)
+ {
+ j->m_next->m_prev = j->m_prev;
+ }
+
+ if (j == m_jointList)
+ {
+ m_jointList = j->m_next;
+ }
+
+ // Disconnect from island graph.
+ b2Body* bodyA = j->m_bodyA;
+ b2Body* bodyB = j->m_bodyB;
+
+ // Wake up connected bodies.
+ bodyA->SetAwake(true);
+ bodyB->SetAwake(true);
+
+ // Remove from body 1.
+ if (j->m_edgeA.prev)
+ {
+ j->m_edgeA.prev->next = j->m_edgeA.next;
+ }
+
+ if (j->m_edgeA.next)
+ {
+ j->m_edgeA.next->prev = j->m_edgeA.prev;
+ }
+
+ if (&j->m_edgeA == bodyA->m_jointList)
+ {
+ bodyA->m_jointList = j->m_edgeA.next;
+ }
+
+ j->m_edgeA.prev = NULL;
+ j->m_edgeA.next = NULL;
+
+ // Remove from body 2
+ if (j->m_edgeB.prev)
+ {
+ j->m_edgeB.prev->next = j->m_edgeB.next;
+ }
+
+ if (j->m_edgeB.next)
+ {
+ j->m_edgeB.next->prev = j->m_edgeB.prev;
+ }
+
+ if (&j->m_edgeB == bodyB->m_jointList)
+ {
+ bodyB->m_jointList = j->m_edgeB.next;
+ }
+
+ j->m_edgeB.prev = NULL;
+ j->m_edgeB.next = NULL;
+
+ b2Joint::Destroy(j, &m_blockAllocator);
+
+ b2Assert(m_jointCount > 0);
+ --m_jointCount;
+
+ // If the joint prevents collisions, then flag any contacts for filtering.
+ if (collideConnected == false)
+ {
+ b2ContactEdge* edge = bodyB->GetContactList();
+ while (edge)
+ {
+ if (edge->other == bodyA)
+ {
+ // Flag the contact for filtering at the next time step (where either
+ // body is awake).
+ edge->contact->FlagForFiltering();
+ }
+
+ edge = edge->next;
+ }
+ }
+}
+
+#if LIQUIDFUN_PARTICLES
+b2ParticleSystem* b2World::CreateParticleSystem(const b2ParticleSystemDef* def)
+{
+ b2Assert(IsLocked() == false);
+ if (IsLocked())
+ {
+ return NULL;
+ }
+
+ void* mem = m_blockAllocator.Allocate(sizeof(b2ParticleSystem));
+ b2ParticleSystem* p = new (mem) b2ParticleSystem(def, this);
+
+ // Add to world doubly linked list.
+ p->m_prev = NULL;
+ p->m_next = m_particleSystemList;
+ if (m_particleSystemList)
+ {
+ m_particleSystemList->m_prev = p;
+ }
+ m_particleSystemList = p;
+
+ return p;
+}
+
+void b2World::DestroyParticleSystem(b2ParticleSystem* p)
+{
+ b2Assert(m_particleSystemList != NULL);
+ b2Assert(IsLocked() == false);
+ if (IsLocked())
+ {
+ return;
+ }
+
+ // Remove world particleSystem list.
+ if (p->m_prev)
+ {
+ p->m_prev->m_next = p->m_next;
+ }
+
+ if (p->m_next)
+ {
+ p->m_next->m_prev = p->m_prev;
+ }
+
+ if (p == m_particleSystemList)
+ {
+ m_particleSystemList = p->m_next;
+ }
+
+ p->~b2ParticleSystem();
+ m_blockAllocator.Free(p, sizeof(b2ParticleSystem));
+}
+
+#endif
+
+//
+void b2World::SetAllowSleeping(bool flag)
+{
+ if (flag == m_allowSleep)
+ {
+ return;
+ }
+
+ m_allowSleep = flag;
+ if (m_allowSleep == false)
+ {
+ for (b2Body* b = m_bodyList; b; b = b->m_next)
+ {
+ b->SetAwake(true);
+ }
+ }
+}
+
+// Initialize the world with a specified gravity.
+void b2World::Init(const b2Vec2& gravity)
+{
+ m_destructionListener = NULL;
+ m_debugDraw = NULL;
+
+ m_bodyList = NULL;
+ m_jointList = NULL;
+ m_particleSystemList = NULL;
+
+ m_bodyCount = 0;
+ m_jointCount = 0;
+
+ m_warmStarting = true;
+ m_continuousPhysics = true;
+ m_subStepping = false;
+
+ m_stepComplete = true;
+
+ m_allowSleep = true;
+ m_gravity = gravity;
+
+ m_flags = e_clearForces;
+
+ m_inv_dt0 = 0.0f;
+
+ m_contactManager.m_allocator = &m_blockAllocator;
+
+ m_liquidFunVersion = &b2_liquidFunVersion;
+ m_liquidFunVersionString = b2_liquidFunVersionString;
+
+ memset(&m_profile, 0, sizeof(b2Profile));
+}
+
+// Find islands, integrate and solve constraints, solve position constraints
+void b2World::Solve(const b2TimeStep& step)
+{
+ // update previous transforms
+ for (b2Body* b = m_bodyList; b; b = b->m_next)
+ {
+ b->m_xf0 = b->m_xf;
+ }
+
+ m_profile.solveInit = 0.0f;
+ m_profile.solveVelocity = 0.0f;
+ m_profile.solvePosition = 0.0f;
+
+ // Size the island for the worst case.
+ b2Island island(m_bodyCount,
+ m_contactManager.m_contactCount,
+ m_jointCount,
+ &m_stackAllocator,
+ m_contactManager.m_contactListener);
+
+ // Clear all the island flags.
+ for (b2Body* b = m_bodyList; b; b = b->m_next)
+ {
+ b->m_flags &= ~b2Body::e_islandFlag;
+ }
+ for (b2Contact* c = m_contactManager.m_contactList; c; c = c->m_next)
+ {
+ c->m_flags &= ~b2Contact::e_islandFlag;
+ }
+ for (b2Joint* j = m_jointList; j; j = j->m_next)
+ {
+ j->m_islandFlag = false;
+ }
+
+ // Build and simulate all awake islands.
+ int32 stackSize = m_bodyCount;
+ b2Body** stack = (b2Body**)m_stackAllocator.Allocate(stackSize * sizeof(b2Body*));
+ for (b2Body* seed = m_bodyList; seed; seed = seed->m_next)
+ {
+ if (seed->m_flags & b2Body::e_islandFlag)
+ {
+ continue;
+ }
+
+ if (seed->IsAwake() == false || seed->IsActive() == false)
+ {
+ continue;
+ }
+
+ // The seed can be dynamic or kinematic.
+ if (seed->GetType() == b2_staticBody)
+ {
+ continue;
+ }
+
+ // Reset island and stack.
+ island.Clear();
+ int32 stackCount = 0;
+ stack[stackCount++] = seed;
+ seed->m_flags |= b2Body::e_islandFlag;
+
+ // Perform a depth first search (DFS) on the constraint graph.
+ while (stackCount > 0)
+ {
+ // Grab the next body off the stack and add it to the island.
+ b2Body* b = stack[--stackCount];
+ b2Assert(b->IsActive() == true);
+ island.Add(b);
+
+ // Make sure the body is awake.
+ b->SetAwake(true);
+
+ // To keep islands as small as possible, we don't
+ // propagate islands across static bodies.
+ if (b->GetType() == b2_staticBody)
+ {
+ continue;
+ }
+
+ // Search all contacts connected to this body.
+ for (b2ContactEdge* ce = b->m_contactList; ce; ce = ce->next)
+ {
+ b2Contact* contact = ce->contact;
+
+ // Has this contact already been added to an island?
+ if (contact->m_flags & b2Contact::e_islandFlag)
+ {
+ continue;
+ }
+
+ // Is this contact solid and touching?
+ if (contact->IsEnabled() == false ||
+ contact->IsTouching() == false)
+ {
+ continue;
+ }
+
+ // Skip sensors.
+ bool sensorA = contact->m_fixtureA->m_isSensor;
+ bool sensorB = contact->m_fixtureB->m_isSensor;
+ if (sensorA || sensorB)
+ {
+ continue;
+ }
+
+ island.Add(contact);
+ contact->m_flags |= b2Contact::e_islandFlag;
+
+ b2Body* other = ce->other;
+
+ // Was the other body already added to this island?
+ if (other->m_flags & b2Body::e_islandFlag)
+ {
+ continue;
+ }
+
+ b2Assert(stackCount < stackSize);
+ stack[stackCount++] = other;
+ other->m_flags |= b2Body::e_islandFlag;
+ }
+
+ // Search all joints connect to this body.
+ for (b2JointEdge* je = b->m_jointList; je; je = je->next)
+ {
+ if (je->joint->m_islandFlag == true)
+ {
+ continue;
+ }
+
+ b2Body* other = je->other;
+
+ // Don't simulate joints connected to inactive bodies.
+ if (other->IsActive() == false)
+ {
+ continue;
+ }
+
+ island.Add(je->joint);
+ je->joint->m_islandFlag = true;
+
+ if (other->m_flags & b2Body::e_islandFlag)
+ {
+ continue;
+ }
+
+ b2Assert(stackCount < stackSize);
+ stack[stackCount++] = other;
+ other->m_flags |= b2Body::e_islandFlag;
+ }
+ }
+
+ b2Profile profile;
+ island.Solve(&profile, step, m_gravity, m_allowSleep);
+ m_profile.solveInit += profile.solveInit;
+ m_profile.solveVelocity += profile.solveVelocity;
+ m_profile.solvePosition += profile.solvePosition;
+
+ // Post solve cleanup.
+ for (int32 i = 0; i < island.m_bodyCount; ++i)
+ {
+ // Allow static bodies to participate in other islands.
+ b2Body* b = island.m_bodies[i];
+ if (b->GetType() == b2_staticBody)
+ {
+ b->m_flags &= ~b2Body::e_islandFlag;
+ }
+ }
+ }
+
+ m_stackAllocator.Free(stack);
+
+ {
+ b2Timer timer;
+ // Synchronize fixtures, check for out of range bodies.
+ for (b2Body* b = m_bodyList; b; b = b->GetNext())
+ {
+ // If a body was not in an island then it did not move.
+ if ((b->m_flags & b2Body::e_islandFlag) == 0)
+ {
+ continue;
+ }
+
+ if (b->GetType() == b2_staticBody)
+ {
+ continue;
+ }
+
+ // Update fixtures (for broad-phase).
+ b->SynchronizeFixtures();
+ }
+
+ // Look for new contacts.
+ m_contactManager.FindNewContacts();
+ m_profile.broadphase = timer.GetMilliseconds();
+ }
+}
+
+// Find TOI contacts and solve them.
+void b2World::SolveTOI(const b2TimeStep& step)
+{
+ b2Island island(2 * b2_maxTOIContacts, b2_maxTOIContacts, 0, &m_stackAllocator, m_contactManager.m_contactListener);
+
+ if (m_stepComplete)
+ {
+ for (b2Body* b = m_bodyList; b; b = b->m_next)
+ {
+ b->m_flags &= ~b2Body::e_islandFlag;
+ b->m_sweep.alpha0 = 0.0f;
+ }
+
+ for (b2Contact* c = m_contactManager.m_contactList; c; c = c->m_next)
+ {
+ // Invalidate TOI
+ c->m_flags &= ~(b2Contact::e_toiFlag | b2Contact::e_islandFlag);
+ c->m_toiCount = 0;
+ c->m_toi = 1.0f;
+ }
+ }
+
+ // Find TOI events and solve them.
+ for (;;)
+ {
+ // Find the first TOI.
+ b2Contact* minContact = NULL;
+ float32 minAlpha = 1.0f;
+
+ for (b2Contact* c = m_contactManager.m_contactList; c; c = c->m_next)
+ {
+ // Is this contact disabled?
+ if (c->IsEnabled() == false)
+ {
+ continue;
+ }
+
+ // Prevent excessive sub-stepping.
+ if (c->m_toiCount > b2_maxSubSteps)
+ {
+ continue;
+ }
+
+ float32 alpha = 1.0f;
+ if (c->m_flags & b2Contact::e_toiFlag)
+ {
+ // This contact has a valid cached TOI.
+ alpha = c->m_toi;
+ }
+ else
+ {
+ b2Fixture* fA = c->GetFixtureA();
+ b2Fixture* fB = c->GetFixtureB();
+
+ // Is there a sensor?
+ if (fA->IsSensor() || fB->IsSensor())
+ {
+ continue;
+ }
+
+ b2Body* bA = fA->GetBody();
+ b2Body* bB = fB->GetBody();
+
+ b2BodyType typeA = bA->m_type;
+ b2BodyType typeB = bB->m_type;
+ b2Assert(typeA == b2_dynamicBody || typeB == b2_dynamicBody);
+
+ bool activeA = bA->IsAwake() && typeA != b2_staticBody;
+ bool activeB = bB->IsAwake() && typeB != b2_staticBody;
+
+ // Is at least one body active (awake and dynamic or kinematic)?
+ if (activeA == false && activeB == false)
+ {
+ continue;
+ }
+
+ bool collideA = bA->IsBullet() || typeA != b2_dynamicBody;
+ bool collideB = bB->IsBullet() || typeB != b2_dynamicBody;
+
+ // Are these two non-bullet dynamic bodies?
+ if (collideA == false && collideB == false)
+ {
+ continue;
+ }
+
+ // Compute the TOI for this contact.
+ // Put the sweeps onto the same time interval.
+ float32 alpha0 = bA->m_sweep.alpha0;
+
+ if (bA->m_sweep.alpha0 < bB->m_sweep.alpha0)
+ {
+ alpha0 = bB->m_sweep.alpha0;
+ bA->m_sweep.Advance(alpha0);
+ }
+ else if (bB->m_sweep.alpha0 < bA->m_sweep.alpha0)
+ {
+ alpha0 = bA->m_sweep.alpha0;
+ bB->m_sweep.Advance(alpha0);
+ }
+
+ b2Assert(alpha0 < 1.0f);
+
+ int32 indexA = c->GetChildIndexA();
+ int32 indexB = c->GetChildIndexB();
+
+ // Compute the time of impact in interval [0, minTOI]
+ b2TOIInput input;
+ input.proxyA.Set(fA->GetShape(), indexA);
+ input.proxyB.Set(fB->GetShape(), indexB);
+ input.sweepA = bA->m_sweep;
+ input.sweepB = bB->m_sweep;
+ input.tMax = 1.0f;
+
+ b2TOIOutput output;
+ b2TimeOfImpact(&output, &input);
+
+ // Beta is the fraction of the remaining portion of the .
+ float32 beta = output.t;
+ if (output.state == b2TOIOutput::e_touching)
+ {
+ alpha = b2Min(alpha0 + (1.0f - alpha0) * beta, 1.0f);
+ }
+ else
+ {
+ alpha = 1.0f;
+ }
+
+ c->m_toi = alpha;
+ c->m_flags |= b2Contact::e_toiFlag;
+ }
+
+ if (alpha < minAlpha)
+ {
+ // This is the minimum TOI found so far.
+ minContact = c;
+ minAlpha = alpha;
+ }
+ }
+
+ if (minContact == NULL || 1.0f - 10.0f * b2_epsilon < minAlpha)
+ {
+ // No more TOI events. Done!
+ m_stepComplete = true;
+ break;
+ }
+
+ // Advance the bodies to the TOI.
+ b2Fixture* fA = minContact->GetFixtureA();
+ b2Fixture* fB = minContact->GetFixtureB();
+ b2Body* bA = fA->GetBody();
+ b2Body* bB = fB->GetBody();
+
+ b2Sweep backup1 = bA->m_sweep;
+ b2Sweep backup2 = bB->m_sweep;
+
+ bA->Advance(minAlpha);
+ bB->Advance(minAlpha);
+
+ // The TOI contact likely has some new contact points.
+ minContact->Update(m_contactManager.m_contactListener);
+ minContact->m_flags &= ~b2Contact::e_toiFlag;
+ ++minContact->m_toiCount;
+
+ // Is the contact solid?
+ if (minContact->IsEnabled() == false || minContact->IsTouching() == false)
+ {
+ // Restore the sweeps.
+ minContact->SetEnabled(false);
+ bA->m_sweep = backup1;
+ bB->m_sweep = backup2;
+ bA->SynchronizeTransform();
+ bB->SynchronizeTransform();
+ continue;
+ }
+
+ bA->SetAwake(true);
+ bB->SetAwake(true);
+
+ // Build the island
+ island.Clear();
+ island.Add(bA);
+ island.Add(bB);
+ island.Add(minContact);
+
+ bA->m_flags |= b2Body::e_islandFlag;
+ bB->m_flags |= b2Body::e_islandFlag;
+ minContact->m_flags |= b2Contact::e_islandFlag;
+
+ // Get contacts on bodyA and bodyB.
+ b2Body* bodies[2] = {bA, bB};
+ for (int32 i = 0; i < 2; ++i)
+ {
+ b2Body* body = bodies[i];
+ if (body->m_type == b2_dynamicBody)
+ {
+ for (b2ContactEdge* ce = body->m_contactList; ce; ce = ce->next)
+ {
+ if (island.m_bodyCount == island.m_bodyCapacity)
+ {
+ break;
+ }
+
+ if (island.m_contactCount == island.m_contactCapacity)
+ {
+ break;
+ }
+
+ b2Contact* contact = ce->contact;
+
+ // Has this contact already been added to the island?
+ if (contact->m_flags & b2Contact::e_islandFlag)
+ {
+ continue;
+ }
+
+ // Only add static, kinematic, or bullet bodies.
+ b2Body* other = ce->other;
+ if (other->m_type == b2_dynamicBody &&
+ body->IsBullet() == false && other->IsBullet() == false)
+ {
+ continue;
+ }
+
+ // Skip sensors.
+ bool sensorA = contact->m_fixtureA->m_isSensor;
+ bool sensorB = contact->m_fixtureB->m_isSensor;
+ if (sensorA || sensorB)
+ {
+ continue;
+ }
+
+ // Tentatively advance the body to the TOI.
+ b2Sweep backup = other->m_sweep;
+ if ((other->m_flags & b2Body::e_islandFlag) == 0)
+ {
+ other->Advance(minAlpha);
+ }
+
+ // Update the contact points
+ contact->Update(m_contactManager.m_contactListener);
+
+ // Was the contact disabled by the user?
+ if (contact->IsEnabled() == false)
+ {
+ other->m_sweep = backup;
+ other->SynchronizeTransform();
+ continue;
+ }
+
+ // Are there contact points?
+ if (contact->IsTouching() == false)
+ {
+ other->m_sweep = backup;
+ other->SynchronizeTransform();
+ continue;
+ }
+
+ // Add the contact to the island
+ contact->m_flags |= b2Contact::e_islandFlag;
+ island.Add(contact);
+
+ // Has the other body already been added to the island?
+ if (other->m_flags & b2Body::e_islandFlag)
+ {
+ continue;
+ }
+
+ // Add the other body to the island.
+ other->m_flags |= b2Body::e_islandFlag;
+
+ if (other->m_type != b2_staticBody)
+ {
+ other->SetAwake(true);
+ }
+
+ island.Add(other);
+ }
+ }
+ }
+
+ b2TimeStep subStep;
+ subStep.dt = (1.0f - minAlpha) * step.dt;
+ subStep.inv_dt = 1.0f / subStep.dt;
+ subStep.dtRatio = 1.0f;
+ subStep.positionIterations = 20;
+ subStep.velocityIterations = step.velocityIterations;
+ subStep.particleIterations = step.particleIterations;
+ subStep.warmStarting = false;
+ island.SolveTOI(subStep, bA->m_islandIndex, bB->m_islandIndex);
+
+ // Reset island flags and synchronize broad-phase proxies.
+ for (int32 i = 0; i < island.m_bodyCount; ++i)
+ {
+ b2Body* body = island.m_bodies[i];
+ body->m_flags &= ~b2Body::e_islandFlag;
+
+ if (body->m_type != b2_dynamicBody)
+ {
+ continue;
+ }
+
+ body->SynchronizeFixtures();
+
+ // Invalidate all contact TOIs on this displaced body.
+ for (b2ContactEdge* ce = body->m_contactList; ce; ce = ce->next)
+ {
+ ce->contact->m_flags &= ~(b2Contact::e_toiFlag | b2Contact::e_islandFlag);
+ }
+ }
+
+ // Commit fixture proxy movements to the broad-phase so that new contacts are created.
+ // Also, some contacts can be destroyed.
+ m_contactManager.FindNewContacts();
+
+ if (m_subStepping)
+ {
+ m_stepComplete = false;
+ break;
+ }
+ }
+}
+
+void b2World::Step(
+ float32 dt,
+ int32 velocityIterations,
+ int32 positionIterations,
+ int32 particleIterations)
+{
+ b2Timer stepTimer;
+
+ // If new fixtures were added, we need to find the new contacts.
+ if (m_flags & e_newFixture)
+ {
+ m_contactManager.FindNewContacts();
+ m_flags &= ~e_newFixture;
+ }
+
+ m_flags |= e_locked;
+
+ b2TimeStep step;
+ step.dt = dt;
+ step.velocityIterations = velocityIterations;
+ step.positionIterations = positionIterations;
+ step.particleIterations = particleIterations;
+ if (dt > 0.0f)
+ {
+ step.inv_dt = 1.0f / dt;
+ }
+ else
+ {
+ step.inv_dt = 0.0f;
+ }
+
+ step.dtRatio = m_inv_dt0 * dt;
+
+ step.warmStarting = m_warmStarting;
+
+ // Update contacts. This is where some contacts are destroyed.
+ {
+ b2Timer timer;
+ m_contactManager.Collide();
+ m_profile.collide = timer.GetMilliseconds();
+ }
+
+ // Integrate velocities, solve velocity constraints, and integrate positions.
+ if (m_stepComplete && step.dt > 0.0f)
+ {
+ b2Timer timer;
+#if LIQUIDFUN_PARTICLES
+ for (b2ParticleSystem* p = m_particleSystemList; p; p = p->GetNext())
+ {
+ p->Solve(step); // Particle Simulation
+ }
+#endif
+ Solve(step);
+ m_profile.solve = timer.GetMilliseconds();
+ }
+
+ // Handle TOI events.
+ if (m_continuousPhysics && step.dt > 0.0f)
+ {
+ b2Timer timer;
+ SolveTOI(step);
+ m_profile.solveTOI = timer.GetMilliseconds();
+ }
+
+ if (step.dt > 0.0f)
+ {
+ m_inv_dt0 = step.inv_dt;
+ }
+
+ if (m_flags & e_clearForces)
+ {
+ ClearForces();
+ }
+
+ m_flags &= ~e_locked;
+
+ m_profile.step = stepTimer.GetMilliseconds();
+}
+
+void b2World::ClearForces()
+{
+ for (b2Body* body = m_bodyList; body; body = body->GetNext())
+ {
+ body->m_force.SetZero();
+ body->m_torque = 0.0f;
+ }
+}
+
+struct b2WorldQueryWrapper
+{
+ bool QueryCallback(int32 proxyId)
+ {
+ b2FixtureProxy* proxy = (b2FixtureProxy*)broadPhase->GetUserData(proxyId);
+ return callback->ReportFixture(proxy->fixture);
+ }
+
+ const b2BroadPhase* broadPhase;
+ b2QueryCallback* callback;
+};
+
+void b2World::QueryAABB(b2QueryCallback* callback, const b2AABB& aabb) const
+{
+ b2WorldQueryWrapper wrapper;
+ wrapper.broadPhase = &m_contactManager.m_broadPhase;
+ wrapper.callback = callback;
+ m_contactManager.m_broadPhase.Query(&wrapper, aabb);
+#if LIQUIDFUN_PARTICLES
+ for (b2ParticleSystem* p = m_particleSystemList; p; p = p->GetNext())
+ {
+ if (callback->ShouldQueryParticleSystem(p))
+ {
+ p->QueryAABB(callback, aabb);
+ }
+ }
+#endif
+}
+
+void b2World::QueryShapeAABB(b2QueryCallback* callback, const b2Shape& shape,
+ const b2Transform& xf) const
+{
+ b2AABB aabb;
+ shape.ComputeAABB(&aabb, xf, 0);
+ QueryAABB(callback, aabb);
+}
+
+struct b2WorldRayCastWrapper
+{
+ float32 RayCastCallback(const b2RayCastInput& input, int32 proxyId)
+ {
+ void* userData = broadPhase->GetUserData(proxyId);
+ b2FixtureProxy* proxy = (b2FixtureProxy*)userData;
+ b2Fixture* fixture = proxy->fixture;
+ int32 index = proxy->childIndex;
+ b2RayCastOutput output;
+ bool hit = fixture->RayCast(&output, input, index);
+
+ if (hit)
+ {
+ float32 fraction = output.fraction;
+ b2Vec2 point = (1.0f - fraction) * input.p1 + fraction * input.p2;
+ return callback->ReportFixture(fixture, point, output.normal, fraction);
+ }
+
+ return input.maxFraction;
+ }
+
+ const b2BroadPhase* broadPhase;
+ b2RayCastCallback* callback;
+};
+
+void b2World::RayCast(b2RayCastCallback* callback, const b2Vec2& point1, const b2Vec2& point2) const
+{
+ b2WorldRayCastWrapper wrapper;
+ wrapper.broadPhase = &m_contactManager.m_broadPhase;
+ wrapper.callback = callback;
+ b2RayCastInput input;
+ input.maxFraction = 1.0f;
+ input.p1 = point1;
+ input.p2 = point2;
+ m_contactManager.m_broadPhase.RayCast(&wrapper, input);
+#if LIQUIDFUN_PARTICLES
+ for (b2ParticleSystem* p = m_particleSystemList; p; p = p->GetNext())
+ {
+ if (callback->ShouldQueryParticleSystem(p))
+ {
+ p->RayCast(callback, point1, point2);
+ }
+ }
+#endif
+}
+
+void b2World::DrawShape(b2Fixture* fixture, const b2Transform& xf, const b2Color& color)
+{
+ switch (fixture->GetType())
+ {
+ case b2Shape::e_circle:
+ {
+ b2CircleShape* circle = (b2CircleShape*)fixture->GetShape();
+
+ b2Vec2 center = b2Mul(xf, circle->m_p);
+ float32 radius = circle->m_radius;
+ b2Vec2 axis = b2Mul(xf.q, b2Vec2(1.0f, 0.0f));
+
+ m_debugDraw->DrawSolidCircle(center, radius, axis, color);
+ }
+ break;
+
+ case b2Shape::e_edge:
+ {
+ b2EdgeShape* edge = (b2EdgeShape*)fixture->GetShape();
+ b2Vec2 v1 = b2Mul(xf, edge->m_vertex1);
+ b2Vec2 v2 = b2Mul(xf, edge->m_vertex2);
+ m_debugDraw->DrawSegment(v1, v2, color);
+ }
+ break;
+
+ case b2Shape::e_chain:
+ {
+ b2ChainShape* chain = (b2ChainShape*)fixture->GetShape();
+ int32 count = chain->m_count;
+ const b2Vec2* vertices = chain->m_vertices;
+
+ b2Vec2 v1 = b2Mul(xf, vertices[0]);
+ for (int32 i = 1; i < count; ++i)
+ {
+ b2Vec2 v2 = b2Mul(xf, vertices[i]);
+ m_debugDraw->DrawSegment(v1, v2, color);
+ m_debugDraw->DrawCircle(v1, 0.05f, color);
+ v1 = v2;
+ }
+ }
+ break;
+
+ case b2Shape::e_polygon:
+ {
+ b2PolygonShape* poly = (b2PolygonShape*)fixture->GetShape();
+ int32 vertexCount = poly->m_count;
+ b2Assert(vertexCount <= b2_maxPolygonVertices);
+ b2Vec2 vertices[b2_maxPolygonVertices];
+
+ for (int32 i = 0; i < vertexCount; ++i)
+ {
+ vertices[i] = b2Mul(xf, poly->m_vertices[i]);
+ }
+
+ m_debugDraw->DrawSolidPolygon(vertices, vertexCount, color);
+ }
+ break;
+
+ default:
+ break;
+ }
+}
+
+void b2World::DrawJoint(b2Joint* joint)
+{
+ b2Body* bodyA = joint->GetBodyA();
+ b2Body* bodyB = joint->GetBodyB();
+ const b2Transform& xf1 = bodyA->GetTransform();
+ const b2Transform& xf2 = bodyB->GetTransform();
+ b2Vec2 x1 = xf1.p;
+ b2Vec2 x2 = xf2.p;
+ b2Vec2 p1 = joint->GetAnchorA();
+ b2Vec2 p2 = joint->GetAnchorB();
+
+ b2Color color(0.5f, 0.8f, 0.8f);
+
+ switch (joint->GetType())
+ {
+ case e_distanceJoint:
+ m_debugDraw->DrawSegment(p1, p2, color);
+ break;
+
+ case e_pulleyJoint:
+ {
+ b2PulleyJoint* pulley = (b2PulleyJoint*)joint;
+ b2Vec2 s1 = pulley->GetGroundAnchorA();
+ b2Vec2 s2 = pulley->GetGroundAnchorB();
+ m_debugDraw->DrawSegment(s1, p1, color);
+ m_debugDraw->DrawSegment(s2, p2, color);
+ m_debugDraw->DrawSegment(s1, s2, color);
+ }
+ break;
+
+ case e_mouseJoint:
+ // don't draw this
+ break;
+
+ default:
+ m_debugDraw->DrawSegment(x1, p1, color);
+ m_debugDraw->DrawSegment(p1, p2, color);
+ m_debugDraw->DrawSegment(x2, p2, color);
+ }
+}
+
+#if LIQUIDFUN_PARTICLES
+void b2World::DrawParticleSystem(const b2ParticleSystem& system)
+{
+ int32 particleCount = system.GetParticleCount();
+ if (particleCount)
+ {
+ float32 radius = system.GetRadius();
+ const b2Vec2* positionBuffer = system.GetPositionBuffer();
+ if (system.m_colorBuffer.data)
+ {
+ const b2ParticleColor* colorBuffer = system.GetColorBuffer();
+ m_debugDraw->DrawParticles(positionBuffer, radius, colorBuffer, particleCount);
+ }
+ else
+ {
+ m_debugDraw->DrawParticles(positionBuffer, radius, NULL, particleCount);
+ }
+ }
+}
+
+#endif
+
+void b2World::DrawDebugData()
+{
+ if (m_debugDraw == NULL)
+ {
+ return;
+ }
+
+ uint32 flags = m_debugDraw->GetFlags();
+
+ if (flags & b2Draw::e_shapeBit)
+ {
+ for (b2Body* b = m_bodyList; b; b = b->GetNext())
+ {
+ const b2Transform& xf = b->GetTransform();
+ for (b2Fixture* f = b->GetFixtureList(); f; f = f->GetNext())
+ {
+ if (b->IsActive() == false)
+ {
+ DrawShape(f, xf, b2Color(0.5f, 0.5f, 0.3f));
+ }
+ else if (b->GetType() == b2_staticBody)
+ {
+ DrawShape(f, xf, b2Color(0.5f, 0.9f, 0.5f));
+ }
+ else if (b->GetType() == b2_kinematicBody)
+ {
+ DrawShape(f, xf, b2Color(0.5f, 0.5f, 0.9f));
+ }
+ else if (b->IsAwake() == false)
+ {
+ DrawShape(f, xf, b2Color(0.6f, 0.6f, 0.6f));
+ }
+ else
+ {
+ DrawShape(f, xf, b2Color(0.9f, 0.7f, 0.7f));
+ }
+ }
+ }
+ }
+
+#if LIQUIDFUN_PARTICLES
+ if (flags & b2Draw::e_particleBit)
+ {
+ for (b2ParticleSystem* p = m_particleSystemList; p; p = p->GetNext())
+ {
+ DrawParticleSystem(*p);
+ }
+ }
+#endif
+
+ if (flags & b2Draw::e_jointBit)
+ {
+ for (b2Joint* j = m_jointList; j; j = j->GetNext())
+ {
+
+ DrawJoint(j);
+ }
+ }
+
+ if (flags & b2Draw::e_pairBit)
+ {
+ b2Color color(0.3f, 0.9f, 0.9f);
+ for (b2Contact* c = m_contactManager.m_contactList; c; c = c->GetNext())
+ {
+ //b2Fixture* fixtureA = c->GetFixtureA();
+ //b2Fixture* fixtureB = c->GetFixtureB();
+
+ //b2Vec2 cA = fixtureA->GetAABB().GetCenter();
+ //b2Vec2 cB = fixtureB->GetAABB().GetCenter();
+
+ //m_debugDraw->DrawSegment(cA, cB, color);
+ }
+ }
+
+ if (flags & b2Draw::e_aabbBit)
+ {
+ b2Color color(0.9f, 0.3f, 0.9f);
+ b2BroadPhase* bp = &m_contactManager.m_broadPhase;
+
+ for (b2Body* b = m_bodyList; b; b = b->GetNext())
+ {
+ if (b->IsActive() == false)
+ {
+ continue;
+ }
+
+ for (b2Fixture* f = b->GetFixtureList(); f; f = f->GetNext())
+ {
+ for (int32 i = 0; i < f->m_proxyCount; ++i)
+ {
+ b2FixtureProxy* proxy = f->m_proxies + i;
+ b2AABB aabb = bp->GetFatAABB(proxy->proxyId);
+ b2Vec2 vs[4];
+ vs[0].Set(aabb.lowerBound.x, aabb.lowerBound.y);
+ vs[1].Set(aabb.upperBound.x, aabb.lowerBound.y);
+ vs[2].Set(aabb.upperBound.x, aabb.upperBound.y);
+ vs[3].Set(aabb.lowerBound.x, aabb.upperBound.y);
+
+ m_debugDraw->DrawPolygon(vs, 4, color);
+ }
+ }
+ }
+ }
+
+ if (flags & b2Draw::e_centerOfMassBit)
+ {
+ for (b2Body* b = m_bodyList; b; b = b->GetNext())
+ {
+ b2Transform xf = b->GetTransform();
+ xf.p = b->GetWorldCenter();
+ m_debugDraw->DrawTransform(xf);
+ }
+ }
+}
+
+#if LIQUIDFUN_PARTICLES
+static float32 GetSmallestRadius(const b2World* world)
+{
+ float32 smallestRadius = b2_maxFloat;
+ for (const b2ParticleSystem* system = world->GetParticleSystemList();
+ system != NULL;
+ system = system->GetNext())
+ {
+ smallestRadius = b2Min(smallestRadius, system->GetRadius());
+ }
+ return smallestRadius;
+}
+
+int b2World::CalculateReasonableParticleIterations(float32 timeStep) const
+{
+ if (m_particleSystemList == NULL)
+ return 1;
+
+ // Use the smallest radius, since that represents the worst-case.
+ return b2CalculateParticleIterations(m_gravity.Length(),
+ GetSmallestRadius(this),
+ timeStep);
+}
+
+#endif
+
+int32 b2World::GetProxyCount() const
+{
+ return m_contactManager.m_broadPhase.GetProxyCount();
+}
+
+int32 b2World::GetTreeHeight() const
+{
+ return m_contactManager.m_broadPhase.GetTreeHeight();
+}
+
+int32 b2World::GetTreeBalance() const
+{
+ return m_contactManager.m_broadPhase.GetTreeBalance();
+}
+
+float32 b2World::GetTreeQuality() const
+{
+ return m_contactManager.m_broadPhase.GetTreeQuality();
+}
+
+void b2World::ShiftOrigin(const b2Vec2& newOrigin)
+{
+ b2Assert((m_flags & e_locked) == 0);
+ if ((m_flags & e_locked) == e_locked)
+ {
+ return;
+ }
+
+ for (b2Body* b = m_bodyList; b; b = b->m_next)
+ {
+ b->m_xf.p -= newOrigin;
+ b->m_sweep.c0 -= newOrigin;
+ b->m_sweep.c -= newOrigin;
+ }
+
+ for (b2Joint* j = m_jointList; j; j = j->m_next)
+ {
+ j->ShiftOrigin(newOrigin);
+ }
+
+ m_contactManager.m_broadPhase.ShiftOrigin(newOrigin);
+}
+
+void b2World::Dump()
+{
+ if ((m_flags & e_locked) == e_locked)
+ {
+ return;
+ }
+
+ b2Log("b2Vec2 g(%.15lef, %.15lef);\n", m_gravity.x, m_gravity.y);
+ b2Log("m_world->SetGravity(g);\n");
+
+ b2Log("b2Body** bodies = (b2Body**)b2Alloc(%d * sizeof(b2Body*));\n", m_bodyCount);
+ b2Log("b2Joint** joints = (b2Joint**)b2Alloc(%d * sizeof(b2Joint*));\n", m_jointCount);
+ int32 i = 0;
+ for (b2Body* b = m_bodyList; b; b = b->m_next)
+ {
+ b->m_islandIndex = i;
+ b->Dump();
+ ++i;
+ }
+
+ i = 0;
+ for (b2Joint* j = m_jointList; j; j = j->m_next)
+ {
+ j->m_index = i;
+ ++i;
+ }
+
+ // First pass on joints, skip gear joints.
+ for (b2Joint* j = m_jointList; j; j = j->m_next)
+ {
+ if (j->m_type == e_gearJoint)
+ {
+ continue;
+ }
+
+ b2Log("{\n");
+ j->Dump();
+ b2Log("}\n");
+ }
+
+ // Second pass on joints, only gear joints.
+ for (b2Joint* j = m_jointList; j; j = j->m_next)
+ {
+ if (j->m_type != e_gearJoint)
+ {
+ continue;
+ }
+
+ b2Log("{\n");
+ j->Dump();
+ b2Log("}\n");
+ }
+
+ b2Log("b2Free(joints);\n");
+ b2Log("b2Free(bodies);\n");
+ b2Log("joints = NULL;\n");
+ b2Log("bodies = NULL;\n");
+}
diff --git a/games/rider/src/Box2D/Dynamics/b2World.h b/games/rider/src/Box2D/Dynamics/b2World.h
new file mode 100755
index 00000000..1ac3f390
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2World.h
@@ -0,0 +1,474 @@
+/*
+* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_WORLD_H
+#define B2_WORLD_H
+
+#include <Box2D/Common/b2Math.h>
+#include <Box2D/Common/b2BlockAllocator.h>
+#include <Box2D/Common/b2StackAllocator.h>
+#include <Box2D/Dynamics/b2ContactManager.h>
+#include <Box2D/Dynamics/b2WorldCallbacks.h>
+#include <Box2D/Dynamics/b2TimeStep.h>
+// NumPlay: LiquidFun's particles are not part of this copy (Rider has none); LIQUIDFUN_PARTICLES brings them back.
+#if LIQUIDFUN_PARTICLES
+#include <Box2D/Particle/b2ParticleSystem.h>
+#else
+class b2ParticleSystem;
+#endif
+
+struct b2AABB;
+struct b2BodyDef;
+struct b2Color;
+struct b2JointDef;
+class b2Body;
+class b2Draw;
+class b2Fixture;
+class b2Joint;
+class b2ParticleGroup;
+
+/// The world class manages all physics entities, dynamic simulation,
+/// and asynchronous queries. The world also contains efficient memory
+/// management facilities.
+class b2World
+{
+public:
+ /// Construct a world object.
+ /// @param gravity the world gravity vector.
+ b2World(const b2Vec2& gravity);
+
+ /// Destruct the world. All physics entities are destroyed and all heap memory is released.
+ ~b2World();
+
+ /// Register a destruction listener. The listener is owned by you and must
+ /// remain in scope.
+ void SetDestructionListener(b2DestructionListener* listener);
+
+ /// Register a contact filter to provide specific control over collision.
+ /// Otherwise the default filter is used (b2_defaultFilter). The listener is
+ /// owned by you and must remain in scope.
+ void SetContactFilter(b2ContactFilter* filter);
+
+ /// Register a contact event listener. The listener is owned by you and must
+ /// remain in scope.
+ void SetContactListener(b2ContactListener* listener);
+
+ /// Register a routine for debug drawing. The debug draw functions are called
+ /// inside with b2World::DrawDebugData method. The debug draw object is owned
+ /// by you and must remain in scope.
+ void SetDebugDraw(b2Draw* debugDraw);
+
+ /// Create a rigid body given a definition. No reference to the definition
+ /// is retained.
+ /// @warning This function is locked during callbacks.
+ b2Body* CreateBody(const b2BodyDef* def);
+
+ /// Destroy a rigid body.
+ /// This function is locked during callbacks.
+ /// @warning This automatically deletes all associated shapes and joints.
+ /// @warning This function is locked during callbacks.
+ void DestroyBody(b2Body* body);
+
+ /// Create a joint to constrain bodies together. No reference to the definition
+ /// is retained. This may cause the connected bodies to cease colliding.
+ /// @warning This function is locked during callbacks.
+ b2Joint* CreateJoint(const b2JointDef* def);
+
+ /// Destroy a joint. This may cause the connected bodies to begin colliding.
+ /// @warning This function is locked during callbacks.
+ void DestroyJoint(b2Joint* joint);
+
+#if LIQUIDFUN_PARTICLES
+ /// Create a particle system given a definition. No reference to the
+ /// definition is retained.
+ /// @warning This function is locked during callbacks.
+ b2ParticleSystem* CreateParticleSystem(const b2ParticleSystemDef* def);
+
+ /// Destroy a particle system.
+ /// @warning This function is locked during callbacks.
+ void DestroyParticleSystem(b2ParticleSystem* p);
+#endif
+
+ /// Take a time step. This performs collision detection, integration,
+ /// and constraint solution.
+ /// For the numerical stability of particles, minimize the following
+ /// dimensionless gravity acceleration:
+ /// gravity / particleRadius * (timeStep / particleIterations)^2
+ /// b2CalculateParticleIterations() or
+ /// CalculateReasonableParticleIterations() help to determine the optimal
+ /// particleIterations.
+ /// @param timeStep the amount of time to simulate, this should not vary.
+ /// @param velocityIterations for the velocity constraint solver.
+ /// @param positionIterations for the position constraint solver.
+ /// @param particleIterations for the particle simulation.
+ void Step( float32 timeStep,
+ int32 velocityIterations,
+ int32 positionIterations,
+ int32 particleIterations);
+
+ /// Take a time step. This performs collision detection, integration,
+ /// and constraint solution.
+ /// @param timeStep the amount of time to simulate, this should not vary.
+ /// @param velocityIterations for the velocity constraint solver.
+ /// @param positionIterations for the position constraint solver.
+ void Step( float32 timeStep,
+ int32 velocityIterations,
+ int32 positionIterations)
+ {
+ Step(timeStep, velocityIterations, positionIterations, 1);
+ }
+
+ /// Recommend a value to be used in `Step` for `particleIterations`.
+ /// This calculation is necessarily a simplification and should only be
+ /// used as a starting point. Please see "Particle Iterations" in the
+ /// Programmer's Guide for details.
+ /// @param timeStep is the value to be passed into `Step`.
+#if LIQUIDFUN_PARTICLES
+ int CalculateReasonableParticleIterations(float32 timeStep) const;
+#endif
+
+ /// Manually clear the force buffer on all bodies. By default, forces are cleared automatically
+ /// after each call to Step. The default behavior is modified by calling SetAutoClearForces.
+ /// The purpose of this function is to support sub-stepping. Sub-stepping is often used to maintain
+ /// a fixed sized time step under a variable frame-rate.
+ /// When you perform sub-stepping you will disable auto clearing of forces and instead call
+ /// ClearForces after all sub-steps are complete in one pass of your game loop.
+ /// @see SetAutoClearForces
+ void ClearForces();
+
+ /// Call this to draw shapes and other debug draw data. This is intentionally non-const.
+ void DrawDebugData();
+
+ /// Query the world for all fixtures that potentially overlap the
+ /// provided AABB.
+ /// @param callback a user implemented callback class.
+ /// @param aabb the query box.
+ void QueryAABB(b2QueryCallback* callback, const b2AABB& aabb) const;
+
+ /// Query the world for all fixtures that potentially overlap the
+ /// provided shape's AABB. Calls QueryAABB internally.
+ /// @param callback a user implemented callback class.
+ /// @param shape the query shape
+ /// @param xf the transform of the AABB
+ void QueryShapeAABB(b2QueryCallback* callback, const b2Shape& shape,
+ const b2Transform& xf) const;
+
+ /// Ray-cast the world for all fixtures in the path of the ray. Your callback
+ /// controls whether you get the closest point, any point, or n-points.
+ /// The ray-cast ignores shapes that contain the starting point.
+ /// @param callback a user implemented callback class.
+ /// @param point1 the ray starting point
+ /// @param point2 the ray ending point
+ void RayCast(b2RayCastCallback* callback, const b2Vec2& point1, const b2Vec2& point2) const;
+
+ /// Get the world body list. With the returned body, use b2Body::GetNext to get
+ /// the next body in the world list. A NULL body indicates the end of the list.
+ /// @return the head of the world body list.
+ b2Body* GetBodyList();
+ const b2Body* GetBodyList() const;
+
+ /// Get the world joint list. With the returned joint, use b2Joint::GetNext to get
+ /// the next joint in the world list. A NULL joint indicates the end of the list.
+ /// @return the head of the world joint list.
+ b2Joint* GetJointList();
+ const b2Joint* GetJointList() const;
+
+ /// Get the world particle-system list. With the returned body, use
+ /// b2ParticleSystem::GetNext to get the next particle-system in the world
+ /// list. A NULL particle-system indicates the end of the list.
+ /// @return the head of the world particle-system list.
+ b2ParticleSystem* GetParticleSystemList();
+ const b2ParticleSystem* GetParticleSystemList() const;
+
+ /// Get the world contact list. With the returned contact, use b2Contact::GetNext to get
+ /// the next contact in the world list. A NULL contact indicates the end of the list.
+ /// @return the head of the world contact list.
+ /// @warning contacts are created and destroyed in the middle of a time step.
+ /// Use b2ContactListener to avoid missing contacts.
+ b2Contact* GetContactList();
+ const b2Contact* GetContactList() const;
+
+ /// Enable/disable sleep.
+ void SetAllowSleeping(bool flag);
+ bool GetAllowSleeping() const { return m_allowSleep; }
+
+ /// Enable/disable warm starting. For testing.
+ void SetWarmStarting(bool flag) { m_warmStarting = flag; }
+ bool GetWarmStarting() const { return m_warmStarting; }
+
+ /// Enable/disable continuous physics. For testing.
+ void SetContinuousPhysics(bool flag) { m_continuousPhysics = flag; }
+ bool GetContinuousPhysics() const { return m_continuousPhysics; }
+
+ /// Enable/disable single stepped continuous physics. For testing.
+ void SetSubStepping(bool flag) { m_subStepping = flag; }
+ bool GetSubStepping() const { return m_subStepping; }
+
+ /// Get the number of broad-phase proxies.
+ int32 GetProxyCount() const;
+
+ /// NumPlay: the bytes of free blocks its block allocator holds.
+ int32 GetFreeBlockBytes() const { return m_blockAllocator.GetFreeBytes(); }
+
+ /// Get the number of bodies.
+ int32 GetBodyCount() const;
+
+ /// Get the number of joints.
+ int32 GetJointCount() const;
+
+ /// Get the number of contacts (each may have 0 or more contact points).
+ int32 GetContactCount() const;
+
+ /// Get the height of the dynamic tree.
+ int32 GetTreeHeight() const;
+
+ /// Get the balance of the dynamic tree.
+ int32 GetTreeBalance() const;
+
+ /// Get the quality metric of the dynamic tree. The smaller the better.
+ /// The minimum is 1.
+ float32 GetTreeQuality() const;
+
+ /// Change the global gravity vector.
+ void SetGravity(const b2Vec2& gravity);
+
+ /// Get the global gravity vector.
+ b2Vec2 GetGravity() const;
+
+ /// Is the world locked (in the middle of a time step).
+ bool IsLocked() const;
+
+ /// Set flag to control automatic clearing of forces after each time step.
+ void SetAutoClearForces(bool flag);
+
+ /// Get the flag that controls automatic clearing of forces after each time step.
+ bool GetAutoClearForces() const;
+
+ /// Shift the world origin. Useful for large worlds.
+ /// The body shift formula is: position -= newOrigin
+ /// @param newOrigin the new origin with respect to the old origin
+ void ShiftOrigin(const b2Vec2& newOrigin);
+
+ /// Get the contact manager for testing.
+ const b2ContactManager& GetContactManager() const;
+
+ /// Get the current profile.
+ const b2Profile& GetProfile() const;
+
+ /// Dump the world into the log file.
+ /// @warning this should be called outside of a time step.
+ void Dump();
+
+ /// Get API version.
+ const b2Version* GetVersion() const {
+ return m_liquidFunVersion;
+ }
+
+ /// Get API version string.
+ const char* GetVersionString() const {
+ return m_liquidFunVersionString;
+ }
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+public:
+ /// Constructor which takes direct floats.
+ b2World(float32 gravityX, float32 gravityY);
+
+ /// Set gravity with direct floats.
+ void SetGravity(float32 gravityX, float32 gravityY);
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+private:
+
+ // m_flags
+ enum
+ {
+ e_newFixture = 0x0001,
+ e_locked = 0x0002,
+ e_clearForces = 0x0004
+ };
+
+ friend class b2Body;
+ friend class b2Fixture;
+ friend class b2ContactManager;
+ friend class b2Controller;
+ friend class b2ParticleSystem;
+
+ void Init(const b2Vec2& gravity);
+
+ void Solve(const b2TimeStep& step);
+ void SolveTOI(const b2TimeStep& step);
+
+ void DrawJoint(b2Joint* joint);
+ void DrawShape(b2Fixture* shape, const b2Transform& xf, const b2Color& color);
+
+#if LIQUIDFUN_PARTICLES
+ void DrawParticleSystem(const b2ParticleSystem& system);
+#endif
+
+ b2BlockAllocator m_blockAllocator;
+ b2StackAllocator m_stackAllocator;
+
+ int32 m_flags;
+
+ b2ContactManager m_contactManager;
+
+ b2Body* m_bodyList;
+ b2Joint* m_jointList;
+ b2ParticleSystem* m_particleSystemList;
+
+ int32 m_bodyCount;
+ int32 m_jointCount;
+
+ b2Vec2 m_gravity;
+ bool m_allowSleep;
+
+ b2DestructionListener* m_destructionListener;
+ b2Draw* m_debugDraw;
+
+ // This is used to compute the time step ratio to
+ // support a variable time step.
+ float32 m_inv_dt0;
+
+ // These are for debugging the solver.
+ bool m_warmStarting;
+ bool m_continuousPhysics;
+ bool m_subStepping;
+
+ bool m_stepComplete;
+
+ b2Profile m_profile;
+
+ /// Used to reference b2_LiquidFunVersion so that it's not stripped from
+ /// the static library.
+ const b2Version *m_liquidFunVersion;
+ const char *m_liquidFunVersionString;
+};
+
+inline b2Body* b2World::GetBodyList()
+{
+ return m_bodyList;
+}
+
+inline const b2Body* b2World::GetBodyList() const
+{
+ return m_bodyList;
+}
+
+inline b2Joint* b2World::GetJointList()
+{
+ return m_jointList;
+}
+
+inline const b2Joint* b2World::GetJointList() const
+{
+ return m_jointList;
+}
+
+inline b2ParticleSystem* b2World::GetParticleSystemList()
+{
+ return m_particleSystemList;
+}
+
+inline const b2ParticleSystem* b2World::GetParticleSystemList() const
+{
+ return m_particleSystemList;
+}
+
+inline b2Contact* b2World::GetContactList()
+{
+ return m_contactManager.m_contactList;
+}
+
+inline const b2Contact* b2World::GetContactList() const
+{
+ return m_contactManager.m_contactList;
+}
+
+inline int32 b2World::GetBodyCount() const
+{
+ return m_bodyCount;
+}
+
+inline int32 b2World::GetJointCount() const
+{
+ return m_jointCount;
+}
+
+inline int32 b2World::GetContactCount() const
+{
+ return m_contactManager.m_contactCount;
+}
+
+inline void b2World::SetGravity(const b2Vec2& gravity)
+{
+ m_gravity = gravity;
+}
+
+inline b2Vec2 b2World::GetGravity() const
+{
+ return m_gravity;
+}
+
+inline bool b2World::IsLocked() const
+{
+ return (m_flags & e_locked) == e_locked;
+}
+
+inline void b2World::SetAutoClearForces(bool flag)
+{
+ if (flag)
+ {
+ m_flags |= e_clearForces;
+ }
+ else
+ {
+ m_flags &= ~e_clearForces;
+ }
+}
+
+/// Get the flag that controls automatic clearing of forces after each time step.
+inline bool b2World::GetAutoClearForces() const
+{
+ return (m_flags & e_clearForces) == e_clearForces;
+}
+
+inline const b2ContactManager& b2World::GetContactManager() const
+{
+ return m_contactManager;
+}
+
+inline const b2Profile& b2World::GetProfile() const
+{
+ return m_profile;
+}
+
+#if LIQUIDFUN_EXTERNAL_LANGUAGE_API
+inline b2World::b2World(float32 gravityX, float32 gravityY)
+{
+ Init(b2Vec2(gravityX, gravityY));
+}
+
+inline void b2World::SetGravity(float32 gravityX, float32 gravityY)
+{
+ SetGravity(b2Vec2(gravityX, gravityY));
+}
+#endif // LIQUIDFUN_EXTERNAL_LANGUAGE_API
+
+#endif
diff --git a/games/rider/src/Box2D/Dynamics/b2WorldCallbacks.cpp b/games/rider/src/Box2D/Dynamics/b2WorldCallbacks.cpp
new file mode 100755
index 00000000..0f4b9c53
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2WorldCallbacks.cpp
@@ -0,0 +1,36 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+*
+* This software is provided 'as-is', without any express or implied
+* warranty. In no event will the authors be held liable for any damages
+* arising from the use of this software.
+* Permission is granted to anyone to use this software for any purpose,
+* including commercial applications, and to alter it and redistribute it
+* freely, subject to the following restrictions:
+* 1. The origin of this software must not be misrepresented; you must not
+* claim that you wrote the original software. If you use this software
+* in a product, an acknowledgment in the product documentation would be
+* appreciated but is not required.
+* 2. Altered source versions must be plainly marked as such, and must not be
+* misrepresented as being the original software.
+* 3. This notice may not be removed or altered from any source distribution.
+*/
+
+#include <Box2D/Dynamics/b2WorldCallbacks.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+
+// Return true if contact calculations should be performed between these two shapes.
+// If you implement your own collision filter you may want to build from this implementation.
+bool b2ContactFilter::ShouldCollide(b2Fixture* fixtureA, b2Fixture* fixtureB)
+{
+ const b2Filter& filterA = fixtureA->GetFilterData();
+ const b2Filter& filterB = fixtureB->GetFilterData();
+
+ if (filterA.groupIndex == filterB.groupIndex && filterA.groupIndex != 0)
+ {
+ return filterA.groupIndex > 0;
+ }
+
+ bool collide = (filterA.maskBits & filterB.categoryBits) != 0 && (filterA.categoryBits & filterB.maskBits) != 0;
+ return collide;
+}
diff --git a/games/rider/src/Box2D/Dynamics/b2WorldCallbacks.h b/games/rider/src/Box2D/Dynamics/b2WorldCallbacks.h
new file mode 100755
index 00000000..f7a8b99c
--- /dev/null
+++ b/games/rider/src/Box2D/Dynamics/b2WorldCallbacks.h
@@ -0,0 +1,299 @@
+/*
+* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
+* Copyright (c) 2013 Google, Inc.
+*
+* 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 B2_WORLD_CALLBACKS_H
+#define B2_WORLD_CALLBACKS_H
+
+#include <Box2D/Common/b2Settings.h>
+
+struct b2Vec2;
+struct b2Transform;
+class b2Fixture;
+class b2Body;
+class b2Joint;
+class b2Contact;
+class b2ParticleSystem;
+struct b2ContactResult;
+struct b2Manifold;
+class b2ParticleGroup;
+struct b2ParticleBodyContact;
+struct b2ParticleContact;
+
+/// Joints and fixtures are destroyed when their associated
+/// body is destroyed. Implement this listener so that you
+/// may nullify references to these joints and shapes.
+class b2DestructionListener
+{
+public:
+ virtual ~b2DestructionListener() {}
+
+ /// Called when any joint is about to be destroyed due
+ /// to the destruction of one of its attached bodies.
+ virtual void SayGoodbye(b2Joint* joint) = 0;
+
+ /// Called when any fixture is about to be destroyed due
+ /// to the destruction of its parent body.
+ virtual void SayGoodbye(b2Fixture* fixture) = 0;
+
+ /// Called when any particle group is about to be destroyed.
+ virtual void SayGoodbye(b2ParticleGroup* group)
+ {
+ B2_NOT_USED(group);
+ }
+
+ /// Called when a particle is about to be destroyed.
+ /// The index can be used in conjunction with
+ /// b2ParticleSystem::GetUserDataBuffer() or
+ /// b2ParticleSystem::GetParticleHandleFromIndex() to determine which
+ /// particle has been destroyed.
+ virtual void SayGoodbye(b2ParticleSystem* particleSystem, int32 index)
+ {
+ B2_NOT_USED(particleSystem);
+ B2_NOT_USED(index);
+ }
+};
+
+/// Implement this class to provide collision filtering. In other words, you can implement
+/// this class if you want finer control over contact creation.
+class b2ContactFilter
+{
+public:
+ virtual ~b2ContactFilter() {}
+
+ /// Return true if contact calculations should be performed between these two shapes.
+ /// @warning for performance reasons this is only called when the AABBs begin to overlap.
+ virtual bool ShouldCollide(b2Fixture* fixtureA, b2Fixture* fixtureB);
+
+ /// Return true if contact calculations should be performed between a
+ /// fixture and particle. This is only called if the
+ /// b2_fixtureContactListenerParticle flag is set on the particle.
+ virtual bool ShouldCollide(b2Fixture* fixture,
+ b2ParticleSystem* particleSystem,
+ int32 particleIndex)
+ {
+ B2_NOT_USED(fixture);
+ B2_NOT_USED(particleIndex);
+ B2_NOT_USED(particleSystem);
+ return true;
+ }
+
+ /// Return true if contact calculations should be performed between two
+ /// particles. This is only called if the
+ /// b2_particleContactListenerParticle flag is set on the particle.
+ virtual bool ShouldCollide(b2ParticleSystem* particleSystem,
+ int32 particleIndexA, int32 particleIndexB)
+ {
+ B2_NOT_USED(particleSystem);
+ B2_NOT_USED(particleIndexA);
+ B2_NOT_USED(particleIndexB);
+ return true;
+ }
+};
+
+/// Contact impulses for reporting. Impulses are used instead of forces because
+/// sub-step forces may approach infinity for rigid body collisions. These
+/// match up one-to-one with the contact points in b2Manifold.
+struct b2ContactImpulse
+{
+ float32 normalImpulses[b2_maxManifoldPoints];
+ float32 tangentImpulses[b2_maxManifoldPoints];
+ int32 count;
+};
+
+/// Implement this class to get contact information. You can use these results for
+/// things like sounds and game logic. You can also get contact results by
+/// traversing the contact lists after the time step. However, you might miss
+/// some contacts because continuous physics leads to sub-stepping.
+/// Additionally you may receive multiple callbacks for the same contact in a
+/// single time step.
+/// You should strive to make your callbacks efficient because there may be
+/// many callbacks per time step.
+/// @warning You cannot create/destroy Box2D entities inside these callbacks.
+class b2ContactListener
+{
+public:
+ virtual ~b2ContactListener() {}
+
+ /// Called when two fixtures begin to touch.
+ virtual void BeginContact(b2Contact* contact) { B2_NOT_USED(contact); }
+
+ /// Called when two fixtures cease to touch.
+ virtual void EndContact(b2Contact* contact) { B2_NOT_USED(contact); }
+
+ /// Called when a fixture and particle start touching if the
+ /// b2_fixtureContactFilterParticle flag is set on the particle.
+ virtual void BeginContact(b2ParticleSystem* particleSystem,
+ b2ParticleBodyContact* particleBodyContact)
+ {
+ B2_NOT_USED(particleSystem);
+ B2_NOT_USED(particleBodyContact);
+ }
+
+ /// Called when a fixture and particle stop touching if the
+ /// b2_fixtureContactFilterParticle flag is set on the particle.
+ virtual void EndContact(b2Fixture* fixture,
+ b2ParticleSystem* particleSystem, int32 index)
+ {
+ B2_NOT_USED(fixture);
+ B2_NOT_USED(particleSystem);
+ B2_NOT_USED(index);
+ }
+
+ /// Called when two particles start touching if
+ /// b2_particleContactFilterParticle flag is set on either particle.
+ virtual void BeginContact(b2ParticleSystem* particleSystem,
+ b2ParticleContact* particleContact)
+ {
+ B2_NOT_USED(particleSystem);
+ B2_NOT_USED(particleContact);
+ }
+
+ /// Called when two particles start touching if
+ /// b2_particleContactFilterParticle flag is set on either particle.
+ virtual void EndContact(b2ParticleSystem* particleSystem,
+ int32 indexA, int32 indexB)
+ {
+ B2_NOT_USED(particleSystem);
+ B2_NOT_USED(indexA);
+ B2_NOT_USED(indexB);
+ }
+
+ /// This is called after a contact is updated. This allows you to inspect a
+ /// contact before it goes to the solver. If you are careful, you can modify the
+ /// contact manifold (e.g. disable contact).
+ /// A copy of the old manifold is provided so that you can detect changes.
+ /// Note: this is called only for awake bodies.
+ /// Note: this is called even when the number of contact points is zero.
+ /// Note: this is not called for sensors.
+ /// Note: if you set the number of contact points to zero, you will not
+ /// get an EndContact callback. However, you may get a BeginContact callback
+ /// the next step.
+ virtual void PreSolve(b2Contact* contact, const b2Manifold* oldManifold)
+ {
+ B2_NOT_USED(contact);
+ B2_NOT_USED(oldManifold);
+ }
+
+ /// This lets you inspect a contact after the solver is finished. This is useful
+ /// for inspecting impulses.
+ /// Note: the contact manifold does not include time of impact impulses, which can be
+ /// arbitrarily large if the sub-step is small. Hence the impulse is provided explicitly
+ /// in a separate data structure.
+ /// Note: this is only called for contacts that are touching, solid, and awake.
+ virtual void PostSolve(b2Contact* contact, const b2ContactImpulse* impulse)
+ {
+ B2_NOT_USED(contact);
+ B2_NOT_USED(impulse);
+ }
+};
+
+/// Callback class for AABB queries.
+/// See b2World::Query
+class b2QueryCallback
+{
+public:
+ virtual ~b2QueryCallback() {}
+
+ /// Called for each fixture found in the query AABB.
+ /// @return false to terminate the query.
+ virtual bool ReportFixture(b2Fixture* fixture) = 0;
+
+ /// Called for each particle found in the query AABB.
+ /// @return false to terminate the query.
+ virtual bool ReportParticle(const b2ParticleSystem* particleSystem,
+ int32 index)
+ {
+ B2_NOT_USED(particleSystem);
+ B2_NOT_USED(index);
+ return false;
+ }
+
+ /// Cull an entire particle system from b2World::QueryAABB. Ignored for
+ /// b2ParticleSystem::QueryAABB.
+ /// @return true if you want to include particleSystem in the AABB query,
+ /// or false to cull particleSystem from the AABB query.
+ virtual bool ShouldQueryParticleSystem(
+ const b2ParticleSystem* particleSystem)
+ {
+ B2_NOT_USED(particleSystem);
+ return true;
+ }
+};
+
+/// Callback class for ray casts.
+/// See b2World::RayCast
+class b2RayCastCallback
+{
+public:
+ virtual ~b2RayCastCallback() {}
+
+ /// Called for each fixture found in the query. You control how the ray cast
+ /// proceeds by returning a float:
+ /// return -1: ignore this fixture and continue
+ /// return 0: terminate the ray cast
+ /// return fraction: clip the ray to this point
+ /// return 1: don't clip the ray and continue
+ /// @param fixture the fixture hit by the ray
+ /// @param point the point of initial intersection
+ /// @param normal the normal vector at the point of intersection
+ /// @return -1 to filter, 0 to terminate, fraction to clip the ray for
+ /// closest hit, 1 to continue
+ virtual float32 ReportFixture( b2Fixture* fixture, const b2Vec2& point,
+ const b2Vec2& normal, float32 fraction) = 0;
+
+ /// Called for each particle found in the query. You control how the ray
+ /// cast proceeds by returning a float:
+ /// return <=0: ignore the remaining particles in this particle system
+ /// return fraction: ignore particles that are 'fraction' percent farther
+ /// along the line from 'point1' to 'point2'. Note that 'point1' and
+ /// 'point2' are parameters to b2World::RayCast.
+ /// @param particleSystem the particle system containing the particle
+ /// @param index the index of the particle in particleSystem
+ /// @param point the point of intersection bt the ray and the particle
+ /// @param normal the normal vector at the point of intersection
+ /// @param fraction percent (0.0~1.0) from 'point0' to 'point1' along the
+ /// ray. Note that 'point1' and 'point2' are parameters to
+ /// b2World::RayCast.
+ /// @return <=0 to ignore rest of particle system, fraction to ignore
+ /// particles that are farther away.
+ virtual float32 ReportParticle(const b2ParticleSystem* particleSystem,
+ int32 index, const b2Vec2& point,
+ const b2Vec2& normal, float32 fraction)
+ {
+ B2_NOT_USED(particleSystem);
+ B2_NOT_USED(index);
+ B2_NOT_USED(&point);
+ B2_NOT_USED(&normal);
+ B2_NOT_USED(fraction);
+ return 0;
+ }
+
+ /// Cull an entire particle system from b2World::RayCast. Ignored in
+ /// b2ParticleSystem::RayCast.
+ /// @return true if you want to include particleSystem in the RayCast, or
+ /// false to cull particleSystem from the RayCast.
+ virtual bool ShouldQueryParticleSystem(
+ const b2ParticleSystem* particleSystem)
+ {
+ B2_NOT_USED(particleSystem);
+ return true;
+ }
+};
+
+#endif
diff --git a/games/rider/src/Box2D/License.txt b/games/rider/src/Box2D/License.txt
new file mode 100755
index 00000000..507c2050
--- /dev/null
+++ b/games/rider/src/Box2D/License.txt
@@ -0,0 +1,18 @@
+Copyright (c) 2006-2013 Erin Catto http://www.gphysics.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.
+
diff --git a/games/rider/src/data.h b/games/rider/src/data.h
index 223a08db..d41f8c5b 100644
--- a/games/rider/src/data.h
+++ b/games/rider/src/data.h
@@ -3,7 +3,7 @@
#define NLEVELS 48
#define NCHUNKS 96
#define NOBJ 4165
-#define NANIM 491
+#define NANIM 372
/* the physics outlines: tpl -> polygons -> vertices (quarter pixels, around the picture's centre) */
static const uint16_t tpl_poly[83] = {
0, 9, 33, 40, 57, 83, 102, 115, 116, 124, 133, 141, 142, 143, 144, 167,
@@ -446,4671 +446,4554 @@ static const int16_t tpl_xy[6086] = {
166, -24, 166, 20, -166, 20,
};
static const char *const tpl_name[NTPL] = {"enemy_1", "enemy_2", "enemy_3", "enemy_4", "enemy_5", "enemy_6", "enemy_7", "pf_1", "pf_10_large", "pf_10_medium", "pf_10_small", "pf_11_large", "pf_11_medium", "pf_11_small", "pf_12_large", "pf_12_medium", "pf_12_small", "pf_13-1_large", "pf_13-1_medium", "pf_13-1_small", "pf_13-2_large", "pf_13-2_medium", "pf_13-2_small", "pf_14_large", "pf_14_medium", "pf_14_small", "pf_15_large", "pf_15_medium", "pf_15_small", "pf_16_large", "pf_16_medium", "pf_16_small", "pf_17_large", "pf_17_medium", "pf_17_small", "pf_18_large", "pf_18_medium", "pf_18_small", "pf_19_medium", "pf_19_small", "pf_2", "pf_20_large", "pf_20_medium", "pf_20_small", "pf_3", "pf_4", "pf_5", "pf_7_large", "pf_7_medium", "pf_7_small", "pf_8-1_large", "pf_8-1_medium", "pf_8-1_small", "pf_8-1_xl", "pf_8-1_xxl", "pf_8-2_large", "pf_8-2_medium", "pf_8-2_small", "pf_9_large", "pf_9_medium", "pf_9_small", "pf_9_xl", "pf_ground_1", "pf_ground_11", "pf_ground_12", "pf_ground_13", "pf_ground_14", "pf_ground_15", "pf_ground_18", "pf_ground_19", "pf_ground_2", "pf_ground_20", "pf_ground_3", "pf_ground_4", "pf_ground_5", "pf_ground_6", "pf_ground_7", "pf_ground_8", "pf_ground_9", "pf_ground_base", "pf_ground_end", "pf_speed_boost_1"};
-/* kind, template, flags (1 never kills, 2 falls once touched, 4 falls from the start), animation, centre, turn
- * (1/100 degree), scale x and y (negative: flipped), bounding box */
+/* kind, template, flags (1 never kills, 2 falls once touched, 4 moved by physics, 8 held by a pivot, 16 the
+ * pivot goes on a touch), animation, centre, turn (degrees), scale x and y (negative: flipped), bounding box,
+ * pivot (from the centre), physicsActiveDelay (ms, -1 none) */
static const rd_obj rd_objs[NOBJ] = {
- {0, 80, 0, 65535, 1160, 1372, 16261, 0.458145f, 0.458145f, 1097, 1206, 1228, 1538},
- {0, 68, 0, 65535, 400, 1390, 0, -1.0f, 1.0f, 159, 1260, 640, 1518},
- {0, 74, 0, 65535, 44, 1534, 0, 1.06f, 1.0f, -88, 1264, 177, 1822},
- {0, 74, 0, 65535, 1499, 1765, 0, 10.8116f, 1.04452f, 158, 1483, 2851, 2066},
- {0, 77, 0, 65535, 1372, 1389, 30595, 1.0f, 1.0f, 1292, 1319, 1453, 1458},
- {0, 77, 0, 65535, 1243, 1297, 30595, 1.0f, 1.0f, 1163, 1228, 1324, 1367},
- {0, 77, 0, 65535, 1158, 1244, 28131, 0.807445f, 0.443613f, 1119, 1214, 1198, 1273},
- {0, 77, 0, 65535, 1499, 1470, 28130, 1.8639f, 0.943361f, 1416, 1404, 1583, 1535},
- {0, 77, 0, 65535, 2011, 1567, 9000, 4.38106f, 10.1968f, 1199, 1448, 2817, 1690},
- {0, 77, 0, 65535, 1379, 1505, 26784, 2.42955f, 2.29777f, 1195, 1430, 1565, 1578},
- {0, 77, 0, 65535, 1232, 1374, 32682, 1.33469f, 1.77874f, 1124, 1236, 1340, 1513},
- {0, 77, 0, 65535, 1209, 1407, 33716, 0.966968f, 0.909558f, 1156, 1330, 1262, 1485},
- {0, 77, 0, 65535, 1304, 1425, 30188, 1.86643f, 1.29951f, 1190, 1326, 1420, 1523},
- {0, 77, 0, 65535, 2362, 1496, 7376, 3.52152f, 2.18607f, 2168, 1356, 2556, 1639},
- {0, 80, 0, 65535, 1945, 1465, 27000, 1.0f, 1.0f, 1577, 1426, 2313, 1505},
- {0, 64, 0, 65535, 2643, 1401, 13990, 0.645667f, -0.645667f, 2495, 1361, 2793, 1554},
- {0, 77, 0, 65535, 2545, 1564, 13899, 3.52152f, 2.18607f, 2357, 1370, 2731, 1759},
- {0, 77, 0, 65535, 2994, 1623, 10694, 4.35154f, 3.28095f, 2710, 1434, 3277, 1816},
- {0, 77, 0, 65535, 2729, 1553, 8684, 3.52152f, 1.31964f, 2618, 1452, 2839, 1657},
- {0, 64, 0, 65535, 3374, 1390, 0, 1.0f, 1.0f, 3234, 1199, 3515, 1582},
- {0, 77, 0, 65535, 3325, 1730, 9000, 5.56059f, 8.3302f, 2662, 1579, 3983, 1886},
- {0, 77, 0, 65535, 3750, 1265, 18415, 8.90389f, 5.63947f, 3468, 802, 4022, 1727},
- {0, 80, 0, 65535, 3784, 834, 27325, 0.974238f, 0.669341f, 3536, 787, 4032, 886},
- {0, 80, 0, 65535, 3015, 1517, 28759, 0.674433f, 0.669341f, 2771, 1424, 3255, 1617},
- {1, 13, 0, 65535, 76, 1260, 0, 1.08297f, 1.0f, -1, 1254, 153, 1266},
- {5, 255, 0, 65535, 3276, 765, 0, 162.0f, 90.0f, 3194, 720, 3357, 811},
- {1, 14, 0, 65535, 3367, 1384, 0, 1.0f, 1.0f, 3227, 1195, 3506, 1572},
- {1, 11, 0, 65535, 3516, 1010, 27499, 1.33063f, 1.0f, 3494, 823, 3539, 1198},
- {1, 14, 0, 65535, 3405, 635, 28892, 1.0f, 1.0f, 3267, 444, 3541, 826},
- {1, 58, 0, 65535, 3092, 595, 11342, 1.00235f, 1.00469f, 2975, 424, 3276, 835},
- {1, 11, 0, 65535, 3245, 827, 0, 1.0f, 1.0f, 3104, 821, 3386, 834},
- {1, 35, 0, 65535, 392, 1370, 0, -1.0f, 1.00433f, 151, 1254, 633, 1487},
- {1, 11, 0, 0, 903, 1479, 0, 1.92941f, 1.0f, 631, 1473, 1174, 1486},
- {1, 35, 0, 65535, 1336, 1320, 0, -1.0f, 1.00433f, 1095, 1204, 1577, 1437},
- {1, 14, 0, 1, 1712, 1247, 0, 1.0f, 1.0f, 1572, 1058, 1851, 1436},
- {1, 47, 0, 65535, 2494, 1071, 0, 1.00235f, 1.0f, 2280, 900, 2708, 1242},
- {1, 12, 0, 2, 2576, 1293, 32500, 1.0713f, 1.0f, 2490, 1230, 2663, 1357},
- {1, 12, 0, 65535, 2360, 1391, 34380, 1.48939f, 1.0f, 2224, 1345, 2497, 1436},
- {1, 15, 0, 65535, 2640, 1391, 32012, -1.0f, 1.00394f, 2488, 1346, 2793, 1450},
- {0, 77, 0, 65535, 230, 1613, 9000, 5.04779f, 5.0093f, -169, 1476, 626, 1755},
- {0, 77, 0, 65535, 1151, 1652, 9000, 3.64711f, 9.31183f, 410, 1553, 1887, 1755},
- {0, 77, 0, 65535, 3431, 1635, 9000, 4.24614f, 7.47269f, 2837, 1520, 4022, 1754},
- {0, 77, 0, 65535, 2445, 1654, 9000, 3.58514f, 7.14013f, 1877, 1556, 3009, 1755},
- {0, 77, 0, 65535, 25, 1517, 9000, 9.97138f, 5.46942f, -410, 1248, 457, 1797},
- {0, 70, 0, 65535, 496, 1139, 0, -0.522927f, 1.07883f, 449, 758, 543, 1550},
- {0, 68, 0, 65535, 1499, 1428, 0, -1.0f, 1.0f, 1258, 1298, 1739, 1557},
- {0, 68, 0, 65535, 2269, 1459, 0, -0.657798f, 0.680434f, 2111, 1370, 2428, 1547},
- {0, 68, 0, 65535, 2592, 1460, 0, 0.657798f, 0.680436f, 2434, 1371, 2750, 1547},
- {0, 68, 0, 65535, 3118, 1471, 0, -0.489107f, 0.518402f, 3000, 1404, 3236, 1538},
- {0, 77, 0, 65535, 2440, 1623, 9000, 3.74698f, 4.08923f, 2115, 1521, 2764, 1728},
- {0, 80, 0, 65535, 2782, 1577, 34569, 0.580804f, 0.562522f, 2708, 1372, 2849, 1783},
- {0, 80, 0, 65535, 2976, 1509, 20670, 0.866304f, 0.288181f, 2905, 1402, 3054, 1619},
- {0, 80, 0, 65535, 2851, 1527, 25870, 0.866304f, 0.433136f, 2689, 1471, 3014, 1592},
- {0, 80, 0, 65535, 2062, 1562, 20670, 1.26476f, 0.525079f, 1942, 1373, 2193, 1757},
- {0, 80, 0, 65535, 1962, 1535, 26988, 0.567908f, 0.635072f, 1728, 1513, 2196, 1558},
- {0, 80, 0, 65535, 532, 984, 34583, 0.665725f, 0.622858f, 450, 757, 607, 1212},
- {0, 80, 0, 65535, 615, 1449, 34937, 1.19123f, 0.997307f, 501, 1081, 717, 1817},
- {0, 77, 0, 65535, 552, 1445, 9000, 4.75466f, 0.480615f, 514, 1316, 591, 1579},
- {0, 80, 0, 65535, 956, 1523, 26988, 0.771574f, 0.843043f, 645, 1493, 1266, 1554},
- {0, 80, 0, 65535, 1192, 1606, 19863, 1.10764f, 0.843044f, 1062, 1302, 1333, 1914},
- {0, 80, 0, 65535, -266, 1254, 26988, 0.771574f, 0.843044f, -577, 1225, 44, 1286},
- {0, 80, 0, 65535, 3995, 1534, 26771, 1.02789f, 0.710479f, 3732, 1489, 4257, 1585},
- {0, 67, 0, 65535, 417, 1031, 1217, 0.411957f, 3.47089f, 329, 760, 505, 1297},
- {0, 67, 0, 65535, 464, 1145, 1217, 0.64007f, 1.73426f, 387, 1003, 541, 1285},
- {0, 64, 0, 65535, 311, 1153, 0, 0.489865f, 0.489865f, 242, 1059, 380, 1247},
- {5, 255, 0, 65535, 3364, 1453, 0, 162.0f, 90.0f, 3283, 1408, 3446, 1499},
- {1, 11, 0, 65535, 3488, 1513, 0, 1.77343f, 1.0f, 3239, 1507, 3738, 1519},
- {1, 12, 0, 65535, 136, 1236, 0, 1.0f, 1.0f, 42, 1230, 231, 1243},
- {1, 11, 0, 65535, 433, 807, 10294, 1.85049f, 1.0f, 368, 552, 497, 1062},
- {1, 58, 0, 3, 787, 736, 0, 1.00235f, 1.00469f, 573, 628, 1001, 843},
- {1, 58, 0, 4, 1498, 1029, 0, 1.00235f, 1.00469f, 1284, 921, 1712, 1136},
- {1, 58, 0, 5, 891, 1243, 0, 1.00235f, 1.00469f, 677, 1135, 1105, 1350},
- {1, 35, 0, 65535, 1500, 1404, 0, -1.0f, 1.00433f, 1259, 1288, 1741, 1521},
- {1, 58, 0, 6, 1847, 1307, 27000, 1.00235f, 1.00469f, 1739, 1093, 1954, 1521},
- {1, 36, 0, 65535, 2270, 1443, 0, -1.0f, 1.0f, 2109, 1364, 2431, 1523},
- {1, 36, 0, 65535, 2591, 1443, 0, 1.0f, 1.0f, 2430, 1364, 2752, 1523},
- {1, 37, 0, 65535, 3120, 1458, 0, -1.0f, 1.0f, 2999, 1397, 3241, 1520},
- {1, 16, 0, 65535, 304, 1151, 324, 1.0f, 1.00521f, 227, 1058, 380, 1243},
- {0, 68, 0, 65535, 296, 1408, 0, 0.678689f, 0.657078f, 132, 1322, 459, 1493},
- {0, 74, 0, 65535, 480, 1594, 27000, 1.0f, 5.3987f, -975, 1469, 2033, 1719},
- {0, 74, 0, 65535, 2787, 1610, 27000, 0.88f, 3.3987f, 1871, 1500, 3765, 1720},
- {0, 80, 0, 65535, -369, 1492, 26930, 1.0f, 1.0f, -737, 1452, -1, 1536},
- {0, 77, 0, 65535, 877, 1517, 27000, 2.82615f, 1.0f, 797, 1437, 957, 1594},
- {0, 77, 0, 65535, 1262, 1401, 27000, 3.28268f, 1.0f, 1182, 1309, 1342, 1490},
- {0, 74, 0, 65535, 1634, 1461, 18000, 0.547115f, 0.964255f, 1566, 1183, 1703, 1721},
- {0, 74, 0, 65535, 1995, 1687, 18000, 0.547116f, 0.964256f, 1926, 1410, 2063, 1948},
- {0, 74, 0, 65535, 3434, 1748, 18000, 2.55345f, 0.964256f, 3114, 1471, 3751, 2009},
- {0, 62, 0, 65535, 938, 1702, 0, 1.0f, 1.0f, 882, 1381, 993, 2051},
- {0, 62, 0, 65535, 1322, 1573, 0, 1.0f, 1.0f, 1266, 1252, 1377, 1922},
- {0, 62, 0, 65535, 1706, 1447, 0, 1.0f, 1.0f, 1651, 1126, 1762, 1796},
- {0, 62, 0, 65535, 2068, 1672, 0, 1.0f, 1.0f, 2013, 1351, 2124, 2021},
- {0, 62, 0, 65535, 2725, 1767, 0, 1.0f, 1.0f, 2669, 1446, 2780, 2116},
- {0, 80, 0, 65535, 604, 1661, 33166, 1.0f, 1.0f, 395, 1324, 805, 2003},
- {0, 80, 0, 65535, 815, 1472, 26930, 1.0f, 1.02429f, 438, 1431, 1192, 1516},
- {0, 80, 0, 65535, 1724, 1457, 26930, 1.0f, 1.02429f, 1347, 1417, 2101, 1501},
- {0, 80, 0, 65535, 2331, 1492, 27769, 0.940548f, 0.700867f, 2070, 1429, 2590, 1564},
- {0, 80, 0, 65535, 3150, 1498, 27365, 1.0f, 1.02429f, 2771, 1442, 3528, 1561},
- {0, 80, 0, 65535, 3836, 1496, 27029, 1.0f, 1.02429f, 3458, 1456, 4212, 1537},
- {0, 80, 0, 65535, 1422, 1544, 34725, 0.520081f, 0.73684f, 1342, 1276, 1497, 1813},
- {0, 80, 0, 65535, 1806, 1413, 34725, 0.520081f, 0.736839f, 1726, 1145, 1881, 1682},
- {0, 80, 0, 65535, 2168, 1641, 34725, 0.520081f, 0.736839f, 2088, 1373, 2243, 1910},
- {0, 80, 0, 65535, 1160, 1583, 18716, 0.520081f, 0.736839f, 1111, 1312, 1215, 1855},
- {0, 80, 0, 65535, 1547, 1454, 18716, 0.520081f, 0.736839f, 1497, 1183, 1601, 1726},
- {0, 77, 0, 65535, 1757, 1391, 25476, 3.28268f, 0.400935f, 1702, 1293, 1811, 1485},
- {1, 55, 0, 65535, 962, 1407, 31500, 1.0f, 1.0f, 928, 1373, 996, 1441},
- {1, 13, 0, 65535, 866, 1435, 0, 1.0f, 1.0f, 796, 1429, 937, 1441},
- {1, 55, 0, 65535, 1346, 1279, 31500, 1.0f, 1.0f, 1312, 1245, 1380, 1313},
- {1, 13, 0, 65535, 1250, 1307, 0, 1.0f, 1.0f, 1180, 1301, 1321, 1313},
- {1, 55, 0, 65535, 1730, 1151, 31500, 1.0f, 1.0f, 1696, 1117, 1764, 1185},
- {1, 13, 0, 65535, 1634, 1179, 0, 1.0f, 1.0f, 1564, 1173, 1705, 1185},
- {1, 13, 0, 65535, 3289, 1464, 0, 2.48202f, 1.0f, 3114, 1458, 3465, 1470},
- {1, 45, 0, 65535, 2413, 1447, 0, 1.0f, 1.01818f, 2304, 1419, 2523, 1475},
- {1, 45, 0, 65535, 2624, 1244, 27313, 1.0f, 1.01818f, 2591, 1134, 2653, 1352},
- {1, 13, 0, 65535, 1997, 1404, 0, 1.0f, 1.0f, 1926, 1398, 2068, 1410},
- {1, 55, 0, 65535, 2092, 1376, 31500, 1.0f, 1.0f, 2058, 1342, 2127, 1410},
- {1, 55, 0, 65535, 2748, 1471, 31500, 1.0f, 1.0f, 2714, 1437, 2783, 1505},
- {1, 13, 0, 65535, 2653, 1499, 0, 1.0f, 1.0f, 2582, 1492, 2724, 1505},
- {1, 55, 0, 7, 2557, 1385, 31500, 1.32144f, 1.0f, 2513, 1342, 2600, 1429},
- {1, 13, 0, 65535, 68, 1464, 0, 1.0f, 1.0f, -3, 1458, 139, 1470},
- {5, 255, 0, 65535, 3257, 1409, 0, 162.0f, 90.0f, 3176, 1364, 3339, 1455},
- {1, 36, 0, 65535, 298, 1391, 0, 1.0f, 1.0f, 138, 1312, 459, 1471},
- {0, 74, 0, 65535, 2720, 1814, 9000, 1.59933f, 3.55553f, 1698, 1615, 3679, 2015},
- {0, 74, 0, 65535, 3884, 1678, 9000, 1.59933f, 1.02844f, 3588, 1479, 4161, 1878},
- {0, 74, 0, 65535, 864, 1814, 9000, 1.59933f, 3.55553f, -158, 1615, 1823, 2015},
- {0, 74, 0, 65535, 332, 1709, 9000, 1.59933f, 2.91735f, -507, 1510, 1119, 1910},
- {0, 70, 0, 65535, 767, 1518, 0, 0.84357f, 0.646629f, 692, 1290, 842, 1765},
- {0, 70, 0, 65535, 359, 1623, 0, 0.843571f, 0.646629f, 284, 1394, 434, 1870},
- {0, 70, 0, 65535, 1042, 1370, 0, 0.843571f, 0.646629f, 967, 1141, 1117, 1617},
- {0, 70, 0, 65535, 1763, 1682, 0, 0.843571f, 0.646629f, 1687, 1453, 1838, 1928},
- {0, 70, 0, 65535, 1997, 1696, 0, 0.843571f, 0.646629f, 1922, 1467, 2072, 1942},
- {0, 70, 0, 65535, 2298, 1535, 0, 0.843571f, 0.646629f, 2223, 1307, 2373, 1782},
- {0, 70, 0, 65535, 2594, 1393, 0, 0.843571f, 0.646629f, 2519, 1164, 2669, 1640},
- {0, 70, 0, 65535, 3320, 1701, 0, 0.843571f, 0.646629f, 3244, 1472, 3395, 1948},
- {0, 80, 0, 65535, 449, 1622, 35042, 0.66011f, 0.556128f, 389, 1417, 502, 1828},
- {0, 80, 0, 65535, 857, 1524, 35042, 0.66011f, 0.556128f, 797, 1319, 910, 1730},
- {0, 80, 0, 65535, 1111, 1458, 35448, 1.09468f, 0.731113f, 1042, 1187, 1170, 1729},
- {0, 80, 0, 65535, 1849, 1654, 35042, 0.670483f, 0.489184f, 1793, 1473, 1899, 1836},
- {0, 80, 0, 65535, 2094, 1685, 34316, 1.09468f, -0.489184f, 2001, 1503, 2177, 1870},
- {0, 80, 0, 65535, 2390, 1524, 34316, 1.09468f, 0.489184f, 2296, 1342, 2473, 1708},
- {0, 80, 0, 65535, 2647, 1437, 35716, 1.09468f, 0.588452f, 2593, 1219, 2695, 1656},
- {0, 80, 0, 65535, 3374, 1743, 35716, 1.09468f, 0.593981f, 3320, 1523, 3422, 1963},
- {0, 80, 0, 65535, 3540, 1696, 19939, 1.09468f, 0.602116f, 3437, 1476, 3655, 1919},
- {0, 80, 0, 65535, 689, 1606, 18601, 0.66011f, 0.556128f, 647, 1401, 736, 1813},
- {0, 80, 0, 65535, 965, 1458, 18600, 0.66011f, 0.556128f, 923, 1253, 1012, 1665},
- {0, 80, 0, 65535, 1684, 1771, 18600, 0.66011f, 0.556128f, 1642, 1566, 1732, 1978},
- {0, 80, 0, 65535, 1919, 1783, 18600, 0.66011f, 0.556128f, 1877, 1577, 1967, 1989},
- {0, 80, 0, 65535, 2223, 1616, 18600, 0.66011f, 0.556128f, 2181, 1410, 2271, 1823},
- {0, 80, 0, 65535, 2519, 1475, 18600, 0.66011f, 0.556128f, 2477, 1269, 2567, 1681},
- {0, 80, 0, 65535, 3241, 1790, 18600, 0.66011f, 0.556128f, 3199, 1585, 3289, 1997},
- {0, 80, 0, 65535, 699, 1522, 26940, 1.09468f, 0.73606f, 428, 1479, 970, 1568},
- {0, 80, 0, 65535, 1286, 1608, 29689, 2.27134f, 0.73606f, 1004, 1427, 1557, 1810},
- {0, 80, 0, 65535, 1707, 1619, 26940, 1.09468f, 0.73606f, 1435, 1576, 1978, 1665},
- {0, 80, 0, 65535, 2355, 1614, 26940, 1.09468f, 0.73606f, 2084, 1571, 2626, 1660},
- {0, 80, 0, 65535, 2944, 1595, 27828, 1.60892f, 0.832429f, 2632, 1501, 3254, 1702},
- {0, 80, 0, 65535, 3657, 1593, 26940, 1.09468f, 0.73606f, 3386, 1550, 3928, 1639},
- {0, 80, 0, 65535, -266, 1534, 26940, 1.09468f, 0.73606f, -537, 1491, 5, 1580},
- {0, 80, 0, 65535, 4236, 1496, 26791, 1.09468f, 0.73606f, 3964, 1449, 4508, 1549},
- {1, 11, 0, 65535, 143, 1504, 0, 1.02135f, 1.0f, -1, 1498, 287, 1510},
- {5, 255, 0, 65535, 3711, 1416, 0, 162.0f, 90.0f, 3630, 1370, 3793, 1461},
- {1, 12, 0, 65535, 358, 1449, 32289, 1.0f, 1.0f, 279, 1387, 437, 1511},
- {1, 12, 0, 65535, 765, 1342, 32289, 1.0f, 1.0f, 686, 1280, 844, 1404},
- {1, 12, 0, 65535, 1040, 1196, 32289, 1.0f, 1.0f, 961, 1134, 1119, 1258},
- {1, 12, 0, 65535, 1762, 1507, 32289, 1.0f, 1.0f, 1683, 1445, 1841, 1569},
- {1, 12, 0, 65535, 1996, 1521, 32289, 1.0f, 1.0f, 1917, 1459, 2075, 1583},
- {1, 12, 0, 65535, 3775, 1475, 0, 2.02633f, 1.0f, 3584, 1468, 3966, 1481},
- {1, 12, 0, 65535, 2299, 1358, 32289, 1.0f, 1.0f, 2220, 1296, 2378, 1420},
- {1, 12, 0, 65535, 2595, 1216, 32289, 1.0f, 1.0f, 2516, 1154, 2674, 1278},
- {1, 12, 0, 65535, 3317, 1527, 32289, 1.0f, 1.0f, 3238, 1465, 3396, 1589},
- {0, 74, 0, 65535, 399, 1440, 9000, 2.09254f, 3.38949f, -576, 1180, 1313, 1702},
- {0, 74, 0, 65535, 1819, 1755, 9000, 2.09254f, 8.80278f, -712, 1495, 4192, 2018},
- {0, 74, 0, 65535, 3716, 1461, 9000, 2.09254f, 1.13581f, 3389, 1201, 4022, 1723},
- {0, 70, 0, 65535, 2558, 1554, 0, 0.869722f, 0.653709f, 2480, 1323, 2635, 1804},
- {0, 70, 0, 65535, 2832, 1486, 0, 1.24427f, 0.278456f, 2721, 1387, 2942, 1592},
- {0, 70, 0, 65535, 3182, 1548, 0, 1.24427f, 0.95089f, 3071, 1213, 3292, 1911},
- {0, 70, 0, 65535, 2201, 1581, 0, 1.4614f, 0.590747f, 2071, 1372, 2330, 1807},
- {0, 76, 0, 65535, 1706, 1487, 0, 0.886007f, 0.965272f, 1522, 1326, 1889, 1647},
- {0, 65, 0, 65535, 1976, 1522, 807, 1.0f, 1.0f, 1727, 1431, 2203, 1630},
- {0, 65, 0, 65535, 1510, 1384, 1221, 1.06666f, 1.0f, 1243, 1284, 1744, 1512},
- {0, 64, 0, 65535, 1419, 1206, 2437, -0.575654f, 0.595853f, 1298, 1069, 1449, 1344},
- {0, 74, 0, 65535, 1418, 1490, 9000, 1.09537f, 0.793117f, 1190, 1353, 1633, 1627},
- {0, 74, 0, 65535, 1298, 1316, 9000, 1.09537f, 0.27671f, 1218, 1180, 1373, 1454},
- {0, 70, 0, 65535, 386, 1349, 0, 0.968022f, 0.971053f, 300, 1006, 472, 1720},
- {0, 80, 0, 65535, 543, 1416, 34437, 1.0f, 1.0f, 406, 1054, 670, 1780},
- {0, 80, 0, 65535, 720, 1160, 26640, 1.0f, 0.710558f, 457, 1112, 983, 1216},
- {0, 80, 0, 65535, 1161, 1158, 27266, 1.0f, 0.557752f, 953, 1114, 1367, 1207},
- {0, 80, 0, 65535, 2581, 1493, 27266, 1.0f, 0.716684f, 2316, 1447, 2846, 1544},
- {0, 80, 0, 65535, 3182, 1485, 26183, 1.0f, 0.716684f, 2916, 1419, 3448, 1562},
- {0, 80, 0, 65535, 3328, 1507, 34616, 0.889106f, 0.716684f, 3231, 1244, 3416, 1771},
- {0, 80, 0, 65535, 3384, 1467, 18635, 0.889106f, 0.716684f, 3327, 1202, 3448, 1733},
- {0, 80, 0, 65535, 2674, 1620, 34616, 0.889106f, 0.716684f, 2577, 1358, 2763, 1884},
- {0, 80, 0, 65535, 2980, 1651, 34616, 0.889106f, 0.716684f, 2883, 1389, 3069, 1915},
- {0, 80, 0, 65535, 2369, 1636, 34616, 0.889106f, 0.716684f, 2272, 1373, 2458, 1900},
- {0, 80, 0, 65535, 2720, 1698, 18546, 0.889106f, 0.716684f, 2667, 1433, 2780, 1964},
- {0, 80, 0, 65535, 3052, 1638, 18982, 0.889106f, 0.716684f, 2981, 1374, 3131, 1904},
- {0, 80, 0, 65535, -276, 1185, 27288, 1.0f, 0.746999f, -553, 1138, -1, 1238},
- {0, 80, 0, 65535, 4088, 1220, 26862, 1.0f, 0.746999f, 3812, 1178, 4363, 1266},
- {1, 11, 0, 65535, 147, 1175, 0, 1.0748f, 1.0f, -4, 1169, 299, 1181},
- {5, 255, 0, 65535, 3537, 1139, 0, 162.0f, 90.0f, 3455, 1094, 3618, 1185},
- {1, 12, 0, 65535, 3603, 1199, 0, 2.24031f, 1.0f, 3392, 1192, 3814, 1205},
- {1, 12, 0, 65535, 2559, 1377, 32289, 1.0f, 1.0f, 2480, 1315, 2638, 1439},
- {3, 81, 0, 65535, 323, 1147, 31500, 1.0f, 1.0f, 289, 1113, 356, 1181},
- {1, 12, 0, 65535, 411, 1060, 31500, 0.874362f, 1.0f, 348, 997, 473, 1123},
- {1, 47, 0, 65535, 2055, 962, 12000, 1.00235f, 1.0f, 1822, 728, 2232, 1155},
- {1, 15, 0, 65535, 1427, 1137, 4142, -1.0f, 1.00394f, 1376, 981, 1450, 1293},
- {1, 16, 0, 65535, 1527, 1316, 6617, 1.0f, 1.00521f, 1411, 1284, 1643, 1354},
- {1, 17, 0, 65535, 1753, 1352, 1757, 1.0f, -1.0f, 1636, 1318, 1860, 1410},
- {1, 17, 0, 65535, 1956, 1458, 1756, 1.0f, 1.0f, 1849, 1401, 2072, 1492},
- {1, 11, 0, 65535, 2199, 1420, 33770, 1.0f, 1.0f, 2067, 1360, 2332, 1479},
- {1, 12, 0, 65535, 2832, 1409, 34809, 1.21697f, 1.0f, 2719, 1379, 2946, 1439},
- {1, 12, 0, 65535, 3182, 1294, 32289, 1.44272f, 1.0f, 3070, 1206, 3294, 1381},
- {2, 1, 0, 8, 2750, 1236, 0, 0.172012f, 0.172012f, 2694, 1180, 2806, 1291},
- {2, 1, 0, 9, 3346, 1254, 0, 0.172012f, 0.172012f, 3290, 1198, 3402, 1309},
- {2, 1, 0, 10, 1960, 1414, 0, 0.172012f, 0.172012f, 1904, 1358, 2016, 1469},
- {0, 74, 0, 65535, 3675, 1604, 9000, 1.10636f, 1.72208f, 3179, 1467, 4140, 1743},
- {0, 74, 0, 65535, -91, 1196, 0, 1.97836f, 2.37839f, -337, 554, 157, 1880},
- {0, 80, 0, 65535, 138, 924, 0, 1.0f, 1.0f, 99, 556, 177, 1291},
- {0, 80, 0, 65535, 138, 1656, 0, 1.0f, 1.0f, 99, 1288, 177, 2023},
- {0, 80, 0, 65535, 364, 1580, 26672, 1.0f, 1.0f, -5, 1528, 733, 1641},
- {0, 80, 0, 65535, 1072, 1597, 27515, 1.0f, 1.0f, 702, 1533, 1441, 1669},
- {0, 80, 0, 65535, 1657, 1607, 26851, 1.0f, 1.0f, 1288, 1563, 2025, 1656},
- {0, 80, 0, 65535, 2368, 1610, 27153, 1.0f, 1.0f, 1999, 1565, 2736, 1659},
- {0, 80, 0, 65535, 3091, 1614, 26882, 1.0f, 1.0f, 2723, 1572, 3459, 1661},
- {0, 80, 0, 65535, 3133, 1832, 19082, 1.0f, 1.0f, 3035, 1465, 3241, 2201},
- {0, 80, 0, 65535, 4035, 1486, 26882, 1.0f, 1.0f, 3667, 1443, 4403, 1533},
- {0, 80, 0, 65535, -357, 582, 26882, 1.0f, 1.0f, -725, 539, 11, 629},
- {1, 13, 0, 65535, 81, 551, 0, 1.08297f, 1.0f, 4, 545, 158, 558},
- {5, 255, 0, 65535, 3443, 1407, 0, 162.0f, 90.0f, 3362, 1361, 3525, 1452},
- {1, 12, 0, 65535, 3424, 1465, 0, 2.62148f, 1.0f, 3177, 1458, 3671, 1471},
- {1, 14, 0, 65535, 481, 1210, 0, -1.0f, 1.0f, 342, 1021, 621, 1398},
- {1, 15, 0, 65535, 792, 1271, 0, 1.0f, 1.00394f, 698, 1144, 885, 1398},
- {1, 55, 0, 65535, 659, 1392, 0, 1.0f, 1.0f, 617, 1385, 701, 1398},
- {1, 16, 0, 65535, 1041, 1160, 34530, -1.0f, 1.00521f, 949, 1082, 1133, 1236},
- {1, 35, 0, 11, 1371, 1338, 0, -1.0f, 1.00433f, 1130, 1222, 1612, 1455},
- {1, 59, 0, 65535, 1682, 1309, 27000, 1.00348f, 1.0f, 1610, 1164, 1755, 1454},
- {1, 16, 0, 65535, 1047, 1518, 29364, -1.0f, 1.00521f, 932, 1486, 1163, 1556},
- {1, 17, 0, 65535, 864, 1450, 6187, 1.0f, 1.0f, 819, 1339, 939, 1545},
- {1, 47, 0, 12, 2187, 1340, 13500, 1.00235f, 1.0f, 1946, 1098, 2371, 1523},
- {1, 47, 0, 13, 2617, 1340, 13500, 1.00235f, 1.0f, 2376, 1098, 2801, 1523},
- {1, 47, 0, 14, 3051, 1340, 13500, 1.00235f, 1.0f, 2810, 1098, 3235, 1523},
- {0, 80, 0, 65535, -5, 1392, 27112, 1.0f, 1.0f, -374, 1349, 363, 1439},
- {0, 77, 0, 65535, 101, 1522, 9000, 5.28571f, 5.62379f, -346, 1379, 546, 1671},
- {0, 80, 0, 65535, 860, 1500, 28158, 1.71037f, 0.899089f, 521, 1383, 1193, 1633},
- {0, 80, 0, 65535, 1445, 1498, 26740, 1.09369f, 1.3341f, 954, 1441, 1937, 1563},
- {0, 80, 0, 65535, 1905, 1487, 26672, 1.09369f, 1.3341f, 1413, 1426, 2397, 1558},
- {0, 80, 0, 65535, 2872, 1499, 27446, 1.09369f, 1.3341f, 2378, 1427, 3363, 1580},
- {0, 80, 0, 65535, 3704, 1456, 25716, 1.09369f, 0.964185f, 3351, 1346, 4059, 1577},
- {0, 77, 0, 65535, 4519, 1500, 9000, 5.28571f, 5.95154f, 4045, 1357, 4989, 1649},
- {0, 77, 0, 65535, 3930, 1571, 7349, 5.28571f, 2.45534f, 3702, 1379, 4159, 1769},
- {0, 80, 0, 65535, 4831, 1370, 26876, 1.09369f, 0.964185f, 4475, 1324, 5186, 1421},
- {0, 77, 0, 65535, 2541, 1662, 9000, 5.89866f, 29.0168f, 233, 1502, 4833, 1828},
- {1, 45, 0, 65535, 649, 1344, 33198, 1.0f, 1.01818f, 544, 1273, 737, 1386},
- {1, 45, 0, 65535, 983, 1310, 2966, 1.0f, 1.01818f, 897, 1236, 1088, 1354},
- {1, 45, 0, 65535, 1301, 1335, 34436, 1.0f, 1.01818f, 1190, 1281, 1401, 1367},
- {1, 45, 0, 65535, 1765, 1311, 462, 1.0f, 1.01818f, 1657, 1275, 1875, 1340},
- {1, 19, 0, 65535, 1140, 1332, 17936, 1.00826f, 1.0f, 1079, 1315, 1201, 1348},
- {1, 12, 0, 65535, 455, 1373, 0, 1.0f, 1.0f, 360, 1366, 549, 1379},
- {1, 45, 0, 65535, 2194, 1311, 34960, 1.0f, 1.01818f, 2083, 1265, 2298, 1341},
- {1, 11, 0, 65535, 4260, 1349, 0, 1.56465f, 1.0f, 4040, 1343, 4480, 1356},
- {5, 255, 0, 65535, 4164, 1288, 0, 162.0f, 90.0f, 4083, 1243, 4245, 1333},
- {1, 45, 0, 65535, 2463, 1305, 462, 1.0f, 1.01818f, 2356, 1269, 2574, 1334},
- {1, 45, 0, 65535, 3266, 1462, 34436, 1.0f, 1.01818f, 3155, 1409, 3366, 1495},
- {1, 19, 0, 65535, 3105, 1459, 17936, 1.00826f, 1.0f, 3044, 1443, 3166, 1476},
- {1, 45, 0, 65535, 2948, 1438, 2966, 1.0f, 1.01818f, 2862, 1364, 3053, 1482},
- {1, 45, 0, 65535, 3635, 1339, 34960, 1.0f, 1.01818f, 3523, 1293, 3739, 1369},
- {0, 77, 0, 65535, 152, 1487, 9000, 4.14286f, 9.75196f, -624, 1375, 923, 1603},
- {0, 77, 0, 65535, 2132, 1484, 9000, 4.24056f, 14.4277f, 984, 1369, 3272, 1604},
- {0, 64, 0, 65535, 1545, 1299, 0, -0.675732f, 0.416463f, 1450, 1219, 1640, 1379},
- {0, 64, 0, 65535, 1862, 1289, 0, 0.675732f, 0.448008f, 1767, 1204, 1957, 1376},
- {0, 64, 0, 65535, 2020, 1289, 9740, 0.666882f, 0.401306f, 1931, 1187, 2085, 1392},
- {0, 80, 0, 65535, 1417, 1409, 486, -0.765107f, 0.527562f, 1377, 1214, 1463, 1605},
- {0, 80, 0, 65535, 1087, 1284, 13626, -1.35474f, 0.74977f, 858, 1058, 1307, 1521},
- {0, 80, 0, 65535, 667, 1349, 4909, -1.35474f, 0.74977f, 433, 1138, 910, 1569},
- {0, 77, 0, 65535, 897, 1444, 14145, 7.70562f, 2.71669f, 594, 1145, 1194, 1747},
- {0, 80, 0, 65535, 402, 1384, 8786, -0.765108f, 0.604566f, 179, 1350, 626, 1423},
- {0, 80, 0, 65535, 1242, 1346, 9286, -0.765108f, 0.527563f, 1047, 1310, 1437, 1386},
- {0, 80, 0, 65535, 2982, 1382, 9073, -0.765108f, 0.658068f, 2740, 1351, 3225, 1415},
- {0, 80, 0, 65535, 3267, 1386, 9073, -0.765108f, 0.658068f, 3025, 1356, 3510, 1420},
- {0, 80, 0, 65535, -458, 1391, 8988, -1.0f, 1.00807f, -829, 1352, -87, 1432},
- {5, 255, 0, 65535, 2668, 688, 0, 162.0f, 90.0f, 2587, 643, 2750, 734},
- {1, 11, 0, 65535, 2361, 1362, 0, 2.17847f, 1.0f, 2055, 1356, 2668, 1368},
- {2, 1, 0, 15, 2527, 1008, 0, 0.232088f, 0.232088f, 2452, 933, 2602, 1083},
- {1, 16, 0, 65535, 1542, 1294, 34666, -1.0f, 1.00521f, 1451, 1213, 1632, 1372},
- {1, 13, 0, 65535, 1701, 1365, 0, 1.0f, 1.0f, 1630, 1359, 1772, 1372},
- {1, 16, 0, 65535, 1859, 1294, 1334, 1.0f, 1.00521f, 1769, 1213, 1950, 1372},
- {1, 11, 0, 65535, 1999, 1088, 29311, 1.0f, 1.0f, 1938, 955, 2061, 1220},
- {1, 16, 0, 65535, 2144, 886, 19627, 1.0f, 1.00521f, 2049, 812, 2237, 962},
- {1, 58, 0, 65535, 2596, 1089, 29606, 1.00235f, 1.00469f, 2405, 849, 2714, 1256},
- {2, 1, 0, 16, 876, 1187, 0, 0.749095f, 0.749095f, 635, 946, 1117, 1426},
- {1, 17, 0, 65535, 1996, 1267, 6711, 1.0f, 1.0f, 1957, 1153, 2063, 1368},
- {1, 55, 0, 65535, 2325, 1186, 2628, 2.29355f, 1.0f, 2237, 1138, 2414, 1234},
- {1, 14, 0, 65535, 2803, 1180, 0, 1.0f, 1.0f, 2663, 991, 2942, 1369},
- {1, 11, 0, 65535, 2936, 853, 27000, 1.0f, 1.0f, 2930, 712, 2943, 994},
- {1, 17, 0, 65535, 2879, 614, 22969, 1.0f, 1.0f, 2788, 535, 2944, 714},
- {1, 11, 0, 65535, 2656, 748, 0, 1.0f, 1.0f, 2515, 741, 2797, 754},
- {1, 17, 0, 65535, 2457, 653, 6711, 1.0f, 1.0f, 2418, 538, 2524, 754},
- {1, 12, 0, 65535, 44, 1368, 0, 1.42101f, 1.0f, -91, 1362, 178, 1374},
- {3, 81, 0, 65535, 197, 1337, 30605, 1.0f, 1.0f, 167, 1299, 226, 1374},
- {0, 80, 0, 65535, 1003, 1616, 27000, 1.0f, -1.0f, 636, 1577, 1372, 1655},
- {0, 80, 0, 65535, 270, 1616, 27000, 1.0f, -1.0f, -97, 1577, 639, 1655},
- {0, 80, 0, 65535, 1737, 1616, 27000, 1.0f, -1.0f, 1370, 1577, 2106, 1655},
- {0, 80, 0, 65535, 2471, 1616, 27000, 1.0f, -1.0f, 2104, 1577, 2840, 1655},
- {0, 80, 0, 65535, 3205, 1616, 27000, 1.0f, -1.0f, 2838, 1577, 3574, 1655},
- {0, 80, 0, 65535, -464, 1616, 27000, 1.0f, -1.0f, -831, 1577, -95, 1655},
- {0, 80, 0, 65535, 3938, 1616, 27000, 1.0f, -1.0f, 3571, 1577, 4307, 1655},
- {5, 255, 0, 65535, 3011, 1442, 0, 162.0f, 90.0f, 2929, 1396, 3092, 1487},
- {1, 12, 0, 65535, 690, 813, 1611, 1.0f, 1.0f, 597, 780, 782, 845},
- {1, 12, 0, 65535, 690, 1165, 2782, 1.0f, 1.0f, 603, 1115, 776, 1214},
- {1, 12, 0, 65535, 914, 981, 15476, 1.0f, 1.0f, 826, 935, 1002, 1027},
- {1, 12, 0, 65535, 918, 1325, 15041, 1.0f, 1.0f, 833, 1273, 1003, 1378},
- {1, 12, 0, 65535, 1138, 813, 35253, 1.0f, 1.0f, 1043, 794, 1232, 831},
- {1, 12, 0, 65535, 1138, 1165, 12494, 1.0f, 1.0f, 1078, 1084, 1197, 1246},
- {1, 12, 0, 65535, 1354, 992, 17325, 1.0f, 1.0f, 1259, 974, 1448, 1009},
- {1, 12, 0, 65535, 1142, 1481, 30120, 1.0f, 1.0f, 1087, 1397, 1196, 1565},
- {1, 12, 0, 65535, 1362, 1333, 35862, 1.0f, 1.0f, 1267, 1324, 1456, 1342},
- {1, 12, 0, 65535, 466, 981, 34597, 1.0f, 1.0f, 373, 952, 559, 1010},
- {2, 1, 0, 17, 1328, 1160, 0, 0.138809f, 0.138809f, 1283, 1114, 1373, 1204},
- {1, 12, 0, 65535, 148, 925, 0, 1.49468f, 1.0f, 7, 919, 289, 932},
- {1, 12, 0, 65535, 2066, 784, 17325, 1.0f, 1.0f, 1971, 766, 2160, 801},
- {1, 12, 0, 65535, 1842, 968, 12494, 1.0f, 1.0f, 1782, 887, 1901, 1049},
- {1, 12, 0, 65535, 1568, 1153, 14185, 1.0f, 1.0f, 1490, 1090, 1646, 1216},
- {1, 12, 0, 65535, 2066, 1136, 30245, 1.0f, 1.0f, 2010, 1053, 2122, 1219},
- {1, 12, 0, 65535, 1832, 1322, 32515, 1.0f, 1.0f, 1751, 1263, 1913, 1381},
- {1, 12, 0, 65535, 1618, 784, 15476, 1.0f, 1.0f, 1530, 738, 1706, 830},
- {1, 12, 0, 65535, 1627, 1490, 12345, 1.0f, 1.0f, 1570, 1408, 1685, 1572},
- {1, 12, 0, 65535, 2934, 1507, 0, 2.08409f, 1.0f, 2737, 1500, 3130, 1513},
- {1, 12, 0, 65535, 478, 1289, 35354, 1.0f, 1.0f, 383, 1272, 573, 1306},
- {1, 12, 0, 65535, 2074, 1467, 31878, 1.0f, 1.0f, 1999, 1400, 2150, 1534},
- {1, 12, 0, 65535, 2528, 1486, 31909, 1.0f, 1.0f, 2452, 1419, 2603, 1552},
- {1, 12, 0, 65535, 2305, 1324, 2419, 1.0f, 1.0f, 2216, 1280, 2394, 1369},
- {1, 12, 0, 65535, 2293, 979, 33764, 1.0f, 1.0f, 2203, 937, 2383, 1021},
- {1, 12, 0, 65535, 2568, 792, 29499, 1.0f, 1.0f, 2522, 704, 2613, 881},
- {1, 12, 0, 65535, 2580, 1115, 1346, 1.0f, 1.0f, 2487, 1087, 2673, 1143},
- {2, 1, 0, 18, 1605, 929, 0, 0.138809f, 0.138809f, 1560, 884, 1650, 973},
- {2, 1, 0, 19, 1804, 1135, 0, 0.138809f, 0.138809f, 1759, 1089, 1849, 1179},
- {2, 1, 0, 20, 1363, 1455, 0, 0.138809f, 0.138809f, 1318, 1409, 1408, 1499},
- {2, 1, 0, 21, 675, 1323, 0, 0.138809f, 0.138809f, 630, 1278, 720, 1368},
- {2, 1, 0, 22, 910, 815, 0, 0.138809f, 0.138809f, 865, 769, 955, 859},
- {2, 1, 0, 23, 2338, 774, 0, 0.138809f, 0.138809f, 2293, 729, 2383, 819},
- {2, 1, 0, 24, 2263, 1164, 0, 0.138809f, 0.138809f, 2218, 1118, 2308, 1208},
- {2, 1, 0, 25, 1839, 1461, 0, 0.138809f, 0.138809f, 1794, 1416, 1884, 1506},
- {1, 12, 0, 65535, 267, 1447, 33946, 1.0f, 1.0f, 176, 1408, 358, 1486},
- {1, 12, 0, 65535, 707, 1502, 30120, 1.0f, 1.0f, 653, 1418, 762, 1586},
- {1, 12, 0, 65535, 476, 1555, 35862, 1.0f, 1.0f, 381, 1546, 570, 1564},
- {1, 12, 0, 65535, 240, 1141, 1864, 1.0f, 1.0f, 148, 1105, 331, 1177},
- {1, 12, 0, 65535, 949, 1545, 35862, 1.0f, 1.0f, 854, 1537, 1043, 1554},
- {0, 77, 0, 65535, 1472, 1487, 9000, 4.14286f, 18.5355f, -2, 1375, 2937, 1603},
- {0, 77, 0, 65535, 2972, 1487, 9000, 4.14286f, 8.47868f, 2297, 1375, 3642, 1603},
- {0, 77, 0, 65535, -228, 1487, 9000, 4.14286f, 8.47869f, -903, 1375, 442, 1603},
- {0, 70, 0, 65535, 284, 1590, 0, 1.17475f, 1.17475f, 178, 1176, 387, 2038},
- {0, 70, 0, 65535, 1245, 1588, 0, 1.17475f, 1.17475f, 1140, 1173, 1349, 2036},
- {0, 70, 0, 65535, 2172, 1589, 0, 1.17475f, 1.17475f, 2067, 1175, 2276, 2037},
- {0, 80, 0, 65535, 2300, 1432, 35009, 0.52878f, 0.608901f, 2240, 1209, 2354, 1657},
- {0, 80, 0, 65535, 1373, 1423, 35009, 0.528779f, 0.608902f, 1313, 1200, 1427, 1647},
- {0, 80, 0, 65535, 411, 1431, 35009, 0.528779f, 0.608902f, 352, 1207, 465, 1655},
- {0, 80, 0, 65535, -336, 1383, 27025, 0.777498f, 0.913778f, -673, 1351, 0, 1415},
- {0, 80, 0, 65535, 678, 1377, 26984, 0.528779f, 0.762154f, 397, 1356, 958, 1398},
- {0, 80, 0, 65535, 1609, 1380, 26984, 0.528779f, 0.762154f, 1328, 1359, 1889, 1402},
- {0, 80, 0, 65535, 2512, 1378, 26984, 0.528779f, 0.762154f, 2231, 1357, 2792, 1399},
- {0, 80, 0, 65535, 3444, 1378, 26984, 0.528779f, 0.762154f, 3163, 1357, 3724, 1399},
- {1, 13, 0, 65535, 2980, 1368, 0, 2.6585f, 1.0f, 2792, 1362, 3168, 1374},
- {1, 13, 0, 65535, 94, 1368, 0, 1.37825f, 1.0f, -3, 1362, 192, 1374},
- {1, 11, 0, 65535, 287, 1270, 31500, 1.0f, 1.0f, 183, 1166, 391, 1374},
- {2, 1, 0, 26, 678, 1258, 0, -0.564626f, 0.564626f, 496, 1076, 860, 1439},
- {1, 47, 0, 27, 678, 1218, 0, 1.00235f, 1.0f, 464, 1047, 892, 1388},
- {2, 1, 0, 28, 1638, 1258, 0, -0.564625f, 0.564625f, 1456, 1076, 1820, 1439},
- {1, 11, 0, 65535, 1247, 1270, 31500, 1.0f, 1.0f, 1143, 1166, 1351, 1374},
- {1, 13, 0, 65535, 1054, 1368, 0, 1.37825f, 1.0f, 957, 1362, 1152, 1374},
- {1, 58, 0, 29, 1638, 1153, 18000, 1.00235f, 1.00469f, 1424, 1046, 1852, 1261},
- {1, 13, 0, 65535, 1982, 1368, 0, 1.37825f, 1.0f, 1885, 1362, 2080, 1374},
- {2, 1, 0, 30, 2566, 1258, 0, -0.564625f, 0.564625f, 2384, 1076, 2748, 1439},
- {1, 11, 0, 65535, 2175, 1270, 31500, 1.0f, 1.0f, 2071, 1166, 2279, 1374},
- {1, 17, 0, 31, 2564, 1072, 18000, 1.0f, 1.0f, 2448, 1046, 2682, 1098},
- {5, 255, 0, 65535, 3074, 1307, 0, 162.0f, 90.0f, 2992, 1262, 3155, 1353},
- {0, 77, 0, 65535, -67, 1487, 9000, 4.14286f, 3.4407f, -341, 1375, 205, 1603},
- {0, 77, 0, 65535, 1246, 1570, 9000, 1.17857f, 13.8729f, 143, 1538, 2343, 1603},
- {0, 77, 0, 65535, 2533, 1570, 9000, 1.17857f, 12.7576f, 1518, 1538, 3541, 1603},
- {0, 77, 0, 65535, 868, 1632, 9000, 4.14286f, 0.584519f, 821, 1520, 915, 1748},
- {0, 77, 0, 65535, 1655, 1472, 9000, 4.14286f, 2.69025f, 1440, 1360, 1868, 1589},
- {0, 77, 0, 65535, 3480, 1533, 9000, 6.35714f, 6.5545f, 2958, 1361, 3998, 1711},
- {0, 80, 0, 65535, 258, 1586, 33173, 1.705f, 0.582603f, 97, 1374, 403, 1806},
- {0, 80, 0, 65535, 466, 1542, 26983, 0.808744f, 0.987774f, 102, 1510, 829, 1575},
- {0, 80, 0, 65535, 1264, 1541, 26983, 0.808744f, 0.987774f, 900, 1509, 1627, 1574},
- {0, 80, 0, 65535, 1335, 1704, 20041, 0.808744f, 0.987774f, 1186, 1355, 1492, 2056},
- {0, 68, 0, 65535, 2400, 1422, 0, 0.462366f, 0.490956f, 2288, 1357, 2511, 1485},
- {0, 68, 0, 65535, 1974, 1414, 0, -0.462365f, 0.490957f, 1862, 1350, 2085, 1477},
- {0, 77, 0, 65535, 1983, 1584, 9000, 4.19661f, 1.52379f, 1861, 1470, 2104, 1702},
- {0, 77, 0, 65535, 2398, 1584, 9000, 4.19661f, 1.52379f, 2276, 1470, 2519, 1702},
- {0, 77, 0, 65535, 2738, 1474, 9000, 4.19661f, 2.89094f, 2507, 1360, 2967, 1592},
- {0, 80, 0, 65535, 2204, 1544, 26983, 0.808744f, 0.468855f, 2031, 1513, 2377, 1577},
- {1, 11, 0, 32, 252, 1324, 31500, 0.482881f, 1.0f, 199, 1271, 304, 1376},
- {1, 55, 0, 65535, 865, 1514, 0, 1.08434f, 1.0f, 820, 1508, 910, 1520},
- {1, 11, 0, 65535, 1652, 1353, 0, 1.51957f, 1.0f, 1438, 1347, 1865, 1359},
- {1, 11, 0, 65535, 3238, 1352, 0, 2.0083f, 1.0f, 2956, 1346, 3521, 1358},
- {5, 255, 0, 65535, 3428, 1294, 0, 162.0f, 90.0f, 3347, 1249, 3510, 1340},
- {1, 55, 0, 65535, 2561, 1354, 0, 1.08434f, 1.0f, 2516, 1347, 2606, 1360},
- {1, 11, 0, 33, 2724, 1232, 31500, 1.23843f, 1.0f, 2597, 1104, 2852, 1359},
- {2, 1, 0, 34, 3047, 1060, 0, 0.484937f, 0.482993f, 2891, 904, 3203, 1214},
- {1, 37, 0, 65535, 1986, 1408, 0, -1.0f, 1.0f, 1865, 1347, 2106, 1470},
- {1, 37, 0, 65535, 2396, 1408, 0, 1.0f, 1.0f, 2276, 1347, 2517, 1470},
- {1, 13, 0, 35, 2191, 1464, 0, 1.21986f, 1.0f, 2105, 1457, 2277, 1470},
- {1, 11, 0, 36, 1064, 1424, 33000, 1.29693f, 1.0f, 902, 1327, 1225, 1520},
- {2, 1, 0, 37, 1320, 1043, 0, 0.484937f, 0.482993f, 1164, 887, 1476, 1197},
- {1, 11, 0, 65535, 68, 1370, 0, 1.0f, 1.0f, -73, 1364, 208, 1376},
- {1, 11, 0, 65535, 3660, 1352, 0, 1.0f, 1.0f, 3520, 1346, 3801, 1358},
- {4, 255, 0, 65535, 573, 1437, 0, 81.0f, 106.0f, 532, 1383, 614, 1490},
- {4, 255, 0, 65535, 433, 1490, 0, 81.0f, 106.0f, 392, 1436, 474, 1543},
- {4, 255, 0, 65535, 359, 1474, 0, 81.0f, 106.0f, 318, 1421, 400, 1528},
- {4, 255, 0, 65535, 513, 1470, 0, 81.0f, 106.0f, 472, 1417, 554, 1523},
- {4, 255, 0, 65535, 296, 1440, 0, 81.0f, 106.0f, 255, 1387, 337, 1493},
- {0, 77, 0, 65535, 254, 1437, 9000, 8.91182f, 7.55696f, -347, 1196, 852, 1687},
- {0, 77, 0, 65535, 1266, 1433, 9000, 8.62245f, 5.98281f, 790, 1200, 1739, 1675},
- {0, 77, 0, 65535, 3623, 1459, 9000, 5.13223f, 7.87233f, 2997, 1320, 4246, 1603},
- {0, 77, 0, 65535, 2382, 1460, 9000, 5.11025f, 9.9303f, 1592, 1321, 3167, 1604},
- {0, 80, 0, 65535, 18, 1192, 26762, 1.0f, 1.0f, -350, 1144, 387, 1247},
- {0, 80, 0, 65535, 749, 1188, 27195, 1.0f, 1.0f, 379, 1142, 1117, 1240},
- {0, 80, 0, 65535, 1346, 1188, 26502, 1.0f, 1.0f, 977, 1127, 1716, 1260},
- {0, 80, 0, 65535, 4267, 1322, 26733, 1.0f, 1.0f, 3898, 1273, 4636, 1379},
- {0, 64, 0, 65535, 1807, 1199, 0, -0.753755f, 0.662458f, 1701, 1073, 1913, 1327},
- {0, 74, 0, 65535, 2226, 868, 0, 0.881803f, 1.0f, 2116, 598, 2337, 1156},
- {0, 74, 0, 65535, 3227, 868, 0, 1.16746f, 1.0f, 3082, 598, 3373, 1156},
- {0, 74, 0, 65535, 2698, 868, 0, 3.89092f, 1.0f, 2215, 598, 3185, 1156},
- {0, 80, 0, 65535, 3376, 789, 0, 1.0f, 1.0f, 3337, 421, 3415, 1157},
- {0, 80, 0, 65535, 2113, 790, 0, -1.0f, -1.0f, 2074, 423, 2152, 1159},
- {5, 255, 0, 65535, 3593, 1252, 0, 162.0f, 90.0f, 3511, 1207, 3674, 1298},
- {1, 11, 0, 65535, 3654, 1312, 0, 1.77343f, 1.0f, 3405, 1306, 3904, 1319},
- {1, 12, 0, 65535, 94, 1068, 0, 1.0f, 1.0f, 0, 1061, 189, 1074},
- {1, 12, 0, 38, 283, 1068, 0, 1.0f, 1.0f, 189, 1061, 378, 1074},
- {2, 1, 0, 39, 850, 1123, 0, 0.105932f, 0.105932f, 815, 1089, 884, 1157},
- {1, 12, 0, 40, 472, 1068, 0, 1.0f, 1.0f, 378, 1061, 567, 1074},
- {1, 12, 0, 41, 850, 1068, 0, 1.0f, 1.0f, 756, 1061, 945, 1074},
- {1, 12, 0, 42, 661, 1068, 0, 1.0f, 1.0f, 567, 1061, 756, 1074},
- {1, 12, 0, 43, 1228, 1068, 0, 1.0f, 1.0f, 1134, 1061, 1323, 1074},
- {1, 12, 0, 44, 1039, 1068, 0, 1.0f, 1.0f, 945, 1061, 1134, 1074},
- {2, 1, 0, 45, 475, 1040, 0, 0.105932f, 0.105932f, 440, 1005, 509, 1074},
- {2, 1, 0, 46, 1237, 1040, 0, 0.105932f, 0.105932f, 1202, 1005, 1271, 1074},
- {1, 12, 0, 47, 1417, 1068, 0, 1.0f, 1.0f, 1323, 1061, 1512, 1074},
- {1, 15, 0, 65535, 1801, 1191, 0, -1.0f, 1.00394f, 1707, 1064, 1895, 1319},
- {1, 12, 0, 65535, 1606, 1057, 35369, 1.0f, 1.0f, 1512, 1040, 1701, 1074},
- {1, 48, 0, 65535, 1861, 923, 2972, 1.00348f, 1.0f, 1703, 803, 1992, 1081},
- {1, 12, 0, 48, 1987, 1312, 0, 1.0f, 1.0f, 1892, 1306, 2081, 1319},
- {1, 12, 0, 49, 2176, 1312, 0, 1.0f, 1.0f, 2081, 1306, 2270, 1319},
- {1, 12, 0, 50, 2554, 1312, 0, 1.0f, 1.0f, 2459, 1306, 2648, 1319},
- {1, 12, 0, 51, 2365, 1312, 0, 1.0f, 1.0f, 2270, 1306, 2459, 1319},
- {1, 12, 0, 52, 2932, 1312, 0, 1.0f, 1.0f, 2837, 1306, 3026, 1319},
- {1, 12, 0, 53, 2743, 1312, 0, 1.0f, 1.0f, 2648, 1306, 2837, 1319},
- {1, 12, 0, 54, 3310, 1312, 0, 1.0f, 1.0f, 3215, 1306, 3404, 1319},
- {1, 12, 0, 55, 3121, 1312, 0, 1.0f, 1.0f, 3026, 1306, 3215, 1319},
- {2, 0, 0, 65535, 2171, 1170, 0, 0.457255f, -0.457255f, 2082, 1155, 2259, 1185},
- {2, 0, 0, 65535, 2343, 1170, 0, 0.457255f, -0.457255f, 2254, 1155, 2431, 1185},
- {2, 0, 0, 65535, 2496, 1170, 0, 0.457255f, -0.457255f, 2408, 1155, 2584, 1185},
- {2, 0, 0, 65535, 2668, 1170, 0, 0.457255f, -0.457255f, 2579, 1155, 2756, 1185},
- {2, 0, 0, 65535, 2993, 1170, 0, 0.457255f, -0.457255f, 2905, 1155, 3081, 1185},
- {2, 0, 0, 65535, 2839, 1170, 0, 0.457255f, -0.457255f, 2751, 1155, 2927, 1185},
- {2, 0, 0, 65535, 3165, 1170, 0, 0.457255f, -0.457255f, 3076, 1155, 3253, 1185},
- {2, 0, 0, 65535, 3318, 1170, 0, 0.457255f, -0.457255f, 3230, 1155, 3406, 1185},
- {0, 77, 0, 65535, -106, 1487, 9000, 4.14286f, 3.27751f, -367, 1375, 154, 1603},
- {0, 68, 0, 65535, 277, 1459, 0, -0.666984f, 0.666984f, 116, 1372, 437, 1545},
- {0, 77, 0, 65535, 1246, 1560, 9000, 1.549f, 13.8729f, 143, 1517, 2343, 1604},
- {0, 77, 0, 65535, 2938, 1486, 9000, 4.1667f, 11.133f, 2053, 1373, 3818, 1603},
- {0, 68, 0, 65535, 2608, 1322, 0, 0.45547f, 0.461893f, 2498, 1261, 2717, 1381},
- {0, 68, 0, 65535, 2825, 1322, 0, -0.455469f, 0.461895f, 2715, 1261, 2934, 1381},
- {0, 68, 0, 65535, 1304, 1458, 0, -0.683077f, 0.687898f, 1140, 1369, 1469, 1547},
- {0, 70, 0, 65535, 651, 1799, 0, 1.52562f, 1.52562f, 515, 1260, 786, 2380},
- {0, 80, 0, 65535, 832, 1660, 34847, 0.829248f, 1.0f, 726, 1295, 929, 2027},
- {0, 80, 0, 65535, 976, 1525, 26937, 0.829247f, 0.606371f, 753, 1492, 1200, 1560},
- {0, 80, 0, 65535, 1107, 1594, 19476, 0.829247f, 0.606371f, 1026, 1372, 1195, 1818},
- {0, 80, 0, 65535, 1852, 1530, 33682, 1.68372f, 0.606371f, 1703, 1305, 1985, 1761},
- {0, 70, 0, 65535, 1676, 1797, 0, 1.52562f, 1.52562f, 1540, 1259, 1811, 2379},
- {0, 80, 0, 65535, 1974, 1579, 20841, 1.24069f, 0.606371f, 1836, 1365, 2123, 1798},
- {0, 80, 0, 65535, 1936, 1505, 27330, 1.24069f, 0.606371f, 1710, 1449, 2160, 1566},
- {0, 80, 0, 65535, -364, 1387, 27044, 0.829247f, 1.0f, -733, 1353, 4, 1423},
- {0, 80, 0, 65535, 3882, 1387, 26996, 0.829247f, 1.0f, 3513, 1355, 4249, 1420},
- {1, 57, 0, 65535, 57, 1368, 0, 2.85714f, 1.0f, -3, 1362, 118, 1374},
- {2, 1, 0, 56, 428, 1361, 0, 0.48105f, 0.48105f, 273, 1206, 583, 1515},
- {1, 36, 0, 65535, 276, 1441, 0, -1.0f, 1.0f, 115, 1362, 437, 1521},
- {2, 1, 0, 57, 947, 1361, 0, 0.48105f, 0.48105f, 792, 1206, 1102, 1515},
- {1, 11, 0, 65535, 653, 1385, 31500, 1.3221f, 1.0f, 517, 1249, 789, 1521},
- {1, 55, 0, 65535, 481, 1514, 0, 1.07831f, 1.0f, 436, 1508, 526, 1521},
- {2, 1, 0, 58, 1452, 1361, 0, 0.48105f, 0.48105f, 1297, 1206, 1607, 1515},
- {1, 36, 0, 65535, 1300, 1441, 0, -1.0f, 1.0f, 1139, 1362, 1461, 1521},
- {1, 11, 0, 65535, 1677, 1385, 31500, 1.3221f, 1.0f, 1541, 1249, 1813, 1521},
- {1, 55, 0, 65535, 1505, 1514, 0, 1.07831f, 1.0f, 1460, 1508, 1550, 1521},
- {2, 1, 0, 59, 1908, 1023, 0, 0.247813f, 0.247813f, 1828, 943, 1988, 1102},
- {2, 1, 0, 60, 1908, 1423, 0, 0.247813f, 0.247813f, 1828, 1343, 1988, 1502},
- {1, 11, 0, 65535, 2263, 1368, 0, 1.52195f, 1.0f, 2049, 1362, 2477, 1374},
- {1, 37, 0, 65535, 2596, 1314, 0, 1.0f, 1.0f, 2475, 1252, 2717, 1375},
- {1, 37, 0, 65535, 2837, 1314, 0, -1.0f, 1.0f, 2716, 1252, 2958, 1375},
- {1, 11, 0, 65535, 3097, 1368, 0, 1.0f, 1.0f, 2956, 1362, 3238, 1374},
- {2, 1, 0, 61, 2431, 1355, 0, 0.254859f, 0.254859f, 2349, 1273, 2514, 1437},
- {1, 13, 0, 65535, 3382, 1368, 0, 2.05674f, 1.0f, 3237, 1362, 3527, 1374},
- {5, 255, 0, 65535, 3244, 1313, 0, 162.0f, 90.0f, 3162, 1267, 3325, 1358},
- {4, 255, 0, 65535, 573, 1437, 0, 81.0f, 106.0f, 532, 1383, 614, 1490},
- {4, 255, 0, 65535, 433, 1490, 0, 81.0f, 106.0f, 392, 1436, 474, 1543},
- {4, 255, 0, 65535, 359, 1474, 0, 81.0f, 106.0f, 318, 1421, 400, 1528},
- {4, 255, 0, 65535, 513, 1470, 0, 81.0f, 106.0f, 472, 1417, 554, 1523},
- {4, 255, 0, 65535, 296, 1440, 0, 81.0f, 106.0f, 255, 1387, 337, 1493},
- {0, 77, 0, 65535, 1164, 1531, 9000, 2.57682f, 14.8979f, -21, 1461, 2342, 1603},
- {0, 77, 0, 65535, 3205, 1547, 9000, 2.01752f, 12.7576f, 2190, 1492, 4213, 1603},
- {0, 64, 0, 65535, 230, 1279, 0, -1.0f, 1.0f, 89, 1088, 370, 1471},
- {0, 66, 0, 65535, 2743, 1447, 1854, 1.18813f, 1.18813f, 2419, 1199, 3066, 1694},
- {0, 74, 0, 65535, 4127, 1562, 0, 3.58533f, 1.0f, 3682, 1292, 4575, 1850},
- {0, 64, 0, 65535, 547, 1406, 27000, -0.442857f, 0.565815f, 439, 1344, 656, 1468},
- {0, 80, 0, 65535, 32, 1319, 19020, 0.716645f, 0.642659f, -31, 1083, 102, 1557},
- {0, 77, 0, 65535, 524, 1531, 9000, 2.57682f, 14.8979f, -661, 1461, 1702, 1604},
- {0, 80, 0, 65535, 5, 1461, 27635, 0.716645f, 0.642658f, -234, 1413, 242, 1515},
- {0, 80, 0, 65535, -458, 1466, 26221, 0.716645f, 0.642658f, -695, 1413, -220, 1527},
- {0, 77, 0, 65535, 69, 1348, 292, 0.992975f, 2.49344f, 32, 1149, 107, 1546},
- {0, 80, 0, 65535, 802, 1543, 31148, 1.13286f, 0.642658f, 595, 1361, 1001, 1732},
- {0, 80, 0, 65535, 1134, 1469, 26997, 1.13286f, 1.14352f, 712, 1425, 1554, 1514},
- {0, 64, 0, 65535, 1799, 1311, 34809, -1.0f, 1.0f, 1622, 1151, 1976, 1528},
- {0, 64, 0, 65535, 2168, 1404, 26981, -0.40731f, 0.459358f, 2080, 1346, 2257, 1462},
- {0, 80, 0, 65535, 1572, 1381, 18789, 0.750688f, 0.642658f, 1518, 1143, 1634, 1619},
- {0, 72, 0, 65535, 1628, 2497, 0, 1.0f, 4.07666f, 1510, 1176, 1746, 3930},
- {0, 80, 0, 65535, 2320, 1606, 34020, 0.562031f, 0.642658f, 2219, 1378, 2416, 1836},
- {0, 80, 0, 65535, 2452, 1425, 19543, 0.562031f, 0.642658f, 2373, 1193, 2536, 1659},
- {0, 80, 0, 65535, 2414, 1456, 26956, 1.19447f, 0.413202f, 2261, 1411, 2567, 1505},
- {0, 80, 0, 65535, 4353, 1320, 26995, 1.13286f, 0.642658f, 4116, 1276, 4589, 1364},
- {0, 80, 0, 65535, 1004, 1348, 22853, 1.13286f, 0.642658f, 805, 1167, 1211, 1538},
- {0, 80, 0, 65535, 1360, 1371, 30736, 1.13286f, 0.642658f, 1145, 1201, 1568, 1550},
- {0, 77, 0, 65535, 1188, 1457, 31606, 5.99086f, 2.21278f, 950, 1214, 1431, 1696},
- {0, 73, 0, 65535, 3218, 1594, 35371, 0.914215f, 0.77807f, 3090, 1354, 3346, 1844},
- {0, 73, 0, 65535, 3509, 1547, 35338, 0.914215f, 0.778069f, 3381, 1307, 3638, 1798},
- {0, 80, 0, 65535, 3693, 1528, 18241, 1.13286f, -0.642658f, 3644, 1290, 3747, 1766},
- {0, 77, 0, 65535, 3070, 1449, 9000, 2.38163f, 0.630937f, 3019, 1384, 3120, 1516},
- {0, 80, 0, 65535, 3058, 1390, 28429, 0.533329f, -0.220526f, 2974, 1355, 3141, 1431},
- {0, 80, 0, 65535, 3629, 1483, 15728, -0.665272f, -0.466167f, 3539, 1317, 3714, 1652},
- {0, 80, 0, 65535, 3341, 1527, 15728, -0.665272f, -0.466168f, 3251, 1361, 3426, 1695},
- {0, 80, 0, 65535, 3392, 1513, 303, -0.665272f, -0.466168f, 3360, 1341, 3427, 1687},
- {0, 80, 0, 65535, 3459, 1502, 27000, 1.13286f, -0.642658f, 3223, 1458, 3696, 1547},
- {5, 255, 0, 65535, 3915, 1231, 0, 162.0f, 90.0f, 3834, 1186, 3997, 1277},
- {1, 14, 0, 65535, 1802, 1304, 34821, -1.0f, 1.0f, 1628, 1145, 1975, 1462},
- {1, 57, 0, 65535, 2010, 1454, 0, 1.8254f, 1.0f, 1972, 1448, 2049, 1461},
- {1, 16, 0, 65535, 2150, 1402, 9709, 1.0f, -1.00521f, 2047, 1341, 2255, 1461},
- {2, 1, 0, 62, 2391, 1402, 0, 0.349854f, 0.351799f, 2278, 1288, 2504, 1515},
- {1, 58, 0, 65535, 2758, 1388, 2014, 1.00235f, 1.00469f, 2581, 1213, 2996, 1502},
- {2, 1, 0, 63, 1196, 1220, 0, 0.726919f, 0.704379f, 962, 993, 1429, 1445},
- {1, 13, 0, 64, 96, 90, 0, 1.0f, 1.0f, 26, 84, 167, 96},
- {1, 13, 0, 65, 238, 90, 0, 1.0f, 1.0f, 167, 84, 308, 96},
- {1, 14, 0, 65535, 236, 1272, 0, -1.0f, 1.0f, 97, 1084, 375, 1461},
- {1, 16, 0, 65535, 550, 1402, 9709, 1.0f, -1.00521f, 447, 1341, 655, 1461},
- {1, 57, 0, 65535, 410, 1454, 0, 1.8254f, 1.0f, 372, 1448, 449, 1461},
- {1, 11, 0, 65535, 3895, 1287, 0, 1.58544f, 1.0f, 3671, 1281, 4118, 1293},
- {2, 1, 0, 66, 3050, 1066, 0, 0.349854f, 0.351799f, 2937, 952, 3163, 1178},
- {1, 45, 0, 65535, 3195, 1380, 35223, 1.0f, 1.01818f, 3084, 1338, 3301, 1409},
- {1, 45, 0, 65535, 3484, 1331, 35184, 1.0f, 1.01818f, 3373, 1289, 3590, 1361},
- {2, 1, 0, 67, 3472, 1057, 0, 0.349854f, 0.351799f, 3359, 944, 3585, 1170},
- {4, 255, 0, 65535, 573, 1437, 0, 81.0f, 106.0f, 532, 1383, 614, 1490},
- {4, 255, 0, 65535, 433, 1490, 0, 81.0f, 106.0f, 392, 1436, 474, 1543},
- {4, 255, 0, 65535, 359, 1474, 0, 81.0f, 106.0f, 318, 1421, 400, 1528},
- {4, 255, 0, 65535, 513, 1470, 0, 81.0f, 106.0f, 472, 1417, 554, 1523},
- {4, 255, 0, 65535, 296, 1440, 0, 81.0f, 106.0f, 255, 1387, 337, 1493},
- {0, 77, 0, 65535, 313, 1487, 9000, 4.14286f, 8.54379f, -367, 1375, 988, 1603},
- {0, 77, 0, 65535, 1358, 1487, 9000, 4.14286f, 4.75265f, 980, 1375, 1734, 1603},
- {0, 77, 0, 65535, 3297, 1483, 9000, 4.14286f, 5.49124f, 2860, 1371, 3732, 1600},
- {0, 77, 0, 65535, 2283, 1487, 9000, 4.14286f, 7.51676f, 1685, 1375, 2877, 1603},
- {0, 80, 0, 65535, 693, 1354, 26261, 1.0f, 1.0f, 324, 1277, 1062, 1440},
- {0, 80, 0, 65535, 1404, 1380, 28123, 1.0f, 1.0f, 1035, 1280, 1770, 1490},
- {0, 80, 0, 65535, 1531, 1173, 24927, 1.0f, 1.22643f, 1099, 986, 1966, 1370},
- {0, 77, 0, 65535, 1039, 1450, 9000, 4.14286f, 2.57769f, 834, 1337, 1243, 1566},
- {0, 77, 0, 65535, 1985, 1440, 15940, 4.14286f, 4.75266f, 1744, 1047, 2222, 1833},
- {0, 77, 0, 65535, 1489, 1398, 6782, 6.53062f, 4.75266f, 1072, 1092, 1906, 1710},
- {0, 64, 0, 65535, 2099, 1190, 34679, -0.90945f, 0.97651f, 1933, 1036, 2267, 1402},
- {0, 64, 0, 65535, 2321, 1284, 27191, -0.440133f, 0.512792f, 2221, 1225, 2422, 1349},
- {0, 80, 0, 65535, 2655, 1327, 28695, 0.799816f, 0.707328f, 2397, 1229, 2911, 1433},
- {0, 77, 0, 65535, 2457, 1395, 9000, 2.18579f, 4.031f, 2136, 1335, 2776, 1457},
- {0, 77, 0, 65535, 2514, 1350, 10997, 2.18579f, 1.62598f, 2372, 1250, 2655, 1452},
- {0, 80, 0, 65535, -364, 1387, 27109, 1.0f, 1.0f, -733, 1344, 4, 1434},
- {0, 80, 0, 65535, 3716, 1377, 26765, 1.0f, 1.0f, 3347, 1330, 4085, 1432},
- {1, 13, 0, 65535, 68, 1368, 0, 1.0f, 1.0f, -3, 1362, 139, 1374},
- {5, 255, 0, 65535, 3073, 1308, 0, 162.0f, 90.0f, 2991, 1263, 3154, 1354},
- {1, 11, 0, 65535, 3107, 1362, 0, 1.77343f, 1.0f, 2858, 1356, 3357, 1368},
- {1, 12, 0, 68, 232, 1368, 0, 1.0f, 1.0f, 138, 1362, 326, 1374},
- {1, 12, 0, 69, 421, 1269, 0, 1.0f, 1.0f, 327, 1263, 515, 1275},
- {1, 12, 0, 70, 610, 1170, 0, 1.0f, 1.0f, 516, 1164, 704, 1176},
- {1, 12, 0, 71, 799, 1071, 0, 1.0f, 1.0f, 705, 1065, 893, 1077},
- {1, 12, 0, 72, 1177, 873, 0, 1.0f, 1.0f, 1083, 867, 1271, 879},
- {1, 12, 0, 73, 1366, 774, 0, 1.0f, 1.0f, 1272, 768, 1460, 780},
- {1, 12, 0, 74, 988, 972, 0, 1.0f, 1.0f, 894, 966, 1082, 978},
- {1, 12, 0, 75, 1933, 477, 0, 1.0f, 1.0f, 1839, 471, 2027, 483},
- {1, 12, 0, 76, 1744, 576, 0, 1.0f, 1.0f, 1650, 570, 1838, 582},
- {1, 12, 0, 77, 1555, 675, 0, 1.0f, 1.0f, 1461, 669, 1649, 681},
- {1, 14, 0, 65535, 2073, 1137, 0, -1.0f, 1.0f, 1934, 948, 2213, 1326},
- {1, 17, 0, 65535, 2321, 1289, 33448, 1.0f, 1.0f, 2208, 1219, 2419, 1331},
- {2, 1, 0, 78, 2608, 1374, 0, 0.626822f, 0.626822f, 2406, 1172, 2809, 1574},
- {0, 77, 0, 65535, 493, 1487, 9000, 4.14286f, 6.29299f, -8, 1375, 991, 1603},
- {0, 77, 0, 65535, 1485, 1487, 9000, 4.14286f, 7.14015f, 917, 1375, 2049, 1603},
- {0, 77, 0, 65535, -251, 1427, 9000, 4.14286f, 4.79133f, -633, 1314, 128, 1543},
- {0, 80, 0, 65535, 467, 1379, 26975, 1.0f, 1.0f, 99, 1340, 835, 1420},
- {0, 80, 0, 65535, 1200, 1379, 27027, 1.0f, 1.0f, 832, 1339, 1568, 1420},
- {0, 80, 0, 65535, 1179, 1344, 25398, 1.0f, 1.0f, 817, 1215, 1543, 1484},
- {0, 80, 0, 65535, 1878, 1303, 27925, 1.0f, 1.0f, 1509, 1215, 2246, 1401},
- {0, 80, 0, 65535, 2597, 1360, 26983, 1.0f, 1.0f, 2229, 1321, 2965, 1400},
- {0, 80, 0, 65535, 3323, 1382, 27370, 1.0f, 1.0f, 2953, 1326, 3692, 1445},
- {0, 77, 0, 65535, 1653, 1425, 9000, 4.14286f, 5.08467f, 1249, 1313, 2055, 1542},
- {0, 77, 0, 65535, 1556, 1344, 9000, 2.26155f, 1.62333f, 1426, 1282, 1684, 1407},
- {0, 80, 0, 65535, -319, 1328, 27027, 1.0f, 1.0f, -688, 1288, 49, 1369},
- {0, 80, 0, 65535, 267, 1498, 31884, 0.732237f, 0.658257f, 85, 1301, 442, 1699},
- {0, 80, 0, 65535, 4419, 1380, 26845, 1.0f, 1.0f, 4051, 1336, 4788, 1429},
- {0, 77, 0, 65535, 4301, 1484, 9000, 4.23214f, 7.14013f, 3733, 1370, 4865, 1603},
- {0, 77, 0, 65535, 2605, 1487, 9000, 4.14286f, 7.14013f, 2037, 1375, 3169, 1603},
- {0, 77, 0, 65535, 3565, 1484, 9000, 4.23214f, 7.14013f, 2997, 1370, 4129, 1603},
- {5, 255, 0, 65535, 3684, 1302, 0, 162.0f, 90.0f, 3603, 1257, 3766, 1348},
- {1, 11, 0, 65535, 3808, 1362, 0, 1.77343f, 1.0f, 3559, 1356, 4058, 1368},
- {1, 55, 0, 65535, 90, 1305, 0, 1.0f, 1.0f, 49, 1299, 132, 1311},
- {1, 55, 2, 79, 245, 1308, 32086, 1.34534f, 1.0f, 198, 1268, 293, 1348},
- {1, 55, 2, 80, 655, 1284, 34658, 1.0f, 1.0f, 613, 1268, 697, 1300},
- {1, 55, 2, 81, 743, 1273, 0, 1.0f, 1.0f, 701, 1266, 785, 1279},
- {1, 55, 2, 82, 920, 1315, 0, 1.0f, 1.0f, 878, 1308, 962, 1321},
- {1, 55, 2, 83, 997, 1283, 31500, 1.0f, 1.0f, 963, 1249, 1031, 1317},
- {1, 55, 2, 84, 1297, 1150, 31500, 1.53956f, 1.0f, 1247, 1100, 1347, 1200},
- {1, 55, 2, 85, 1562, 1135, 31500, 1.53388f, 1.0f, 1513, 1086, 1612, 1185},
- {1, 55, 2, 86, 1926, 1239, 0, 1.0f, 1.0f, 1884, 1233, 1968, 1246},
- {1, 55, 2, 87, 2003, 1208, 31500, 1.0f, 1.0f, 1969, 1174, 2037, 1242},
- {1, 55, 2, 88, 2065, 1149, 31500, 1.0f, 1.0f, 2031, 1115, 2099, 1183},
- {1, 55, 2, 89, 2128, 1091, 31500, 1.0f, 1.0f, 2094, 1057, 2162, 1125},
- {1, 55, 2, 90, 2190, 1033, 31500, 1.0f, 1.0f, 2156, 999, 2224, 1067},
- {1, 55, 2, 91, 2819, 1244, 31500, 1.0f, 1.0f, 2785, 1209, 2853, 1278},
- {1, 55, 2, 92, 2742, 1275, 0, 1.0f, 1.0f, 2700, 1268, 2784, 1281},
- {1, 55, 2, 93, 3135, 1278, 31500, 1.0f, 1.0f, 3101, 1244, 3169, 1312},
- {1, 55, 2, 94, 3292, 1183, 31500, 1.0f, 1.0f, 3258, 1149, 3326, 1217},
- {0, 74, 0, 65535, 3179, 1652, 27000, 1.34252f, 4.26828f, 2028, 1483, 4407, 1819},
- {0, 74, 0, 65535, 1, 1499, 27000, 1.0f, 1.17002f, -315, 1373, 338, 1623},
- {0, 74, 0, 95, 2298, 1904, 0, 1.53839f, 1.32896f, 2107, 1545, 2491, 2286},
- {0, 74, 0, 65535, 876, 1652, 27000, 1.33417f, 4.62521f, -371, 1485, 2207, 1818},
- {0, 68, 0, 65535, 450, 1435, 18000, 0.474305f, -0.49489f, 336, 1371, 565, 1499},
- {0, 68, 0, 65535, 1258, 1436, 18000, 0.464113f, -0.464113f, 1146, 1375, 1370, 1496},
- {0, 68, 0, 65535, 1035, 1436, 0, 0.464113f, 0.464113f, 923, 1375, 1147, 1496},
- {0, 68, 0, 65535, 1818, 1436, 0, 0.464112f, 0.464113f, 1706, 1375, 1930, 1496},
- {0, 68, 0, 65535, 2041, 1436, 18000, 0.464112f, -0.464113f, 1929, 1375, 2153, 1496},
- {0, 68, 0, 65535, 2586, 1436, 0, 0.464112f, 0.464113f, 2474, 1375, 2698, 1496},
- {0, 68, 0, 65535, 2809, 1436, 18000, 0.464112f, -0.464113f, 2697, 1375, 2921, 1496},
- {0, 80, 0, 65535, -171, 1378, 28193, 1.0f, 1.0f, -539, 1274, 195, 1493},
- {0, 80, 0, 65535, 4375, 1471, 26436, 1.0f, 1.0f, 4006, 1405, 4745, 1546},
- {5, 255, 0, 65535, 3813, 1417, 0, 162.0f, 90.0f, 3731, 1372, 3894, 1463},
- {1, 11, 0, 65535, 115, 1372, 0, 1.58544f, 1.0f, -108, 1366, 339, 1378},
- {1, 47, 0, 96, 785, 1272, 1800, 1.00235f, 1.0f, 558, 1099, 985, 1487},
- {2, 2, 0, 97, 1542, 1310, 0, 0.581059f, 0.581059f, 1356, 1177, 1728, 1443},
- {2, 1, 0, 98, 918, 1298, 0, 0.219905f, 0.219905f, 846, 1227, 989, 1368},
- {1, 11, 0, 65535, 3792, 1482, 0, 1.58544f, 1.0f, 3569, 1476, 4016, 1489},
- {1, 47, 0, 99, 1555, 1272, 1800, 1.00235f, 1.0f, 1328, 1099, 1755, 1487},
- {1, 47, 0, 100, 2320, 1272, 1800, 1.00235f, 1.0f, 2093, 1099, 2520, 1487},
- {1, 47, 0, 101, 3089, 1272, 1800, 1.00235f, 1.0f, 2862, 1099, 3289, 1487},
- {1, 37, 0, 65535, 457, 1428, 0, -1.0f, 1.0f, 336, 1366, 578, 1489},
- {1, 37, 0, 65535, 1265, 1428, 0, -1.0f, 1.0f, 1144, 1366, 1386, 1489},
- {1, 37, 0, 65535, 1027, 1428, 0, 1.0f, 1.0f, 906, 1366, 1148, 1489},
- {1, 37, 0, 65535, 1808, 1428, 0, 1.0f, 1.0f, 1687, 1366, 1929, 1489},
- {1, 37, 0, 65535, 2046, 1428, 0, -1.0f, 1.0f, 1925, 1366, 2167, 1489},
- {1, 37, 0, 65535, 2814, 1428, 0, -1.0f, 1.0f, 2693, 1366, 2935, 1489},
- {1, 37, 0, 65535, 2576, 1428, 0, 1.0f, 1.0f, 2455, 1366, 2697, 1489},
- {1, 11, 0, 65535, 742, 1482, 0, 1.17797f, 1.0f, 575, 1476, 908, 1489},
- {1, 11, 0, 65535, 1540, 1482, 0, 1.16922f, 1.0f, 1375, 1476, 1705, 1489},
- {1, 11, 0, 65535, 2311, 1482, 0, 1.0343f, 1.0f, 2166, 1476, 2457, 1489},
- {1, 11, 0, 65535, 3105, 1482, 0, 1.20956f, 1.0f, 2934, 1476, 3275, 1489},
- {1, 11, 0, 65535, 3422, 1482, 0, 1.0526f, 1.0f, 3274, 1476, 3570, 1489},
- {2, 0, 0, 102, 2298, 1517, 0, 1.0f, 1.0f, 2105, 1485, 2490, 1549},
- {2, 3, 0, 103, 3225, 1305, 9000, 0.524398f, 0.524398f, 3171, 1273, 3280, 1337},
- {2, 3, 0, 104, 3076, 1449, 0, 0.524398f, 0.524398f, 3044, 1395, 3108, 1503},
- {2, 3, 0, 105, 2929, 1305, 9000, 0.524398f, 0.524398f, 2875, 1273, 2984, 1337},
- {2, 3, 0, 106, 3076, 1162, 0, 0.524398f, 0.524398f, 3044, 1108, 3108, 1216},
- {0, 74, 0, 65535, 1467, 1670, 27000, 1.0f, 5.86131f, -113, 1545, 3152, 1795},
- {0, 70, 0, 65535, 526, 1835, 0, 1.0f, 1.46267f, 437, 1319, 615, 2393},
- {0, 70, 0, 65535, 969, 1764, 0, 0.536352f, 1.47579f, 920, 1243, 1016, 2326},
- {0, 70, 0, 65535, 1123, 1462, 0, 0.536352f, 1.47579f, 1075, 941, 1171, 2025},
- {0, 70, 0, 65535, 1283, 1167, 0, 0.536352f, 1.47579f, 1234, 646, 1330, 1730},
- {0, 70, 0, 65535, 1557, 1167, 0, 0.536352f, 1.47579f, 1508, 646, 1604, 1730},
- {0, 70, 0, 65535, 1793, 1167, 0, 0.536352f, 1.47579f, 1744, 646, 1840, 1730},
- {0, 70, 0, 65535, 2033, 1256, 0, 0.536352f, 1.47579f, 1984, 735, 2080, 1819},
- {0, 70, 0, 65535, 2272, 1348, 0, 0.536352f, 1.47579f, 2223, 827, 2319, 1911},
- {0, 74, 0, 65535, 2982, 1548, 27000, 3.44251f, 1.94022f, 2458, 1117, 3540, 1975},
- {0, 80, 0, 65535, 668, 1728, 34851, 0.678775f, 1.0f, 568, 1363, 761, 2093},
- {0, 80, 0, 65535, 1041, 1712, 35341, 0.678774f, 1.0f, 972, 1344, 1103, 2080},
- {0, 80, 0, 65535, 1190, 1432, 35341, 0.823925f, 1.0f, 1115, 1063, 1256, 1801},
- {0, 80, 0, 65535, 1363, 1264, 35341, 0.823926f, 1.34057f, 1274, 772, 1444, 1757},
- {0, 80, 0, 65535, 1638, 1246, 35341, 0.823926f, 1.34057f, 1549, 753, 1719, 1739},
- {0, 80, 0, 65535, 1873, 1247, 35341, 0.823926f, 1.34057f, 1784, 754, 1954, 1740},
- {0, 80, 0, 65535, 2113, 1345, 35341, 0.823926f, 1.34057f, 2024, 852, 2194, 1838},
- {0, 80, 0, 65535, 2352, 1434, 35341, 0.823926f, 1.34057f, 2263, 941, 2433, 1927},
- {0, 80, 0, 65535, 1058, 1582, 18659, 0.823926f, -1.0f, 991, 1213, 1133, 1951},
- {0, 80, 0, 65535, 1218, 1358, 18659, 0.823926f, -1.0f, 1151, 989, 1293, 1727},
- {0, 80, 0, 65535, 1489, 1346, 18659, 0.823926f, -1.0f, 1422, 977, 1564, 1715},
- {0, 80, 0, 65535, 1728, 1263, 18659, 0.823926f, -1.0f, 1661, 894, 1803, 1632},
- {0, 80, 0, 65535, 1962, 1359, 18659, 0.823926f, -1.0f, 1895, 990, 2037, 1728},
- {0, 80, 0, 65535, 2243, 1449, 17967, 0.823926f, -1.0f, 2210, 1080, 2278, 1816},
- {0, 74, 0, 65535, 1864, 1428, 27000, 1.43381f, 2.37716f, 1223, 1248, 2548, 1606},
- {0, 80, 0, 65535, 1558, 1245, 26993, 1.58537f, 0.883007f, 1233, 1183, 1883, 1307},
- {0, 80, 0, 65535, 943, 1566, 26993, 1.58537f, 0.92598f, 601, 1505, 1283, 1629},
- {0, 80, 0, 65535, -241, 1436, 30331, 1.58537f, 0.92598f, -561, 1210, 68, 1675},
- {0, 74, 0, 65535, -367, 1582, 30384, 1.4128f, 1.21852f, -737, 1252, 22, 1923},
- {0, 80, 0, 65535, 2138, 1245, 26993, 1.58537f, 0.883007f, 1813, 1183, 2463, 1307},
- {0, 80, 0, 65535, 3211, 1106, 26021, 1.58537f, 0.883007f, 2882, 1005, 3541, 1222},
- {5, 255, 0, 65535, 2699, 1055, 0, 162.0f, 90.0f, 2618, 1010, 2781, 1101},
- {1, 11, 0, 65535, 2679, 1111, 0, 1.58544f, 1.0f, 2455, 1105, 2902, 1117},
- {1, 11, 0, 65535, 234, 1545, 0, 1.58544f, 1.0f, 11, 1538, 458, 1551},
- {1, 11, 0, 65535, 968, 1359, 29000, 1.0f, 1.0f, 914, 1224, 1023, 1493},
- {1, 11, 0, 65535, 1122, 1063, 29000, 1.0f, 1.0f, 1067, 929, 1176, 1198},
- {1, 11, 0, 65535, 1278, 769, 29000, 1.0f, 1.0f, 1224, 634, 1332, 903},
- {1, 11, 0, 65535, 531, 1430, 30404, 1.0f, 1.0f, 447, 1310, 615, 1551},
- {1, 11, 0, 65535, 1554, 770, 29000, 1.0f, 1.0f, 1499, 636, 1608, 905},
- {1, 11, 0, 65535, 1788, 769, 29000, 1.0f, 1.0f, 1734, 635, 1843, 904},
- {1, 11, 0, 65535, 2027, 863, 29000, 1.0f, 1.0f, 1973, 728, 2081, 997},
- {1, 11, 0, 65535, 2267, 951, 29000, 1.0f, 1.0f, 2213, 817, 2321, 1086},
- {0, 74, 0, 65535, 259, 1638, 0, 2.27363f, 1.0f, -24, 1368, 544, 1925},
- {0, 74, 0, 65535, 1072, 1653, 0, 4.48f, 1.06859f, 516, 1365, 1632, 1961},
- {0, 70, 0, 65535, 518, 1612, 0, 1.0f, 1.0f, 429, 1260, 607, 1994},
- {0, 67, 0, 65535, 1702, 1514, 0, 1.29654f, 1.87662f, 1602, 1369, 1802, 1660},
- {0, 70, 0, 65535, 934, 1612, 0, 1.0f, 1.0f, 845, 1260, 1023, 1994},
- {0, 70, 0, 65535, 1354, 1612, 0, 1.0f, 1.0f, 1265, 1260, 1443, 1994},
- {0, 70, 0, 65535, 698, 1612, 0, -1.06215f, 1.0f, 604, 1260, 793, 1994},
- {0, 70, 0, 65535, 1114, 1612, 0, -1.06215f, 1.0f, 1020, 1260, 1209, 1994},
- {0, 70, 0, 65535, 1536, 1612, 0, -1.08475f, 1.0f, 1440, 1260, 1633, 1994},
- {0, 72, 0, 107, 1662, 814, 0, 1.0f, -1.0f, 1543, 462, 1779, 1138},
- {0, 72, 0, 108, 1244, 814, 0, 1.0f, -1.0f, 1126, 462, 1362, 1138},
- {0, 72, 0, 109, 828, 814, 0, 1.0f, -1.0f, 710, 462, 946, 1138},
- {0, 67, 0, 65535, 1976, 1515, 0, 2.83453f, 1.87662f, 1758, 1369, 2195, 1661},
- {0, 67, 0, 65535, 2785, 1535, 0, 1.50626f, 1.87662f, 2668, 1389, 2901, 1681},
- {0, 67, 0, 65535, 3980, 1704, 0, 14.2196f, 1.87662f, 2884, 1558, 5075, 1850},
- {0, 67, 0, 65535, 2408, 1678, 0, 4.36253f, 1.87662f, 2072, 1532, 2745, 1824},
- {0, 74, 0, 65535, -220, 1487, 0, 2.66301f, 0.843279f, -551, 1260, 113, 1730},
- {0, 68, 0, 65535, 228, 1324, 18000, 0.502081f, -0.489299f, 107, 1260, 349, 1387},
- {0, 64, 0, 65535, 1933, 1192, 0, 1.0f, 1.0f, 1792, 1001, 2073, 1384},
- {0, 64, 0, 65535, 2260, 1353, 18000, 1.0f, -1.0f, 2119, 1162, 2400, 1545},
- {0, 64, 0, 65535, 2540, 1467, 9000, 0.571834f, -0.712812f, 2403, 1387, 2677, 1548},
- {0, 80, 0, 65535, 2080, 1350, 35557, 0.489802f, 0.66805f, 2042, 1104, 2114, 1596},
- {0, 80, 0, 65535, 2103, 1453, 18564, 0.489803f, 0.668049f, 2064, 1207, 2147, 1700},
- {0, 80, 0, 65535, 3010, 1611, 31941, 1.75603f, 0.668049f, 2798, 1391, 3209, 1843},
- {0, 80, 0, 65535, 2783, 1408, 27066, 0.795352f, 0.309392f, 2668, 1376, 2897, 1441},
- {0, 80, 0, 65535, 3253, 1554, 27066, 0.795353f, 0.724543f, 2986, 1521, 3520, 1589},
- {0, 80, 0, 65535, 3736, 1526, 26170, 0.795353f, 0.724544f, 3469, 1464, 4004, 1596},
- {0, 80, 0, 65535, 4319, 1513, 27445, 0.795353f, 0.913302f, 3981, 1462, 4655, 1571},
- {0, 80, 0, 65535, 4788, 1540, 26890, 0.795353f, 0.913302f, 4452, 1505, 5125, 1578},
- {0, 67, 0, 65535, 3888, 1678, 35087, 2.10992f, 1.87662f, 3704, 1509, 4072, 1848},
- {0, 67, 0, 65535, 4288, 1677, 452, 3.99801f, 1.87662f, 3969, 1507, 4606, 1845},
- {0, 80, 0, 65535, -297, 1276, 27066, 0.795353f, 0.724544f, -564, 1243, -30, 1310},
- {1, 13, 0, 65535, 422, 1368, 0, 1.02128f, 1.0f, 350, 1362, 494, 1374},
- {1, 13, 0, 65535, 1675, 1368, 0, 1.69267f, 1.0f, 1555, 1362, 1794, 1374},
- {1, 44, 0, 65535, 606, 1309, 0, 1.00412f, 1.0f, 485, 1244, 728, 1374},
- {1, 44, 0, 65535, 1024, 1309, 0, 1.00412f, 1.0f, 903, 1244, 1146, 1374},
- {1, 44, 0, 65535, 1442, 1309, 0, 1.00412f, 1.0f, 1321, 1244, 1564, 1374},
- {1, 12, 0, 65535, 816, 1368, 0, 1.02103f, 1.0f, 720, 1362, 912, 1374},
- {1, 12, 0, 65535, 1233, 1368, 0, 1.02458f, 1.0f, 1137, 1362, 1330, 1374},
- {5, 255, 0, 65535, 4197, 1226, 0, 162.0f, 90.0f, 4115, 1181, 4278, 1272},
- {1, 44, 0, 110, 828, 1085, 0, 1.00412f, -1.0f, 706, 1020, 949, 1150},
- {1, 44, 0, 111, 1664, 1085, 0, 1.00412f, -1.0f, 1542, 1020, 1785, 1150},
- {1, 44, 0, 112, 1246, 1085, 0, 1.00412f, -1.0f, 1124, 1020, 1367, 1150},
- {1, 14, 0, 65535, 1930, 1185, 0, 1.0f, 1.0f, 1790, 996, 2069, 1374},
- {1, 14, 0, 65535, 2263, 1345, 18000, 1.0f, -1.0f, 2124, 1156, 2403, 1534},
- {1, 15, 0, 65535, 2536, 1461, 2645, 1.0f, 1.00394f, 2397, 1383, 2676, 1540},
- {1, 55, 0, 65535, 2883, 1297, 0, 1.0f, 1.0f, 2841, 1290, 2925, 1303},
- {1, 55, 2, 113, 2968, 1297, 0, 1.0f, 1.0f, 2926, 1290, 3010, 1303},
- {1, 55, 2, 114, 3138, 1297, 0, 1.0f, 1.0f, 3096, 1290, 3180, 1303},
- {1, 55, 2, 115, 3053, 1297, 0, 1.0f, 1.0f, 3011, 1290, 3095, 1303},
- {1, 55, 2, 116, 3393, 1297, 0, 1.0f, 1.0f, 3351, 1290, 3435, 1303},
- {1, 55, 2, 117, 3308, 1297, 0, 1.0f, 1.0f, 3266, 1290, 3350, 1303},
- {1, 55, 2, 118, 3223, 1297, 0, 1.0f, 1.0f, 3181, 1290, 3265, 1303},
- {1, 55, 2, 119, 3478, 1297, 0, 1.0f, 1.0f, 3436, 1290, 3520, 1303},
- {1, 55, 2, 120, 3733, 1297, 0, 1.0f, 1.0f, 3691, 1290, 3775, 1303},
- {1, 55, 2, 121, 3563, 1297, 0, 1.0f, 1.0f, 3521, 1290, 3605, 1303},
- {1, 55, 2, 122, 3648, 1297, 0, 1.0f, 1.0f, 3606, 1290, 3690, 1303},
- {1, 55, 2, 123, 3818, 1297, 0, 1.0f, 1.0f, 3776, 1290, 3860, 1303},
- {1, 55, 2, 124, 4243, 1297, 0, 1.0f, 1.0f, 4201, 1290, 4285, 1303},
- {1, 55, 2, 125, 3988, 1297, 0, 1.0f, 1.0f, 3946, 1290, 4030, 1303},
- {1, 55, 2, 126, 4158, 1297, 0, 1.0f, 1.0f, 4116, 1290, 4200, 1303},
- {1, 55, 2, 127, 4073, 1297, 0, 1.0f, 1.0f, 4031, 1290, 4115, 1303},
- {1, 55, 2, 128, 3903, 1297, 0, 1.0f, 1.0f, 3861, 1290, 3945, 1303},
- {1, 37, 0, 65535, 231, 1313, 18000, 1.0f, -1.0f, 110, 1252, 352, 1374},
- {1, 13, 0, 65535, 39, 1258, 0, 1.02128f, 1.0f, -34, 1252, 111, 1265},
- {1, 11, 0, 129, 712, 809, 9000, 1.56425f, 1.0f, 705, 588, 718, 1029},
- {1, 11, 0, 130, 943, 809, 9000, 1.56425f, 1.0f, 936, 588, 949, 1029},
- {1, 11, 0, 131, 1131, 809, 9000, 1.56425f, 1.0f, 1124, 588, 1137, 1029},
- {1, 11, 0, 132, 1361, 809, 9000, 1.56425f, 1.0f, 1354, 588, 1367, 1029},
- {1, 11, 0, 133, 1548, 809, 9000, 1.56425f, 1.0f, 1541, 588, 1554, 1029},
- {1, 11, 0, 134, 1779, 809, 9000, 1.56425f, 1.0f, 1772, 588, 1785, 1029},
- {0, 74, 0, 65535, 1894, 1713, 27000, 1.0f, 8.01837f, -268, 1588, 4199, 1838},
- {0, 74, 0, 65535, 3142, 1639, 27000, 1.0f, 2.16124f, 2560, 1514, 3764, 1764},
- {0, 74, 0, 65535, 3819, 1426, 18000, 3.2145f, 2.16124f, 3416, 805, 4218, 2009},
- {0, 74, 0, 65535, -294, 1595, 13527, 3.2145f, 2.16124f, -1016, 873, 400, 2293},
- {0, 80, 0, 65535, 3428, 1173, 18000, 1.0f, -1.0f, 3389, 805, 3467, 1541},
- {0, 80, 0, 65535, 3332, 1471, 20858, 2.06201f, -1.0f, 3103, 1119, 3579, 1832},
- {0, 80, 0, 65535, 3395, 1477, 25365, 1.98355f, 1.0f, 3025, 1318, 3769, 1655},
- {0, 80, 0, 65535, 2211, 1550, 27000, 1.0f, -1.0f, 1844, 1511, 2580, 1590},
- {0, 80, 0, 65535, 1494, 1617, 25941, 1.0f, -1.0f, 1128, 1520, 1864, 1723},
- {0, 74, 0, 65535, 497, 1766, 18000, 3.05995f, 0.864082f, 114, 1517, 877, 2000},
- {0, 74, 0, 65535, 1000, 1586, 13474, 1.2222f, 0.740869f, 741, 1328, 1249, 1835},
- {0, 64, 0, 65535, 452, 1431, 9000, 0.677617f, 0.706905f, 316, 1336, 587, 1526},
- {0, 80, 0, 65535, 1224, 1602, 27000, 1.0f, -1.0f, 856, 1563, 1592, 1641},
- {0, 80, 0, 65535, -10, 1277, 31455, 1.0f, -1.01592f, -303, 995, 277, 1568},
- {0, 74, 0, 65535, 1031, 1499, 16392, 0.543616f, 0.40377f, 933, 1368, 1126, 1623},
- {0, 73, 0, 65535, 1214, 1773, 0, 1.0f, 1.0f, 1102, 1478, 1326, 2082},
- {0, 80, 0, 65535, 1500, 1802, 32807, 1.0f, -1.0f, 1273, 1474, 1720, 2135},
- {0, 80, 0, 65535, 1012, 1364, 28914, 0.581502f, -0.182565f, 941, 1325, 1082, 1408},
- {0, 80, 0, 65535, 213, 1753, 20077, 1.0f, -1.0f, 55, 1399, 380, 2111},
- {0, 80, 0, 65535, 4225, 823, 27000, 1.0f, -1.0f, 3858, 784, 4594, 863},
- {5, 255, 0, 65535, 3705, 739, 0, 162.0f, 90.0f, 3623, 694, 3786, 785},
- {1, 11, 0, 65535, 3642, 801, 0, 1.58544f, 1.0f, 3418, 794, 3865, 807},
- {1, 11, 0, 65535, 2783, 1511, 0, 1.58544f, 1.0f, 2560, 1504, 3006, 1517},
- {1, 48, 0, 135, 2374, 1366, 16308, 1.00348f, 1.0f, 2220, 1221, 2511, 1484},
- {1, 48, 0, 65535, 2694, 1366, 16427, 1.00348f, 1.0f, 2541, 1223, 2831, 1483},
- {1, 48, 0, 65535, 2054, 1366, 16308, 1.00348f, 1.0f, 1900, 1221, 2191, 1484},
- {1, 14, 0, 65535, 1722, 1378, 0, 1.0f, 1.0f, 1583, 1189, 1861, 1566},
- {1, 57, 0, 65535, 1568, 1560, 0, 1.0f, 1.0f, 1547, 1553, 1590, 1566},
- {1, 48, 0, 65535, 1224, 1414, 16427, 1.00348f, 1.0f, 1072, 1271, 1362, 1532},
- {3, 81, 0, 65535, 922, 1351, 31500, 1.0f, 1.0f, 888, 1317, 956, 1385},
- {1, 15, 0, 65535, 453, 1425, 9000, 1.0f, 1.00394f, 325, 1331, 580, 1519},
- {1, 12, 0, 65535, 671, 1512, 0, 1.0f, 1.0f, 577, 1506, 766, 1519},
- {1, 12, 0, 65535, 827, 1447, 31500, 1.0f, 1.0f, 755, 1376, 898, 1518},
- {1, 35, 0, 65535, 2383, 713, 0, 1.0f, 1.00433f, 2142, 597, 2624, 830},
- {1, 37, 0, 65535, 3008, 727, 0, 1.0f, 1.0f, 2887, 666, 3129, 789},
- {1, 58, 0, 65535, 3111, 1304, 27000, 1.00235f, 1.00469f, 3003, 1090, 3218, 1519},
- {1, 16, 0, 65535, 1447, 1507, 8255, 1.0f, 1.00521f, 1342, 1447, 1550, 1565},
- {1, 11, 0, 65535, 1769, 1021, 3918, 1.0f, 1.0f, 1656, 927, 1882, 1115},
- {0, 74, 0, 65535, 1937, 1696, 27000, 1.0f, 8.12465f, -253, 1571, 4274, 1821},
- {0, 80, 0, 65535, 2359, 1530, 27000, 1.12505f, 1.06478f, 1966, 1487, 2750, 1575},
- {0, 74, 0, 65535, 144, 1634, 27000, 1.0f, 1.40627f, -236, 1509, 549, 1759},
- {0, 74, 0, 65535, 4066, 1604, 27000, 1.0f, 1.40627f, 3687, 1478, 4471, 1728},
- {0, 80, 0, 65535, -260, 1527, 27000, 1.0f, 1.0f, -628, 1488, 108, 1567},
- {0, 80, 0, 65535, 906, 1540, 27000, 1.0f, 1.0f, 537, 1501, 1273, 1580},
- {0, 80, 0, 65535, 906, 1540, 27000, 1.0f, 1.0f, 537, 1501, 1273, 1580},
- {0, 80, 0, 65535, 1627, 1590, 27788, 1.0f, 1.0f, 1257, 1510, 1995, 1679},
- {0, 80, 0, 65535, 1627, 1590, 27788, 1.0f, 1.0f, 1257, 1510, 1995, 1679},
- {0, 80, 0, 65535, 1622, 1598, 25851, 1.0f, 1.0f, 1255, 1496, 1990, 1710},
- {0, 80, 0, 65535, 1624, 1610, 25851, 1.29814f, 1.0f, 1256, 1499, 1994, 1733},
- {0, 80, 0, 65535, 3219, 1532, 27000, 1.12505f, 1.28404f, 2746, 1488, 3691, 1576},
- {0, 80, 0, 65535, 4601, 1505, 27000, 1.12505f, 1.28404f, 4128, 1461, 5072, 1549},
- {5, 255, 0, 65535, 3854, 1418, 0, 162.0f, 90.0f, 3772, 1372, 3935, 1463},
- {1, 11, 0, 65535, 3910, 1478, 0, 1.58544f, 1.0f, 3687, 1472, 4134, 1485},
- {1, 11, 0, 65535, 328, 1508, 0, 1.58544f, 1.0f, 105, 1502, 551, 1515},
- {1, 57, 0, 65535, 556, 1493, 29899, 1.0f, 1.0f, 540, 1471, 572, 1514},
- {1, 57, 0, 65535, 582, 1477, 35899, 1.0f, 1.0f, 560, 1470, 603, 1484},
- {1, 57, 0, 65535, 634, 1446, 35899, 1.0f, 1.0f, 612, 1439, 656, 1453},
- {1, 57, 0, 65535, 608, 1461, 29899, 1.0f, 1.0f, 592, 1439, 624, 1483},
- {1, 57, 0, 65535, 685, 1415, 35899, 1.0f, 1.0f, 664, 1408, 707, 1422},
- {1, 57, 0, 65535, 660, 1430, 29899, 1.0f, 1.0f, 644, 1408, 676, 1452},
- {1, 57, 0, 65535, 738, 1383, 35899, 1.0f, 1.0f, 716, 1376, 759, 1390},
- {1, 57, 0, 65535, 712, 1399, 29899, 1.0f, 1.0f, 696, 1377, 728, 1421},
- {1, 57, 0, 65535, 790, 1352, 35899, 1.0f, 1.0f, 768, 1345, 812, 1359},
- {1, 57, 0, 65535, 764, 1367, 29899, 1.0f, 1.0f, 748, 1346, 780, 1389},
- {1, 57, 0, 65535, 841, 1321, 35899, 1.0f, 1.0f, 820, 1314, 863, 1328},
- {1, 57, 0, 65535, 816, 1336, 29899, 1.0f, 1.0f, 800, 1315, 832, 1358},
- {1, 57, 0, 65535, 893, 1290, 35899, 1.0f, 1.0f, 871, 1283, 914, 1297},
- {1, 57, 0, 65535, 867, 1306, 29899, 1.0f, 1.0f, 851, 1284, 883, 1327},
- {1, 57, 0, 65535, 998, 1227, 35899, 1.0f, 1.0f, 976, 1220, 1020, 1234},
- {1, 57, 0, 65535, 1049, 1196, 35899, 1.0f, 1.0f, 1028, 1189, 1071, 1203},
- {1, 57, 0, 65535, 946, 1258, 35899, 1.0f, 1.0f, 924, 1252, 967, 1265},
- {1, 57, 0, 65535, 1024, 1212, 29899, 1.0f, 1.0f, 1008, 1190, 1040, 1233},
- {1, 57, 0, 65535, 1128, 1149, 29899, 1.0f, 1.0f, 1112, 1127, 1144, 1170},
- {1, 57, 0, 65535, 1180, 1118, 29899, 1.0f, 1.0f, 1164, 1096, 1196, 1140},
- {1, 57, 0, 65535, 1205, 1102, 35899, 1.0f, 1.0f, 1184, 1095, 1227, 1109},
- {1, 57, 0, 65535, 1076, 1180, 29899, 1.0f, 1.0f, 1060, 1158, 1092, 1202},
- {1, 57, 0, 65535, 972, 1242, 29899, 1.0f, 1.0f, 956, 1221, 988, 1264},
- {1, 57, 0, 65535, 1102, 1165, 35899, 1.0f, 1.0f, 1080, 1158, 1123, 1172},
- {1, 57, 0, 65535, 1154, 1133, 35899, 1.0f, 1.0f, 1132, 1126, 1176, 1140},
- {1, 57, 0, 65535, 1231, 1087, 29899, 1.0f, 1.0f, 1215, 1065, 1247, 1109},
- {1, 57, 0, 65535, 1257, 1071, 35899, 1.0f, 1.0f, 1235, 1065, 1278, 1078},
- {1, 57, 0, 65535, 920, 1274, 29899, 1.0f, 1.0f, 904, 1252, 936, 1296},
- {1, 57, 0, 65535, 1404, 1223, 6097, 1.0f, 1.0f, 1388, 1202, 1420, 1245},
- {1, 57, 0, 65535, 1455, 1254, 6097, 1.0f, 1.0f, 1440, 1232, 1471, 1276},
- {1, 57, 0, 65535, 1352, 1192, 6097, 1.0f, 1.0f, 1336, 1170, 1368, 1214},
- {1, 57, 0, 65535, 1430, 1239, 97, 1.0f, 1.0f, 1408, 1232, 1451, 1246},
- {1, 57, 0, 65535, 1534, 1302, 97, 1.0f, 1.0f, 1513, 1295, 1556, 1308},
- {1, 57, 0, 65535, 1586, 1332, 97, 1.0f, 1.0f, 1564, 1326, 1607, 1339},
- {1, 57, 0, 65535, 1612, 1348, 6097, 1.0f, 1.0f, 1596, 1326, 1627, 1370},
- {1, 57, 0, 65535, 1482, 1270, 97, 1.0f, 1.0f, 1460, 1263, 1504, 1277},
- {1, 57, 0, 65535, 1378, 1208, 97, 1.0f, 1.0f, 1357, 1201, 1400, 1215},
- {1, 57, 0, 65535, 1508, 1286, 6097, 1.0f, 1.0f, 1492, 1264, 1524, 1307},
- {1, 57, 0, 65535, 1560, 1317, 6097, 1.0f, 1.0f, 1544, 1295, 1576, 1339},
- {1, 57, 0, 65535, 1637, 1363, 97, 1.0f, 1.0f, 1616, 1356, 1659, 1370},
- {1, 57, 0, 65535, 1663, 1379, 6097, 1.0f, 1.0f, 1647, 1357, 1679, 1400},
- {1, 57, 0, 65535, 1326, 1176, 97, 1.0f, 1.0f, 1304, 1170, 1348, 1183},
- {1, 57, 0, 65535, 1738, 1465, 34429, 1.0f, 1.0f, 1716, 1453, 1761, 1477},
- {1, 57, 0, 65535, 1780, 1422, 34429, 1.0f, 1.0f, 1758, 1410, 1803, 1434},
- {1, 57, 0, 65535, 1696, 1509, 34429, 1.0f, 1.0f, 1673, 1497, 1718, 1521},
- {1, 57, 0, 65535, 1759, 1444, 28429, 1.0f, 1.0f, 1748, 1421, 1771, 1466},
- {1, 57, 0, 65535, 1844, 1356, 28429, 1.0f, 1.0f, 1833, 1334, 1856, 1379},
- {1, 57, 0, 65535, 1886, 1313, 28429, 1.0f, 1.0f, 1875, 1291, 1898, 1336},
- {1, 57, 0, 65535, 1907, 1292, 34429, 1.0f, 1.0f, 1885, 1280, 1930, 1304},
- {1, 57, 0, 65535, 1802, 1400, 28429, 1.0f, 1.0f, 1790, 1378, 1813, 1422},
- {1, 57, 0, 65535, 1717, 1487, 28429, 1.0f, 1.0f, 1706, 1464, 1729, 1509},
- {1, 57, 0, 65535, 1823, 1378, 34429, 1.0f, 1.0f, 1800, 1366, 1845, 1390},
- {1, 57, 0, 65535, 1865, 1335, 34429, 1.0f, 1.0f, 1843, 1323, 1888, 1347},
- {1, 57, 0, 65535, 1928, 1270, 28429, 1.0f, 1.0f, 1917, 1248, 1940, 1293},
- {1, 57, 0, 65535, 1949, 1249, 34429, 1.0f, 1.0f, 1927, 1237, 1971, 1261},
- {1, 57, 0, 65535, 1675, 1530, 28429, 1.0f, 1.0f, 1663, 1508, 1686, 1553},
- {1, 57, 0, 65535, 2345, 1482, 33097, 1.0f, 1.0f, 2323, 1466, 2366, 1498},
- {1, 57, 0, 65535, 2103, 1478, 33097, 1.0f, 1.0f, 2081, 1462, 2124, 1494},
- {1, 57, 0, 65535, 2133, 1479, 3097, 1.0f, 1.0f, 2111, 1462, 2154, 1495},
- {1, 57, 0, 65535, 2194, 1480, 3097, 1.0f, 1.0f, 2172, 1463, 2215, 1496},
- {1, 57, 0, 65535, 2255, 1481, 3097, 1.0f, 1.0f, 2233, 1464, 2276, 1497},
- {1, 57, 0, 65535, 2225, 1480, 33097, 1.0f, 1.0f, 2203, 1464, 2246, 1496},
- {1, 57, 0, 65535, 2043, 1477, 33097, 1.0f, 1.0f, 2021, 1461, 2064, 1493},
- {1, 57, 0, 65535, 2285, 1481, 33097, 1.0f, 1.0f, 2263, 1465, 2306, 1497},
- {1, 57, 0, 65535, 2375, 1483, 3097, 1.0f, 1.0f, 2353, 1466, 2396, 1499},
- {1, 57, 0, 65535, 2315, 1482, 3097, 1.0f, 1.0f, 2293, 1465, 2336, 1498},
- {1, 57, 0, 65535, 2164, 1479, 33097, 1.0f, 1.0f, 2142, 1463, 2185, 1495},
- {1, 57, 0, 65535, 2073, 1478, 3097, 1.0f, 1.0f, 2051, 1461, 2094, 1494},
- {1, 57, 0, 65535, 1982, 1476, 33097, 1.0f, 1.0f, 1960, 1460, 2003, 1492},
- {1, 57, 0, 65535, 2012, 1476, 3097, 1.0f, 1.0f, 1990, 1460, 2033, 1493},
- {1, 57, 0, 65535, 2719, 1312, 30279, 1.0f, 1.0f, 2702, 1290, 2736, 1333},
- {1, 57, 0, 65535, 2504, 1422, 30279, 1.0f, 1.0f, 2487, 1401, 2521, 1444},
- {1, 57, 0, 65535, 2531, 1408, 279, 1.0f, 1.0f, 2509, 1401, 2552, 1416},
- {1, 57, 0, 65535, 2585, 1381, 279, 1.0f, 1.0f, 2563, 1373, 2607, 1388},
- {1, 57, 0, 65535, 2639, 1353, 279, 1.0f, 1.0f, 2617, 1345, 2661, 1360},
- {1, 57, 0, 65535, 2612, 1366, 30279, 1.0f, 1.0f, 2595, 1345, 2629, 1388},
- {1, 57, 0, 65535, 2450, 1450, 30279, 1.0f, 1.0f, 2434, 1428, 2467, 1471},
- {1, 57, 0, 65535, 2666, 1339, 30279, 1.0f, 1.0f, 2649, 1318, 2683, 1360},
- {1, 57, 0, 65535, 2746, 1298, 279, 1.0f, 1.0f, 2724, 1290, 2767, 1305},
- {1, 57, 0, 65535, 2692, 1325, 279, 1.0f, 1.0f, 2671, 1318, 2714, 1333},
- {1, 57, 0, 65535, 2558, 1394, 30279, 1.0f, 1.0f, 2541, 1373, 2575, 1416},
- {1, 57, 0, 65535, 2477, 1436, 279, 1.0f, 1.0f, 2455, 1428, 2499, 1443},
- {1, 57, 0, 65535, 2396, 1478, 30279, 1.0f, 1.0f, 2379, 1456, 2413, 1499},
- {1, 57, 0, 65535, 2423, 1464, 279, 1.0f, 1.0f, 2401, 1456, 2445, 1471},
- {1, 57, 0, 65535, 2990, 1000, 27871, 1.0f, 1.0f, 2981, 978, 3000, 1022},
- {1, 57, 0, 65535, 2839, 1189, 27871, 1.0f, 1.0f, 2830, 1167, 2849, 1211},
- {1, 57, 0, 65535, 2858, 1165, 33871, 1.0f, 1.0f, 2836, 1152, 2880, 1179},
- {1, 57, 0, 65535, 2896, 1118, 33871, 1.0f, 1.0f, 2874, 1104, 2918, 1132},
- {1, 57, 0, 65535, 2934, 1070, 33871, 1.0f, 1.0f, 2912, 1057, 2956, 1084},
- {1, 57, 0, 65535, 2915, 1094, 27871, 1.0f, 1.0f, 2906, 1072, 2925, 1116},
- {1, 57, 0, 65535, 2802, 1236, 27871, 1.0f, 1.0f, 2792, 1214, 2811, 1258},
- {1, 57, 0, 65535, 2953, 1047, 27871, 1.0f, 1.0f, 2943, 1025, 2963, 1069},
- {1, 57, 0, 65535, 3009, 977, 33871, 1.0f, 1.0f, 2987, 963, 3031, 990},
- {1, 57, 0, 65535, 2972, 1023, 33871, 1.0f, 1.0f, 2949, 1010, 2994, 1037},
- {1, 57, 0, 65535, 2877, 1141, 27871, 1.0f, 1.0f, 2868, 1119, 2887, 1163},
- {1, 57, 0, 65535, 2820, 1212, 33871, 1.0f, 1.0f, 2798, 1199, 2843, 1226},
- {1, 57, 0, 65535, 2763, 1283, 27871, 1.0f, 1.0f, 2754, 1261, 2773, 1305},
- {1, 57, 0, 65535, 2782, 1260, 33871, 1.0f, 1.0f, 2760, 1246, 2804, 1274},
- {1, 57, 0, 65535, 3324, 1385, 2120, 1.0f, 1.0f, 3302, 1372, 3347, 1399},
- {1, 57, 0, 65535, 3173, 1197, 2120, 1.0f, 1.0f, 3151, 1183, 3195, 1211},
- {1, 57, 0, 65535, 3192, 1220, 8120, 1.0f, 1.0f, 3182, 1198, 3201, 1242},
- {1, 57, 0, 65535, 3230, 1268, 8120, 1.0f, 1.0f, 3220, 1246, 3239, 1290},
- {1, 57, 0, 65535, 3268, 1315, 8120, 1.0f, 1.0f, 3258, 1293, 3278, 1337},
- {1, 57, 0, 65535, 3249, 1292, 2120, 1.0f, 1.0f, 3227, 1278, 3271, 1306},
- {1, 57, 0, 65535, 3135, 1150, 2120, 1.0f, 1.0f, 3113, 1136, 3157, 1164},
- {1, 57, 0, 65535, 3287, 1339, 2120, 1.0f, 1.0f, 3265, 1325, 3309, 1352},
- {1, 57, 0, 65535, 3343, 1409, 8120, 1.0f, 1.0f, 3334, 1387, 3353, 1431},
- {1, 57, 0, 65535, 3306, 1362, 8120, 1.0f, 1.0f, 3296, 1340, 3315, 1384},
- {1, 57, 0, 65535, 3211, 1244, 2120, 1.0f, 1.0f, 3189, 1231, 3233, 1258},
- {1, 57, 0, 65535, 3154, 1173, 8120, 1.0f, 1.0f, 3144, 1151, 3164, 1196},
- {1, 57, 0, 65535, 3097, 1103, 2120, 1.0f, 1.0f, 3075, 1089, 3119, 1116},
- {1, 57, 0, 65535, 3116, 1126, 8120, 1.0f, 1.0f, 3106, 1104, 3125, 1148},
- {1, 57, 0, 65535, 3362, 1423, 35692, 1.0f, 1.0f, 3340, 1415, 3383, 1431},
- {1, 57, 0, 65535, 3415, 1450, 35692, 1.0f, 1.0f, 3393, 1443, 3437, 1458},
- {1, 57, 0, 65535, 3442, 1464, 5692, 1.0f, 1.0f, 3425, 1442, 3459, 1485},
- {1, 57, 0, 65535, 3388, 1437, 5692, 1.0f, 1.0f, 3371, 1415, 3405, 1458},
- {1, 57, 0, 65535, 3525, 1475, 33423, 1.0f, 1.0f, 3503, 1460, 3547, 1490},
- {1, 57, 0, 65535, 3554, 1477, 3423, 1.0f, 1.0f, 3533, 1460, 3576, 1495},
- {1, 57, 0, 65535, 3495, 1473, 3423, 1.0f, 1.0f, 3473, 1456, 3516, 1490},
- {1, 57, 0, 65535, 3465, 1471, 33423, 1.0f, 1.0f, 3443, 1456, 3487, 1486},
- {1, 57, 0, 65535, 3672, 1470, 2578, 1.0f, 1.0f, 3650, 1455, 3694, 1485},
- {1, 57, 0, 65535, 3582, 1477, 32578, 1.0f, 1.0f, 3561, 1460, 3603, 1494},
- {1, 57, 0, 65535, 3612, 1475, 2578, 1.0f, 1.0f, 3590, 1460, 3634, 1490},
- {1, 57, 0, 65535, 3642, 1473, 32578, 1.0f, 1.0f, 3621, 1455, 3663, 1490},
- {0, 74, 0, 65535, 3490, 1598, 27000, 1.0f, 2.61301f, 2785, 1473, 4242, 1723},
- {0, 74, 0, 65535, 1356, 1595, 27000, 1.02756f, 5.24211f, -57, 1466, 2863, 1722},
- {0, 80, 0, 65535, 415, 1140, 34676, 1.07545f, 1.14514f, 277, 722, 542, 1559},
- {0, 80, 0, 65535, 325, -360, 0, 1.0f, 1.0f, 286, -729, 364, 7},
- {0, 80, 0, 65535, 325, 372, 0, 1.0f, 1.0f, 286, 4, 364, 740},
- {0, 80, 0, 65535, 1090, -709, 0, -1.0f, 1.0f, 1051, -1077, 1129, -341},
- {0, 80, 0, 65535, 1090, 25, 0, -1.0f, 1.0f, 1051, -344, 1129, 392},
- {0, 80, 0, 65535, 1090, 758, 0, -1.0f, 1.0f, 1051, 389, 1130, 1125},
- {0, 74, 0, 65535, 129, 275, 0, 1.44444f, 4.17935f, -50, -852, 310, 1477},
- {0, 80, 0, 65535, 1149, 25, 0, 1.0f, -1.0f, 1109, -343, 1188, 393},
- {0, 80, 0, 65535, 1149, 758, 0, 1.0f, -1.0f, 1110, 390, 1188, 1126},
- {0, 80, 0, 65535, 1149, -709, 0, 1.0f, -1.0f, 1109, -1076, 1188, -340},
- {0, 80, 0, 65535, 1121, 1136, 9000, 0.289403f, 0.159512f, 1062, 1124, 1180, 1148},
- {0, 70, 0, 65535, 397, 2221, 0, -1.0f, 3.85692f, 308, 860, 486, 3691},
- {0, 80, 0, 65535, 2857, 1487, 27013, 1.0f, -1.0f, 2490, 1449, 3226, 1528},
- {0, 80, 0, 65535, 2124, 1487, 27013, 1.0f, -1.0f, 1757, 1448, 2493, 1527},
- {0, 80, 0, 65535, 1391, 1485, 27013, 1.0f, -1.0f, 1023, 1446, 1759, 1525},
- {0, 80, 0, 65535, 4323, 1488, 27013, 1.0f, -1.0f, 3955, 1449, 4691, 1528},
- {0, 80, 0, 65535, 3590, 1486, 27013, 1.0f, -1.0f, 3222, 1448, 3958, 1527},
- {0, 64, 0, 65535, 593, 1286, 18000, 1.0f, -1.0f, 452, 1095, 733, 1478},
- {5, 255, 0, 65535, 3813, 1321, 0, 162.0f, 90.0f, 3731, 1276, 3894, 1367},
- {1, 11, 0, 65535, 3792, 1386, 0, 1.58544f, 1.0f, 3569, 1380, 4016, 1392},
- {1, 8, 1, 65535, 885, 678, 0, 1.00457f, 1.0f, 774, 569, 996, 789},
- {1, 8, 1, 65535, 584, 926, 0, 1.00457f, 1.0f, 473, 817, 695, 1037},
- {1, 8, 1, 65535, 885, 1158, 0, 1.00457f, 1.0f, 774, 1049, 996, 1269},
- {1, 14, 0, 65535, 600, 1281, 0, -1.0f, 1.0f, 461, 1092, 740, 1470},
- {1, 11, 0, 65535, 877, 1464, 0, 1.0f, 1.0f, 736, 1457, 1018, 1470},
- {1, 8, 0, 65535, 1116, 1510, 0, 1.00457f, 1.0f, 1005, 1400, 1227, 1620},
- {1, 8, 0, 65535, 1314, 1437, 0, 1.00457f, 1.0f, 1203, 1328, 1425, 1548},
- {1, 8, 0, 65535, 1500, 1338, 0, 1.00457f, 1.0f, 1389, 1228, 1611, 1448},
- {1, 8, 0, 65535, 1654, 1199, 0, 1.00457f, 1.0f, 1543, 1089, 1765, 1309},
- {1, 8, 1, 65535, 584, 446, 0, 1.00457f, 1.0f, 473, 337, 695, 557},
- {1, 8, 1, 65535, 885, 198, 0, 1.00457f, 1.0f, 774, 89, 996, 309},
- {1, 8, 1, 65535, 584, -34, 0, 1.00457f, 1.0f, 473, -143, 695, 77},
- {1, 8, 0, 65535, 1954, 1313, 0, 1.00457f, 1.0f, 1843, 1203, 2065, 1423},
- {1, 8, 0, 65535, 2415, 1179, 0, 1.00457f, 1.0f, 2304, 1070, 2526, 1290},
- {1, 8, 0, 65535, 2225, 1268, 0, 1.00457f, 1.0f, 2114, 1159, 2336, 1379},
- {1, 8, 0, 65535, 2835, 1266, 0, 1.00457f, 1.0f, 2724, 1156, 2946, 1376},
- {1, 8, 0, 65535, 3085, 1171, 0, 1.00457f, 1.0f, 2974, 1062, 3196, 1282},
- {1, 8, 0, 65535, 3382, 1301, 0, 1.00457f, 1.0f, 3271, 1192, 3493, 1412},
- {0, 74, 0, 65535, 4298, 1601, 27000, 1.72913f, 1.59967f, 3866, 1384, 4758, 1816},
- {0, 74, 0, 65535, 1164, 1684, 27000, 1.0784f, 5.24211f, -249, 1549, 2671, 1818},
- {0, 80, 0, 65535, 772, 1554, 27000, 1.0f, 1.0f, 404, 1515, 1140, 1594},
- {0, 74, 0, 65535, 3334, 1692, 27000, 1.0f, 3.38366f, 2421, 1566, 4307, 1816},
- {0, 80, 0, 65535, 1505, 1555, 27000, 1.0f, 1.0f, 1137, 1516, 1873, 1594},
- {0, 80, 0, 65535, 2238, 1555, 27000, 1.0f, 1.0f, 1870, 1516, 2606, 1594},
- {0, 80, 0, 65535, 2971, 1559, 27000, 1.0f, 1.0f, 2602, 1520, 3338, 1598},
- {0, 80, 0, 65535, 3570, 1504, 25646, 1.0f, 1.0f, 3206, 1389, 3937, 1628},
- {0, 74, 0, 65535, 3734, 1706, 25775, 1.72912f, 0.8242f, 3470, 1444, 4011, 1963},
- {0, 80, 0, 65535, 4676, 1408, 27000, 1.0f, 1.0f, 4307, 1369, 5043, 1448},
- {0, 68, 0, 65535, 290, 1505, 0, 0.487601f, 0.495459f, 172, 1441, 407, 1569},
- {0, 80, 0, 65535, 671, 1698, 30955, 1.0f, 1.0f, 362, 1441, 973, 1962},
- {0, 80, 0, 65535, -378, 1570, 27000, 1.0f, 1.0f, -747, 1531, -11, 1610},
- {5, 255, 0, 65535, 4067, 1317, 0, 162.0f, 90.0f, 3985, 1272, 4148, 1363},
- {1, 11, 0, 65535, 4093, 1382, 0, 1.58544f, 1.0f, 3870, 1376, 4317, 1388},
- {1, 10, 0, 65535, 422, 1489, 0, 1.0f, 1.0f, 363, 1430, 481, 1547},
- {1, 10, 0, 65535, 525, 1468, 0, 1.0f, 1.0f, 466, 1410, 583, 1527},
- {1, 10, 0, 65535, 629, 1439, 0, 1.0f, 1.0f, 570, 1380, 687, 1497},
- {1, 10, 0, 65535, 732, 1404, 0, 1.0f, 1.0f, 673, 1345, 790, 1462},
- {1, 10, 0, 65535, 825, 1353, 0, 1.0f, 1.0f, 766, 1295, 884, 1412},
- {1, 10, 0, 65535, 913, 1298, 0, 1.0f, 1.0f, 854, 1239, 971, 1356},
- {1, 10, 0, 65535, 993, 1233, 0, 1.0f, 1.0f, 934, 1175, 1051, 1292},
- {1, 10, 0, 65535, 1064, 1158, 0, 1.0f, 1.0f, 1005, 1099, 1123, 1216},
- {1, 37, 0, 65535, 293, 1494, 0, 1.0f, 1.0f, 172, 1432, 414, 1555},
- {1, 12, 0, 65535, 79, 1548, 0, 1.0f, 1.0f, -15, 1542, 174, 1555},
- {1, 10, 0, 65535, 1414, 1284, 0, 1.0f, 1.0f, 1355, 1226, 1472, 1342},
- {1, 10, 0, 65535, 1494, 1350, 0, 1.0f, 1.0f, 1435, 1292, 1552, 1408},
- {1, 10, 0, 65535, 1584, 1398, 0, 1.0f, 1.0f, 1525, 1340, 1642, 1456},
- {1, 10, 0, 65535, 1684, 1434, 0, 1.0f, 1.0f, 1625, 1376, 1742, 1492},
- {1, 10, 0, 65535, 1787, 1442, 0, 1.0f, 1.0f, 1728, 1384, 1845, 1500},
- {1, 10, 0, 65535, 1890, 1432, 0, 1.0f, 1.0f, 1831, 1374, 1948, 1490},
- {1, 10, 0, 65535, 1989, 1402, 0, 1.0f, 1.0f, 1930, 1344, 2047, 1460},
- {1, 10, 0, 65535, 2081, 1356, 0, 1.0f, 1.0f, 2022, 1298, 2139, 1414},
- {1, 10, 0, 65535, 2166, 1293, 0, 1.0f, 1.0f, 2107, 1235, 2224, 1351},
- {1, 10, 0, 65535, 2214, 1200, 0, 1.0f, 1.0f, 2155, 1142, 2272, 1258},
- {1, 10, 0, 65535, 2254, 1104, 0, 1.0f, 1.0f, 2195, 1046, 2312, 1162},
- {1, 10, 0, 65535, 2821, 1236, 0, 1.0f, 1.0f, 2762, 1177, 2880, 1294},
- {1, 10, 0, 65535, 2537, 1377, 0, 1.0f, 1.0f, 2478, 1318, 2596, 1435},
- {1, 10, 0, 65535, 2973, 1095, 0, 1.0f, 1.0f, 2914, 1037, 3031, 1154},
- {1, 10, 0, 65535, 2640, 1341, 0, 1.0f, 1.0f, 2581, 1283, 2699, 1400},
- {1, 10, 0, 65535, 2734, 1291, 0, 1.0f, 1.0f, 2675, 1232, 2792, 1349},
- {1, 10, 0, 65535, 2901, 1171, 0, 1.0f, 1.0f, 2842, 1112, 2960, 1229},
- {1, 10, 0, 65535, 3326, 1228, 0, 1.0f, 1.0f, 3267, 1170, 3384, 1286},
- {1, 10, 0, 65535, 3417, 1179, 0, 1.0f, 1.0f, 3358, 1121, 3475, 1237},
- {1, 10, 0, 65535, 3480, 1264, 0, 1.0f, 1.0f, 3421, 1206, 3538, 1322},
- {1, 10, 0, 65535, 3584, 1243, 0, 1.0f, 1.0f, 3525, 1185, 3642, 1301},
- {1, 10, 0, 65535, 3651, 1325, 0, 1.0f, 1.0f, 3592, 1267, 3709, 1383},
- {1, 10, 0, 65535, 3750, 1292, 0, 1.0f, 1.0f, 3691, 1234, 3808, 1350},
- {1, 10, 0, 65535, 3822, 1368, 0, 1.0f, 1.0f, 3763, 1310, 3880, 1426},
- {1, 10, 0, 65535, 1149, 1096, 0, 1.0f, 1.0f, 1090, 1038, 1208, 1154},
- {0, 74, 0, 65535, 3963, 1659, 27000, 1.0f, 4.00892f, 2882, 1533, 5116, 1783},
- {0, 74, 0, 65535, 1386, 1661, 27000, 1.0f, 5.34705f, -55, 1535, 2924, 1785},
- {0, 64, 0, 65535, 499, 1465, 9000, 0.545304f, -0.405683f, 421, 1388, 577, 1542},
- {0, 68, 0, 65535, 1481, 1472, 18000, 0.669566f, -0.671515f, 1320, 1384, 1642, 1558},
- {0, 80, 0, 65535, 951, 1505, 26927, 1.0f, 1.03432f, 570, 1465, 1332, 1550},
- {0, 80, 0, 65535, 628, 1637, 34075, 0.62677f, 0.564077f, 536, 1435, 714, 1841},
- {0, 80, 0, 65535, 1269, 1590, 20037, 0.626769f, 0.564078f, 1179, 1389, 1364, 1794},
- {0, 80, 0, 65535, 2332, 1524, 26927, 1.0f, 1.03432f, 1951, 1484, 2712, 1569},
- {0, 80, 0, 65535, 3086, 1527, 27120, 1.0f, 1.03432f, 2704, 1483, 3467, 1574},
- {0, 80, 0, 65535, 3746, 1522, 26812, 1.0f, 1.03432f, 3364, 1476, 4127, 1574},
- {0, 68, 0, 65535, 4166, 1476, 18000, 0.662447f, -0.660149f, 4006, 1390, 4325, 1561},
- {0, 80, 0, 65535, 3878, 1611, 21576, 0.721467f, 0.692223f, 3712, 1392, 4050, 1835},
- {0, 64, 0, 65535, 1862, 1360, 0, 1.0f, 1.0f, 1722, 1169, 2003, 1552},
- {0, 80, 0, 65535, 2029, 1524, 35102, 0.60309f, 0.727917f, 1963, 1257, 2088, 1792},
- {0, 80, 0, 65535, 4801, 1552, 26812, 1.0f, 1.03432f, 4419, 1506, 5182, 1604},
- {0, 80, 0, 65535, -344, 1563, 26927, 1.0f, 1.03432f, -725, 1523, 36, 1608},
- {0, 74, 0, 65535, 778, 1661, 27000, 1.0f, 5.34705f, -663, 1535, 2316, 1785},
- {5, 255, 0, 65535, 4437, 1288, 0, 162.0f, 90.0f, 4356, 1243, 4519, 1334},
- {1, 11, 0, 65535, 173, 1531, 0, 1.0f, 1.0f, 32, 1525, 314, 1538},
- {1, 17, 0, 65535, 495, 1477, 32121, 1.0f, 1.0f, 394, 1388, 576, 1539},
- {3, 81, 0, 65535, 355, 1531, 0, 1.0f, 1.0f, 313, 1525, 397, 1537},
- {1, 36, 0, 65535, 1480, 1458, 0, -1.0f, 1.0f, 1320, 1379, 1641, 1537},
- {3, 81, 0, 65535, 1682, 1531, 0, 1.0f, 1.0f, 1640, 1525, 1724, 1537},
- {1, 14, 0, 65535, 1860, 1349, 0, 1.0f, 1.0f, 1720, 1160, 1999, 1538},
- {1, 58, 0, 65535, 2241, 1358, 925, 1.00235f, 1.00469f, 2045, 1217, 2470, 1467},
- {1, 17, 0, 65535, 2702, 1271, 0, 1.0f, 1.0f, 2584, 1245, 2818, 1297},
- {1, 19, 0, 65535, 3288, 1337, 0, 1.00826f, 1.0f, 3227, 1321, 3349, 1353},
- {1, 19, 0, 65535, 3784, 1388, 0, 1.00826f, 1.0f, 3723, 1372, 3845, 1404},
- {1, 14, 0, 65535, 4546, 1352, 0, 1.0f, 1.0f, 4406, 1163, 4685, 1541},
- {1, 36, 0, 65535, 4167, 1461, 0, -1.0f, 1.0f, 4006, 1382, 4328, 1541},
- {3, 81, 0, 65535, 4369, 1535, 0, 1.0f, 1.0f, 4327, 1528, 4411, 1540},
- {1, 47, 0, 65535, 4450, 1118, 14622, 1.00235f, -1.0f, 4260, 939, 4687, 1355},
- {1, 55, 0, 65535, 4446, 1348, 0, 1.0f, 1.0f, 4404, 1341, 4488, 1354},
- {0, 74, 0, 65535, 2091, 1668, 9000, 1.09756f, 1.83428f, 1563, 1531, 2585, 1806},
- {0, 74, 0, 65535, 3466, 1675, 9000, 1.04115f, 4.04152f, 2303, 1545, 4555, 1805},
- {0, 80, 0, 65535, 477, 1298, 30679, 1.0f, 1.17131f, 108, 1016, 839, 1587},
- {0, 80, 0, 65535, 2093, 1595, 27875, 1.0f, 1.17131f, 1660, 1501, 2522, 1700},
- {0, 80, 0, 65535, 1242, 1540, 26893, 1.0f, 1.17131f, 810, 1497, 1673, 1587},
- {0, 74, 0, 65535, 4216, 1572, 9000, 1.10636f, 2.1113f, 3608, 1435, 4785, 1711},
- {0, 76, 0, 65535, 2280, 1450, 0, 0.49115f, 0.487841f, 2178, 1369, 2381, 1532},
- {0, 68, 0, 65535, 2405, 1399, 33333, -0.664914f, 0.72213f, 2220, 1370, 2590, 1554},
- {0, 80, 0, 65535, 2581, 1562, 0, 0.196206f, 0.443083f, 2572, 1399, 2589, 1725},
- {0, 80, 0, 65535, 2934, 1542, 26976, 0.405189f, 0.970667f, 2576, 1525, 3291, 1559},
- {0, 80, 0, 65535, 3643, 1538, 26976, 0.405188f, 0.970668f, 3285, 1522, 4000, 1556},
- {0, 80, 0, 65535, 3609, 1607, 17976, 0.244232f, 0.471838f, 3599, 1433, 3619, 1781},
- {0, 80, 0, 65535, 4521, 1446, 26867, 1.0f, 1.17131f, 4090, 1402, 4953, 1496},
- {0, 80, 0, 65535, -428, 1035, 27103, 1.0f, 1.17131f, -860, 991, 3, 1082},
- {0, 74, 0, 65535, 1083, 1699, 9000, 1.09756f, 1.83428f, 556, 1562, 1578, 1837},
- {0, 74, 0, 65535, 381, 1545, 12490, 2.19126f, 1.83428f, -207, 1020, 942, 2053},
- {0, 74, 0, 65535, -344, 1291, 9006, 2.19126f, 1.83428f, -871, 1019, 151, 1566},
- {0, 74, 0, 65535, 2472, 1546, 9000, 1.09756f, 0.403039f, 2355, 1409, 2581, 1684},
- {1, 13, 0, 65535, 76, 1016, 0, 1.08297f, 1.0f, -1, 1010, 153, 1022},
- {5, 255, 0, 65535, 3871, 1375, 0, 162.0f, 90.0f, 3790, 1329, 3953, 1420},
- {1, 12, 0, 65535, 3852, 1433, 0, 2.62148f, 1.0f, 3605, 1426, 4099, 1439},
- {1, 49, 0, 65535, 2281, 1449, 0, 1.00457f, 1.0f, 2170, 1361, 2392, 1538},
- {1, 58, 2, 136, 340, 863, 29151, 1.00235f, 1.00469f, 161, 625, 455, 1038},
- {1, 36, 0, 65535, 2398, 1383, 33514, -1.0f, 1.0f, 2218, 1361, 2577, 1408},
- {1, 60, 6, 137, 2981, 1467, 0, 1.00457f, 1.0f, 2870, 1411, 3092, 1521},
- {1, 59, 6, 138, 2724, 1454, 0, 1.00348f, 1.0f, 2579, 1382, 2869, 1526},
- {1, 59, 6, 139, 3237, 1458, 0, 1.00348f, 1.0f, 3092, 1386, 3382, 1531},
- {1, 60, 6, 140, 3495, 1471, 0, 1.00457f, 1.0f, 3384, 1415, 3606, 1525},
- {0, 80, 0, 65535, 1012, 1611, 27000, 1.0f, 1.32264f, 525, 1572, 1498, 1650},
- {0, 80, 0, 65535, 2004, 1612, 27000, 1.0f, 1.66493f, 1391, 1573, 2616, 1651},
- {0, 80, 0, 65535, 677, 1684, 31882, 1.17229f, 1.0f, 399, 1385, 944, 1991},
- {0, 80, 0, 65535, 2287, 1741, 23659, 1.0f, 1.0f, 1964, 1515, 2615, 1977},
- {0, 68, 0, 65535, 345, 1455, 0, 0.505745f, 0.511249f, 223, 1388, 467, 1520},
- {0, 74, 0, 65535, 3000, 1786, 0, 3.42989f, 1.0f, 2574, 1516, 3429, 2074},
- {0, 74, 0, 65535, 116, 1770, 0, 3.42989f, 1.0f, -309, 1500, 546, 2058},
- {0, 80, 0, 65535, -416, 1525, 27000, 1.0f, 1.32264f, -904, 1486, 70, 1564},
- {0, 80, 0, 65535, 3546, 1543, 27000, 1.0f, 1.32264f, 3059, 1504, 4032, 1582},
- {1, 13, 0, 65535, 145, 1497, 0, 1.08297f, 1.0f, 68, 1491, 222, 1503},
- {5, 255, 0, 65535, 2835, 1457, 0, 162.0f, 90.0f, 2754, 1411, 2917, 1502},
- {1, 12, 0, 65535, 2816, 1515, 0, 2.62148f, 1.0f, 2569, 1508, 3063, 1521},
- {1, 8, 3, 141, 746, 1452, 0, 1.00457f, 1.0f, 635, 1342, 857, 1562},
- {1, 9, 3, 142, 1073, 1492, 0, 1.0f, 1.0f, 997, 1417, 1148, 1568},
- {1, 9, 3, 143, 1242, 1465, 0, 1.0f, 1.0f, 1167, 1390, 1318, 1541},
- {1, 10, 3, 144, 926, 1506, 0, 1.0f, 1.0f, 867, 1447, 984, 1564},
- {1, 8, 3, 145, 1445, 1443, 0, 1.00457f, 1.0f, 1334, 1333, 1556, 1553},
- {1, 9, 3, 146, 1777, 1481, 0, 1.0f, 1.0f, 1702, 1406, 1853, 1556},
- {1, 9, 3, 147, 2168, 1481, 0, 1.0f, 1.0f, 2092, 1406, 2243, 1557},
- {1, 9, 3, 148, 2429, 1485, 0, 1.0f, 1.0f, 2354, 1410, 2505, 1561},
- {1, 10, 3, 149, 2300, 1406, 0, 1.0f, 1.0f, 2241, 1347, 2359, 1464},
- {1, 8, 3, 150, 1972, 1444, 0, 1.00457f, 1.0f, 1861, 1334, 2083, 1554},
- {1, 10, 3, 151, 1626, 1512, 0, 1.0f, 1.0f, 1567, 1453, 1685, 1570},
- {1, 37, 0, 65535, 340, 1442, 0, 1.0f, 1.0f, 219, 1381, 461, 1504},
- {0, 74, 0, 65535, 173, 1295, 0, 0.608f, 1.08981f, 97, 1000, 249, 1609},
- {0, 74, 0, 65535, 3910, 1667, 0, 2.01818f, 1.08981f, 3659, 1372, 4163, 1980},
- {0, 80, 0, 65535, -96, 1596, 27000, 1.0f, 1.0f, -464, 1557, 272, 1635},
- {0, 80, 0, 65535, 637, 1596, 27000, 1.0f, 1.0f, 269, 1557, 1005, 1635},
- {0, 80, 0, 65535, 1369, 1596, 27000, 1.0f, 1.0f, 1001, 1557, 1737, 1635},
- {0, 80, 0, 65535, 2102, 1596, 27000, 1.0f, 1.0f, 1734, 1557, 2470, 1635},
- {0, 80, 0, 65535, 2835, 1596, 27000, 1.0f, 1.0f, 2467, 1557, 3203, 1635},
- {0, 80, 0, 65535, 3568, 1596, 27000, 1.0f, 1.0f, 3200, 1557, 3936, 1635},
- {0, 80, 0, 65535, 3676, 1743, 136, -1.0f, 1.0f, 3633, 1375, 3724, 2112},
- {0, 80, 0, 65535, 115, 1374, 136, -1.0f, 1.0f, 72, 1005, 163, 1742},
- {0, 80, 0, 65535, 249, 1367, 17691, -1.0f, 1.0f, 189, 999, 301, 1737},
- {0, 80, 0, 65535, 4170, 1737, 17691, -1.0f, 1.0f, 4111, 1368, 4222, 2107},
- {0, 80, 0, 65535, 4528, 1596, 27000, 1.0f, 1.0f, 4160, 1557, 4896, 1635},
- {1, 13, 0, 65535, 173, 996, 0, 1.08297f, 1.0f, 96, 990, 250, 1003},
- {5, 255, 0, 65535, 3923, 1311, 0, 162.0f, 90.0f, 3842, 1265, 4005, 1356},
- {1, 12, 0, 65535, 3904, 1369, 0, 2.62148f, 1.0f, 3657, 1362, 4151, 1375},
- {1, 11, 0, 152, 540, 1058, 0, 1.0f, 1.0f, 399, 1051, 681, 1064},
- {1, 11, 0, 153, 1075, 1204, 4500, 1.0f, 1.0f, 971, 1100, 1179, 1308},
- {1, 12, 0, 65535, 3919, 1369, 0, 2.77962f, 1.0f, 3657, 1362, 4180, 1375},
- {1, 11, 0, 154, 1489, 1090, 0, 1.0f, 1.0f, 1348, 1083, 1630, 1096},
- {1, 11, 0, 155, 1976, 1254, 27000, 1.0f, 1.0f, 1969, 1113, 1982, 1395},
- {1, 11, 0, 156, 2227, 1167, 4500, 1.0f, 1.0f, 2123, 1063, 2331, 1271},
- {1, 11, 0, 157, 2891, 1437, 4500, 1.0f, 1.0f, 2787, 1333, 2995, 1541},
- {1, 11, 0, 158, 3098, 1232, 4500, 1.0f, 1.0f, 2994, 1128, 3202, 1336},
- {0, 74, 0, 65535, 378, 1512, 9000, 1.104f, 1.33506f, -7, 1375, 738, 1650},
- {0, 73, 0, 65535, 674, 1540, 0, 1.0f, 1.0f, 562, 1246, 786, 1850},
- {0, 80, 0, 65535, 335, 1334, 34868, 0.812069f, 0.565249f, 262, 1125, 399, 1544},
- {0, 80, 0, 65535, 794, 1401, 0, 0.410256f, 0.410256f, 778, 1250, 810, 1552},
- {0, 80, 0, 65535, 561, 1403, 0, -0.410256f, 0.410256f, 545, 1252, 577, 1554},
- {0, 80, 0, 65535, 602, 1382, 27000, 0.987179f, 0.855535f, 287, 1344, 916, 1421},
- {0, 68, 0, 65535, 1342, 1480, 35843, -0.514661f, 0.529414f, 1216, 1414, 1468, 1551},
- {0, 74, 0, 65535, 847, 1514, 9000, 1.104f, 0.604491f, 673, 1377, 1010, 1652},
- {0, 68, 0, 65535, 1583, 1477, 35843, 0.48967f, 0.478848f, 1466, 1412, 1702, 1542},
- {0, 68, 0, 65535, 1857, 1353, 35439, 0.688029f, 0.543772f, 1697, 1266, 2029, 1439},
- {0, 80, 0, 65535, 1085, 1421, 28312, 0.987179f, 0.488772f, 901, 1351, 1267, 1500},
- {0, 74, 0, 65535, 1249, 1616, 10477, 1.104f, 1.06576f, 918, 1405, 1562, 1823},
- {0, 74, 0, 65535, 1870, 1538, 8626, 0.995921f, 0.614855f, 1685, 1403, 2044, 1674},
- {0, 73, 0, 65535, 2324, 1543, 0, 1.0f, 1.0f, 2212, 1248, 2436, 1852},
- {0, 80, 0, 65535, 2447, 1460, 34935, 0.808189f, 0.523905f, 2380, 1266, 2506, 1656},
- {0, 80, 0, 65535, 2207, 1407, 435, -0.410256f, 0.410256f, 2183, 1255, 2235, 1559},
- {0, 74, 0, 65535, 1558, 1586, 9000, 0.512f, 5.41105f, 1, 1522, 3016, 1650},
- {0, 68, 0, 65535, 2848, 1310, 0, -0.665807f, 0.657908f, 2688, 1224, 3009, 1394},
- {0, 74, 0, 65535, 2859, 1504, 8994, 0.99592f, 0.590673f, 2689, 1379, 3019, 1629},
- {0, 80, 0, 65535, 2688, 1381, 592, -0.646407f, 0.410256f, 2653, 1229, 2729, 1534},
- {0, 80, 0, 65535, 2035, 1423, 34592, 0.646406f, 0.410256f, 1974, 1272, 2091, 1576},
- {0, 80, 0, 65535, 2380, 1519, 26878, 1.01757f, 0.879541f, 2056, 1477, 2705, 1566},
- {0, 68, 0, 65535, 3488, 1313, 0, -0.665806f, 0.657907f, 3328, 1227, 3649, 1397},
- {0, 68, 0, 65535, 3171, 1311, 0, 0.665806f, 0.657907f, 3010, 1225, 3331, 1396},
- {0, 68, 0, 65535, 3799, 1310, 0, 0.665806f, 0.657907f, 3639, 1224, 3959, 1395},
- {0, 74, 0, 65535, 4391, 1482, 9000, 2.06246f, 1.50407f, 3958, 1226, 4796, 1740},
- {0, 74, 0, 65535, 3582, 1630, 9000, 2.06246f, 2.05036f, 2992, 1374, 4135, 1888},
- {0, 74, 0, 65535, -46, 1259, 9000, 1.104f, 1.33506f, -431, 1122, 314, 1397},
- {0, 80, 0, 65535, -279, 1138, 27071, 0.812069f, 0.760064f, -559, 1104, 1, 1173},
- {0, 80, 0, 65535, 4641, 1239, 26848, 0.812069f, 0.760064f, 4361, 1203, 4922, 1278},
- {1, 17, 0, 65535, 675, 1268, 0, 1.0f, 1.0f, 558, 1243, 791, 1294},
- {1, 36, 0, 65535, 1856, 1339, 0, 1.0f, 1.0f, 1696, 1259, 2017, 1418},
- {1, 17, 0, 65535, 2327, 1270, 0, 1.0f, 1.0f, 2210, 1244, 2443, 1296},
- {1, 36, 0, 65535, 2850, 1296, 0, -1.0f, 1.0f, 2689, 1216, 3010, 1375},
- {1, 37, 0, 65535, 1576, 1466, 0, 1.0f, 1.0f, 1455, 1405, 1696, 1528},
- {1, 37, 0, 65535, 1336, 1466, 0, -1.0f, 1.0f, 1216, 1405, 1457, 1528},
- {4, 255, 0, 65535, 2361, 1253, 0, 41.0f, 53.0f, 2340, 1226, 2382, 1280},
- {4, 255, 0, 65535, 2415, 1231, 0, 41.0f, 53.0f, 2394, 1204, 2436, 1258},
- {4, 255, 0, 65535, 2305, 1255, 0, 41.0f, 53.0f, 2284, 1228, 2326, 1282},
- {4, 255, 0, 65535, 2251, 1238, 0, 41.0f, 53.0f, 2230, 1211, 2272, 1265},
- {2, 1, 0, 159, 1456, 1323, 0, 0.273081f, 0.273081f, 1368, 1234, 1544, 1410},
- {2, 1, 0, 160, 675, 1085, 0, 0.27308f, 0.27308f, 586, 996, 763, 1172},
- {2, 1, 0, 161, 2329, 1081, 0, 0.27308f, 0.27308f, 2241, 992, 2417, 1168},
- {5, 255, 0, 65535, 4067, 1165, 0, 162.0f, 90.0f, 3986, 1120, 4148, 1211},
- {1, 11, 0, 65535, 158, 1121, 0, 1.1376f, 1.0f, -2, 1115, 318, 1128},
- {1, 36, 0, 65535, 3170, 1296, 0, 1.0f, 1.0f, 3010, 1216, 3331, 1375},
- {2, 1, 0, 162, 3648, 1100, 0, 0.475218f, 0.475218f, 3495, 946, 3801, 1252},
- {1, 11, 0, 65535, 4171, 1223, 0, 1.43179f, 1.0f, 3969, 1216, 4373, 1229},
- {1, 36, 0, 65535, 3810, 1296, 0, 1.0f, 1.0f, 3650, 1216, 3971, 1375},
- {1, 36, 0, 65535, 3490, 1296, 0, -1.0f, 1.0f, 3329, 1216, 3650, 1375},
- {2, 1, 0, 163, 3008, 1100, 0, 0.475219f, 0.475219f, 2855, 946, 3161, 1252},
- {4, 255, 0, 65535, 596, 1240, 0, 41.0f, 53.0f, 576, 1214, 617, 1267},
- {4, 255, 0, 65535, 650, 1258, 0, 41.0f, 53.0f, 630, 1231, 671, 1284},
- {4, 255, 0, 65535, 706, 1256, 0, 41.0f, 53.0f, 686, 1229, 727, 1282},
- {4, 255, 0, 65535, 760, 1234, 0, 41.0f, 53.0f, 740, 1207, 781, 1260},
- {0, 66, 0, 65535, 909, 1521, 0, 1.55833f, 1.55833f, 534, 1304, 1283, 1737},
- {0, 66, 0, 65535, 1076, 1440, 30879, 1.55833f, 1.55833f, 673, 1013, 1479, 1867},
- {0, 68, 0, 65535, 383, 1209, 0, -1.0f, 1.0f, 142, 1079, 623, 1337},
- {0, 74, 0, 65535, -314, 1354, 0, 3.80266f, 1.0f, -786, 1084, 162, 1642},
- {0, 74, 0, 65535, 322, 1600, 0, 1.72761f, 1.0f, 107, 1330, 538, 1888},
- {0, 74, 0, 65535, 2881, 1540, 0, 0.739159f, 1.0f, 2789, 1270, 2974, 1828},
- {0, 74, 0, 65535, 3379, 1754, 0, 4.85074f, 1.0f, 2777, 1484, 3985, 2042},
- {0, 74, 0, 65535, 4513, 1529, 0, 4.40007f, 1.0f, 3967, 1259, 5063, 1817},
- {0, 68, 0, 65535, 3726, 1393, 0, 1.01139f, 1.00912f, 3483, 1261, 3969, 1522},
- {0, 74, 0, 65535, 1431, 1526, 1572, 0.73916f, 1.0f, 1265, 1241, 1594, 1827},
- {0, 74, 0, 65535, 1357, 1545, 72, 0.73916f, 1.0f, 1262, 1274, 1454, 1834},
- {0, 74, 0, 65535, 1565, 1544, 72, 0.73916f, 1.0f, 1469, 1273, 1661, 1832},
- {0, 64, 0, 65535, 1647, 1205, 4478, 1.0f, 1.0f, 1412, 1162, 1881, 1440},
- {0, 68, 0, 65535, 2367, 1364, 0, -0.66444f, 0.683075f, 2207, 1275, 2527, 1452},
- {0, 64, 0, 65535, 2658, 1358, 2692, 0.602739f, 0.672254f, 2524, 1279, 2791, 1512},
- {0, 74, 0, 65535, 2272, 1696, 0, 5.13775f, 1.0f, 1634, 1426, 2915, 1984},
- {0, 77, 0, 65535, 2780, 1372, 2586, 1.4943f, 1.07172f, 2706, 1278, 2855, 1467},
- {0, 64, 0, 65535, 3078, 1379, 0, -0.778094f, 0.56841f, 2969, 1270, 3187, 1488},
- {0, 64, 0, 65535, 1905, 1302, 12455, 0.678687f, 0.55467f, 1763, 1163, 1942, 1441},
- {0, 64, 0, 65535, 1942, 1326, 9092, 0.678686f, 0.554668f, 1834, 1228, 2047, 1422},
- {0, 64, 0, 65535, 2045, 1334, 3821, 0.678686f, 0.554668f, 1904, 1306, 2185, 1477},
- {0, 64, 0, 65535, 2051, 1332, 628, 0.678686f, 0.554668f, 1945, 1236, 2158, 1449},
- {0, 64, 0, 65535, 2110, 1298, 32158, 0.678686f, 0.554668f, 2097, 1156, 2251, 1441},
- {0, 74, 0, 65535, 1740, 1385, 0, 0.838721f, 0.430146f, 1636, 1268, 1846, 1509},
- {0, 74, 0, 65535, 2191, 1464, 31716, 0.83872f, 0.430145f, 2036, 1307, 2352, 1626},
- {0, 74, 0, 65535, 1917, 1510, 57, 0.83872f, 0.430145f, 1811, 1393, 2024, 1635},
- {0, 74, 0, 65535, 1777, 1297, 3432, 0.210426f, 0.430145f, 1685, 1186, 1865, 1414},
- {0, 80, 0, 65535, 5069, 1285, 26970, 1.0f, 1.0f, 4701, 1246, 5437, 1326},
- {0, 80, 0, 65535, -320, 951, 29622, 1.0f, 1.0f, -667, 762, 23, 1148},
- {0, 80, 0, 65535, -570, 188, 633, 1.23703f, 1.74858f, -689, -457, -463, 831},
- {0, 74, 0, 65535, -848, 683, 509, 1.7276f, 4.31379f, -1172, -494, -529, 1934},
- {0, 74, 0, 65535, -409, 1228, 2458, 3.73888f, 1.0f, -951, 790, 128, 1684},
- {1, 13, 0, 65535, 76, 1080, 0, 1.08297f, 1.0f, -1, 1074, 153, 1086},
- {5, 255, 0, 65535, 4504, 1207, 0, 162.0f, 90.0f, 4423, 1161, 4586, 1252},
- {1, 11, 0, 65535, 3339, 1481, 0, 1.0f, 1.0f, 3198, 1475, 3480, 1488},
- {1, 35, 0, 65535, 392, 1190, 0, -1.0f, 1.00433f, 151, 1074, 633, 1307},
- {1, 11, 0, 164, 908, 1307, 24000, 1.95237f, 1.0f, 765, 1066, 1050, 1548},
- {1, 55, 0, 65535, 1108, 1049, 30954, 1.19705f, 1.0f, 1071, 1006, 1144, 1091},
- {1, 55, 0, 65535, 1177, 1034, 3869, 1.19705f, 1.0f, 1134, 997, 1220, 1070},
- {1, 11, 0, 65535, 1325, 1152, 3869, 1.0f, 1.0f, 1211, 1059, 1439, 1245},
- {1, 14, 0, 65535, 1658, 1197, 4237, 1.0f, 1.0f, 1430, 1144, 1887, 1280},
- {1, 48, 0, 165, 2185, 1006, 7051, 1.00348f, 1.0f, 2037, 870, 2303, 1160},
- {1, 48, 0, 65535, 1807, 941, 28915, 1.00348f, 1.0f, 1690, 806, 1954, 1096},
- {1, 48, 0, 65535, 1999, 1266, 18000, 1.00348f, 1.0f, 1854, 1150, 2144, 1382},
- {1, 36, 0, 65535, 2367, 1348, 0, -1.0f, 1.0f, 2206, 1269, 2528, 1428},
- {1, 12, 0, 166, 2833, 1175, 29500, 1.07129f, 1.0f, 2785, 1081, 2882, 1270},
- {1, 47, 0, 65535, 2650, 1024, 33000, 1.00235f, 1.0f, 2458, 847, 2885, 1257},
- {1, 12, 0, 167, 3081, 1258, 35500, 1.07129f, 1.0f, 2980, 1243, 3183, 1273},
- {1, 47, 0, 65535, 3121, 1024, 3000, 1.00235f, 1.0f, 2886, 847, 3313, 1257},
- {1, 35, 0, 65535, 3719, 1372, 0, 1.0f, 1.00433f, 3478, 1256, 3960, 1489},
- {1, 15, 0, 65535, 2660, 1347, 2336, 1.0f, 1.00394f, 2525, 1263, 2796, 1431},
- {1, 15, 0, 65535, 3086, 1379, 34951, -1.0f, 1.00394f, 2971, 1269, 3200, 1488},
- {1, 13, 0, 65535, 2887, 1268, 0, 1.36113f, 1.0f, 2791, 1261, 2984, 1274},
- {1, 12, 0, 65535, 4144, 1263, 0, 1.97609f, 1.0f, 3958, 1257, 4330, 1270},
- {2, 1, 0, 168, 3097, 1070, 0, 0.352078f, 0.352078f, 2984, 956, 3211, 1182},
- {2, 2, 0, 169, 2671, 1059, 0, 0.607184f, 0.607184f, 2477, 921, 2866, 1199},
- {2, 2, 0, 170, 3864, 1104, 0, 0.607184f, 0.607185f, 3670, 966, 4059, 1244},
- {1, 12, 0, 65535, 4515, 1263, 0, 1.97609f, 1.0f, 4329, 1257, 4701, 1270},
- {0, 77, 0, 65535, 2654, 1550, 9000, 4.14286f, 23.8996f, 753, 1438, 4542, 1666},
- {0, 68, 0, 65535, 1295, 1249, 0, 1.0f, 1.0f, 1055, 1119, 1535, 1378},
- {0, 77, 0, 65535, 1842, 1267, 0, 6.86207f, 2.41667f, 1656, 1076, 2034, 1460},
- {0, 77, 0, 65535, 1571, 1240, 0, 2.9762f, 1.54167f, 1490, 1118, 1655, 1363},
- {0, 64, 0, 65535, 2184, 1265, 0, -1.14286f, 1.0f, 2024, 1074, 2345, 1457},
- {0, 80, 0, 65535, 1854, 1060, 27942, 0.730626f, 0.512704f, 1663, 1007, 2043, 1119},
- {0, 77, 0, 65535, 2227, 1647, 9000, 4.14286f, 28.4235f, -34, 1535, 4473, 1763},
- {0, 77, 0, 65535, 1733, 1156, 30044, 2.9762f, 1.54167f, 1587, 1022, 1881, 1288},
- {0, 77, 0, 65535, 1669, 1205, 32966, 2.9762f, 1.54167f, 1538, 1057, 1803, 1352},
- {0, 77, 0, 65535, 1790, 1135, 28105, 2.9762f, 1.54167f, 1655, 1029, 1926, 1238},
- {0, 77, 0, 65535, 1224, 1532, 0, 17.3436f, 2.44827f, 755, 1338, 1710, 1728},
- {0, 66, 0, 65535, 562, 1472, 0, 1.0f, 1.0f, 322, 1333, 803, 1611},
- {0, 77, 0, 65535, -118, 1531, 0, 17.3436f, 2.44827f, -587, 1337, 368, 1726},
- {0, 64, 0, 65535, 2932, 1374, 34867, 0.586257f, 0.35457f, 2864, 1291, 3026, 1457},
- {0, 64, 0, 65535, 2903, 1396, 1226, 0.586257f, 0.354569f, 2808, 1346, 2998, 1480},
- {0, 80, 0, 65535, 3332, 1423, 28663, 1.12545f, 1.0f, 2966, 1286, 3693, 1571},
- {0, 77, 0, 65535, 3097, 1438, 29259, 1.78108f, 1.51906f, 2967, 1345, 3227, 1529},
- {0, 80, 0, 65535, -259, 1352, 26976, 0.730627f, 0.700961f, -517, 1323, -1, 1382},
- {0, 80, 0, 65535, 4311, 1451, 26976, 0.730627f, 0.70096f, 4053, 1422, 4569, 1481},
- {1, 59, 0, 65535, 1607, 979, 27000, 1.00348f, 1.0f, 1535, 834, 1679, 1124},
- {1, 59, 0, 65535, 1310, 894, 3457, 1.00348f, 1.0f, 1206, 752, 1470, 979},
- {1, 59, 0, 65535, 1607, 700, 27000, 1.00348f, 1.0f, 1535, 555, 1679, 845},
- {1, 59, 0, 171, 1310, 701, 0, 1.00348f, 1.0f, 1165, 629, 1455, 774},
- {1, 35, 0, 65535, 1296, 1226, 0, 1.0f, 1.00433f, 1055, 1110, 1536, 1343},
- {1, 14, 0, 65535, 2179, 1254, 35787, -1.0f, 1.0f, 2033, 1070, 2325, 1438},
- {1, 11, 0, 65535, 2585, 1431, 0, 1.88612f, 1.0f, 2320, 1425, 2850, 1437},
- {1, 16, 0, 65535, 1951, 1000, 27175, 1.0f, 1.00521f, 1857, 926, 2046, 1074},
- {1, 59, 0, 65535, 2922, 1293, 27000, 1.00348f, 1.0f, 2849, 1148, 2994, 1438},
- {1, 59, 0, 65535, 2922, 1014, 27000, 1.00348f, 1.0f, 2849, 869, 2994, 1159},
- {1, 59, 0, 65535, 2625, 1208, 3457, 1.00348f, 1.0f, 2521, 1067, 2785, 1294},
- {1, 59, 0, 65535, 2625, 930, 3457, 1.00348f, 1.0f, 2521, 789, 2785, 1016},
- {2, 2, 0, 172, 1556, 977, 0, 0.338692f, 0.338143f, 1448, 900, 1665, 1055},
- {5, 255, 0, 65535, 3612, 1373, 0, 162.0f, 90.0f, 3531, 1327, 3694, 1418},
- {1, 11, 0, 65535, 3746, 1431, 0, 2.27758f, 1.0f, 3426, 1425, 4066, 1437},
- {2, 2, 0, 173, 2866, 673, 0, 0.623435f, 0.622424f, 2667, 531, 3066, 816},
- {1, 23, 0, 174, 560, 1423, 0, 1.0f, 1.00529f, 319, 1327, 800, 1518},
- {1, 23, 0, 65535, 560, 981, 0, 1.0f, -1.00529f, 319, 886, 800, 1077},
- {2, 2, 0, 175, 560, 1079, 0, 0.524422f, 0.552094f, 392, 953, 728, 1206},
- {1, 11, 0, 65535, 160, 1334, 0, 1.13523f, 1.0f, 0, 1328, 320, 1340},
- {1, 11, 0, 65535, 928, 1335, 0, 0.912725f, 1.0f, 799, 1328, 1057, 1341},
- {0, 74, 0, 65535, 1698, 1640, 9000, 1.104f, 6.40399f, -144, 1503, 3424, 1778},
- {0, 74, 0, 65535, -57, 1450, 0, 1.65141f, 0.98754f, -262, 1184, 150, 1735},
- {0, 74, 0, 65535, 3543, 1503, 0, 5.93475f, 1.0f, 2806, 1233, 4285, 1791},
- {0, 80, 0, 65535, 4196, 1252, 26955, 1.0f, 1.0f, 3828, 1212, 4564, 1294},
- {0, 80, 0, 65535, -366, 1208, 26955, 1.0f, -1.0f, -734, 1167, 3, 1250},
- {0, 80, 0, 65535, 242, 1545, 34180, 1.0f, -1.0f, 90, 1187, 385, 1907},
- {0, 74, 0, 65535, 30, 1620, 34301, 1.65141f, 0.987541f, -244, 1305, 311, 1952},
- {0, 68, 0, 65535, 3043, 1139, 0, -1.0f, 1.0f, 2803, 1009, 3284, 1268},
- {0, 80, 0, 65535, 2812, 1381, 18312, 1.0f, -1.0f, 2761, 1012, 2872, 1750},
- {0, 80, 0, 65535, 2422, 1507, 27312, 1.0f, -1.0f, 2053, 1456, 2791, 1567},
- {0, 80, 0, 65535, 1692, 1506, 26745, 1.0f, -1.0f, 1323, 1457, 2061, 1562},
- {0, 80, 0, 65535, 960, 1527, 26937, 1.0f, -1.0f, 592, 1486, 1329, 1571},
- {0, 80, 0, 65535, 226, 1519, 27090, 1.0f, -1.0f, -142, 1478, 595, 1564},
- {1, 13, 0, 65535, 76, 1181, 0, 1.08297f, 1.0f, -1, 1175, 153, 1187},
- {5, 255, 0, 65535, 3381, 1162, 0, 162.0f, 90.0f, 3299, 1116, 3462, 1207},
- {1, 47, 0, 176, 439, 1108, 0, 1.00235f, 1.0f, 225, 938, 653, 1279},
- {1, 47, 0, 177, 868, 1300, 18000, 1.00235f, 1.0f, 654, 1129, 1082, 1471},
- {1, 47, 0, 178, 1313, 1246, 0, 1.00235f, 1.0f, 1099, 1075, 1527, 1417},
- {1, 47, 0, 179, 1702, 1149, 18000, 1.00235f, 1.0f, 1488, 978, 1916, 1320},
- {1, 47, 0, 180, 2134, 1260, 18000, 1.00235f, 1.0f, 1920, 1089, 2348, 1431},
- {1, 47, 0, 181, 2558, 1113, 18000, 1.00235f, 1.0f, 2344, 942, 2772, 1284},
- {1, 35, 0, 65535, 3043, 1118, 0, -1.0f, 1.00433f, 2802, 1002, 3284, 1235},
- {1, 11, 0, 65535, 3559, 1228, 0, 1.96663f, 1.0f, 3282, 1221, 3836, 1234},
- {0, 70, 0, 182, 2091, 464, 0, -0.922712f, -0.92271f, 2009, 112, 2174, 790},
- {0, 70, 0, 183, 1457, 609, 0, -0.922712f, -0.92271f, 1376, 257, 1540, 935},
- {0, 70, 0, 184, 2531, 543, 0, -0.922712f, -0.92271f, 2449, 191, 2614, 869},
- {0, 70, 0, 185, 2925, 611, 0, -0.922712f, -0.92271f, 2843, 259, 3007, 937},
- {0, 70, 0, 186, 1741, 421, 0, -0.922712f, -0.92271f, 1659, 69, 1823, 746},
- {0, 70, 0, 187, 1172, 606, 0, -0.922712f, -0.92271f, 1091, 254, 1255, 932},
- {0, 70, 0, 188, 751, 671, 0, -0.922712f, -0.92271f, 669, 319, 834, 997},
- {0, 70, 0, 189, 378, 803, 0, -0.922711f, -0.922711f, 296, 450, 460, 1128},
- {0, 74, 0, 65535, -37, 1578, 0, 1.54903f, 1.0f, -230, 1308, 157, 1866},
- {0, 74, 0, 65535, 3695, 1818, 0, 4.13004f, 1.0f, 3182, 1548, 4211, 2106},
- {0, 80, 0, 65535, 4031, 1572, 27000, 1.0f, 1.0f, 3663, 1533, 4399, 1612},
- {0, 80, 0, 65535, -329, 1330, 27000, 1.0f, 1.0f, -698, 1291, 38, 1369},
- {0, 70, 0, 65535, 401, 1566, 0, 0.929256f, 0.940658f, 318, 1234, 484, 1925},
- {0, 70, 0, 65535, 775, 1434, 0, 0.929254f, 0.940658f, 692, 1102, 857, 1793},
- {0, 70, 0, 65535, 1196, 1563, 0, 0.929254f, 0.940658f, 1113, 1231, 1278, 1922},
- {0, 70, 0, 65535, 1480, 1373, 0, 0.929254f, 0.940658f, 1397, 1041, 1562, 1732},
- {0, 70, 0, 65535, 1764, 1184, 0, 0.929254f, 0.940658f, 1681, 852, 1846, 1543},
- {0, 70, 0, 65535, 2114, 1548, 0, 0.929254f, 0.940658f, 2031, 1216, 2196, 1907},
- {0, 70, 0, 65535, 2554, 1306, 0, 0.929254f, 0.940658f, 2471, 974, 2636, 1665},
- {0, 70, 0, 65535, 2949, 1532, 0, 0.929254f, 0.940658f, 2865, 1200, 3031, 1891},
- {0, 74, 0, 65535, 1024, 1773, 0, 7.25293f, 1.0f, 124, 1503, 1931, 2061},
- {0, 74, 0, 65535, 2280, 1828, 0, 7.25292f, 1.0f, 1380, 1558, 3187, 2116},
- {0, 80, 0, 65535, 2814, 1569, 27083, 1.0f, 1.0f, 2445, 1527, 3182, 1613},
- {0, 80, 0, 65535, 2187, 1527, 27083, 1.34023f, 1.0f, 1818, 1472, 2555, 1585},
- {0, 80, 0, 65535, 1295, 1463, 27083, 1.34023f, 1.21094f, 848, 1408, 1741, 1522},
- {0, 80, 0, 65535, 297, 1490, 26642, 1.34023f, 1.21094f, -150, 1420, 744, 1570},
- {1, 13, 0, 65535, 81, 1306, 0, 1.08297f, 1.0f, 4, 1300, 158, 1313},
- {5, 255, 0, 65535, 3443, 1490, 0, 162.0f, 90.0f, 3362, 1444, 3525, 1535},
- {1, 12, 0, 65535, 3424, 1548, 0, 2.62148f, 1.0f, 3177, 1541, 3671, 1554},
- {1, 12, 0, 65535, 398, 1313, 31500, 1.23944f, 1.0f, 311, 1226, 485, 1400},
- {2, 0, 0, 190, 388, 1059, 13500, 0.598977f, 0.537136f, 295, 965, 471, 1142},
- {2, 0, 0, 191, 762, 927, 13500, 0.598977f, 0.537136f, 669, 833, 844, 1011},
- {1, 12, 0, 65535, 771, 1181, 31500, 1.23944f, 1.0f, 684, 1094, 858, 1269},
- {2, 0, 0, 192, 1183, 862, 13500, 0.598977f, 0.537136f, 1090, 768, 1265, 946},
- {1, 12, 0, 65535, 1192, 1309, 31500, 1.23944f, 1.0f, 1105, 1221, 1280, 1396},
- {2, 0, 0, 193, 1468, 865, 13500, 0.598977f, 0.537136f, 1375, 772, 1550, 949},
- {1, 12, 0, 65535, 1478, 1120, 31500, 1.23944f, 1.0f, 1390, 1033, 1565, 1207},
- {2, 0, 0, 194, 1751, 677, 13500, 0.598977f, 0.537136f, 1658, 583, 1834, 760},
- {1, 12, 0, 65535, 1761, 931, 31500, 1.23944f, 1.0f, 1674, 844, 1848, 1018},
- {2, 0, 0, 195, 2102, 720, 13500, 0.598977f, 0.537136f, 2009, 626, 2184, 804},
- {1, 12, 0, 65535, 2111, 1294, 31500, 1.23944f, 1.0f, 2024, 1207, 2198, 1382},
- {2, 0, 0, 196, 2542, 799, 13500, 0.598977f, 0.537136f, 2449, 705, 2624, 883},
- {1, 12, 0, 65535, 2551, 1053, 31500, 1.23944f, 1.0f, 2464, 966, 2638, 1141},
- {2, 0, 0, 197, 2935, 867, 13500, 0.598977f, 0.537136f, 2842, 773, 3018, 951},
- {1, 12, 0, 65535, 2945, 1281, 31500, 1.23944f, 1.0f, 2858, 1194, 3032, 1369},
- {0, 74, 0, 65535, 3783, 1692, 27000, 1.0f, 4.60321f, 2542, 1566, 5107, 1816},
- {0, 74, 0, 65535, 1036, 1694, 27000, 1.0f, 5.24211f, -377, 1568, 2543, 1818},
- {0, 74, 0, 65535, 4775, 1692, 27000, 1.0f, 4.60321f, 3534, 1566, 6099, 1816},
- {0, 74, 0, 65535, -194, 1641, 27000, 1.0f, 1.47969f, -593, 1515, 232, 1765},
- {0, 74, 0, 65535, 440, 1683, 28215, 0.941546f, 0.891618f, 180, 1517, 715, 1852},
- {0, 80, 0, 65535, 701, 1568, 27000, 1.0f, 1.0f, 332, 1529, 1068, 1608},
- {0, 80, 0, 65535, 1428, 1568, 27000, 1.0f, 1.0f, 1059, 1529, 1795, 1607},
- {0, 80, 0, 65535, 2158, 1568, 27000, 1.0f, 1.0f, 1790, 1529, 2526, 1607},
- {0, 80, 0, 65535, 2886, 1568, 27000, 1.0f, 1.0f, 2517, 1529, 3253, 1607},
- {0, 80, 0, 65535, 3615, 1568, 27000, 1.0f, 1.0f, 3246, 1529, 3982, 1607},
- {0, 80, 0, 65535, 4345, 1568, 27000, 1.0f, 1.0f, 3977, 1529, 4713, 1607},
- {0, 80, 0, 65535, 5078, 1568, 27000, 1.0f, 1.0f, 4709, 1529, 5445, 1607},
- {0, 80, 0, 65535, 5804, 1568, 27000, 1.0f, 1.0f, 5435, 1529, 6171, 1607},
- {0, 80, 0, 65535, -402, 1527, 27190, 1.0f, 1.0f, -772, 1481, -34, 1579},
- {5, 255, 0, 65535, 5263, 1283, 0, 162.0f, 90.0f, 5181, 1238, 5344, 1329},
- {1, 11, 0, 65535, 93, 1515, 0, 1.0f, 1.0f, -48, 1508, 234, 1521},
- {1, 17, 0, 65535, 730, 1371, 34773, 1.0f, 1.0f, 612, 1322, 841, 1400},
- {1, 17, 0, 65535, 1149, 1287, 0, 1.0f, 1.0f, 1032, 1261, 1266, 1313},
- {1, 17, 0, 65535, 1759, 1418, 1471, 1.0f, 1.0f, 1649, 1366, 1875, 1450},
- {1, 17, 0, 65535, 2776, 1493, 33416, 1.0f, 1.0f, 2663, 1422, 2874, 1535},
- {1, 17, 0, 65535, 3523, 1321, 31910, 1.0f, 1.0f, 3424, 1229, 3601, 1386},
- {1, 17, 0, 65535, 3149, 1414, 33315, 1.0f, 1.0f, 3037, 1341, 3246, 1457},
- {1, 17, 0, 65535, 2271, 1474, 0, 1.0f, 1.0f, 2154, 1448, 2388, 1500},
- {1, 17, 0, 65535, 3447, 863, 7151, 1.0f, 1.0f, 3413, 747, 3507, 969},
- {1, 17, 0, 65535, 419, 1488, 32780, 1.0f, 1.0f, 311, 1408, 509, 1540},
- {1, 17, 0, 65535, 3633, 965, 34465, 1.0f, 1.0f, 3516, 911, 3741, 997},
- {1, 55, 0, 65535, 272, 1523, 1125, 1.0f, 1.0f, 230, 1508, 315, 1537},
- {1, 17, 0, 65535, 4381, 1361, 0, 1.0f, 1.0f, 4264, 1335, 4498, 1387},
- {1, 17, 0, 65535, 4966, 1397, 0, 1.0f, 1.0f, 4849, 1371, 5083, 1423},
- {1, 17, 0, 65535, 3797, 1170, 34178, 1.0f, 1.0f, 3681, 1111, 3903, 1205},
- {1, 17, 0, 65535, 3900, 985, 25492, 1.0f, 1.0f, 3846, 877, 3932, 1103},
- {0, 74, 0, 65535, 3575, 1508, 27000, 1.4356f, 2.18686f, 2985, 1328, 4205, 1686},
- {0, 74, 0, 65535, 4856, 1441, 27000, 1.7809f, 2.51016f, 4179, 1218, 5578, 1662},
- {0, 74, 0, 65535, -157, 1432, 27000, 1.73823f, 2.31054f, -780, 1214, 508, 1648},
- {0, 80, 0, 65535, -333, 1153, 28381, 1.0f, 1.0f, -700, 1037, 31, 1279},
- {0, 74, 0, 65535, -489, 1300, 28288, 1.24223f, 1.08924f, -810, 1083, -150, 1520},
- {0, 80, 0, 65535, 5458, 1196, 26270, 1.04353f, 0.971982f, 5099, 1120, 5817, 1282},
- {0, 74, 0, 65535, 1911, 1443, 27000, 1.71933f, 1.95f, 1384, 1227, 2472, 1656},
- {0, 74, 0, 65535, 913, 1653, 27000, 1.71933f, 1.95f, 387, 1437, 1474, 1866},
- {0, 74, 0, 65535, 2699, 1581, 27000, 1.71933f, 1.95f, 2173, 1365, 3260, 1794},
- {0, 74, 0, 65535, 3369, 1399, 27000, 1.4356f, 1.1942f, 3046, 1220, 3712, 1578},
- {0, 68, 0, 65535, 748, 1350, 18000, 1.0f, -1.0f, 508, 1220, 988, 1478},
- {0, 68, 0, 65535, 1218, 1350, 0, 1.0f, 1.0f, 978, 1220, 1458, 1478},
- {0, 68, 0, 65535, 1698, 1126, 0, 1.0f, 1.0f, 1458, 996, 1938, 1254},
- {0, 68, 0, 65535, 2178, 1126, 18000, 1.0f, -1.0f, 1938, 996, 2418, 1254},
- {0, 68, 0, 65535, 2580, 1302, 18000, 0.677402f, -0.677402f, 2417, 1214, 2743, 1389},
- {0, 68, 0, 65535, 2900, 1302, 0, 0.677402f, 0.677401f, 2736, 1214, 3063, 1389},
- {0, 68, 0, 65535, 2900, 1302, 0, 0.677402f, 0.677401f, 2737, 1214, 3063, 1389},
- {0, 68, 0, 65535, 2900, 1302, 0, 0.677402f, 0.677401f, 2737, 1214, 3063, 1389},
- {0, 68, 0, 65535, 3218, 1156, 0, 0.677402f, 0.677401f, 3055, 1068, 3381, 1244},
- {0, 68, 0, 65535, 3538, 1156, 18000, 0.677402f, -0.677401f, 3375, 1068, 3701, 1244},
- {0, 68, 0, 65535, 3816, 1281, 18000, 0.488852f, -0.488851f, 3698, 1217, 3933, 1344},
- {0, 68, 0, 65535, 3816, 1281, 18000, 0.488852f, -0.488852f, 3698, 1217, 3933, 1344},
- {0, 68, 0, 65535, 4068, 1281, 0, 0.488852f, 0.488852f, 3950, 1217, 4185, 1344},
- {0, 68, 0, 65535, 4304, 1174, 0, 0.488852f, 0.488852f, 4186, 1110, 4421, 1237},
- {0, 68, 0, 65535, 4538, 1174, 18000, 0.488852f, -0.488852f, 4420, 1110, 4655, 1237},
- {5, 255, 0, 65535, 4945, 1154, 0, 162.0f, 90.0f, 4864, 1109, 5027, 1200},
- {1, 11, 0, 65535, 4882, 1216, 0, 1.58544f, 1.0f, 4659, 1209, 5105, 1222},
- {1, 11, 0, 65535, 279, 1215, 0, 1.58544f, 1.0f, 56, 1208, 503, 1221},
- {2, 1, 0, 198, 2736, 1252, 0, 0.301891f, 0.301891f, 2638, 1154, 2833, 1348},
- {2, 1, 0, 199, 3377, 955, 0, 0.301891f, 0.301891f, 3280, 858, 3475, 1052},
- {2, 4, 0, 200, 976, 1424, 9000, 0.481663f, 0.481663f, 867, 1269, 1086, 1579},
- {2, 4, 0, 201, 1941, 999, 9000, 0.498125f, 0.498125f, 1828, 839, 2055, 1159},
- {1, 35, 0, 65535, 1221, 1324, 0, 1.0f, 1.00433f, 980, 1208, 1462, 1441},
- {1, 35, 0, 65535, 741, 1324, 18000, 1.0f, -1.00433f, 500, 1208, 982, 1441},
- {1, 36, 0, 65535, 2901, 1288, 0, 1.0f, 1.0f, 2740, 1208, 3062, 1367},
- {1, 36, 0, 65535, 2581, 1288, 18000, 1.0f, -1.0f, 2420, 1208, 2742, 1367},
- {1, 37, 0, 65535, 4060, 1270, 0, 1.0f, 1.0f, 3939, 1209, 4181, 1332},
- {1, 37, 0, 65535, 3821, 1270, 18000, 1.0f, -1.0f, 3700, 1209, 3942, 1332},
- {1, 35, 0, 65535, 2181, 1105, 18000, 1.0f, -1.00433f, 1940, 989, 2422, 1222},
- {1, 35, 0, 65535, 1701, 1105, 0, 1.0f, 1.00433f, 1460, 989, 1942, 1222},
- {1, 37, 0, 65535, 4300, 1161, 0, 1.0f, 1.0f, 4179, 1100, 4421, 1223},
- {1, 37, 0, 65535, 4540, 1161, 18000, 1.0f, -1.0f, 4419, 1100, 4661, 1223},
- {1, 36, 0, 65535, 3540, 1142, 18000, 1.0f, -1.0f, 3379, 1063, 3701, 1222},
- {1, 36, 0, 65535, 3221, 1142, 0, 1.0f, 1.0f, 3060, 1063, 3382, 1222},
- {2, 2, 0, 202, 3942, 1189, 9000, 0.380997f, 0.380997f, 3854, 1067, 4029, 1312},
- {0, 74, 0, 65535, 477, 1686, 27000, 1.0f, 3.52648f, -474, 1561, 1491, 1811},
- {0, 74, 0, 65535, 2315, 1686, 27000, 1.0f, 3.14912f, 1466, 1561, 3221, 1811},
- {0, 74, 0, 65535, 3799, 1697, 27000, 1.0f, 3.14912f, 2950, 1572, 4705, 1822},
- {0, 74, 0, 65535, 4357, 1540, 27000, 1.0f, 1.79318f, 3873, 1414, 4873, 1664},
- {0, 64, 0, 65535, 3755, 1397, 0, 1.0f, 1.0f, 3614, 1206, 3895, 1589},
- {0, 64, 0, 65535, 4081, 1316, 9000, 0.774068f, 0.987534f, 3891, 1207, 4270, 1425},
- {0, 68, 0, 65535, 3376, 1487, 18000, 1.0f, -1.0f, 3135, 1357, 3616, 1615},
- {0, 73, 0, 65535, 2939, 1971, 0, 1.57272f, 1.87351f, 2762, 1418, 3114, 2550},
- {0, 74, 0, 65535, 3128, 1504, 28230, 1.0f, 0.104175f, 3074, 1376, 3184, 1632},
- {0, 74, 0, 65535, 3096, 1530, 28230, 1.0f, 0.0407437f, 3059, 1405, 3135, 1655},
- {0, 80, 0, 65535, 831, 1581, 26809, 1.0f, 0.81638f, 529, 1536, 1132, 1630},
- {0, 80, 0, 65535, 1296, 1532, 26207, 1.0f, 1.0f, 928, 1453, 1666, 1622},
- {0, 80, 0, 65535, 2118, 1535, 27410, 1.62245f, 1.28166f, 1642, 1449, 2591, 1632},
- {0, 80, 0, 65535, 2540, 1573, 23424, 0.786269f, 0.761425f, 2300, 1390, 2786, 1762},
- {0, 67, 0, 65535, 2727, 1555, 31928, 1.57546f, 1.00649f, 2583, 1416, 2869, 1694},
- {0, 67, 0, 65535, 1514, 1589, 35160, 2.01896f, 1.00649f, 1348, 1489, 1680, 1690},
- {0, 80, 0, 65535, -554, 1572, 27410, 1.62245f, 1.28166f, -1029, 1486, -81, 1669},
- {0, 80, 0, 65535, 4794, 1403, 26295, 0.93562f, 0.870393f, 4472, 1337, 5115, 1479},
- {5, 255, 0, 65535, 4380, 1336, 0, 162.0f, 90.0f, 4298, 1291, 4461, 1382},
- {1, 37, 0, 203, 470, 1505, 0, 1.0f, 1.0f, 349, 1444, 591, 1566},
- {1, 37, 0, 204, 710, 1396, 0, 1.0f, 1.0f, 589, 1335, 831, 1457},
- {1, 37, 0, 205, 1190, 1178, 0, 1.0f, 1.0f, 1069, 1117, 1311, 1239},
- {1, 37, 0, 206, 950, 1287, 0, 1.0f, 1.0f, 829, 1226, 1071, 1348},
- {1, 37, 0, 207, 1670, 960, 0, 1.0f, 1.0f, 1549, 899, 1791, 1021},
- {1, 37, 0, 208, 1430, 1069, 0, 1.0f, 1.0f, 1309, 1008, 1551, 1130},
- {1, 11, 0, 209, 94, 1560, 0, 1.82995f, 1.0f, -164, 1553, 351, 1566},
- {1, 47, 0, 210, 2543, 1265, 14142, 1.00235f, 1.0f, 2303, 1025, 2730, 1446},
- {1, 58, 0, 65535, 2912, 1395, 1581, 1.00235f, 1.00469f, 2727, 1233, 3147, 1507},
- {1, 35, 0, 65535, 3375, 1462, 18000, 1.0f, -1.00433f, 3134, 1346, 3616, 1579},
- {1, 14, 0, 65535, 3752, 1389, 0, 1.0f, 1.0f, 3612, 1200, 3891, 1578},
- {1, 14, 0, 65535, 4108, 1311, 8147, 1.0f, 1.0f, 3901, 1198, 4314, 1421},
- {1, 12, 0, 65535, 4406, 1414, 0, 1.0f, 1.0f, 4312, 1408, 4501, 1421},
- {0, 68, 0, 65535, 377, 1279, 0, 1.0125f, 1.00389f, 134, 1148, 620, 1408},
- {0, 77, 0, 65535, 1120, 1516, 9000, 5.28571f, 13.6f, 38, 1373, 2195, 1664},
- {0, 74, 0, 65535, 3857, 1638, 0, 15.4237f, 1.0f, 1944, 1368, 5785, 1925},
- {0, 74, 0, 65535, -178, 1638, 0, 2.16655f, 1.0f, -447, 1368, 93, 1925},
- {0, 80, 0, 65535, 611, 1303, 0, 0.410256f, 0.410256f, 595, 1152, 627, 1454},
- {0, 68, 0, 65535, 4727, 1279, 18000, 1.0125f, -1.00389f, 4484, 1148, 4970, 1408},
- {0, 80, 0, 65535, 4509, 1303, 18000, 0.410256f, -0.410256f, 4493, 1152, 4525, 1455},
- {0, 80, 0, 65535, 5601, 1374, 26464, 1.25172f, 1.0f, 5231, 1303, 5971, 1457},
- {0, 80, 0, 65535, 4436, 1519, 19192, 0.945029f, 1.0f, 4333, 1154, 4549, 1888},
- {0, 80, 0, 65535, -353, 1371, 27331, 0.945028f, 1.0f, -723, 1319, 16, 1429},
- {1, 35, 0, 65535, 379, 1258, 0, 1.0f, 1.00433f, 138, 1143, 620, 1376},
- {2, 0, 0, 65535, 721, 1339, 0, 0.52603f, 1.0f, 619, 1307, 822, 1370},
- {1, 45, 0, 211, 868, 1170, 0, 1.0f, 1.01818f, 759, 1143, 977, 1198},
- {2, 0, 0, 65535, 918, 1339, 0, 0.526807f, 1.0f, 816, 1307, 1019, 1370},
- {2, 0, 0, 65535, 1119, 1339, 0, 0.544678f, 1.0f, 1013, 1307, 1224, 1370},
- {2, 0, 0, 65535, 1321, 1339, 0, 0.533023f, 1.0f, 1218, 1307, 1424, 1370},
- {2, 0, 0, 65535, 1522, 1339, 0, 0.5338f, 1.0f, 1418, 1307, 1624, 1370},
- {2, 0, 0, 65535, 1723, 1339, 0, 0.540793f, 1.0f, 1618, 1307, 1827, 1370},
- {2, 0, 0, 65535, 1923, 1339, 0, 0.539239f, 1.0f, 1818, 1307, 2026, 1370},
- {1, 13, 0, 65535, 70, 1368, 0, 1.0f, 1.0f, -1, 1362, 140, 1374},
- {1, 45, 0, 212, 1112, 1170, 0, 1.0f, 1.01818f, 1003, 1143, 1221, 1198},
- {1, 45, 0, 213, 1574, 1170, 0, 1.0f, 1.01818f, 1465, 1143, 1683, 1198},
- {1, 45, 0, 214, 1817, 1170, 0, 1.0f, 1.01818f, 1708, 1143, 1926, 1198},
- {2, 0, 0, 65535, 2130, 1339, 0, 0.58042f, 1.0f, 2018, 1307, 2242, 1370},
- {2, 0, 0, 65535, 3754, 1339, 0, 0.58042f, 1.0f, 3641, 1307, 3865, 1370},
- {2, 0, 0, 65535, 2541, 1339, 0, 0.526807f, 1.0f, 2439, 1307, 2642, 1370},
- {2, 0, 0, 65535, 2344, 1339, 0, 0.52603f, 1.0f, 2242, 1307, 2445, 1370},
- {2, 0, 0, 65535, 3546, 1339, 0, 0.539238f, 1.0f, 3441, 1307, 3649, 1370},
- {2, 0, 0, 65535, 3144, 1339, 0, 0.5338f, 1.0f, 3041, 1307, 3247, 1370},
- {2, 0, 0, 65535, 3346, 1339, 0, 0.540793f, 1.0f, 3241, 1307, 3450, 1370},
- {2, 0, 0, 65535, 2944, 1339, 0, 0.533023f, 1.0f, 2841, 1307, 3047, 1370},
- {2, 0, 0, 65535, 2742, 1339, 0, 0.544678f, 1.0f, 2636, 1307, 2847, 1370},
- {2, 0, 0, 65535, 4163, 1339, 0, 0.526807f, 1.0f, 4061, 1307, 4264, 1370},
- {2, 0, 0, 65535, 3966, 1339, 0, 0.52603f, 1.0f, 3864, 1307, 4067, 1370},
- {2, 0, 0, 65535, 4364, 1339, 0, 0.544678f, 1.0f, 4258, 1307, 4469, 1370},
- {1, 37, 0, 215, 2530, 1128, 18000, 1.0f, -1.0f, 2409, 1066, 2651, 1189},
- {1, 37, 0, 216, 2286, 1128, 0, 1.0f, 1.0f, 2165, 1066, 2407, 1189},
- {1, 37, 0, 217, 3270, 1128, 18000, 1.0f, -1.0f, 3149, 1066, 3391, 1189},
- {1, 37, 0, 218, 3026, 1128, 0, 1.0f, 1.0f, 2905, 1066, 3147, 1189},
- {1, 8, 0, 219, 4245, 1169, 0, 1.00457f, 1.0f, 4134, 1060, 4356, 1280},
- {1, 8, 0, 220, 4034, 1169, 0, 1.00457f, 1.0f, 3923, 1060, 4145, 1280},
- {1, 37, 0, 221, 3507, 1128, 0, 1.0f, 1.0f, 3386, 1066, 3628, 1189},
- {1, 35, 0, 65535, 4725, 1258, 18000, 1.0f, -1.00433f, 4484, 1143, 4966, 1376},
- {1, 13, 0, 65535, 5036, 1368, 0, 1.0f, 1.0f, 4965, 1362, 5106, 1374},
- {1, 13, 0, 65535, 5176, 1368, 0, 1.0f, 1.0f, 5105, 1362, 5246, 1374},
- {5, 255, 0, 65535, 5125, 1308, 0, 162.0f, 90.0f, 5044, 1262, 5207, 1353},
- {0, 77, 0, 65535, 832, 1520, 0, 18.2857f, 1.80625f, 338, 1376, 1344, 1664},
- {0, 77, 0, 65535, 1536, 1516, 0, 8.0f, 1.80625f, 1320, 1373, 1760, 1661},
- {0, 70, 0, 65535, 412, 1556, 0, 1.0f, 1.0f, 323, 1204, 501, 1938},
- {0, 74, 0, 65535, 109, 1642, 0, 3.41736f, 1.0f, -315, 1372, 536, 1929},
- {0, 80, 0, 65535, 501, 1296, 0, 0.153846f, 0.260218f, 495, 1200, 507, 1392},
- {0, 80, 0, 65535, 699, 1377, 27000, 0.820513f, 0.537466f, 500, 1345, 896, 1409},
- {0, 80, 0, 65535, 949, 1377, 27000, 0.820513f, 0.260218f, 853, 1345, 1045, 1409},
- {0, 80, 0, 65535, 1454, 1375, 27000, 0.820513f, 0.561359f, 1247, 1343, 1661, 1407},
- {0, 77, 0, 65535, 1534, 1516, 0, 5.66071f, 1.80625f, 1380, 1373, 1692, 1661},
- {0, 80, 0, 65535, 1157, 1375, 27000, 0.820513f, 0.382153f, 1016, 1343, 1298, 1407},
- {0, 74, 0, 65535, 2283, 1674, 0, 5.4458f, 1.0f, 1607, 1404, 2964, 1961},
- {0, 74, 0, 65535, 2895, 1320, 0, 2.71375f, 1.0f, 2558, 1050, 3235, 1608},
- {0, 80, 0, 65535, 1894, 1376, 27000, 0.820513f, 0.648829f, 1654, 1344, 2132, 1409},
- {0, 80, 0, 65535, 2367, 1376, 27000, 0.820513f, 0.659497f, 2123, 1344, 2609, 1409},
- {0, 80, 0, 65535, 2529, 1337, 19089, 0.961551f, 0.777141f, 2448, 1051, 2621, 1625},
- {0, 80, 0, 65535, 3143, 1039, 26145, 0.961551f, 0.77714f, 2856, 968, 3431, 1119},
- {0, 80, 0, 65535, -196, 1363, 28074, 0.934101f, 0.64883f, -438, 1291, 44, 1443},
- {1, 40, 0, 65535, 414, 1282, 0, 1.00541f, 1.00541f, 319, 1187, 508, 1374},
- {1, 48, 0, 222, 661, 1225, 14665, 1.00348f, 1.0f, 500, 1065, 789, 1346},
- {1, 48, 0, 223, 1033, 1218, 23893, 1.00348f, 1.0f, 913, 1058, 1192, 1348},
- {1, 11, 0, 65535, 2718, 1048, 0, 1.16726f, 1.0f, 2554, 1042, 2882, 1054},
- {1, 48, 0, 224, 1423, 1221, 13586, 1.00348f, 1.0f, 1259, 1057, 1547, 1346},
- {1, 11, 0, 65535, 165, 1368, 0, 1.16726f, 1.0f, 1, 1362, 329, 1374},
- {1, 48, 0, 225, 1943, 1062, 23893, 1.00348f, 1.0f, 1822, 902, 2102, 1192},
- {1, 48, 0, 226, 2326, 1059, 12174, 1.00348f, 1.0f, 2166, 899, 2446, 1188},
- {5, 255, 0, 65535, 2716, 974, 0, 162.0f, 90.0f, 2635, 929, 2798, 1020},
- {1, 58, 0, 65535, 1442, 887, 4734, 1.00235f, 1.00469f, 1307, 657, 1666, 1029},
- {1, 48, 0, 227, 1671, 1140, 23893, 1.00348f, 1.0f, 1550, 980, 1830, 1270},
- {0, 77, 0, 65535, 74, 1487, 9000, 4.14286f, 1.02917f, -8, 1375, 156, 1603},
- {0, 77, 0, 65535, 655, 1487, 9000, 4.14286f, 6.0375f, 174, 1375, 1132, 1603},
- {0, 77, 0, 65535, 438, 1570, 9000, 1.17857f, 3.77292f, 138, 1538, 737, 1603},
- {0, 70, 0, 65535, 140, 1616, 0, 1.0f, 1.0f, 50, 1264, 228, 1998},
- {0, 77, 0, 65535, 1583, 1487, 9000, 4.14286f, 6.0375f, 1102, 1375, 2060, 1603},
- {0, 77, 0, 65535, 3463, 1487, 9000, 4.14286f, 18.3396f, 2004, 1375, 4912, 1603},
- {0, 77, 0, 65535, 4647, 1487, 9000, 4.14286f, 18.3396f, 3188, 1375, 6096, 1603},
- {0, 80, 0, 65535, 579, 1379, 26482, 1.0f, 1.0f, 210, 1316, 949, 1451},
- {0, 80, 0, 65535, 1303, 1383, 27536, 1.0f, 1.0f, 932, 1318, 1671, 1457},
- {0, 80, 0, 65535, 3130, 1360, 27191, 1.35925f, 1.35925f, 2628, 1298, 3631, 1430},
- {0, 80, 0, 65535, 2148, 1377, 26589, 1.35925f, 1.35925f, 1646, 1301, 2650, 1466},
- {0, 80, 0, 65535, 3990, 1334, 26482, 1.0f, 1.0f, 3621, 1272, 4360, 1407},
- {0, 80, 0, 65535, 4841, 1383, 27805, 1.35924f, 1.35925f, 4338, 1273, 5341, 1505},
- {0, 80, 0, 65535, 5375, 1390, 26844, 1.35924f, 1.35925f, 4874, 1330, 5875, 1457},
- {0, 77, 0, 65535, 4204, 1451, 9000, 4.14286f, 2.25133f, 4024, 1339, 4382, 1568},
- {0, 80, 0, 65535, 312, 1483, 32933, 1.0f, 0.596379f, 166, 1279, 449, 1691},
- {1, 57, 0, 65535, 58, 1368, 0, 2.87302f, 1.0f, -3, 1362, 119, 1374},
- {1, 7, 0, 65535, 170, 1315, 0, 1.0f, 1.0084f, 110, 1254, 229, 1375},
- {1, 47, 0, 65535, 647, 1201, 0, 1.00235f, 1.0f, 433, 1030, 861, 1372},
- {1, 48, 0, 65535, 1086, 1256, 0, 1.00348f, 1.0f, 941, 1140, 1231, 1372},
- {1, 49, 0, 65535, 1471, 1283, 0, 1.00457f, 1.0f, 1360, 1195, 1582, 1372},
- {1, 47, 0, 65535, 1782, 1201, 0, 1.00235f, 1.0f, 1568, 1030, 1996, 1372},
- {1, 47, 0, 65535, 2518, 1201, 0, 1.00235f, 1.0f, 2304, 1030, 2732, 1372},
- {1, 48, 0, 65535, 3294, 1256, 0, 1.00348f, 1.0f, 3149, 1140, 3439, 1372},
- {1, 49, 0, 65535, 2914, 1283, 0, 1.00457f, 1.0f, 2803, 1195, 3025, 1372},
- {1, 8, 0, 65535, 3570, 1148, 0, 1.00457f, 1.0f, 3459, 1038, 3681, 1258},
- {1, 9, 0, 65535, 3938, 1111, 0, 1.0f, 1.0f, 3863, 1036, 4014, 1187},
- {1, 8, 0, 65535, 4196, 1222, 0, 1.00457f, 1.0f, 4085, 1113, 4307, 1333},
- {5, 255, 0, 65535, 4193, 1038, 0, 162.0f, 90.0f, 4111, 992, 4274, 1083},
- {1, 10, 0, 65535, 4520, 1198, 0, 1.0f, 1.0f, 4461, 1140, 4578, 1257},
- {1, 10, 0, 65535, 4650, 993, 0, 1.0f, 1.0f, 4591, 935, 4709, 1052},
- {1, 49, 0, 65535, 2214, 1283, 0, 1.00457f, 1.0f, 2103, 1195, 2325, 1372},
- {0, 77, 0, 65535, 581, 1298, 10500, 4.14286f, 5.44049f, 135, 1078, 1026, 1522},
- {0, 70, 0, 65535, 140, 1264, 0, 1.0f, 1.0f, 50, 912, 228, 1646},
- {0, 77, 0, 65535, 1261, 1451, 12000, 4.14286f, 6.0375f, 789, 1114, 1730, 1791},
- {0, 77, 0, 65535, 930, 1524, 18000, 4.14286f, 6.0375f, 814, 1044, 1043, 2002},
- {0, 77, 0, 65535, 1527, 1712, 18000, 4.14286f, 6.0375f, 1410, 1232, 1639, 2190},
- {0, 77, 0, 65535, -42, 1503, 0, 8.5336f, 6.0375f, -273, 1026, 197, 1984},
- {0, 77, 0, 65535, 481, 1460, 27000, 5.25867f, 4.55346f, 121, 1312, 844, 1603},
- {0, 77, 0, 65535, 1257, 1580, 27000, 5.25868f, 4.55346f, 897, 1432, 1620, 1723},
- {0, 77, 0, 65535, 2095, 1510, 27000, 5.25868f, 5.99684f, 1621, 1362, 2572, 1652},
- {0, 77, 0, 65535, 2188, 1332, 24650, 7.21906f, 6.563f, 1632, 939, 2745, 1718},
- {0, 77, 0, 65535, 3181, 1454, 27000, 6.89832f, 5.99684f, 2706, 1261, 3658, 1641},
- {0, 77, 0, 65535, 4106, 1726, 28971, 6.89832f, 5.99684f, 3597, 1383, 4618, 2062},
- {0, 77, 0, 65535, 5025, 1663, 27000, 6.89832f, 5.99684f, 4551, 1469, 5503, 1850},
- {0, 80, 0, 65535, -326, 966, 28467, 1.24541f, 1.0f, -695, 837, 39, 1106},
- {0, 77, 0, 65535, 2681, 1365, 18000, 4.14286f, 6.0375f, 2564, 885, 2793, 1843},
- {0, 77, 0, 65535, 3154, 1257, 10500, 4.14286f, 5.90369f, 2673, 1027, 3634, 1490},
- {0, 77, 0, 65535, 4140, 1511, 12000, 4.14286f, 7.77839f, 3549, 1105, 4728, 1920},
- {0, 77, 0, 65535, 3689, 1515, 18000, 4.14286f, 6.0375f, 3572, 1035, 3801, 1993},
- {0, 80, 0, 65535, 1969, 1227, 24665, 1.24541f, 1.0f, 1617, 1047, 2326, 1417},
- {0, 80, 0, 65535, 2280, 1094, 24243, 1.24541f, 1.0f, 1937, 891, 2629, 1307},
- {0, 80, 0, 65535, 5146, 1465, 26328, 1.24541f, 1.0f, 4776, 1386, 5517, 1557},
- {0, 80, 0, 65535, 4452, 1828, 20019, 1.24541f, 1.0f, 4291, 1471, 4625, 2191},
- {0, 80, 0, 65535, 3542, 1404, 18911, 0.720693f, 1.0f, 3462, 1038, 3628, 1773},
- {0, 80, 0, 65535, 1376, 1604, 18912, 0.720692f, 1.0f, 1297, 1238, 1462, 1972},
- {0, 80, 0, 65535, 783, 1419, 18912, 0.720692f, 1.0f, 704, 1053, 870, 1788},
- {1, 57, 0, 65535, 58, 1016, 0, 2.87302f, 1.0f, -3, 1010, 119, 1022},
- {1, 7, 0, 65535, 170, 963, 0, 1.0f, 1.0084f, 110, 902, 229, 1023},
- {1, 8, 2, 228, 344, 993, 0, 1.00457f, 1.0f, 233, 883, 455, 1103},
- {1, 9, 0, 65535, 1718, 1261, 0, 1.0f, 1.0f, 1642, 1186, 1793, 1336},
- {1, 8, 2, 229, 1159, 1128, 0, 1.00457f, 1.0f, 1048, 1018, 1270, 1238},
- {5, 255, 0, 65535, 4666, 1400, 0, 162.0f, 90.0f, 4584, 1355, 4747, 1446},
- {1, 10, 0, 65535, 1830, 1219, 0, 1.0f, 1.0f, 1771, 1160, 1889, 1277},
- {1, 57, 0, 65535, 931, 1036, 0, 5.59522f, 1.0f, 813, 1030, 1049, 1043},
- {1, 57, 0, 65535, 1524, 1223, 0, 5.59521f, 1.0f, 1406, 1217, 1642, 1230},
- {1, 10, 0, 65535, 2065, 1131, 0, 1.0f, 1.0f, 2006, 1072, 2124, 1189},
- {1, 9, 0, 65535, 1953, 1189, 0, 1.0f, 1.0f, 1878, 1114, 2029, 1265},
- {1, 10, 0, 65535, 2289, 1025, 0, 1.0f, 1.0f, 2230, 966, 2347, 1083},
- {1, 9, 0, 65535, 2177, 1077, 0, 1.0f, 1.0f, 2101, 1002, 2252, 1152},
- {1, 10, 0, 65535, 2511, 907, 0, 1.0f, 1.0f, 2452, 848, 2569, 965},
- {1, 9, 0, 65535, 2400, 964, 0, 1.0f, 1.0f, 2324, 889, 2475, 1040},
- {1, 8, 2, 230, 2910, 956, 0, 1.00457f, 1.0f, 2799, 847, 3021, 1067},
- {1, 8, 2, 231, 3921, 1116, 0, 1.00457f, 1.0f, 3810, 1007, 4032, 1227},
- {1, 57, 0, 65535, 3690, 1027, 0, 5.59521f, 1.0f, 3572, 1020, 3808, 1033},
- {1, 57, 0, 65535, 4664, 1468, 0, 5.59521f, 1.0f, 4546, 1461, 4782, 1474},
- {1, 57, 0, 65535, 2682, 877, 0, 5.59521f, 1.0f, 2564, 870, 2800, 883},
- {0, 74, 0, 65535, 240, 1528, 27000, 1.0f, 1.0f, -30, 1402, 528, 1652},
- {0, 74, 0, 65535, 890, 1528, 27000, 1.0f, 1.0f, 620, 1402, 1178, 1652},
- {0, 74, 0, 65535, 666, 1528, 27000, 1.0f, 1.0f, 396, 1402, 954, 1652},
- {0, 74, 0, 65535, 1370, 1631, 27000, 1.0f, 1.0f, 1100, 1505, 1658, 1755},
- {0, 74, 0, 65535, 1831, 1533, 27000, 1.0f, 1.0f, 1561, 1407, 2119, 1657},
- {0, 74, 0, 65535, 2087, 1534, 27000, 1.0f, 1.0f, 1817, 1408, 2375, 1658},
- {0, 64, 0, 65535, 129, 1229, 18000, 1.0f, -1.0f, -12, 1038, 269, 1421},
- {0, 74, 0, 65535, -140, 1104, 35525, 1.08574f, 1.91235f, -318, 578, 41, 1663},
- {0, 68, 0, 65535, 737, 1358, 0, 0.451881f, 0.451881f, 628, 1299, 846, 1416},
- {0, 68, 0, 65535, 951, 1358, 18000, 0.451881f, -0.451881f, 842, 1299, 1060, 1416},
- {0, 80, 0, 65535, -64, 681, 35437, 1.0f, 1.0f, -140, 312, 1, 1051},
- {0, 80, 0, 65535, 2354, 1429, 26976, 1.0f, 1.0f, 1986, 1390, 2722, 1470},
- {1, 57, 0, 65535, 794, 1112, 0, 2.87302f, 1.0f, 733, 1106, 855, 1118},
- {1, 35, 0, 65535, 1638, 888, 0, 1.0f, 1.00433f, 1397, 772, 1879, 1005},
- {1, 23, 0, 65535, 1641, 1201, 0, 1.0f, 1.00529f, 1400, 1105, 1881, 1296},
- {1, 23, 0, 65535, 1094, 1201, 18000, 1.0f, -1.00529f, 853, 1105, 1334, 1296},
- {1, 35, 0, 65535, 1096, 888, 18000, 1.0f, -1.00433f, 855, 772, 1337, 1005},
- {2, 0, 0, 232, 1371, 1485, 0, 1.0f, 1.0f, 1178, 1453, 1563, 1516},
- {2, 0, 0, 233, 1371, 1313, 18000, 1.0f, 1.0f, 1179, 1281, 1564, 1345},
- {2, 1, 0, 234, 1610, 1156, 0, 0.208019f, 0.208019f, 1543, 1088, 1678, 1222},
- {2, 1, 0, 235, 1125, 1156, 0, 0.208019f, 0.208019f, 1058, 1088, 1193, 1222},
- {1, 56, 0, 65535, 1368, 1112, 0, 1.2009f, 1.0f, 1334, 1105, 1402, 1118},
- {1, 14, 0, 65535, 2069, 915, 35290, 1.0f, 1.0f, 1952, 711, 2184, 1119},
- {1, 56, 0, 65535, 1919, 1112, 0, 1.37654f, 1.0f, 1880, 1105, 1958, 1118},
- {1, 16, 0, 65535, 2107, 501, 28315, 1.0f, 1.00521f, 2026, 410, 2185, 590},
- {1, 48, 0, 65535, 1659, 636, 16694, 1.00348f, 1.0f, 1508, 496, 1798, 753},
- {1, 12, 0, 65535, 2178, 651, 9000, 0.662578f, 1.0f, 2172, 588, 2185, 714},
- {1, 48, 0, 65535, 1315, 636, 16694, 1.00348f, 1.0f, 1164, 496, 1454, 753},
- {1, 48, 0, 65535, 976, 636, 18390, 1.00348f, 1.0f, 833, 512, 1123, 751},
- {1, 14, 0, 65535, 135, 1221, 18000, 1.0f, -1.0f, -4, 1032, 275, 1410},
- {1, 11, 0, 65535, 1217, 1403, 0, 1.0f, 1.0f, 1076, 1397, 1358, 1410},
- {1, 11, 0, 65535, 1498, 1403, 0, 1.0f, 1.0f, 1357, 1397, 1639, 1410},
- {1, 11, 0, 65535, 1816, 1403, 0, 1.26335f, 1.0f, 1638, 1397, 1994, 1410},
- {5, 255, 0, 65535, 1895, 1344, 0, 162.0f, 90.0f, 1813, 1298, 1976, 1389},
- {1, 37, 0, 65535, 724, 1349, 0, 1.0f, 1.0f, 603, 1287, 845, 1410},
- {1, 37, 0, 65535, 965, 1349, 18000, 1.0f, -1.0f, 844, 1287, 1086, 1410},
- {1, 11, 0, 65535, 438, 1403, 0, 1.18821f, 1.0f, 270, 1397, 605, 1410},
- {0, 70, 0, 236, 652, 1347, 0, 1.0f, 0.98758f, 563, 998, 741, 1724},
- {0, 70, 0, 65535, 444, 1556, 0, 1.0f, 1.0f, 355, 1204, 533, 1938},
- {0, 74, 0, 65535, 168, 1509, 0, 1.576f, 0.516094f, -28, 1370, 365, 1658},
- {0, 64, 0, 65535, 1908, 1246, 0, 0.914286f, 0.441253f, 1780, 1161, 2036, 1330},
- {0, 70, 0, 237, 864, 1150, 0, 1.0f, 1.0f, 774, 797, 952, 1531},
- {0, 64, 0, 65535, 1644, 1143, 0, -1.04213f, 1.00709f, 1498, 951, 1790, 1336},
- {0, 68, 0, 65535, 2275, 1280, 0, -1.0f, 1.0f, 2035, 1150, 2515, 1408},
- {0, 74, 0, 65535, 2296, 1642, 0, 2.83333f, 1.0f, 1944, 1373, 2651, 1930},
- {0, 70, 0, 238, 1074, 944, 0, 1.0f, 1.0f, 985, 591, 1163, 1325},
- {0, 70, 0, 65535, 1074, 1424, 0, 1.0f, 1.0f, 985, 1071, 1163, 1805},
- {0, 70, 0, 65535, 2709, 1558, 0, 1.0f, 1.0f, 2619, 1205, 2797, 1939},
- {0, 70, 0, 239, 3077, 1412, 0, 1.0f, 0.987579f, 2987, 1063, 3165, 1789},
- {0, 70, 0, 240, 3442, 1412, 0, 1.0f, 0.987579f, 3352, 1063, 3530, 1789},
- {0, 70, 0, 241, 3805, 1412, 0, 1.0f, 0.987579f, 3715, 1063, 3893, 1789},
- {0, 74, 0, 65535, 1367, 1487, 0, 6.85442f, 0.592088f, 516, 1327, 2224, 1658},
- {0, 74, 0, 242, 1330, 50, 0, 1.34f, 1.0f, 1163, -220, 1498, 338},
- {0, 74, 0, 65535, 3892, 1533, 0, 8.87844f, 0.435524f, 2790, 1415, 5002, 1658},
- {0, 80, 0, 65535, 1013, 1335, 27000, 0.512631f, 1.3424f, 518, 1315, 1506, 1355},
- {0, 80, 0, 65535, 1451, 1235, 18476, 0.837543f, -0.78708f, 1402, 945, 1508, 1526},
- {0, 74, 0, 65535, 1494, 1222, 0, 0.344611f, 0.592088f, 1450, 1062, 1537, 1393},
- {0, 80, 0, 65535, 2803, 1537, 35390, 0.837544f, -0.78708f, 2739, 1247, 2859, 1829},
- {0, 74, 0, 65535, 4654, 1444, 0, 3.87235f, 0.435523f, 4173, 1327, 5138, 1570},
- {0, 80, 0, 65535, 3072, 1405, 26989, 0.837544f, -0.78708f, 2782, 1372, 3362, 1439},
- {0, 80, 0, 65535, 3849, 1396, 26989, 0.837544f, -0.903202f, 3517, 1363, 4182, 1430},
- {0, 64, 0, 65535, 4309, 1245, 0, -1.0f, 0.528802f, 4168, 1143, 4449, 1346},
- {0, 80, 0, 65535, 4161, 1367, 18853, 0.606942f, -0.501492f, 4115, 1181, 4212, 1553},
- {1, 40, 0, 65535, 446, 1282, 0, 1.00541f, 1.00541f, 352, 1187, 541, 1374},
- {1, 40, 0, 243, 650, 1084, 0, 1.00541f, 1.00541f, 556, 989, 745, 1176},
- {1, 14, 0, 65535, 1644, 1134, 0, -1.0f, 1.0f, 1505, 945, 1784, 1323},
- {1, 15, 0, 65535, 1911, 1235, 2043, 1.0f, 1.00394f, 1780, 1144, 2042, 1325},
- {1, 35, 0, 65535, 2273, 1258, 0, -1.0f, 1.00433f, 2032, 1143, 2514, 1376},
- {1, 40, 0, 244, 862, 882, 0, 1.00541f, 1.00541f, 767, 787, 956, 974},
- {1, 46, 0, 65535, 172, 1368, 0, 1.52945f, 1.0f, -19, 1362, 363, 1374},
- {5, 255, 0, 65535, 4525, 1271, 0, 162.0f, 90.0f, 4444, 1225, 4607, 1316},
- {1, 40, 0, 245, 1072, 676, 0, 1.00541f, 1.00541f, 978, 581, 1167, 768},
- {1, 40, 0, 65535, 2711, 1283, 0, 1.00541f, 1.00541f, 2617, 1189, 2805, 1376},
- {1, 40, 0, 246, 3075, 1149, 0, 1.00541f, 1.00541f, 2981, 1055, 3169, 1242},
- {1, 40, 0, 247, 3803, 1149, 0, 1.00541f, 1.00541f, 3709, 1055, 3897, 1242},
- {1, 15, 0, 65535, 4298, 1236, 34309, -1.0f, 1.00394f, 4171, 1138, 4423, 1333},
- {1, 46, 0, 65535, 4654, 1325, 0, 1.88487f, 1.0f, 4419, 1319, 4890, 1331},
- {1, 40, 0, 248, 3440, 1149, 0, 1.00541f, 1.00541f, 3346, 1055, 3534, 1242},
- {1, 55, 0, 65535, 2570, 1369, 0, 1.37349f, 1.0f, 2513, 1363, 2627, 1375},
- {2, 0, 0, 249, 1330, 355, 0, 0.874126f, -0.874126f, 1162, 328, 1498, 383},
- {0, 77, 0, 65535, 493, 1485, 9000, 4.20699f, 6.29299f, -8, 1371, 991, 1604},
- {0, 77, 0, 65535, 1485, 1487, 9000, 4.14286f, 7.14015f, 917, 1375, 2049, 1603},
- {0, 77, 0, 65535, 4345, 1484, 9000, 4.24975f, 16.892f, 3002, 1369, 5680, 1603},
- {0, 77, 0, 65535, 2605, 1487, 9000, 4.14286f, 7.14013f, 2037, 1375, 3169, 1603},
- {0, 68, 0, 65535, 824, 1302, 0, 0.633285f, 0.647344f, 672, 1218, 977, 1385},
- {0, 68, 0, 65535, 1680, 1275, 0, -0.995083f, 0.991f, 1440, 1146, 1919, 1402},
- {0, 64, 0, 65535, 2015, 1247, 0, 0.690354f, 0.68538f, 1918, 1116, 2113, 1379},
- {0, 64, 0, 65535, 3400, 1285, 0, -0.690354f, 0.462842f, 3303, 1196, 3498, 1374},
- {0, 68, 0, 65535, 3640, 1302, 0, 0.633285f, 0.647342f, 3488, 1218, 3793, 1386},
- {0, 68, 0, 65535, 4437, 1273, 0, -0.995083f, 0.991f, 4197, 1144, 4676, 1400},
- {0, 64, 0, 65535, 584, 1288, 0, -0.690354f, 0.462843f, 487, 1199, 681, 1377},
- {0, 80, 0, 65535, 135, 1364, 26465, 1.0f, 1.0f, -234, 1300, 505, 1438},
- {0, 77, 0, 65535, -403, 1485, 9000, 4.207f, 6.293f, -904, 1371, 95, 1604},
- {0, 80, 0, 65535, -561, 1385, 27093, 1.0f, 1.0f, -931, 1342, -194, 1430},
- {0, 80, 0, 65535, 475, 1413, 19006, 0.486621f, -0.455142f, 431, 1246, 523, 1582},
- {0, 80, 0, 65535, 1211, 1359, 26958, 1.0f, 1.0f, 843, 1319, 1579, 1401},
- {0, 80, 0, 65535, 1029, 1487, 34425, 0.807016f, 0.7363f, 925, 1220, 1126, 1756},
- {0, 80, 0, 65535, 1377, 1416, 19938, 0.90828f, 0.7363f, 1262, 1152, 1501, 1684},
- {0, 80, 0, 65535, 2145, 1455, 34877, 0.456097f, 0.7363f, 2075, 1186, 2212, 1724},
- {0, 80, 0, 65535, 2378, 1355, 26944, 0.72286f, 0.67542f, 2129, 1326, 2627, 1386},
- {0, 80, 0, 65535, 2870, 1361, 27179, 0.72286f, 0.675421f, 2620, 1328, 3119, 1397},
- {0, 80, 0, 65535, 3094, 1372, 24614, 0.72286f, 0.675421f, 2858, 1252, 3332, 1499},
- {0, 80, 0, 65535, 3250, 1469, 19560, 0.50316f, -0.675421f, 3168, 1226, 3336, 1714},
- {0, 77, 0, 65535, 3250, 1434, 6124, 3.45882f, 1.20801f, 3120, 1305, 3381, 1565},
- {0, 80, 0, 65535, 4002, 1355, 27179, 0.72286f, 0.675421f, 3752, 1322, 4251, 1391},
- {0, 80, 0, 65535, 4168, 1396, 19069, 0.72286f, 0.675421f, 4101, 1148, 4242, 1646},
- {0, 80, 0, 65535, 3815, 1469, 34985, 0.72286f, 0.675421f, 3743, 1221, 3880, 1719},
- {0, 80, 0, 65535, 5420, 1382, 26827, 0.839139f, 0.675421f, 5171, 1346, 5669, 1423},
- {5, 255, 0, 65535, 4809, 1302, 0, 162.0f, 90.0f, 4728, 1257, 4891, 1348},
- {1, 11, 0, 65535, 4925, 1362, 0, 1.77343f, 1.0f, 4676, 1356, 5175, 1368},
- {1, 12, 0, 65535, 78, 363, 3737, 1.0f, 1.0f, -1, 300, 157, 425},
- {1, 35, 0, 65535, 1681, 1253, 0, -1.0f, 1.00433f, 1440, 1137, 1922, 1370},
- {1, 12, 0, 65535, 279, 606, 5650, 1.0f, 1.0f, 222, 523, 337, 688},
- {1, 12, 0, 65535, 426, 913, 7432, 1.0f, 1.0f, 395, 821, 458, 1006},
- {1, 16, 0, 65535, 574, 1282, 35209, -1.0f, 1.00521f, 491, 1195, 657, 1368},
- {1, 15, 0, 65535, 2012, 1242, 0, 1.0f, 1.00394f, 1918, 1114, 2106, 1369},
- {1, 12, 0, 65535, 2243, 618, 11468, 1.0f, 1.0f, 2198, 529, 2288, 706},
- {1, 12, 0, 65535, 2149, 911, 10081, 1.0f, 1.0f, 2125, 817, 2173, 1005},
- {1, 12, 0, 65535, 2426, 380, 32123, 1.0f, 1.0f, 2348, 316, 2503, 444},
- {1, 12, 0, 65535, 2732, 307, 0, 1.0f, 1.0f, 2637, 301, 2826, 314},
- {1, 12, 0, 65535, 3098, 606, 5650, 1.0f, 1.0f, 3041, 524, 3156, 688},
- {1, 16, 0, 65535, 3393, 1282, 35209, -1.0f, 1.00521f, 3310, 1195, 3476, 1368},
- {1, 12, 0, 65535, 3245, 913, 7432, 1.0f, 1.0f, 3214, 821, 3277, 1006},
- {1, 12, 0, 65535, 2897, 363, 3737, 1.0f, 1.0f, 2818, 300, 2976, 425},
- {1, 36, 0, 65535, 3635, 1289, 0, 1.0f, 1.0f, 3474, 1210, 3796, 1369},
- {1, 35, 0, 65535, 4436, 1253, 0, -1.0f, 1.00433f, 4195, 1137, 4677, 1370},
- {1, 36, 0, 65535, 816, 1289, 0, 1.0f, 1.0f, 655, 1210, 977, 1369},
- {0, 74, 0, 250, 1154, 688, 0, 0.58f, 1.24007f, 1082, 353, 1227, 1045},
- {0, 74, 0, 251, 1302, 688, 0, 0.58f, 1.24007f, 1230, 353, 1375, 1045},
- {0, 74, 0, 252, 1450, 688, 0, 0.58f, 1.24007f, 1378, 353, 1523, 1045},
- {0, 74, 0, 253, 1598, 688, 0, 0.58f, 1.24007f, 1526, 353, 1671, 1045},
- {0, 74, 0, 65535, 1747, 1443, 9000, 1.6143f, 7.41574f, -385, 1243, 3746, 1645},
- {0, 74, 0, 254, 3098, 1363, 0, 0.726151f, 1.24007f, 3008, 1028, 3189, 1720},
- {0, 74, 0, 255, 3280, 1362, 0, 0.726152f, 1.24007f, 3190, 1027, 3372, 1719},
- {0, 74, 0, 256, 3463, 1363, 0, 0.726152f, 1.24007f, 3372, 1028, 3554, 1720},
- {0, 74, 0, 65535, 2652, 1333, 9000, 2.47947f, 1.31769f, 2273, 1025, 3008, 1643},
- {0, 74, 0, 65535, 3925, 1397, 9000, 2.99412f, 1.28193f, 3556, 1025, 4271, 1772},
- {0, 68, 0, 65535, 2033, 1154, 0, 1.0f, 1.0f, 1793, 1024, 2274, 1282},
- {0, 80, 0, 65535, -363, 1265, 27000, 1.0f, 1.0f, -731, 1226, 5, 1305},
- {0, 80, 0, 65535, 4208, 1048, 27000, 1.0f, 1.0f, 3840, 1009, 4576, 1088},
- {5, 255, 0, 65535, 3701, 963, 0, 162.0f, 90.0f, 3620, 918, 3783, 1009},
- {2, 0, 0, 257, 1154, 1065, 18000, 0.379998f, 0.603774f, 1081, 1045, 1228, 1084},
- {2, 0, 0, 258, 1598, 1065, 18000, 0.379998f, 0.603774f, 1525, 1045, 1672, 1084},
- {2, 0, 0, 259, 1450, 1065, 18000, 0.379998f, 0.603774f, 1377, 1045, 1524, 1084},
- {2, 0, 0, 260, 1302, 1065, 18000, 0.379998f, 0.603774f, 1229, 1045, 1376, 1084},
- {2, 2, 0, 261, 386, 1329, 0, 0.610442f, -0.610442f, 191, 1189, 582, 1468},
- {2, 2, 0, 262, 779, 1329, 9000, 0.610442f, -0.610442f, 640, 1134, 919, 1525},
- {2, 2, 0, 263, 2337, 1087, 0, 0.469879f, -0.46988f, 2187, 979, 2488, 1195},
- {2, 1, 0, 264, 2708, 828, 0, 0.265306f, 0.265306f, 2622, 742, 2794, 913},
- {2, 1, 0, 265, 2708, 1222, 0, 0.265306f, 0.265306f, 2622, 1136, 2794, 1307},
- {2, 0, 0, 266, 3098, 1014, 0, 0.471697f, 0.471698f, 3007, 999, 3189, 1029},
- {2, 0, 0, 267, 3280, 1014, 0, 0.471697f, 0.471698f, 3189, 999, 3371, 1029},
- {2, 0, 0, 268, 3462, 1014, 0, 0.471697f, 0.471698f, 3371, 999, 3553, 1029},
- {1, 11, 0, 65535, 3056, 1022, 0, 5.59075f, 1.0f, 2270, 1016, 3842, 1028},
- {1, 35, 0, 65535, 2031, 1132, 0, 1.0f, 1.00433f, 1790, 1016, 2272, 1249},
- {1, 11, 0, 65535, 1406, 1240, 0, 2.74377f, 1.0f, 1020, 1234, 1791, 1246},
- {1, 11, 0, 65535, 510, 1240, 0, 3.63345f, 1.0f, -1, 1234, 1021, 1246},
- {0, 74, 0, 65535, 742, 1852, 0, 7.54813f, 1.0f, -194, 1582, 1686, 2140},
- {0, 74, 0, 65535, 3748, 1772, 0, 4.66419f, 1.0f, 3170, 1502, 4332, 2060},
- {0, 74, 0, 65535, 5250, 1666, 35816, 8.43155f, 1.0f, 4196, 1362, 6313, 1987},
- {0, 74, 0, 65535, 6541, 1266, 0, 2.2468f, 1.279f, 6262, 921, 6822, 1635},
- {0, 68, 0, 65535, 546, 1495, 0, 1.0f, 1.0f, 306, 1365, 787, 1623},
- {0, 68, 0, 65535, 904, 1431, 0, -0.499414f, 0.501656f, 784, 1366, 1025, 1496},
- {0, 68, 0, 65535, 1144, 1432, 0, 0.499415f, 0.501658f, 1023, 1366, 1264, 1496},
- {0, 68, 0, 65535, 1380, 1432, 0, -0.499415f, 0.501658f, 1260, 1366, 1501, 1496},
- {0, 74, 0, 65535, 1226, 1754, 0, 3.68095f, 1.02349f, 769, 1477, 1686, 2048},
- {0, 64, 0, 65535, 1596, 1408, 0, 0.643788f, 0.381512f, 1505, 1335, 1686, 1481},
- {0, 68, 0, 65535, 1986, 1355, 824, -0.671517f, 0.657729f, 1814, 1247, 2137, 1462},
- {0, 74, 0, 65535, 2447, 1759, 992, 6.65891f, 1.0f, 1583, 1350, 3313, 2185},
- {0, 64, 0, 65535, 2221, 1373, 1529, 0.59288f, 0.504519f, 2115, 1300, 2326, 1488},
- {0, 64, 0, 65535, 2397, 1398, 417, -0.588146f, 0.468674f, 2308, 1302, 2473, 1494},
- {0, 74, 0, 65535, 2279, 1596, 894, 0.144216f, 1.0f, 2216, 1326, 2339, 1882},
- {0, 68, 0, 65535, 2593, 1466, 1828, 0.467993f, 0.586645f, 2463, 1425, 2724, 1573},
- {0, 80, 0, 65535, -337, 1608, 26940, 1.0f, 1.0f, -705, 1568, 31, 1651},
- {0, 80, 0, 65535, 6999, 941, 26940, 1.0f, 1.0f, 6631, 901, 7367, 984},
- {0, 80, 0, 65535, 1774, 1325, 24373, 0.924104f, 0.251024f, 1679, 1259, 1873, 1398},
- {0, 80, 0, 65535, 3005, 1552, 28030, 0.924104f, 0.860428f, 2687, 1468, 3321, 1644},
- {0, 80, 0, 65535, 3008, 1559, 25661, 0.924104f, 0.860428f, 2694, 1459, 3324, 1668},
- {0, 64, 0, 65535, 3315, 1340, 35439, -1.0f, 1.0f, 3157, 1163, 3474, 1545},
- {0, 80, 0, 65535, 3184, 1420, 17701, 0.359833f, -0.537562f, 3162, 1222, 3209, 1618},
- {0, 68, 0, 65535, 4001, 1417, 0, 0.980942f, 0.92881f, 3765, 1297, 4237, 1537},
- {0, 68, 0, 65535, 4637, 1361, 35763, 0.539881f, 0.511188f, 4509, 1289, 4769, 1432},
- {0, 68, 0, 65535, 5195, 1346, 35811, 0.6004f, 0.553409f, 5053, 1269, 5342, 1422},
- {0, 68, 0, 65535, 5766, 1328, 35811, 0.6004f, 0.553409f, 5624, 1251, 5913, 1404},
- {0, 68, 0, 65535, 4926, 1364, 28, -0.586787f, 0.553409f, 4785, 1291, 5067, 1436},
- {0, 68, 0, 65535, 5477, 1342, 28, -0.586788f, 0.553409f, 5336, 1270, 5618, 1414},
- {0, 68, 0, 65535, 4361, 1374, 28, -0.586788f, 0.553409f, 4220, 1302, 4502, 1446},
- {0, 80, 0, 65535, 6237, 1291, 18702, 1.0f, 1.0f, 6163, 923, 6321, 1662},
- {0, 80, 0, 65535, 5966, 1615, 34995, 1.0f, 1.0f, 5863, 1248, 6059, 1984},
- {0, 80, 0, 65535, 6160, 1357, 26647, 1.0f, 1.0f, 5791, 1303, 6529, 1419},
- {1, 11, 0, 65535, 3608, 1500, 0, 1.0f, 1.0f, 3468, 1494, 3749, 1506},
- {5, 255, 0, 65535, 6347, 856, 0, 162.0f, 90.0f, 6265, 811, 6428, 902},
- {1, 11, 0, 65535, 164, 1581, 0, 1.0f, 1.0f, 23, 1575, 305, 1588},
- {1, 35, 0, 65535, 544, 1472, 0, 1.0f, 1.00433f, 303, 1356, 785, 1589},
- {1, 37, 0, 65535, 904, 1418, 0, -1.0f, 1.0f, 783, 1356, 1025, 1479},
- {1, 36, 0, 65535, 1084, 1269, 0, 1.0f, 1.0f, 923, 1189, 1245, 1348},
- {1, 16, 0, 65535, 1335, 1128, 1544, 1.0f, 1.00521f, 1243, 1051, 1429, 1203},
- {1, 37, 0, 65535, 1143, 1418, 0, 1.0f, 1.0f, 1022, 1356, 1264, 1479},
- {1, 37, 0, 65535, 1384, 1418, 0, -1.0f, 1.0f, 1263, 1357, 1505, 1479},
- {1, 16, 0, 65535, 1400, 1231, 1621, 1.0f, 1.00521f, 1307, 1155, 1495, 1305},
- {1, 16, 0, 65535, 1594, 1405, 1544, 1.0f, 1.00521f, 1502, 1328, 1688, 1480},
- {2, 1, 0, 269, 1775, 1336, 0, 0.24564f, 0.237609f, 1695, 1259, 1854, 1412},
- {1, 36, 0, 65535, 1986, 1337, 751, -1.0f, 1.0f, 1836, 1237, 2137, 1437},
- {1, 16, 0, 65535, 2229, 1365, 1755, 1.0f, 1.00521f, 2134, 1291, 2326, 1437},
- {1, 59, 0, 65535, 1706, 1048, 786, 1.00348f, 1.0f, 1571, 956, 1859, 1122},
- {1, 16, 0, 65535, 2396, 1391, 0, -1.0f, 1.00521f, 2325, 1295, 2468, 1488},
- {1, 37, 0, 65535, 2594, 1455, 1313, 1.0f, 1.0f, 2463, 1419, 2726, 1492},
- {1, 47, 0, 270, 2364, 970, 3300, 1.00235f, 1.0f, 2128, 792, 2555, 1206},
- {2, 1, 0, 271, 2855, 1451, 0, 0.335853f, 0.324873f, 2746, 1346, 2963, 1555},
- {1, 36, 0, 65535, 2753, 1259, 0, -1.0f, 1.0f, 2592, 1180, 2914, 1338},
- {1, 16, 0, 65535, 3005, 1265, 1629, 1.0f, 1.00521f, 2912, 1189, 3100, 1339},
- {1, 14, 0, 65535, 3314, 1332, 35440, -1.0f, 1.0f, 3158, 1156, 3471, 1507},
- {1, 59, 0, 65535, 3592, 1291, 32737, 1.00348f, 1.0f, 3431, 1152, 3699, 1375},
- {2, 1, 0, 272, 1865, 798, 0, 0.24564f, 0.237609f, 1786, 721, 1945, 874},
- {2, 1, 0, 273, 3589, 1077, 0, 0.31501f, 0.304712f, 3487, 978, 3691, 1174},
- {1, 36, 0, 65535, 4510, 1199, 0, 1.0f, 1.0f, 4349, 1119, 4671, 1278},
- {1, 37, 0, 65535, 4354, 1358, 208, -1.0f, 1.0f, 4235, 1292, 4474, 1424},
- {1, 35, 0, 65535, 3993, 1399, 208, 1.0f, 1.00433f, 3748, 1291, 4238, 1508},
- {1, 36, 0, 65535, 4970, 1032, 0, 1.0f, 1.0f, 4809, 952, 5131, 1111},
- {1, 37, 0, 65535, 4789, 1181, 0, -1.0f, 1.0f, 4668, 1119, 4910, 1242},
- {1, 36, 0, 65535, 5289, 886, 0, 1.0f, 1.0f, 5128, 807, 5450, 966},
- {1, 37, 0, 65535, 5569, 868, 0, -1.0f, 1.0f, 5448, 807, 5690, 930},
- {1, 36, 0, 65535, 5750, 720, 0, 1.0f, 1.0f, 5589, 640, 5911, 799},
- {1, 36, 0, 65535, 5069, 1162, 0, 1.0f, 1.0f, 4908, 1083, 5230, 1242},
- {1, 37, 0, 65535, 5349, 1144, 0, -1.0f, 1.0f, 5228, 1083, 5470, 1206},
- {2, 2, 0, 274, 5478, 1060, 7555, 0.432548f, 0.432548f, 5357, 921, 5597, 1199},
- {2, 1, 0, 275, 5981, 587, 0, 0.24564f, 0.237609f, 5902, 510, 6061, 663},
- {1, 36, 0, 65535, 5195, 1334, 208, 1.0f, 1.0f, 5031, 1260, 5358, 1408},
- {1, 36, 0, 65535, 4634, 1350, 208, 1.0f, 1.0f, 4470, 1276, 4798, 1424},
- {1, 37, 0, 65535, 4914, 1342, 208, -1.0f, 1.0f, 4795, 1276, 5033, 1408},
- {1, 37, 0, 65535, 5475, 1326, 208, -1.0f, 1.0f, 5356, 1260, 5594, 1392},
- {1, 36, 0, 65535, 5754, 1318, 208, 1.0f, 1.0f, 5591, 1244, 5918, 1392},
- {2, 1, 0, 276, 5998, 1193, 0, 0.24564f, 0.237609f, 5918, 1116, 6077, 1269},
- {1, 14, 0, 65535, 5645, 1054, 1381, 1.0f, 1.0f, 5467, 901, 5825, 1205},
- {1, 16, 0, 65535, 5921, 854, 10124, -1.0f, 1.00521f, 5813, 802, 6028, 908},
- {1, 37, 0, 65535, 6147, 863, 0, -1.0f, 1.0f, 6026, 802, 6268, 925},
- {1, 12, 0, 65535, 6451, 918, 0, 1.96788f, 1.0f, 6265, 911, 6636, 924},
- {2, 2, 0, 277, 5429, 869, 7555, 0.432548f, 0.432548f, 5308, 730, 5548, 1008},
- {1, 57, 0, 65535, 5706, 914, 33428, 1.0f, 1.0f, 5684, 899, 5728, 929},
- {2, 1, 0, 278, 4653, 910, 0, 0.24564f, 0.237609f, 4574, 833, 4733, 987},
- {2, 2, 0, 279, 1505, 1100, 8258, 0.432548f, 0.432548f, 1394, 960, 1615, 1239},
- {2, 2, 0, 280, 1260, 1437, 0, 0.485282f, 0.485282f, 1105, 1326, 1416, 1549},
- {2, 2, 0, 281, 2341, 1005, 9000, 0.608441f, 0.60844f, 2201, 810, 2480, 1200},
- {2, 2, 0, 282, 4789, 1393, 9000, 0.549538f, 0.549537f, 4663, 1217, 4915, 1570},
- {4, 255, 0, 65535, 573, 1437, 0, 81.0f, 106.0f, 532, 1383, 614, 1490},
- {4, 255, 0, 65535, 433, 1490, 0, 81.0f, 106.0f, 392, 1436, 474, 1543},
- {4, 255, 0, 65535, 359, 1474, 0, 81.0f, 106.0f, 318, 1421, 400, 1528},
- {4, 255, 0, 65535, 513, 1470, 0, 81.0f, 106.0f, 472, 1417, 554, 1523},
- {4, 255, 0, 65535, 296, 1440, 0, 81.0f, 106.0f, 255, 1387, 337, 1493},
- {0, 77, 0, 65535, -106, 1469, 9000, 5.77229f, 3.27751f, -367, 1312, 154, 1631},
- {0, 68, 0, 65535, 277, 1395, 0, -0.666984f, 0.666984f, 116, 1308, 437, 1481},
- {0, 77, 0, 65535, 1246, 1539, 9000, 3.10437f, 13.8729f, 143, 1455, 2343, 1627},
- {0, 80, 0, 65535, -364, 1323, 27044, 0.829247f, 1.0f, -733, 1289, 4, 1359},
- {0, 77, 0, 65535, 2807, 1539, 9000, 3.10438f, 5.95713f, 2333, 1455, 3279, 1627},
- {0, 77, 0, 65535, 3712, 1591, 9000, 3.10438f, 6.08663f, 3228, 1507, 4194, 1679},
- {0, 77, 0, 65535, 4779, 1542, 9000, 3.10438f, 7.69144f, 4167, 1458, 5387, 1630},
- {0, 80, 0, 65535, 1273, 1469, 9000, -0.829247f, 1.2755f, 804, 1437, 1743, 1502},
- {0, 80, 0, 65535, 4468, 1462, 9000, -0.538388f, 0.828115f, 4163, 1441, 4773, 1484},
- {0, 80, 0, 65535, 5070, 1462, 9000, -0.538388f, 0.828115f, 4766, 1441, 5376, 1484},
- {0, 80, 0, 65535, 5356, 1600, 590, -0.900533f, 0.848399f, 5298, 1287, 5423, 1914},
- {0, 77, 0, 65535, 5627, 1447, 9000, 5.77229f, 3.27751f, 5366, 1291, 5886, 1609},
- {0, 68, 0, 65535, 3957, 1415, 0, 1.0f, 1.0f, 3717, 1285, 4198, 1543},
- {0, 80, 0, 65535, 4213, 1597, 17353, -0.900533f, 0.848399f, 4143, 1284, 4276, 1911},
- {0, 68, 0, 65535, 3029, 1392, 0, 0.666892f, 0.666892f, 2868, 1305, 3189, 1478},
- {0, 64, 0, 65535, 3312, 1415, 8376, 0.77767f, 0.600803f, 3185, 1319, 3438, 1536},
- {0, 77, 0, 65535, 3185, 1434, 9000, 3.10438f, 0.273347f, 3162, 1349, 3207, 1521},
- {0, 80, 0, 65535, 5863, 1297, 9000, -0.538388f, 0.602535f, 5641, 1276, 6085, 1319},
- {1, 57, 0, 65535, 57, 1304, 0, 2.85714f, 1.0f, -3, 1298, 118, 1310},
- {1, 36, 0, 65535, 276, 1377, 0, -1.0f, 1.0f, 115, 1298, 437, 1457},
- {1, 55, 0, 65535, 481, 1450, 0, 1.07831f, 1.0f, 436, 1444, 526, 1457},
- {5, 255, 0, 65535, 5513, 1219, 0, 162.0f, 90.0f, 5432, 1173, 5595, 1264},
- {1, 11, 0, 283, 666, 1450, 0, 1.0f, 1.0f, 525, 1444, 807, 1457},
- {1, 11, 0, 284, 1878, 1450, 0, 1.0f, 1.0f, 1737, 1444, 2019, 1457},
- {2, 1, 0, 285, 1219, 1368, 0, 0.464928f, 0.464928f, 1069, 1218, 1368, 1516},
- {2, 1, 0, 286, 2515, 1108, 0, 0.356413f, 0.356413f, 2400, 993, 2630, 1222},
- {1, 11, 0, 65535, 2159, 1450, 0, 1.0f, 1.0f, 2018, 1444, 2300, 1457},
- {1, 11, 0, 65535, 2440, 1450, 0, 1.0f, 1.0f, 2299, 1444, 2581, 1457},
- {1, 11, 0, 65535, 2721, 1450, 0, 1.0f, 1.0f, 2580, 1444, 2862, 1457},
- {1, 36, 0, 65535, 3022, 1378, 0, 1.0f, 1.0f, 2861, 1298, 3183, 1457},
- {1, 11, 0, 287, 3321, 1305, 0, 1.0f, 1.0f, 3180, 1298, 3462, 1311},
- {1, 15, 0, 65535, 3318, 1414, 34218, -1.0f, 1.00394f, 3190, 1318, 3445, 1509},
- {2, 1, 0, 288, 3697, 1079, 0, 0.464929f, 0.464929f, 3547, 929, 3847, 1228},
- {1, 11, 0, 65535, 3582, 1501, 0, 1.0f, 1.0f, 3441, 1494, 3723, 1507},
- {1, 11, 0, 289, 4337, 1320, 1500, 1.0f, 1.0f, 4199, 1277, 4475, 1362},
- {1, 11, 0, 290, 5230, 1320, 34500, 1.0f, 1.0f, 5092, 1277, 5368, 1363},
- {1, 35, 0, 65535, 3963, 1392, 0, 1.0f, 1.00433f, 3722, 1276, 4204, 1509},
- {1, 11, 0, 65535, 5505, 1284, 0, 1.0f, 1.0f, 5364, 1277, 5646, 1290},
- {2, 1, 0, 291, 4785, 1153, 0, 0.114593f, 0.114593f, 4748, 1116, 4823, 1190},
- {4, 255, 0, 65535, 573, 1437, 0, 81.0f, 106.0f, 532, 1383, 614, 1490},
- {4, 255, 0, 65535, 433, 1490, 0, 81.0f, 106.0f, 392, 1436, 474, 1543},
- {4, 255, 0, 65535, 359, 1474, 0, 81.0f, 106.0f, 318, 1421, 400, 1528},
- {4, 255, 0, 65535, 513, 1470, 0, 81.0f, 106.0f, 472, 1417, 554, 1523},
- {4, 255, 0, 65535, 296, 1440, 0, 81.0f, 106.0f, 255, 1387, 337, 1493},
- {0, 77, 0, 65535, -106, 1469, 9000, 5.77229f, 3.27751f, -367, 1312, 154, 1631},
- {0, 80, 0, 65535, -364, 1323, 27044, 0.829247f, 1.0f, -733, 1289, 4, 1359},
- {0, 80, 0, 65535, 2934, 1370, 27044, 0.829247f, 1.0f, 2565, 1336, 3301, 1406},
- {0, 80, 0, 65535, 512, 1590, 27044, 0.829247f, 1.0f, 144, 1555, 880, 1625},
- {0, 80, 0, 65535, 1242, 1581, 26812, 0.892144f, 1.0f, 873, 1539, 1611, 1628},
- {0, 80, 0, 65535, 1953, 1578, 27141, 0.829247f, 1.0f, 1584, 1540, 2321, 1620},
- {0, 80, 0, 65535, 182, 1671, 35302, 0.829247f, 1.0f, 104, 1302, 250, 2039},
- {0, 80, 0, 65535, 2304, 1719, 18137, 0.829247f, 1.0f, 2267, 1351, 2346, 2088},
- {0, 77, 0, 65535, 2555, 1511, 9000, 5.77229f, 3.27751f, 2294, 1355, 2814, 1673},
- {1, 57, 0, 65535, 57, 1304, 0, 2.85714f, 1.0f, -3, 1298, 118, 1310},
- {1, 36, 0, 65535, 278, 1231, 0, 1.0f, 1.0f, 117, 1152, 439, 1311},
- {5, 255, 0, 65535, 2441, 1283, 0, 162.0f, 90.0f, 2360, 1237, 2523, 1328},
- {1, 11, 0, 65535, 2433, 1348, 0, 1.0f, 1.0f, 2292, 1341, 2574, 1354},
- {1, 37, 0, 292, 682, 1133, 9000, 1.0f, 1.0f, 621, 1012, 744, 1254},
- {1, 37, 0, 293, 842, 1367, 18000, 1.0f, 1.0f, 721, 1306, 963, 1429},
- {1, 37, 0, 294, 1158, 951, 14977, 1.0f, 1.0f, 1078, 837, 1238, 1065},
- {1, 37, 0, 295, 1154, 1314, 13774, 1.0f, 1.0f, 1097, 1187, 1211, 1441},
- {1, 37, 0, 296, 1418, 1154, 20763, 1.0f, 1.0f, 1283, 1137, 1554, 1168},
- {1, 37, 0, 297, 1752, 1336, 9000, 1.0f, 1.0f, 1690, 1215, 1813, 1457},
- {1, 37, 0, 298, 1781, 983, 18000, 1.0f, 1.0f, 1660, 921, 1902, 1044},
- {1, 37, 0, 299, 2081, 1097, 27000, 1.0f, 1.0f, 2020, 976, 2143, 1218},
- {1, 37, 0, 300, 2062, 1381, 18000, 1.0f, 1.0f, 1941, 1320, 2183, 1443},
- {1, 37, 0, 301, 1517, 1405, 16371, 1.0f, 1.0f, 1415, 1312, 1620, 1498},
- {1, 37, 0, 302, 947, 1060, 21968, 1.0f, 1.0f, 815, 1020, 1079, 1099},
- {4, 255, 0, 65535, 573, 1437, 0, 81.0f, 106.0f, 532, 1383, 614, 1490},
- {4, 255, 0, 65535, 433, 1490, 0, 81.0f, 106.0f, 392, 1436, 474, 1543},
- {4, 255, 0, 65535, 359, 1474, 0, 81.0f, 106.0f, 318, 1421, 400, 1528},
- {4, 255, 0, 65535, 513, 1470, 0, 81.0f, 106.0f, 472, 1417, 554, 1523},
- {4, 255, 0, 65535, 296, 1440, 0, 81.0f, 106.0f, 255, 1387, 337, 1493},
- {0, 77, 0, 65535, -37, 1490, 9000, 5.77229f, 5.94587f, -510, 1333, 434, 1652},
- {0, 80, 0, 65535, -364, 1344, 27044, 0.829247f, 1.0f, -733, 1310, 4, 1380},
- {0, 68, 0, 65535, 277, 1267, 0, 0.661761f, 0.661761f, 118, 1181, 436, 1353},
- {0, 73, 0, 65535, 765, 1437, 0, 1.0f, 0.843772f, 653, 1188, 877, 1698},
- {0, 73, 0, 65535, 1462, 1566, 0, 1.0f, 0.843772f, 1350, 1317, 1574, 1827},
- {0, 73, 0, 65535, 2043, 1629, 0, 1.0f, 0.843772f, 1930, 1380, 2155, 1890},
- {0, 73, 0, 65535, 2483, 1583, 0, 1.0f, 0.843772f, 2371, 1334, 2595, 1844},
- {0, 66, 0, 65535, 3003, 1554, 0, 1.0f, 1.0f, 2762, 1415, 3243, 1693},
- {0, 64, 0, 65535, 3357, 1313, 0, 0.820179f, 0.595371f, 3242, 1200, 3473, 1428},
- {0, 77, 0, 65535, 3616, 1577, 9000, 5.77229f, 4.77143f, 3236, 1421, 3993, 1739},
- {0, 77, 0, 65535, 3538, 1416, 9000, 3.84936f, 0.834503f, 3471, 1311, 3604, 1524},
- {0, 80, 0, 65535, 3598, 1319, 30966, 0.436738f, 0.474979f, 3452, 1198, 3741, 1444},
- {0, 77, 0, 65535, 3504, 1297, 3674, 2.2559f, 0.541001f, 3429, 1226, 3580, 1370},
- {0, 80, 0, 65535, 4122, 1312, 9000, -0.436738f, 0.650366f, 3883, 1295, 4362, 1330},
- {0, 80, 0, 65535, 2462, 1595, 9000, -0.81155f, 0.826457f, 2158, 1563, 2767, 1627},
- {0, 80, 0, 65535, 1858, 1595, 9000, -0.81155f, 0.826458f, 1554, 1563, 2163, 1627},
- {0, 80, 0, 65535, 1052, 1598, 9000, -0.81155f, 0.826458f, 748, 1566, 1356, 1630},
- {0, 80, 0, 65535, 358, 1598, 9000, -0.81155f, 0.826458f, 54, 1566, 662, 1630},
- {0, 80, 0, 65535, 450, 1492, 17099, -0.81155f, 0.826458f, 371, 1188, 521, 1798},
- {0, 80, 0, 65535, 882, 1520, 17430, -0.81155f, -0.826458f, 819, 1215, 936, 1825},
- {0, 80, 0, 65535, 1581, 1647, 17430, -0.81155f, -0.826458f, 1519, 1341, 1635, 1952},
- {0, 80, 0, 65535, 2161, 1711, 17430, -0.81155f, -0.826458f, 2099, 1406, 2215, 2017},
- {0, 80, 0, 65535, 2598, 1657, 17430, -0.81155f, -0.826458f, 2536, 1352, 2652, 1963},
- {0, 80, 0, 65535, 2755, 1722, 514, -0.81155f, 0.826458f, 2704, 1417, 2814, 2027},
- {0, 80, 0, 65535, 2367, 1665, 514, -0.81155f, 0.826458f, 2316, 1360, 2427, 1971},
- {0, 80, 0, 65535, 1927, 1712, 514, -0.81155f, 0.826458f, 1876, 1407, 1987, 2017},
- {0, 80, 0, 65535, 1347, 1670, 514, -0.81155f, 0.826458f, 1296, 1365, 1407, 1976},
- {0, 80, 0, 65535, 650, 1538, 514, -0.81155f, 0.826458f, 599, 1233, 710, 1843},
- {0, 77, 0, 65535, 3966, 1468, 9000, 5.77229f, 5.02444f, 3566, 1312, 4363, 1630},
- {1, 57, 0, 65535, 57, 1325, 0, 2.85714f, 1.0f, -3, 1319, 118, 1331},
- {5, 255, 0, 65535, 3753, 1240, 0, 162.0f, 90.0f, 3672, 1194, 3835, 1285},
- {1, 11, 0, 65535, 3745, 1305, 0, 1.0f, 1.0f, 3604, 1298, 3886, 1311},
- {2, 1, 0, 303, -292, 1200, 0, 1.0f, 1.0f, -614, 878, 29, 1519},
- {1, 23, 0, 65535, 3006, 1500, 0, 1.0f, 1.00529f, 2766, 1404, 3247, 1595},
- {1, 15, 0, 65535, 3357, 1308, 949, 1.0f, 1.00394f, 3245, 1196, 3470, 1418},
- {1, 17, 0, 65535, 1463, 1330, 0, 1.0f, 1.0f, 1346, 1304, 1580, 1356},
- {1, 17, 0, 65535, 2043, 1393, 0, 1.0f, 1.0f, 1925, 1367, 2159, 1419},
- {1, 17, 0, 65535, 766, 1201, 0, 1.0f, 1.0f, 649, 1175, 882, 1227},
- {1, 17, 0, 65535, 2484, 1347, 0, 1.0f, 1.0f, 2367, 1321, 2601, 1373},
- {1, 36, 0, 65535, 278, 1252, 0, 1.0f, 1.0f, 117, 1173, 439, 1332},
- {4, 255, 0, 65535, 573, 1437, 0, 81.0f, 106.0f, 532, 1383, 614, 1490},
- {4, 255, 0, 65535, 433, 1490, 0, 81.0f, 106.0f, 392, 1436, 474, 1543},
- {4, 255, 0, 65535, 359, 1474, 0, 81.0f, 106.0f, 318, 1421, 400, 1528},
- {4, 255, 0, 65535, 513, 1470, 0, 81.0f, 106.0f, 472, 1417, 554, 1523},
- {4, 255, 0, 65535, 296, 1440, 0, 81.0f, 106.0f, 255, 1387, 337, 1493},
- {0, 74, 0, 65535, -67, 1386, 0, 1.521f, 1.0f, -257, 1116, 123, 1674},
- {0, 80, 0, 65535, 124, 1485, 0, 1.0f, 1.0f, 85, 1117, 163, 1853},
- {0, 74, 0, 65535, 4405, 1799, 0, 4.2811f, 1.0f, 3874, 1529, 4941, 2087},
- {0, 80, 0, 65535, 3883, 1897, 0, -1.0f, 1.0f, 3844, 1529, 3923, 2265},
- {0, 80, 0, 65535, 4724, 1546, 8848, -1.0f, -1.0f, 4355, 1502, 5092, 1596},
- {0, 80, 0, 65535, 478, 1598, 27000, 1.0f, 1.0f, 110, 1559, 846, 1638},
- {0, 80, 0, 65535, 1212, 1598, 27000, 1.0f, 1.0f, 844, 1559, 1580, 1637},
- {0, 80, 0, 65535, 1945, 1598, 27000, 1.0f, 1.0f, 1576, 1559, 2312, 1638},
- {0, 80, 0, 65535, 2679, 1598, 27000, 1.0f, 1.0f, 2310, 1559, 3046, 1638},
- {0, 80, 0, 65535, 3455, 1598, 27000, 1.0f, 1.11566f, 3044, 1559, 3865, 1638},
- {1, 13, 0, 65535, 76, 1112, 0, 1.08297f, 1.0f, -1, 1106, 153, 1118},
- {5, 255, 0, 65535, 4140, 1471, 0, 162.0f, 90.0f, 4059, 1425, 4222, 1516},
- {1, 12, 0, 65535, 4121, 1529, 0, 2.62148f, 1.0f, 3874, 1522, 4368, 1535},
- {1, 26, 0, 304, 275, 1108, 0, 1.00606f, 1.00606f, 191, 1024, 359, 1192},
- {1, 26, 0, 305, 859, 1248, 0, 1.00606f, 1.00606f, 775, 1164, 943, 1332},
- {1, 26, 0, 306, 1058, 1098, 33000, 1.00606f, 1.00606f, 943, 984, 1172, 1213},
- {1, 26, 0, 307, 1249, 966, 30000, 1.00606f, 1.00606f, 1135, 852, 1364, 1081},
- {1, 26, 0, 308, 1939, 1424, 4500, 1.00606f, 1.00606f, 1821, 1306, 2058, 1543},
- {1, 26, 0, 309, 2227, 1424, 0, 1.00606f, 1.00606f, 2143, 1340, 2311, 1508},
- {1, 26, 0, 310, 2515, 1424, 31500, 1.00606f, 1.00606f, 2397, 1306, 2634, 1543},
- {1, 26, 0, 311, 2930, 1224, 0, 1.00606f, 1.00606f, 2846, 1140, 3014, 1308},
- {1, 26, 0, 312, 3122, 1224, 0, 1.00606f, 1.00606f, 3038, 1140, 3206, 1308},
- {1, 26, 0, 313, 2930, 1416, 0, 1.00606f, 1.00606f, 2846, 1332, 3014, 1500},
- {1, 26, 0, 314, 3122, 1416, 0, 1.00606f, 1.00606f, 3038, 1332, 3206, 1500},
- {1, 26, 0, 315, 3538, 1086, 0, 1.00606f, 1.00606f, 3454, 1002, 3622, 1170},
- {1, 26, 0, 316, 3762, 1086, 0, 1.00606f, 1.00606f, 3678, 1002, 3846, 1170},
- {1, 26, 0, 317, 3762, 1310, 0, 1.00606f, 1.00606f, 3678, 1226, 3846, 1394},
- {1, 26, 0, 318, 3538, 1310, 0, 1.00606f, 1.00606f, 3454, 1226, 3622, 1394},
- {0, 68, 0, 65535, 109, 1216, 0, -0.453125f, 0.493088f, 0, 1152, 218, 1280},
- {0, 68, 0, 65535, 346, 1322, 0, -0.453125f, 0.453125f, 237, 1263, 456, 1381},
- {0, 74, 0, 65535, 64, 1486, 9007, 0.945126f, 0.221071f, 0, 1368, 124, 1605},
- {0, 74, 0, 65535, 120, 1396, 0, 0.960883f, 0.494049f, 0, 1262, 241, 1539},
- {0, 74, 0, 65535, 477, 1486, 9007, 0.945128f, 0.391572f, 364, 1368, 584, 1605},
- {0, 74, 0, 65535, 236, 1493, 9007, 0.945128f, 0.583489f, 68, 1375, 394, 1612},
- {0, 74, 0, 65535, -52, 1450, 3479, 1.0f, 1.0f, -318, 1158, 205, 1758},
- {0, 80, 0, 65535, -156, 1388, 21960, 1.0f, 0.761231f, -357, 1154, 52, 1630},
- {1, 55, 0, 65535, 529, 1368, 0, 1.17832f, 1.0f, 479, 1362, 578, 1374},
- {1, 37, 0, 65535, 360, 1315, 35900, -1.0f, 1.0f, 238, 1255, 482, 1374},
- {1, 37, 0, 65535, 120, 1207, 0, -1.0f, 1.0f, -1, 1146, 241, 1268},
- {0, 68, 0, 65535, 239, 1280, 0, 1.0125f, 1.0f, -4, 1150, 482, 1408},
- {0, 68, 0, 65535, 1084, 1324, 0, 0.489583f, 0.498054f, 966, 1259, 1201, 1388},
- {0, 77, 0, 65535, 414, 1487, 9000, 4.14286f, 5.28542f, -7, 1375, 832, 1603},
- {0, 68, 0, 65535, 722, 1280, 0, -1.0125f, 1.0f, 479, 1150, 965, 1408},
- {0, 68, 0, 65535, 1318, 1324, 0, -0.489583f, 0.498054f, 1200, 1259, 1435, 1388},
- {0, 77, 0, 65535, 1168, 1487, 9000, 4.14286f, 4.37917f, 819, 1375, 1514, 1603},
- {1, 35, 0, 65535, 240, 1258, 0, 1.0f, 1.00433f, -1, 1143, 481, 1376},
- {1, 35, 0, 65535, 719, 1258, 0, -1.0f, 1.00433f, 478, 1143, 960, 1376},
- {1, 37, 0, 65535, 1078, 1314, 0, 1.0f, 1.0f, 958, 1252, 1199, 1375},
- {1, 37, 0, 65535, 1320, 1314, 0, -1.0f, 1.0f, 1199, 1252, 1440, 1375},
- {4, 255, 0, 65535, 488, 1090, 0, 81.0f, 106.0f, 447, 1037, 528, 1143},
- {4, 255, 0, 65535, 1200, 1201, 0, 81.0f, 106.0f, 1159, 1148, 1240, 1254},
- {1, 57, 0, 65535, 1473, 1368, 0, 1.61111f, 1.0f, 1439, 1362, 1507, 1374},
- {0, 68, 0, 65535, 234, 1284, 0, 1.0125f, 1.0f, -9, 1155, 477, 1413},
- {0, 77, 0, 65535, 943, 1516, 9000, 5.28571f, 4.40417f, 592, 1373, 1291, 1664},
- {0, 74, 0, 65535, 300, 1576, 0, 2.49333f, 0.766839f, -10, 1369, 612, 1797},
- {0, 68, 0, 65535, 828, 1329, 0, -0.51875f, 0.512346f, 703, 1262, 952, 1395},
- {0, 80, 0, 65535, 474, 1282, 0, 0.305177f, 0.346049f, 462, 1154, 486, 1409},
- {0, 80, 0, 65535, 710, 1344, 0, -0.305177f, 0.217984f, 698, 1263, 722, 1424},
- {1, 35, 0, 65535, 240, 1258, 0, 1.0f, 1.00433f, -1, 1143, 481, 1376},
- {1, 37, 0, 65535, 821, 1314, 0, -1.0f, 1.0f, 700, 1252, 942, 1375},
- {2, 0, 0, 65535, 592, 1340, 0, 0.578089f, 1.0f, 480, 1308, 703, 1371},
- {1, 11, 0, 65535, 1112, 1368, 0, 1.2242f, 1.0f, 940, 1362, 1284, 1374},
- {4, 255, 0, 65535, 528, 1096, 0, 41.0f, 53.0f, 507, 1070, 548, 1123},
- {4, 255, 0, 65535, 632, 1102, 0, 41.0f, 53.0f, 612, 1075, 653, 1128},
- {4, 255, 0, 65535, 746, 1146, 0, 41.0f, 53.0f, 726, 1120, 767, 1173},
- {4, 255, 0, 65535, 824, 1216, 0, 41.0f, 53.0f, 804, 1190, 845, 1243},
- {0, 74, 0, 65535, 793, 1510, 9000, 1.104f, 2.78411f, -8, 1373, 1544, 1648},
- {0, 70, 0, 65535, 595, 1544, 1139, 1.21625f, 1.21625f, 400, 1144, 785, 2018},
- {0, 73, 0, 65535, 586, 1541, 35213, 1.0f, 1.0f, 434, 1234, 738, 1863},
- {0, 80, 0, 65535, 349, 1382, 27000, 0.398114f, 0.253196f, 255, 1366, 442, 1398},
- {0, 80, 0, 65535, 958, 1382, 27000, 0.398114f, 0.616308f, 731, 1366, 1184, 1398},
- {0, 74, 0, 65535, 1593, 1511, 9000, 1.104f, 0.210708f, 1532, 1374, 1650, 1649},
- {0, 80, 0, 65535, 759, 1267, 702, 0.314141f, 0.322234f, 732, 1148, 783, 1386},
- {0, 80, 0, 65535, 451, 1372, 17406, 0.246811f, 0.289337f, 432, 1265, 472, 1479},
- {0, 68, 0, 65535, 150, 1312, 0, 0.625f, 0.66875f, 0, 1225, 300, 1398},
- {0, 80, 0, 65535, 307, 1333, 0, 0.414692f, 0.289337f, 290, 1226, 323, 1439},
- {0, 68, 0, 65535, 1055, 1308, 0, -0.625f, 0.668751f, 905, 1221, 1205, 1394},
- {0, 80, 0, 65535, 911, 1331, 328, -0.414692f, 0.289338f, 891, 1223, 934, 1438},
- {2, 1, 0, 319, 374, 1321, 1557, 0.145773f, 0.145773f, 327, 1274, 421, 1368},
- {1, 18, 0, 65535, 507, 1282, 581, 1.00629f, 1.0f, 429, 1255, 588, 1301},
- {1, 36, 0, 65535, 158, 1296, 0, 1.0f, 1.0f, -2, 1216, 319, 1375},
- {1, 36, 0, 65535, 1064, 1295, 0, -1.0f, 1.0f, 904, 1216, 1225, 1374},
- {1, 12, 0, 65535, 1365, 1368, 0, 1.51345f, 1.0f, 1223, 1362, 1508, 1374},
- {1, 12, 0, 65535, 683, 1208, 32578, -1.28193f, 1.0f, 579, 1134, 786, 1281},
- {1, 13, 0, 65535, 1570, 1368, 0, 0.904372f, 1.0f, 1506, 1362, 1635, 1374},
- {2, 1, 0, 320, 825, 1317, 1557, 0.145773f, 0.145773f, 778, 1270, 872, 1364},
- {4, 255, 0, 65535, 334, 1180, 0, 41.0f, 53.0f, 313, 1154, 354, 1207},
- {4, 255, 0, 65535, 415, 1166, 0, 41.0f, 53.0f, 394, 1139, 436, 1193},
- {4, 255, 0, 65535, 496, 1158, 0, 41.0f, 53.0f, 475, 1131, 517, 1185},
- {0, 68, 0, 65535, 377, 1282, 0, 1.0125f, 1.0f, 134, 1153, 620, 1411},
- {0, 77, 0, 65535, 1130, 1516, 9000, 5.28571f, 11.3313f, 229, 1373, 2026, 1664},
- {0, 74, 0, 65535, 119, 1508, 0, 1.016f, 0.502591f, -7, 1373, 246, 1653},
- {0, 80, 0, 65535, 609, 1305, 0, 0.410256f, 0.410256f, 593, 1154, 625, 1456},
- {0, 68, 0, 65535, 2066, 1282, 0, -1.0125f, 1.0f, 1823, 1152, 2309, 1410},
- {0, 77, 0, 65535, 2153, 1518, 9000, 5.28571f, 3.675f, 1860, 1375, 2444, 1666},
- {0, 80, 0, 65535, 1833, 1288, 0, -0.410256f, 0.36921f, 1817, 1151, 1849, 1423},
- {1, 35, 0, 65535, 379, 1258, 0, 1.0f, 1.00433f, 138, 1143, 620, 1376},
- {2, 0, 0, 65535, 720, 1339, 0, 0.522145f, 1.0f, 619, 1307, 820, 1370},
- {1, 45, 0, 65535, 983, 1216, 0, 1.0f, 1.01818f, 874, 1188, 1092, 1243},
- {1, 45, 0, 65535, 1496, 1184, 0, 1.0f, 1.01818f, 1387, 1156, 1605, 1211},
- {2, 0, 0, 65535, 920, 1339, 0, 0.522145f, 1.0f, 819, 1307, 1020, 1370},
- {2, 0, 0, 65535, 1120, 1339, 0, 0.522145f, 1.0f, 1019, 1307, 1220, 1370},
- {2, 0, 0, 65535, 1320, 1339, 0, 0.522145f, 1.0f, 1219, 1307, 1420, 1370},
- {2, 0, 0, 65535, 1521, 1339, 0, 0.522145f, 1.0f, 1420, 1307, 1621, 1370},
- {2, 0, 0, 65535, 1722, 1339, 0, 0.522145f, 1.0f, 1621, 1307, 1822, 1370},
- {1, 13, 0, 65535, 70, 1368, 0, 1.0f, 1.0f, -1, 1362, 140, 1374},
- {1, 13, 0, 65535, 2373, 1368, 0, 0.913621f, 1.0f, 2308, 1362, 2437, 1374},
- {1, 35, 0, 65535, 2068, 1258, 0, -1.0f, 1.00433f, 1827, 1143, 2309, 1376},
- {4, 255, 0, 65535, 1124, 1122, 0, 41.0f, 53.0f, 1104, 1096, 1145, 1149},
- {4, 255, 0, 65535, 1186, 1090, 0, 41.0f, 53.0f, 1166, 1064, 1207, 1117},
- {4, 255, 0, 65535, 1254, 1074, 0, 41.0f, 53.0f, 1234, 1047, 1275, 1100},
- {4, 255, 0, 65535, 1328, 1080, 0, 41.0f, 53.0f, 1307, 1054, 1348, 1107},
- {4, 255, 0, 65535, 1384, 1116, 0, 41.0f, 53.0f, 1363, 1089, 1404, 1142},
- {0, 77, 0, 65535, 560, 1516, 0, 17.7143f, 1.84375f, 81, 1370, 1056, 1664},
- {0, 77, 0, 65535, 1197, 1516, 0, 10.75f, 1.84375f, 906, 1370, 1498, 1664},
- {0, 68, 0, 65535, 237, 1284, 0, 1.0f, 1.0f, -3, 1154, 477, 1412},
- {0, 68, 0, 65535, 993, 1282, 0, 1.02083f, 1.0f, 748, 1152, 1238, 1410},
- {0, 74, 0, 65535, 1570, 1516, 0, 1.076f, 0.544041f, 1437, 1369, 1705, 1673},
- {0, 74, 0, 65535, 116, 1512, 0, 1.02f, 0.525043f, -10, 1370, 244, 1663},
- {0, 80, 0, 65535, 467, 1305, 0, 0.410256f, 0.410256f, 451, 1154, 483, 1456},
- {0, 80, 0, 65535, 1227, 1304, 0, 0.410256f, 0.410256f, 1211, 1153, 1243, 1455},
- {1, 35, 0, 65535, 238, 1258, 0, 1.0f, 1.00433f, -3, 1143, 479, 1376},
- {1, 11, 0, 65535, 618, 1368, 0, 1.0f, 1.0f, 477, 1362, 758, 1374},
- {1, 35, 0, 65535, 997, 1258, 0, 1.0f, 1.00433f, 756, 1143, 1238, 1376},
- {1, 11, 0, 65535, 1468, 1368, 0, 1.6314f, 1.0f, 1238, 1362, 1698, 1374},
- {4, 255, 0, 65535, 1302, 1096, 0, 41.0f, 53.0f, 1281, 1069, 1322, 1122},
- {4, 255, 0, 65535, 1368, 1108, 0, 41.0f, 53.0f, 1348, 1081, 1389, 1134},
- {4, 255, 0, 65535, 1430, 1142, 0, 41.0f, 53.0f, 1409, 1115, 1450, 1168},
- {0, 77, 0, 65535, 544, 1520, 0, 18.2857f, 1.80625f, 50, 1376, 1056, 1664},
- {0, 77, 0, 65535, 1600, 1516, 0, 20.5714f, 1.80625f, 1044, 1373, 2176, 1661},
- {0, 70, 0, 65535, 484, 1396, 0, 1.0f, 1.0f, 394, 1044, 572, 1778},
- {0, 70, 0, 65535, 124, 1556, 0, 1.0f, 1.0f, 35, 1204, 213, 1938},
- {0, 70, 0, 65535, 836, 1234, 0, 1.0f, 1.0f, 747, 881, 925, 1615},
- {0, 68, 0, 65535, 1156, 792, 0, 1.0f, 1.0f, 916, 662, 1396, 920},
- {0, 74, 0, 65535, 1148, 1188, 0, 1.96f, 1.0f, 904, 918, 1393, 1475},
- {0, 74, 0, 65535, 2198, 1642, 0, 0.412f, 1.0f, 2147, 1372, 2250, 1929},
- {0, 74, 0, 65535, 118, 1640, 0, 1.028f, 1.0f, -9, 1371, 247, 1928},
- {0, 80, 0, 65535, 213, 1296, 0, 0.153846f, 0.260218f, 207, 1200, 219, 1392},
- {0, 80, 0, 65535, 309, 1377, 27000, 0.820513f, 0.260218f, 213, 1345, 405, 1409},
- {0, 80, 0, 65535, 661, 1377, 27000, 0.820513f, 0.260218f, 565, 1345, 757, 1409},
- {0, 80, 0, 65535, 569, 1194, 0, 0.153846f, 0.401907f, 563, 1045, 575, 1341},
- {0, 80, 0, 65535, 1385, 1246, 0, 0.512821f, 0.412304f, 1365, 1093, 1405, 1397},
- {0, 80, 0, 65535, 1385, 882, 0, 0.512821f, 0.595368f, 1365, 662, 1405, 1100},
- {0, 80, 0, 65535, 762, 1204, 0, -0.512821f, 0.401907f, 742, 1056, 782, 1352},
- {0, 80, 0, 65535, 410, 1366, 0, -0.512821f, 0.401907f, 390, 1218, 430, 1514},
- {1, 57, 0, 65535, 20, 1368, 0, 1.07143f, 1.0f, -3, 1362, 42, 1374},
- {1, 35, 0, 65535, 1159, 771, 0, 1.0f, 1.00433f, 918, 655, 1400, 888},
- {1, 40, 0, 65535, 126, 1282, 0, 1.00541f, 1.00541f, 31, 1187, 220, 1374},
- {1, 40, 0, 65535, 482, 1128, 0, 1.00541f, 1.00541f, 387, 1034, 576, 1221},
- {1, 40, 0, 65535, 834, 966, 0, 1.00541f, 1.00541f, 739, 872, 928, 1059},
- {1, 11, 0, 65535, 1821, 1368, 0, 2.98932f, 1.0f, 1401, 1362, 2241, 1374},
- {4, 255, 0, 65535, 944, 846, 0, 41.0f, 53.0f, 923, 819, 964, 872},
- {4, 255, 0, 65535, 1000, 832, 0, 41.0f, 53.0f, 979, 805, 1020, 858},
- {4, 255, 0, 65535, 1060, 806, 0, 41.0f, 53.0f, 1039, 779, 1080, 832},
- {4, 255, 0, 65535, 1108, 774, 0, 41.0f, 53.0f, 1088, 747, 1129, 800},
- {0, 77, 0, 65535, 108, 1486, 9000, 4.14286f, 1.44375f, -7, 1374, 223, 1602},
- {0, 80, 0, 65535, 228, 1499, 0, 0.348774f, 0.348774f, 214, 1370, 242, 1627},
- {0, 80, 0, 65535, 971, 1499, 0, -0.348774f, 0.348774f, 957, 1370, 985, 1627},
- {0, 80, 0, 65535, 423, 1570, 27000, 0.75903f, 0.610354f, 198, 1541, 647, 1600},
- {0, 77, 0, 65535, 1263, 1486, 9000, 4.14286f, 3.59731f, 976, 1374, 1547, 1602},
- {0, 80, 0, 65535, 868, 1570, 27000, 0.759031f, 0.610354f, 643, 1541, 1092, 1600},
- {0, 68, 0, 65535, 1085, 1326, 0, 0.528818f, 0.490272f, 957, 1262, 1212, 1389},
- {0, 68, 0, 65535, 1322, 1328, 0, -0.466667f, 0.490272f, 1210, 1264, 1434, 1391},
- {1, 11, 0, 65535, 140, 1368, 0, 1.0f, 1.0f, -1, 1362, 280, 1374},
- {1, 16, 0, 65535, 367, 1296, 1300, 1.0f, 1.00521f, 278, 1215, 458, 1375},
- {1, 51, 0, 321, 479, 1145, 2043, 1.0f, 1.00625f, 445, 1066, 514, 1223},
- {1, 60, 0, 65535, 432, 980, 20211, 1.00457f, 1.0f, 308, 920, 522, 1073},
- {1, 19, 0, 65535, 329, 1047, 6662, 1.00826f, 1.0f, 306, 989, 365, 1101},
- {1, 56, 0, 65535, 385, 1107, 2710, 1.0f, 1.0f, 357, 1089, 413, 1126},
- {1, 56, 0, 65535, 579, 1179, 1591, 1.0f, 1.0f, 550, 1165, 608, 1193},
- {1, 16, 0, 322, 712, 1146, 3143, 1.0f, 1.00521f, 603, 1095, 822, 1200},
- {1, 59, 0, 65535, 786, 921, 22147, 1.00348f, 1.0f, 630, 831, 884, 1072},
- {1, 17, 1, 65535, 586, 1027, 9208, 1.0f, 1.0f, 561, 911, 616, 1144},
- {1, 57, 0, 65535, 830, 1083, 30756, 1.0f, 1.0f, 812, 1062, 848, 1104},
- {1, 57, 0, 65535, 623, 899, 30858, 1.0f, 1.0f, 605, 879, 642, 920},
- {1, 56, 0, 65535, 852, 1139, 33870, 1.0f, 1.0f, 823, 1123, 881, 1155},
- {1, 37, 0, 65535, 1322, 1312, 0, -1.0f, 1.0f, 1202, 1251, 1443, 1374},
- {1, 37, 0, 65535, 1082, 1312, 0, 1.0f, 1.0f, 961, 1251, 1202, 1374},
- {1, 55, 0, 65535, 1489, 1368, 0, 1.15238f, 1.0f, 1441, 1362, 1537, 1374},
- {4, 255, 0, 65535, 1272, 1228, 0, 41.0f, 53.0f, 1252, 1202, 1293, 1255},
- {4, 255, 0, 65535, 1228, 1188, 0, 41.0f, 53.0f, 1207, 1162, 1248, 1215},
- {4, 255, 0, 65535, 1174, 1154, 0, 41.0f, 53.0f, 1154, 1128, 1195, 1181},
- {4, 255, 0, 65535, 1112, 1130, 0, 41.0f, 53.0f, 1092, 1103, 1133, 1156},
- {0, 77, 0, 65535, 184, 1501, 9000, 4.67857f, 2.48125f, -13, 1374, 381, 1632},
- {0, 77, 0, 65535, 870, 1517, 9000, 5.25f, 2.46875f, 674, 1375, 1066, 1664},
- {0, 80, 0, 65535, 759, 1498, 0, -0.348774f, 0.348774f, 745, 1369, 773, 1626},
- {0, 64, 0, 65535, 196, 1188, 0, 1.0f, 1.0f, 56, 997, 336, 1379},
- {0, 78, 0, 65535, 528, 899, 18000, 0.985472f, 1.0f, 325, 795, 732, 1004},
- {0, 64, 0, 65535, 862, 1190, 0, -1.0f, 1.0f, 722, 999, 1002, 1381},
- {0, 74, 0, 65535, 530, 1311, 0, 1.58f, 1.21934f, 333, 982, 727, 1662},
- {1, 14, 0, 65535, 188, 1186, 0, 1.0f, 1.0f, 48, 997, 327, 1375},
- {1, 14, 0, 65535, 868, 1186, 0, -1.0f, 1.0f, 729, 997, 1008, 1375},
- {1, 58, 0, 65535, 528, 894, 18000, 1.00235f, 1.00469f, 314, 787, 742, 1002},
- {1, 56, 0, 65535, 25, 1368, 0, 1.0f, 1.0f, -3, 1362, 53, 1374},
- {1, 56, 0, 65535, 1031, 1368, 0, 1.0f, 1.0f, 1003, 1362, 1059, 1374},
- {4, 255, 0, 65535, 808, 1144, 0, 41.0f, 53.0f, 788, 1118, 829, 1171},
- {4, 255, 0, 65535, 844, 1210, 0, 41.0f, 53.0f, 823, 1184, 864, 1237},
- {4, 255, 0, 65535, 884, 1264, 0, 41.0f, 53.0f, 864, 1238, 905, 1291},
- {4, 255, 0, 65535, 936, 1308, 0, 41.0f, 53.0f, 916, 1281, 957, 1334},
- {4, 255, 0, 65535, 992, 1332, 0, 41.0f, 53.0f, 972, 1306, 1013, 1359},
- {0, 77, 0, 65535, 237, 1501, 9000, 4.67857f, 3.07021f, -8, 1374, 480, 1632},
- {0, 70, 0, 65535, 391, 1739, 0, 0.986722f, 2.66273f, 303, 800, 479, 2754},
- {0, 64, 0, 65535, 263, 1157, 35996, 1.27826f, 1.16971f, 84, 934, 443, 1382},
- {0, 80, 0, 65535, 480, 934, 0, 0.162045f, 0.305177f, 473, 821, 487, 1046},
- {0, 80, 0, 65535, 480, 1157, 0, 0.162045f, 0.305177f, 473, 1044, 487, 1269},
- {0, 80, 0, 65535, 480, 1379, 0, 0.162045f, 0.305177f, 473, 1266, 487, 1491},
- {0, 80, 0, 65535, 480, 1602, 0, 0.162045f, 0.305177f, 473, 1489, 487, 1714},
- {0, 80, 0, 65535, 639, 1589, 27000, 0.457298f, 0.438189f, 477, 1571, 800, 1607},
- {0, 70, 0, 65535, 824, 1917, 0, -0.59322f, 2.66273f, 772, 978, 878, 2932},
- {0, 70, 0, 65535, 888, 2056, 0, -0.954802f, 2.66273f, 804, 1117, 974, 3071},
- {0, 74, 0, 65535, 960, 1640, 0, 1.11333f, 1.0f, 822, 1371, 1100, 1928},
- {0, 74, 0, 65535, 929, 1357, 3762, 0.907922f, 0.110535f, 820, 1264, 1038, 1452},
- {0, 80, 0, 65535, 772, 1092, 0, -0.162045f, 0.305177f, 765, 979, 779, 1204},
- {0, 80, 0, 65535, 772, 1314, 0, -0.162045f, 0.305177f, 766, 1201, 779, 1426},
- {0, 80, 0, 65535, 772, 1538, 0, -0.162045f, 0.305177f, 766, 1425, 779, 1650},
- {0, 74, 0, 65535, 858, 1271, 5073, 0.331606f, 0.0552677f, 820, 1229, 897, 1314},
- {0, 74, 0, 65535, 990, 1376, 2195, 0.331606f, 0.0552677f, 945, 1346, 1034, 1407},
- {1, 14, 0, 65535, 222, 1215, 1069, 1.0f, 1.0f, 52, 1053, 393, 1375},
- {1, 56, 0, 65535, 27, 1368, 0, 1.07143f, 1.0f, -3, 1362, 57, 1374},
- {1, 11, 0, 65535, 435, 925, 28992, 1.0f, 1.0f, 381, 790, 489, 1060},
- {1, 14, 0, 65535, 894, 1175, 472, -1.0f, 1.0f, 771, 976, 1019, 1375},
- {1, 56, 0, 65535, 1052, 1368, 0, 1.35714f, 1.0f, 1013, 1362, 1090, 1374},
- {4, 255, 0, 65535, 546, 666, 0, 41.0f, 53.0f, 526, 640, 567, 693},
- {4, 255, 0, 65535, 580, 616, 0, 41.0f, 53.0f, 559, 589, 600, 642},
- {4, 255, 0, 65535, 640, 590, 0, 41.0f, 53.0f, 619, 564, 660, 617},
- {4, 255, 0, 65535, 698, 618, 0, 41.0f, 53.0f, 678, 592, 719, 645},
- {4, 255, 0, 65535, 734, 682, 0, 41.0f, 53.0f, 714, 655, 755, 708},
- {0, 77, 0, 65535, 239, 1501, 9000, 4.67857f, 2.0f, 80, 1374, 397, 1632},
- {0, 77, 0, 65535, 659, 1501, 9000, 4.67857f, 2.0f, 500, 1374, 817, 1632},
- {0, 74, 0, 65535, 852, 1638, 0, 0.676f, 1.0f, 768, 1369, 937, 1926},
- {0, 74, 0, 65535, 74, 1638, 0, 0.672f, 1.0f, -10, 1369, 158, 1926},
- {0, 64, 0, 65535, 216, 1224, 0, 1.31071f, 0.879935f, 32, 1055, 399, 1393},
- {0, 64, 0, 65535, 678, 1228, 0, -1.31071f, 0.877324f, 494, 1060, 861, 1397},
- {0, 80, 0, 65535, 456, 1587, 27000, 1.0f, 0.228671f, 371, 1548, 540, 1626},
- {0, 80, 0, 65535, 398, 1377, 0, 0.166667f, 0.878469f, 392, 1054, 405, 1700},
- {0, 80, 0, 65535, 498, 1382, 0, -0.166667f, 0.878469f, 492, 1059, 505, 1705},
- {0, 74, 0, 65535, 589, 1242, 5155, 1.024f, 0.0552677f, 497, 1133, 681, 1353},
- {0, 74, 0, 65535, 540, 1167, 5728, 0.338638f, 0.0516613f, 504, 1124, 575, 1212},
- {0, 74, 0, 65535, 640, 1294, 4105, 0.338638f, 0.0516613f, 598, 1255, 682, 1333},
- {1, 14, 0, 65535, 221, 1215, 1064, 1.0f, 1.0f, 50, 1053, 392, 1375},
- {1, 56, 0, 65535, 24, 1368, 0, 1.0f, 1.0f, -4, 1362, 52, 1374},
- {1, 14, 0, 65535, 675, 1218, 34834, -1.0f, 1.0f, 501, 1058, 848, 1375},
- {1, 55, 0, 65535, 887, 1368, 0, 1.03012f, 1.0f, 844, 1362, 930, 1374},
- {4, 255, 0, 65535, 406, 994, 0, 41.0f, 53.0f, 385, 968, 426, 1021},
- {4, 255, 0, 65535, 442, 940, 0, 41.0f, 53.0f, 422, 913, 463, 966},
- {4, 255, 0, 65535, 496, 898, 0, 41.0f, 53.0f, 475, 871, 516, 924},
- {0, 74, 0, 65535, 120, 1638, 0, 1.028f, 1.0f, -8, 1368, 248, 1925},
- {0, 74, 0, 65535, 752, 1704, 0, 4.484f, 1.0f, 195, 1434, 1312, 1991},
- {0, 70, 0, 65535, 166, 1612, 0, 1.0f, 1.0f, 77, 1260, 255, 1994},
- {0, 67, 0, 65535, 1232, 1452, 0, 1.46104f, 1.00649f, 1120, 1374, 1345, 1531},
- {0, 67, 0, 65535, 1231, 1710, 0, 1.66234f, 4.37013f, 1103, 1370, 1359, 2049},
- {0, 70, 0, 65535, 342, 1612, 0, -1.0f, 1.0f, 253, 1260, 431, 1994},
- {0, 80, 0, 65535, 819, 1433, 27000, 1.00145f, 0.283542f, 714, 1394, 923, 1473},
- {0, 70, 0, 65535, 692, 1540, 0, 0.966102f, 1.0f, 605, 1187, 777, 1921},
- {0, 70, 0, 65535, 539, 1608, 1141, 0.966102f, 1.0f, 382, 1279, 693, 1998},
- {0, 70, 0, 65535, 416, 1609, 2677, 0.966102f, 1.0f, 170, 1332, 651, 1987},
- {0, 74, 0, 65535, 381, 1649, 539, 1.0f, 1.0f, 230, 1368, 531, 1946},
- {0, 70, 0, 65535, 1010, 1610, 0, -1.0f, 1.0f, 922, 1258, 1100, 1992},
- {0, 70, 0, 65535, 1109, 1595, 34272, -1.0f, 1.0f, 920, 1284, 1306, 1984},
- {0, 74, 0, 65535, 1055, 1626, 1073, 1.0f, 1.0f, 879, 1338, 1228, 1931},
- {0, 80, 0, 65535, 775, 1352, 0, 0.25648f, 0.435967f, 765, 1191, 785, 1512},
- {0, 80, 0, 65535, 921, 1412, 0, -0.256479f, 0.45436f, 911, 1245, 932, 1579},
- {1, 13, 0, 65535, 70, 1368, 0, 1.02128f, 1.0f, -2, 1362, 142, 1374},
- {1, 13, 0, 65535, 1265, 1368, 0, 1.14539f, 1.0f, 1184, 1362, 1346, 1374},
- {1, 44, 0, 65535, 256, 1309, 0, 1.00412f, 1.0f, 134, 1244, 377, 1374},
- {1, 15, 0, 65535, 518, 1333, 3924, 1.0f, 1.00394f, 367, 1286, 670, 1393},
- {1, 15, 0, 65535, 1048, 1300, 8154, 1.0f, 1.00394f, 908, 1224, 1186, 1374},
- {1, 7, 0, 65535, 720, 1238, 0, 1.0f, 1.0084f, 660, 1177, 779, 1298},
- {4, 255, 0, 65535, 824, 1128, 0, 41.0f, 53.0f, 803, 1102, 844, 1155},
- {4, 255, 0, 65535, 870, 1098, 0, 41.0f, 53.0f, 850, 1072, 891, 1125},
- {0, 67, 0, 65535, 622, 1514, 0, 8.22811f, 1.87662f, -12, 1369, 1257, 1660},
- {0, 69, 0, 65535, 813, 1326, 0, 1.13413f, 0.984724f, 680, 1260, 947, 1393},
- {0, 69, 0, 65535, 255, 1326, 0, 1.13413f, 0.984724f, 122, 1260, 389, 1393},
- {1, 13, 0, 65535, 70, 1368, 0, 1.02128f, 1.0f, -2, 1362, 142, 1374},
- {1, 44, 0, 65535, 254, 1309, 0, 1.00412f, 1.0f, 133, 1244, 376, 1374},
- {1, 44, 0, 65535, 814, 1309, 0, 1.00412f, 1.0f, 692, 1244, 935, 1374},
- {1, 11, 0, 65535, 534, 1368, 0, 1.19098f, 1.0f, 366, 1362, 702, 1374},
- {1, 11, 0, 65535, 1089, 1368, 0, 1.1599f, 1.0f, 925, 1362, 1252, 1374},
- {4, 255, 0, 65535, 844, 1244, 0, 41.0f, 53.0f, 824, 1218, 865, 1271},
- {4, 255, 0, 65535, 874, 1274, 0, 41.0f, 53.0f, 853, 1248, 894, 1301},
- {4, 255, 0, 65535, 904, 1306, 0, 41.0f, 53.0f, 883, 1279, 924, 1332},
- {4, 255, 0, 65535, 932, 1338, 0, 41.0f, 53.0f, 912, 1311, 953, 1364},
- {0, 74, 0, 65535, 284, 1638, 0, 1.0f, 1.0f, 160, 1368, 409, 1925},
- {0, 74, 0, 65535, 610, 1573, 0, 4.98533f, 0.748993f, -9, 1371, 1234, 1789},
- {0, 67, 0, 65535, 942, 1530, 0, 1.49351f, 2.08442f, 827, 1367, 1057, 1692},
- {0, 70, 0, 65535, 378, 1382, 0, 1.0f, 1.0f, 289, 1030, 467, 1764},
- {0, 70, 0, 65535, 822, 1378, 0, -1.0f, 1.0f, 734, 1025, 912, 1759},
- {0, 80, 0, 65535, 473, 1201, 0, 0.188034f, 0.482743f, 466, 1023, 481, 1379},
- {0, 80, 0, 65535, 734, 1188, 0, -0.25641f, 0.450954f, 724, 1022, 744, 1354},
- {0, 80, 0, 65535, 616, 1356, 27000, 0.614904f, 0.395803f, 470, 1332, 761, 1380},
- {0, 70, 0, 65535, 212, 1550, 0, 1.0f, 1.0f, 122, 1197, 300, 1931},
- {0, 70, 0, 65535, 998, 1554, 0, -1.0f, 1.0f, 910, 1202, 1088, 1936},
- {1, 13, 0, 65535, 61, 1368, 0, 0.907801f, 1.0f, -3, 1362, 125, 1374},
- {1, 13, 0, 65535, 1150, 1368, 0, 0.966483f, 1.0f, 1081, 1362, 1218, 1374},
- {1, 40, 0, 65535, 382, 1109, 0, 1.00541f, 1.00541f, 287, 1015, 476, 1202},
- {1, 40, 0, 65535, 824, 1107, 9000, 1.00541f, 1.00541f, 731, 1013, 918, 1201},
- {2, 2, 0, 323, 606, 1031, 0, 0.279883f, 0.279883f, 516, 967, 696, 1096},
- {1, 40, 0, 65535, 208, 1282, 0, 1.00541f, 1.00541f, 114, 1188, 303, 1375},
- {1, 40, 0, 65535, 999, 1282, 9000, 1.00541f, 1.00541f, 906, 1188, 1093, 1376},
- {4, 255, 0, 65535, 606, 910, 0, 41.0f, 53.0f, 585, 884, 626, 937},
- {4, 255, 0, 65535, 560, 924, 0, 41.0f, 53.0f, 540, 897, 581, 950},
- {4, 255, 0, 65535, 652, 922, 0, 41.0f, 53.0f, 631, 895, 672, 949},
- {0, 80, 0, 65535, 472, 1200, 0, 0.348774f, 0.472752f, 458, 1025, 486, 1373},
- {0, 70, 0, 65535, 376, 1382, 0, 1.0f, 1.0f, 286, 1030, 464, 1764},
- {0, 74, 0, 65535, 623, 1573, 0, 5.10932f, 0.748993f, -11, 1371, 1262, 1789},
- {0, 70, 0, 65535, 208, 1550, 0, 1.0f, 1.0f, 119, 1197, 297, 1931},
- {0, 80, 0, 65535, 598, 1347, 28602, 1.78636f, 0.647672f, 350, 1229, 842, 1480},
- {2, 1, 0, 324, 631, 1036, 0, 0.139942f, 0.139942f, 586, 991, 676, 1081},
- {2, 1, 0, 325, 535, 1171, 0, 0.139942f, 0.139942f, 490, 1126, 580, 1216},
- {1, 40, 0, 65535, 378, 1109, 0, 1.00541f, 1.00541f, 284, 1015, 473, 1202},
- {1, 13, 0, 65535, 60, 1368, 0, 0.879433f, 1.0f, -2, 1362, 122, 1374},
- {1, 40, 0, 65535, 206, 1282, 0, 1.00541f, 1.00541f, 111, 1188, 300, 1375},
- {1, 11, 0, 65535, 1042, 1368, 0, 1.48754f, 1.0f, 833, 1362, 1251, 1374},
- {4, 255, 0, 65535, 944, 1206, 0, 41.0f, 53.0f, 923, 1179, 964, 1232},
- {4, 255, 0, 65535, 1044, 1284, 0, 41.0f, 53.0f, 1023, 1258, 1064, 1311},
- {4, 255, 0, 65535, 1082, 1332, 0, 41.0f, 53.0f, 1061, 1306, 1102, 1359},
- {4, 255, 0, 65535, 996, 1238, 0, 41.0f, 53.0f, 975, 1211, 1016, 1264},
- {0, 74, 0, 65535, 26, 1496, 0, 0.28f, 0.471503f, -9, 1368, 61, 1632},
- {0, 74, 0, 65535, 896, 1496, 0, 1.08267f, 0.457686f, 762, 1372, 1032, 1628},
- {0, 74, 0, 65535, 410, 1496, 0, 3.02667f, 0.457686f, 35, 1372, 789, 1628},
- {0, 64, 0, 65535, 125, 1286, 0, 0.871429f, 0.535248f, 3, 1183, 247, 1388},
- {0, 66, 0, 65535, 540, 1307, 1748, 0.587573f, 0.613718f, 380, 1183, 701, 1431},
- {0, 68, 0, 65535, 787, 1329, 0, -0.498054f, 0.498054f, 667, 1264, 907, 1393},
- {0, 74, 0, 65535, 349, 1598, 0, 1.0f, 1.0f, 225, 1329, 474, 1886},
- {0, 80, 0, 65535, 246, 1335, 0, 0.115385f, 0.410256f, 242, 1184, 251, 1486},
- {0, 80, 0, 65535, 398, 1338, 1447, -0.346154f, 0.410256f, 351, 1189, 450, 1488},
- {0, 80, 0, 65535, 334, 1319, 9000, -0.857103f, 0.309515f, 220, 1286, 449, 1353},
- {0, 74, 0, 65535, 160, 1322, 31650, 0.607945f, 0.0552677f, 95, 1258, 227, 1386},
- {0, 74, 0, 65535, 33, 1386, 0, 0.256f, 0.0552677f, 1, 1371, 65, 1402},
- {1, 37, 0, 65535, 782, 1314, 0, -1.0f, 1.0f, 662, 1252, 903, 1375},
- {1, 60, 0, 65535, 552, 1279, 1556, 1.00457f, 1.0f, 456, 1196, 673, 1336},
- {1, 15, 0, 65535, 121, 1277, 1563, 1.0f, 1.00394f, -2, 1176, 245, 1376},
- {1, 55, 0, 65535, 963, 1368, 0, 1.49398f, 1.0f, 901, 1362, 1026, 1374},
- {4, 255, 0, 65535, 498, 1266, 0, 41.0f, 53.0f, 478, 1239, 519, 1292},
- {4, 255, 0, 65535, 534, 1300, 0, 41.0f, 53.0f, 513, 1273, 554, 1326},
- {4, 255, 0, 65535, 584, 1304, 0, 41.0f, 53.0f, 563, 1277, 604, 1330},
- {4, 255, 0, 65535, 626, 1274, 0, 41.0f, 53.0f, 605, 1248, 646, 1301},
- {0, 62, 0, 65535, 139, 1706, 0, 1.58439f, 1.57012f, 51, 1202, 226, 2254},
- {0, 68, 0, 65535, 352, 1267, 0, -0.533333f, 0.533333f, 224, 1197, 480, 1335},
- {0, 74, 0, 65535, 402, 1576, 0, 1.52f, 1.0f, 213, 1307, 592, 1864},
- {0, 70, 0, 65535, 650, 1548, 34533, 1.0f, 1.0f, 518, 1185, 831, 1939},
- {0, 74, 0, 65535, 563, 1314, 32999, 0.512f, 0.110535f, 493, 1256, 635, 1374},
- {0, 74, 0, 65535, 671, 1266, 5596, 0.512f, -0.071127f, 620, 1201, 725, 1330},
- {0, 70, 0, 65535, 770, 1604, 0, -1.27119f, 1.0f, 657, 1252, 883, 1986},
- {0, 74, 0, 65535, 866, 1641, 0, 0.804f, 1.00518f, 765, 1370, 966, 1930},
- {0, 74, 0, 65535, 821, 1385, 1722, 0.476f, 0.0759931f, 757, 1347, 884, 1424},
- {0, 74, 0, 65535, 94, 1640, 0, 0.828f, 1.01036f, -9, 1367, 198, 1930},
- {1, 40, 0, 65535, 140, 1282, 0, 1.00541f, 1.00541f, 46, 1187, 235, 1374},
- {1, 49, 0, 65535, 258, 1029, 35232, 1.00457f, 1.0f, 149, 940, 371, 1128},
- {1, 37, 0, 65535, 346, 1250, 0, -1.0f, 1.0f, 226, 1189, 467, 1312},
- {1, 17, 0, 65535, 567, 1251, 32159, -1.0f, 1.0f, 464, 1163, 649, 1311},
- {1, 15, 0, 65535, 759, 1273, 34616, -1.0f, 1.00394f, 638, 1169, 879, 1375},
- {1, 56, 0, 65535, 27, 1368, 0, 1.03571f, 1.0f, -3, 1362, 56, 1374},
- {1, 56, 0, 65535, 919, 1368, 0, 1.50812f, 1.0f, 876, 1362, 962, 1374},
- {4, 255, 0, 65535, 256, 994, 0, 41.0f, 53.0f, 236, 967, 277, 1020},
- {4, 255, 0, 65535, 214, 1006, 0, 41.0f, 53.0f, 194, 980, 235, 1033},
- {4, 255, 0, 65535, 186, 1044, 0, 41.0f, 53.0f, 166, 1017, 207, 1070},
- {4, 255, 0, 65535, 190, 1092, 0, 41.0f, 53.0f, 169, 1065, 210, 1118},
- {0, 68, 0, 65535, 377, 1284, 0, 1.0125f, 1.0f, 134, 1155, 620, 1413},
- {0, 77, 0, 65535, 1120, 1484, 9000, 4.14286f, 13.2f, 70, 1372, 2163, 1600},
- {0, 80, 0, 65535, 622, 1307, 0, 0.410256f, 0.410256f, 606, 1156, 638, 1458},
- {0, 77, 0, 65535, 2198, 1484, 9000, 4.14286f, 0.6f, 2150, 1372, 2246, 1600},
- {0, 77, 0, 65535, 46, 1484, 9000, 4.14286f, 0.6375f, -5, 1372, 97, 1600},
- {1, 35, 0, 65535, 380, 1258, 0, 1.0f, 1.00433f, 139, 1143, 621, 1376},
- {2, 0, 0, 65535, 730, 1342, 0, 0.512821f, 1.0f, 631, 1310, 829, 1373},
- {2, 0, 0, 65535, 928, 1342, 0, 0.522145f, 1.0f, 827, 1310, 1028, 1373},
- {2, 0, 0, 65535, 1127, 1342, 0, 0.522145f, 1.0f, 1026, 1310, 1227, 1373},
- {2, 0, 0, 65535, 1336, 1342, 0, 0.573427f, 1.0f, 1225, 1310, 1446, 1373},
- {2, 0, 0, 65535, 1546, 1342, 0, 0.522145f, 1.0f, 1445, 1310, 1646, 1373},
- {2, 0, 0, 65535, 1745, 1342, 0, 0.522145f, 1.0f, 1644, 1310, 1845, 1373},
- {2, 0, 0, 65535, 1927, 1342, 0, 0.441336f, 1.0f, 1841, 1310, 2012, 1373},
- {1, 13, 0, 65535, 70, 1368, 0, 1.0f, 1.0f, -1, 1362, 140, 1374},
- {1, 12, 2, 326, 717, 1149, 0, 1.0f, 1.0f, 623, 1143, 811, 1155},
- {1, 12, 2, 327, 911, 1171, 0, 1.0f, 1.0f, 817, 1165, 1005, 1177},
- {1, 12, 2, 328, 1105, 1194, 0, 1.0f, 1.0f, 1011, 1188, 1199, 1200},
- {1, 12, 2, 329, 1299, 1217, 0, 1.0f, 1.0f, 1205, 1211, 1393, 1223},
- {1, 12, 2, 330, 1494, 1239, 0, 1.0f, 1.0f, 1400, 1233, 1588, 1245},
- {1, 12, 2, 331, 1688, 1263, 0, 1.0f, 1.0f, 1594, 1257, 1782, 1269},
- {1, 12, 2, 332, 1882, 1287, 0, 1.0f, 1.0f, 1788, 1281, 1976, 1293},
- {1, 13, 0, 65535, 2126, 1368, 0, 1.63176f, 1.0f, 2011, 1362, 2242, 1374},
- {4, 255, 0, 65535, 1422, 1204, 0, 41.0f, 53.0f, 1401, 1177, 1443, 1231},
- {4, 255, 0, 65535, 1612, 1229, 0, 41.0f, 53.0f, 1591, 1202, 1633, 1256},
- {4, 255, 0, 65535, 1810, 1254, 0, 41.0f, 53.0f, 1790, 1227, 1831, 1280},
- {4, 255, 0, 65535, 1227, 1182, 0, 41.0f, 53.0f, 1206, 1155, 1248, 1209},
- {4, 255, 0, 65535, 1035, 1159, 0, 41.0f, 53.0f, 1014, 1132, 1056, 1186},
- {4, 255, 0, 65535, 837, 1135, 0, 41.0f, 53.0f, 816, 1108, 858, 1162},
- {0, 77, 0, 65535, 155, 1501, 9000, 4.67857f, 2.0625f, -9, 1374, 318, 1632},
- {0, 77, 0, 65535, 722, 1501, 9000, 4.67857f, 5.38125f, 293, 1374, 1147, 1632},
- {0, 70, 0, 65535, 1066, 1584, 0, 1.0f, 1.0f, 977, 1231, 1155, 1965},
- {0, 68, 0, 65535, 1313, 1312, 0, -0.666667f, 0.669261f, 1153, 1225, 1473, 1398},
- {0, 74, 0, 65535, 1302, 1649, 0, 1.46f, 1.04663f, 1121, 1366, 1485, 1950},
- {1, 16, 0, 65535, 370, 1300, 1533, 1.0f, 1.00521f, 278, 1223, 463, 1375},
- {1, 11, 0, 65535, 138, 1368, 0, 1.0f, 1.0f, -2, 1362, 279, 1374},
- {1, 59, 2, 333, 769, 1228, 33204, 1.00348f, 1.0f, 607, 1097, 880, 1310},
- {2, 0, 0, 65535, 556, 1342, 0, 0.878475f, 0.942189f, 387, 1312, 725, 1372},
- {2, 0, 0, 65535, 841, 1342, 0, 0.799221f, 0.942189f, 687, 1312, 995, 1372},
- {1, 36, 0, 65535, 1314, 1295, 0, -1.0f, 1.0f, 1154, 1216, 1475, 1374},
- {1, 12, 0, 65535, 1080, 1297, 31529, 1.15917f, 1.0f, 998, 1215, 1162, 1378},
- {4, 255, 0, 65535, 1056, 1278, 0, 41.0f, 53.0f, 1036, 1252, 1077, 1305},
- {4, 255, 0, 65535, 1086, 1248, 0, 41.0f, 53.0f, 1066, 1221, 1107, 1274},
- {4, 255, 0, 65535, 1118, 1216, 0, 41.0f, 53.0f, 1098, 1189, 1139, 1242},
- {0, 74, 0, 65535, 540, 1509, 9000, 1.128f, 1.89465f, -6, 1369, 1051, 1650},
- {0, 70, 0, 65535, 1088, 1553, 924, 1.54237f, 1.0f, 895, 1227, 1280, 1950},
- {0, 80, 0, 65535, 680, 1334, 27000, 1.48718f, 0.638733f, 444, 1277, 914, 1393},
- {0, 70, 0, 65535, 1045, 1650, 0, -1.55556f, 1.0f, 907, 1298, 1184, 2032},
- {0, 74, 0, 65535, 1037, 1614, 488, 1.0f, 1.0f, 889, 1334, 1185, 1910},
- {0, 68, 0, 65535, 1444, 1310, 0, -0.677083f, 0.666665f, 1281, 1224, 1606, 1396},
- {0, 74, 0, 65535, 1273, 1498, 663, 0.30016f, 1.0f, 1202, 1226, 1342, 1788},
- {0, 74, 0, 65535, 1296, 1650, 0, 2.544f, 1.04491f, 980, 1367, 1614, 1950},
- {0, 80, 0, 65535, 474, 1255, 0, 0.411706f, 0.619437f, 458, 1026, 490, 1482},
- {0, 70, 0, 65535, 378, 1382, 0, 1.0f, 1.0f, 289, 1030, 467, 1764},
- {0, 70, 0, 65535, 212, 1550, 0, 1.0f, 1.0f, 122, 1197, 300, 1931},
- {1, 40, 0, 65535, 1171, 1272, 20051, 1.00541f, 1.00541f, 1053, 1214, 1289, 1331},
- {1, 18, 0, 65535, 982, 1321, 1272, 1.00629f, 1.0f, 906, 1286, 1062, 1342},
- {2, 1, 0, 334, 533, 1113, 0, 0.145773f, 0.145773f, 486, 1066, 580, 1160},
- {1, 36, 0, 65535, 1442, 1294, 0, -1.0f, 1.0f, 1282, 1215, 1603, 1374},
- {1, 13, 0, 65535, 61, 1368, 0, 0.907801f, 1.0f, -3, 1362, 125, 1374},
- {1, 40, 0, 65535, 208, 1282, 0, 1.00541f, 1.00541f, 114, 1188, 303, 1375},
- {1, 40, 0, 65535, 382, 1109, 0, 1.00541f, 1.00541f, 287, 1015, 476, 1202},
- {4, 255, 0, 65535, 930, 1286, 0, 41.0f, 53.0f, 910, 1259, 951, 1312},
- {4, 255, 0, 65535, 970, 1306, 0, 41.0f, 53.0f, 949, 1279, 990, 1332},
- {4, 255, 0, 65535, 1014, 1306, 0, 41.0f, 53.0f, 994, 1280, 1035, 1333},
- {4, 255, 0, 65535, 1056, 1294, 0, 41.0f, 53.0f, 1035, 1267, 1076, 1320},
- {0, 77, 0, 65535, 544, 1520, 0, 18.2857f, 1.80625f, 50, 1376, 1056, 1664},
- {0, 77, 0, 65535, 1424, 1516, 0, 14.2857f, 1.80625f, 1038, 1373, 1824, 1661},
- {0, 70, 0, 65535, 332, 1347, 0, 1.0f, 0.98758f, 243, 998, 421, 1724},
- {0, 70, 0, 65535, 124, 1556, 0, 1.0f, 1.0f, 35, 1204, 213, 1938},
- {0, 74, 0, 65535, 122, 1509, 0, 1.004f, 0.516094f, -3, 1370, 247, 1658},
- {0, 78, 0, 65535, 788, 808, 18000, 0.640819f, 0.640819f, 655, 742, 920, 876},
- {0, 74, 0, 65535, 788, 1142, 0, 1.1f, 1.0f, 652, 873, 926, 1430},
- {0, 64, 0, 65535, 1322, 1246, 0, 0.914286f, 0.441253f, 1194, 1161, 1450, 1330},
- {0, 74, 0, 65535, 1341, 1451, 9000, 1.0f, 1.4469f, 925, 1327, 1732, 1577},
- {0, 70, 0, 65535, 544, 1150, 0, 1.0f, 1.0f, 454, 797, 632, 1531},
- {0, 64, 0, 65535, 1049, 1109, 0, -1.10714f, 1.18625f, 894, 882, 1204, 1336},
- {0, 68, 0, 65535, 1689, 1280, 0, -1.0f, 1.0f, 1449, 1150, 1929, 1408},
- {0, 80, 0, 65535, 212, 1306, 0, 0.205128f, 0.282016f, 204, 1201, 220, 1409},
- {0, 80, 0, 65535, 423, 1102, 0, 0.205128f, 0.282016f, 415, 998, 431, 1206},
- {0, 80, 0, 65535, 423, 1296, 0, 0.205128f, 0.282016f, 415, 1192, 431, 1400},
- {0, 80, 0, 65535, 632, 904, 0, 0.205128f, 0.282016f, 624, 799, 640, 1007},
- {0, 80, 0, 65535, 632, 1096, 0, 0.205128f, 0.282016f, 624, 991, 640, 1199},
- {0, 80, 0, 65535, 632, 1288, 0, 0.205128f, 0.282016f, 624, 1183, 640, 1391},
- {0, 80, 0, 65535, 247, 1278, 0, -0.205128f, 0.282016f, 239, 1174, 255, 1382},
- {0, 80, 0, 65535, 460, 1080, 0, -0.205128f, 0.282016f, 452, 976, 468, 1184},
- {0, 80, 0, 65535, 460, 1272, 0, -0.205128f, 0.36921f, 452, 1136, 468, 1408},
- {0, 80, 0, 65535, 655, 1000, 0, -0.205128f, 0.36921f, 647, 864, 663, 1136},
- {0, 80, 0, 65535, 655, 1232, 0, -0.205128f, 0.391008f, 647, 1088, 663, 1376},
- {0, 80, 0, 65535, 438, 1347, 27000, 0.888688f, 0.63742f, 203, 1312, 672, 1382},
- {0, 74, 0, 65535, 1968, 1642, 0, 1.74133f, 1.0f, 1751, 1373, 2186, 1930},
- {1, 57, 0, 65535, 21, 1368, 0, 1.04762f, 1.0f, -1, 1362, 43, 1374},
- {1, 40, 0, 65535, 126, 1282, 0, 1.00541f, 1.00541f, 32, 1187, 221, 1374},
- {1, 40, 0, 65535, 330, 1084, 0, 1.00541f, 1.00541f, 236, 989, 425, 1176},
- {1, 14, 0, 65535, 1058, 1134, 0, -1.0f, 1.0f, 919, 945, 1198, 1323},
- {1, 15, 0, 65535, 1325, 1235, 2043, 1.0f, 1.00394f, 1194, 1144, 1456, 1325},
- {1, 48, 0, 65535, 1445, 949, 33206, 1.00348f, 1.0f, 1313, 829, 1603, 1106},
- {1, 35, 0, 65535, 1687, 1258, 0, -1.0f, 1.00433f, 1446, 1143, 1928, 1376},
- {1, 59, 0, 65535, 787, 806, 17960, 1.00348f, 1.0f, 643, 734, 933, 880},
- {1, 40, 0, 65535, 542, 882, 0, 1.00541f, 1.00541f, 447, 787, 636, 974},
- {1, 46, 0, 65535, 2052, 1368, 0, 1.01339f, 1.0f, 1926, 1362, 2179, 1374},
- {1, 56, 0, 65535, 925, 912, 9000, 1.28348f, 1.0f, 919, 876, 932, 948},
- {4, 255, 0, 65535, 1370, 1046, 0, 41.0f, 53.0f, 1349, 1019, 1391, 1073},
- {4, 255, 0, 65535, 1348, 997, 0, 41.0f, 53.0f, 1327, 970, 1369, 1024},
- {4, 255, 0, 65535, 1348, 942, 0, 41.0f, 53.0f, 1327, 915, 1369, 969},
- {0, 68, 0, 65535, 236, 1279, 0, 1.0125f, 1.00389f, -7, 1148, 479, 1408},
- {0, 77, 0, 65535, 1772, 1516, 9000, 5.28571f, 3.6875f, 1478, 1373, 2064, 1664},
- {0, 74, 0, 65535, 2038, 1638, 0, 0.536f, 1.0f, 1971, 1368, 2105, 1925},
- {0, 74, 0, 65535, 2174, 1638, 0, 0.583146f, 1.0f, 2101, 1368, 2247, 1925},
- {0, 80, 0, 65535, 482, 1304, 0, 0.410256f, 0.410256f, 466, 1153, 498, 1455},
- {0, 77, 0, 65535, 1196, 1516, 9000, 5.28571f, 3.6875f, 902, 1373, 1488, 1664},
- {0, 77, 0, 65535, 620, 1516, 9000, 5.28571f, 3.6875f, 326, 1373, 912, 1664},
- {0, 77, 0, 65535, 182, 1516, 9000, 5.28571f, 2.36875f, -7, 1373, 369, 1664},
- {1, 35, 0, 65535, 238, 1258, 0, 1.0f, 1.00433f, -2, 1143, 479, 1376},
- {2, 0, 0, 65535, 586, 1339, 0, 0.48951f, 1.0f, 491, 1307, 680, 1370},
- {2, 0, 0, 65535, 778, 1339, 0, 0.522145f, 1.0f, 677, 1307, 878, 1370},
- {2, 0, 0, 65535, 978, 1339, 0, 0.522145f, 1.0f, 877, 1307, 1078, 1370},
- {2, 0, 0, 65535, 1178, 1339, 0, 0.522145f, 1.0f, 1077, 1307, 1278, 1370},
- {2, 0, 0, 65535, 1378, 1339, 0, 0.522145f, 1.0f, 1277, 1307, 1478, 1370},
- {2, 0, 0, 65535, 1578, 1339, 0, 0.522145f, 1.0f, 1477, 1307, 1678, 1370},
- {2, 0, 0, 65535, 1778, 1339, 0, 0.522145f, 1.0f, 1677, 1307, 1878, 1370},
- {1, 13, 0, 65535, 2172, 1368, 0, 1.0f, 1.0f, 2101, 1362, 2243, 1374},
- {2, 0, 0, 65535, 1990, 1339, 0, 0.58042f, 1.0f, 1877, 1307, 2101, 1370},
- {1, 45, 0, 65535, 579, 1120, 33198, 1.0f, 1.01818f, 474, 1049, 667, 1162},
- {1, 45, 0, 65535, 887, 1086, 2966, 1.0f, 1.01818f, 801, 1012, 992, 1130},
- {1, 45, 0, 65535, 1205, 1111, 34436, 1.0f, 1.01818f, 1094, 1057, 1305, 1143},
- {1, 45, 0, 65535, 1669, 1087, 462, 1.0f, 1.01818f, 1561, 1051, 1779, 1116},
- {1, 19, 0, 65535, 1044, 1108, 17936, 1.00826f, 1.0f, 983, 1091, 1105, 1124},
- {4, 255, 0, 65535, 838, 1012, 0, 41.0f, 53.0f, 818, 986, 859, 1039},
- {4, 255, 0, 65535, 862, 1052, 0, 41.0f, 53.0f, 841, 1026, 882, 1079},
- {4, 255, 0, 65535, 900, 1080, 0, 41.0f, 53.0f, 879, 1053, 920, 1106},
- {4, 255, 0, 65535, 946, 1086, 0, 41.0f, 53.0f, 926, 1059, 967, 1112},
- {0, 74, 0, 65535, 496, 1512, 9000, 1.104f, 1.49223f, 66, 1375, 899, 1650},
- {0, 68, 0, 65535, 159, 1312, 0, 0.662151f, 0.712062f, 0, 1219, 318, 1403},
- {0, 70, 0, 65535, 652, 1554, 0, 1.58192f, 1.0f, 511, 1202, 792, 1936},
- {0, 80, 0, 65535, 313, 1381, 0, 0.410256f, 0.410256f, 297, 1230, 329, 1532},
- {0, 80, 0, 65535, 641, 1354, 27000, 0.852975f, 0.955774f, 289, 1321, 992, 1388},
- {0, 74, 0, 65535, 1058, 1512, 9000, 1.104f, 0.658031f, 868, 1375, 1235, 1650},
- {0, 74, 0, 65535, 46, 1510, 9000, 1.124f, 0.181347f, -7, 1370, 95, 1650},
- {0, 80, 0, 65535, 787, 1360, 0, 0.410256f, 0.410256f, 771, 1209, 803, 1511},
- {0, 68, 0, 65535, 1122, 1309, 0, -0.664583f, 0.622568f, 963, 1228, 1282, 1389},
- {0, 74, 0, 65535, 1241, 1515, 9000, 1.16f, 0.17962f, 1189, 1371, 1290, 1660},
- {0, 80, 0, 65535, 970, 1380, 0, -0.410256f, 0.410256f, 954, 1229, 986, 1531},
- {1, 40, 0, 65535, 688, 1264, 19191, 1.00541f, 1.00541f, 579, 1191, 798, 1339},
- {1, 36, 0, 65535, 158, 1296, 0, 1.0f, 1.0f, -2, 1216, 319, 1375},
- {1, 36, 0, 65535, 1124, 1296, 0, -1.0f, 1.0f, 963, 1216, 1284, 1375},
- {4, 255, 0, 65535, 596, 1288, 0, 41.0f, 53.0f, 575, 1262, 616, 1315},
- {4, 255, 0, 65535, 638, 1260, 0, 41.0f, 53.0f, 617, 1234, 658, 1287},
- {4, 255, 0, 65535, 680, 1230, 0, 41.0f, 53.0f, 660, 1204, 701, 1257},
- {0, 74, 0, 65535, 378, 1512, 9000, 1.104f, 1.33506f, -7, 1375, 738, 1650},
- {0, 68, 0, 65535, 159, 1312, 0, 0.662151f, 0.712062f, 0, 1220, 318, 1404},
- {0, 73, 0, 65535, 674, 1540, 0, 1.0f, 1.0f, 562, 1246, 786, 1850},
- {0, 80, 0, 65535, 312, 1380, 0, 0.410256f, 0.410256f, 296, 1229, 328, 1531},
- {0, 80, 0, 65535, 794, 1401, 0, 0.410256f, 0.410256f, 778, 1250, 810, 1552},
- {0, 80, 0, 65535, 561, 1403, 0, -0.410256f, 0.410256f, 545, 1252, 577, 1554},
- {0, 80, 0, 65535, 658, 1382, 27000, 0.987179f, 1.00681f, 286, 1344, 1027, 1421},
- {0, 68, 0, 65535, 1183, 1313, 35843, -0.662152f, 0.712062f, 1021, 1224, 1345, 1408},
- {0, 74, 0, 65535, 1023, 1514, 9000, 1.104f, 1.21244f, 674, 1377, 1350, 1652},
- {0, 80, 0, 65535, 1027, 1377, 0, -0.410256f, 0.410256f, 1011, 1226, 1043, 1528},
- {1, 36, 0, 65535, 158, 1296, 0, 1.0f, 1.0f, -2, 1216, 319, 1375},
- {1, 17, 0, 65535, 675, 1268, 0, 1.0f, 1.0f, 558, 1243, 791, 1294},
- {1, 36, 0, 65535, 1184, 1296, 0, -1.0f, 1.0f, 1023, 1216, 1344, 1375},
- {4, 255, 0, 65535, 596, 1240, 0, 41.0f, 53.0f, 576, 1214, 617, 1267},
- {4, 255, 0, 65535, 650, 1258, 0, 41.0f, 53.0f, 630, 1231, 671, 1284},
- {4, 255, 0, 65535, 706, 1256, 0, 41.0f, 53.0f, 686, 1229, 727, 1282},
- {4, 255, 0, 65535, 760, 1234, 0, 41.0f, 53.0f, 740, 1207, 781, 1260},
- {0, 74, 0, 65535, 688, 1546, 9000, 1.37686f, 2.26598f, 36, 1375, 1299, 1719},
- {0, 68, 0, 65535, 159, 1312, 0, 0.662151f, 0.712062f, 0, 1220, 318, 1404},
- {0, 68, 0, 65535, 474, 1163, 0, 0.662151f, 0.636187f, 315, 1080, 633, 1245},
- {0, 64, 0, 65535, 670, 1046, 1278, 0.435596f, 0.265875f, 599, 1009, 741, 1110},
- {0, 74, 0, 65535, 672, 1255, 0, 0.512f, 0.64f, 608, 1082, 736, 1439},
- {0, 74, 0, 65535, 1324, 1640, 0, 0.32698f, 1.0f, 1283, 1370, 1365, 1927},
- {0, 74, 0, 65535, 22, 1644, 0, 0.335973f, 1.0f, -20, 1374, 64, 1931},
- {0, 74, 0, 65535, 464, 1312, 0, 1.408f, 0.331606f, 289, 1222, 640, 1408},
- {0, 74, 0, 65535, 734, 1054, 0, 0.02f, 0.105354f, 731, 1026, 736, 1085},
- {0, 74, 0, 65535, 718, 1086, 0, 0.148f, 0.105354f, 699, 1058, 736, 1117},
- {0, 80, 0, 65535, 735, 1291, 0, 0.225308f, 0.305177f, 726, 1178, 744, 1403},
- {0, 80, 0, 65535, 735, 1134, 0, 0.225308f, 0.298365f, 726, 1023, 744, 1243},
- {0, 80, 0, 65535, 895, 1368, 27000, 0.225308f, 0.433377f, 735, 1359, 1054, 1378},
- {0, 68, 0, 65535, 1186, 1310, 113, -0.662152f, 0.63035f, 1025, 1225, 1344, 1394},
- {0, 80, 0, 65535, 1032, 1338, 0, -0.225308f, 0.305177f, 1023, 1225, 1041, 1450},
- {1, 36, 0, 65535, 158, 1296, 0, 1.0f, 1.0f, -2, 1216, 319, 1375},
- {1, 36, 0, 65535, 478, 1150, 0, 1.0f, 1.0f, 317, 1070, 638, 1229},
- {1, 45, 0, 65535, 711, 1000, 30197, 1.0f, 1.01818f, 634, 897, 757, 1083},
- {1, 45, 0, 65535, 593, 871, 2581, 1.0f, 1.01818f, 503, 801, 701, 910},
- {1, 36, 0, 65535, 1188, 1296, 0, -1.0f, 1.0f, 1027, 1216, 1348, 1375},
- {4, 255, 0, 65535, 732, 850, 0, 41.0f, 53.0f, 711, 823, 752, 876},
- {4, 255, 0, 65535, 724, 798, 0, 41.0f, 53.0f, 704, 772, 745, 825},
- {4, 255, 0, 65535, 714, 748, 0, 41.0f, 53.0f, 694, 722, 735, 775},
- {0, 74, 0, 65535, 574, 1512, 9000, 1.104f, 2.00732f, -4, 1375, 1115, 1650},
- {0, 74, 0, 65535, 1026, 1512, 9000, 1.104f, 0.110535f, 994, 1375, 1056, 1650},
- {0, 64, 0, 65535, 358, 1347, 0, 0.942857f, 0.334204f, 226, 1283, 490, 1411},
- {0, 80, 0, 65535, 678, 1384, 27000, 0.752137f, 0.542688f, 478, 1354, 877, 1413},
- {0, 80, 0, 65535, 488, 1375, 0, 0.202932f, 0.35309f, 480, 1245, 497, 1505},
- {0, 80, 0, 65535, 863, 1391, 0, -0.177291f, 0.309493f, 856, 1277, 871, 1505},
- {0, 70, 0, 65535, 956, 1533, 0, -1.0f, 0.729139f, 867, 1276, 1045, 1811},
- {1, 11, 0, 65535, 94, 1368, 0, 0.683868f, 1.0f, -2, 1362, 191, 1374},
- {1, 45, 0, 65535, 447, 1291, 30115, 1.0f, 1.01818f, 371, 1187, 492, 1374},
- {1, 45, 0, 65535, 323, 1166, 2745, 1.0f, 1.01818f, 235, 1094, 429, 1206},
- {1, 45, 0, 65535, 681, 1239, 35742, 1.0f, 1.01818f, 571, 1207, 789, 1268},
- {1, 11, 0, 65535, 282, 1368, 0, 0.653618f, 1.0f, 190, 1362, 375, 1374},
- {1, 60, 0, 65535, 855, 1038, 22721, 1.00457f, 1.0f, 739, 965, 925, 1157},
- {1, 18, 0, 65535, 750, 1075, 7634, 1.00629f, 1.0f, 728, 994, 786, 1150},
- {1, 12, 0, 65535, 1043, 1368, 0, 0.523753f, 1.0f, 993, 1362, 1092, 1374},
- {1, 13, 0, 65535, 220, 1032, 7156, 1.0f, 1.0f, 191, 963, 248, 1101},
- {1, 13, 0, 65535, 932, 1321, 3640, 1.15836f, 1.0f, 862, 1267, 1002, 1374},
- {4, 255, 0, 65535, 794, 1120, 0, 41.0f, 53.0f, 774, 1094, 815, 1147},
- {4, 255, 0, 65535, 767, 1084, 0, 41.0f, 53.0f, 746, 1058, 788, 1111},
- {4, 255, 0, 65535, 760, 1042, 0, 41.0f, 53.0f, 740, 1015, 781, 1068},
- {0, 74, 0, 65535, 618, 1524, 9000, 1.104f, 2.02418f, 36, 1387, 1164, 1662},
- {0, 74, 0, 65535, 936, 1513, 9000, 1.12951f, 0.113089f, 903, 1373, 967, 1655},
- {0, 74, 0, 65535, 27, 1509, 9000, 1.128f, 0.120898f, -8, 1369, 60, 1650},
- {0, 74, 0, 65535, 1125, 1512, 9000, 1.104f, 0.110535f, 1093, 1375, 1155, 1650},
- {0, 68, 0, 65535, 121, 1325, 0, 0.498054f, 0.498054f, 1, 1260, 241, 1389},
- {0, 68, 0, 65535, 358, 1325, 0, -0.498054f, 0.498054f, 238, 1260, 478, 1389},
- {0, 68, 0, 65535, 793, 1322, 0, 0.509563f, 0.509563f, 671, 1255, 916, 1388},
- {0, 68, 0, 65535, 1036, 1322, 0, -0.509563f, 0.509563f, 913, 1255, 1159, 1388},
- {0, 80, 0, 65535, 545, 1368, 27008, 0.641093f, 0.675775f, 296, 1342, 794, 1394},
- {1, 37, 0, 65535, 1034, 1313, 0, -1.0f, 1.0f, 913, 1252, 1154, 1374},
- {1, 37, 0, 65535, 118, 1313, 0, 1.0f, 1.0f, -3, 1252, 238, 1374},
- {1, 10, 3, 335, 411, 1224, 0, 1.0f, 1.0f, 352, 1166, 469, 1283},
- {1, 10, 3, 336, 571, 1224, 0, 1.0f, 1.0f, 512, 1166, 629, 1283},
- {1, 10, 3, 337, 731, 1224, 0, 1.0f, 1.0f, 672, 1166, 789, 1283},
- {4, 255, 0, 65535, 408, 1146, 0, 41.0f, 53.0f, 387, 1120, 428, 1173},
- {4, 255, 0, 65535, 570, 1148, 0, 41.0f, 53.0f, 549, 1121, 590, 1174},
- {4, 255, 0, 65535, 732, 1148, 0, 41.0f, 53.0f, 712, 1121, 753, 1174},
- {0, 74, 0, 65535, 249, 1510, 9000, 1.118f, 0.888889f, -7, 1371, 489, 1650},
- {0, 80, 0, 65535, 848, 1524, 0, 0.410256f, 0.410256f, 832, 1373, 864, 1675},
- {0, 74, 0, 65535, 453, 1428, 31408, 1.6722f, 1.0f, 115, 1090, 805, 1777},
- {0, 74, 0, 65535, 852, 1317, 0, 0.576f, 1.08808f, 780, 1023, 924, 1630},
- {0, 74, 0, 65535, 744, 1344, 0, 0.872f, 0.552677f, 635, 1195, 853, 1503},
- {0, 80, 0, 65535, 940, 1331, 35578, 1.0f, 0.837875f, 878, 1022, 993, 1642},
- {0, 80, 0, 65535, 950, 1379, 27000, 0.846154f, 0.467302f, 778, 1346, 1122, 1412},
- {0, 70, 0, 65535, 696, 1410, 0, 1.0f, 1.0f, 607, 1058, 785, 1792},
- {0, 74, 0, 65535, 572, 1446, 0, 1.0f, 1.0f, 448, 1176, 697, 1733},
- {0, 74, 0, 65535, 812, 1044, 0, 0.164f, 0.732297f, 791, 846, 832, 1255},
- {0, 74, 0, 65535, 834, 1052, 10061, 0.716623f, 0.200768f, 760, 953, 904, 1150},
- {0, 74, 0, 65535, 772, 1088, 2762, 0.128f, 0.165803f, 735, 1041, 807, 1138},
- {0, 74, 0, 65535, 668, 1176, 6833, 0.152f, 0.215889f, 603, 1137, 730, 1217},
- {0, 74, 0, 65535, 486, 1185, 2134, 0.536f, 0.105354f, 413, 1134, 559, 1239},
- {0, 74, 0, 65535, 794, 845, 32583, 0.306729f, 0.0875945f, 749, 803, 840, 888},
- {0, 74, 0, 65535, 822, 916, 34416, 0.312639f, 0.265425f, 765, 836, 881, 1000},
- {0, 80, 0, 65535, 783, 828, 23441, 0.329723f, 0.101873f, 747, 798, 822, 861},
- {0, 80, 0, 65535, 879, 942, 32847, 0.539965f, 0.308707f, 801, 836, 952, 1050},
- {0, 74, 0, 65535, 964, 1510, 9000, 1.12f, 1.4525f, 546, 1371, 1356, 1650},
- {0, 68, 0, 65535, 1196, 1324, 127, -0.480632f, 0.435798f, 1079, 1265, 1311, 1383},
- {0, 80, 0, 65535, 1081, 1351, 0, -0.282051f, 0.236324f, 1070, 1263, 1092, 1438},
- {0, 74, 0, 65535, 867, 1000, 32220, 0.312639f, 0.265425f, 792, 919, 945, 1084},
- {1, 49, 0, 65535, 440, 916, 0, 1.00457f, 1.0f, 328, 827, 551, 1004},
- {1, 58, 0, 65535, 639, 1057, 32571, 1.00235f, 1.00469f, 402, 847, 793, 1183},
- {1, 60, 0, 65535, 484, 785, 3621, 1.00457f, 1.0f, 406, 675, 606, 852},
- {1, 37, 0, 65535, 1192, 1314, 0, -1.0f, 1.0f, 1072, 1252, 1313, 1375},
- {1, 57, 0, 65535, 1327, 1368, 0, 1.0f, 1.0f, 1306, 1362, 1349, 1374},
- {1, 11, 0, 65535, 269, 1228, 31500, 1.42941f, 1.0f, 122, 1081, 416, 1374},
- {1, 55, 0, 65535, 64, 1368, 0, 1.60341f, 1.0f, -3, 1362, 131, 1374},
- {4, 255, 0, 65535, 784, 666, 0, 41.0f, 53.0f, 764, 639, 805, 692},
- {4, 255, 0, 65535, 848, 660, 0, 41.0f, 53.0f, 827, 633, 868, 686},
- {4, 255, 0, 65535, 912, 694, 0, 41.0f, 53.0f, 892, 668, 933, 721},
- {4, 255, 0, 65535, 968, 762, 0, 41.0f, 53.0f, 947, 735, 988, 788},
- {0, 77, 0, 65535, 172, 1501, 9000, 4.67857f, 2.2375f, -6, 1374, 349, 1632},
- {0, 80, 0, 65535, 362, 1499, 0, 0.348774f, 0.348774f, 348, 1370, 376, 1627},
- {0, 77, 0, 65535, 900, 1517, 9000, 5.25f, 2.05625f, 737, 1375, 1063, 1664},
- {0, 80, 0, 65535, 727, 1498, 0, -0.348774f, 0.348774f, 713, 1369, 741, 1626},
- {0, 68, 0, 65535, 223, 1307, 35766, 0.6f, 0.571984f, 81, 1226, 370, 1386},
- {0, 80, 0, 65535, 362, 1357, 0, 0.348774f, 0.348774f, 348, 1228, 376, 1485},
- {0, 80, 0, 65535, 566, 1550, 9000, -1.18981f, 0.537854f, 368, 1504, 764, 1597},
- {1, 56, 0, 65535, 25, 1368, 0, 1.0f, 1.0f, -3, 1362, 53, 1374},
- {1, 11, 0, 65535, 888, 1368, 0, 1.22449f, 1.0f, 715, 1362, 1061, 1374},
- {1, 36, 0, 65535, 210, 1295, 0, 1.0f, 1.0f, 50, 1216, 371, 1374},
- {1, 24, 0, 338, 554, 1164, 18000, 1.0f, 1.0f, 394, 1100, 715, 1229},
- {4, 255, 0, 65535, 554, 1076, 0, 41.0f, 53.0f, 533, 1049, 574, 1102},
- {4, 255, 0, 65535, 508, 1082, 0, 41.0f, 53.0f, 487, 1056, 528, 1109},
- {4, 255, 0, 65535, 598, 1084, 0, 41.0f, 53.0f, 578, 1057, 619, 1110},
- {0, 77, 0, 65535, 78, 1501, 9000, 4.67857f, 1.05833f, -6, 1374, 162, 1632},
- {0, 70, 0, 65535, 232, 1552, 0, 1.0f, 1.0f, 143, 1200, 321, 1934},
- {0, 74, 0, 65535, 596, 1470, 0, 2.22f, 1.0f, 320, 1201, 873, 1758},
- {0, 80, 0, 65535, 688, 1204, 27000, 0.410256f, 0.479564f, 511, 1188, 864, 1220},
- {0, 74, 0, 65535, 1081, 1638, 0, -1.68533f, 1.0f, 870, 1369, 1290, 1926},
- {0, 74, 0, 65535, 894, 1365, 1928, -0.682069f, 0.569948f, 759, 1191, 1025, 1548},
- {0, 68, 0, 65535, 1132, 1316, 0, -0.704831f, 0.692607f, 963, 1226, 1302, 1405},
- {1, 40, 0, 65535, 234, 1282, 0, 1.00541f, 1.00541f, 140, 1187, 329, 1374},
- {1, 12, 0, 65535, 415, 1195, 0, 1.01418f, 1.0f, 319, 1189, 510, 1201},
- {1, 59, 0, 65535, 580, 1058, 27000, 1.00348f, 1.0f, 508, 912, 653, 1203},
- {1, 45, 0, 65535, 336, 1053, 34126, 1.0f, 1.01818f, 226, 994, 434, 1087},
- {1, 45, 0, 65535, 635, 841, 32073, 1.0f, 1.01818f, 538, 756, 708, 896},
- {1, 45, 0, 65535, 176, 976, 7000, 1.0f, 1.01818f, 141, 867, 237, 1072},
- {1, 11, 0, 65535, 75, 1368, 0, 0.540925f, 1.0f, -2, 1362, 151, 1374},
- {1, 15, 0, 65535, 853, 1118, 35078, -1.0f, 1.00394f, 740, 1005, 964, 1229},
- {1, 36, 0, 65535, 1122, 1296, 0, -1.0f, 1.0f, 961, 1216, 1282, 1375},
- {4, 255, 0, 65535, 912, 1140, 0, 41.0f, 53.0f, 892, 1113, 933, 1166},
- {4, 255, 0, 65535, 890, 1094, 0, 41.0f, 53.0f, 869, 1068, 910, 1121},
- {4, 255, 0, 65535, 874, 1046, 0, 41.0f, 53.0f, 854, 1019, 895, 1072},
- {4, 255, 0, 65535, 864, 988, 0, 41.0f, 53.0f, 844, 961, 885, 1014},
- {4, 255, 0, 65535, 854, 938, 0, 41.0f, 53.0f, 833, 911, 874, 964},
- {4, 255, 0, 65535, 848, 884, 0, 41.0f, 53.0f, 827, 858, 868, 911},
- {0, 77, 0, 65535, 78, 1501, 9000, 4.67857f, 1.00625f, -3, 1374, 157, 1632},
- {0, 77, 0, 65535, 1240, 1517, 9000, 5.25f, 3.07348f, 995, 1375, 1483, 1664},
- {0, 80, 0, 65535, 988, 1395, 502, -0.392106f, 0.505327f, 960, 1209, 1020, 1582},
- {0, 80, 0, 65535, 589, 1546, 0, -0.705965f, 0.473764f, 561, 1371, 617, 1720},
- {0, 80, 0, 65535, 627, 1546, 0, 0.555035f, 0.473764f, 605, 1371, 649, 1720},
- {0, 70, 0, 65535, 138, 1554, 0, 1.0f, 1.0f, 48, 1201, 226, 1936},
- {0, 80, 0, 65535, 228, 1385, 35498, 0.393278f, 0.463215f, 197, 1214, 255, 1557},
- {0, 70, 0, 65535, 1068, 1549, 233, -1.0f, 1.0f, 964, 1193, 1164, 1934},
- {0, 80, 0, 65535, 392, 1535, 27000, 1.03539f, 0.565395f, 184, 1495, 600, 1576},
- {0, 80, 0, 65535, 834, 1535, 27000, 1.01808f, 0.58356f, 619, 1495, 1048, 1575},
- {0, 77, 0, 65535, 690, 1629, 9000, 3.17723f, 6.21155f, 196, 1542, 1181, 1718},
- {1, 40, 0, 65535, 136, 1282, 0, 1.00541f, 1.00541f, 42, 1187, 231, 1374},
- {1, 56, 0, 65535, 24, 1368, 0, 1.01786f, 1.0f, -4, 1362, 53, 1374},
- {1, 40, 0, 65535, 1080, 1278, 9242, 1.00541f, 1.00541f, 991, 1181, 1171, 1376},
- {1, 11, 0, 65535, 1317, 1368, 0, 1.11388f, 1.0f, 1160, 1362, 1474, 1374},
- {1, 19, 0, 65535, 607, 1365, 0, 1.00826f, 1.0f, 546, 1349, 668, 1381},
- {1, 12, 0, 65535, 743, 1282, 31774, 1.15152f, 1.0f, 659, 1205, 828, 1360},
- {1, 12, 0, 65535, 471, 1282, 22226, 1.15152f, -1.0f, 387, 1205, 556, 1360},
- {4, 255, 0, 65535, 608, 1356, 0, 41.0f, 53.0f, 588, 1329, 629, 1382},
- {4, 255, 0, 65535, 570, 1338, 0, 41.0f, 53.0f, 550, 1312, 591, 1365},
- {4, 255, 0, 65535, 648, 1340, 0, 41.0f, 53.0f, 627, 1313, 668, 1366},
- {0, 77, 0, 65535, 45, 1501, 9000, 4.67857f, 0.64375f, -7, 1374, 96, 1632},
- {0, 80, 0, 65535, 104, 1499, 0, 0.348774f, 0.348774f, 90, 1370, 118, 1627},
- {0, 77, 0, 65535, 1333, 1517, 9000, 5.25f, 0.2625f, 1312, 1375, 1354, 1664},
- {0, 80, 0, 65535, 1300, 1498, 0, -0.348774f, 0.348774f, 1286, 1369, 1314, 1626},
- {0, 80, 0, 65535, 654, 1498, 0, -0.348774f, 0.348774f, 640, 1369, 668, 1626},
- {0, 80, 0, 65535, 759, 1498, 0, 0.348774f, 0.348774f, 745, 1369, 773, 1626},
- {0, 74, 0, 65535, 704, 1505, 0, 0.332f, 0.511226f, 663, 1367, 746, 1652},
- {0, 80, 0, 65535, 369, 1567, 27000, 1.0f, 0.825613f, 65, 1528, 672, 1606},
- {0, 80, 0, 65535, 1013, 1567, 27000, 1.0f, 0.825613f, 709, 1528, 1316, 1606},
- {1, 40, 0, 65535, 200, 1280, 0, 1.00541f, 1.00541f, 106, 1186, 295, 1373},
- {1, 56, 0, 65535, 58, 1368, 0, 2.1131f, 1.0f, -2, 1362, 117, 1374},
- {1, 40, 0, 65535, 564, 1282, 0, -1.00541f, 1.00541f, 470, 1187, 658, 1374},
- {1, 40, 0, 65535, 1211, 1282, 0, -1.00541f, 1.00541f, 1117, 1187, 1305, 1374},
- {1, 56, 0, 65535, 706, 1368, 0, 2.08532f, 1.0f, 647, 1362, 764, 1374},
- {1, 40, 0, 65535, 848, 1282, 0, 1.00541f, 1.00541f, 753, 1187, 942, 1374},
- {1, 56, 0, 65535, 1320, 1368, 0, 0.934524f, 1.0f, 1293, 1362, 1346, 1374},
- {2, 2, 0, 339, 382, 1197, 0, 0.257028f, 0.257028f, 300, 1138, 465, 1256},
- {2, 2, 0, 340, 1030, 1197, 0, 0.257028f, 0.257028f, 948, 1138, 1113, 1256},
- {4, 255, 0, 65535, 700, 1338, 0, 41.0f, 53.0f, 679, 1311, 720, 1364},
- {4, 255, 0, 65535, 642, 1322, 0, 41.0f, 53.0f, 621, 1296, 662, 1349},
- {4, 255, 0, 65535, 764, 1322, 0, 41.0f, 53.0f, 743, 1296, 784, 1349},
- {0, 77, 0, 65535, 107, 1501, 9000, 4.67857f, 1.4625f, -10, 1374, 223, 1632},
- {0, 80, 0, 65535, 232, 1499, 0, 0.348774f, 0.348774f, 218, 1370, 246, 1627},
- {0, 80, 0, 65535, 544, 1498, 0, -0.348774f, 0.348774f, 530, 1369, 558, 1626},
- {0, 80, 0, 65535, 666, 1498, 0, 0.348774f, 0.348774f, 652, 1369, 680, 1626},
- {0, 74, 0, 65535, 612, 1504, 0, 0.48f, 0.497409f, 552, 1369, 672, 1648},
- {0, 74, 0, 65535, 1012, 1507, 0, 0.448f, 0.497409f, 956, 1372, 1068, 1651},
- {0, 80, 0, 65535, 944, 1498, 0, -0.348774f, 0.348774f, 930, 1369, 958, 1626},
- {1, 56, 0, 65535, 610, 1368, 0, 2.80853f, 1.0f, 531, 1362, 689, 1374},
- {1, 56, 2, 341, 319, 1368, 0, 1.0f, 1.0f, 291, 1362, 347, 1374},
- {1, 56, 2, 342, 379, 1368, 0, 1.0f, 1.0f, 351, 1362, 407, 1374},
- {1, 56, 2, 343, 439, 1368, 0, 1.0f, 1.0f, 411, 1362, 467, 1374},
- {1, 56, 2, 344, 499, 1368, 0, 1.0f, 1.0f, 471, 1362, 527, 1374},
- {1, 56, 2, 345, 900, 1368, 0, 1.0f, 1.0f, 872, 1362, 928, 1374},
- {1, 56, 2, 346, 720, 1368, 0, 1.0f, 1.0f, 692, 1362, 748, 1374},
- {1, 56, 2, 347, 840, 1368, 0, 1.0f, 1.0f, 812, 1362, 868, 1374},
- {1, 56, 0, 65535, 996, 1368, 0, 2.28704f, 1.0f, 931, 1362, 1061, 1374},
- {1, 56, 2, 348, 780, 1368, 0, 1.0f, 1.0f, 752, 1362, 808, 1374},
- {1, 11, 0, 65535, 141, 1368, 0, 1.03737f, 1.0f, -5, 1362, 287, 1374},
- {2, 0, 0, 65535, 388, 1584, 0, 0.748252f, 0.603774f, 243, 1564, 531, 1603},
- {2, 0, 0, 65535, 804, 1584, 0, 0.659674f, 0.603774f, 677, 1564, 931, 1603},
- {4, 255, 0, 65535, 316, 1338, 0, 41.0f, 53.0f, 296, 1311, 337, 1364},
- {4, 255, 0, 65535, 508, 1338, 0, 41.0f, 53.0f, 487, 1311, 528, 1364},
- {4, 255, 0, 65535, 718, 1338, 0, 41.0f, 53.0f, 698, 1311, 739, 1364},
- {4, 255, 0, 65535, 910, 1338, 0, 41.0f, 53.0f, 889, 1311, 930, 1364},
- {0, 68, 0, 65535, 249, 1280, 0, 1.0125f, 1.0f, 6, 1150, 492, 1408},
- {0, 68, 0, 65535, 1084, 1324, 0, 0.489583f, 0.498054f, 967, 1259, 1202, 1388},
- {0, 77, 0, 65535, 1276, 1506, 9000, 4.7539f, 5.94375f, 803, 1377, 1747, 1640},
- {0, 74, 0, 65535, 1818, 1504, 0, 0.7f, 0.497409f, 1730, 1369, 1905, 1648},
- {0, 68, 0, 65535, 724, 1280, 0, -1.0125f, 1.0f, 481, 1150, 967, 1408},
- {0, 64, 0, 65535, 1246, 1224, 0, 0.551786f, 0.417755f, 1169, 1144, 1324, 1304},
- {0, 68, 0, 65535, 1570, 1284, 0, -1.0f, 1.01167f, 1330, 1152, 1810, 1414},
- {0, 74, 0, 65535, 1306, 1320, 0, 1.0f, 0.221071f, 1182, 1260, 1431, 1384},
- {0, 74, 0, 65535, 1334, 1217, 27003, 0.546611f, 0.0552677f, 1319, 1148, 1350, 1285},
- {0, 77, 0, 65535, 412, 1506, 9000, 4.7539f, 5.3f, -10, 1377, 831, 1640},
- {0, 74, 0, 65535, 1280, 1251, 33796, 0.546612f, 0.0552677f, 1211, 1211, 1350, 1292},
- {1, 35, 0, 65535, 241, 1259, 0, 1.0f, 1.00433f, 0, 1143, 482, 1376},
- {1, 35, 0, 65535, 721, 1259, 0, -1.0f, 1.00433f, 480, 1143, 962, 1376},
- {1, 37, 0, 65535, 1081, 1314, 0, 1.0f, 1.0f, 960, 1252, 1202, 1375},
- {1, 60, 0, 65535, 1255, 1156, 9000, 1.00457f, -1.0f, 1200, 1045, 1310, 1267},
- {1, 17, 0, 65535, 981, 1154, 34990, 1.0f, 1.0f, 863, 1109, 1093, 1182},
- {1, 35, 0, 65535, 1562, 1258, 0, -1.0f, 1.00433f, 1321, 1143, 1803, 1376},
- {1, 56, 0, 65535, 1846, 1368, 0, 1.59491f, 1.0f, 1801, 1362, 1891, 1374},
- {1, 17, 0, 65535, 813, 1052, 7262, 1.0f, 1.0f, 780, 935, 871, 1159},
- {4, 255, 0, 65535, 1260, 998, 0, 41.0f, 53.0f, 1240, 971, 1281, 1024},
- {4, 255, 0, 65535, 1354, 982, 0, 41.0f, 53.0f, 1334, 955, 1375, 1008},
- {4, 255, 0, 65535, 1440, 1022, 0, 41.0f, 53.0f, 1420, 996, 1461, 1049},
- {4, 255, 0, 65535, 1502, 1110, 0, 41.0f, 53.0f, 1481, 1084, 1522, 1137},
- {4, 255, 0, 65535, 1564, 1212, 0, 41.0f, 53.0f, 1543, 1185, 1584, 1238},
- {0, 74, 0, 65535, 124, 1638, 0, 1.0f, 1.0f, 0, 1368, 249, 1925},
- {0, 74, 0, 65535, 408, 1690, 0, 3.324f, 1.18653f, -4, 1369, 824, 2031},
- {0, 67, 0, 65535, 788, 1532, 0, 1.56494f, 2.08442f, 667, 1370, 908, 1695},
- {0, 70, 0, 65535, 218, 1558, 0, 1.0f, 1.0f, 129, 1205, 307, 1939},
- {0, 70, 0, 65535, 662, 1552, 0, -1.0f, 1.0f, 574, 1200, 752, 1934},
- {0, 80, 0, 65535, 310, 1322, 0, 0.102564f, 0.325613f, 306, 1202, 314, 1442},
- {0, 80, 0, 65535, 576, 1318, 0, -0.102564f, 0.325613f, 572, 1197, 580, 1437},
- {0, 80, 0, 65535, 456, 1361, 27000, 0.486699f, 0.395803f, 310, 1342, 601, 1380},
- {1, 13, 0, 65535, 69, 1368, 0, 1.00709f, 1.0f, -2, 1362, 140, 1374},
- {1, 13, 0, 65535, 822, 1368, 0, 1.07168f, 1.0f, 746, 1362, 898, 1374},
- {1, 40, 0, 65535, 224, 1282, 0, 1.00541f, 1.00541f, 129, 1187, 318, 1374},
- {1, 40, 0, 65535, 664, 1282, 0, 1.00541f, -1.00541f, 570, 1189, 758, 1376},
- {2, 2, 0, 349, 446, 1238, 9000, 0.279883f, 0.279883f, 381, 1149, 510, 1329},
- {2, 2, 0, 350, 446, 932, 9000, 0.279883f, 0.279883f, 381, 843, 510, 1023},
- {4, 255, 0, 65535, 378, 1140, 0, 41.0f, 53.0f, 358, 1114, 399, 1167},
- {4, 255, 0, 65535, 510, 1105, 0, 41.0f, 53.0f, 489, 1078, 531, 1132},
- {4, 255, 0, 65535, 444, 1110, 0, 41.0f, 53.0f, 424, 1083, 465, 1136},
- {0, 77, 0, 65535, 154, 1500, 9000, 4.67857f, 2.05625f, -9, 1373, 317, 1631},
- {0, 77, 0, 65535, 866, 1560, 9000, 4.67857f, 7.18125f, 294, 1433, 1433, 1691},
- {0, 77, 0, 65535, 1567, 1500, 9000, 4.67857f, 2.15f, 1396, 1373, 1737, 1631},
- {0, 77, 0, 65535, 856, 1501, 9000, 4.67857f, 2.00625f, 696, 1374, 1014, 1632},
- {1, 11, 0, 65535, 160, 1368, 0, 1.161f, 1.0f, -4, 1362, 324, 1374},
- {1, 59, 2, 351, 390, 1227, 26666, 1.00348f, 1.0f, 309, 1086, 463, 1375},
- {2, 0, 0, 65535, 507, 1402, 0, 0.979021f, 0.942189f, 318, 1372, 695, 1432},
- {1, 11, 0, 65535, 858, 1368, 0, 1.161f, 1.0f, 694, 1362, 1022, 1374},
- {1, 59, 2, 352, 1088, 1227, 26666, 1.00348f, 1.0f, 1008, 1086, 1162, 1375},
- {1, 11, 0, 65535, 1564, 1368, 0, 1.19274f, 1.0f, 1396, 1362, 1732, 1374},
- {2, 0, 0, 65535, 1204, 1402, 0, 0.979021f, 0.942189f, 1015, 1372, 1392, 1432},
- {4, 255, 0, 65535, 854, 1338, 0, 41.0f, 53.0f, 833, 1311, 874, 1364},
- {4, 255, 0, 65535, 918, 1338, 0, 41.0f, 53.0f, 897, 1311, 938, 1364},
- {4, 255, 0, 65535, 982, 1338, 0, 41.0f, 53.0f, 961, 1311, 1002, 1364},
- {0, 77, 0, 65535, 75, 1501, 9000, 4.67857f, 1.0375f, -8, 1374, 157, 1632},
- {0, 80, 0, 65535, 235, 1418, 0, 0.643646f, 0.581744f, 210, 1203, 260, 1631},
- {0, 77, 0, 65535, 1074, 1517, 9000, 5.25f, 1.89375f, 923, 1375, 1225, 1664},
- {0, 80, 0, 65535, 904, 1367, 187, -0.410116f, 0.48713f, 884, 1188, 926, 1547},
- {0, 70, 0, 65535, 138, 1550, 0, 1.0f, 0.993447f, 48, 1199, 226, 1929},
- {0, 70, 0, 65535, 998, 1551, 233, -1.0f, 1.0f, 895, 1194, 1095, 1935},
- {0, 80, 0, 65535, 996, 1536, 187, -0.22042f, 0.22042f, 986, 1454, 1008, 1617},
- {0, 80, 0, 65535, 394, 1558, 27000, 1.77876f, 0.565395f, 185, 1489, 601, 1628},
- {0, 80, 0, 65535, 812, 1559, 27000, 1.64103f, 0.643052f, 575, 1495, 1048, 1623},
- {1, 40, 0, 65535, 136, 1282, 0, 1.00541f, 1.00541f, 41, 1187, 230, 1374},
- {1, 56, 0, 65535, 24, 1368, 0, 1.0f, 1.0f, -4, 1362, 52, 1374},
- {1, 40, 0, 65535, 1003, 1278, 9242, 1.00541f, 1.00541f, 913, 1181, 1093, 1376},
- {1, 56, 0, 65535, 1150, 1368, 0, 2.41997f, 1.0f, 1082, 1362, 1219, 1374},
- {1, 45, 1, 65535, 280, 1148, 18000, 1.0f, 1.01818f, 171, 1120, 389, 1175},
- {1, 60, 0, 65535, 458, 1193, 32917, 1.00457f, 1.0f, 334, 1088, 540, 1256},
- {1, 45, 1, 65535, 473, 1017, 9729, 1.0f, 1.01818f, 444, 911, 514, 1128},
- {1, 45, 0, 65535, 723, 1294, 34609, 1.0f, 1.01818f, 612, 1242, 825, 1325},
- {1, 57, 0, 65535, 595, 1282, 3313, 1.25347f, 1.0f, 569, 1263, 621, 1302},
- {4, 255, 0, 65535, 899, 1107, 0, 41.0f, 53.0f, 878, 1080, 920, 1134},
- {4, 255, 0, 65535, 857, 1140, 0, 41.0f, 53.0f, 836, 1113, 878, 1167},
- {4, 255, 0, 65535, 826, 1196, 0, 41.0f, 53.0f, 806, 1169, 847, 1223},
- {0, 74, 0, 65535, 461, 1512, 9000, 1.104f, 1.61313f, -3, 1375, 896, 1650},
- {0, 70, 0, 65535, 593, 1604, 1139, 1.21625f, 1.21625f, 398, 1204, 783, 2078},
- {0, 73, 0, 65535, 584, 1601, 35213, 1.0f, 1.0f, 432, 1294, 736, 1923},
- {0, 80, 0, 65535, 349, 1382, 27000, 0.398114f, 0.253196f, 255, 1366, 442, 1398},
- {0, 80, 0, 65535, 442, 1430, 17406, 0.0890746f, 0.289337f, 428, 1323, 457, 1536},
- {0, 68, 0, 65535, 150, 1314, 0, 0.625f, 0.66875f, 0, 1227, 300, 1400},
- {0, 80, 0, 65535, 307, 1333, 0, 0.414692f, 0.289337f, 290, 1226, 323, 1439},
- {0, 70, 0, 65535, 794, 1461, 0, 1.0f, 0.992792f, 704, 1111, 882, 1840},
- {0, 74, 0, 65535, 1158, 1511, 9000, 1.104f, 1.54922f, 712, 1374, 1576, 1649},
- {0, 68, 0, 65535, 1447, 1330, 0, -0.504167f, 0.548638f, 1326, 1258, 1568, 1400},
- {0, 80, 0, 65535, 1088, 1369, 27000, 1.0f, 0.784741f, 799, 1330, 1376, 1408},
- {0, 80, 0, 65535, 889, 1266, 35458, 0.410256f, 0.435338f, 857, 1105, 916, 1427},
- {0, 80, 0, 65535, 1325, 1340, 18000, 0.307692f, 0.208447f, 1313, 1263, 1337, 1417},
- {0, 74, 0, 65535, 62, 1389, 34223, 0.391859f, 0.0933867f, 7, 1350, 117, 1430},
- {0, 74, 0, 65535, 1476, 1379, 2128, 0.682667f, 0.110535f, 1385, 1320, 1567, 1440},
- {2, 1, 0, 353, 371, 1309, 1557, 0.145773f, 0.145773f, 324, 1262, 418, 1356},
- {1, 18, 0, 65535, 505, 1341, 581, 1.00629f, 1.0f, 427, 1314, 586, 1360},
- {1, 36, 0, 65535, 158, 1296, 0, 1.0f, 1.0f, -2, 1216, 319, 1375},
- {1, 15, 0, 354, 836, 1054, 33985, 1.0f, 1.00394f, 788, 904, 890, 1205},
- {1, 60, 0, 65535, 761, 883, 16310, 1.00457f, 1.0f, 667, 825, 883, 969},
- {1, 37, 0, 65535, 1448, 1314, 0, -1.0f, 1.0f, 1328, 1252, 1569, 1375},
- {1, 11, 0, 65535, 686, 1267, 32725, 0.890877f, 1.0f, 577, 1194, 795, 1340},
- {4, 255, 0, 65535, 1056, 1062, 0, 41.0f, 53.0f, 1035, 1036, 1076, 1089},
- {4, 255, 0, 65535, 1144, 1082, 0, 41.0f, 53.0f, 1124, 1056, 1165, 1109},
- {4, 255, 0, 65535, 1228, 1116, 0, 41.0f, 53.0f, 1208, 1089, 1249, 1142},
- {4, 255, 0, 65535, 1306, 1152, 0, 41.0f, 53.0f, 1285, 1126, 1326, 1179},
- {4, 255, 0, 65535, 1376, 1194, 0, 41.0f, 53.0f, 1355, 1168, 1396, 1221},
- {0, 74, 0, 65535, 629, 1507, 9000, 1.104f, 1.64924f, 154, 1370, 1074, 1645},
- {0, 74, 0, 355, 258, 816, 0, 0.58f, 1.24007f, 186, 481, 331, 1173},
- {0, 74, 0, 356, 406, 816, 0, 0.58f, 1.24007f, 334, 481, 479, 1173},
- {0, 74, 0, 357, 554, 816, 0, 0.58f, 1.24007f, 482, 481, 627, 1173},
- {0, 74, 0, 358, 702, 816, 0, 0.58f, 1.24007f, 630, 481, 775, 1173},
- {0, 74, 0, 65535, 70, 1507, 9000, 1.104f, 0.263069f, -6, 1370, 141, 1645},
- {0, 74, 0, 65535, 90, 1604, 9000, 0.33f, 0.332311f, -6, 1562, 180, 1645},
- {2, 0, 0, 359, 258, 1193, 18000, 0.379997f, 0.603774f, 185, 1173, 332, 1212},
- {2, 0, 0, 360, 702, 1193, 18000, 0.379998f, 0.603774f, 629, 1173, 776, 1212},
- {2, 0, 0, 361, 554, 1193, 18000, 0.379998f, 0.603774f, 481, 1173, 628, 1212},
- {2, 0, 0, 362, 406, 1193, 18000, 0.379998f, 0.603774f, 333, 1173, 480, 1212},
- {1, 11, 0, 65535, 518, 1368, 0, 0.953119f, 1.0f, 384, 1362, 653, 1374},
- {1, 13, 0, 65535, 70, 1368, 0, 0.997743f, 1.0f, -1, 1362, 141, 1375},
- {1, 11, 0, 65535, 854, 1368, 0, 1.44328f, 1.0f, 651, 1362, 1057, 1374},
- {1, 55, 1, 363, 104, 1281, 6500, 2.40964f, 1.0f, 56, 1188, 152, 1375},
- {4, 255, 0, 65535, 343, 1342, 0, 41.0f, 53.0f, 322, 1315, 364, 1369},
- {1, 11, 0, 65535, 268, 1368, 0, 0.825897f, 1.0f, 152, 1362, 385, 1374},
- {4, 255, 0, 65535, 439, 1342, 0, 41.0f, 53.0f, 418, 1315, 460, 1369},
- {4, 255, 0, 65535, 535, 1342, 0, 41.0f, 53.0f, 514, 1315, 556, 1369},
- {4, 255, 0, 65535, 631, 1342, 0, 41.0f, 53.0f, 610, 1315, 652, 1369},
- {0, 77, 0, 65535, 110, 1501, 9000, 4.67857f, 1.43125f, -5, 1374, 223, 1632},
- {0, 80, 0, 65535, 230, 1499, 0, 0.348774f, 0.348774f, 216, 1370, 244, 1627},
- {0, 74, 0, 65535, 1002, 1507, 0, 0.484f, 0.497409f, 942, 1372, 1063, 1651},
- {0, 80, 0, 65535, 932, 1498, 0, -0.348774f, 0.348774f, 918, 1369, 946, 1626},
- {1, 56, 2, 364, 312, 1368, 0, 1.0f, 1.0f, 284, 1362, 340, 1374},
- {1, 56, 2, 365, 374, 1368, 0, 1.0f, 1.0f, 346, 1362, 402, 1374},
- {1, 56, 2, 366, 436, 1368, 0, 1.0f, 1.0f, 408, 1362, 464, 1374},
- {1, 56, 2, 367, 497, 1368, 0, 1.0f, 1.0f, 469, 1362, 525, 1374},
- {1, 56, 2, 368, 881, 1368, 0, 1.0f, 1.0f, 853, 1362, 909, 1374},
- {1, 56, 2, 369, 815, 1368, 0, 1.0f, 1.0f, 787, 1362, 843, 1374},
- {1, 56, 0, 65535, 986, 1368, 0, 2.55093f, 1.0f, 915, 1362, 1058, 1374},
- {1, 56, 2, 370, 751, 1368, 0, 1.0f, 1.0f, 723, 1362, 779, 1374},
- {1, 11, 0, 65535, 136, 1368, 0, 1.0f, 1.0f, -5, 1362, 276, 1374},
- {2, 0, 0, 65535, 414, 1584, 0, 0.888112f, 0.603774f, 242, 1564, 584, 1603},
- {1, 56, 2, 371, 624, 1368, 0, 1.0f, 1.0f, 596, 1362, 652, 1374},
- {1, 56, 2, 372, 560, 1368, 0, 1.0f, 1.0f, 532, 1362, 588, 1374},
- {1, 56, 2, 373, 688, 1368, 0, 1.0f, 1.0f, 660, 1362, 716, 1374},
- {2, 0, 0, 65535, 744, 1583, 0, 0.913753f, 0.603774f, 568, 1563, 919, 1602},
- {4, 255, 0, 65535, 500, 1340, 0, 41.0f, 53.0f, 480, 1314, 521, 1367},
- {4, 255, 0, 65535, 564, 1340, 0, 41.0f, 53.0f, 544, 1314, 585, 1367},
- {4, 255, 0, 65535, 628, 1340, 0, 41.0f, 53.0f, 608, 1314, 649, 1367},
- {0, 77, 0, 65535, 544, 1520, 0, 18.2857f, 1.80625f, 50, 1376, 1056, 1664},
- {0, 77, 0, 65535, 1211, 1516, 0, 6.67857f, 1.80625f, 1030, 1373, 1398, 1661},
- {0, 70, 0, 65535, 484, 1396, 0, 1.0f, 1.0f, 394, 1044, 572, 1778},
- {0, 70, 0, 65535, 124, 1556, 0, 1.0f, 1.0f, 35, 1204, 213, 1938},
- {0, 70, 0, 65535, 836, 1234, 0, 1.0f, 1.0f, 747, 881, 925, 1615},
- {0, 74, 0, 65535, 118, 1642, 0, 1.024f, 1.0f, -9, 1373, 246, 1930},
- {0, 80, 0, 65535, 213, 1296, 0, 0.153846f, 0.260218f, 207, 1200, 219, 1392},
- {0, 80, 0, 65535, 309, 1377, 27000, 0.820513f, 0.260218f, 213, 1345, 405, 1409},
- {0, 80, 0, 65535, 661, 1377, 27000, 0.820513f, 0.260218f, 565, 1345, 757, 1409},
- {0, 80, 0, 65535, 569, 1194, 0, 0.153846f, 0.401907f, 563, 1045, 575, 1341},
- {0, 80, 0, 65535, 762, 1204, 0, -0.512821f, 0.401907f, 742, 1056, 782, 1352},
- {0, 80, 0, 65535, 410, 1366, 0, -0.512821f, 0.401907f, 390, 1218, 430, 1514},
- {0, 70, 0, 65535, 1010, 1234, 0, -1.0f, 1.0f, 921, 881, 1099, 1615},
- {0, 80, 0, 65535, 1085, 1207, 0, 0.512821f, 0.415985f, 1065, 1053, 1105, 1360},
- {0, 80, 0, 65535, 1183, 1298, 0, -0.153846f, 0.260218f, 1177, 1201, 1189, 1393},
- {0, 70, 0, 65535, 1272, 1556, 0, -1.0f, 1.0f, 1184, 1203, 1362, 1937},
- {0, 80, 0, 65535, 1145, 1375, 27000, 0.820513f, 0.260218f, 1049, 1343, 1241, 1407},
- {0, 77, 0, 65535, 1515, 1516, 0, 4.69048f, 1.80625f, 1388, 1373, 1647, 1661},
- {1, 57, 0, 65535, 20, 1368, 0, 1.01786f, 1.0f, -1, 1362, 42, 1374},
- {1, 40, 0, 65535, 126, 1282, 0, 1.00541f, 1.00541f, 31, 1187, 220, 1374},
- {1, 40, 0, 65535, 482, 1128, 0, 1.00541f, 1.00541f, 387, 1034, 576, 1221},
- {1, 40, 0, 65535, 836, 966, 0, 1.00541f, 1.00541f, 742, 872, 930, 1059},
- {1, 40, 0, 65535, 1008, 970, 0, -1.00541f, 1.00541f, 914, 876, 1102, 1063},
- {1, 40, 0, 65535, 1272, 1282, 0, -1.00541f, 1.00541f, 1178, 1187, 1367, 1374},
- {1, 11, 0, 65535, 1497, 1368, 0, 1.0f, 1.0f, 1356, 1362, 1638, 1374},
- {4, 255, 0, 65535, 1206, 1182, 0, 41.0f, 53.0f, 1186, 1155, 1227, 1208},
- {4, 255, 0, 65535, 1270, 1246, 0, 41.0f, 53.0f, 1250, 1219, 1291, 1272},
- {4, 255, 0, 65535, 1334, 1310, 0, 41.0f, 53.0f, 1314, 1283, 1355, 1336},
- {0, 74, 0, 65535, 120, 1638, 0, 1.02f, 1.0f, -6, 1368, 248, 1925},
- {0, 70, 0, 65535, 170, 1610, 0, 1.03803f, 1.00693f, 77, 1254, 262, 1994},
- {0, 70, 0, 65535, 344, 1614, 0, -1.0f, 1.0f, 255, 1262, 433, 1996},
- {0, 74, 0, 65535, 775, 1746, 0, 4.152f, 1.0f, 260, 1477, 1294, 2034},
- {0, 74, 0, 65535, 1440, 1643, 0, 0.856f, 1.00518f, 1333, 1372, 1547, 1932},
- {0, 70, 0, 65535, 1308, 1674, 0, 1.0f, 1.0f, 1218, 1321, 1396, 2055},
- {0, 70, 0, 65535, 1418, 1608, 0, -0.60452f, 1.0f, 1364, 1256, 1472, 1990},
- {0, 74, 0, 65535, 1439, 1371, 29652, 0.165803f, 0.165803f, 1389, 1332, 1491, 1411},
- {0, 74, 0, 65535, 1360, 1351, 29168, 0.384f, 0.0552677f, 1328, 1301, 1393, 1402},
- {0, 74, 0, 65535, 1234, 1474, 34138, 0.384f, 0.0552677f, 1184, 1444, 1286, 1505},
- {0, 70, 0, 65535, 975, 1659, 158, -0.463277f, 1.0f, 923, 1305, 1022, 2041},
- {0, 70, 0, 65535, 656, 1572, 158, 0.879444f, 1.0f, 569, 1221, 743, 1954},
- {0, 74, 0, 65535, 597, 1412, 32620, 1.256f, 0.208249f, 436, 1278, 761, 1549},
- {0, 74, 0, 65535, 440, 1450, 0, 0.768f, 0.221071f, 344, 1390, 536, 1514},
- {0, 74, 0, 65535, 539, 1436, 34136, 0.768f, 0.221071f, 430, 1349, 651, 1527},
- {0, 74, 0, 65535, 355, 1431, 1531, 0.768f, 0.221071f, 246, 1348, 464, 1518},
- {0, 74, 0, 65535, 1014, 1498, 2936, 0.768f, 0.221071f, 900, 1399, 1128, 1601},
- {0, 70, 0, 65535, 858, 1660, 0, 1.0f, 1.0f, 768, 1307, 946, 2041},
- {0, 70, 0, 65535, 802, 1628, 0, -1.0f, 1.0f, 713, 1275, 891, 2009},
- {0, 74, 0, 65535, 839, 1632, 0, 1.0f, 1.0f, 715, 1362, 964, 1919},
- {1, 13, 0, 65535, 70, 1368, 0, 1.02128f, 1.0f, -2, 1362, 142, 1374},
- {1, 44, 0, 65535, 254, 1309, 0, 1.00412f, 1.0f, 133, 1244, 376, 1374},
- {1, 15, 0, 65535, 518, 1334, 3924, 1.0f, 1.00394f, 367, 1287, 670, 1394},
- {1, 7, 0, 65535, 720, 1238, 35982, 1.0f, 1.0084f, 660, 1177, 780, 1299},
- {1, 8, 1, 65535, 845, 1260, 0, 1.00457f, 1.0f, 734, 1150, 956, 1370},
- {1, 49, 1, 65535, 1058, 1139, 23165, 1.00457f, 1.0f, 963, 1016, 1180, 1236},
- {1, 16, 0, 65535, 1412, 1282, 35673, -1.0f, 1.00521f, 1336, 1189, 1489, 1374},
- {1, 47, 0, 65535, 1172, 1311, 15131, 1.00235f, 1.0f, 938, 1079, 1365, 1487},
- {1, 56, 0, 65535, 1512, 1368, 0, 1.0f, 1.0f, 1484, 1362, 1540, 1374},
- {1, 16, 0, 65535, 916, 993, 28951, 1.0f, 1.00521f, 845, 894, 985, 1090},
- {2, 1, 0, 374, 708, 787, 0, 0.542274f, 0.542274f, 533, 612, 882, 960},
- {4, 255, 0, 65535, 1230, 1002, 0, 41.0f, 53.0f, 1210, 975, 1251, 1028},
- {4, 255, 0, 65535, 1284, 946, 0, 41.0f, 53.0f, 1263, 920, 1304, 973},
- {4, 255, 0, 65535, 1336, 1010, 0, 41.0f, 53.0f, 1316, 983, 1357, 1036},
- {4, 255, 0, 65535, 1380, 1098, 0, 41.0f, 53.0f, 1360, 1071, 1401, 1124},
- {0, 77, 0, 65535, 544, 1520, 0, 18.2857f, 1.80625f, 50, 1376, 1056, 1664},
- {0, 77, 0, 65535, 1248, 1516, 0, 8.0f, 1.80625f, 1032, 1373, 1472, 1661},
- {0, 70, 0, 375, 304, 1376, 0, 1.0f, 1.0f, 214, 1023, 392, 1757},
- {0, 70, 0, 65535, 124, 1556, 0, 1.0f, 1.0f, 35, 1204, 213, 1938},
- {0, 74, 0, 65535, 120, 1642, 0, 1.028f, 1.0f, -8, 1373, 248, 1930},
- {0, 80, 0, 65535, 213, 1296, 0, 0.153846f, 0.260218f, 207, 1200, 219, 1392},
- {0, 80, 0, 65535, 411, 1377, 27000, 0.820513f, 0.537466f, 212, 1345, 608, 1409},
- {0, 80, 0, 65535, 661, 1377, 27000, 0.820513f, 0.260218f, 565, 1345, 757, 1409},
- {0, 77, 0, 65535, 1188, 1516, 0, 5.66071f, 1.80625f, 1035, 1373, 1347, 1661},
- {0, 70, 0, 376, 778, 1030, 0, 1.0f, 1.0f, 689, 677, 867, 1411},
- {0, 80, 0, 65535, 869, 1375, 27000, 0.820513f, 0.382153f, 728, 1343, 1010, 1407},
- {0, 70, 0, 377, 608, 1200, 0, 1.0f, 1.0f, 519, 848, 697, 1582},
- {0, 70, 0, 378, 954, 1030, 0, -1.0f, 1.0f, 866, 678, 1044, 1412},
- {0, 74, 0, 65535, 1497, 1642, 0, 2.944f, 1.0f, 1131, 1372, 1865, 1929},
- {0, 64, 0, 65535, 1257, 1282, 34095, -0.681822f, 0.746052f, 1121, 1177, 1395, 1449},
- {0, 80, 0, 65535, 1164, 1344, 16432, 0.482733f, 0.465573f, 1104, 1174, 1229, 1513},
- {1, 57, 0, 65535, 20, 1368, 0, 1.0f, 1.0f, -1, 1362, 41, 1374},
- {1, 40, 0, 65535, 126, 1282, 0, 1.00541f, 1.00541f, 31, 1188, 220, 1375},
- {1, 40, 0, 379, 302, 1108, 0, 1.00541f, 1.00541f, 207, 1013, 396, 1200},
- {1, 40, 0, 380, 606, 932, 0, 1.00541f, 1.00541f, 512, 838, 701, 1025},
- {1, 40, 0, 381, 782, 758, 0, 1.00541f, 1.00541f, 688, 663, 877, 850},
- {1, 40, 0, 382, 952, 758, 0, -1.00541f, 1.00541f, 858, 663, 1047, 850},
- {1, 11, 0, 65535, 1612, 1368, 0, 1.7414f, 1.0f, 1367, 1362, 1858, 1374},
- {1, 15, 0, 65535, 1249, 1273, 34577, -1.0f, 1.00394f, 1127, 1170, 1369, 1375},
- {2, 1, 0, 383, 1356, 782, 0, 0.609329f, 0.609329f, 1160, 586, 1552, 977},
- {4, 255, 0, 65535, 1296, 1326, 0, 41.0f, 53.0f, 1276, 1299, 1317, 1353},
- {4, 255, 0, 65535, 1262, 1304, 0, 41.0f, 53.0f, 1241, 1278, 1282, 1331},
- {4, 255, 0, 65535, 1232, 1276, 0, 41.0f, 53.0f, 1211, 1249, 1252, 1303},
- {4, 255, 0, 65535, 1202, 1242, 0, 41.0f, 53.0f, 1181, 1215, 1222, 1268},
- {0, 77, 0, 65535, 544, 1520, 0, 18.2857f, 1.80625f, 50, 1376, 1056, 1664},
- {0, 77, 0, 65535, 1248, 1516, 0, 8.0f, 1.80625f, 1032, 1373, 1472, 1661},
- {0, 70, 0, 65535, 124, 1556, 0, 1.0f, 1.0f, 35, 1204, 213, 1938},
- {0, 74, 0, 65535, 120, 1642, 0, 1.028f, 1.0f, -8, 1372, 248, 1929},
- {0, 80, 0, 65535, 213, 1296, 0, 0.153846f, 0.260218f, 207, 1200, 219, 1392},
- {0, 80, 0, 65535, 411, 1377, 27000, 0.820513f, 0.537466f, 212, 1345, 608, 1409},
- {0, 80, 0, 65535, 661, 1377, 27000, 0.820513f, 0.260218f, 565, 1345, 757, 1409},
- {0, 80, 0, 65535, 1100, 1375, 27000, 0.820513f, 0.382153f, 959, 1343, 1241, 1407},
- {0, 77, 0, 65535, 1246, 1516, 0, 5.66071f, 1.80625f, 1092, 1373, 1404, 1661},
- {0, 80, 0, 65535, 869, 1375, 27000, 0.820513f, 0.382153f, 728, 1343, 1010, 1407},
- {0, 74, 0, 65535, 1444, 1642, 0, 1.044f, 1.0f, 1315, 1372, 1575, 1929},
- {1, 57, 0, 65535, 20, 1368, 0, 1.02381f, 1.0f, -1, 1362, 42, 1374},
- {1, 40, 0, 65535, 126, 1282, 0, 1.00541f, 1.00541f, 31, 1187, 220, 1374},
- {1, 48, 0, 384, 373, 1225, 14665, 1.00348f, 1.0f, 212, 1065, 501, 1346},
- {1, 48, 0, 385, 745, 1226, 23893, 1.00348f, 1.0f, 625, 1066, 904, 1356},
- {1, 11, 0, 65535, 1406, 1368, 0, 1.16726f, 1.0f, 1242, 1362, 1570, 1374},
- {1, 48, 0, 386, 1135, 1221, 13164, 1.00348f, 1.0f, 972, 1058, 1258, 1347},
- {4, 255, 0, 65535, 1390, 1342, 0, 41.0f, 53.0f, 1369, 1315, 1410, 1368},
- {4, 255, 0, 65535, 1454, 1342, 0, 41.0f, 53.0f, 1433, 1315, 1474, 1368},
- {4, 255, 0, 65535, 1518, 1342, 0, 41.0f, 53.0f, 1497, 1315, 1538, 1368},
- {0, 77, 0, 65535, 57, 1501, 9000, 4.67857f, 0.89375f, -15, 1374, 128, 1632},
- {0, 77, 0, 65535, 568, 1499, 9000, 4.67857f, 2.09375f, 401, 1372, 733, 1630},
- {0, 77, 0, 65535, 254, 1500, 9000, 4.67857f, 2.00625f, 94, 1373, 412, 1631},
- {0, 70, 0, 65535, 192, 1784, 0, 1.0f, 1.56619f, 103, 1231, 281, 2381},
- {0, 70, 0, 65535, 109, 1572, 0, 1.40866f, 0.733945f, -17, 1313, 234, 1852},
- {0, 70, 0, 65535, 179, 1618, 0, 1.14124f, 1.0f, 77, 1266, 280, 2000},
- {0, 80, 0, 65535, 282, 1437, 0, 0.230769f, 0.569482f, 273, 1227, 291, 1646},
- {0, 77, 0, 65535, 1688, 1499, 9000, 4.67857f, 8.09375f, 1045, 1372, 2328, 1630},
- {0, 77, 0, 65535, 892, 1499, 9000, 4.67857f, 2.00625f, 733, 1372, 1051, 1630},
- {0, 68, 0, 65535, 1617, 1286, 0, 1.0f, 1.0f, 1377, 1156, 1857, 1414},
- {0, 68, 0, 65535, 2259, 1284, 0, -1.0f, 1.0f, 2019, 1154, 2499, 1412},
- {0, 77, 0, 65535, 2393, 1510, 9000, 4.98214f, 1.45f, 2277, 1374, 2508, 1649},
- {0, 80, 0, 65535, 1849, 1305, 0, 0.410256f, 0.410256f, 1833, 1154, 1865, 1456},
- {0, 80, 0, 65535, 2030, 1303, 0, -0.410256f, 0.410256f, 2014, 1152, 2046, 1454},
- {0, 80, 0, 65535, 1943, 1361, 9000, -0.410256f, 0.410256f, 1792, 1345, 2094, 1377},
- {1, 11, 0, 65535, 512, 1368, 0, 1.5941f, 1.0f, 287, 1362, 736, 1374},
- {1, 11, 0, 65535, 1221, 1368, 0, 1.15873f, 1.0f, 1058, 1362, 1385, 1374},
- {1, 11, 0, 65535, 905, 1368, 0, 1.23583f, 1.0f, 730, 1362, 1079, 1374},
- {1, 16, 0, 65535, 189, 1300, 1516, 1.0f, 1.00521f, 97, 1222, 282, 1375},
- {1, 11, 3, 387, 1217, 1222, 9000, 1.0f, 1.0f, 1211, 1081, 1223, 1362},
- {1, 50, 3, 388, 1124, 1246, 0, 1.0f, 1.0f, 1118, 1126, 1130, 1367},
- {1, 51, 3, 389, 1050, 1284, 0, 1.0f, 1.00625f, 1044, 1203, 1056, 1366},
- {1, 52, 3, 390, 972, 1304, 0, 1.0f, 1.0f, 966, 1243, 978, 1365},
- {1, 55, 3, 391, 902, 1324, 9000, 1.0f, 1.0f, 896, 1282, 908, 1365},
- {1, 56, 3, 392, 836, 1336, 9000, 1.0f, 1.0f, 830, 1308, 842, 1364},
- {1, 11, 3, 393, 345, 1224, 9000, 1.0f, 1.0f, 339, 1083, 351, 1364},
- {1, 50, 3, 394, 427, 1242, 0, 1.0f, 1.0f, 421, 1121, 433, 1362},
- {1, 51, 3, 395, 500, 1284, 0, 1.0f, 1.00625f, 494, 1203, 506, 1366},
- {1, 52, 3, 396, 584, 1304, 0, 1.0f, 1.0f, 578, 1243, 590, 1365},
- {1, 55, 3, 397, 642, 1324, 9000, 1.0f, 1.0f, 636, 1282, 648, 1365},
- {1, 56, 3, 398, 719, 1336, 9000, 1.0f, 1.0f, 713, 1308, 725, 1364},
- {1, 57, 3, 399, 776, 1343, 27000, 1.0f, 1.0f, 769, 1322, 782, 1364},
- {1, 35, 0, 65535, 1621, 1259, 0, 1.0f, 1.00433f, 1380, 1143, 1862, 1376},
- {1, 35, 0, 65535, 2260, 1258, 0, -1.0f, 1.00433f, 2019, 1142, 2501, 1375},
- {1, 55, 0, 65535, 49, 1368, 0, 1.16867f, 1.0f, 0, 1362, 98, 1374},
- {4, 255, 0, 65535, 274, 1182, 0, 41.0f, 53.0f, 253, 1155, 294, 1208},
- {4, 255, 0, 65535, 306, 1114, 0, 41.0f, 53.0f, 285, 1088, 326, 1141},
- {0, 74, 0, 65535, 136, 1640, 0, 1.186f, 1.0f, -12, 1370, 284, 1927},
- {0, 74, 0, 65535, 872, 1642, 0, 0.3f, 1.0f, 834, 1372, 909, 1929},
- {0, 74, 0, 65535, 708, 1642, 0, 1.052f, 1.0f, 577, 1373, 839, 1930},
- {0, 74, 0, 65535, 448, 1790, 0, 1.536f, 1.0f, 257, 1521, 640, 2078},
- {0, 80, 0, 65535, 429, 1507, 27000, 1.0f, 0.564033f, 221, 1468, 636, 1546},
- {0, 80, 0, 65535, 588, 1432, 18000, 0.641026f, 0.521798f, 563, 1241, 613, 1625},
- {0, 80, 0, 65535, 274, 1510, 18000, -1.0f, 0.373297f, 234, 1373, 313, 1648},
- {0, 68, 0, 65535, 736, 1314, 0, -0.666667f, 0.680934f, 576, 1225, 896, 1401},
- {1, 47, 0, 400, 311, 1137, 5262, 1.00235f, 1.0f, 72, 949, 492, 1376},
- {1, 36, 0, 65535, 738, 1296, 0, -1.0f, 1.0f, 577, 1216, 898, 1375},
- {1, 11, 0, 65535, 140, 1368, 0, 1.0f, 1.0f, -1, 1362, 280, 1374},
- {4, 255, 0, 65535, 618, 1062, 0, 41.0f, 53.0f, 597, 1035, 638, 1088},
- {4, 255, 0, 65535, 642, 1126, 0, 41.0f, 53.0f, 622, 1099, 663, 1152},
- {4, 255, 0, 65535, 670, 1190, 0, 41.0f, 53.0f, 650, 1163, 691, 1216},
- {0, 74, 0, 65535, 125, 1510, 9000, 1.104f, 0.454231f, -7, 1373, 247, 1648},
- {0, 74, 0, 65535, 380, 1642, 0, 1.28f, 1.0f, 221, 1372, 540, 1929},
- {0, 74, 0, 65535, 1046, 1642, 0, 1.716f, 1.0f, 833, 1373, 1261, 1930},
- {0, 74, 0, 65535, 704, 1790, 0, 1.536f, 1.0f, 513, 1521, 896, 2078},
- {0, 80, 0, 65535, 685, 1507, 27000, 1.0f, 0.564033f, 477, 1468, 892, 1546},
- {0, 80, 0, 65535, 844, 1432, 18000, 0.641026f, 0.521798f, 819, 1241, 869, 1625},
- {0, 80, 0, 65535, 530, 1510, 18000, -1.0f, 0.373297f, 491, 1373, 569, 1648},
- {0, 68, 0, 65535, 992, 1314, 0, -0.666667f, 0.680934f, 832, 1225, 1152, 1401},
- {0, 68, 0, 65535, 2643, 1324, 0, -0.489583f, 0.498054f, 2525, 1259, 2761, 1388},
- {0, 74, 0, 65535, 2888, 1504, 0, 0.512f, 0.497409f, 2824, 1370, 2952, 1648},
- {0, 77, 0, 65535, 2037, 1487, 9000, 4.14286f, 10.2f, 1226, 1375, 2843, 1604},
- {0, 68, 0, 65535, 2048, 1280, 0, -1.0125f, 1.0f, 1804, 1150, 2291, 1408},
- {0, 68, 0, 65535, 1565, 1280, 0, 1.0125f, 1.0f, 1321, 1150, 1808, 1408},
- {0, 68, 0, 65535, 2409, 1324, 0, 0.489583f, 0.498054f, 2291, 1259, 2527, 1388},
- {1, 11, 0, 65535, 172, 1368, 0, 1.23356f, 1.0f, -2, 1362, 346, 1374},
- {1, 36, 0, 65535, 994, 1296, 0, -1.0f, 1.0f, 833, 1216, 1154, 1375},
- {1, 57, 0, 65535, 1166, 1368, 0, 1.0f, 1.0f, 1145, 1361, 1187, 1374},
- {1, 11, 0, 401, 456, 1368, 0, 0.800454f, 1.0f, 344, 1362, 569, 1374},
- {1, 37, 0, 65535, 2645, 1314, 0, -1.0f, 1.0f, 2524, 1252, 2766, 1375},
- {1, 35, 0, 65535, 1566, 1258, 0, 1.0f, 1.00433f, 1325, 1143, 1807, 1376},
- {1, 12, 0, 65535, 2858, 1368, 0, 1.0f, 1.0f, 2763, 1362, 2952, 1374},
- {1, 37, 0, 65535, 2406, 1314, 0, 1.0f, 1.0f, 2285, 1252, 2527, 1375},
- {1, 35, 0, 65535, 2046, 1258, 0, -1.0f, 1.00433f, 1805, 1143, 2287, 1376},
- {1, 13, 0, 65535, 1256, 1368, 0, 1.0f, 1.0f, 1185, 1362, 1327, 1374},
- {4, 255, 0, 65535, 660, 1126, 0, 41.0f, 53.0f, 640, 1099, 681, 1152},
- {4, 255, 0, 65535, 756, 1094, 0, 41.0f, 53.0f, 736, 1067, 777, 1120},
- {4, 255, 0, 65535, 866, 1110, 0, 41.0f, 53.0f, 845, 1083, 886, 1136},
- {0, 74, 0, 65535, 125, 1510, 9000, 1.104f, 0.454231f, -7, 1373, 247, 1648},
- {0, 74, 0, 65535, 380, 1642, 0, 1.28f, 1.0f, 221, 1373, 540, 1930},
- {0, 74, 0, 65535, 704, 1790, 0, 1.536f, 1.0f, 513, 1521, 896, 2078},
- {0, 80, 0, 65535, 685, 1507, 27000, 1.0f, 0.564033f, 477, 1468, 892, 1546},
- {0, 80, 0, 65535, 530, 1510, 18000, -1.0f, 0.373297f, 491, 1373, 569, 1648},
- {0, 74, 0, 65535, 1954, 1510, 9000, 1.104f, 1.07772f, 1644, 1373, 2245, 1648},
- {0, 74, 0, 65535, 1434, 1510, 9000, 1.104f, 0.963155f, 1157, 1373, 1694, 1648},
- {0, 64, 0, 65535, 1419, 1194, 0, -0.957143f, 1.0f, 1284, 1003, 1553, 1385},
- {0, 74, 0, 65535, 2245, 1504, 0, 0.512f, 0.497409f, 2181, 1369, 2310, 1648},
- {0, 77, 0, 65535, 2671, 1487, 9000, 4.14286f, 5.67292f, 2219, 1375, 3120, 1604},
- {0, 68, 0, 65535, 2556, 1280, 0, 0.990278f, 1.0f, 2318, 1150, 2794, 1408},
- {0, 64, 0, 65535, 1049, 1244, 1840, 1.0f, 1.0f, 855, 1104, 1242, 1471},
- {0, 74, 0, 65535, 1005, 1644, 0, 1.42667f, 1.02303f, 828, 1368, 1184, 1939},
- {0, 80, 0, 65535, 812, 1577, 18365, 1.0f, 0.564033f, 765, 1368, 865, 1787},
- {0, 72, 0, 65535, 1248, 1400, 556, 0.449645f, 1.19561f, 1154, 1014, 1324, 1822},
- {0, 74, 0, 65535, 1197, 1291, 1609, 0.210668f, 0.408375f, 1139, 1178, 1253, 1412},
- {0, 64, 0, 65535, 2908, 1271, 0, -0.840476f, 0.592689f, 2790, 1157, 3026, 1385},
- {1, 11, 0, 65535, 172, 1368, 0, 1.23356f, 1.0f, -2, 1362, 346, 1374},
- {1, 11, 0, 402, 458, 1368, 0, 0.800454f, 1.0f, 345, 1362, 570, 1374},
- {1, 14, 0, 65535, 1423, 1186, 0, -1.0f, 1.0f, 1284, 997, 1563, 1375},
- {1, 13, 0, 65535, 1790, 1368, 0, 3.30083f, 1.0f, 1556, 1362, 2023, 1374},
- {1, 58, 0, 65535, 1740, 900, 32772, 1.00235f, 1.00469f, 1502, 695, 1897, 1023},
- {1, 35, 0, 65535, 2562, 1258, 0, 1.0f, 1.00433f, 2321, 1143, 2803, 1376},
- {1, 13, 0, 65535, 2172, 1368, 0, 2.16944f, 1.0f, 2018, 1362, 2325, 1374},
- {1, 14, 0, 65535, 1053, 1239, 1840, 1.0f, 1.0f, 863, 1100, 1243, 1376},
- {1, 55, 0, 65535, 3058, 1368, 0, 1.2008f, 1.0f, 3007, 1362, 3108, 1374},
- {1, 55, 0, 65535, 1263, 1052, 29693, 1.38437f, 1.0f, 1231, 998, 1295, 1107},
- {4, 255, 0, 65535, 2442, 912, 0, 41.0f, 53.0f, 2421, 886, 2462, 939},
- {4, 255, 0, 65535, 2324, 986, 0, 41.0f, 53.0f, 2304, 960, 2345, 1013},
- {4, 255, 0, 65535, 2386, 958, 0, 41.0f, 53.0f, 2366, 932, 2407, 985},
- {1, 58, 0, 65535, 2348, 900, 32772, 1.00235f, 1.00469f, 2110, 695, 2505, 1024},
- {4, 255, 0, 65535, 2472, 836, 0, 41.0f, 53.0f, 2452, 809, 2493, 862},
- {1, 56, 0, 65535, 830, 1368, 0, 1.22321f, 1.0f, 796, 1362, 865, 1374},
- {1, 15, 0, 65535, 2901, 1261, 35218, -1.0f, 1.00394f, 2790, 1146, 3009, 1375},
- {4, 255, 0, 65535, 1716, 986, 0, 41.0f, 53.0f, 1696, 960, 1737, 1013},
- {4, 255, 0, 65535, 1778, 958, 0, 41.0f, 53.0f, 1758, 932, 1799, 985},
- {4, 255, 0, 65535, 1834, 912, 0, 41.0f, 53.0f, 1813, 886, 1854, 939},
- {4, 255, 0, 65535, 1864, 836, 0, 41.0f, 53.0f, 1844, 809, 1885, 862},
- {0, 77, 0, 65535, 188, 1501, 9000, 4.67857f, 2.43125f, -5, 1374, 381, 1632},
- {0, 77, 0, 65535, 466, 1515, 9000, 5.25f, 2.40625f, 274, 1373, 656, 1662},
- {0, 80, 0, 65535, 359, 1496, 0, -0.348774f, 0.348774f, 345, 1367, 373, 1624},
- {0, 64, 0, 65535, 196, 1196, 0, 1.0f, 1.0f, 56, 1006, 336, 1388},
- {0, 64, 0, 65535, 462, 1196, 0, -1.0f, 1.0f, 322, 1006, 602, 1388},
- {0, 64, 0, 65535, 1118, 1197, 0, -1.0f, 1.0f, 978, 1006, 1258, 1389},
- {0, 64, 0, 65535, 852, 1197, 0, 1.0f, 1.0f, 712, 1006, 992, 1389},
- {0, 77, 0, 65535, 1127, 1514, 9000, 5.25f, 2.475f, 930, 1371, 1323, 1661},
- {0, 80, 0, 65535, 1015, 1495, 0, -0.348774f, 0.348774f, 1001, 1366, 1029, 1623},
- {0, 77, 0, 65535, 846, 1500, 9000, 4.67857f, 2.40625f, 655, 1373, 1037, 1631},
- {1, 14, 0, 65535, 190, 1186, 0, 1.0f, 1.0f, 50, 997, 329, 1375},
- {1, 14, 0, 65535, 466, 1186, 0, -1.0f, 1.0f, 327, 997, 606, 1375},
- {1, 56, 0, 65535, 27, 1368, 0, 1.08333f, 1.0f, -3, 1362, 58, 1374},
- {1, 56, 0, 65535, 656, 1368, 0, 2.0119f, 1.0f, 599, 1362, 713, 1374},
- {1, 14, 0, 65535, 1122, 1186, 0, -1.0f, 1.0f, 983, 997, 1262, 1375},
- {1, 14, 0, 65535, 846, 1186, 0, 1.0f, 1.0f, 706, 997, 985, 1375},
- {1, 56, 0, 65535, 1286, 1368, 0, 1.0f, 1.0f, 1258, 1362, 1314, 1374},
- {4, 255, 0, 65535, 392, 766, 0, 41.0f, 53.0f, 372, 740, 413, 793},
- {4, 255, 0, 65535, 434, 824, 0, 41.0f, 53.0f, 414, 798, 455, 851},
- {4, 255, 0, 65535, 350, 814, 0, 41.0f, 53.0f, 329, 788, 370, 841},
- {4, 255, 0, 65535, 320, 898, 0, 41.0f, 53.0f, 299, 872, 340, 925},
- {0, 74, 0, 65535, 120, 1638, 0, 1.032f, 1.0f, -8, 1368, 249, 1925},
- {0, 74, 0, 65535, 716, 1690, 0, 3.936f, 1.18653f, 227, 1369, 1208, 2031},
- {0, 67, 0, 65535, 1176, 1532, 0, 1.5974f, 2.08442f, 1053, 1370, 1299, 1695},
- {0, 70, 0, 65535, 218, 1558, 0, 1.0f, 1.0f, 129, 1205, 307, 1939},
- {0, 70, 0, 65535, 1046, 1552, 0, -1.0f, 1.0f, 958, 1200, 1136, 1934},
- {0, 80, 0, 65535, 310, 1322, 0, 0.102564f, 0.325613f, 306, 1202, 314, 1442},
- {0, 80, 0, 65535, 958, 1318, 0, -0.102564f, 0.325613f, 954, 1197, 962, 1437},
- {1, 13, 0, 65535, 69, 1368, 0, 1.00709f, 1.0f, -2, 1362, 140, 1374},
- {1, 13, 0, 65535, 1208, 1368, 0, 1.08823f, 1.0f, 1131, 1362, 1285, 1374},
- {1, 40, 0, 65535, 224, 1282, 0, 1.00541f, 1.00541f, 129, 1187, 318, 1374},
- {1, 40, 0, 65535, 1049, 1282, 9000, 1.00541f, 1.00541f, 956, 1188, 1143, 1376},
- {2, 0, 0, 65535, 464, 1343, 0, 0.820513f, 1.0f, 306, 1311, 622, 1374},
- {2, 0, 0, 65535, 791, 1343, 0, 0.895105f, 1.0f, 618, 1311, 963, 1374},
- {1, 26, 0, 403, 454, 1150, 0, 1.00606f, 1.00606f, 369, 1065, 538, 1234},
- {1, 26, 0, 404, 614, 962, 0, 1.00606f, 1.00606f, 529, 878, 698, 1047},
- {1, 26, 0, 405, 838, 1150, 0, 1.00606f, 1.00606f, 753, 1065, 922, 1234},
- {4, 255, 0, 65535, 660, 806, 0, 41.0f, 53.0f, 640, 779, 681, 832},
- {4, 255, 0, 65535, 760, 832, 0, 41.0f, 53.0f, 740, 806, 781, 859},
- {4, 255, 0, 65535, 854, 896, 0, 41.0f, 53.0f, 834, 870, 875, 923},
- {0, 77, 0, 65535, 171, 1501, 9000, 4.67857f, 2.25f, -8, 1374, 349, 1632},
- {0, 80, 0, 65535, 362, 1499, 0, 0.348774f, 0.348774f, 348, 1370, 376, 1627},
- {0, 77, 0, 65535, 1126, 1517, 9000, 5.25f, 2.06875f, 961, 1375, 1289, 1664},
- {0, 80, 0, 65535, 951, 1498, 0, -0.348774f, 0.348774f, 937, 1369, 965, 1626},
- {0, 68, 0, 65535, 223, 1309, 35766, 0.6f, 0.571984f, 81, 1228, 370, 1388},
- {0, 80, 0, 65535, 362, 1357, 0, 0.348774f, 0.348774f, 348, 1228, 376, 1485},
- {0, 77, 0, 65535, 591, 1661, 9000, 4.67857f, 5.8125f, 128, 1534, 1051, 1792},
- {1, 56, 0, 65535, 25, 1368, 0, 1.0f, 1.0f, -3, 1362, 53, 1374},
- {1, 11, 0, 65535, 1112, 1368, 0, 1.22449f, 1.0f, 939, 1362, 1285, 1374},
- {1, 36, 0, 65535, 210, 1296, 0, 1.0f, 1.0f, 50, 1216, 371, 1375},
- {2, 0, 0, 65535, 528, 1504, 0, 0.83683f, 1.0f, 366, 1472, 688, 1535},
- {2, 0, 0, 65535, 802, 1504, 0, 0.752914f, 1.0f, 656, 1472, 946, 1535},
- {1, 17, 0, 406, 512, 1183, 32410, 1.0f, 1.0f, 408, 1097, 597, 1240},
- {1, 17, 0, 407, 737, 1039, 19183, 1.0f, 1.0f, 619, 1010, 848, 1087},
- {1, 17, 0, 408, 992, 1112, 6910, 1.0f, 1.0f, 956, 996, 1056, 1215},
- {1, 17, 0, 409, 775, 1279, 4074, 1.0f, 1.0f, 696, 1188, 875, 1343},
- {4, 255, 0, 65535, 1152, 1004, 0, 41.0f, 53.0f, 1131, 978, 1172, 1031},
- {4, 255, 0, 65535, 1104, 950, 0, 41.0f, 53.0f, 1084, 924, 1125, 977},
- {4, 255, 0, 65535, 1184, 1070, 0, 41.0f, 53.0f, 1164, 1044, 1205, 1097},
- {0, 77, 0, 65535, 152, 1502, 9000, 4.66325f, 2.10625f, -16, 1375, 319, 1633},
- {0, 77, 0, 65535, 926, 1578, 9000, 2.08059f, 8.50165f, 250, 1522, 1598, 1637},
- {0, 77, 0, 65535, 1537, 1487, 9000, 4.14286f, 0.0666669f, 1531, 1375, 1543, 1603},
- {0, 77, 0, 65535, 927, 1487, 9000, 4.14286f, 0.435417f, 891, 1375, 961, 1603},
- {0, 68, 0, 65535, 1363, 1459, 0, 0.7125f, 0.684825f, 1192, 1370, 1534, 1547},
- {0, 68, 0, 65535, 739, 1457, 0, 0.7125f, 0.684825f, 568, 1368, 910, 1545},
- {0, 80, 0, 65535, 331, 1521, 34863, 0.641026f, 0.395095f, 277, 1374, 378, 1669},
- {0, 80, 0, 65535, 973, 1519, 34863, 0.641026f, 0.395095f, 919, 1372, 1020, 1666},
- {0, 80, 0, 65535, 397, 1514, 28096, 0.895125f, 0.527992f, 199, 1450, 593, 1586},
- {0, 80, 0, 65535, 1110, 1524, 28096, 0.895124f, 0.527992f, 913, 1461, 1306, 1596},
- {0, 77, 0, 65535, 1648, 1502, 9000, 4.66325f, 1.49402f, 1529, 1375, 1767, 1633},
- {4, 255, 0, 65535, 590, 1465, 0, 81.0f, 106.0f, 549, 1412, 630, 1518},
- {4, 255, 0, 65535, 1224, 1465, 0, 81.0f, 106.0f, 1184, 1412, 1265, 1518},
- {1, 57, 0, 65535, 929, 1368, 0, 1.61111f, 1.0f, 895, 1362, 963, 1374},
- {1, 36, 0, 65535, 737, 1441, 0, 1.0f, 1.0f, 576, 1362, 898, 1520},
- {1, 36, 0, 65535, 1377, 1441, 0, 1.0f, 1.0f, 1216, 1362, 1538, 1520},
- {4, 255, 0, 65535, 927, 1321, 0, 81.0f, 106.0f, 886, 1268, 968, 1374},
- {1, 11, 0, 65535, 158, 1368, 0, 1.12811f, 1.0f, -1, 1362, 316, 1374},
- {1, 12, 0, 65535, 1650, 1368, 0, 1.20256f, 1.0f, 1536, 1362, 1763, 1374},
- {0, 77, 0, 65535, 31, 1487, 9000, 4.14286f, 0.416667f, -3, 1375, 64, 1603},
- {0, 77, 0, 65535, 1084, 1562, 9000, 1.48214f, 3.32917f, 819, 1521, 1348, 1603},
- {0, 77, 0, 65535, 261, 1562, 9000, 1.5f, 2.5375f, 59, 1521, 462, 1604},
- {0, 77, 0, 65535, 1345, 1487, 9000, 4.14286f, 0.0666669f, 1339, 1375, 1351, 1603},
- {0, 68, 0, 65535, 1171, 1459, 0, 0.7125f, 0.684825f, 1000, 1370, 1342, 1547},
- {0, 80, 0, 65535, 244, 1359, 35409, 0.663229f, 0.340746f, 205, 1232, 278, 1486},
- {0, 80, 0, 65535, 362, 1511, 28667, 1.50161f, 0.527992f, 159, 1412, 561, 1623},
- {0, 64, 0, 65535, 928, 1455, 8597, 0.657674f, 0.922116f, 745, 1375, 1110, 1560},
- {0, 70, 0, 65535, 118, 1657, 214, 1.27872f, 1.346f, -12, 1186, 249, 2172},
- {0, 80, 0, 65535, 585, 1495, 24632, 1.5016f, 0.527992f, 390, 1376, 787, 1627},
- {0, 77, 0, 65535, 648, 1569, 8193, 2.78257f, 2.5375f, 437, 1466, 858, 1675},
- {4, 255, 0, 65535, 334, 1098, 0, 81.0f, 106.0f, 293, 1045, 374, 1151},
- {4, 255, 0, 65535, 428, 1058, 0, 81.0f, 106.0f, 388, 1005, 469, 1111},
- {1, 57, 0, 65535, 30, 1368, 0, 1.68254f, 1.0f, -5, 1362, 66, 1374},
- {1, 36, 0, 65535, 1185, 1441, 0, 1.0f, 1.0f, 1024, 1362, 1346, 1520},
- {1, 13, 0, 65535, 164, 1268, 31574, 2.06321f, 1.0f, 55, 1162, 273, 1374},
- {1, 15, 0, 65535, 889, 1444, 8219, 1.0f, 1.00394f, 750, 1366, 1026, 1520},
- {4, 255, 0, 65535, 527, 1035, 0, 81.0f, 106.0f, 486, 982, 568, 1088},
- {4, 255, 0, 65535, 619, 1061, 0, 81.0f, 106.0f, 578, 1008, 660, 1114},
- {0, 77, 0, 65535, 305, 1297, 9000, 4.14286f, 0.866667f, 235, 1185, 374, 1413},
- {0, 77, 0, 65535, 897, 1350, 9572, 4.14286f, 1.1125f, 797, 1229, 996, 1475},
- {0, 66, 0, 65535, 595, 1344, 572, 1.0f, 1.0f, 342, 1181, 848, 1506},
- {0, 74, 0, 65535, 257, 1508, 9000, 1.09333f, 0.920095f, -8, 1372, 505, 1646},
- {0, 77, 0, 65535, 1034, 1508, 9000, 4.93577f, 3.93507f, 721, 1374, 1345, 1647},
- {0, 77, 0, 65535, 625, 1555, 9000, 4.93577f, 3.93507f, 311, 1421, 936, 1694},
- {0, 64, 0, 65535, 188, 1278, 0, 0.435741f, 0.503732f, 127, 1182, 250, 1375},
- {0, 68, 0, 65535, 1102, 1317, 18501, 0.526196f, -0.511786f, 970, 1239, 1225, 1394},
- {1, 57, 0, 65535, 305, 1178, 0, 3.31746f, 1.0f, 235, 1171, 375, 1184},
- {1, 23, 0, 65535, 604, 1290, 572, 1.0f, 1.00529f, 373, 1171, 853, 1386},
- {1, 57, 0, 65535, 920, 1233, 572, 3.50135f, 1.0f, 846, 1219, 994, 1246},
- {2, 2, 0, 410, 614, 1201, 572, 0.455386f, 0.455386f, 467, 1087, 761, 1315},
- {1, 13, 0, 65535, 62, 1368, 0, 0.893617f, 1.0f, -1, 1362, 125, 1374},
- {1, 16, 0, 65535, 184, 1273, 35498, 1.0f, 1.00521f, 120, 1172, 247, 1375},
- {1, 13, 0, 65535, 1285, 1368, 0, 0.893617f, 1.0f, 1222, 1362, 1348, 1374},
- {1, 37, 0, 65535, 1108, 1304, 18446, 1.0f, -1.0f, 991, 1234, 1225, 1375},
- {4, 255, 0, 65535, 615, 1362, 0, 81.0f, 106.0f, 574, 1308, 656, 1415},
- {4, 255, 0, 65535, 541, 1346, 0, 81.0f, 106.0f, 500, 1293, 582, 1400},
- {4, 255, 0, 65535, 746, 1291, 0, 81.0f, 106.0f, 705, 1237, 787, 1344},
- {4, 255, 0, 65535, 695, 1342, 0, 81.0f, 106.0f, 654, 1288, 736, 1395},
- {4, 255, 0, 65535, 478, 1290, 0, 81.0f, 106.0f, 437, 1236, 519, 1343},
- {0, 77, 0, 65535, 73, 1487, 9000, 4.14286f, 1.04375f, -11, 1375, 156, 1603},
- {0, 77, 0, 65535, 798, 1487, 9000, 4.14286f, 0.94375f, 722, 1375, 873, 1603},
- {0, 68, 0, 65535, 597, 1459, 0, 0.666984f, 0.666984f, 436, 1372, 758, 1545},
- {0, 68, 0, 65535, 277, 1459, 0, -0.666984f, 0.666984f, 116, 1372, 437, 1545},
- {0, 77, 0, 65535, 438, 1570, 9000, 1.17857f, 3.77292f, 138, 1538, 737, 1603},
- {4, 255, 0, 65535, 296, 1440, 0, 81.0f, 106.0f, 255, 1387, 337, 1493},
- {4, 255, 0, 65535, 513, 1470, 0, 81.0f, 106.0f, 472, 1417, 554, 1523},
- {1, 57, 0, 65535, 58, 1368, 0, 2.87302f, 1.0f, -3, 1362, 119, 1374},
- {4, 255, 0, 65535, 359, 1474, 0, 81.0f, 106.0f, 318, 1421, 400, 1528},
- {4, 255, 0, 65535, 433, 1490, 0, 81.0f, 106.0f, 392, 1436, 474, 1543},
- {1, 57, 0, 65535, 811, 1368, 0, 2.61905f, 1.0f, 756, 1362, 866, 1374},
- {4, 255, 0, 65535, 573, 1437, 0, 81.0f, 106.0f, 532, 1383, 614, 1490},
- {2, 1, 0, 411, 436, 1245, 0, 0.504373f, 0.504373f, 273, 1082, 598, 1406},
- {1, 36, 0, 65535, 597, 1441, 0, 1.0f, 1.0f, 436, 1362, 758, 1521},
- {1, 36, 0, 65535, 276, 1441, 0, -1.0f, 1.0f, 115, 1362, 437, 1521},
- {0, 77, 0, 65535, 14, 1487, 9000, 4.14286f, 0.30625f, -11, 1375, 39, 1603},
- {0, 77, 0, 65535, 436, 1487, 9000, 4.14286f, 5.30625f, 14, 1375, 856, 1603},
- {0, 77, 0, 65535, 320, 1570, 9000, 1.17857f, 3.77292f, 20, 1538, 619, 1603},
- {0, 68, 0, 65535, 238, 1282, 0, 1.0f, 1.0f, -2, 1152, 478, 1411},
- {0, 65, 0, 65535, 633, 1127, 30633, 1.02212f, 1.44444f, 477, 969, 866, 1389},
- {0, 77, 0, 65535, 801, 1204, 0, 6.2619f, 2.41667f, 632, 1013, 977, 1397},
- {0, 77, 0, 65535, 554, 1274, 0, 2.9762f, 1.54167f, 473, 1152, 638, 1397},
- {0, 64, 0, 65535, 1127, 1202, 0, -1.14286f, 1.0f, 967, 1011, 1288, 1394},
- {0, 80, 0, 65535, 798, 991, 27942, 0.41999f, 0.512704f, 609, 947, 986, 1038},
- {0, 77, 0, 65535, 1101, 1487, 9000, 4.14286f, 5.30625f, 679, 1375, 1521, 1603},
- {4, 255, 0, 65535, 483, 910, 0, 81.0f, 106.0f, 442, 857, 524, 964},
- {4, 255, 0, 65535, 1086, 1210, 0, 81.0f, 106.0f, 1046, 1157, 1127, 1264},
- {4, 255, 0, 65535, 485, 632, 0, 81.0f, 106.0f, 444, 579, 526, 685},
- {4, 255, 0, 65535, 1049, 1137, 0, 81.0f, 106.0f, 1008, 1084, 1090, 1191},
- {4, 255, 0, 65535, 1140, 1264, 0, 81.0f, 106.0f, 1099, 1211, 1181, 1318},
- {1, 59, 0, 65535, 550, 1012, 27000, 1.00348f, 1.0f, 478, 867, 622, 1157},
- {1, 59, 0, 65535, 253, 927, 3457, 1.00348f, 1.0f, 149, 785, 413, 1012},
- {1, 59, 0, 65535, 550, 733, 27000, 1.00348f, 1.0f, 478, 588, 622, 878},
- {1, 59, 0, 412, 253, 734, 0, 1.00348f, 1.0f, 108, 662, 398, 807},
- {1, 35, 0, 65535, 238, 1259, 0, 1.0f, 1.00433f, -2, 1143, 479, 1376},
- {1, 14, 0, 65535, 1122, 1191, 35787, -1.0f, 1.0f, 976, 1007, 1268, 1375},
- {1, 11, 0, 65535, 1384, 1368, 0, 0.864769f, 1.0f, 1263, 1362, 1506, 1374},
- {4, 255, 0, 65535, 1195, 1307, 0, 81.0f, 106.0f, 1154, 1254, 1236, 1361},
- {1, 16, 0, 65535, 894, 937, 27175, 1.0f, 1.00521f, 800, 863, 989, 1011},
- {0, 77, 0, 65535, 74, 1487, 9000, 4.14286f, 1.02917f, -8, 1375, 156, 1603},
- {0, 77, 0, 65535, 655, 1487, 9000, 4.14286f, 6.0375f, 174, 1375, 1132, 1603},
- {0, 77, 0, 65535, 438, 1570, 9000, 1.17857f, 3.77292f, 138, 1538, 737, 1603},
- {0, 70, 0, 65535, 140, 1616, 0, 1.0f, 1.0f, 50, 1264, 228, 1998},
- {0, 80, 0, 65535, 567, 1341, 26956, 0.932748f, 1.00285f, 198, 1305, 936, 1381},
- {0, 80, 0, 65535, 984, 1451, 33684, 0.603965f, 0.405434f, 904, 1307, 1060, 1598},
- {0, 80, 0, 65535, 322, 1379, 31365, 0.603964f, 0.404951f, 197, 1263, 442, 1499},
- {4, 255, 0, 65535, 822, 1136, 0, 81.0f, 106.0f, 781, 1083, 863, 1189},
- {4, 255, 0, 65535, 467, 1136, 0, 81.0f, 106.0f, 426, 1083, 508, 1190},
- {1, 57, 0, 65535, 58, 1368, 0, 2.87302f, 1.0f, -3, 1362, 119, 1374},
- {1, 7, 0, 65535, 170, 1315, 0, 1.0f, 1.0084f, 110, 1254, 229, 1375},
- {1, 55, 0, 65535, 1047, 1368, 0, 1.83936f, 1.0f, 970, 1362, 1124, 1374},
- {1, 49, 0, 65535, 823, 1239, 0, 1.00457f, 1.0f, 712, 1151, 934, 1327},
- {1, 49, 0, 65535, 469, 1239, 0, 1.00457f, 1.0f, 358, 1151, 580, 1327},
- {0, 77, 0, 65535, 57, 1487, 9000, 4.14286f, 0.79375f, -7, 1375, 120, 1603},
- {0, 77, 0, 65535, 726, 1487, 9000, 4.14286f, 1.46875f, 609, 1375, 843, 1603},
- {0, 77, 0, 65535, 425, 1570, 9000, 1.17857f, 3.93542f, 112, 1538, 737, 1603},
- {0, 80, 0, 65535, 109, 1524, 0, 0.794872f, 0.412807f, 78, 1372, 140, 1676},
- {0, 80, 0, 65535, 619, 1525, 18437, 0.794872f, 0.412807f, 581, 1371, 662, 1679},
- {1, 57, 0, 65535, 58, 1368, 0, 2.87302f, 1.0f, -3, 1362, 119, 1374},
- {1, 55, 0, 65535, 722, 1368, 0, 2.73092f, 1.0f, 608, 1362, 836, 1374},
- {4, 255, 0, 65535, 280, 1195, 0, 81.0f, 106.0f, 239, 1142, 320, 1248},
- {4, 255, 0, 65535, 338, 1170, 0, 81.0f, 106.0f, 297, 1117, 379, 1223},
- {4, 255, 0, 65535, 412, 1162, 0, 81.0f, 106.0f, 371, 1109, 453, 1215},
- {4, 255, 0, 65535, 476, 1185, 0, 81.0f, 106.0f, 435, 1132, 517, 1238},
- {4, 255, 0, 65535, 536, 1224, 0, 81.0f, 106.0f, 495, 1171, 577, 1277},
- {2, 0, 0, 65535, 364, 1506, 0, 1.27506f, 1.0f, 119, 1474, 609, 1537},
- {1, 13, 0, 413, 538, 1368, 18000, 1.0f, 1.0f, 467, 1362, 609, 1375},
- {1, 13, 0, 414, 164, 1320, 31500, 1.0f, 1.0f, 109, 1265, 218, 1374},
- {0, 77, 0, 65535, 796, 1517, 9000, 5.25f, 5.45f, 362, 1375, 1227, 1664},
- {0, 70, 0, 65535, 294, 1382, 0, 1.0f, 1.0f, 204, 1030, 382, 1764},
- {0, 80, 0, 65535, 545, 1356, 27000, 0.614904f, 0.510244f, 356, 1332, 732, 1380},
- {0, 80, 0, 65535, 391, 1201, 0, 0.264958f, 0.482743f, 381, 1023, 402, 1379},
- {0, 70, 0, 65535, 122, 1550, 0, 1.0f, 1.0f, 32, 1197, 210, 1931},
- {0, 77, 0, 65535, 114, 1517, 9000, 5.25f, 1.5f, -6, 1375, 233, 1664},
- {0, 80, 0, 65535, 912, 1388, 27992, 0.614904f, 0.510244f, 722, 1338, 1100, 1444},
- {1, 11, 0, 65535, 1042, 1368, 0, 1.25296f, 1.0f, 865, 1362, 1219, 1374},
- {1, 59, 0, 415, 588, 958, 18000, 1.00348f, 1.0f, 443, 886, 733, 1030},
- {2, 1, 0, 416, 588, 1031, 0, -0.399417f, 0.399417f, 459, 902, 717, 1159},
- {1, 40, 0, 65535, 124, 1282, 0, 1.00541f, 1.00541f, 29, 1188, 218, 1375},
- {1, 40, 0, 65535, 296, 1109, 0, 1.00541f, 1.00541f, 202, 1015, 391, 1202},
- {1, 57, 0, 65535, 19, 1368, 0, 1.0f, 1.0f, -2, 1362, 40, 1374},
- {4, 255, 0, 65535, 588, 864, 0, 41.0f, 53.0f, 567, 838, 608, 891},
- {4, 255, 0, 65535, 542, 872, 0, 41.0f, 53.0f, 521, 845, 562, 898},
- {4, 255, 0, 65535, 632, 862, 0, 41.0f, 53.0f, 612, 835, 653, 888},
- {0, 68, 0, 65535, 377, 1279, 0, 1.0125f, 1.00389f, 134, 1148, 620, 1408},
- {0, 77, 0, 65535, 1202, 1516, 9000, 5.28571f, 14.6208f, 39, 1373, 2357, 1664},
- {0, 74, 0, 65535, 40, 1638, 0, 0.42142f, 1.0f, -12, 1368, 94, 1925},
- {0, 80, 0, 65535, 978, 1369, 27000, 1.0f, 1.0f, 610, 1330, 1345, 1408},
- {0, 80, 0, 65535, 624, 1312, 35321, 0.923077f, 0.430518f, 569, 1151, 671, 1474},
- {0, 80, 0, 65535, 1585, 1379, 27198, 1.0f, 1.0f, 1216, 1333, 1953, 1431},
- {1, 35, 0, 65535, 379, 1258, 0, 1.0f, 1.00433f, 138, 1143, 620, 1376},
- {1, 13, 0, 65535, 70, 1368, 0, 1.0f, 1.0f, -1, 1362, 140, 1374},
- {1, 13, 0, 65535, 2144, 1368, 0, 2.74468f, 1.0f, 1951, 1362, 2338, 1374},
- {1, 59, 0, 417, 874, 1248, 34500, 1.00348f, 1.0f, 715, 1141, 1000, 1323},
- {1, 59, 0, 418, 1189, 1248, 33000, 1.00348f, 1.0f, 1027, 1113, 1298, 1331},
- {1, 59, 0, 419, 1504, 1248, 34500, 1.00348f, 1.0f, 1345, 1141, 1630, 1323},
- {1, 59, 0, 420, 1819, 1248, 33000, 1.00348f, 1.0f, 1657, 1113, 1928, 1331},
- {4, 255, 0, 65535, 866, 1285, 0, 81.0f, 106.0f, 825, 1232, 906, 1338},
- {4, 255, 0, 65535, 1160, 1292, 0, 81.0f, 106.0f, 1119, 1239, 1201, 1345},
- {4, 255, 0, 65535, 1485, 1290, 0, 81.0f, 106.0f, 1444, 1237, 1526, 1343},
- {4, 255, 0, 65535, 1789, 1296, 0, 81.0f, 106.0f, 1748, 1243, 1830, 1349},
- {0, 74, 0, 65535, 180, 1573, 0, 0.34532f, 0.748993f, 137, 1371, 224, 1789},
- {0, 74, 0, 65535, 1064, 1573, 0, 0.50832f, 0.748993f, 1000, 1371, 1128, 1789},
- {0, 66, 0, 65535, 377, 1557, 0, 0.865012f, 0.890283f, 169, 1433, 585, 1680},
- {0, 66, 0, 65535, 848, 1557, 0, 0.865013f, 0.890282f, 640, 1433, 1056, 1680},
- {0, 74, 0, 65535, 612, 1573, 0, 0.66132f, 0.748993f, 529, 1371, 695, 1789},
- {0, 74, 0, 65535, 60, 1507, 9000, 1.104f, 0.241048f, -10, 1370, 126, 1645},
- {0, 74, 0, 65535, 82, 1604, 9000, 0.33f, 0.306404f, -6, 1562, 165, 1645},
- {4, 255, 0, 65535, 339, 1344, 0, 81.0f, 106.0f, 298, 1291, 380, 1397},
- {4, 255, 0, 65535, 849, 1346, 0, 81.0f, 106.0f, 808, 1293, 890, 1399},
- {2, 2, 0, 421, 376, 1437, 18000, 0.471433f, 0.471433f, 225, 1328, 527, 1544},
- {2, 2, 0, 422, 847, 1437, 9000, 0.471433f, 0.471434f, 739, 1286, 955, 1588},
- {4, 255, 0, 65535, 413, 1344, 0, 81.0f, 106.0f, 372, 1291, 454, 1397},
- {4, 255, 0, 65535, 886, 1346, 0, 81.0f, 106.0f, 845, 1293, 927, 1399},
- {4, 255, 0, 65535, 812, 1346, 0, 81.0f, 106.0f, 771, 1293, 853, 1399},
- {4, 255, 0, 65535, 376, 1344, 0, 81.0f, 106.0f, 335, 1291, 417, 1397},
- {1, 13, 0, 65535, 62, 1368, 0, 0.893617f, 1.0f, -1, 1362, 125, 1374},
- {1, 55, 1, 423, 89, 1281, 6500, 2.40964f, 1.0f, 41, 1188, 137, 1375},
- {1, 11, 0, 65535, 278, 1368, 0, 1.0f, 1.0f, 137, 1362, 418, 1374},
- {1, 11, 0, 65535, 558, 1368, 0, 1.0f, 1.0f, 418, 1362, 699, 1374},
- {1, 11, 0, 65535, 840, 1368, 0, 1.0f, 1.0f, 699, 1362, 980, 1374},
- {1, 13, 0, 65535, 1050, 1368, 0, 1.0f, 1.0f, 980, 1362, 1121, 1374},
- {0, 80, 0, 65535, 472, 1200, 0, 0.348774f, 0.472752f, 458, 1025, 486, 1373},
- {0, 70, 0, 65535, 376, 1382, 0, 1.0f, 1.0f, 286, 1030, 464, 1764},
- {0, 74, 0, 65535, 623, 1573, 0, 5.10932f, 0.748993f, -11, 1371, 1262, 1789},
- {0, 70, 0, 65535, 208, 1550, 0, 1.0f, 1.0f, 119, 1197, 297, 1931},
- {0, 80, 0, 65535, 598, 1347, 28602, 1.78636f, 0.647672f, 350, 1229, 842, 1480},
- {1, 40, 0, 65535, 378, 1109, 0, 1.00541f, 1.00541f, 284, 1015, 473, 1202},
- {1, 13, 0, 65535, 60, 1368, 0, 0.879433f, 1.0f, -2, 1362, 122, 1374},
- {1, 40, 0, 65535, 206, 1282, 0, 1.00541f, 1.00541f, 111, 1188, 300, 1375},
- {1, 11, 0, 65535, 1042, 1368, 0, 1.48754f, 1.0f, 833, 1362, 1251, 1374},
- {1, 47, 0, 424, 681, 910, 10594, 1.00235f, 1.0f, 469, 684, 854, 1111},
- {4, 255, 0, 65535, 952, 1340, 0, 41.0f, 53.0f, 932, 1314, 973, 1367},
- {4, 255, 0, 65535, 1044, 1340, 0, 41.0f, 53.0f, 1023, 1314, 1064, 1367},
- {4, 255, 0, 65535, 1090, 1340, 0, 41.0f, 53.0f, 1069, 1314, 1110, 1367},
- {4, 255, 0, 65535, 996, 1340, 0, 41.0f, 53.0f, 975, 1314, 1016, 1367},
- {0, 77, 0, 65535, 57, 1487, 9000, 4.14286f, 0.79375f, -7, 1375, 120, 1603},
- {0, 77, 0, 65535, 1204, 1487, 9000, 4.14286f, 3.11578f, 956, 1375, 1451, 1603},
- {0, 77, 0, 65535, 183, 1488, 9000, 4.10714f, 0.910417f, 110, 1377, 256, 1603},
- {0, 77, 0, 65535, 578, 1542, 9000, 2.17857f, 5.42828f, 146, 1483, 1008, 1603},
- {0, 68, 0, 65535, 837, 1431, 0, 0.505556f, 0.476005f, 716, 1369, 959, 1492},
- {0, 80, 0, 65535, 337, 1472, 30826, 1.0f, 0.346672f, 212, 1370, 455, 1582},
- {0, 77, 0, 65535, 246, 1492, 9000, 2.2381f, 0.79375f, 183, 1431, 309, 1555},
- {1, 57, 0, 65535, 58, 1368, 0, 2.87302f, 1.0f, -3, 1362, 119, 1374},
- {4, 255, 0, 65535, 228, 1331, 0, 81.0f, 106.0f, 188, 1278, 269, 1384},
- {4, 255, 0, 65535, 404, 1226, 0, 81.0f, 106.0f, 363, 1173, 445, 1279},
- {4, 255, 0, 65535, 818, 1215, 0, 81.0f, 106.0f, 777, 1162, 859, 1268},
- {1, 13, 1, 425, 188, 1368, 0, 1.0f, 1.0f, 118, 1362, 259, 1374},
- {4, 255, 0, 65535, 1028, 1281, 0, 81.0f, 106.0f, 987, 1228, 1068, 1334},
- {1, 11, 0, 65535, 1200, 1368, 0, 1.74021f, 1.0f, 955, 1361, 1444, 1374},
- {1, 57, 1, 65535, 1380, 1368, 0, 2.87302f, 1.0f, 1319, 1362, 1441, 1374},
- {1, 37, 0, 65535, 834, 1422, 0, 1.0f, 1.0f, 714, 1361, 955, 1484},
- {1, 11, 0, 65535, 561, 1477, 0, 1.0949f, 1.0f, 407, 1470, 716, 1483},
- {0, 77, 0, 65535, 171, 1501, 9000, 4.67857f, 2.25f, -8, 1374, 349, 1632},
- {0, 80, 0, 65535, 362, 1499, 0, 0.348774f, 0.348774f, 348, 1370, 376, 1627},
- {0, 77, 0, 65535, 1542, 1517, 9000, 5.25f, 2.06875f, 1377, 1375, 1705, 1664},
- {0, 80, 0, 65535, 1367, 1498, 0, -0.348774f, 0.348774f, 1353, 1369, 1381, 1626},
- {0, 68, 0, 65535, 223, 1309, 35766, 0.6f, 0.571984f, 81, 1228, 370, 1388},
- {0, 80, 0, 65535, 362, 1357, 0, 0.348774f, 0.348774f, 348, 1228, 376, 1485},
- {0, 77, 0, 65535, 922, 1661, 9000, 4.67857f, 9.95f, 130, 1534, 1709, 1792},
- {1, 56, 0, 65535, 25, 1368, 0, 1.0f, 1.0f, -3, 1362, 53, 1374},
- {1, 11, 0, 65535, 1528, 1368, 0, 1.22449f, 1.0f, 1355, 1362, 1701, 1374},
- {1, 36, 0, 65535, 210, 1296, 0, 1.0f, 1.0f, 50, 1216, 371, 1375},
- {2, 0, 0, 65535, 528, 1504, 0, 0.83683f, 1.0f, 366, 1472, 688, 1535},
- {2, 0, 0, 65535, 1192, 1504, 0, 0.871795f, 1.0f, 1024, 1472, 1359, 1535},
- {1, 11, 0, 426, 586, 1202, 0, 1.0f, 1.0f, 445, 1196, 726, 1208},
- {1, 11, 0, 427, 824, 1306, 9000, 1.0f, 1.0f, 818, 1165, 830, 1446},
- {2, 0, 0, 65535, 856, 1504, 0, 0.913753f, 1.0f, 680, 1472, 1031, 1535},
- {1, 11, 0, 428, 1076, 1150, 27000, 1.0f, 1.0f, 1069, 1009, 1082, 1291},
- {1, 11, 0, 429, 1157, 1368, 18000, 1.0f, 1.0f, 1016, 1362, 1298, 1375},
- {4, 255, 0, 65535, 775, 1051, 0, 41.0f, 53.0f, 754, 1024, 796, 1078},
- {4, 255, 0, 65535, 833, 1034, 0, 41.0f, 53.0f, 812, 1007, 854, 1061},
- {4, 255, 0, 65535, 721, 1086, 0, 41.0f, 53.0f, 700, 1059, 742, 1113},
- {4, 255, 0, 65535, 1152, 1004, 0, 41.0f, 53.0f, 1131, 978, 1172, 1031},
- {4, 255, 0, 65535, 1104, 950, 0, 41.0f, 53.0f, 1084, 924, 1125, 977},
- {4, 255, 0, 65535, 1184, 1070, 0, 41.0f, 53.0f, 1164, 1044, 1205, 1097},
- {0, 77, 0, 65535, 171, 1501, 9000, 4.67857f, 2.25f, -8, 1374, 349, 1632},
- {0, 80, 0, 65535, 362, 1499, 0, 0.348774f, 0.348774f, 348, 1370, 376, 1627},
- {0, 77, 0, 65535, 1479, 1517, 9000, 5.25f, 3.2875f, 1217, 1375, 1739, 1664},
- {0, 80, 0, 65535, 1207, 1498, 0, -0.348774f, 0.348774f, 1193, 1369, 1221, 1626},
- {0, 68, 0, 65535, 223, 1309, 35766, 0.6f, 0.571984f, 81, 1228, 370, 1388},
- {0, 80, 0, 65535, 362, 1357, 0, 0.348774f, 0.348774f, 348, 1228, 376, 1485},
- {0, 77, 0, 65535, 846, 1661, 9000, 4.67857f, 8.99375f, 130, 1534, 1557, 1792},
- {1, 11, 0, 65535, 1464, 1368, 0, 1.91132f, 1.0f, 1195, 1362, 1734, 1374},
- {1, 36, 0, 65535, 210, 1296, 0, 1.0f, 1.0f, 50, 1216, 371, 1375},
- {2, 0, 0, 65535, 569, 1494, 0, 1.05436f, 1.25994f, 366, 1454, 772, 1534},
- {2, 0, 0, 65535, 983, 1494, 0, 1.15128f, 1.25994f, 761, 1454, 1204, 1534},
- {1, 59, 0, 430, 535, 1222, 33000, 1.00348f, 1.0f, 374, 1087, 645, 1305},
- {1, 57, 0, 65535, 24, 1368, 0, 1.21429f, 1.0f, -1, 1362, 50, 1374},
- {4, 255, 0, 65535, 928, 1106, 0, 41.0f, 53.0f, 908, 1080, 949, 1133},
- {4, 255, 0, 65535, 884, 1100, 0, 41.0f, 53.0f, 863, 1073, 904, 1126},
- {4, 255, 0, 65535, 972, 1114, 0, 41.0f, 53.0f, 952, 1087, 993, 1140},
- {4, 255, 0, 65535, 775, 1115, 0, 41.0f, 53.0f, 754, 1088, 796, 1142},
- {4, 255, 0, 65535, 833, 1098, 0, 41.0f, 53.0f, 812, 1071, 854, 1125},
- {4, 255, 0, 65535, 721, 1150, 0, 41.0f, 53.0f, 700, 1123, 742, 1177},
- {0, 77, 0, 65535, 171, 1501, 9000, 4.67857f, 2.25f, -8, 1374, 349, 1632},
- {0, 80, 0, 65535, 362, 1499, 0, 0.348774f, 0.348774f, 348, 1370, 376, 1627},
- {0, 77, 0, 65535, 1366, 1517, 9000, 5.25f, 0.676434f, 1312, 1375, 1420, 1664},
- {0, 80, 0, 65535, 1314, 1501, 0, -0.348774f, 0.348774f, 1300, 1372, 1328, 1629},
- {0, 68, 0, 65535, 223, 1309, 35766, 0.6f, 0.571984f, 81, 1228, 370, 1388},
- {0, 80, 0, 65535, 362, 1357, 0, 0.348774f, 0.348774f, 348, 1228, 376, 1485},
- {0, 77, 0, 65535, 780, 1661, 9000, 4.67857f, 8.17951f, 130, 1534, 1427, 1792},
- {1, 36, 0, 65535, 210, 1296, 0, 1.0f, 1.0f, 50, 1216, 371, 1375},
- {2, 0, 0, 65535, 594, 1494, 0, 1.17246f, 1.25994f, 368, 1454, 820, 1534},
- {2, 0, 0, 65535, 1039, 1494, 0, 1.41351f, 1.25994f, 767, 1454, 1310, 1534},
- {1, 57, 0, 65535, 24, 1368, 0, 1.21429f, 1.0f, -1, 1362, 50, 1374},
- {1, 55, 2, 431, 416, 1230, 0, 1.0f, 1.0f, 375, 1224, 458, 1236},
- {1, 55, 2, 432, 502, 1242, 0, 1.0f, 1.0f, 460, 1236, 543, 1248},
- {1, 55, 2, 433, 672, 1266, 0, 1.0f, 1.0f, 630, 1260, 714, 1273},
- {1, 55, 2, 434, 587, 1254, 0, 1.0f, 1.0f, 545, 1248, 629, 1261},
- {1, 55, 2, 435, 843, 1291, 0, 1.0f, 1.0f, 801, 1285, 885, 1298},
- {1, 55, 2, 436, 1013, 1316, 0, 1.0f, 1.0f, 971, 1309, 1055, 1322},
- {1, 55, 2, 437, 758, 1279, 0, 1.0f, 1.0f, 716, 1273, 800, 1286},
- {1, 55, 2, 438, 928, 1304, 0, 1.0f, 1.0f, 886, 1297, 970, 1310},
- {1, 55, 2, 439, 1184, 1341, 0, 1.0f, 1.0f, 1142, 1334, 1226, 1347},
- {1, 55, 0, 65535, 1362, 1368, 0, 1.18072f, 1.0f, 1312, 1362, 1411, 1374},
- {1, 55, 2, 440, 1099, 1329, 0, 1.0f, 1.0f, 1057, 1322, 1141, 1335},
- {1, 55, 2, 441, 1269, 1355, 0, 1.0f, 1.0f, 1227, 1349, 1311, 1362},
- {0, 77, 0, 65535, 586, 1501, 9000, 4.67857f, 7.44167f, -6, 1374, 1175, 1632},
- {0, 77, 0, 65535, 1618, 1517, 9000, 5.25f, 6.1556f, 1128, 1375, 2105, 1664},
- {0, 67, 0, 65535, 105, 1423, 4500, 1.0f, 1.00649f, -5, 1313, 215, 1532},
- {0, 68, 0, 65535, 1452, 1172, 0, -0.972917f, 1.0f, 1218, 1043, 1685, 1301},
- {0, 77, 0, 65535, 1209, 1419, 9000, 4.67857f, 5.95419f, 735, 1292, 1680, 1550},
- {0, 80, 0, 65535, 1685, 1420, 35543, 0.779884f, 0.43733f, 1642, 1258, 1723, 1583},
- {0, 80, 0, 65535, 245, 1369, 26277, 0.779883f, 0.566969f, 35, 1320, 456, 1426},
- {0, 80, 0, 65535, 845, 1237, 25018, 1.86349f, 1.12714f, 437, 1045, 1260, 1446},
- {0, 67, 0, 65535, 719, 1372, 4500, 1.0f, 1.00649f, 609, 1262, 829, 1482},
- {0, 67, 0, 65535, 1076, 1273, 6869, 1.0f, 2.80495f, 845, 1121, 1307, 1423},
- {1, 57, 0, 65535, 24, 1368, 0, 1.21429f, 1.0f, -1, 1362, 50, 1374},
- {1, 55, 0, 65535, 75, 1340, 31500, 1.0f, 1.0f, 41, 1306, 109, 1375},
- {1, 55, 3, 442, 136, 1281, 31500, 1.0f, 1.0f, 102, 1247, 170, 1315},
- {1, 55, 3, 443, 197, 1221, 31500, 1.0f, 1.0f, 163, 1187, 231, 1255},
- {1, 55, 3, 444, 258, 1162, 31500, 1.0f, 1.0f, 224, 1128, 292, 1196},
- {1, 55, 3, 445, 441, 984, 31500, 1.0f, 1.0f, 407, 950, 475, 1018},
- {1, 55, 3, 446, 380, 1043, 31500, 1.0f, 1.0f, 346, 1009, 414, 1077},
- {1, 55, 3, 447, 319, 1103, 31500, 1.0f, 1.0f, 285, 1069, 353, 1137},
- {1, 55, 3, 448, 624, 806, 31500, 1.0f, 1.0f, 590, 771, 658, 840},
- {1, 55, 3, 449, 685, 747, 31500, 1.0f, 1.0f, 651, 712, 719, 781},
- {1, 55, 3, 450, 807, 628, 31500, 1.0f, 1.0f, 773, 593, 841, 662},
- {1, 55, 3, 451, 563, 865, 31500, 1.0f, 1.0f, 529, 831, 597, 899},
- {1, 55, 3, 452, 746, 687, 31500, 1.0f, 1.0f, 712, 653, 780, 721},
- {1, 55, 3, 453, 502, 925, 31500, 1.0f, 1.0f, 468, 890, 536, 959},
- {1, 35, 0, 65535, 1456, 1150, 0, -1.0f, 1.00433f, 1216, 1034, 1697, 1267},
- {1, 11, 0, 65535, 1894, 1368, 0, 1.3452f, 1.0f, 1705, 1362, 2083, 1374},
- {4, 255, 0, 65535, 556, 836, 0, 45.0849f, 59.0f, 533, 807, 580, 866},
- {4, 255, 0, 65535, 602, 795, 0, 45.0849f, 59.0f, 579, 765, 625, 825},
- {4, 255, 0, 65535, 651, 747, 0, 45.0849f, 59.0f, 628, 717, 674, 777},
- {4, 255, 0, 65535, 683, 715, 0, 45.0849f, 59.0f, 660, 685, 706, 745},
- {4, 255, 0, 65535, 726, 676, 0, 45.0849f, 59.0f, 703, 646, 749, 706},
- {4, 255, 0, 65535, 766, 633, 0, 45.0849f, 59.0f, 743, 603, 789, 663},
- {4, 255, 0, 65535, 802, 597, 0, 45.0849f, 59.0f, 779, 567, 825, 627},
- {0, 74, 0, 65535, 395, 1512, 9000, 1.104f, 1.38681f, -5, 1375, 769, 1650},
- {0, 68, 0, 65535, 223, 1310, 0, 0.662151f, 0.691488f, 64, 1220, 382, 1399},
- {0, 73, 0, 65535, 706, 1518, 0, 1.0f, 0.902598f, 594, 1252, 818, 1798},
- {0, 80, 0, 65535, 376, 1380, 0, 0.410256f, 0.410256f, 360, 1229, 392, 1531},
- {0, 80, 0, 65535, 600, 1406, 0, -0.262278f, 0.410256f, 589, 1255, 610, 1557},
- {0, 80, 0, 65535, 550, 1382, 27000, 0.987179f, 0.627445f, 319, 1344, 781, 1421},
- {0, 68, 0, 65535, 1374, 1480, 35843, -0.514661f, 0.529414f, 1248, 1414, 1500, 1551},
- {0, 74, 0, 65535, 879, 1514, 9000, 1.104f, 0.604491f, 705, 1377, 1042, 1652},
- {0, 68, 0, 65535, 1615, 1477, 35843, 0.48967f, 0.478848f, 1498, 1412, 1734, 1542},
- {0, 68, 0, 65535, 1889, 1353, 35439, 0.688029f, 0.543772f, 1729, 1266, 2061, 1439},
- {0, 74, 0, 65535, 1132, 1554, 10477, 1.28339f, 0.418955f, 975, 1368, 1283, 1738},
- {0, 74, 0, 65535, 1902, 1538, 8626, 0.995921f, 0.614855f, 1717, 1403, 2076, 1674},
- {0, 73, 0, 65535, 2369, 1523, 35806, 1.0f, 0.856287f, 2248, 1267, 2489, 1792},
- {0, 80, 0, 65535, 2482, 1425, 35196, 0.410256f, 0.404919f, 2445, 1275, 2515, 1574},
- {0, 80, 0, 65535, 2242, 1424, 0, -0.410256f, 0.410256f, 2226, 1272, 2259, 1575},
- {0, 74, 0, 65535, 1590, 1586, 9000, 0.512f, 5.41105f, 33, 1522, 3048, 1650},
- {0, 68, 0, 65535, 2816, 1310, 0, -0.665807f, 0.657908f, 2656, 1224, 2977, 1394},
- {0, 74, 0, 65535, 2859, 1501, 8994, 1.02036f, 0.700423f, 2657, 1373, 3048, 1629},
- {0, 80, 0, 65535, 2656, 1381, 592, -0.646407f, 0.410256f, 2621, 1229, 2697, 1534},
- {0, 80, 0, 65535, 2067, 1423, 34592, 0.646406f, 0.410256f, 2006, 1272, 2123, 1576},
- {0, 80, 0, 65535, 2412, 1519, 26878, 1.01757f, 0.879541f, 2088, 1477, 2737, 1566},
- {0, 80, 0, 65535, 983, 1374, 28470, 1.12934f, 0.574272f, 767, 1288, 1195, 1470},
- {1, 36, 0, 65535, 222, 1295, 0, 1.0f, 1.0f, 62, 1216, 383, 1374},
- {1, 17, 0, 65535, 707, 1268, 0, 1.0f, 1.0f, 590, 1243, 823, 1294},
- {1, 36, 0, 65535, 1888, 1339, 0, 1.0f, 1.0f, 1728, 1259, 2049, 1418},
- {1, 17, 0, 65535, 2377, 1285, 35174, 1.0f, 1.0f, 2259, 1244, 2490, 1313},
- {1, 36, 0, 65535, 2818, 1295, 0, -1.0f, 1.0f, 2657, 1216, 2978, 1374},
- {1, 37, 0, 65535, 1608, 1466, 0, 1.0f, 1.0f, 1487, 1405, 1728, 1528},
- {1, 37, 0, 65535, 1368, 1466, 0, -1.0f, 1.0f, 1248, 1405, 1489, 1528},
- {4, 255, 0, 65535, 2393, 1271, 0, 41.0f, 53.0f, 2372, 1244, 2414, 1298},
- {4, 255, 0, 65535, 2447, 1249, 0, 41.0f, 53.0f, 2426, 1222, 2468, 1276},
- {4, 255, 0, 65535, 2337, 1273, 0, 41.0f, 53.0f, 2316, 1246, 2358, 1300},
- {4, 255, 0, 65535, 2283, 1256, 0, 41.0f, 53.0f, 2262, 1229, 2304, 1283},
- {2, 1, 0, 454, 1488, 1296, 0, 0.273081f, 0.273081f, 1400, 1207, 1576, 1383},
- {2, 1, 0, 455, 707, 1058, 0, 0.27308f, 0.27308f, 618, 969, 795, 1145},
- {2, 1, 0, 456, 2361, 1072, 0, 0.27308f, 0.27308f, 2273, 983, 2449, 1159},
- {1, 37, 0, 65535, 1129, 1356, 0, -1.0f, 1.0f, 1008, 1295, 1250, 1418},
- {1, 55, 0, 65535, 3010, 1368, 0, 0.758981f, 1.0f, 2978, 1362, 3042, 1374},
- {1, 19, 0, 65535, 2207, 1280, 35174, 1.00826f, -1.0f, 2147, 1263, 2268, 1302},
- {1, 55, 0, 65535, 31, 1368, 0, 0.769304f, 1.0f, -2, 1362, 63, 1374},
- {4, 255, 0, 65535, 628, 1240, 0, 41.0f, 53.0f, 608, 1214, 649, 1267},
- {4, 255, 0, 65535, 682, 1258, 0, 41.0f, 53.0f, 662, 1231, 703, 1284},
- {4, 255, 0, 65535, 738, 1256, 0, 41.0f, 53.0f, 718, 1229, 759, 1282},
- {4, 255, 0, 65535, 792, 1234, 0, 41.0f, 53.0f, 772, 1207, 813, 1260},
- {0, 77, 0, 65535, 898, 1515, 0, 32.6639f, 1.83369f, 15, 1370, 1813, 1662},
- {0, 80, 0, 65535, 602, 1381, 26409, 1.00043f, 0.632617f, 367, 1327, 838, 1444},
- {0, 80, 0, 65535, 1059, 1375, 27443, 1.00043f, 0.632617f, 824, 1325, 1294, 1433},
- {1, 11, 0, 65535, 1549, 1368, 0, 1.74869f, 1.0f, 1303, 1362, 1795, 1374},
- {1, 15, 0, 65535, 456, 1262, 835, 1.0f, 1.00394f, 346, 1148, 567, 1375},
- {3, 81, 0, 65535, 308, 1368, 0, 1.0f, 1.0f, 266, 1362, 349, 1373},
- {2, 1, 0, 457, 858, 1222, 0, 0.6793f, 0.6793f, 639, 1003, 1076, 1439},
- {1, 16, 0, 65535, 1223, 1288, 35250, -1.0f, 1.00521f, 1141, 1200, 1306, 1375},
- {1, 11, 0, 65535, 132, 1368, 0, 0.957295f, 1.0f, -3, 1362, 267, 1374},
- {4, 255, 0, 65535, 732, 826, 0, 81.0f, 106.0f, 691, 773, 772, 879},
- {4, 255, 0, 65535, 858, 779, 0, 81.0f, 106.0f, 817, 725, 899, 832},
- {4, 255, 0, 65535, 989, 817, 0, 81.0f, 106.0f, 948, 764, 1030, 871},
- {4, 255, 0, 65535, 1102, 926, 0, 81.0f, 106.0f, 1061, 872, 1143, 979},
- {4, 255, 0, 65535, 1179, 1053, 0, 81.0f, 106.0f, 1138, 999, 1220, 1106},
- {0, 74, 0, 65535, 171, 1638, 0, 1.648f, 1.0f, -34, 1368, 377, 1925},
- {0, 70, 0, 65535, 240, 1668, 0, 1.0f, 1.0f, 151, 1316, 329, 2050},
- {0, 70, 0, 65535, 790, 1552, 0, -1.0f, 1.0f, 702, 1200, 880, 1934},
- {0, 80, 0, 65535, 338, 1434, 0, 0.275641f, 0.320845f, 327, 1316, 349, 1552},
- {0, 80, 0, 65535, 704, 1318, 0, -0.102564f, 0.325613f, 700, 1197, 708, 1437},
- {0, 80, 0, 65535, 537, 1361, 27000, 0.486699f, 0.523868f, 343, 1342, 729, 1380},
- {0, 80, 0, 65535, 1180, 1363, 26239, 1.29184f, 0.846636f, 866, 1285, 1495, 1455},
- {0, 74, 0, 65535, 602, 1638, 0, 2.008f, 1.0f, 353, 1368, 853, 1925},
- {0, 74, 0, 65535, 1512, 1638, 0, 5.196f, 1.0f, 868, 1368, 2162, 1925},
- {0, 64, 0, 65535, 1568, 1333, 8638, 0.469738f, 0.424482f, 1482, 1272, 1653, 1405},
- {0, 77, 0, 65535, 1585, 1382, 28204, 1.0f, 1.0f, 1501, 1337, 1668, 1425},
- {0, 80, 0, 65535, 1844, 1387, 28360, 0.759292f, 0.296594f, 1730, 1339, 1955, 1442},
- {0, 77, 0, 65535, 1725, 1375, 33558, 1.33333f, 0.2125f, 1685, 1344, 1767, 1406},
- {1, 40, 0, 65535, 792, 1280, 9000, 1.00541f, 1.00541f, 699, 1186, 886, 1374},
- {3, 81, 0, 65535, 298, 1340, 31476, 1.0f, 1.0f, 264, 1306, 331, 1373},
- {2, 1, 0, 458, 890, 481, 0, 0.253644f, 0.253644f, 808, 399, 972, 562},
- {2, 1, 0, 459, 890, 949, 0, -0.253644f, 0.253644f, 808, 867, 972, 1030},
- {2, 1, 0, 460, 1220, 425, 0, 0.253644f, 0.253644f, 1138, 343, 1302, 506},
- {2, 1, 0, 461, 1220, 893, 0, -0.253644f, 0.253644f, 1138, 811, 1302, 974},
- {2, 1, 0, 462, 1568, 511, 0, 0.253644f, 0.253644f, 1486, 429, 1650, 592},
- {2, 1, 0, 463, 1568, 979, 0, -0.253644f, 0.253644f, 1486, 897, 1650, 1060},
- {1, 14, 0, 65535, 1736, 1005, 33737, 1.0f, 1.0f, 1675, 779, 1811, 1232},
- {1, 19, 0, 65535, 1505, 1286, 7329, 1.00826f, 1.0f, 1485, 1226, 1535, 1342},
- {2, 1, 0, 464, 567, 763, 0, 0.253644f, 0.253644f, 485, 681, 649, 844},
- {2, 1, 0, 465, 567, 1253, 0, -0.253644f, 0.253644f, 485, 1171, 649, 1334},
- {1, 16, 0, 65535, 1645, 1338, 12539, 1.0f, -1.00521f, 1526, 1328, 1763, 1375},
- {1, 11, 0, 65535, 2002, 1368, 0, 1.03559f, 1.0f, 1856, 1362, 2147, 1374},
- {1, 11, 0, 65535, 136, 1368, 0, 0.978648f, 1.0f, -2, 1362, 273, 1374},
- {0, 77, 0, 65535, 1085, 1487, 9000, 4.14286f, 10.55f, 246, 1375, 1919, 1603},
- {0, 74, 0, 65535, 2040, 1505, 0, 1.91333f, 0.497409f, 1802, 1370, 2280, 1649},
- {0, 64, 0, 65535, 377, 1314, 0, 0.822619f, 0.447346f, 262, 1228, 493, 1400},
- {0, 64, 0, 65535, 1651, 1242, 34552, -0.982466f, 0.950511f, 1472, 1098, 1830, 1453},
- {0, 74, 0, 65535, 1151, 1274, 33329, 2.9743f, 0.990789f, 701, 868, 1612, 1695},
- {0, 74, 0, 65535, 869, 1314, 35996, 3.04742f, 0.303929f, 490, 1231, 1250, 1402},
- {0, 80, 0, 65535, 927, 1057, 24192, 1.95843f, 1.29489f, 480, 782, 1383, 1349},
- {0, 77, 0, 65535, 120, 1487, 9000, 4.14286f, 1.75625f, -21, 1375, 259, 1603},
- {1, 11, 0, 65535, 127, 1368, 0, 0.911625f, 1.0f, -2, 1362, 255, 1374},
- {4, 255, 0, 65535, 1524, 379, 0, 81.0f, 106.0f, 1483, 326, 1565, 433},
- {4, 255, 0, 65535, 1570, 626, 0, 81.0f, 106.0f, 1529, 573, 1611, 680},
- {1, 12, 0, 65535, 2058, 1368, 0, 2.30907f, 1.0f, 1840, 1362, 2276, 1374},
- {4, 255, 0, 65535, 1549, 505, 0, 81.0f, 106.0f, 1508, 451, 1590, 558},
- {1, 16, 0, 65535, 415, 1286, 562, 1.0f, 1.00521f, 335, 1195, 495, 1375},
- {3, 81, 0, 65535, 1012, 673, 28225, 1.0f, 1.0f, 997, 631, 1027, 715},
- {4, 255, 0, 65535, 1594, 754, 0, 81.0f, 106.0f, 1553, 701, 1635, 807},
- {4, 255, 0, 65535, 1614, 880, 0, 81.0f, 106.0f, 1573, 827, 1655, 933},
- {1, 14, 0, 65535, 1659, 1231, 34381, -1.0f, 1.0f, 1474, 1085, 1843, 1375},
- {1, 15, 0, 65535, 909, 834, 302, 1.0f, 1.00394f, 810, 711, 1010, 957},
- {1, 12, 0, 65535, 520, 1072, 28356, 1.37896f, 1.0f, 483, 944, 557, 1200},
- {3, 81, 0, 65535, 296, 1368, 0, 1.0f, 1.0f, 254, 1362, 338, 1373},
- {1, 11, 0, 65535, 680, 950, 0, 0.94484f, 1.0f, 547, 944, 813, 956},
- {1, 11, 0, 65535, 1330, 792, 6317, 0.740704f, 1.0f, 1277, 696, 1383, 888},
- {1, 11, 0, 65535, 1428, 986, 6317, 0.816142f, 1.0f, 1371, 881, 1486, 1092},
- {1, 17, 0, 65535, 1191, 632, 2566, 1.0f, -1.0f, 1078, 590, 1289, 703},
- {0, 68, 0, 65535, 504, 1280, 0, 1.0125f, 1.0f, 261, 1150, 747, 1408},
- {0, 68, 0, 65535, 1348, 1324, 0, 0.489583f, 0.498054f, 1231, 1259, 1466, 1388},
- {0, 77, 0, 65535, 976, 1487, 9000, 4.14286f, 10.2f, 165, 1375, 1782, 1603},
- {0, 74, 0, 65535, 120, 1504, 0, 1.05867f, 0.497409f, -12, 1369, 253, 1648},
- {0, 74, 0, 65535, 2080, 1504, 0, 2.53333f, 0.497409f, 1765, 1369, 2397, 1648},
- {0, 68, 0, 65535, 987, 1280, 0, -1.0125f, 1.0f, 744, 1150, 1230, 1408},
- {0, 68, 0, 65535, 1582, 1324, 0, -0.489583f, 0.498054f, 1465, 1259, 1700, 1388},
- {1, 35, 0, 65535, 505, 1258, 0, 1.0f, 1.00433f, 264, 1143, 746, 1376},
- {1, 35, 0, 65535, 985, 1258, 0, -1.0f, 1.00433f, 744, 1143, 1226, 1376},
- {1, 37, 0, 65535, 1345, 1314, 0, 1.0f, 1.0f, 1224, 1252, 1466, 1375},
- {1, 37, 0, 65535, 1584, 1314, 0, -1.0f, 1.0f, 1464, 1252, 1705, 1375},
- {4, 255, 0, 65535, 900, 989, 0, 81.0f, 106.0f, 859, 936, 941, 1043},
- {4, 255, 0, 65535, 1670, 1208, 0, 81.0f, 106.0f, 1629, 1155, 1711, 1262},
- {3, 81, 0, 65535, 224, 1368, 0, 1.0f, 1.0f, 182, 1362, 265, 1373},
- {1, 11, 0, 65535, 2039, 1368, 0, 2.38434f, 1.0f, 1703, 1362, 2374, 1374},
- {4, 255, 0, 65535, 1451, 1061, 0, 81.0f, 106.0f, 1410, 1007, 1492, 1114},
- {4, 255, 0, 65535, 1196, 971, 0, 81.0f, 106.0f, 1155, 917, 1237, 1024},
- {1, 12, 0, 65535, 90, 1368, 0, 0.978723f, 1.0f, -2, 1362, 183, 1374},
- {0, 64, 0, 65535, 208, 1325, 0, 0.734524f, 0.287206f, 105, 1269, 311, 1380},
- {0, 80, 0, 65535, 516, 1310, 27197, 1.14493f, 0.572873f, 303, 1261, 728, 1363},
- {0, 64, 0, 65535, 1322, 1185, 34952, -1.0f, 1.0f, 1150, 1021, 1495, 1399},
- {0, 64, 0, 65535, 1584, 1269, 9, 0.70356f, 0.400066f, 1485, 1192, 1683, 1346},
- {0, 80, 0, 65535, 1799, 1281, 35800, 0.737529f, 0.378907f, 1765, 1141, 1830, 1421},
- {0, 74, 0, 65535, 1733, 1329, 27120, 0.871746f, 0.228104f, 1669, 1218, 1801, 1439},
- {0, 78, 0, 65535, 1720, 1216, 12206, 0.564744f, 0.443689f, 1659, 1130, 1821, 1340},
- {0, 68, 0, 65535, 2120, 1330, 0, 0.529183f, 0.529183f, 1993, 1261, 2248, 1398},
- {0, 68, 0, 65535, 2374, 1330, 0, -0.529183f, 0.529183f, 2247, 1261, 2502, 1398},
- {0, 77, 0, 65535, 1330, 1497, 0, 48.184f, 1.57382f, 29, 1372, 2680, 1622},
- {0, 77, 0, 65535, 1488, 1459, 0, 8.90748f, 1.57382f, 1247, 1335, 1738, 1585},
- {0, 80, 0, 65535, 1174, 1277, 18341, 0.573855f, 0.43142f, 1146, 1117, 1206, 1437},
- {0, 80, 0, 65535, 968, 1302, 26624, 1.14493f, 0.654922f, 725, 1249, 1211, 1363},
- {0, 77, 0, 65535, 761, 1438, 0, 16.3385f, 1.69683f, 319, 1304, 1219, 1573},
- {3, 81, 0, 65535, 313, 1226, 28992, 1.0f, 1.0f, 293, 1185, 332, 1268},
- {1, 16, 0, 65535, 199, 1319, 9947, 1.0f, -1.00521f, 93, 1262, 305, 1374},
- {1, 14, 0, 65535, 1325, 1178, 34903, -1.0f, 1.0f, 1153, 1017, 1496, 1338},
- {1, 16, 0, 65535, 1587, 1264, 1613, 1.0f, 1.00521f, 1494, 1188, 1682, 1338},
- {1, 18, 0, 65535, 1740, 1149, 33702, 1.00629f, -1.0f, 1670, 1122, 1817, 1195},
- {1, 11, 0, 65535, 1913, 1368, 0, 0.664087f, 1.0f, 1819, 1362, 2007, 1374},
- {2, 1, 0, 466, 690, 1092, 0, -0.561464f, 0.561464f, 509, 911, 871, 1272},
- {2, 1, 0, 467, 862, 66, 0, -0.449043f, 0.449043f, 718, -79, 1007, 209},
- {1, 37, 0, 65535, 2125, 1314, 0, 1.0f, 1.0f, 2004, 1252, 2246, 1375},
- {1, 37, 0, 65535, 2366, 1314, 0, -1.0f, 1.0f, 2245, 1252, 2487, 1375},
- {1, 14, 0, 65535, 964, 902, 26416, 1.0f, 1.0f, 763, 783, 1166, 1024},
- {1, 13, 0, 65535, 2572, 1368, 0, 1.23808f, 1.0f, 2485, 1362, 2660, 1374},
- {1, 13, 0, 65535, 47, 1368, 0, 0.691979f, 1.0f, -2, 1362, 96, 1374},
- {4, 255, 0, 65535, 1514, 1304, 0, 81.0f, 106.0f, 1473, 1250, 1554, 1357},
- {4, 255, 0, 65535, 1568, 1284, 0, 81.0f, 106.0f, 1528, 1231, 1609, 1337},
- {4, 255, 0, 65535, 1402, 1282, 0, 81.0f, 106.0f, 1361, 1228, 1443, 1335},
- {4, 255, 0, 65535, 1612, 1253, 0, 81.0f, 106.0f, 1571, 1200, 1653, 1306},
- {4, 255, 0, 65535, 1647, 1200, 0, 81.0f, 106.0f, 1606, 1147, 1688, 1254},
- {4, 255, 0, 65535, 1456, 1297, 0, 81.0f, 106.0f, 1415, 1243, 1497, 1350},
- {0, 77, 0, 65535, 105, 1487, 9000, 4.14286f, 1.38854f, -6, 1375, 215, 1603},
- {0, 77, 0, 65535, 878, 1543, 9000, 2.13095f, 8.39792f, 210, 1485, 1542, 1604},
- {0, 77, 0, 65535, 2512, 1487, 9000, 4.14286f, 2.58958f, 2305, 1375, 2717, 1603},
- {0, 77, 0, 65535, 1983, 1487, 9000, 4.14286f, 5.20587f, 1569, 1375, 2395, 1603},
- {0, 77, 0, 65535, 1614, 1487, 9000, 4.14286f, 2.0f, 1454, 1375, 1772, 1603},
- {0, 80, 0, 65535, 296, 1569, 32713, 1.40117f, 0.568301f, 136, 1371, 444, 1774},
- {0, 80, 0, 65535, 542, 1495, 26342, 1.40117f, 0.823206f, 236, 1419, 848, 1584},
- {0, 80, 0, 65535, 1046, 1499, 28002, 1.40117f, 0.604975f, 817, 1417, 1273, 1592},
- {0, 64, 0, 65535, 1828, 1297, 0, 0.583929f, 0.422977f, 1746, 1216, 1910, 1378},
- {0, 64, 0, 65535, 2073, 1194, 0, -1.0f, 1.0f, 1932, 1003, 2213, 1385},
- {0, 77, 0, 65535, 1925, 1155, 935, 0.484466f, 1.43837f, 1893, 1040, 1957, 1270},
- {0, 77, 0, 65535, 1923, 1298, 35998, 0.627333f, 1.43837f, 1905, 1184, 1941, 1413},
- {0, 68, 0, 65535, 1339, 1429, 0, 0.488873f, 0.488975f, 1221, 1366, 1457, 1493},
- {1, 57, 0, 65535, 65, 1368, 0, 3.15079f, 1.0f, -2, 1362, 131, 1375},
- {1, 55, 0, 65535, 1590, 1368, 0, 3.41767f, 1.0f, 1447, 1362, 1732, 1374},
- {4, 255, 0, 65535, 1540, 1035, 0, 50.434f, 66.0f, 1514, 1002, 1565, 1068},
- {4, 255, 0, 65535, 1581, 1035, 0, 50.434f, 66.0f, 1555, 1002, 1607, 1068},
- {4, 255, 0, 65535, 1622, 1035, 0, 50.434f, 66.0f, 1596, 1002, 1648, 1068},
- {4, 255, 0, 65535, 1662, 1035, 0, 50.434f, 66.0f, 1636, 1002, 1688, 1068},
- {4, 255, 0, 65535, 1703, 1035, 0, 50.434f, 66.0f, 1678, 1002, 1729, 1068},
- {1, 55, 0, 65535, 1618, 1058, 0, 2.73093f, 1.0f, 1504, 1052, 1732, 1064},
- {4, 255, 0, 65535, 1704, 1348, 0, 50.434f, 66.0f, 1678, 1315, 1730, 1382},
- {4, 255, 0, 65535, 1662, 1348, 0, 50.434f, 66.0f, 1637, 1315, 1688, 1382},
- {4, 255, 0, 65535, 1582, 1348, 0, 50.434f, 66.0f, 1556, 1315, 1607, 1382},
- {4, 255, 0, 65535, 1540, 1348, 0, 50.434f, 66.0f, 1514, 1315, 1566, 1382},
- {4, 255, 0, 65535, 1623, 1348, 0, 50.434f, 66.0f, 1597, 1315, 1648, 1382},
- {1, 16, 0, 65535, 1800, 968, 0, 1.0f, 1.00521f, 1728, 872, 1870, 1064},
- {1, 17, 0, 65535, 1827, 1309, 31859, 1.0f, 1.0f, 1728, 1217, 1905, 1375},
- {1, 14, 0, 65535, 2078, 1186, 0, -1.0f, 1.0f, 1940, 997, 2218, 1375},
- {1, 12, 0, 65535, 1917, 1109, 27912, 1.19861f, 1.0f, 1892, 997, 1941, 1222},
- {1, 11, 0, 65535, 2452, 1368, 0, 1.69751f, 1.0f, 2214, 1362, 2691, 1374},
- {1, 13, 0, 468, 260, 1320, 31500, 1.0f, 1.0f, 205, 1265, 314, 1374},
- {3, 81, 0, 65535, 172, 1368, 0, 1.0f, 1.0f, 131, 1362, 214, 1374},
- {1, 49, 0, 65535, 1802, 733, 33066, 1.00457f, 1.0f, 1702, 642, 1923, 853},
- {1, 37, 0, 65535, 1329, 1423, 0, 1.0f, 1.0f, 1208, 1362, 1450, 1484},
- {1, 57, 0, 65535, 1790, 844, 35430, 1.0f, 1.0f, 1768, 836, 1812, 853},
- {0, 77, 0, 65535, 105, 1487, 9000, 4.14286f, 1.38854f, -6, 1375, 215, 1603},
- {0, 77, 0, 65535, 878, 1556, 9000, 1.67857f, 8.39792f, 210, 1510, 1542, 1603},
- {0, 77, 0, 65535, 2405, 1487, 9000, 4.14286f, 1.25625f, 2305, 1375, 2505, 1603},
- {0, 77, 0, 65535, 1983, 1487, 9000, 4.14286f, 5.20587f, 1569, 1375, 2395, 1603},
- {0, 77, 0, 65535, 1639, 1347, 9000, 9.14286f, 1.6875f, 1504, 1100, 1772, 1603},
- {0, 80, 0, 65535, 296, 1569, 32713, 1.40117f, 0.568301f, 136, 1371, 444, 1774},
- {0, 80, 0, 65535, 545, 1509, 26083, 1.40117f, 0.823206f, 239, 1420, 852, 1612},
- {0, 80, 0, 65535, 1212, 1483, 27308, 1.40117f, 1.03073f, 830, 1416, 1593, 1558},
- {0, 64, 0, 65535, 1806, 978, 0, 0.561905f, 0.665796f, 1727, 850, 1885, 1105},
- {0, 77, 0, 65535, 1867, 1347, 9000, 9.14286f, 1.22917f, 1769, 1100, 1965, 1603},
- {0, 64, 0, 65535, 2077, 1193, 0, -0.990475f, 1.00174f, 1938, 1002, 2216, 1385},
- {0, 80, 0, 65535, 1916, 958, 35308, 0.719952f, 0.300717f, 1875, 845, 1952, 1071},
- {0, 77, 0, 65535, 1904, 1031, 8436, 3.75f, 0.383333f, 1864, 927, 1945, 1139},
- {0, 80, 0, 65535, 1489, 1307, 19319, 1.40117f, 0.568301f, 1399, 1094, 1590, 1523},
- {1, 57, 0, 65535, 65, 1368, 0, 3.15079f, 1.0f, -2, 1362, 131, 1375},
- {4, 255, 0, 65535, 1640, 1067, 0, 50.434f, 66.0f, 1614, 1034, 1665, 1100},
- {4, 255, 0, 65535, 1687, 1067, 0, 50.434f, 66.0f, 1661, 1034, 1713, 1100},
- {4, 255, 0, 65535, 1736, 1067, 0, 50.434f, 66.0f, 1711, 1034, 1762, 1100},
- {1, 55, 0, 65535, 1618, 1090, 0, 2.73093f, 1.0f, 1504, 1084, 1732, 1096},
- {1, 16, 0, 65535, 1800, 1000, 0, 1.0f, 1.00521f, 1728, 904, 1870, 1096},
- {1, 11, 0, 65535, 2356, 1368, 0, 1.00949f, 1.0f, 2214, 1362, 2498, 1374},
- {3, 81, 0, 65535, 172, 1368, 0, 1.0f, 1.0f, 131, 1362, 214, 1374},
- {3, 81, 0, 65535, 1872, 865, 27997, 1.0f, 1.0f, 1858, 822, 1884, 907},
- {2, 1, 0, 469, 472, 1354, 0, 0.376093f, 0.376093f, 351, 1233, 593, 1474},
- {1, 13, 0, 65535, 260, 1320, 31500, 1.0f, 1.0f, 205, 1265, 314, 1374},
- {1, 58, 1, 65535, 2108, 581, 3637, 1.00235f, -1.00469f, 1872, 453, 2259, 794},
- {1, 14, 0, 65535, 2079, 1186, 0, -1.0f, 1.0f, 1940, 997, 2219, 1375},
- {2, 1, 0, 470, 2045, 652, 0, 0.268221f, 0.268221f, 1958, 565, 2132, 738},
- {1, 11, 1, 65535, 1853, 669, 28178, 0.921121f, 1.0f, 1820, 541, 1886, 797},
- {4, 255, 0, 65535, 2168, 857, 0, 50.434f, 66.0f, 2142, 824, 2193, 890},
- {4, 255, 0, 65535, 2119, 943, 0, 50.434f, 66.0f, 2093, 910, 2145, 976},
- {4, 255, 0, 65535, 2082, 1025, 0, 50.434f, 66.0f, 2057, 992, 2108, 1058},
- {0, 74, 0, 65535, 175, 1510, 9000, 1.118f, 0.633276f, -7, 1371, 347, 1650},
- {0, 74, 0, 65535, 963, 1510, 9000, 1.118f, 0.733449f, 752, 1371, 1161, 1650},
- {0, 68, 0, 65535, 982, 1325, 0, -0.49375f, 0.498054f, 864, 1260, 1101, 1389},
- {0, 74, 0, 65535, 811, 1322, 9000, 0.502f, 0.208406f, 751, 1260, 868, 1385},
- {0, 74, 0, 65535, 241, 1340, 7121, 0.111794f, 0.376566f, 133, 1294, 342, 1389},
- {0, 74, 0, 65535, 298, 1350, 8311, 0.23496f, 0.153604f, 251, 1316, 344, 1385},
- {0, 74, 0, 65535, 259, 1374, 8811, 0.201644f, 0.240014f, 189, 1346, 325, 1402},
- {0, 74, 0, 65535, 407, 1590, 12068, 0.627886f, 0.454369f, 254, 1455, 552, 1720},
- {0, 74, 0, 65535, 553, 1619, 9068, 0.627884f, 0.45437f, 421, 1539, 676, 1700},
- {0, 74, 0, 65535, 707, 1572, 5861, 0.627884f, 0.45437f, 555, 1441, 853, 1707},
- {0, 74, 0, 65535, 782, 1498, 2849, 0.627884f, 0.45437f, 651, 1352, 910, 1650},
- {0, 74, 0, 65535, 344, 1550, 14519, 0.627884f, 0.45437f, 205, 1398, 479, 1696},
- {1, 49, 0, 65535, 501, 1169, 4500, 1.00457f, 1.0f, 378, 1073, 597, 1293},
- {1, 58, 0, 65535, 524, 1442, 1071, 1.00235f, 1.00469f, 331, 1297, 755, 1551},
- {1, 37, 0, 65535, 986, 1314, 0, -1.0f, 1.0f, 865, 1252, 1106, 1375},
- {1, 57, 0, 65535, 1130, 1368, 0, 1.19048f, 1.0f, 1104, 1362, 1155, 1374},
- {1, 11, 0, 65535, 235, 1331, 34069, 0.808448f, 1.0f, 126, 1287, 345, 1375},
- {1, 55, 0, 65535, 64, 1368, 0, 1.60341f, 1.0f, -3, 1362, 131, 1374},
- {1, 11, 0, 471, 746, 1258, 9000, 0.854626f, 1.0f, 740, 1137, 753, 1379},
- {4, 255, 0, 65535, 730, 1096, 0, 41.0f, 53.0f, 709, 1070, 750, 1123},
- {4, 255, 0, 65535, 730, 1030, 0, 41.0f, 53.0f, 709, 1004, 750, 1057},
- {4, 255, 0, 65535, 730, 964, 0, 41.0f, 53.0f, 709, 937, 750, 990},
- {4, 255, 0, 65535, 730, 902, 0, 41.0f, 53.0f, 709, 875, 750, 928},
- {4, 255, 0, 65535, 730, 1160, 0, 41.0f, 53.0f, 709, 1133, 750, 1186},
- {0, 77, 0, 65535, 414, 1487, 9000, 4.14286f, 5.28542f, -7, 1375, 832, 1603},
- {0, 77, 0, 65535, 1090, 1487, 9000, 4.14286f, 3.40834f, 819, 1375, 1360, 1603},
- {0, 70, 0, 65535, 142, 1580, 0, 1.18644f, 1.16383f, 36, 1169, 247, 2024},
- {0, 64, 0, 65535, 375, 1278, 0, -0.95f, 0.590078f, 242, 1165, 508, 1391},
- {0, 80, 0, 65535, 706, 1407, 33254, 1.0f, 0.379929f, 606, 1269, 796, 1549},
- {0, 80, 0, 65535, 862, 1370, 27751, 1.0f, 0.486794f, 679, 1315, 1043, 1433},
- {0, 77, 0, 65535, 565, 1411, 6323, 2.80209f, 1.45199f, 428, 1291, 703, 1533},
- {1, 48, 0, 65535, 409, 925, 2960, 1.00348f, 1.0f, 250, 805, 540, 1083},
- {1, 15, 0, 65535, 360, 1267, 34928, -1.0f, 1.00394f, 245, 1157, 474, 1375},
- {1, 11, 0, 65535, 144, 1262, 31500, 1.08556f, 1.0f, 31, 1149, 256, 1374},
- {1, 57, 0, 65535, 19, 1368, 0, 1.0f, 1.0f, -2, 1362, 40, 1374},
- {1, 11, 0, 65535, 1194, 1368, 0, 1.08185f, 1.0f, 1041, 1362, 1346, 1374},
- {4, 255, 0, 65535, 445, 857, 0, 50.434f, 66.0f, 419, 824, 471, 890},
- {4, 255, 0, 65535, 509, 950, 0, 50.434f, 66.0f, 483, 917, 535, 983},
- {4, 255, 0, 65535, 460, 1037, 0, 50.434f, 66.0f, 434, 1004, 486, 1070},
- {4, 255, 0, 65535, 342, 852, 0, 50.434f, 66.0f, 316, 819, 367, 885},
- {4, 255, 0, 65535, 282, 945, 0, 51.0f, 66.7407f, 256, 911, 307, 979},
- {1, 11, 0, 65535, 568, 1318, 33258, 0.781657f, 1.0f, 467, 1262, 669, 1375},
- {0, 77, 0, 65535, 155, 1501, 9000, 4.67857f, 2.0625f, -9, 1374, 318, 1632},
- {0, 77, 0, 65535, 722, 1501, 9000, 4.67857f, 5.38125f, 293, 1374, 1147, 1632},
- {0, 64, 0, 65535, 356, 1310, 0, 0.75f, 0.429069f, 251, 1228, 462, 1393},
- {0, 77, 0, 65535, 946, 1501, 9000, 4.67857f, 5.38125f, 517, 1374, 1371, 1632},
- {1, 16, 0, 65535, 370, 1300, 1533, 1.0f, 1.00521f, 278, 1223, 463, 1375},
- {1, 11, 0, 65535, 138, 1368, 0, 1.0f, 1.0f, -2, 1362, 279, 1374},
- {1, 59, 0, 472, 725, 1107, 29500, 1.00348f, 1.0f, 598, 945, 804, 1221},
- {2, 0, 0, 65535, 585, 1356, 0, 0.667061f, 0.645218f, 456, 1335, 713, 1376},
- {2, 0, 0, 65535, 836, 1356, 0, 0.667061f, 0.645218f, 707, 1335, 964, 1376},
- {4, 255, 0, 65535, 960, 1182, 0, 41.0f, 53.0f, 940, 1156, 981, 1209},
- {4, 255, 0, 65535, 1022, 1216, 0, 41.0f, 53.0f, 1002, 1189, 1043, 1242},
- {4, 255, 0, 65535, 1086, 1248, 0, 41.0f, 53.0f, 1066, 1221, 1107, 1274},
- {1, 11, 0, 65535, 1154, 1368, 0, 1.35834f, 1.0f, 963, 1362, 1345, 1374},
- {0, 77, 0, 65535, 155, 1501, 9000, 4.67857f, 2.0625f, -9, 1374, 318, 1632},
- {0, 77, 0, 65535, 654, 1501, 9000, 4.67857f, 4.53958f, 293, 1374, 1013, 1632},
- {0, 64, 0, 65535, 356, 1310, 0, 0.75f, 0.429069f, 251, 1228, 462, 1393},
- {0, 77, 0, 65535, 1243, 1546, 9000, 4.67857f, 2.98125f, 1005, 1420, 1479, 1678},
- {0, 77, 0, 65535, 1730, 1502, 9000, 4.65476f, 3.18125f, 1476, 1375, 1981, 1632},
- {0, 69, 0, 65535, 1039, 844, 0, 0.779664f, 1.0f, 947, 777, 1131, 912},
- {0, 69, 0, 65535, 759, 1044, 0, 1.65847f, 2.04815f, 565, 906, 954, 1182},
- {0, 80, 0, 65535, 805, 1352, 28399, 1.0f, 1.0f, 438, 1234, 1169, 1479},
- {0, 80, 0, 65535, 1116, 1397, 26898, 1.0f, 1.0f, 747, 1356, 1484, 1443},
- {0, 69, 0, 65535, 691, 1363, 9661, 0.406507f, 3.78519f, 433, 1286, 943, 1393},
- {1, 16, 0, 65535, 370, 1300, 1533, 1.0f, 1.00521f, 278, 1223, 463, 1375},
- {1, 11, 0, 65535, 138, 1368, 0, 1.0f, 1.0f, -2, 1362, 279, 1374},
- {1, 38, 0, 65535, 759, 1042, 0, 1.0f, 1.0f, 543, 893, 976, 1191},
- {1, 39, 0, 65535, 1042, 844, 0, 1.0045f, 1.0f, 929, 767, 1154, 921},
- {4, 255, 0, 65535, 1066, 724, 0, 41.0f, 53.0f, 1045, 697, 1087, 751},
- {4, 255, 0, 65535, 1128, 677, 0, 41.0f, 53.0f, 1107, 650, 1149, 704},
- {4, 255, 0, 65535, 1191, 632, 0, 41.0f, 53.0f, 1170, 605, 1212, 659},
- {1, 11, 0, 65535, 1671, 1368, 0, 1.35834f, 1.0f, 1480, 1362, 1862, 1374},
- {0, 74, 0, 65535, 896, 1497, 27000, 1.01197f, 3.3982f, -20, 1370, 1873, 1623},
- {0, 80, 0, 65535, 1128, 1393, 27000, 1.0f, 0.804483f, 831, 1354, 1424, 1433},
- {0, 80, 0, 65535, 540, 1395, 26907, 1.0f, 0.923329f, 200, 1354, 880, 1440},
- {1, 57, 0, 65535, 1109, 1358, 3015, 1.0f, 1.0f, 1088, 1341, 1131, 1374},
- {1, 57, 0, 65535, 1169, 1358, 3015, 1.0f, 1.0f, 1148, 1341, 1191, 1374},
- {1, 57, 0, 65535, 1048, 1357, 3015, 1.0f, 1.0f, 1027, 1341, 1070, 1374},
- {1, 57, 0, 65535, 1139, 1358, 33015, 1.0f, 1.0f, 1118, 1341, 1161, 1374},
- {1, 57, 0, 65535, 1261, 1358, 33015, 1.0f, 1.0f, 1240, 1342, 1283, 1374},
- {1, 57, 0, 65535, 1321, 1358, 33015, 1.0f, 1.0f, 1300, 1342, 1343, 1374},
- {1, 57, 0, 65535, 1351, 1358, 3015, 1.0f, 1.0f, 1330, 1342, 1373, 1374},
- {1, 57, 0, 65535, 1200, 1358, 33015, 1.0f, 1.0f, 1179, 1342, 1222, 1374},
- {1, 57, 0, 65535, 1079, 1357, 33015, 1.0f, 1.0f, 1058, 1341, 1101, 1374},
- {1, 57, 0, 65535, 1230, 1358, 3015, 1.0f, 1.0f, 1209, 1342, 1252, 1374},
- {1, 57, 0, 65535, 1291, 1358, 3015, 1.0f, 1.0f, 1270, 1342, 1313, 1374},
- {1, 57, 0, 65535, 1381, 1358, 33015, 1.0f, 1.0f, 1360, 1342, 1403, 1374},
- {1, 57, 0, 65535, 1411, 1358, 3015, 1.0f, 1.0f, 1390, 1342, 1433, 1375},
- {1, 57, 0, 65535, 1018, 1357, 33015, 1.0f, 1.0f, 997, 1341, 1040, 1373},
- {1, 57, 0, 65535, 334, 1358, 32995, 1.0f, 1.0f, 312, 1342, 356, 1374},
- {1, 57, 0, 65535, 274, 1358, 32995, 1.0f, 1.0f, 252, 1342, 296, 1374},
- {1, 57, 0, 65535, 304, 1358, 2995, 1.0f, 1.0f, 282, 1342, 326, 1374},
- {1, 57, 0, 65535, 213, 1358, 32995, 1.0f, 1.0f, 191, 1342, 235, 1375},
- {1, 57, 0, 65535, 243, 1358, 2995, 1.0f, 1.0f, 221, 1342, 265, 1374},
- {1, 13, 0, 65535, 98, 1368, 0, 1.41125f, 1.0f, -1, 1362, 198, 1374},
- {1, 57, 0, 65535, 364, 1358, 2995, 1.0f, 1.0f, 342, 1342, 386, 1374},
- {1, 14, 0, 65535, 516, 1186, 0, 1.0f, 1.0f, 376, 997, 655, 1375},
- {1, 14, 0, 65535, 868, 1186, 18000, 1.0f, -1.0f, 729, 997, 1008, 1375},
- {1, 12, 0, 65535, 1765, 1368, 0, 1.03361f, 1.0f, 1667, 1362, 1863, 1374},
- {1, 57, 0, 65535, 1441, 1358, 33015, 1.0f, 1.0f, 1420, 1342, 1463, 1374},
- {1, 57, 0, 65535, 1501, 1358, 33015, 1.0f, 1.0f, 1480, 1342, 1523, 1374},
- {1, 57, 0, 65535, 1561, 1358, 33015, 1.0f, 1.0f, 1540, 1342, 1583, 1374},
- {1, 57, 0, 65535, 1531, 1358, 3015, 1.0f, 1.0f, 1510, 1342, 1553, 1374},
- {1, 57, 0, 65535, 1471, 1358, 3015, 1.0f, 1.0f, 1450, 1342, 1493, 1374},
- {1, 57, 0, 65535, 1591, 1358, 3015, 1.0f, 1.0f, 1570, 1342, 1613, 1375},
- {1, 57, 0, 65535, 1622, 1358, 33015, 1.0f, 1.0f, 1601, 1342, 1644, 1374},
- {1, 57, 0, 65535, 1652, 1358, 3015, 1.0f, 1.0f, 1631, 1342, 1674, 1375},
- {4, 255, 0, 65535, 628, 978, 0, 54.4528f, 71.2592f, 600, 942, 656, 1014},
- {4, 255, 0, 65535, 659, 837, 0, 54.4528f, 71.2592f, 631, 801, 687, 873},
- {4, 255, 0, 65535, 758, 837, 0, 54.4528f, 71.2592f, 730, 801, 786, 873},
- {4, 255, 0, 65535, 642, 911, 0, 54.4528f, 71.2592f, 614, 875, 670, 947},
- {4, 255, 0, 65535, 774, 909, 0, 54.4528f, 71.2592f, 746, 873, 802, 945},
- {4, 255, 0, 65535, 793, 979, 0, 54.4528f, 71.2592f, 765, 943, 820, 1015},
- {0, 70, 0, 65535, 374, 1019, 0, -0.522927f, 0.997502f, 327, 667, 421, 1399},
- {0, 68, 0, 65535, 873, 1275, 0, -0.967523f, 1.0f, 640, 1145, 1105, 1404},
- {0, 77, 0, 65535, 731, 1494, 9000, 4.37921f, 9.33308f, -12, 1375, 1469, 1617},
- {0, 80, 0, 65535, 399, 803, 34220, 0.665725f, 0.388744f, 330, 660, 461, 947},
- {0, 80, 0, 65535, 496, 1296, 34770, 1.35577f, 0.997307f, 366, 929, 613, 1666},
- {0, 77, 0, 65535, 430, 1294, 9000, 4.75466f, 0.480615f, 392, 1165, 469, 1428},
- {0, 80, 0, 65535, 546, 1372, 26988, 0.771574f, 0.843043f, 235, 1342, 856, 1403},
- {0, 80, 0, 65535, 575, 1457, 19863, 1.19709f, 0.843044f, 443, 1153, 719, 1767},
- {0, 64, 0, 65535, 242, 1256, 0, 0.66141f, 0.66141f, 148, 1129, 335, 1383},
- {1, 11, 0, 65535, 1296, 1368, 0, 1.26763f, 1.0f, 1117, 1362, 1475, 1374},
- {1, 12, 0, 65535, 83, 1368, 0, 0.905643f, 1.0f, -2, 1362, 169, 1374},
- {1, 11, 0, 65535, 325, 889, 9000, 1.56774f, 1.0f, 319, 668, 331, 1110},
- {1, 35, 0, 65535, 879, 1258, 0, -1.0f, 1.00433f, 638, 1142, 1120, 1375},
- {1, 15, 0, 65535, 248, 1241, 35522, 1.0f, 1.00394f, 164, 1107, 331, 1375},
- {1, 57, 0, 65535, 315, 653, 6000, 1.0f, 1.0f, 299, 632, 331, 675},
- {1, 60, 0, 65535, 54, 575, 4606, 1.00457f, 1.0f, -16, 456, 171, 647},
- {4, 255, 0, 65535, 289, 1081, 0, 52.7789f, 69.0687f, 262, 1046, 316, 1116},
- {4, 255, 0, 65535, 289, 985, 0, 52.7789f, 69.0687f, 262, 950, 316, 1020},
- {4, 255, 0, 65535, 289, 889, 0, 52.7789f, 69.0687f, 262, 854, 316, 924},
- {4, 255, 0, 65535, 289, 793, 0, 52.7789f, 69.0687f, 262, 758, 316, 828},
- {4, 255, 0, 65535, 289, 697, 0, 52.7789f, 69.0687f, 262, 662, 316, 732},
- {0, 77, 0, 65535, 355, 1505, 9000, 4.38106f, 4.8427f, -30, 1386, 738, 1628},
- {0, 77, 0, 65535, 295, 1434, 7376, 3.52152f, 2.18607f, 101, 1294, 489, 1577},
- {0, 64, 0, 65535, 576, 1339, 13990, 0.645667f, -0.645667f, 428, 1299, 726, 1492},
- {0, 77, 0, 65535, 478, 1502, 13899, 3.52152f, 2.18607f, 290, 1308, 664, 1697},
- {0, 77, 0, 65535, 662, 1491, 8684, 3.52152f, 1.31964f, 551, 1390, 772, 1595},
- {0, 77, 0, 65535, 1027, 1540, 9000, 6.01405f, 3.63646f, 737, 1377, 1315, 1709},
- {0, 80, 0, 65535, 871, 1388, 26998, 0.674433f, 0.424787f, 714, 1362, 1027, 1415},
- {0, 77, 0, 65535, 86, 1494, 9000, 4.38105f, 1.33117f, -20, 1375, 192, 1617},
- {1, 13, 0, 65535, 80, 1368, 0, 1.18226f, 1.0f, -3, 1362, 164, 1374},
- {1, 47, 0, 65535, 430, 1010, 0, 1.00235f, 1.0f, 216, 839, 644, 1181},
- {1, 12, 0, 473, 512, 1232, 32500, 1.0713f, 1.0f, 426, 1169, 599, 1296},
- {1, 12, 0, 65535, 296, 1330, 34380, 1.48939f, 1.0f, 160, 1284, 433, 1375},
- {1, 15, 0, 65535, 576, 1330, 32012, -1.0f, 1.00394f, 424, 1285, 729, 1389},
- {1, 11, 0, 65535, 1142, 1368, 0, 1.0f, 1.0f, 1001, 1362, 1283, 1374},
- {2, 4, 0, 474, 429, 1048, 9000, 0.471999f, 0.471999f, 321, 896, 536, 1200},
- {4, 255, 0, 65535, 285, 1130, 0, 60.5793f, 79.2767f, 255, 1089, 316, 1170},
- {4, 255, 0, 65535, 272, 1023, 0, 60.5793f, 79.2767f, 241, 983, 303, 1063},
- {4, 255, 0, 65535, 322, 940, 0, 60.5793f, 79.2767f, 291, 900, 353, 980},
- {4, 255, 0, 65535, 421, 894, 0, 60.5793f, 79.2767f, 390, 853, 452, 934},
- {4, 255, 0, 65535, 517, 931, 0, 60.5793f, 79.2767f, 486, 891, 548, 972},
- {4, 255, 0, 65535, 584, 1004, 0, 60.5793f, 79.2767f, 553, 964, 615, 1044},
- {0, 74, 0, 65535, 1549, 1638, 0, 1.53855f, 1.0f, 1358, 1368, 1742, 1926},
- {0, 74, 0, 65535, 65, 1661, 18031, 0.73916f, 1.0f, -30, 1373, 158, 1931},
- {0, 74, 0, 65535, 279, 1670, 72, 0.73916f, 1.0f, 183, 1399, 375, 1958},
- {0, 64, 0, 65535, 370, 1336, 4478, 0.934666f, 0.986152f, 144, 1288, 596, 1562},
- {0, 74, 0, 65535, 873, 1788, 0, 4.23616f, 1.11872f, 347, 1486, 1403, 2110},
- {0, 74, 0, 65535, 447, 1522, 0, 0.838721f, 0.430146f, 342, 1406, 552, 1646},
- {0, 74, 0, 65535, 490, 1430, 3432, 0.148885f, 0.430145f, 404, 1323, 571, 1543},
- {0, 74, 0, 65535, 106, 1679, 18031, 0.73916f, 1.0f, 12, 1392, 200, 1950},
- {0, 80, 0, 65535, 1031, 1482, 26465, 1.21762f, 1.0f, 661, 1412, 1401, 1564},
- {0, 80, 0, 65535, 1044, 1543, 24507, 1.0f, 1.0f, 698, 1361, 1394, 1734},
- {0, 80, 0, 65535, 737, 1502, 32036, 0.787817f, 0.702916f, 548, 1288, 920, 1721},
- {0, 74, 0, 65535, 563, 1474, 14530, 0.83872f, 0.430145f, 406, 1312, 715, 1629},
- {1, 13, 0, 65535, 76, 1368, 0, 1.08297f, 1.0f, -1, 1362, 153, 1374},
- {1, 14, 0, 65535, 374, 1325, 4237, 1.0f, 1.0f, 146, 1272, 603, 1408},
- {1, 12, 0, 65535, 1545, 1368, 0, 1.97609f, 1.0f, 1359, 1362, 1731, 1374},
- {1, 59, 0, 65535, 413, 1142, 2424, 1.00348f, 1.0f, 298, 1017, 575, 1221},
- {1, 38, 0, 65535, 986, 1242, 0, 1.0f, -1.0f, 770, 1093, 1203, 1391},
- {4, 255, 0, 65535, 577, 1038, 0, 48.0585f, 62.8914f, 552, 1007, 601, 1070},
- {4, 255, 0, 65535, 617, 1246, 0, 48.0585f, 62.8914f, 592, 1214, 641, 1278},
- {4, 255, 0, 65535, 678, 1206, 0, 48.0585f, 62.8914f, 654, 1174, 703, 1237},
- {4, 255, 0, 65535, 735, 1164, 0, 48.0585f, 62.8914f, 711, 1132, 760, 1196},
- {4, 255, 0, 65535, 694, 1079, 0, 48.0585f, 62.8914f, 669, 1047, 718, 1111},
- {4, 255, 0, 65535, 635, 1058, 0, 48.0585f, 62.8914f, 611, 1026, 660, 1090},
- {0, 74, 0, 65535, 767, 1499, 27000, 1.01197f, 3.05786f, -58, 1372, 1646, 1625},
- {0, 80, 0, 65535, 787, 1396, 27000, 1.0f, 0.6187f, 559, 1357, 1015, 1436},
- {1, 57, 0, 65535, 516, 1365, 33097, 1.0f, 1.0f, 494, 1349, 537, 1381},
- {1, 57, 0, 65535, 274, 1361, 33097, 1.0f, 1.0f, 252, 1345, 295, 1377},
- {1, 57, 0, 65535, 304, 1362, 3097, 1.0f, 1.0f, 282, 1345, 325, 1378},
- {1, 57, 0, 65535, 365, 1363, 3097, 1.0f, 1.0f, 343, 1346, 386, 1379},
- {1, 57, 0, 65535, 426, 1364, 3097, 1.0f, 1.0f, 404, 1347, 447, 1380},
- {1, 57, 0, 65535, 396, 1363, 33097, 1.0f, 1.0f, 374, 1347, 417, 1379},
- {1, 57, 0, 65535, 214, 1360, 33097, 1.0f, 1.0f, 192, 1344, 235, 1376},
- {1, 57, 0, 65535, 456, 1364, 33097, 1.0f, 1.0f, 434, 1348, 477, 1380},
- {1, 57, 0, 65535, 546, 1366, 3097, 1.0f, 1.0f, 524, 1349, 567, 1382},
- {1, 57, 0, 65535, 486, 1365, 3097, 1.0f, 1.0f, 464, 1348, 507, 1381},
- {1, 57, 0, 65535, 335, 1362, 33097, 1.0f, 1.0f, 313, 1346, 356, 1378},
- {1, 57, 0, 65535, 244, 1361, 3097, 1.0f, 1.0f, 222, 1344, 265, 1377},
- {1, 57, 0, 65535, 153, 1359, 33097, 1.0f, 1.0f, 131, 1343, 174, 1375},
- {1, 57, 0, 65535, 183, 1360, 3097, 1.0f, 1.0f, 161, 1343, 204, 1376},
- {1, 57, 0, 65535, 890, 1195, 30279, 1.0f, 1.0f, 873, 1173, 907, 1216},
- {1, 57, 0, 65535, 675, 1305, 30279, 1.0f, 1.0f, 658, 1284, 692, 1327},
- {1, 57, 0, 65535, 701, 1292, 279, 1.0f, 1.0f, 680, 1284, 723, 1299},
- {1, 57, 0, 65535, 756, 1264, 279, 1.0f, 1.0f, 734, 1256, 777, 1271},
- {1, 57, 0, 65535, 810, 1236, 279, 1.0f, 1.0f, 788, 1228, 832, 1243},
- {1, 57, 0, 65535, 783, 1249, 30279, 1.0f, 1.0f, 766, 1228, 800, 1271},
- {1, 57, 0, 65535, 621, 1333, 30279, 1.0f, 1.0f, 604, 1311, 638, 1354},
- {1, 57, 0, 65535, 837, 1222, 30279, 1.0f, 1.0f, 820, 1201, 854, 1243},
- {1, 57, 0, 65535, 917, 1181, 279, 1.0f, 1.0f, 895, 1173, 938, 1188},
- {1, 57, 0, 65535, 863, 1208, 279, 1.0f, 1.0f, 842, 1201, 885, 1216},
- {1, 57, 0, 65535, 729, 1277, 30279, 1.0f, 1.0f, 712, 1256, 746, 1299},
- {1, 57, 0, 65535, 648, 1319, 279, 1.0f, 1.0f, 626, 1311, 670, 1326},
- {1, 57, 0, 65535, 567, 1361, 30279, 1.0f, 1.0f, 550, 1339, 584, 1382},
- {1, 57, 0, 65535, 594, 1347, 279, 1.0f, 1.0f, 572, 1339, 616, 1354},
- {1, 57, 0, 65535, 934, 1166, 27871, 1.0f, 1.0f, 925, 1144, 944, 1188},
- {1, 57, 0, 65535, 953, 1143, 33871, 1.0f, 1.0f, 931, 1129, 975, 1157},
- {1, 11, 0, 65535, 1325, 1368, 0, 2.21864f, 1.0f, 1013, 1362, 1637, 1374},
- {1, 13, 0, 65535, 70, 1368, 0, 1.0f, 1.0f, -1, 1362, 140, 1374},
- {4, 255, 0, 65535, 651, 1277, 0, 54.4528f, 71.2592f, 624, 1241, 679, 1313},
- {4, 255, 0, 65535, 753, 1217, 0, 54.4528f, 71.2592f, 726, 1181, 781, 1253},
- {4, 255, 0, 65535, 703, 1245, 0, 54.4528f, 71.2592f, 676, 1209, 731, 1281},
- {4, 255, 0, 65535, 808, 1189, 0, 54.4528f, 71.2592f, 780, 1153, 836, 1225},
- {4, 255, 0, 65535, 863, 1159, 0, 54.4528f, 71.2592f, 835, 1123, 890, 1195},
- {0, 74, 0, 65535, 767, 1499, 27000, 1.01197f, 3.05786f, -58, 1372, 1646, 1625},
- {0, 80, 0, 65535, 714, 1391, 27000, 1.0f, 1.00954f, 341, 1352, 1084, 1430},
- {1, 13, 0, 65535, 70, 1368, 0, 1.0f, 1.0f, -1, 1362, 140, 1374},
- {1, 39, 0, 65535, 242, 1298, 0, 1.0045f, 1.0f, 130, 1221, 355, 1374},
- {1, 38, 0, 65535, 583, 1166, 0, 1.0f, 1.0f, 366, 1017, 799, 1315},
- {1, 39, 0, 65535, 928, 1044, 0, 1.0045f, -1.0f, 816, 967, 1041, 1121},
- {1, 39, 0, 65535, 1352, 1298, 0, 1.0045f, 1.0f, 1240, 1221, 1465, 1374},
- {1, 12, 0, 65535, 1541, 1368, 0, 1.0f, 1.0f, 1446, 1362, 1635, 1374},
- {1, 12, 0, 65535, 1159, 1368, 0, 1.0f, 1.0f, 1064, 1362, 1253, 1374},
- {4, 255, 0, 65535, 835, 925, 0, 55.9251f, 73.186f, 806, 887, 863, 962},
- {4, 255, 0, 65535, 899, 925, 0, 55.9251f, 73.186f, 870, 887, 927, 962},
- {4, 255, 0, 65535, 963, 925, 0, 55.9251f, 73.186f, 934, 887, 991, 962},
- {4, 255, 0, 65535, 1027, 925, 0, 55.9251f, 73.186f, 998, 887, 1055, 962},
- {0, 74, 0, 65535, 108, 1499, 27000, 1.01197f, 0.471582f, -20, 1372, 244, 1625},
- {0, 74, 0, 65535, 655, 1623, 27000, 1.01198f, 1.54345f, 238, 1496, 1099, 1749},
- {0, 74, 0, 65535, 1302, 1499, 27000, 1.01198f, 1.17946f, 984, 1372, 1642, 1625},
- {0, 80, 0, 65535, 1124, 1383, 27000, 0.759826f, 0.367747f, 988, 1354, 1259, 1414},
- {0, 80, 0, 65535, 349, 1461, 29472, 0.759826f, 0.40254f, 202, 1378, 493, 1550},
- {0, 77, 0, 65535, 277, 1497, 29657, 1.50881f, 1.0f, 188, 1423, 367, 1569},
- {0, 64, 0, 65535, 898, 1412, 9000, 0.66022f, -0.591714f, 784, 1319, 1011, 1504},
- {1, 39, 0, 65535, 1073, 1254, 18000, 1.0045f, 1.0f, 961, 1177, 1186, 1331},
- {1, 12, 0, 65535, 1541, 1368, 0, 1.0f, 1.0f, 1446, 1362, 1635, 1374},
- {1, 59, 0, 65535, 646, 1219, 3427, 1.00348f, 1.0f, 542, 1078, 807, 1304},
- {1, 12, 0, 65535, 1353, 1368, 0, 1.00134f, 1.0f, 1258, 1362, 1448, 1374},
- {1, 12, 0, 65535, 120, 1368, 0, 1.30851f, 1.0f, -3, 1362, 244, 1374},
- {1, 15, 0, 65535, 887, 1408, 8936, 1.0f, -1.00394f, 761, 1313, 1014, 1503},
- {1, 11, 0, 65535, 623, 1497, 0, 1.0f, 1.0f, 482, 1490, 764, 1503},
- {4, 255, 0, 65535, 988, 1160, 0, 55.9251f, 73.186f, 960, 1123, 1017, 1197},
- {4, 255, 0, 65535, 1052, 1160, 0, 55.9251f, 73.186f, 1024, 1123, 1081, 1197},
- {4, 255, 0, 65535, 1116, 1160, 0, 55.9251f, 73.186f, 1088, 1123, 1145, 1197},
- {4, 255, 0, 65535, 1180, 1160, 0, 55.9251f, 73.186f, 1152, 1123, 1209, 1197},
- {0, 74, 0, 65535, 364, 1553, 27000, 0.579273f, 1.39695f, -13, 1480, 766, 1625},
- {0, 74, 0, 65535, 1011, 1553, 27000, 0.579274f, 1.19936f, 688, 1480, 1357, 1625},
- {0, 74, 0, 65535, 177, 1445, 27000, 0.579272f, 0.715909f, -16, 1372, 384, 1517},
- {0, 74, 0, 65535, 1129, 1445, 27000, 0.579272f, 0.760106f, 924, 1372, 1348, 1518},
- {0, 74, 0, 65535, 651, 1443, 27000, 0.579272f, 0.508983f, 514, 1370, 798, 1515},
- {0, 69, 0, 65535, 946, 1433, 0, 1.0f, 1.16493f, 829, 1355, 1064, 1512},
- {0, 69, 0, 65535, 780, 1433, 0, 1.0f, 1.16493f, 663, 1355, 898, 1512},
- {0, 69, 0, 65535, 532, 1433, 0, 1.0f, 1.16493f, 415, 1355, 650, 1512},
- {0, 69, 0, 65535, 369, 1433, 0, 1.0f, 1.16493f, 252, 1355, 487, 1512},
- {1, 13, 0, 65535, 70, 1368, 0, 1.0f, 1.0f, -1, 1362, 140, 1374},
- {1, 39, 0, 65535, 242, 1298, 0, 1.0045f, 1.0f, 130, 1222, 355, 1375},
- {1, 12, 0, 65535, 1238, 1368, 0, 0.826758f, 1.0f, 1159, 1362, 1316, 1374},
- {1, 39, 0, 65535, 655, 1298, 0, 1.0045f, 1.0f, 543, 1222, 768, 1375},
- {1, 39, 0, 65535, 1067, 1298, 0, 1.0045f, 1.0f, 955, 1222, 1180, 1375},
- {1, 39, 0, 65535, 449, 1394, 0, 1.0045f, -1.0f, 337, 1318, 562, 1471},
- {1, 39, 0, 65535, 862, 1394, 0, 1.0045f, -1.0f, 750, 1318, 975, 1471},
- {4, 255, 0, 65535, 130, 1323, 0, 55.9251f, 73.186f, 102, 1286, 158, 1360},
- {4, 255, 0, 65535, 170, 1268, 0, 55.9251f, 73.186f, 141, 1231, 198, 1305},
- {4, 255, 0, 65535, 213, 1214, 0, 55.9251f, 73.186f, 184, 1177, 241, 1251},
- {4, 255, 0, 65535, 625, 1216, 0, 55.9251f, 73.186f, 596, 1179, 653, 1253},
- {4, 255, 0, 65535, 582, 1270, 0, 55.9251f, 73.186f, 553, 1233, 610, 1307},
- {4, 255, 0, 65535, 1036, 1216, 0, 55.9251f, 73.186f, 1007, 1179, 1064, 1253},
- {4, 255, 0, 65535, 993, 1270, 0, 55.9251f, 73.186f, 964, 1233, 1021, 1307},
- {0, 74, 0, 65535, 364, 1494, 27000, 0.984606f, 1.39695f, -13, 1370, 766, 1616},
- {0, 74, 0, 65535, 1011, 1494, 27000, 0.984607f, 1.19936f, 688, 1370, 1357, 1616},
- {0, 74, 0, 65535, 1203, 1493, 27000, 0.979274f, 1.19936f, 880, 1370, 1549, 1615},
- {0, 76, 0, 65535, 1066, 1315, 0, 1.48962f, 1.48962f, 758, 1067, 1374, 1562},
- {0, 76, 0, 65535, 550, 1339, 0, 1.00291f, 1.00291f, 342, 1172, 757, 1506},
- {0, 76, 0, 65535, 238, 1360, 0, 0.504547f, 0.504547f, 133, 1275, 342, 1444},
- {1, 13, 0, 65535, 70, 1368, 0, 1.0f, 1.0f, -1, 1362, 140, 1374},
- {1, 12, 0, 65535, 1461, 1368, 0, 0.826758f, 1.0f, 1382, 1362, 1539, 1374},
- {1, 60, 0, 65535, 238, 1319, 0, 1.00457f, -1.0f, 127, 1265, 349, 1374},
- {1, 58, 0, 65535, 548, 1267, 0, 1.00235f, -1.00469f, 334, 1160, 762, 1375},
- {1, 61, 0, 65535, 1066, 1216, 0, 1.0f, -1.0f, 749, 1057, 1383, 1374},
- {4, 255, 0, 65535, 936, 1050, 0, 55.9251f, 73.186f, 908, 1013, 964, 1087},
- {4, 255, 0, 65535, 1256, 1085, 0, 55.9251f, 73.186f, 1228, 1048, 1284, 1122},
- {4, 255, 0, 65535, 1192, 1050, 0, 55.9251f, 73.186f, 1164, 1013, 1220, 1087},
- {4, 255, 0, 65535, 872, 1085, 0, 55.9251f, 73.186f, 844, 1048, 900, 1122},
- {4, 255, 0, 65535, 1128, 1034, 0, 55.9251f, 73.186f, 1100, 997, 1156, 1071},
- {4, 255, 0, 65535, 1064, 1024, 0, 55.9251f, 73.186f, 1036, 987, 1092, 1061},
- {4, 255, 0, 65535, 1000, 1034, 0, 55.9251f, 73.186f, 972, 997, 1028, 1071},
- {0, 74, 0, 65535, 203, 1494, 27000, 0.984606f, 0.840396f, -24, 1370, 445, 1616},
- {0, 74, 0, 65535, 1091, 1494, 27000, 0.984607f, 0.925969f, 840, 1370, 1357, 1616},
- {0, 74, 0, 65535, 1203, 1493, 27000, 0.979274f, 1.19936f, 880, 1370, 1549, 1615},
- {0, 74, 0, 65535, 650, 1630, 27000, 0.984608f, 0.925969f, 400, 1506, 917, 1752},
- {0, 67, 0, 65535, 403, 1441, 32681, 1.0f, 1.00649f, 295, 1333, 510, 1549},
- {0, 68, 0, 65535, 289, 1315, 0, 0.626818f, 0.632226f, 138, 1232, 440, 1396},
- {0, 67, 0, 65535, 519, 1521, 29335, 0.654092f, 1.34535f, 403, 1433, 634, 1609},
- {0, 67, 0, 65535, 773, 1527, 25303, 0.654091f, 1.34535f, 658, 1449, 888, 1607},
- {0, 67, 0, 65535, 832, 1481, 23053, 0.654091f, 1.34535f, 719, 1376, 945, 1587},
- {0, 67, 0, 65535, 862, 1439, 21096, 0.654091f, 1.34535f, 764, 1324, 959, 1554},
- {0, 67, 0, 65535, 1023, 1356, 25739, 0.919495f, 1.80734f, 870, 1257, 1176, 1457},
- {0, 68, 0, 65535, 1266, 1326, 18000, 0.521357f, -0.525855f, 1140, 1257, 1391, 1394},
- {0, 78, 0, 65535, 1024, 1313, 17088, 0.913343f, 0.464986f, 843, 1260, 1218, 1391},
- {1, 13, 0, 65535, 68, 1368, 0, 1.0f, 1.0f, -2, 1362, 139, 1374},
- {1, 12, 0, 65535, 1461, 1368, 0, 0.826758f, 1.0f, 1382, 1362, 1539, 1374},
- {1, 36, 0, 65535, 299, 1296, 0, 1.0f, 1.0f, 138, 1216, 460, 1375},
- {1, 58, 0, 65535, 608, 1397, 2102, 1.00235f, 1.00469f, 432, 1220, 846, 1511},
- {1, 55, 0, 65535, 1091, 1260, 35861, 1.2822f, 1.0f, 1037, 1252, 1145, 1268},
- {1, 37, 0, 65535, 1264, 1314, 0, 1.0f, -1.0f, 1143, 1252, 1385, 1375},
- {1, 16, 0, 65535, 937, 1314, 27711, 1.0f, -1.00521f, 832, 1256, 1040, 1375},
- {2, 4, 0, 475, 1078, 1260, 9000, 0.421187f, 0.421187f, 982, 1125, 1173, 1396},
- {4, 255, 0, 65535, 938, 1243, 0, 55.9251f, 73.186f, 910, 1206, 966, 1280},
- {4, 255, 0, 65535, 1258, 1266, 0, 55.9251f, 73.186f, 1230, 1229, 1286, 1303},
- {4, 255, 0, 65535, 1194, 1230, 0, 55.9251f, 73.186f, 1166, 1193, 1222, 1267},
- {4, 255, 0, 65535, 874, 1277, 0, 55.9251f, 73.186f, 846, 1240, 902, 1314},
- {4, 255, 0, 65535, 1130, 1222, 0, 55.9251f, 73.186f, 1102, 1185, 1158, 1259},
- {4, 255, 0, 65535, 1066, 1223, 0, 55.9251f, 73.186f, 1038, 1186, 1094, 1260},
- {4, 255, 0, 65535, 1002, 1228, 0, 55.9251f, 73.186f, 974, 1191, 1030, 1265},
- {0, 74, 0, 65535, 932, 1486, 27000, 0.946362f, 3.53917f, -22, 1367, 1950, 1604},
- {0, 71, 0, 65535, 923, 1204, 0, 1.52017f, 1.52017f, 478, 1129, 1368, 1280},
- {0, 74, 0, 65535, 971, 1318, 27000, 0.939404f, 1.89453f, 460, 1200, 1516, 1435},
- {0, 68, 0, 65535, 1596, 1270, 18349, 1.0f, -0.991359f, 1349, 1127, 1831, 1412},
- {0, 64, 0, 65535, 215, 1260, 35427, 0.701908f, 0.617621f, 128, 1132, 325, 1388},
- {0, 74, 0, 65535, 401, 1256, 0, 0.854548f, 0.464173f, 294, 1130, 508, 1390},
- {1, 13, 0, 65535, 68, 1368, 0, 1.0f, 1.0f, -2, 1362, 139, 1374},
- {1, 12, 0, 65535, 1894, 1368, 0, 0.651226f, 1.0f, 1832, 1362, 1956, 1374},
- {1, 41, 0, 65535, 921, 1154, 0, 1.0f, 1.0f, 474, 1120, 1368, 1188},
- {2, 6, 0, 476, 704, 1336, 0, 0.467259f, 0.467259f, 691, 1208, 717, 1461},
- {1, 15, 0, 65535, 218, 1239, 35459, 1.0f, 1.00394f, 135, 1104, 300, 1375},
- {2, 6, 0, 477, 1152, 1336, 0, 0.467259f, 0.467259f, 1139, 1208, 1165, 1461},
- {2, 6, 0, 478, 928, 1284, 0, 0.467259f, 0.467259f, 915, 1156, 941, 1409},
- {1, 35, 0, 65535, 1600, 1247, 18283, 1.0f, -1.00433f, 1364, 1119, 1836, 1376},
- {1, 13, 0, 65535, 385, 1126, 0, 1.267f, 1.0f, 295, 1120, 475, 1132},
- {4, 255, 0, 65535, 702, 1140, 0, 55.9251f, 73.186f, 673, 1103, 730, 1178},
- {4, 255, 0, 65535, 928, 1087, 0, 55.9251f, 73.186f, 900, 1050, 957, 1124},
- {4, 255, 0, 65535, 1152, 1146, 0, 55.9251f, 73.186f, 1124, 1109, 1181, 1183},
- {4, 255, 0, 65535, 1359, 1086, 0, 55.9251f, 73.186f, 1330, 1049, 1387, 1123},
- {0, 74, 0, 65535, 932, 1486, 27000, 0.946362f, 3.53917f, -22, 1367, 1950, 1604},
- {0, 64, 0, 65535, 221, 1247, 35459, 0.677382f, 0.663368f, 138, 1112, 328, 1383},
- {0, 74, 0, 65535, 383, 1240, 0, 0.67685f, 0.471887f, 299, 1112, 468, 1376},
- {0, 80, 0, 65535, 753, 525, 0, 0.402208f, 1.0f, 737, 156, 769, 892},
- {0, 80, 0, 65535, 734, 525, 18000, 0.402208f, 1.0f, 718, 157, 750, 893},
- {0, 80, 0, 65535, 1155, 525, 0, 0.402208f, 1.0f, 1139, 156, 1171, 892},
- {0, 80, 0, 65535, 1136, 525, 18000, 0.402208f, 1.0f, 1120, 157, 1152, 893},
- {0, 69, 0, 65535, 538, 1184, 0, 2.47009f, 3.03072f, 248, 981, 827, 1388},
- {0, 69, 0, 65535, 947, 1184, 0, 2.47009f, 3.03072f, 657, 981, 1236, 1388},
- {0, 69, 0, 65535, 1355, 1184, 0, 2.47009f, 3.03072f, 1065, 981, 1644, 1388},
- {0, 69, 0, 65535, 1627, 1233, 0, 1.73705f, 2.07003f, 1423, 1094, 1831, 1372},
- {0, 80, 0, 65535, 1524, 1238, 32486, 0.402208f, 0.420473f, 1422, 1104, 1623, 1373},
- {1, 13, 0, 65535, 68, 1368, 0, 1.0f, 1.0f, -2, 1362, 139, 1374},
- {1, 12, 0, 65535, 1894, 1368, 0, 0.651226f, 1.0f, 1832, 1362, 1956, 1374},
- {1, 15, 0, 65535, 218, 1239, 35459, 1.0f, 1.00394f, 135, 1104, 300, 1375},
- {1, 13, 0, 65535, 368, 1112, 0, 1.0f, 1.0f, 297, 1106, 439, 1118},
- {1, 39, 0, 65535, 1355, 1042, 0, 1.0045f, 1.0f, 1243, 966, 1468, 1119},
- {1, 39, 0, 65535, 1148, 1194, 0, 1.0045f, -1.0f, 1036, 1117, 1261, 1271},
- {1, 39, 0, 65535, 946, 1042, 0, 1.0045f, 1.0f, 834, 966, 1059, 1119},
- {1, 39, 0, 65535, 740, 1194, 0, 1.0045f, -1.0f, 628, 1117, 853, 1271},
- {1, 39, 0, 65535, 538, 1042, 0, 1.0045f, 1.0f, 426, 966, 651, 1119},
- {2, 5, 0, 479, 659, 828, 11500, 0.4087f, 0.4087f, 535, 702, 774, 897},
- {2, 5, 0, 480, 1230, 828, 24500, 0.4087f, 0.4087f, 1114, 699, 1351, 897},
- {1, 38, 0, 65535, 1628, 1226, 0, 1.0f, 1.0f, 1412, 1077, 1845, 1374},
- {4, 255, 0, 65535, 655, 1091, 0, 55.9251f, 73.186f, 626, 1054, 683, 1128},
- {4, 255, 0, 65535, 741, 1091, 0, 55.9251f, 73.186f, 713, 1054, 770, 1128},
- {4, 255, 0, 65535, 828, 1091, 0, 55.9251f, 73.186f, 800, 1054, 857, 1128},
- {4, 255, 0, 65535, 1235, 1091, 0, 55.9251f, 73.186f, 1207, 1054, 1264, 1128},
- {4, 255, 0, 65535, 1062, 1091, 0, 55.9251f, 73.186f, 1033, 1054, 1090, 1128},
- {4, 255, 0, 65535, 1148, 1091, 0, 55.9251f, 73.186f, 1120, 1054, 1177, 1128},
- {0, 74, 0, 65535, 285, 1486, 27000, 0.946314f, 1.09534f, -11, 1367, 600, 1604},
- {0, 74, 0, 65535, 1264, 1486, 27000, 0.946314f, 0.286419f, 1186, 1367, 1347, 1604},
- {0, 74, 0, 65535, 911, 1523, 27000, 0.732105f, 1.49405f, 508, 1431, 1341, 1615},
- {0, 69, 0, 65535, 392, 1232, 0, 1.73234f, 2.01243f, 189, 1096, 595, 1367},
- {0, 71, 0, 65535, 894, 1420, 0, 1.01627f, 1.0f, 596, 1370, 1192, 1470},
- {1, 13, 0, 65535, 92, 1368, 0, 1.3306f, 1.0f, -3, 1362, 186, 1374},
- {1, 12, 0, 65535, 1249, 1368, 0, 0.701867f, 1.0f, 1182, 1362, 1315, 1374},
- {1, 39, 0, 65535, 864, 1155, 0, 1.0045f, 1.0f, 751, 1078, 976, 1232},
- {1, 39, 0, 65535, 612, 812, 0, 1.0045f, -1.0f, 499, 735, 724, 889},
- {1, 39, 0, 65535, 960, 931, 0, 1.0045f, -1.0f, 847, 854, 1072, 1008},
- {1, 38, 0, 65535, 392, 1226, 0, 1.0f, 1.0f, 175, 1077, 608, 1375},
- {1, 42, 0, 65535, 891, 1386, 0, 1.0f, 1.0f, 598, 1361, 1184, 1411},
- {4, 255, 0, 65535, 636, 888, 0, 55.9251f, 73.186f, 607, 851, 664, 925},
- {4, 255, 0, 65535, 706, 791, 0, 55.9251f, 73.186f, 677, 754, 734, 828},
- {4, 255, 0, 65535, 855, 899, 0, 55.9251f, 73.186f, 826, 862, 883, 936},
- {4, 255, 0, 65535, 761, 1185, 0, 55.9251f, 73.186f, 733, 1148, 790, 1222},
- {4, 255, 0, 65535, 917, 982, 0, 55.9251f, 73.186f, 889, 945, 946, 1020},
- {4, 255, 0, 65535, 825, 1097, 0, 55.9251f, 73.186f, 796, 1060, 853, 1134},
- {0, 74, 0, 65535, 765, 1486, 27000, 0.946362f, 2.89567f, -16, 1367, 1598, 1604},
- {0, 64, 0, 65535, 234, 1256, 0, 0.677382f, 0.663368f, 138, 1129, 329, 1383},
- {0, 70, 0, 65535, 413, 1828, 18000, 1.0f, -1.98451f, 324, 1128, 502, 2585},
- {0, 80, 0, 65535, 448, 1381, 32988, 0.675476f, 0.675476f, 300, 1156, 590, 1609},
- {0, 80, 0, 65535, 648, 1362, 26590, 0.675476f, 0.675476f, 398, 1324, 897, 1406},
- {0, 80, 0, 65535, 1114, 1365, 27500, 0.675476f, 0.620127f, 884, 1324, 1343, 1412},
- {1, 13, 0, 65535, 68, 1368, 0, 1.0f, 1.0f, -2, 1362, 139, 1374},
- {1, 12, 0, 65535, 1481, 1368, 0, 1.0265f, 1.0f, 1384, 1362, 1578, 1374},
- {1, 15, 0, 65535, 230, 1247, 0, 1.0f, 1.00394f, 136, 1120, 324, 1375},
- {1, 39, 0, 65535, 892, 1194, 0, 1.0045f, -1.0f, 780, 1117, 1005, 1271},
- {1, 39, 0, 65535, 484, 1194, 0, 1.0045f, -1.0f, 372, 1117, 597, 1271},
- {1, 39, 0, 65535, 688, 1054, 0, 1.0045f, 1.0f, 576, 977, 801, 1131},
- {2, 1, 0, 481, 817, 480, 0, 0.258872f, 0.258872f, 733, 396, 900, 563},
- {1, 36, 0, 65535, 1226, 1295, 18000, 1.0f, -1.0f, 1065, 1216, 1387, 1375},
- {1, 47, 0, 65535, 688, 594, 0, 1.00235f, 1.0f, 474, 424, 902, 765},
- {1, 12, 0, 482, 771, 873, 30600, 1.45641f, 1.0f, 685, 758, 857, 988},
- {4, 255, 0, 65535, 399, 1091, 0, 55.9251f, 73.186f, 370, 1054, 427, 1128},
- {4, 255, 0, 65535, 485, 1091, 0, 55.9251f, 73.186f, 457, 1054, 514, 1128},
- {4, 255, 0, 65535, 572, 1091, 0, 55.9251f, 73.186f, 544, 1054, 601, 1128},
- {4, 255, 0, 65535, 979, 1091, 0, 55.9251f, 73.186f, 951, 1054, 1008, 1128},
- {4, 255, 0, 65535, 806, 1091, 0, 55.9251f, 73.186f, 777, 1054, 834, 1128},
- {4, 255, 0, 65535, 892, 1091, 0, 55.9251f, 73.186f, 864, 1054, 921, 1128},
- {0, 64, 0, 65535, 214, 1285, 0, 0.517146f, 0.495833f, 141, 1190, 287, 1380},
- {0, 68, 0, 65535, 1410, 1280, 18000, 1.0f, -1.0f, 1169, 1150, 1650, 1409},
- {0, 67, 0, 65535, 278, 1486, 0, 3.72533f, 1.45144f, -9, 1373, 566, 1599},
- {0, 67, 0, 65535, 1507, 1486, 0, 5.22356f, 1.45144f, 1104, 1373, 1910, 1599},
- {0, 67, 0, 65535, 1009, 1504, 0, 5.87866f, 1.21365f, 555, 1409, 1462, 1598},
- {0, 80, 0, 65535, 1120, 1324, 19849, 0.492301f, -0.492301f, 1049, 1147, 1196, 1501},
- {0, 69, 0, 65535, 1178, 1352, 0, 1.0f, 2.21423f, 1060, 1203, 1295, 1501},
- {0, 80, 0, 65535, 998, 1394, 25703, 0.889258f, -0.49845f, 813, 1327, 1185, 1469},
- {0, 64, 0, 65535, 602, 1241, 17551, 1.0f, -1.0f, 448, 1061, 757, 1443},
- {0, 78, 0, 65535, 363, 1125, 14190, 0.551594f, 0.259277f, 284, 1064, 470, 1218},
- {0, 67, 0, 65535, 381, 1295, 0, 1.29362f, 1.12163f, 281, 1208, 481, 1383},
- {0, 69, 0, 65535, 373, 1207, 27000, 1.06254f, 1.3085f, 285, 1082, 462, 1332},
- {1, 13, 0, 65535, 68, 1368, 0, 1.0f, 1.0f, -2, 1362, 139, 1374},
- {1, 12, 0, 65535, 1773, 1368, 0, 1.26587f, 1.0f, 1653, 1362, 1892, 1374},
- {1, 16, 0, 65535, 210, 1282, 249, 1.0f, 1.00521f, 135, 1188, 285, 1375},
- {1, 35, 0, 65535, 1415, 1258, 18000, 1.0f, -1.00433f, 1174, 1142, 1656, 1375},
- {1, 16, 0, 65535, 370, 1121, 27000, 1.0f, -1.00521f, 273, 1050, 466, 1193},
- {1, 47, 0, 65535, 652, 832, 1858, 1.00235f, 1.0f, 425, 659, 853, 1049},
- {1, 11, 0, 65535, 651, 1099, 33124, 0.844191f, 1.0f, 544, 1036, 759, 1162},
- {1, 14, 0, 65535, 608, 1236, 17513, 1.0f, -1.0f, 453, 1059, 762, 1413},
- {2, 4, 0, 483, 842, 839, 0, 0.487827f, 0.487827f, 685, 728, 999, 950},
- {2, 4, 0, 484, 434, 839, 18000, 0.487827f, 0.487827f, 277, 728, 591, 950},
- {1, 14, 0, 65535, 951, 1225, 0, 1.0f, 1.0f, 811, 1036, 1090, 1414},
- {1, 56, 0, 65535, 787, 1407, 0, 1.0f, 1.0f, 758, 1400, 815, 1413},
- {2, 6, 0, 485, 1124, 1244, 0, 0.542175f, 0.542175f, 1110, 1096, 1139, 1389},
- {4, 255, 0, 65535, 513, 742, 0, 55.9251f, 73.186f, 484, 705, 541, 779},
- {4, 255, 0, 65535, 772, 747, 0, 55.9251f, 73.186f, 743, 710, 800, 784},
- {4, 255, 0, 65535, 820, 865, 0, 55.9251f, 73.186f, 792, 827, 849, 902},
- {4, 255, 0, 65535, 641, 696, 0, 55.9251f, 73.186f, 613, 659, 670, 733},
- {4, 255, 0, 65535, 458, 865, 0, 55.9251f, 73.186f, 429, 828, 486, 902},
- {0, 67, 0, 65535, 1213, 1486, 0, 16.147f, 1.49018f, -31, 1370, 2457, 1602},
- {0, 80, 0, 65535, 1308, 1389, 27000, 1.10204f, 0.860502f, 991, 1346, 1625, 1433},
- {0, 80, 0, 65535, 536, 1397, 27000, 1.10204f, 0.860502f, 219, 1354, 853, 1441},
- {0, 80, 0, 65535, 357, 1317, 22894, 0.37643f, -0.37643f, 245, 1217, 471, 1419},
- {0, 69, 0, 65535, 453, 1295, 0, 1.19292f, 1.19293f, 313, 1215, 593, 1376},
- {0, 80, 0, 65535, 553, 1320, 31106, 0.37643f, 0.37643f, 439, 1221, 665, 1423},
- {0, 80, 0, 65535, 820, 1308, 22894, 0.482167f, -0.482167f, 677, 1180, 967, 1439},
- {0, 69, 0, 65535, 943, 1280, 0, 1.52801f, 1.52801f, 764, 1177, 1123, 1383},
- {0, 80, 0, 65535, 1072, 1312, 31106, 0.482167f, 0.482167f, 925, 1185, 1215, 1443},
- {0, 80, 0, 65535, 1359, 1334, 22894, 1.0f, -1.0f, 1063, 1071, 1663, 1605},
- {0, 80, 0, 65535, 1881, 1343, 31106, 1.0f, 1.0f, 1578, 1080, 2178, 1614},
- {0, 69, 0, 65535, 1614, 1277, 0, 3.16904f, 3.16904f, 1243, 1064, 1986, 1489},
- {1, 12, 0, 65535, 2041, 1368, 0, 1.14445f, 1.0f, 1932, 1362, 2149, 1374},
- {1, 11, 0, 65535, 108, 1368, 0, 0.799691f, 1.0f, -4, 1362, 221, 1374},
- {1, 43, 0, 65535, 364, 1239, 31500, 1.0f, 1.0f, 211, 1086, 500, 1375},
- {1, 41, 0, 65535, 1510, 1071, 31500, 1.0f, 1.0f, 1170, 731, 1811, 1373},
- {1, 42, 0, 65535, 870, 1174, 31500, 1.0f, 1.0f, 646, 949, 1069, 1373},
- {1, 11, 0, 65535, 2292, 1368, 0, 1.02495f, 1.0f, 2147, 1362, 2436, 1374},
- {4, 255, 0, 65535, 1269, 1274, 0, 55.9251f, 73.186f, 1241, 1237, 1298, 1312},
- {4, 255, 0, 65535, 1615, 948, 0, 55.9251f, 73.186f, 1586, 911, 1643, 985},
- {4, 255, 0, 65535, 925, 1085, 0, 55.9251f, 73.186f, 897, 1048, 954, 1122},
- {4, 255, 0, 65535, 400, 1170, 0, 55.9251f, 73.186f, 372, 1133, 429, 1207},
- {4, 255, 0, 65535, 711, 1296, 0, 55.9251f, 73.186f, 682, 1259, 739, 1333},
- {4, 255, 0, 65535, 264, 1312, 0, 55.9251f, 73.186f, 235, 1275, 292, 1349},
- {0, 67, 0, 65535, 1057, 1486, 0, 14.1106f, 1.49018f, -31, 1370, 2144, 1602},
- {0, 80, 0, 65535, 589, 1393, 27000, 1.0f, 1.0f, 220, 1354, 956, 1432},
- {0, 80, 0, 65535, 1247, 1393, 27000, 1.0f, 1.0f, 878, 1354, 1614, 1432},
- {1, 12, 0, 65535, 2008, 1368, 0, 1.14259f, -1.0f, 1900, 1362, 2116, 1374},
- {1, 11, 0, 65535, 108, 1368, 0, 0.799691f, 1.0f, -4, 1362, 221, 1374},
- {1, 11, 0, 65535, 316, 1270, 31500, 1.0f, 1.0f, 212, 1166, 420, 1374},
- {1, 39, 0, 486, 622, 1088, 0, 1.0045f, 1.0f, 510, 1011, 735, 1165},
- {1, 39, 0, 487, 904, 1002, 32951, 1.0045f, 1.0f, 845, 936, 1040, 1126},
- {1, 39, 0, 488, 840, 1245, 4340, 1.0045f, 1.0f, 705, 1188, 892, 1378},
- {1, 39, 0, 489, 1216, 1143, 14760, 1.0045f, 1.0f, 1080, 1018, 1270, 1208},
- {1, 11, 0, 65535, 1761, 1368, 0, 1.00046f, 1.0f, 1620, 1362, 1902, 1374},
- {1, 36, 0, 65535, 1460, 1295, 18000, 1.0f, -1.0f, 1299, 1216, 1621, 1374},
- {1, 39, 0, 490, 1075, 1310, 22161, 1.0045f, 1.0f, 1024, 1178, 1210, 1368},
- {4, 255, 0, 65535, 1653, 1333, 0, 55.9251f, 73.186f, 1625, 1296, 1681, 1370},
- {4, 255, 0, 65535, 1973, 1333, 0, 55.9251f, 73.186f, 1945, 1296, 2001, 1370},
- {4, 255, 0, 65535, 1909, 1333, 0, 55.9251f, 73.186f, 1881, 1296, 1937, 1370},
- {4, 255, 0, 65535, 1845, 1333, 0, 55.9251f, 73.186f, 1817, 1296, 1873, 1370},
- {4, 255, 0, 65535, 1781, 1333, 0, 55.9251f, 73.186f, 1753, 1296, 1809, 1370},
- {4, 255, 0, 65535, 1717, 1333, 0, 55.9251f, 73.186f, 1689, 1296, 1745, 1370},
+ {0, 80, 0, 65535, 1160.01f, 1372.43f, -197.389f, 0.458145f, 0.458145f, 1097, 1206, 1228, 1538, 0, 0, -1},
+ {0, 68, 0, 65535, 399.885f, 1389.87f, 0.0f, -1.0f, 1.0f, 159, 1260, 640, 1518, 0, 0, -1},
+ {0, 74, 0, 65535, 43.821f, 1534.35f, 0.0f, 1.06f, 1.0f, -88, 1264, 177, 1822, 0, 0, -1},
+ {0, 74, 0, 65535, 1499.44f, 1765.46f, 0.0f, 10.8116f, 1.04452f, 158, 1483, 2851, 2066, 0, 0, -1},
+ {0, 77, 0, 65535, 1372.34f, 1389.01f, -54.0469f, 1.0f, 1.0f, 1292, 1319, 1453, 1458, 0, 0, -1},
+ {0, 77, 0, 65535, 1243.21f, 1297.47f, -54.0469f, 1.0f, 1.0f, 1163, 1228, 1324, 1367, 0, 0, -1},
+ {0, 77, 0, 65535, 1158.21f, 1243.79f, 281.305f, 0.807445f, 0.443613f, 1119, 1214, 1198, 1273, 0, 0, -1},
+ {0, 77, 0, 65535, 1499.39f, 1470.29f, 281.305f, 1.8639f, 0.943361f, 1416, 1404, 1583, 1535, 0, 0, -1},
+ {0, 77, 0, 65535, 2010.56f, 1566.74f, 90.0f, 4.38106f, 10.1968f, 1199, 1448, 2817, 1690, 0, 0, -1},
+ {0, 77, 0, 65535, 1379.23f, 1504.94f, 267.842f, 2.42955f, 2.29777f, 1195, 1430, 1565, 1578, 0, 0, -1},
+ {0, 77, 0, 65535, 1231.65f, 1374.49f, -33.1775f, 1.33469f, 1.77874f, 1124, 1236, 1340, 1513, 0, 0, -1},
+ {0, 77, 0, 65535, 1208.53f, 1407.31f, -22.8376f, 0.966968f, 0.909558f, 1156, 1330, 1262, 1485, 0, 0, -1},
+ {0, 77, 0, 65535, 1304.38f, 1425.35f, -58.124f, 1.86643f, 1.29951f, 1190, 1326, 1420, 1523, 0, 0, -1},
+ {0, 77, 0, 65535, 2362.44f, 1495.72f, 73.7568f, 3.52152f, 2.18607f, 2168, 1356, 2556, 1639, 0, 0, -1},
+ {0, 80, 0, 65535, 1945.28f, 1465.08f, -90.0f, 1.0f, 1.0f, 1577, 1426, 2313, 1505, 0, 0, -1},
+ {0, 64, 0, 65535, 2643.21f, 1401.02f, -220.102f, 0.645667f, -0.645667f, 2495, 1361, 2793, 1554, 0, 0, -1},
+ {0, 77, 0, 65535, 2545.36f, 1563.55f, -221.005f, 3.52152f, 2.18607f, 2357, 1370, 2731, 1759, 0, 0, -1},
+ {0, 77, 0, 65535, 2993.96f, 1623.12f, 106.943f, 4.35154f, 3.28095f, 2710, 1434, 3277, 1816, 0, 0, -1},
+ {0, 77, 0, 65535, 2728.58f, 1552.72f, 86.8405f, 3.52152f, 1.31964f, 2618, 1452, 2839, 1657, 0, 0, -1},
+ {0, 64, 0, 65535, 3374.4f, 1390.04f, 0.0f, 1.0f, 1.0f, 3234, 1199, 3515, 1582, 0, 0, -1},
+ {0, 77, 0, 65535, 3324.58f, 1729.8f, 90.0f, 5.56059f, 8.3302f, 2662, 1579, 3983, 1886, 0, 0, -1},
+ {0, 77, 0, 65535, 3749.71f, 1265.18f, -175.849f, 8.90389f, 5.63947f, 3468, 802, 4022, 1727, 0, 0, -1},
+ {0, 80, 0, 65535, 3784.42f, 833.637f, -86.7545f, 0.974238f, 0.669341f, 3536, 787, 4032, 886, 0, 0, -1},
+ {0, 80, 0, 65535, 3014.54f, 1517.35f, -432.413f, 0.674433f, 0.669341f, 2771, 1424, 3255, 1617, 0, 0, -1},
+ {1, 13, 0, 65535, 76.2755f, 1260.0f, 0.0f, 1.08297f, 1.0f, -1, 1254, 153, 1266, 0, 0, -1},
+ {5, 255, 0, 65535, 3275.81f, 765.353f, 0.0f, 162.0f, 90.0f, 3194, 720, 3357, 811, 0, 0, -1},
+ {1, 14, 0, 65535, 3367.17f, 1383.5f, 0.0f, 1.0f, 1.0f, 3227, 1195, 3506, 1572, 0, 0, -1},
+ {1, 11, 0, 65535, 3516.3f, 1010.47f, -85.0061f, 1.33063f, 1.0f, 3494, 823, 3539, 1198, 0, 0, -1},
+ {1, 14, 0, 65535, 3404.91f, 635.5f, -71.0827f, 1.0f, 1.0f, 3267, 444, 3541, 826, 0, 0, -1},
+ {1, 58, 0, 65535, 3091.79f, 595.452f, -246.584f, 1.00235f, 1.00469f, 2975, 424, 3276, 835, 0, 0, -1},
+ {1, 11, 0, 65535, 3244.84f, 827.396f, 0.0f, 1.0f, 1.0f, 3104, 821, 3386, 834, 0, 0, -1},
+ {1, 35, 0, 65535, 392.041f, 1369.8f, 0.0f, -1.0f, 1.00433f, 151, 1254, 633, 1487, 0, 0, -1},
+ {1, 11, 0, 0, 902.689f, 1479.17f, 0.00142013f, 1.92941f, 1.0f, 631, 1473, 1174, 1486, 0, 0, -1},
+ {1, 35, 0, 65535, 1335.78f, 1319.94f, 0.0f, -1.0f, 1.00433f, 1095, 1204, 1577, 1437, 0, 0, -1},
+ {1, 14, 0, 1, 1712.37f, 1247.39f, 0.0f, 1.0f, 1.0f, 1572, 1058, 1851, 1436, 0, 0, -1},
+ {1, 47, 0, 65535, 2493.5f, 1070.78f, 0.0f, 1.00235f, 1.0f, 2280, 900, 2708, 1242, 0, 0, -1},
+ {1, 12, 0, 2, 2576.31f, 1293.41f, -35.0f, 1.0713f, 1.0f, 2490, 1230, 2663, 1357, 0, 0, -1},
+ {1, 12, 0, 65535, 2360.33f, 1390.52f, -16.199f, 1.48939f, 1.0f, 2224, 1345, 2497, 1436, 0, 0, -1},
+ {1, 15, 0, 65535, 2640.48f, 1391.36f, -39.8817f, -1.0f, 1.00394f, 2488, 1346, 2793, 1450, 0, 0, -1},
+ {0, 77, 0, 65535, 230.199f, 1612.66f, 90.0f, 5.04779f, 5.0093f, -169, 1476, 626, 1755, 0, 0, -1},
+ {0, 77, 0, 65535, 1151.14f, 1651.88f, 90.0f, 3.64711f, 9.31183f, 410, 1553, 1887, 1755, 0, 0, -1},
+ {0, 77, 0, 65535, 3431.48f, 1635.11f, 90.0f, 4.24614f, 7.47269f, 2837, 1520, 4022, 1754, 0, 0, -1},
+ {0, 77, 0, 65535, 2444.88f, 1653.62f, 90.0f, 3.58514f, 7.14013f, 1877, 1556, 3009, 1755, 0, 0, -1},
+ {0, 77, 0, 65535, 24.8382f, 1517.49f, 90.0f, 9.97138f, 5.46942f, -410, 1248, 457, 1797, 0, 0, -1},
+ {0, 70, 0, 65535, 495.792f, 1138.89f, 0.0f, -0.522927f, 1.07883f, 449, 758, 543, 1550, 0, 0, -1},
+ {0, 68, 0, 65535, 1498.76f, 1428.07f, 0.0f, -1.0f, 1.0f, 1258, 1298, 1739, 1557, 0, 0, -1},
+ {0, 68, 0, 65535, 2269.15f, 1459.02f, 0.0f, -0.657798f, 0.680434f, 2111, 1370, 2428, 1547, 0, 0, -1},
+ {0, 68, 0, 65535, 2591.88f, 1459.6f, 0.0f, 0.657798f, 0.680436f, 2434, 1371, 2750, 1547, 0, 0, -1},
+ {0, 68, 0, 65535, 3118.2f, 1471.17f, 0.0f, -0.489107f, 0.518402f, 3000, 1404, 3236, 1538, 0, 0, -1},
+ {0, 77, 0, 65535, 2440.25f, 1622.96f, 90.0f, 3.74698f, 4.08923f, 2115, 1521, 2764, 1728, 0, 0, -1},
+ {0, 80, 0, 65535, 2781.58f, 1576.63f, -14.3093f, 0.580804f, 0.562522f, 2708, 1372, 2849, 1783, 0, 0, -1},
+ {0, 80, 0, 65535, 2975.9f, 1508.75f, 206.696f, 0.866304f, 0.288181f, 2905, 1402, 3054, 1619, 0, 0, -1},
+ {0, 80, 0, 65535, 2850.66f, 1527.03f, -101.305f, 0.866304f, 0.433136f, 2689, 1471, 3014, 1592, 0, 0, -1},
+ {0, 80, 0, 65535, 2061.93f, 1561.96f, 206.696f, 1.26476f, 0.525079f, 1942, 1373, 2193, 1757, 0, 0, -1},
+ {0, 80, 0, 65535, 1962.39f, 1534.81f, -90.1248f, 0.567908f, 0.635072f, 1728, 1513, 2196, 1558, 0, 0, -1},
+ {0, 80, 0, 65535, 531.982f, 983.816f, -14.1721f, 0.665725f, 0.622858f, 450, 757, 607, 1212, 0, 0, -1},
+ {0, 80, 0, 65535, 614.546f, 1448.51f, -10.6345f, 1.19123f, 0.997307f, 501, 1081, 717, 1817, 0, 0, -1},
+ {0, 77, 0, 65535, 552.412f, 1444.87f, 90.0f, 4.75466f, 0.480615f, 514, 1316, 591, 1579, 0, 0, -1},
+ {0, 80, 0, 65535, 955.569f, 1523.12f, -90.1248f, 0.771574f, 0.843043f, 645, 1493, 1266, 1554, 0, 0, -1},
+ {0, 80, 0, 65535, 1192.26f, 1605.58f, -161.368f, 1.10764f, 0.843044f, 1062, 1302, 1333, 1914, 0, 0, -1},
+ {0, 80, 0, 65535, -266.242f, 1254.38f, -90.1248f, 0.771574f, 0.843044f, -577, 1225, 44, 1286, 0, 0, -1},
+ {0, 80, 0, 65535, 3994.86f, 1534.36f, -92.2897f, 1.02789f, 0.710479f, 3732, 1489, 4257, 1585, 0, 0, -1},
+ {0, 67, 0, 65535, 417.149f, 1030.55f, 12.168f, 0.411957f, 3.47089f, 329, 760, 505, 1297, 0, 0, -1},
+ {0, 67, 0, 65535, 463.783f, 1144.84f, 12.168f, 0.64007f, 1.73426f, 387, 1003, 541, 1285, 0, 0, -1},
+ {0, 64, 0, 65535, 310.835f, 1152.92f, 0.0f, 0.489865f, 0.489865f, 242, 1059, 380, 1247, 0, 0, -1},
+ {5, 255, 0, 65535, 3364.26f, 1453.16f, 0.0f, 162.0f, 90.0f, 3283, 1408, 3446, 1499, 0, 0, -1},
+ {1, 11, 0, 65535, 3488.17f, 1513.0f, 0.0f, 1.77343f, 1.0f, 3239, 1507, 3738, 1519, 0, 0, -1},
+ {1, 12, 0, 65535, 136.351f, 1236.42f, 0.0f, 1.0f, 1.0f, 42, 1230, 231, 1243, 0, 0, -1},
+ {1, 11, 0, 65535, 432.717f, 806.857f, 102.943f, 1.85049f, 1.0f, 368, 552, 497, 1062, 0, 0, -1},
+ {1, 58, 0, 3, 787.333f, 736.0f, 0.0f, 1.00235f, 1.00469f, 573, 628, 1001, 843, 0, 0, -1},
+ {1, 58, 0, 4, 1498.1f, 1028.87f, 0.0f, 1.00235f, 1.00469f, 1284, 921, 1712, 1136, 0, 0, -1},
+ {1, 58, 0, 5, 891.253f, 1242.54f, 0.0f, 1.00235f, 1.00469f, 677, 1135, 1105, 1350, 0, 0, -1},
+ {1, 35, 0, 65535, 1500.09f, 1404.15f, 0.0f, -1.0f, 1.00433f, 1259, 1288, 1741, 1521, 0, 0, -1},
+ {1, 58, 0, 6, 1846.58f, 1307.26f, -90.0f, 1.00235f, 1.00469f, 1739, 1093, 1954, 1521, 0, 0, -1},
+ {1, 36, 0, 65535, 2269.86f, 1443.01f, 0.0f, -1.0f, 1.0f, 2109, 1364, 2431, 1523, 0, 0, -1},
+ {1, 36, 0, 65535, 2590.86f, 1443.01f, 0.0f, 1.0f, 1.0f, 2430, 1364, 2752, 1523, 0, 0, -1},
+ {1, 37, 0, 65535, 3119.51f, 1458.18f, 0.0f, -1.0f, 1.0f, 2999, 1397, 3241, 1520, 0, 0, -1},
+ {1, 16, 0, 65535, 304.009f, 1150.62f, 3.24116f, 1.0f, 1.00521f, 227, 1058, 380, 1243, 0, 0, -1},
+ {0, 68, 0, 65535, 295.526f, 1408.07f, 0.0f, 0.678689f, 0.657078f, 132, 1322, 459, 1493, 0, 0, -1},
+ {0, 74, 0, 65535, 480.102f, 1594.18f, -90.0f, 1.0f, 5.3987f, -975, 1469, 2033, 1719, 0, 0, -1},
+ {0, 74, 0, 65535, 2787.11f, 1610.18f, -90.0f, 0.88f, 3.3987f, 1871, 1500, 3765, 1720, 0, 0, -1},
+ {0, 80, 0, 65535, -368.583f, 1491.88f, 269.299f, 1.0f, 1.0f, -737, 1452, -1, 1536, 0, 0, -1},
+ {0, 77, 0, 65535, 876.552f, 1516.92f, 270.0f, 2.82615f, 1.0f, 797, 1437, 957, 1594, 0, 0, -1},
+ {0, 77, 0, 65535, 1261.61f, 1401.01f, 270.0f, 3.28268f, 1.0f, 1182, 1309, 1342, 1490, 0, 0, -1},
+ {0, 74, 0, 65535, 1634.4f, 1461.03f, -180.0f, 0.547115f, 0.964255f, 1566, 1183, 1703, 1721, 0, 0, -1},
+ {0, 74, 0, 65535, 1994.95f, 1687.36f, -180.0f, 0.547116f, 0.964256f, 1926, 1410, 2063, 1948, 0, 0, -1},
+ {0, 74, 0, 65535, 3433.95f, 1748.23f, -180.0f, 2.55345f, 0.964256f, 3114, 1471, 3751, 2009, 0, 0, -1},
+ {0, 62, 0, 65535, 937.801f, 1701.79f, 0.0f, 1.0f, 1.0f, 882, 1381, 993, 2051, 0, 0, -1},
+ {0, 62, 0, 65535, 1321.97f, 1573.36f, 0.0f, 1.0f, 1.0f, 1266, 1252, 1377, 1922, 0, 0, -1},
+ {0, 62, 0, 65535, 1706.14f, 1447.23f, 0.0f, 1.0f, 1.0f, 1651, 1126, 1762, 1796, 0, 0, -1},
+ {0, 62, 0, 65535, 2068.17f, 1671.57f, 0.0f, 1.0f, 1.0f, 2013, 1351, 2124, 2021, 0, 0, -1},
+ {0, 62, 0, 65535, 2724.82f, 1766.89f, 0.0f, 1.0f, 1.0f, 2669, 1446, 2780, 2116, 0, 0, -1},
+ {0, 80, 0, 65535, 604.305f, 1661.21f, -28.3441f, 1.0f, 1.0f, 395, 1324, 805, 2003, 0, 0, -1},
+ {0, 80, 0, 65535, 815.16f, 1471.64f, 269.299f, 1.0f, 1.02429f, 438, 1431, 1192, 1516, 0, 0, -1},
+ {0, 80, 0, 65535, 1723.9f, 1457.35f, 269.299f, 1.0f, 1.02429f, 1347, 1417, 2101, 1501, 0, 0, -1},
+ {0, 80, 0, 65535, 2330.91f, 1492.29f, -82.313f, 0.940548f, 0.700867f, 2070, 1429, 2590, 1564, 0, 0, -1},
+ {0, 80, 0, 65535, 3150.33f, 1498.05f, -86.3505f, 1.0f, 1.02429f, 2771, 1442, 3528, 1561, 0, 0, -1},
+ {0, 80, 0, 65535, 3835.56f, 1495.96f, -89.706f, 1.0f, 1.02429f, 3458, 1456, 4212, 1537, 0, 0, -1},
+ {0, 80, 0, 65535, 1422.45f, 1544.05f, -12.7499f, 0.520081f, 0.73684f, 1342, 1276, 1497, 1813, 0, 0, -1},
+ {0, 80, 0, 65535, 1806.37f, 1412.84f, -12.7499f, 0.520081f, 0.736839f, 1726, 1145, 1881, 1682, 0, 0, -1},
+ {0, 80, 0, 65535, 2168.5f, 1640.85f, -12.7499f, 0.520081f, 0.736839f, 2088, 1373, 2243, 1910, 0, 0, -1},
+ {0, 80, 0, 65535, 1160.34f, 1582.73f, 187.158f, 0.520081f, 0.736839f, 1111, 1312, 1215, 1855, 0, 0, -1},
+ {0, 80, 0, 65535, 1546.55f, 1453.95f, 187.158f, 0.520081f, 0.736839f, 1497, 1183, 1601, 1726, 0, 0, -1},
+ {0, 77, 0, 65535, 1756.78f, 1390.91f, 254.755f, 3.28268f, 0.400935f, 1702, 1293, 1811, 1485, 0, 0, -1},
+ {1, 55, 0, 65535, 962.102f, 1407.41f, -45.0f, 1.0f, 1.0f, 928, 1373, 996, 1441, 0, 0, -1},
+ {1, 13, 0, 65535, 866.5f, 1435.0f, 0.0f, 1.0f, 1.0f, 796, 1429, 937, 1441, 0, 0, -1},
+ {1, 55, 0, 65535, 1346.1f, 1279.41f, -45.0f, 1.0f, 1.0f, 1312, 1245, 1380, 1313, 0, 0, -1},
+ {1, 13, 0, 65535, 1250.5f, 1307.0f, 0.0f, 1.0f, 1.0f, 1180, 1301, 1321, 1313, 0, 0, -1},
+ {1, 55, 0, 65535, 1730.1f, 1151.41f, -45.0f, 1.0f, 1.0f, 1696, 1117, 1764, 1185, 0, 0, -1},
+ {1, 13, 0, 65535, 1634.5f, 1179.0f, 0.0f, 1.0f, 1.0f, 1564, 1173, 1705, 1185, 0, 0, -1},
+ {1, 13, 0, 65535, 3289.48f, 1464.0f, 0.0f, 2.48202f, 1.0f, 3114, 1458, 3465, 1470, 0, 0, -1},
+ {1, 45, 0, 65535, 2413.33f, 1446.75f, 0.0f, 1.0f, 1.01818f, 2304, 1419, 2523, 1475, 0, 0, -1},
+ {1, 45, 0, 65535, 2623.99f, 1244.14f, -86.8738f, 1.0f, 1.01818f, 2591, 1134, 2653, 1352, 0, 0, -1},
+ {1, 13, 0, 65535, 1996.83f, 1404.0f, 0.0f, 1.0f, 1.0f, 1926, 1398, 2068, 1410, 0, 0, -1},
+ {1, 55, 0, 65535, 2092.44f, 1376.41f, -45.0f, 1.0f, 1.0f, 2058, 1342, 2127, 1410, 0, 0, -1},
+ {1, 55, 0, 65535, 2748.44f, 1471.08f, -45.0f, 1.0f, 1.0f, 2714, 1437, 2783, 1505, 0, 0, -1},
+ {1, 13, 0, 65535, 2652.83f, 1498.67f, 0.0f, 1.0f, 1.0f, 2582, 1492, 2724, 1505, 0, 0, -1},
+ {1, 55, 0, 7, 2556.53f, 1385.28f, -45.0f, 1.32144f, 1.0f, 2513, 1342, 2600, 1429, 0, 0, -1},
+ {1, 13, 0, 65535, 67.6667f, 1464.0f, 0.0f, 1.0f, 1.0f, -3, 1458, 139, 1470, 0, 0, -1},
+ {5, 255, 0, 65535, 3257.26f, 1409.16f, 0.0f, 162.0f, 90.0f, 3176, 1364, 3339, 1455, 0, 0, -1},
+ {1, 36, 0, 65535, 298.5f, 1391.33f, 0.0f, 1.0f, 1.0f, 138, 1312, 459, 1471, 0, 0, -1},
+ {0, 74, 0, 65535, 2720.39f, 1814.1f, 90.0f, 1.59933f, 3.55553f, 1698, 1615, 3679, 2015, 0, 0, -1},
+ {0, 74, 0, 65535, 3883.76f, 1677.65f, 90.0f, 1.59933f, 1.02844f, 3588, 1479, 4161, 1878, 0, 0, -1},
+ {0, 74, 0, 65535, 864.385f, 1814.1f, 90.0f, 1.59933f, 3.55553f, -158, 1615, 1823, 2015, 0, 0, -1},
+ {0, 74, 0, 65535, 331.997f, 1709.08f, 90.0f, 1.59933f, 2.91735f, -507, 1510, 1119, 1910, 0, 0, -1},
+ {0, 70, 0, 65535, 767.458f, 1518.15f, 0.0f, 0.84357f, 0.646629f, 692, 1290, 842, 1765, 0, 0, -1},
+ {0, 70, 0, 65535, 359.332f, 1622.69f, 0.0f, 0.843571f, 0.646629f, 284, 1394, 434, 1870, 0, 0, -1},
+ {0, 70, 0, 65535, 1042.25f, 1369.68f, 0.0f, 0.843571f, 0.646629f, 967, 1141, 1117, 1617, 0, 0, -1},
+ {0, 70, 0, 65535, 1762.94f, 1681.51f, 0.0f, 0.843571f, 0.646629f, 1687, 1453, 1838, 1928, 0, 0, -1},
+ {0, 70, 0, 65535, 1997.18f, 1695.6f, 0.0f, 0.843571f, 0.646629f, 1922, 1467, 2072, 1942, 0, 0, -1},
+ {0, 70, 0, 65535, 2298.34f, 1535.33f, 0.0f, 0.843571f, 0.646629f, 2223, 1307, 2373, 1782, 0, 0, -1},
+ {0, 70, 0, 65535, 2594.22f, 1392.67f, 0.0f, 0.843571f, 0.646629f, 2519, 1164, 2669, 1640, 0, 0, -1},
+ {0, 70, 0, 65535, 3319.83f, 1700.88f, 0.0f, 0.843571f, 0.646629f, 3244, 1472, 3395, 1948, 0, 0, -1},
+ {0, 80, 0, 65535, 449.153f, 1621.75f, -9.57714f, 0.66011f, 0.556128f, 389, 1417, 502, 1828, 0, 0, -1},
+ {0, 80, 0, 65535, 856.843f, 1523.97f, -9.57714f, 0.66011f, 0.556128f, 797, 1319, 910, 1730, 0, 0, -1},
+ {0, 80, 0, 65535, 1110.85f, 1457.71f, -5.52361f, 1.09468f, 0.731113f, 1042, 1187, 1170, 1729, 0, 0, -1},
+ {0, 80, 0, 65535, 1849.05f, 1654.25f, -9.57714f, 0.670483f, 0.489184f, 1793, 1473, 1899, 1836, 0, 0, -1},
+ {0, 80, 0, 65535, 2094.32f, 1684.89f, -16.8434f, 1.09468f, -0.489184f, 2001, 1503, 2177, 1870, 0, 0, -1},
+ {0, 80, 0, 65535, 2389.83f, 1523.52f, -16.8434f, 1.09468f, 0.489184f, 2296, 1342, 2473, 1708, 0, 0, -1},
+ {0, 80, 0, 65535, 2646.96f, 1437.4f, -2.84237f, 1.09468f, 0.588452f, 2593, 1219, 2695, 1656, 0, 0, -1},
+ {0, 80, 0, 65535, 3373.77f, 1743.09f, -2.84237f, 1.09468f, 0.593981f, 3320, 1523, 3422, 1963, 0, 0, -1},
+ {0, 80, 0, 65535, 3540.49f, 1695.61f, 199.391f, 1.09468f, 0.602116f, 3437, 1476, 3655, 1919, 0, 0, -1},
+ {0, 80, 0, 65535, 689.039f, 1606.32f, 186.005f, 0.66011f, 0.556128f, 647, 1401, 736, 1813, 0, 0, -1},
+ {0, 80, 0, 65535, 964.879f, 1458.08f, 186.005f, 0.66011f, 0.556128f, 923, 1253, 1012, 1665, 0, 0, -1},
+ {0, 80, 0, 65535, 1684.39f, 1771.02f, 186.005f, 0.66011f, 0.556128f, 1642, 1566, 1732, 1978, 0, 0, -1},
+ {0, 80, 0, 65535, 1919.09f, 1782.57f, 186.005f, 0.66011f, 0.556128f, 1877, 1577, 1967, 1989, 0, 0, -1},
+ {0, 80, 0, 65535, 2223.06f, 1615.84f, 186.005f, 0.66011f, 0.556128f, 2181, 1410, 2271, 1823, 0, 0, -1},
+ {0, 80, 0, 65535, 2519.32f, 1474.76f, 186.005f, 0.66011f, 0.556128f, 2477, 1269, 2567, 1681, 0, 0, -1},
+ {0, 80, 0, 65535, 3241.4f, 1790.26f, 186.005f, 0.66011f, 0.556128f, 3199, 1585, 3289, 1997, 0, 0, -1},
+ {0, 80, 0, 65535, 699.412f, 1521.98f, 269.4f, 1.09468f, 0.73606f, 428, 1479, 970, 1568, 0, 0, -1},
+ {0, 80, 0, 65535, 1286.12f, 1608.17f, 296.887f, 2.27134f, 0.73606f, 1004, 1427, 1557, 1810, 0, 0, -1},
+ {0, 80, 0, 65535, 1706.73f, 1618.95f, 269.4f, 1.09468f, 0.73606f, 1435, 1576, 1978, 1665, 0, 0, -1},
+ {0, 80, 0, 65535, 2355.43f, 1613.92f, 269.4f, 1.09468f, 0.73606f, 2084, 1571, 2626, 1660, 0, 0, -1},
+ {0, 80, 0, 65535, 2944.23f, 1594.94f, 278.28f, 1.60892f, 0.832429f, 2632, 1501, 3254, 1702, 0, 0, -1},
+ {0, 80, 0, 65535, 3656.88f, 1592.84f, 269.4f, 1.09468f, 0.73606f, 3386, 1550, 3928, 1639, 0, 0, -1},
+ {0, 80, 0, 65535, -265.942f, 1533.95f, 269.4f, 1.09468f, 0.73606f, -537, 1491, 5, 1580, 0, 0, -1},
+ {0, 80, 0, 65535, 4235.75f, 1496.24f, 267.912f, 1.09468f, 0.73606f, 3964, 1449, 4508, 1549, 0, 0, -1},
+ {1, 11, 0, 65535, 142.719f, 1504.0f, 0.0f, 1.02135f, 1.0f, -1, 1498, 287, 1510, 0, 0, -1},
+ {5, 255, 0, 65535, 3711.12f, 1415.79f, 0.0f, 162.0f, 90.0f, 3630, 1370, 3793, 1461, 0, 0, -1},
+ {1, 12, 0, 65535, 358.0f, 1449.0f, -37.1143f, 1.0f, 1.0f, 279, 1387, 437, 1511, 0, 0, -1},
+ {1, 12, 0, 65535, 765.338f, 1342.5f, -37.1143f, 1.0f, 1.0f, 686, 1280, 844, 1404, 0, 0, -1},
+ {1, 12, 0, 65535, 1040.34f, 1196.5f, -37.1143f, 1.0f, 1.0f, 961, 1134, 1119, 1258, 0, 0, -1},
+ {1, 12, 0, 65535, 1762.34f, 1507.5f, -37.1143f, 1.0f, 1.0f, 1683, 1445, 1841, 1569, 0, 0, -1},
+ {1, 12, 0, 65535, 1995.67f, 1521.16f, -37.1143f, 1.0f, 1.0f, 1917, 1459, 2075, 1583, 0, 0, -1},
+ {1, 12, 0, 65535, 3775.21f, 1474.54f, 0.0f, 2.02633f, 1.0f, 3584, 1468, 3966, 1481, 0, 0, -1},
+ {1, 12, 0, 65535, 2298.67f, 1357.83f, -37.1143f, 1.0f, 1.0f, 2220, 1296, 2378, 1420, 0, 0, -1},
+ {1, 12, 0, 65535, 2595.0f, 1215.66f, -37.1143f, 1.0f, 1.0f, 2516, 1154, 2674, 1278, 0, 0, -1},
+ {1, 12, 0, 65535, 3317.0f, 1526.66f, -37.1143f, 1.0f, 1.0f, 3238, 1465, 3396, 1589, 0, 0, -1},
+ {0, 74, 0, 65535, 398.758f, 1440.24f, 90.0f, 2.09254f, 3.38949f, -576, 1180, 1313, 1702, 0, 0, -1},
+ {0, 74, 0, 65535, 1818.97f, 1755.44f, 90.0f, 2.09254f, 8.80278f, -712, 1495, 4192, 2018, 0, 0, -1},
+ {0, 74, 0, 65535, 3715.58f, 1461.01f, 90.0f, 2.09254f, 1.13581f, 3389, 1201, 4022, 1723, 0, 0, -1},
+ {0, 70, 0, 65535, 2558.31f, 1554.08f, 0.0f, 0.869722f, 0.653709f, 2480, 1323, 2635, 1804, 0, 0, -1},
+ {0, 70, 0, 65535, 2832.12f, 1485.66f, 0.0f, 1.24427f, 0.278456f, 2721, 1387, 2942, 1592, 0, 0, -1},
+ {0, 70, 0, 65535, 3182.33f, 1548.21f, 0.0f, 1.24427f, 0.95089f, 3071, 1213, 3292, 1911, 0, 0, -1},
+ {0, 70, 0, 65535, 2201.35f, 1581.04f, 0.0f, 1.4614f, 0.590747f, 2071, 1372, 2330, 1807, 0, 0, -1},
+ {0, 76, 0, 65535, 1705.6f, 1486.85f, 0.0f, 0.886007f, 0.965272f, 1522, 1326, 1889, 1647, 0, 0, -1},
+ {0, 65, 0, 65535, 1975.78f, 1521.69f, 8.06962f, 1.0f, 1.0f, 1727, 1431, 2203, 1630, 0, 0, -1},
+ {0, 65, 0, 65535, 1509.64f, 1384.06f, 12.205f, 1.06666f, 1.0f, 1243, 1284, 1744, 1512, 0, 0, -1},
+ {0, 64, 0, 65535, 1419.18f, 1205.9f, 24.3683f, -0.575654f, 0.595853f, 1298, 1069, 1449, 1344, 0, 0, -1},
+ {0, 74, 0, 65535, 1418.41f, 1489.77f, 90.0f, 1.09537f, 0.793117f, 1190, 1353, 1633, 1627, 0, 0, -1},
+ {0, 74, 0, 65535, 1298.19f, 1316.31f, 90.0f, 1.09537f, 0.27671f, 1218, 1180, 1373, 1454, 0, 0, -1},
+ {0, 70, 0, 65535, 386.173f, 1349.2f, 0.0f, 0.968022f, 0.971053f, 300, 1006, 472, 1720, 0, 0, -1},
+ {0, 80, 0, 65535, 542.892f, 1416.02f, -15.6306f, 1.0f, 1.0f, 406, 1054, 670, 1780, 0, 0, -1},
+ {0, 80, 0, 65535, 719.522f, 1160.44f, 266.396f, 1.0f, 0.710558f, 457, 1112, 983, 1216, 0, 0, -1},
+ {0, 80, 0, 65535, 1160.66f, 1158.08f, 272.657f, 1.0f, 0.557752f, 953, 1114, 1367, 1207, 0, 0, -1},
+ {0, 80, 0, 65535, 2581.47f, 1492.56f, 272.657f, 1.0f, 0.716684f, 2316, 1447, 2846, 1544, 0, 0, -1},
+ {0, 80, 0, 65535, 3181.68f, 1485.32f, 261.835f, 1.0f, 0.716684f, 2916, 1419, 3448, 1562, 0, 0, -1},
+ {0, 80, 0, 65535, 3327.97f, 1506.78f, 346.16f, 0.889106f, 0.716684f, 3231, 1244, 3416, 1771, 0, 0, -1},
+ {0, 80, 0, 65535, 3383.95f, 1466.84f, 546.352f, 0.889106f, 0.716684f, 3327, 1202, 3448, 1733, 0, 0, -1},
+ {0, 80, 0, 65535, 2674.05f, 1619.91f, 346.16f, 0.889106f, 0.716684f, 2577, 1358, 2763, 1884, 0, 0, -1},
+ {0, 80, 0, 65535, 2980.18f, 1651.24f, 346.16f, 0.889106f, 0.716684f, 2883, 1389, 3069, 1915, 0, 0, -1},
+ {0, 80, 0, 65535, 2369.12f, 1635.58f, 346.16f, 0.889106f, 0.716684f, 2272, 1373, 2458, 1900, 0, 0, -1},
+ {0, 80, 0, 65535, 2720.21f, 1697.57f, 545.458f, 0.889106f, 0.716684f, 2667, 1433, 2780, 1964, 0, 0, -1},
+ {0, 80, 0, 65535, 3051.95f, 1637.91f, 189.823f, 0.889106f, 0.716684f, 2981, 1374, 3131, 1904, 0, 0, -1},
+ {0, 80, 0, 65535, -276.288f, 1185.16f, 272.884f, 1.0f, 0.746999f, -553, 1138, -1, 1238, 0, 0, -1},
+ {0, 80, 0, 65535, 4087.86f, 1219.65f, 268.617f, 1.0f, 0.746999f, 3812, 1178, 4363, 1266, 0, 0, -1},
+ {1, 11, 0, 65535, 147.209f, 1175.0f, 0.0f, 1.0748f, 1.0f, -4, 1169, 299, 1181, 0, 0, -1},
+ {5, 255, 0, 65535, 3536.67f, 1139.33f, 0.0f, 162.0f, 90.0f, 3455, 1094, 3618, 1185, 0, 0, -1},
+ {1, 12, 0, 65535, 3603.33f, 1198.54f, 0.0f, 2.24031f, 1.0f, 3392, 1192, 3814, 1205, 0, 0, -1},
+ {1, 12, 0, 65535, 2559.0f, 1376.66f, -37.1143f, 1.0f, 1.0f, 2480, 1315, 2638, 1439, 0, 0, -1},
+ {3, 81, 0, 65535, 323.102f, 1147.41f, -45.0f, 1.0f, 1.0f, 289, 1113, 356, 1181, 0, 0, -1},
+ {1, 12, 0, 65535, 410.576f, 1059.94f, -45.0f, 0.874362f, 1.0f, 348, 997, 473, 1123, 0, 0, -1},
+ {1, 47, 0, 65535, 2055.0f, 962.167f, -240.0f, 1.00235f, 1.0f, 1822, 728, 2232, 1155, 0, 0, -1},
+ {1, 15, 0, 65535, 1427.17f, 1136.83f, 41.4171f, -1.0f, 1.00394f, 1376, 981, 1450, 1293, 0, 0, -1},
+ {1, 16, 0, 65535, 1526.79f, 1315.74f, -293.83f, 1.0f, 1.00521f, 1411, 1284, 1643, 1354, 0, 0, -1},
+ {1, 17, 0, 65535, 1753.19f, 1351.67f, -702.435f, 1.0f, -1.0f, 1636, 1318, 1860, 1410, 0, 0, -1},
+ {1, 17, 0, 65535, 1955.92f, 1458.43f, -702.435f, 1.0f, 1.0f, 1849, 1401, 2072, 1492, 0, 0, -1},
+ {1, 11, 0, 65535, 2199.5f, 1419.75f, -22.3011f, 1.0f, 1.0f, 2067, 1360, 2332, 1479, 0, 0, -1},
+ {1, 12, 0, 65535, 2832.29f, 1409.29f, -371.91f, 1.21697f, 1.0f, 2719, 1379, 2946, 1439, 0, 0, -1},
+ {1, 12, 0, 65535, 3182.15f, 1293.61f, -37.1143f, 1.44272f, 1.0f, 3070, 1206, 3294, 1381, 0, 0, -1},
+ {2, 1, 0, 8, 2750.0f, 1236.0f, 0.0f, 0.172012f, 0.172012f, 2694, 1180, 2806, 1291, 0, 0, -1},
+ {2, 1, 0, 9, 3346.0f, 1254.0f, 0.0f, 0.172012f, 0.172012f, 3290, 1198, 3402, 1309, 0, 0, -1},
+ {2, 1, 0, 10, 1960.0f, 1414.0f, 0.0f, 0.172012f, 0.172012f, 1904, 1358, 2016, 1469, 0, 0, -1},
+ {0, 74, 0, 65535, 3674.91f, 1604.28f, 90.0f, 1.10636f, 1.72208f, 3179, 1467, 4140, 1743, 0, 0, -1},
+ {0, 74, 0, 65535, -90.752f, 1195.75f, 0.0f, 1.97836f, 2.37839f, -337, 554, 157, 1880, 0, 0, -1},
+ {0, 80, 0, 65535, 138.0f, 924.0f, 0.0f, 1.0f, 1.0f, 99, 556, 177, 1291, 0, 0, -1},
+ {0, 80, 0, 65535, 138.0f, 1656.0f, 0.0f, 1.0f, 1.0f, 99, 1288, 177, 2023, 0, 0, -1},
+ {0, 80, 0, 65535, 364.0f, 1580.0f, 266.718f, 1.0f, 1.0f, -5, 1528, 733, 1641, 0, 0, -1},
+ {0, 80, 0, 65535, 1072.37f, 1597.07f, 275.151f, 1.0f, 1.0f, 702, 1533, 1441, 1669, 0, 0, -1},
+ {0, 80, 0, 65535, 1656.98f, 1607.21f, 268.514f, 1.0f, 1.0f, 1288, 1563, 2025, 1656, 0, 0, -1},
+ {0, 80, 0, 65535, 2368.11f, 1609.53f, 271.533f, 1.0f, 1.0f, 1999, 1565, 2736, 1659, 0, 0, -1},
+ {0, 80, 0, 65535, 3091.17f, 1614.2f, 268.818f, 1.0f, 1.0f, 2723, 1572, 3459, 1661, 0, 0, -1},
+ {0, 80, 0, 65535, 3133.27f, 1831.58f, 190.824f, 1.0f, 1.0f, 3035, 1465, 3241, 2201, 0, 0, -1},
+ {0, 80, 0, 65535, 4035.27f, 1485.58f, 268.818f, 1.0f, 1.0f, 3667, 1443, 4403, 1533, 0, 0, -1},
+ {0, 80, 0, 65535, -356.726f, 581.579f, 268.818f, 1.0f, 1.0f, -725, 539, 11, 629, 0, 0, -1},
+ {1, 13, 0, 65535, 80.655f, 551.102f, 0.0f, 1.08297f, 1.0f, 4, 545, 158, 558, 0, 0, -1},
+ {5, 255, 0, 65535, 3443.16f, 1406.81f, 0.0f, 162.0f, 90.0f, 3362, 1361, 3525, 1452, 0, 0, -1},
+ {1, 12, 0, 65535, 3423.84f, 1464.52f, 0.0f, 2.62148f, 1.0f, 3177, 1458, 3671, 1471, 0, 0, -1},
+ {1, 14, 0, 65535, 481.233f, 1209.5f, 0.0f, -1.0f, 1.0f, 342, 1021, 621, 1398, 0, 0, -1},
+ {1, 15, 0, 65535, 791.5f, 1271.0f, 0.0f, 1.0f, 1.00394f, 698, 1144, 885, 1398, 0, 0, -1},
+ {1, 55, 0, 65535, 659.177f, 1391.63f, 0.0f, 1.0f, 1.0f, 617, 1385, 701, 1398, 0, 0, -1},
+ {1, 16, 0, 65535, 1041.4f, 1159.84f, -14.6972f, -1.0f, 1.00521f, 949, 1082, 1133, 1236, 0, 0, -1},
+ {1, 35, 0, 11, 1370.84f, 1338.45f, 0.0f, -1.0f, 1.00433f, 1130, 1222, 1612, 1455, 0, 0, -1},
+ {1, 59, 0, 65535, 1682.39f, 1309.21f, 270.0f, 1.00348f, 1.0f, 1610, 1164, 1755, 1454, 0, 0, -1},
+ {1, 16, 0, 65535, 1047.39f, 1517.77f, -66.3629f, -1.0f, 1.00521f, 932, 1486, 1163, 1556, 0, 0, -1},
+ {1, 17, 0, 65535, 864.144f, 1449.52f, -298.132f, 1.0f, 1.0f, 819, 1339, 939, 1545, 0, 0, -1},
+ {1, 47, 0, 12, 2187.33f, 1339.84f, 135.0f, 1.00235f, 1.0f, 1946, 1098, 2371, 1523, 0, 0, -1},
+ {1, 47, 0, 13, 2617.33f, 1339.84f, 135.0f, 1.00235f, 1.0f, 2376, 1098, 2801, 1523, 0, 0, -1},
+ {1, 47, 0, 14, 3051.33f, 1339.84f, 135.0f, 1.00235f, 1.0f, 2810, 1098, 3235, 1523, 0, 0, -1},
+ {0, 80, 0, 65535, -4.74592f, 1391.85f, 271.123f, 1.0f, 1.0f, -374, 1349, 363, 1439, 0, 0, -1},
+ {0, 77, 0, 65535, 101.482f, 1522.44f, 90.0f, 5.28571f, 5.62379f, -346, 1379, 546, 1671, 0, 0, -1},
+ {0, 80, 0, 65535, 859.51f, 1500.46f, -78.4164f, 1.71037f, 0.899089f, 521, 1383, 1193, 1633, 0, 0, -1},
+ {0, 80, 0, 65535, 1445.46f, 1497.52f, 267.397f, 1.09369f, 1.3341f, 954, 1441, 1937, 1563, 0, 0, -1},
+ {0, 80, 0, 65535, 1905.14f, 1486.71f, -93.2837f, 1.09369f, 1.3341f, 1413, 1426, 2397, 1558, 0, 0, -1},
+ {0, 80, 0, 65535, 2871.72f, 1499.21f, -85.5364f, 1.09369f, 1.3341f, 2378, 1427, 3363, 1580, 0, 0, -1},
+ {0, 80, 0, 65535, 3704.37f, 1456.02f, -462.841f, 1.09369f, 0.964185f, 3351, 1346, 4059, 1577, 0, 0, -1},
+ {0, 77, 0, 65535, 4518.69f, 1500.06f, 90.0f, 5.28571f, 5.95154f, 4045, 1357, 4989, 1649, 0, 0, -1},
+ {0, 77, 0, 65535, 3930.02f, 1571.36f, 73.491f, 5.28571f, 2.45534f, 3702, 1379, 4159, 1769, 0, 0, -1},
+ {0, 80, 0, 65535, 4830.53f, 1370.26f, -451.237f, 1.09369f, 0.964185f, 4475, 1324, 5186, 1421, 0, 0, -1},
+ {0, 77, 0, 65535, 2540.52f, 1661.9f, 90.0f, 5.89866f, 29.0168f, 233, 1502, 4833, 1828, 0, 0, -1},
+ {1, 45, 0, 65535, 649.333f, 1344.5f, -28.0196f, 1.0f, 1.01818f, 544, 1273, 737, 1386, 0, 0, -1},
+ {1, 45, 0, 65535, 983.0f, 1310.5f, 29.6609f, 1.0f, 1.01818f, 897, 1236, 1088, 1354, 0, 0, -1},
+ {1, 45, 0, 65535, 1301.0f, 1334.5f, -15.644f, 1.0f, 1.01818f, 1190, 1281, 1401, 1367, 0, 0, -1},
+ {1, 45, 0, 65535, 1764.52f, 1311.08f, 4.62022f, 1.0f, 1.01818f, 1657, 1275, 1875, 1340, 0, 0, -1},
+ {1, 19, 0, 65535, 1140.0f, 1331.5f, -180.636f, 1.00826f, 1.0f, 1079, 1315, 1201, 1348, 0, 0, -1},
+ {1, 12, 0, 65535, 454.75f, 1372.75f, 0.0f, 1.0f, 1.0f, 360, 1366, 549, 1379, 0, 0, -1},
+ {1, 45, 0, 65535, 2193.9f, 1310.87f, -10.3999f, 1.0f, 1.01818f, 2083, 1265, 2298, 1341, 0, 0, -1},
+ {1, 11, 0, 65535, 4259.83f, 1349.33f, 0.0f, 1.56465f, 1.0f, 4040, 1343, 4480, 1356, 0, 0, -1},
+ {5, 255, 0, 65535, 4164.0f, 1288.0f, 0.0f, 162.0f, 90.0f, 4083, 1243, 4245, 1333, 0, 0, -1},
+ {1, 45, 0, 65535, 2463.23f, 1304.87f, 4.62022f, 1.0f, 1.01818f, 2356, 1269, 2574, 1334, 0, 0, -1},
+ {1, 45, 0, 65535, 3266.08f, 1462.5f, -15.644f, 1.0f, 1.01818f, 3155, 1409, 3366, 1495, 0, 0, -1},
+ {1, 19, 0, 65535, 3105.07f, 1459.49f, -180.636f, 1.00826f, 1.0f, 3044, 1443, 3166, 1476, 0, 0, -1},
+ {1, 45, 0, 65535, 2948.08f, 1438.49f, 29.6609f, 1.0f, 1.01818f, 2862, 1364, 3053, 1482, 0, 0, -1},
+ {1, 45, 0, 65535, 3634.62f, 1339.03f, -10.3999f, 1.0f, 1.01818f, 3523, 1293, 3739, 1369, 0, 0, -1},
+ {0, 77, 0, 65535, 152.176f, 1487.0f, 90.0f, 4.14286f, 9.75196f, -624, 1375, 923, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 2131.88f, 1484.26f, 90.0f, 4.24056f, 14.4277f, 984, 1369, 3272, 1604, 0, 0, -1},
+ {0, 64, 0, 65535, 1544.91f, 1298.8f, 0.0f, -0.675732f, 0.416463f, 1450, 1219, 1640, 1379, 0, 0, -1},
+ {0, 64, 0, 65535, 1861.89f, 1289.41f, 0.0f, 0.675732f, 0.448008f, 1767, 1204, 1957, 1376, 0, 0, -1},
+ {0, 64, 0, 65535, 2019.56f, 1289.49f, -262.598f, 0.666882f, 0.401306f, 1931, 1187, 2085, 1392, 0, 0, -1},
+ {0, 80, 0, 65535, 1416.79f, 1409.33f, 4.85745f, -0.765107f, 0.527562f, 1377, 1214, 1463, 1605, 0, 0, -1},
+ {0, 80, 0, 65535, 1087.33f, 1284.23f, -223.74f, -1.35474f, 0.74977f, 858, 1058, 1307, 1521, 0, 0, -1},
+ {0, 80, 0, 65535, 666.691f, 1348.68f, -310.907f, -1.35474f, 0.74977f, 433, 1138, 910, 1569, 0, 0, -1},
+ {0, 77, 0, 65535, 896.697f, 1444.23f, -218.545f, 7.70562f, 2.71669f, 594, 1145, 1194, 1747, 0, 0, -1},
+ {0, 80, 0, 65535, 401.935f, 1384.27f, -272.137f, -0.765108f, 0.604566f, 179, 1350, 626, 1423, 0, 0, -1},
+ {0, 80, 0, 65535, 1241.86f, 1345.56f, -267.143f, -0.765108f, 0.527563f, 1047, 1310, 1437, 1386, 0, 0, -1},
+ {0, 80, 0, 65535, 2982.15f, 1381.9f, -269.273f, -0.765108f, 0.658068f, 2740, 1351, 3225, 1415, 0, 0, -1},
+ {0, 80, 0, 65535, 3267.35f, 1386.16f, -269.273f, -0.765108f, 0.658068f, 3025, 1356, 3510, 1420, 0, 0, -1},
+ {0, 80, 0, 65535, -458.333f, 1391.46f, 89.884f, -1.0f, 1.00807f, -829, 1352, -87, 1432, 0, 0, -1},
+ {5, 255, 0, 65535, 2668.42f, 688.113f, 0.0f, 162.0f, 90.0f, 2587, 643, 2750, 734, 0, 0, -1},
+ {1, 11, 0, 65535, 2361.07f, 1362.0f, 0.0f, 2.17847f, 1.0f, 2055, 1356, 2668, 1368, 0, 0, -1},
+ {2, 1, 0, 15, 2527.48f, 1008.3f, 0.0f, 0.232088f, 0.232088f, 2452, 933, 2602, 1083, 0, 0, -1},
+ {1, 16, 0, 65535, 1542.3f, 1293.61f, -13.3418f, -1.0f, 1.00521f, 1451, 1213, 1632, 1372, 0, 0, -1},
+ {1, 13, 0, 65535, 1700.71f, 1365.03f, 0.0f, 1.0f, 1.0f, 1630, 1359, 1772, 1372, 0, 0, -1},
+ {1, 16, 0, 65535, 1858.84f, 1293.6f, 13.34f, 1.0f, 1.00521f, 1769, 1213, 1950, 1372, 0, 0, -1},
+ {1, 11, 0, 65535, 1999.46f, 1087.54f, -66.8911f, 1.0f, 1.0f, 1938, 955, 2061, 1220, 0, 0, -1},
+ {1, 16, 0, 65535, 2143.9f, 886.088f, 196.268f, 1.0f, 1.00521f, 2049, 812, 2237, 962, 0, 0, -1},
+ {1, 58, 0, 65535, 2596.0f, 1089.0f, 296.057f, 1.00235f, 1.00469f, 2405, 849, 2714, 1256, 0, 0, -1},
+ {2, 1, 0, 16, 876.485f, 1187.3f, 0.0f, 0.749095f, 0.749095f, 635, 946, 1117, 1426, 0, 0, -1},
+ {1, 17, 0, 65535, 1996.3f, 1266.87f, -292.891f, 1.0f, 1.0f, 1957, 1153, 2063, 1368, 0, 0, -1},
+ {1, 55, 0, 65535, 2325.14f, 1185.73f, -333.72f, 2.29355f, 1.0f, 2237, 1138, 2414, 1234, 0, 0, -1},
+ {1, 14, 0, 65535, 2803.34f, 1179.68f, 0.0f, 1.0f, 1.0f, 2663, 991, 2942, 1369, 0, 0, -1},
+ {1, 11, 0, 65535, 2936.41f, 852.816f, -90.0f, 1.0f, 1.0f, 2930, 712, 2943, 994, 0, 0, -1},
+ {1, 17, 0, 65535, 2879.36f, 613.864f, -130.31f, 1.0f, 1.0f, 2788, 535, 2944, 714, 0, 0, -1},
+ {1, 11, 0, 65535, 2655.99f, 747.661f, 0.0f, 1.0f, 1.0f, 2515, 741, 2797, 754, 0, 0, -1},
+ {1, 17, 0, 65535, 2456.79f, 652.528f, -292.891f, 1.0f, 1.0f, 2418, 538, 2524, 754, 0, 0, -1},
+ {1, 12, 0, 65535, 43.5538f, 1368.0f, 0.0f, 1.42101f, 1.0f, -91, 1362, 178, 1374, 0, 0, -1},
+ {3, 81, 0, 65535, 196.601f, 1336.92f, 306.054f, 1.0f, 1.0f, 167, 1299, 226, 1374, 0, 0, -1},
+ {0, 80, 0, 65535, 1003.49f, 1615.97f, 270.0f, 1.0f, -1.0f, 636, 1577, 1372, 1655, 0, 0, -1},
+ {0, 80, 0, 65535, 270.484f, 1615.97f, 270.0f, 1.0f, -1.0f, -97, 1577, 639, 1655, 0, 0, -1},
+ {0, 80, 0, 65535, 1737.49f, 1615.97f, 270.0f, 1.0f, -1.0f, 1370, 1577, 2106, 1655, 0, 0, -1},
+ {0, 80, 0, 65535, 2471.49f, 1615.97f, 270.0f, 1.0f, -1.0f, 2104, 1577, 2840, 1655, 0, 0, -1},
+ {0, 80, 0, 65535, 3205.49f, 1615.97f, 270.0f, 1.0f, -1.0f, 2838, 1577, 3574, 1655, 0, 0, -1},
+ {0, 80, 0, 65535, -463.516f, 1615.97f, 270.0f, 1.0f, -1.0f, -831, 1577, -95, 1655, 0, 0, -1},
+ {0, 80, 0, 65535, 3938.49f, 1615.97f, 270.0f, 1.0f, -1.0f, 3571, 1577, 4307, 1655, 0, 0, -1},
+ {5, 255, 0, 65535, 3010.82f, 1441.75f, 0.0f, 162.0f, 90.0f, 2929, 1396, 3092, 1487, 0, 0, -1},
+ {1, 12, 0, 65535, 689.738f, 812.803f, -703.889f, 1.0f, 1.0f, 597, 780, 782, 845, 0, 0, -1},
+ {1, 12, 0, 65535, 689.738f, 1164.81f, -692.176f, 1.0f, 1.0f, 603, 1115, 776, 1214, 0, 0, -1},
+ {1, 12, 0, 65535, 913.738f, 980.806f, 154.758f, 1.0f, 1.0f, 826, 935, 1002, 1027, 0, 0, -1},
+ {1, 12, 0, 65535, 917.953f, 1325.45f, -209.59f, 1.0f, 1.0f, 833, 1273, 1003, 1378, 0, 0, -1},
+ {1, 12, 0, 65535, 1137.74f, 812.806f, -367.474f, 1.0f, 1.0f, 1043, 794, 1232, 831, 0, 0, -1},
+ {1, 12, 0, 65535, 1137.74f, 1164.81f, 124.937f, 1.0f, 1.0f, 1078, 1084, 1197, 1246, 0, 0, -1},
+ {1, 12, 0, 65535, 1353.93f, 991.711f, -186.75f, 1.0f, 1.0f, 1259, 974, 1448, 1009, 0, 0, -1},
+ {1, 12, 0, 65535, 1141.74f, 1480.81f, -418.804f, 1.0f, 1.0f, 1087, 1397, 1196, 1565, 0, 0, -1},
+ {1, 12, 0, 65535, 1361.74f, 1332.81f, -361.38f, 1.0f, 1.0f, 1267, 1324, 1456, 1342, 0, 0, -1},
+ {1, 12, 0, 65535, 465.738f, 980.806f, -374.035f, 1.0f, 1.0f, 373, 952, 559, 1010, 0, 0, -1},
+ {2, 1, 0, 17, 1328.43f, 1159.62f, 0.0f, 0.138809f, 0.138809f, 1283, 1114, 1373, 1204, 0, 0, -1},
+ {1, 12, 0, 65535, 147.835f, 925.44f, 0.0f, 1.49468f, 1.0f, 7, 919, 289, 932, 0, 0, -1},
+ {1, 12, 0, 65535, 2065.74f, 783.806f, -186.75f, 1.0f, 1.0f, 1971, 766, 2160, 801, 0, 0, -1},
+ {1, 12, 0, 65535, 1841.74f, 967.806f, 124.937f, 1.0f, 1.0f, 1782, 887, 1901, 1049, 0, 0, -1},
+ {1, 12, 0, 65535, 1567.63f, 1153.15f, -218.153f, 1.0f, 1.0f, 1490, 1090, 1646, 1216, 0, 0, -1},
+ {1, 12, 0, 65535, 2065.74f, 1135.81f, -417.553f, 1.0f, 1.0f, 2010, 1053, 2122, 1219, 0, 0, -1},
+ {1, 12, 0, 65535, 1832.1f, 1322.31f, -394.849f, 1.0f, 1.0f, 1751, 1263, 1913, 1381, 0, 0, -1},
+ {1, 12, 0, 65535, 1617.73f, 783.807f, 154.758f, 1.0f, 1.0f, 1530, 738, 1706, 830, 0, 0, -1},
+ {1, 12, 0, 65535, 1627.24f, 1490.04f, -236.554f, 1.0f, 1.0f, 1570, 1408, 1685, 1572, 0, 0, -1},
+ {1, 12, 0, 65535, 2933.82f, 1506.75f, 0.0f, 2.08409f, 1.0f, 2737, 1500, 3130, 1513, 0, 0, -1},
+ {1, 12, 0, 65535, 477.999f, 1288.67f, -366.459f, 1.0f, 1.0f, 383, 1272, 573, 1306, 0, 0, -1},
+ {1, 12, 0, 65535, 2074.49f, 1467.07f, -401.216f, 1.0f, 1.0f, 1999, 1400, 2150, 1534, 0, 0, -1},
+ {1, 12, 0, 65535, 2527.83f, 1485.74f, -400.912f, 1.0f, 1.0f, 2452, 1419, 2603, 1552, 0, 0, -1},
+ {1, 12, 0, 65535, 2305.16f, 1324.4f, -695.806f, 1.0f, 1.0f, 2216, 1280, 2394, 1369, 0, 0, -1},
+ {1, 12, 0, 65535, 2293.16f, 979.071f, -382.358f, 1.0f, 1.0f, 2203, 937, 2383, 1021, 0, 0, -1},
+ {1, 12, 0, 65535, 2567.83f, 792.405f, -425.006f, 1.0f, 1.0f, 2522, 704, 2613, 881, 0, 0, -1},
+ {1, 12, 0, 65535, 2579.83f, 1115.07f, -706.544f, 1.0f, 1.0f, 2487, 1087, 2673, 1143, 0, 0, -1},
+ {2, 1, 0, 18, 1604.74f, 928.704f, 0.0f, 0.138809f, 0.138809f, 1560, 884, 1650, 973, 0, 0, -1},
+ {2, 1, 0, 19, 1804.16f, 1134.6f, 0.0f, 0.138809f, 0.138809f, 1759, 1089, 1849, 1179, 0, 0, -1},
+ {2, 1, 0, 20, 1362.76f, 1454.56f, 0.0f, 0.138809f, 0.138809f, 1318, 1409, 1408, 1499, 0, 0, -1},
+ {2, 1, 0, 21, 674.634f, 1323.49f, 0.0f, 0.138809f, 0.138809f, 630, 1278, 720, 1368, 0, 0, -1},
+ {2, 1, 0, 22, 909.792f, 814.626f, 0.0f, 0.138809f, 0.138809f, 865, 769, 955, 859, 0, 0, -1},
+ {2, 1, 0, 23, 2338.09f, 774.148f, 0.0f, 0.138809f, 0.138809f, 2293, 729, 2383, 819, 0, 0, -1},
+ {2, 1, 0, 24, 2262.91f, 1163.51f, 0.0f, 0.138809f, 0.138809f, 2218, 1118, 2308, 1208, 0, 0, -1},
+ {2, 1, 0, 25, 1839.14f, 1461.43f, 0.0f, 0.138809f, 0.138809f, 1794, 1416, 1884, 1506, 0, 0, -1},
+ {1, 12, 0, 65535, 267.116f, 1447.24f, -380.539f, 1.0f, 1.0f, 176, 1408, 358, 1486, 0, 0, -1},
+ {1, 12, 0, 65535, 707.281f, 1501.95f, -418.804f, 1.0f, 1.0f, 653, 1418, 762, 1586, 0, 0, -1},
+ {1, 12, 0, 65535, 475.552f, 1555.13f, -361.38f, 1.0f, 1.0f, 381, 1546, 570, 1564, 0, 0, -1},
+ {1, 12, 0, 65535, 239.603f, 1140.96f, -701.355f, 1.0f, 1.0f, 148, 1105, 331, 1177, 0, 0, -1},
+ {1, 12, 0, 65535, 948.823f, 1545.33f, -361.38f, 1.0f, 1.0f, 854, 1537, 1043, 1554, 0, 0, -1},
+ {0, 77, 0, 65535, 1472.3f, 1487.0f, 90.0f, 4.14286f, 18.5355f, -2, 1375, 2937, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 2971.75f, 1487.0f, 90.0f, 4.14286f, 8.47868f, 2297, 1375, 3642, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, -228.255f, 1487.0f, 90.0f, 4.14286f, 8.47869f, -903, 1375, 442, 1603, 0, 0, -1},
+ {0, 70, 0, 65535, 283.506f, 1590.33f, 0.0f, 1.17475f, 1.17475f, 178, 1176, 387, 2038, 0, 0, -1},
+ {0, 70, 0, 65535, 1245.26f, 1588.07f, 0.0f, 1.17475f, 1.17475f, 1140, 1173, 1349, 2036, 0, 0, -1},
+ {0, 70, 0, 65535, 2172.48f, 1589.29f, 0.0f, 1.17475f, 1.17475f, 2067, 1175, 2276, 2037, 0, 0, -1},
+ {0, 80, 0, 65535, 2299.69f, 1432.42f, -9.91327f, 0.52878f, 0.608901f, 2240, 1209, 2354, 1657, 0, 0, -1},
+ {0, 80, 0, 65535, 1372.84f, 1423.19f, -9.91327f, 0.528779f, 0.608902f, 1313, 1200, 1427, 1647, 0, 0, -1},
+ {0, 80, 0, 65535, 411.374f, 1430.53f, -9.91327f, 0.528779f, 0.608902f, 352, 1207, 465, 1655, 0, 0, -1},
+ {0, 80, 0, 65535, -336.026f, 1382.57f, 270.252f, 0.777498f, 0.913778f, -673, 1351, 0, 1415, 0, 0, -1},
+ {0, 80, 0, 65535, 678.014f, 1376.55f, 269.842f, 0.528779f, 0.762154f, 397, 1356, 958, 1398, 0, 0, -1},
+ {0, 80, 0, 65535, 1609.09f, 1379.95f, 269.842f, 0.528779f, 0.762154f, 1328, 1359, 1889, 1402, 0, 0, -1},
+ {0, 80, 0, 65535, 2511.84f, 1377.5f, 269.842f, 0.528779f, 0.762154f, 2231, 1357, 2792, 1399, 0, 0, -1},
+ {0, 80, 0, 65535, 3443.95f, 1377.5f, 269.842f, 0.528779f, 0.762154f, 3163, 1357, 3724, 1399, 0, 0, -1},
+ {1, 13, 0, 65535, 2980.08f, 1368.0f, 0.0f, 2.6585f, 1.0f, 2792, 1362, 3168, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 94.3333f, 1368.0f, 0.0f, 1.37825f, 1.0f, -3, 1362, 192, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 287.106f, 1270.41f, -45.0f, 1.0f, 1.0f, 183, 1166, 391, 1374, 0, 0, -1},
+ {2, 1, 0, 26, 677.667f, 1258.33f, 0.0f, -0.564626f, 0.564626f, 496, 1076, 860, 1439, 0, 0, -1},
+ {1, 47, 0, 27, 678.333f, 1217.5f, 0.0f, 1.00235f, 1.0f, 464, 1047, 892, 1388, 0, 0, -1},
+ {2, 1, 0, 28, 1637.67f, 1258.33f, 0.0f, -0.564625f, 0.564625f, 1456, 1076, 1820, 1439, 0, 0, -1},
+ {1, 11, 0, 65535, 1247.11f, 1270.41f, -45.0f, 1.0f, 1.0f, 1143, 1166, 1351, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 1054.33f, 1368.0f, 0.0f, 1.37825f, 1.0f, 957, 1362, 1152, 1374, 0, 0, -1},
+ {1, 58, 0, 29, 1638.0f, 1153.0f, 180.0f, 1.00235f, 1.00469f, 1424, 1046, 1852, 1261, 0, 0, -1},
+ {1, 13, 0, 65535, 1982.34f, 1368.0f, 0.0f, 1.37825f, 1.0f, 1885, 1362, 2080, 1374, 0, 0, -1},
+ {2, 1, 0, 30, 2565.67f, 1258.33f, 0.0f, -0.564625f, 0.564625f, 2384, 1076, 2748, 1439, 0, 0, -1},
+ {1, 11, 0, 65535, 2175.11f, 1270.41f, -45.0f, 1.0f, 1.0f, 2071, 1166, 2279, 1374, 0, 0, -1},
+ {1, 17, 0, 31, 2564.33f, 1072.17f, -180.0f, 1.0f, 1.0f, 2448, 1046, 2682, 1098, 0, 0, -1},
+ {5, 255, 0, 65535, 3074.0f, 1307.4f, 0.0f, 162.0f, 90.0f, 2992, 1262, 3155, 1353, 0, 0, -1},
+ {0, 77, 0, 65535, -66.9516f, 1487.0f, 90.0f, 4.14286f, 3.4407f, -341, 1375, 205, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1246.17f, 1570.0f, 90.0f, 1.17857f, 13.8729f, 143, 1538, 2343, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 2532.94f, 1570.0f, 90.0f, 1.17857f, 12.7576f, 1518, 1538, 3541, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 868.037f, 1631.96f, 90.0f, 4.14286f, 0.584519f, 821, 1520, 915, 1748, 0, 0, -1},
+ {0, 77, 0, 65535, 1654.78f, 1472.46f, 90.0f, 4.14286f, 2.69025f, 1440, 1360, 1868, 1589, 0, 0, -1},
+ {0, 77, 0, 65535, 3480.04f, 1532.67f, 90.0f, 6.35714f, 6.5545f, 2958, 1361, 3998, 1711, 0, 0, -1},
+ {0, 80, 0, 65535, 258.069f, 1586.0f, -28.2709f, 1.705f, 0.582603f, 97, 1374, 403, 1806, 0, 0, -1},
+ {0, 80, 0, 65535, 466.119f, 1541.76f, 269.831f, 0.808744f, 0.987774f, 102, 1510, 829, 1575, 0, 0, -1},
+ {0, 80, 0, 65535, 1263.56f, 1540.71f, 269.831f, 0.808744f, 0.987774f, 900, 1509, 1627, 1574, 0, 0, -1},
+ {0, 80, 0, 65535, 1335.25f, 1703.79f, 200.409f, 0.808744f, 0.987774f, 1186, 1355, 1492, 2056, 0, 0, -1},
+ {0, 68, 0, 65535, 2399.64f, 1421.54f, 0.0f, 0.462366f, 0.490956f, 2288, 1357, 2511, 1485, 0, 0, -1},
+ {0, 68, 0, 65535, 1973.71f, 1414.06f, 0.0f, -0.462365f, 0.490957f, 1862, 1350, 2085, 1477, 0, 0, -1},
+ {0, 77, 0, 65535, 1982.62f, 1584.0f, 90.0f, 4.19661f, 1.52379f, 1861, 1470, 2104, 1702, 0, 0, -1},
+ {0, 77, 0, 65535, 2397.62f, 1584.01f, 90.0f, 4.19661f, 1.52379f, 2276, 1470, 2519, 1702, 0, 0, -1},
+ {0, 77, 0, 65535, 2737.69f, 1473.63f, 90.0f, 4.19661f, 2.89094f, 2507, 1360, 2967, 1592, 0, 0, -1},
+ {0, 80, 0, 65535, 2204.31f, 1544.05f, 269.831f, 0.808744f, 0.468855f, 2031, 1513, 2377, 1577, 0, 0, -1},
+ {1, 11, 0, 32, 251.731f, 1323.78f, -45.0f, 0.482881f, 1.0f, 199, 1271, 304, 1376, 0, 0, -1},
+ {1, 55, 0, 65535, 865.0f, 1514.0f, 0.0f, 1.08434f, 1.0f, 820, 1508, 910, 1520, 0, 0, -1},
+ {1, 11, 0, 65535, 1651.5f, 1353.0f, 0.0f, 1.51957f, 1.0f, 1438, 1347, 1865, 1359, 0, 0, -1},
+ {1, 11, 0, 65535, 3238.17f, 1352.0f, 0.0f, 2.0083f, 1.0f, 2956, 1346, 3521, 1358, 0, 0, -1},
+ {5, 255, 0, 65535, 3428.19f, 1294.39f, 0.0f, 162.0f, 90.0f, 3347, 1249, 3510, 1340, 0, 0, -1},
+ {1, 55, 0, 65535, 2561.0f, 1353.5f, 0.0f, 1.08434f, 1.0f, 2516, 1347, 2606, 1360, 0, 0, -1},
+ {1, 11, 0, 33, 2724.46f, 1231.72f, -45.0f, 1.23843f, 1.0f, 2597, 1104, 2852, 1359, 0, 0, -1},
+ {2, 1, 0, 34, 3047.33f, 1060.0f, 0.0f, 0.484937f, 0.482993f, 2891, 904, 3203, 1214, 0, 0, -1},
+ {1, 37, 0, 65535, 1985.5f, 1408.5f, 0.0f, -1.0f, 1.0f, 1865, 1347, 2106, 1470, 0, 0, -1},
+ {1, 37, 0, 65535, 2396.5f, 1408.5f, 0.0f, 1.0f, 1.0f, 2276, 1347, 2517, 1470, 0, 0, -1},
+ {1, 13, 0, 35, 2191.0f, 1463.5f, 0.0f, 1.21986f, 1.0f, 2105, 1457, 2277, 1470, 0, 0, -1},
+ {1, 11, 0, 36, 1063.78f, 1423.67f, -30.0f, 1.29693f, 1.0f, 902, 1327, 1225, 1520, 0, 0, -1},
+ {2, 1, 0, 37, 1320.0f, 1042.67f, 0.0f, 0.484937f, 0.482993f, 1164, 887, 1476, 1197, 0, 0, -1},
+ {1, 11, 0, 65535, 67.5f, 1370.0f, 0.0f, 1.0f, 1.0f, -73, 1364, 208, 1376, 0, 0, -1},
+ {1, 11, 0, 65535, 3660.5f, 1352.0f, 0.0f, 1.0f, 1.0f, 3520, 1346, 3801, 1358, 0, 0, -1},
+ {4, 255, 0, 65535, 572.667f, 1436.67f, 0.0f, 81.0f, 106.0f, 532, 1383, 614, 1490, 0, 0, -1},
+ {4, 255, 0, 65535, 433.0f, 1489.67f, 0.0f, 81.0f, 106.0f, 392, 1436, 474, 1543, 0, 0, -1},
+ {4, 255, 0, 65535, 359.0f, 1474.33f, 0.0f, 81.0f, 106.0f, 318, 1421, 400, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 513.167f, 1470.0f, 0.0f, 81.0f, 106.0f, 472, 1417, 554, 1523, 0, 0, -1},
+ {4, 255, 0, 65535, 296.167f, 1440.0f, 0.0f, 81.0f, 106.0f, 255, 1387, 337, 1493, 0, 0, -1},
+ {0, 77, 0, 65535, 254.193f, 1437.05f, 90.0f, 8.91182f, 7.55696f, -347, 1196, 852, 1687, 0, 0, -1},
+ {0, 77, 0, 65535, 1266.0f, 1433.1f, 90.0f, 8.62245f, 5.98281f, 790, 1200, 1739, 1675, 0, 0, -1},
+ {0, 77, 0, 65535, 3623.46f, 1459.3f, 90.0f, 5.13223f, 7.87233f, 2997, 1320, 4246, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 2381.66f, 1459.91f, 90.0f, 5.11025f, 9.9303f, 1592, 1321, 3167, 1604, 0, 0, -1},
+ {0, 80, 0, 65535, 18.4684f, 1191.82f, 267.619f, 1.0f, 1.0f, -350, 1144, 387, 1247, 0, 0, -1},
+ {0, 80, 0, 65535, 748.816f, 1187.71f, 271.951f, 1.0f, 1.0f, 379, 1142, 1117, 1240, 0, 0, -1},
+ {0, 80, 0, 65535, 1346.34f, 1188.28f, 265.025f, 1.0f, 1.0f, 977, 1127, 1716, 1260, 0, 0, -1},
+ {0, 80, 0, 65535, 4266.8f, 1322.48f, 267.332f, 1.0f, 1.0f, 3898, 1273, 4636, 1379, 0, 0, -1},
+ {0, 64, 0, 65535, 1807.44f, 1199.33f, 0.0f, -0.753755f, 0.662458f, 1701, 1073, 1913, 1327, 0, 0, -1},
+ {0, 74, 0, 65535, 2226.04f, 867.513f, 0.0f, 0.881803f, 1.0f, 2116, 598, 2337, 1156, 0, 0, -1},
+ {0, 74, 0, 65535, 3226.82f, 867.51f, 0.0f, 1.16746f, 1.0f, 3082, 598, 3373, 1156, 0, 0, -1},
+ {0, 74, 0, 65535, 2698.18f, 867.51f, 0.0f, 3.89092f, 1.0f, 2215, 598, 3185, 1156, 0, 0, -1},
+ {0, 80, 0, 65535, 3376.02f, 789.214f, 0.0f, 1.0f, 1.0f, 3337, 421, 3415, 1157, 0, 0, -1},
+ {0, 80, 0, 65535, 2112.78f, 790.255f, 0.0f, -1.0f, -1.0f, 2074, 423, 2152, 1159, 0, 0, -1},
+ {5, 255, 0, 65535, 3592.95f, 1252.16f, 0.0f, 162.0f, 90.0f, 3511, 1207, 3674, 1298, 0, 0, -1},
+ {1, 11, 0, 65535, 3654.17f, 1312.28f, 0.0f, 1.77343f, 1.0f, 3405, 1306, 3904, 1319, 0, 0, -1},
+ {1, 12, 0, 65535, 94.0366f, 1067.62f, 0.0f, 1.0f, 1.0f, 0, 1061, 189, 1074, 0, 0, -1},
+ {1, 12, 0, 38, 283.037f, 1067.62f, 0.0f, 1.0f, 1.0f, 189, 1061, 378, 1074, 0, 0, -1},
+ {2, 1, 0, 39, 849.807f, 1123.07f, 0.0f, 0.105932f, 0.105932f, 815, 1089, 884, 1157, 0, 0, -1},
+ {1, 12, 0, 40, 472.037f, 1067.62f, 0.0f, 1.0f, 1.0f, 378, 1061, 567, 1074, 0, 0, -1},
+ {1, 12, 0, 41, 850.037f, 1067.62f, 0.0f, 1.0f, 1.0f, 756, 1061, 945, 1074, 0, 0, -1},
+ {1, 12, 0, 42, 661.037f, 1067.62f, 0.0f, 1.0f, 1.0f, 567, 1061, 756, 1074, 0, 0, -1},
+ {1, 12, 0, 43, 1228.04f, 1067.62f, 0.0f, 1.0f, 1.0f, 1134, 1061, 1323, 1074, 0, 0, -1},
+ {1, 12, 0, 44, 1039.04f, 1067.62f, 0.0f, 1.0f, 1.0f, 945, 1061, 1134, 1074, 0, 0, -1},
+ {2, 1, 0, 45, 474.653f, 1039.59f, 0.0f, 0.105932f, 0.105932f, 440, 1005, 509, 1074, 0, 0, -1},
+ {2, 1, 0, 46, 1236.65f, 1039.59f, 0.0f, 0.105932f, 0.105932f, 1202, 1005, 1271, 1074, 0, 0, -1},
+ {1, 12, 0, 47, 1417.04f, 1067.62f, 0.0f, 1.0f, 1.0f, 1323, 1061, 1512, 1074, 0, 0, -1},
+ {1, 15, 0, 65535, 1801.22f, 1191.29f, 0.0f, -1.0f, 1.00394f, 1707, 1064, 1895, 1319, 0, 0, -1},
+ {1, 12, 0, 65535, 1606.32f, 1057.16f, -6.31439f, 1.0f, 1.0f, 1512, 1040, 1701, 1074, 0, 0, -1},
+ {1, 48, 0, 65535, 1861.42f, 922.57f, 29.7164f, 1.00348f, 1.0f, 1703, 803, 1992, 1081, 0, 0, -1},
+ {1, 12, 0, 48, 1986.51f, 1312.28f, 0.0f, 1.0f, 1.0f, 1892, 1306, 2081, 1319, 0, 0, -1},
+ {1, 12, 0, 49, 2175.51f, 1312.28f, 0.0f, 1.0f, 1.0f, 2081, 1306, 2270, 1319, 0, 0, -1},
+ {1, 12, 0, 50, 2553.51f, 1312.28f, 0.0f, 1.0f, 1.0f, 2459, 1306, 2648, 1319, 0, 0, -1},
+ {1, 12, 0, 51, 2364.51f, 1312.28f, 0.0f, 1.0f, 1.0f, 2270, 1306, 2459, 1319, 0, 0, -1},
+ {1, 12, 0, 52, 2931.51f, 1312.28f, 0.0f, 1.0f, 1.0f, 2837, 1306, 3026, 1319, 0, 0, -1},
+ {1, 12, 0, 53, 2742.51f, 1312.28f, 0.0f, 1.0f, 1.0f, 2648, 1306, 2837, 1319, 0, 0, -1},
+ {1, 12, 0, 54, 3309.51f, 1312.28f, 0.0f, 1.0f, 1.0f, 3215, 1306, 3404, 1319, 0, 0, -1},
+ {1, 12, 0, 55, 3120.51f, 1312.28f, 0.0f, 1.0f, 1.0f, 3026, 1306, 3215, 1319, 0, 0, -1},
+ {2, 0, 0, 65535, 2171.02f, 1169.9f, 0.0f, 0.457255f, -0.457255f, 2082, 1155, 2259, 1185, 0, 0, -1},
+ {2, 0, 0, 65535, 2342.53f, 1169.9f, 0.0f, 0.457255f, -0.457255f, 2254, 1155, 2431, 1185, 0, 0, -1},
+ {2, 0, 0, 65535, 2496.32f, 1169.9f, 0.0f, 0.457255f, -0.457255f, 2408, 1155, 2584, 1185, 0, 0, -1},
+ {2, 0, 0, 65535, 2667.83f, 1169.9f, 0.0f, 0.457255f, -0.457255f, 2579, 1155, 2756, 1185, 0, 0, -1},
+ {2, 0, 0, 65535, 2993.13f, 1169.9f, 0.0f, 0.457255f, -0.457255f, 2905, 1155, 3081, 1185, 0, 0, -1},
+ {2, 0, 0, 65535, 2839.33f, 1169.9f, 0.0f, 0.457255f, -0.457255f, 2751, 1155, 2927, 1185, 0, 0, -1},
+ {2, 0, 0, 65535, 3164.64f, 1169.9f, 0.0f, 0.457255f, -0.457255f, 3076, 1155, 3253, 1185, 0, 0, -1},
+ {2, 0, 0, 65535, 3318.43f, 1169.9f, 0.0f, 0.457255f, -0.457255f, 3230, 1155, 3406, 1185, 0, 0, -1},
+ {0, 77, 0, 65535, -105.867f, 1487.0f, 90.0f, 4.14286f, 3.27751f, -367, 1375, 154, 1603, 0, 0, -1},
+ {0, 68, 0, 65535, 276.924f, 1459.37f, 0.0f, -0.666984f, 0.666984f, 116, 1372, 437, 1545, 0, 0, -1},
+ {0, 77, 0, 65535, 1246.17f, 1559.63f, 90.0f, 1.549f, 13.8729f, 143, 1517, 2343, 1604, 0, 0, -1},
+ {0, 77, 0, 65535, 2938.17f, 1486.33f, 90.0f, 4.1667f, 11.133f, 2053, 1373, 3818, 1603, 0, 0, -1},
+ {0, 68, 0, 65535, 2607.52f, 1321.59f, 0.0f, 0.45547f, 0.461893f, 2498, 1261, 2717, 1381, 0, 0, -1},
+ {0, 68, 0, 65535, 2824.52f, 1321.59f, 0.0f, -0.455469f, 0.461895f, 2715, 1261, 2934, 1381, 0, 0, -1},
+ {0, 68, 0, 65535, 1304.11f, 1458.5f, 0.0f, -0.683077f, 0.687898f, 1140, 1369, 1469, 1547, 0, 0, -1},
+ {0, 70, 0, 65535, 650.981f, 1798.7f, 0.0f, 1.52562f, 1.52562f, 515, 1260, 786, 2380, 0, 0, -1},
+ {0, 80, 0, 65535, 831.886f, 1660.06f, -11.5275f, 0.829248f, 1.0f, 726, 1295, 929, 2027, 0, 0, -1},
+ {0, 80, 0, 65535, 976.323f, 1524.64f, -90.6344f, 0.829247f, 0.606371f, 753, 1492, 1200, 1560, 0, 0, -1},
+ {0, 80, 0, 65535, 1106.97f, 1593.8f, -165.243f, 0.829247f, 0.606371f, 1026, 1372, 1195, 1818, 0, 0, -1},
+ {0, 80, 0, 65535, 1851.97f, 1529.87f, -743.179f, 1.68372f, 0.606371f, 1703, 1305, 1985, 1761, 0, 0, -1},
+ {0, 70, 0, 65535, 1676.12f, 1796.81f, 0.0f, 1.52562f, 1.52562f, 1540, 1259, 1811, 2379, 0, 0, -1},
+ {0, 80, 0, 65535, 1974.13f, 1578.57f, -871.591f, 1.24069f, 0.606371f, 1836, 1365, 2123, 1798, 0, 0, -1},
+ {0, 80, 0, 65535, 1935.66f, 1504.6f, -1166.7f, 1.24069f, 0.606371f, 1710, 1449, 2160, 1566, 0, 0, -1},
+ {0, 80, 0, 65535, -363.778f, 1387.2f, 270.438f, 0.829247f, 1.0f, -733, 1353, 4, 1423, 0, 0, -1},
+ {0, 80, 0, 65535, 3881.57f, 1387.2f, 269.965f, 0.829247f, 1.0f, 3513, 1355, 4249, 1420, 0, 0, -1},
+ {1, 57, 0, 65535, 57.3333f, 1368.0f, 0.0f, 2.85714f, 1.0f, -3, 1362, 118, 1374, 0, 0, -1},
+ {2, 1, 0, 56, 428.0f, 1361.0f, 0.0f, 0.48105f, 0.48105f, 273, 1206, 583, 1515, 0, 0, -1},
+ {1, 36, 0, 65535, 276.167f, 1441.25f, 0.0f, -1.0f, 1.0f, 115, 1362, 437, 1521, 0, 0, -1},
+ {2, 1, 0, 57, 947.0f, 1361.0f, 0.0f, 0.48105f, 0.48105f, 792, 1206, 1102, 1515, 0, 0, -1},
+ {1, 11, 0, 65535, 653.0f, 1385.0f, -45.0f, 1.3221f, 1.0f, 517, 1249, 789, 1521, 0, 0, -1},
+ {1, 55, 0, 65535, 480.75f, 1514.5f, 0.0f, 1.07831f, 1.0f, 436, 1508, 526, 1521, 0, 0, -1},
+ {2, 1, 0, 58, 1452.0f, 1361.0f, 0.0f, 0.48105f, 0.48105f, 1297, 1206, 1607, 1515, 0, 0, -1},
+ {1, 36, 0, 65535, 1300.17f, 1441.25f, 0.0f, -1.0f, 1.0f, 1139, 1362, 1461, 1521, 0, 0, -1},
+ {1, 11, 0, 65535, 1677.0f, 1385.0f, -45.0f, 1.3221f, 1.0f, 1541, 1249, 1813, 1521, 0, 0, -1},
+ {1, 55, 0, 65535, 1504.75f, 1514.5f, 0.0f, 1.07831f, 1.0f, 1460, 1508, 1550, 1521, 0, 0, -1},
+ {2, 1, 0, 59, 1908.0f, 1023.0f, 0.0f, 0.247813f, 0.247813f, 1828, 943, 1988, 1102, 0, 0, -1},
+ {2, 1, 0, 60, 1908.0f, 1423.0f, 0.0f, 0.247813f, 0.247813f, 1828, 1343, 1988, 1502, 0, 0, -1},
+ {1, 11, 0, 65535, 2262.83f, 1368.0f, 0.0f, 1.52195f, 1.0f, 2049, 1362, 2477, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 2595.83f, 1313.5f, 0.0f, 1.0f, 1.0f, 2475, 1252, 2717, 1375, 0, 0, -1},
+ {1, 37, 0, 65535, 2836.83f, 1313.5f, 0.0f, -1.0f, 1.0f, 2716, 1252, 2958, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 3096.83f, 1368.0f, 0.0f, 1.0f, 1.0f, 2956, 1362, 3238, 1374, 0, 0, -1},
+ {2, 1, 0, 61, 2431.42f, 1355.08f, 0.0f, 0.254859f, 0.254859f, 2349, 1273, 2514, 1437, 0, 0, -1},
+ {1, 13, 0, 65535, 3382.0f, 1368.0f, 0.0f, 2.05674f, 1.0f, 3237, 1362, 3527, 1374, 0, 0, -1},
+ {5, 255, 0, 65535, 3243.85f, 1312.81f, 0.0f, 162.0f, 90.0f, 3162, 1267, 3325, 1358, 0, 0, -1},
+ {4, 255, 0, 65535, 572.667f, 1436.67f, 0.0f, 81.0f, 106.0f, 532, 1383, 614, 1490, 0, 0, -1},
+ {4, 255, 0, 65535, 433.0f, 1489.67f, 0.0f, 81.0f, 106.0f, 392, 1436, 474, 1543, 0, 0, -1},
+ {4, 255, 0, 65535, 359.0f, 1474.33f, 0.0f, 81.0f, 106.0f, 318, 1421, 400, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 513.167f, 1470.0f, 0.0f, 81.0f, 106.0f, 472, 1417, 554, 1523, 0, 0, -1},
+ {4, 255, 0, 65535, 296.167f, 1440.0f, 0.0f, 81.0f, 106.0f, 255, 1387, 337, 1493, 0, 0, -1},
+ {0, 77, 0, 65535, 1164.17f, 1530.85f, 90.0f, 2.57682f, 14.8979f, -21, 1461, 2342, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 3204.94f, 1546.51f, 90.0f, 2.01752f, 12.7576f, 2190, 1492, 4213, 1603, 0, 0, -1},
+ {0, 64, 0, 65535, 229.783f, 1278.68f, 0.0f, -1.0f, 1.0f, 89, 1088, 370, 1471, 0, 0, -1},
+ {0, 66, 0, 65535, 2742.57f, 1446.59f, 18.5352f, 1.18813f, 1.18813f, 2419, 1199, 3066, 1694, 0, 0, -1},
+ {0, 74, 0, 65535, 4126.83f, 1561.83f, 0.0f, 3.58533f, 1.0f, 3682, 1292, 4575, 1850, 0, 0, -1},
+ {0, 64, 0, 65535, 547.5f, 1406.0f, 270.0f, -0.442857f, 0.565815f, 439, 1344, 656, 1468, 0, 0, -1},
+ {0, 80, 0, 65535, 31.7632f, 1318.96f, -169.802f, 0.716645f, 0.642659f, -31, 1083, 102, 1557, 0, 0, -1},
+ {0, 77, 0, 65535, 524.168f, 1530.85f, 90.0f, 2.57682f, 14.8979f, -661, 1461, 1702, 1604, 0, 0, -1},
+ {0, 80, 0, 65535, 4.75639f, 1460.85f, -443.655f, 0.716645f, 0.642658f, -234, 1413, 242, 1515, 0, 0, -1},
+ {0, 80, 0, 65535, -457.549f, 1466.48f, -457.789f, 0.716645f, 0.642658f, -695, 1413, -220, 1527, 0, 0, -1},
+ {0, 77, 0, 65535, 68.9021f, 1347.83f, 2.91868f, 0.992975f, 2.49344f, 32, 1149, 107, 1546, 0, 0, -1},
+ {0, 80, 0, 65535, 802.431f, 1542.54f, -408.519f, 1.13286f, 0.642658f, 595, 1361, 1001, 1732, 0, 0, -1},
+ {0, 80, 0, 65535, 1133.55f, 1469.3f, -450.032f, 1.13286f, 1.14352f, 712, 1425, 1554, 1514, 0, 0, -1},
+ {0, 64, 0, 65535, 1798.65f, 1311.36f, -11.9066f, -1.0f, 1.0f, 1622, 1151, 1976, 1528, 0, 0, -1},
+ {0, 64, 0, 65535, 2167.89f, 1404.08f, 269.813f, -0.40731f, 0.459358f, 2080, 1346, 2257, 1462, 0, 0, -1},
+ {0, 80, 0, 65535, 1572.49f, 1380.54f, -172.113f, 0.750688f, 0.642658f, 1518, 1143, 1634, 1619, 0, 0, -1},
+ {0, 72, 0, 65535, 1628.22f, 2497.02f, 0.0f, 1.0f, 4.07666f, 1510, 1176, 1746, 3930, 0, 0, -1},
+ {0, 80, 0, 65535, 2320.15f, 1605.87f, -379.795f, 0.562031f, 0.642658f, 2219, 1378, 2416, 1836, 0, 0, -1},
+ {0, 80, 0, 65535, 2451.63f, 1424.94f, -524.574f, 0.562031f, 0.642658f, 2373, 1193, 2536, 1659, 0, 0, -1},
+ {0, 80, 0, 65535, 2414.1f, 1456.42f, -810.437f, 1.19447f, 0.413202f, 2261, 1411, 2567, 1505, 0, 0, -1},
+ {0, 80, 0, 65535, 4352.91f, 1319.58f, -90.0473f, 1.13286f, 0.642658f, 4116, 1276, 4589, 1364, 0, 0, -1},
+ {0, 80, 0, 65535, 1004.39f, 1348.15f, -131.465f, 1.13286f, 0.642658f, 805, 1167, 1211, 1538, 0, 0, -1},
+ {0, 80, 0, 65535, 1360.49f, 1371.21f, -412.637f, 1.13286f, 0.642658f, 1145, 1201, 1568, 1550, 0, 0, -1},
+ {0, 77, 0, 65535, 1188.0f, 1456.67f, -43.9449f, 5.99086f, 2.21278f, 950, 1214, 1431, 1696, 0, 0, -1},
+ {0, 73, 0, 65535, 3217.87f, 1593.55f, -6.2942f, 0.914215f, 0.77807f, 3090, 1354, 3346, 1844, 0, 0, -1},
+ {0, 73, 0, 65535, 3509.36f, 1547.17f, -6.62469f, 0.914215f, 0.778069f, 3381, 1307, 3638, 1798, 0, 0, -1},
+ {0, 80, 0, 65535, 3692.88f, 1527.77f, -177.587f, 1.13286f, -0.642658f, 3644, 1290, 3747, 1766, 0, 0, -1},
+ {0, 77, 0, 65535, 3069.92f, 1448.93f, 90.0f, 2.38163f, 0.630937f, 3019, 1384, 3120, 1516, 0, 0, -1},
+ {0, 80, 0, 65535, 3058.45f, 1390.22f, -795.708f, 0.533329f, -0.220526f, 2974, 1355, 3141, 1431, 0, 0, -1},
+ {0, 80, 0, 65535, 3629.21f, 1483.26f, -202.723f, -0.665272f, -0.466167f, 3539, 1317, 3714, 1652, 0, 0, -1},
+ {0, 80, 0, 65535, 3341.39f, 1527.15f, -202.723f, -0.665272f, -0.466168f, 3251, 1361, 3426, 1695, 0, 0, -1},
+ {0, 80, 0, 65535, 3391.82f, 1513.4f, -356.969f, -0.665272f, -0.466168f, 3360, 1341, 3427, 1687, 0, 0, -1},
+ {0, 80, 0, 65535, 3459.08f, 1501.93f, -450.004f, 1.13286f, -0.642658f, 3223, 1458, 3696, 1547, 0, 0, -1},
+ {5, 255, 0, 65535, 3915.03f, 1231.06f, 0.0f, 162.0f, 90.0f, 3834, 1186, 3997, 1277, 0, 0, -1},
+ {1, 14, 0, 65535, 1802.1f, 1304.45f, -11.788f, -1.0f, 1.0f, 1628, 1145, 1975, 1462, 0, 0, -1},
+ {1, 57, 0, 65535, 2010.33f, 1454.5f, 0.0f, 1.8254f, 1.0f, 1972, 1448, 2049, 1461, 0, 0, -1},
+ {1, 16, 0, 65535, 2150.33f, 1401.83f, -262.91f, 1.0f, -1.00521f, 2047, 1341, 2255, 1461, 0, 0, -1},
+ {2, 1, 0, 62, 2391.29f, 1401.95f, 0.0f, 0.349854f, 0.351799f, 2278, 1288, 2504, 1515, 0, 0, -1},
+ {1, 58, 0, 65535, 2758.03f, 1388.13f, -339.856f, 1.00235f, 1.00469f, 2581, 1213, 2996, 1502, 0, 0, -1},
+ {2, 1, 0, 63, 1196.0f, 1220.0f, 0.0f, 0.726919f, 0.704379f, 962, 993, 1429, 1445, 0, 0, -1},
+ {1, 13, 0, 64, 96.5f, 90.0f, 0.0f, 1.0f, 1.0f, 26, 84, 167, 96, -70, -6, 0},
+ {1, 13, 0, 65, 237.5f, 90.0f, 0.0f, 1.0f, 1.0f, 167, 84, 308, 96, 70, -6, 0},
+ {1, 14, 0, 65535, 235.5f, 1272.5f, 0.0f, -1.0f, 1.0f, 97, 1084, 375, 1461, 0, 0, -1},
+ {1, 16, 0, 65535, 550.333f, 1401.83f, -262.91f, 1.0f, -1.00521f, 447, 1341, 655, 1461, 0, 0, -1},
+ {1, 57, 0, 65535, 410.333f, 1454.5f, 0.0f, 1.8254f, 1.0f, 372, 1448, 449, 1461, 0, 0, -1},
+ {1, 11, 0, 65535, 3894.65f, 1287.0f, 0.0f, 1.58544f, 1.0f, 3671, 1281, 4118, 1293, 0, 0, -1},
+ {2, 1, 0, 66, 3050.09f, 1065.53f, 0.0f, 0.349854f, 0.351799f, 2937, 952, 3163, 1178, 0, 0, -1},
+ {1, 45, 0, 65535, 3194.78f, 1379.54f, -7.77398f, 1.0f, 1.01818f, 3084, 1338, 3301, 1409, 0, 0, -1},
+ {1, 45, 0, 65535, 3484.31f, 1331.4f, -8.16308f, 1.0f, 1.01818f, 3373, 1289, 3590, 1361, 0, 0, -1},
+ {2, 1, 0, 67, 3472.15f, 1057.46f, 0.0f, 0.349854f, 0.351799f, 3359, 944, 3585, 1170, 0, 0, -1},
+ {4, 255, 0, 65535, 572.667f, 1436.67f, 0.0f, 81.0f, 106.0f, 532, 1383, 614, 1490, 0, 0, -1},
+ {4, 255, 0, 65535, 433.0f, 1489.67f, 0.0f, 81.0f, 106.0f, 392, 1436, 474, 1543, 0, 0, -1},
+ {4, 255, 0, 65535, 359.0f, 1474.33f, 0.0f, 81.0f, 106.0f, 318, 1421, 400, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 513.167f, 1470.0f, 0.0f, 81.0f, 106.0f, 472, 1417, 554, 1523, 0, 0, -1},
+ {4, 255, 0, 65535, 296.167f, 1440.0f, 0.0f, 81.0f, 106.0f, 255, 1387, 337, 1493, 0, 0, -1},
+ {0, 77, 0, 65535, 312.83f, 1487.0f, 90.0f, 4.14286f, 8.54379f, -367, 1375, 988, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1357.88f, 1487.0f, 90.0f, 4.14286f, 4.75265f, 980, 1375, 1734, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 3297.34f, 1483.33f, 90.0f, 4.14286f, 5.49124f, 2860, 1371, 3732, 1600, 0, 0, -1},
+ {0, 77, 0, 65535, 2283.01f, 1486.91f, 90.0f, 4.14286f, 7.51676f, 1685, 1375, 2877, 1603, 0, 0, -1},
+ {0, 80, 0, 65535, 692.927f, 1353.63f, -97.3933f, 1.0f, 1.0f, 324, 1277, 1062, 1440, 0, 0, -1},
+ {0, 80, 0, 65535, 1404.03f, 1380.14f, -78.7716f, 1.0f, 1.0f, 1035, 1280, 1770, 1490, 0, 0, -1},
+ {0, 80, 0, 65535, 1530.9f, 1173.11f, 249.273f, 1.0f, 1.22643f, 1099, 986, 1966, 1370, 0, 0, -1},
+ {0, 77, 0, 65535, 1039.19f, 1449.62f, 90.0f, 4.14286f, 2.57769f, 834, 1337, 1243, 1566, 0, 0, -1},
+ {0, 77, 0, 65535, 1984.89f, 1440.35f, -200.601f, 4.14286f, 4.75266f, 1744, 1047, 2222, 1833, 0, 0, -1},
+ {0, 77, 0, 65535, 1488.6f, 1398.02f, 67.8175f, 6.53062f, 4.75266f, 1072, 1092, 1906, 1710, 0, 0, -1},
+ {0, 64, 0, 65535, 2099.35f, 1190.24f, -13.2071f, -0.90945f, 0.97651f, 1933, 1036, 2267, 1402, 0, 0, -1},
+ {0, 64, 0, 65535, 2321.14f, 1283.77f, 271.915f, -0.440133f, 0.512792f, 2221, 1225, 2422, 1349, 0, 0, -1},
+ {0, 80, 0, 65535, 2655.19f, 1327.01f, -73.051f, 0.799816f, 0.707328f, 2397, 1229, 2911, 1433, 0, 0, -1},
+ {0, 77, 0, 65535, 2456.85f, 1394.84f, 90.0f, 2.18579f, 4.031f, 2136, 1335, 2776, 1457, 0, 0, -1},
+ {0, 77, 0, 65535, 2514.08f, 1349.78f, 109.969f, 2.18579f, 1.62598f, 2372, 1250, 2655, 1452, 0, 0, -1},
+ {0, 80, 0, 65535, -363.596f, 1387.5f, -88.9104f, 1.0f, 1.0f, -733, 1344, 4, 1434, 0, 0, -1},
+ {0, 80, 0, 65535, 3716.16f, 1377.35f, -92.3485f, 1.0f, 1.0f, 3347, 1330, 4085, 1432, 0, 0, -1},
+ {1, 13, 0, 65535, 67.6667f, 1368.0f, 0.0f, 1.0f, 1.0f, -3, 1362, 139, 1374, 0, 0, -1},
+ {5, 255, 0, 65535, 3072.77f, 1308.0f, 0.0f, 162.0f, 90.0f, 2991, 1263, 3154, 1354, 0, 0, -1},
+ {1, 11, 0, 65535, 3107.17f, 1362.0f, 0.0f, 1.77343f, 1.0f, 2858, 1356, 3357, 1368, 0, 0, -1},
+ {1, 12, 0, 68, 232.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 138, 1362, 326, 1374, 0, 0, -1},
+ {1, 12, 0, 69, 421.0f, 1269.0f, 0.0f, 1.0f, 1.0f, 327, 1263, 515, 1275, 0, 0, -1},
+ {1, 12, 0, 70, 610.0f, 1170.0f, 0.0f, 1.0f, 1.0f, 516, 1164, 704, 1176, 0, 0, -1},
+ {1, 12, 0, 71, 799.0f, 1071.0f, 0.0f, 1.0f, 1.0f, 705, 1065, 893, 1077, 0, 0, -1},
+ {1, 12, 0, 72, 1177.0f, 873.0f, 0.0f, 1.0f, 1.0f, 1083, 867, 1271, 879, 0, 0, -1},
+ {1, 12, 0, 73, 1366.0f, 774.0f, 0.0f, 1.0f, 1.0f, 1272, 768, 1460, 780, 0, 0, -1},
+ {1, 12, 0, 74, 988.0f, 972.0f, 0.0f, 1.0f, 1.0f, 894, 966, 1082, 978, 0, 0, -1},
+ {1, 12, 0, 75, 1933.0f, 477.0f, 0.0f, 1.0f, 1.0f, 1839, 471, 2027, 483, 0, 0, -1},
+ {1, 12, 0, 76, 1744.0f, 576.0f, 0.0f, 1.0f, 1.0f, 1650, 570, 1838, 582, 0, 0, -1},
+ {1, 12, 0, 77, 1555.0f, 675.0f, 0.0f, 1.0f, 1.0f, 1461, 669, 1649, 681, 0, 0, -1},
+ {1, 14, 0, 65535, 2072.95f, 1137.39f, 0.0f, -1.0f, 1.0f, 1934, 948, 2213, 1326, 0, 0, -1},
+ {1, 17, 0, 65535, 2320.64f, 1289.45f, -25.5205f, 1.0f, 1.0f, 2208, 1219, 2419, 1331, 0, 0, -1},
+ {2, 1, 0, 78, 2608.0f, 1374.0f, 0.0f, 0.626822f, 0.626822f, 2406, 1172, 2809, 1574, 0, 0, -1},
+ {0, 77, 0, 65535, 492.894f, 1487.0f, 90.0f, 4.14286f, 6.29299f, -8, 1375, 991, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1484.88f, 1487.0f, 90.0f, 4.14286f, 7.14015f, 917, 1375, 2049, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, -251.427f, 1426.56f, 90.0f, 4.14286f, 4.79133f, -633, 1314, 128, 1543, 0, 0, -1},
+ {0, 80, 0, 65535, 467.0f, 1379.0f, 269.745f, 1.0f, 1.0f, 99, 1340, 835, 1420, 0, 0, -1},
+ {0, 80, 0, 65535, 1200.19f, 1379.25f, 270.273f, 1.0f, 1.0f, 832, 1339, 1568, 1420, 0, 0, -1},
+ {0, 80, 0, 65535, 1179.19f, 1344.25f, 253.975f, 1.0f, 1.0f, 817, 1215, 1543, 1484, 0, 0, -1},
+ {0, 80, 0, 65535, 1878.49f, 1302.83f, -80.7488f, 1.0f, 1.0f, 1509, 1215, 2246, 1401, 0, 0, -1},
+ {0, 80, 0, 65535, 2597.04f, 1359.51f, -90.1696f, 1.0f, 1.0f, 2229, 1321, 2965, 1400, 0, 0, -1},
+ {0, 80, 0, 65535, 3323.04f, 1381.51f, 273.705f, 1.0f, 1.0f, 2953, 1326, 3692, 1445, 0, 0, -1},
+ {0, 77, 0, 65535, 1653.25f, 1425.48f, 90.0f, 4.14286f, 5.08467f, 1249, 1313, 2055, 1542, 0, 0, -1},
+ {0, 77, 0, 65535, 1555.72f, 1343.62f, 90.0f, 2.26155f, 1.62333f, 1426, 1282, 1684, 1407, 0, 0, -1},
+ {0, 80, 0, 65535, -318.965f, 1327.73f, 270.273f, 1.0f, 1.0f, -688, 1288, 49, 1369, 0, 0, -1},
+ {0, 80, 0, 65535, 266.884f, 1497.86f, -41.1571f, 0.732237f, 0.658257f, 85, 1301, 442, 1699, 0, 0, -1},
+ {0, 80, 0, 65535, 4419.33f, 1379.88f, 268.445f, 1.0f, 1.0f, 4051, 1336, 4788, 1429, 0, 0, -1},
+ {0, 77, 0, 65535, 4300.88f, 1484.5f, 90.0f, 4.23214f, 7.14013f, 3733, 1370, 4865, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 2604.88f, 1487.0f, 90.0f, 4.14286f, 7.14013f, 2037, 1375, 3169, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 3564.88f, 1484.5f, 90.0f, 4.23214f, 7.14013f, 2997, 1370, 4129, 1603, 0, 0, -1},
+ {5, 255, 0, 65535, 3684.26f, 1302.16f, 0.0f, 162.0f, 90.0f, 3603, 1257, 3766, 1348, 0, 0, -1},
+ {1, 11, 0, 65535, 3808.17f, 1362.0f, 0.0f, 1.77343f, 1.0f, 3559, 1356, 4058, 1368, 0, 0, -1},
+ {1, 55, 0, 65535, 90.5f, 1305.0f, 0.0f, 1.0f, 1.0f, 49, 1299, 132, 1311, 0, 0, 0},
+ {1, 55, 30, 65535, 245.333f, 1308.0f, -39.1352f, 1.34534f, 1.0f, 198, 1268, 293, 1348, 0, 0, 500},
+ {1, 55, 30, 65535, 654.807f, 1283.86f, -373.422f, 1.0f, 1.0f, 613, 1268, 697, 1300, 0, 0, 500},
+ {1, 55, 30, 65535, 743.324f, 1272.72f, 0.0f, 1.0f, 1.0f, 701, 1266, 785, 1279, 0, 0, 500},
+ {1, 55, 30, 65535, 920.0f, 1314.67f, 0.0f, 1.0f, 1.0f, 878, 1308, 962, 1321, 0, 0, 500},
+ {1, 55, 30, 65535, 996.727f, 1283.33f, -45.0f, 1.0f, 1.0f, 963, 1249, 1031, 1317, 0, 0, 500},
+ {1, 55, 30, 65535, 1296.77f, 1149.91f, -45.0f, 1.53956f, 1.0f, 1247, 1100, 1347, 1200, 0, 0, 500},
+ {1, 55, 30, 65535, 1562.27f, 1135.41f, -45.0f, 1.53388f, 1.0f, 1513, 1086, 1612, 1185, 0, 0, 500},
+ {1, 55, 30, 65535, 1926.1f, 1239.21f, 0.0f, 1.0f, 1.0f, 1884, 1233, 1968, 1246, 0, 0, 500},
+ {1, 55, 30, 65535, 2002.83f, 1207.87f, -45.0f, 1.0f, 1.0f, 1969, 1174, 2037, 1242, 0, 0, 500},
+ {1, 55, 30, 65535, 2064.94f, 1149.08f, -45.0f, 1.0f, 1.0f, 2031, 1115, 2099, 1183, 0, 0, 500},
+ {1, 55, 30, 65535, 2127.94f, 1091.08f, -45.0f, 1.0f, 1.0f, 2094, 1057, 2162, 1125, 0, 0, 500},
+ {1, 55, 30, 65535, 2189.94f, 1033.08f, -45.0f, 1.0f, 1.0f, 2156, 999, 2224, 1067, 0, 0, 500},
+ {1, 55, 30, 65535, 2819.17f, 1243.54f, -45.0f, 1.0f, 1.0f, 2785, 1209, 2853, 1278, 0, 0, 500},
+ {1, 55, 30, 65535, 2742.43f, 1274.88f, 0.0f, 1.0f, 1.0f, 2700, 1268, 2784, 1281, 0, 0, 500},
+ {1, 55, 30, 65535, 3134.6f, 1278.41f, -45.0f, 1.0f, 1.0f, 3101, 1244, 3169, 1312, 0, 0, 500},
+ {1, 55, 30, 65535, 3292.27f, 1183.41f, -45.0f, 1.0f, 1.0f, 3258, 1149, 3326, 1217, 0, 0, 500},
+ {0, 74, 0, 65535, 3179.09f, 1651.55f, 270.0f, 1.34252f, 4.26828f, 2028, 1483, 4407, 1819, 0, 0, -1},
+ {0, 74, 0, 65535, 1.27956f, 1498.99f, 270.0f, 1.0f, 1.17002f, -315, 1373, 338, 1623, 0, 0, -1},
+ {0, 74, 0, 79, 2298.31f, 1903.8f, 0.0f, 1.53839f, 1.32896f, 2107, 1545, 2491, 2286, 0, 0, -1},
+ {0, 74, 0, 65535, 876.447f, 1652.22f, 270.0f, 1.33417f, 4.62521f, -371, 1485, 2207, 1818, 0, 0, -1},
+ {0, 68, 0, 65535, 450.343f, 1435.27f, 180.0f, 0.474305f, -0.49489f, 336, 1371, 565, 1499, 0, 0, -1},
+ {0, 68, 0, 65535, 1257.84f, 1435.83f, 180.0f, 0.464113f, -0.464113f, 1146, 1375, 1370, 1496, 0, 0, -1},
+ {0, 68, 0, 65535, 1035.26f, 1435.84f, 0.0f, 0.464113f, 0.464113f, 923, 1375, 1147, 1496, 0, 0, -1},
+ {0, 68, 0, 65535, 1818.26f, 1435.83f, 0.0f, 0.464112f, 0.464113f, 1706, 1375, 1930, 1496, 0, 0, -1},
+ {0, 68, 0, 65535, 2040.84f, 1435.83f, 180.0f, 0.464112f, -0.464113f, 1929, 1375, 2153, 1496, 0, 0, -1},
+ {0, 68, 0, 65535, 2586.26f, 1435.83f, 0.0f, 0.464112f, 0.464113f, 2474, 1375, 2698, 1496, 0, 0, -1},
+ {0, 68, 0, 65535, 2808.84f, 1435.83f, 180.0f, 0.464112f, -0.464113f, 2697, 1375, 2921, 1496, 0, 0, -1},
+ {0, 80, 0, 65535, -170.653f, 1378.35f, -78.0736f, 1.0f, 1.0f, -539, 1274, 195, 1493, 0, 0, -1},
+ {0, 80, 0, 65535, 4375.15f, 1470.57f, 264.36f, 1.0f, 1.0f, 4006, 1405, 4745, 1546, 0, 0, -1},
+ {5, 255, 0, 65535, 3812.73f, 1417.49f, 0.0f, 162.0f, 90.0f, 3731, 1372, 3894, 1463, 0, 0, -1},
+ {1, 11, 0, 65535, 115.293f, 1372.0f, 3.55271e-15f, 1.58544f, 1.0f, -108, 1366, 339, 1378, 0, 0, -1},
+ {1, 47, 0, 80, 784.706f, 1272.18f, 18.0f, 1.00235f, 1.0f, 558, 1099, 985, 1487, 0, 0, -1},
+ {2, 2, 0, 81, 1541.67f, 1309.52f, 0.0f, 0.581059f, 0.581059f, 1356, 1177, 1728, 1443, 0, 0, -1},
+ {2, 1, 0, 82, 917.542f, 1297.71f, 0.0f, 0.219905f, 0.219905f, 846, 1227, 989, 1368, 0, 0, -1},
+ {1, 11, 0, 65535, 3792.29f, 1482.5f, 3.55271e-15f, 1.58544f, 1.0f, 3569, 1476, 4016, 1489, 0, 0, -1},
+ {1, 47, 0, 83, 1554.71f, 1272.18f, 18.0f, 1.00235f, 1.0f, 1328, 1099, 1755, 1487, 0, 0, -1},
+ {1, 47, 0, 84, 2319.71f, 1272.18f, 18.0f, 1.00235f, 1.0f, 2093, 1099, 2520, 1487, 0, 0, -1},
+ {1, 47, 0, 85, 3088.71f, 1272.18f, 18.0f, 1.00235f, 1.0f, 2862, 1099, 3289, 1487, 0, 0, -1},
+ {1, 37, 0, 65535, 457.052f, 1427.5f, 0.0f, -1.0f, 1.0f, 336, 1366, 578, 1489, 0, 0, -1},
+ {1, 37, 0, 65535, 1265.05f, 1427.5f, 0.0f, -1.0f, 1.0f, 1144, 1366, 1386, 1489, 0, 0, -1},
+ {1, 37, 0, 65535, 1027.05f, 1427.5f, 0.0f, 1.0f, 1.0f, 906, 1366, 1148, 1489, 0, 0, -1},
+ {1, 37, 0, 65535, 1808.05f, 1427.5f, 0.0f, 1.0f, 1.0f, 1687, 1366, 1929, 1489, 0, 0, -1},
+ {1, 37, 0, 65535, 2046.05f, 1427.5f, 0.0f, -1.0f, 1.0f, 1925, 1366, 2167, 1489, 0, 0, -1},
+ {1, 37, 0, 65535, 2814.05f, 1427.5f, 0.0f, -1.0f, 1.0f, 2693, 1366, 2935, 1489, 0, 0, -1},
+ {1, 37, 0, 65535, 2576.05f, 1427.5f, 0.0f, 1.0f, 1.0f, 2455, 1366, 2697, 1489, 0, 0, -1},
+ {1, 11, 0, 65535, 741.501f, 1482.5f, 0.0f, 1.17797f, 1.0f, 575, 1476, 908, 1489, 0, 0, -1},
+ {1, 11, 0, 65535, 1540.27f, 1482.5f, 0.0f, 1.16922f, 1.0f, 1375, 1476, 1705, 1489, 0, 0, -1},
+ {1, 11, 0, 65535, 2311.39f, 1482.5f, 0.0f, 1.0343f, 1.0f, 2166, 1476, 2457, 1489, 0, 0, -1},
+ {1, 11, 0, 65535, 3104.6f, 1482.5f, 0.0f, 1.20956f, 1.0f, 2934, 1476, 3275, 1489, 0, 0, -1},
+ {1, 11, 0, 65535, 3421.89f, 1482.5f, 0.0f, 1.0526f, 1.0f, 3274, 1476, 3570, 1489, 0, 0, -1},
+ {2, 0, 0, 86, 2298.38f, 1517.25f, 0.0f, 1.0f, 1.0f, 2105, 1485, 2490, 1549, 0, 0, -1},
+ {2, 3, 0, 87, 3225.21f, 1305.06f, -270.0f, 0.524398f, 0.524398f, 3171, 1273, 3280, 1337, 0, 0, -1},
+ {2, 3, 0, 88, 3076.21f, 1449.06f, 0.0f, 0.524398f, 0.524398f, 3044, 1395, 3108, 1503, 0, 0, -1},
+ {2, 3, 0, 89, 2929.21f, 1305.07f, -270.0f, 0.524398f, 0.524398f, 2875, 1273, 2984, 1337, 0, 0, -1},
+ {2, 3, 0, 90, 3076.21f, 1162.06f, 0.0f, 0.524398f, 0.524398f, 3044, 1108, 3108, 1216, 0, 0, -1},
+ {0, 74, 0, 65535, 1466.67f, 1670.24f, 270.0f, 1.0f, 5.86131f, -113, 1545, 3152, 1795, 0, 0, -1},
+ {0, 70, 0, 65535, 526.066f, 1835.02f, 0.0f, 1.0f, 1.46267f, 437, 1319, 615, 2393, 0, 0, -1},
+ {0, 70, 0, 65535, 968.674f, 1763.51f, 0.0f, 0.536352f, 1.47579f, 920, 1243, 1016, 2326, 0, 0, -1},
+ {0, 70, 0, 65535, 1123.11f, 1461.79f, 0.0f, 0.536352f, 1.47579f, 1075, 941, 1171, 2025, 0, 0, -1},
+ {0, 70, 0, 65535, 1282.63f, 1166.91f, 0.0f, 0.536352f, 1.47579f, 1234, 646, 1330, 1730, 0, 0, -1},
+ {0, 70, 0, 65535, 1556.56f, 1166.91f, 0.0f, 0.536352f, 1.47579f, 1508, 646, 1604, 1730, 0, 0, -1},
+ {0, 70, 0, 65535, 1792.56f, 1166.91f, 0.0f, 0.536352f, 1.47579f, 1744, 646, 1840, 1730, 0, 0, -1},
+ {0, 70, 0, 65535, 2032.56f, 1255.91f, 0.0f, 0.536352f, 1.47579f, 1984, 735, 2080, 1819, 0, 0, -1},
+ {0, 70, 0, 65535, 2271.56f, 1347.91f, 0.0f, 0.536352f, 1.47579f, 2223, 827, 2319, 1911, 0, 0, -1},
+ {0, 74, 0, 65535, 2981.74f, 1547.55f, 270.0f, 3.44251f, 1.94022f, 2458, 1117, 3540, 1975, 0, 0, -1},
+ {0, 80, 0, 65535, 667.749f, 1727.58f, -11.4879f, 0.678775f, 1.0f, 568, 1363, 761, 2093, 0, 0, -1},
+ {0, 80, 0, 65535, 1040.83f, 1712.06f, -6.59382f, 0.678774f, 1.0f, 972, 1344, 1103, 2080, 0, 0, -1},
+ {0, 80, 0, 65535, 1189.84f, 1431.78f, -6.59382f, 0.823925f, 1.0f, 1115, 1063, 1256, 1801, 0, 0, -1},
+ {0, 80, 0, 65535, 1363.18f, 1264.37f, -6.59382f, 0.823926f, 1.34057f, 1274, 772, 1444, 1757, 0, 0, -1},
+ {0, 80, 0, 65535, 1638.28f, 1246.0f, -6.59382f, 0.823926f, 1.34057f, 1549, 753, 1719, 1739, 0, 0, -1},
+ {0, 80, 0, 65535, 1873.29f, 1247.0f, -6.59382f, 0.823926f, 1.34057f, 1784, 754, 1954, 1740, 0, 0, -1},
+ {0, 80, 0, 65535, 2113.29f, 1345.0f, -6.59382f, 0.823926f, 1.34057f, 2024, 852, 2194, 1838, 0, 0, -1},
+ {0, 80, 0, 65535, 2352.29f, 1434.0f, -6.59382f, 0.823926f, 1.34057f, 2263, 941, 2433, 1927, 0, 0, -1},
+ {0, 80, 0, 65535, 1057.84f, 1581.78f, 186.594f, 0.823926f, -1.0f, 991, 1213, 1133, 1951, 0, 0, -1},
+ {0, 80, 0, 65535, 1217.84f, 1357.78f, 186.594f, 0.823926f, -1.0f, 1151, 989, 1293, 1727, 0, 0, -1},
+ {0, 80, 0, 65535, 1488.84f, 1345.78f, 186.594f, 0.823926f, -1.0f, 1422, 977, 1564, 1715, 0, 0, -1},
+ {0, 80, 0, 65535, 1727.84f, 1262.78f, 186.594f, 0.823926f, -1.0f, 1661, 894, 1803, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 1961.84f, 1358.78f, 186.594f, 0.823926f, -1.0f, 1895, 990, 2037, 1728, 0, 0, -1},
+ {0, 80, 0, 65535, 2243.4f, 1448.77f, 179.673f, 0.823926f, -1.0f, 2210, 1080, 2278, 1816, 0, 0, -1},
+ {0, 74, 0, 65535, 1863.86f, 1427.94f, 270.0f, 1.43381f, 2.37716f, 1223, 1248, 2548, 1606, 0, 0, -1},
+ {0, 80, 0, 65535, 1557.93f, 1244.57f, 269.93f, 1.58537f, 0.883007f, 1233, 1183, 1883, 1307, 0, 0, -1},
+ {0, 80, 0, 65535, 942.561f, 1566.4f, 269.93f, 1.58537f, 0.92598f, 601, 1505, 1283, 1629, 0, 0, -1},
+ {0, 80, 0, 65535, -241.362f, 1436.02f, -56.6861f, 1.58537f, 0.92598f, -561, 1210, 68, 1675, 0, 0, -1},
+ {0, 74, 0, 65535, -366.644f, 1582.2f, 303.841f, 1.4128f, 1.21852f, -737, 1252, 22, 1923, 0, 0, -1},
+ {0, 80, 0, 65535, 2137.93f, 1244.57f, 269.93f, 1.58537f, 0.883007f, 1813, 1183, 2463, 1307, 0, 0, -1},
+ {0, 80, 0, 65535, 3210.52f, 1105.73f, 260.212f, 1.58537f, 0.883007f, 2882, 1005, 3541, 1222, 0, 0, -1},
+ {5, 255, 0, 65535, 2699.03f, 1055.06f, 0.0f, 162.0f, 90.0f, 2618, 1010, 2781, 1101, 0, 0, -1},
+ {1, 11, 0, 65535, 2678.65f, 1111.0f, 0.0f, 1.58544f, 1.0f, 2455, 1105, 2902, 1117, 0, 0, -1},
+ {1, 11, 0, 65535, 234.293f, 1544.56f, 3.55271e-15f, 1.58544f, 1.0f, 11, 1538, 458, 1551, 0, 0, -1},
+ {1, 11, 0, 65535, 968.37f, 1358.63f, -70.0f, 1.0f, 1.0f, 914, 1224, 1023, 1493, 0, 0, -1},
+ {1, 11, 0, 65535, 1121.66f, 1063.44f, -70.0f, 1.0f, 1.0f, 1067, 929, 1176, 1198, 0, 0, -1},
+ {1, 11, 0, 65535, 1278.26f, 768.759f, -70.0f, 1.0f, 1.0f, 1224, 634, 1332, 903, 0, 0, -1},
+ {1, 11, 0, 65535, 531.204f, 1430.32f, -55.9625f, 1.0f, 1.0f, 447, 1310, 615, 1551, 0, 0, -1},
+ {1, 11, 0, 65535, 1553.65f, 770.162f, -70.0f, 1.0f, 1.0f, 1499, 636, 1608, 905, 0, 0, -1},
+ {1, 11, 0, 65535, 1788.49f, 769.321f, -70.0f, 1.0f, 1.0f, 1734, 635, 1843, 904, 0, 0, -1},
+ {1, 11, 0, 65535, 2027.29f, 862.637f, -70.0f, 1.0f, 1.0f, 1973, 728, 2081, 997, 0, 0, -1},
+ {1, 11, 0, 65535, 2266.7f, 951.274f, -70.0f, 1.0f, 1.0f, 2213, 817, 2321, 1086, 0, 0, -1},
+ {0, 74, 0, 65535, 258.796f, 1637.5f, 0.0f, 2.27363f, 1.0f, -24, 1368, 544, 1925, 0, 0, -1},
+ {0, 74, 0, 65535, 1072.0f, 1653.36f, 0.0f, 4.48f, 1.06859f, 516, 1365, 1632, 1961, 0, 0, -1},
+ {0, 70, 0, 65535, 518.5f, 1612.5f, 0.0f, 1.0f, 1.0f, 429, 1260, 607, 1994, 0, 0, -1},
+ {0, 67, 0, 65535, 1701.83f, 1514.5f, 0.0f, 1.29654f, 1.87662f, 1602, 1369, 1802, 1660, 0, 0, -1},
+ {0, 70, 0, 65535, 934.5f, 1612.5f, 0.0f, 1.0f, 1.0f, 845, 1260, 1023, 1994, 0, 0, -1},
+ {0, 70, 0, 65535, 1354.5f, 1612.5f, 0.0f, 1.0f, 1.0f, 1265, 1260, 1443, 1994, 0, 0, -1},
+ {0, 70, 0, 65535, 698.0f, 1612.5f, 0.0f, -1.06215f, 1.0f, 604, 1260, 793, 1994, 0, 0, -1},
+ {0, 70, 0, 65535, 1114.0f, 1612.5f, 0.0f, -1.06215f, 1.0f, 1020, 1260, 1209, 1994, 0, 0, -1},
+ {0, 70, 0, 65535, 1536.0f, 1612.5f, 0.0f, -1.08475f, 1.0f, 1440, 1260, 1633, 1994, 0, 0, -1},
+ {0, 72, 0, 91, 1661.5f, 813.5f, 0.0f, 1.0f, -1.0f, 1543, 462, 1779, 1138, 0, 0, -1},
+ {0, 72, 0, 92, 1244.5f, 813.5f, 0.0f, 1.0f, -1.0f, 1126, 462, 1362, 1138, 0, 0, -1},
+ {0, 72, 0, 93, 828.5f, 813.5f, 0.0f, 1.0f, -1.0f, 710, 462, 946, 1138, 0, 0, -1},
+ {0, 67, 0, 65535, 1976.31f, 1515.06f, 0.0f, 2.83453f, 1.87662f, 1758, 1369, 2195, 1661, 0, 0, -1},
+ {0, 67, 0, 65535, 2784.53f, 1535.05f, 0.0f, 1.50626f, 1.87662f, 2668, 1389, 2901, 1681, 0, 0, -1},
+ {0, 67, 0, 65535, 3979.54f, 1704.23f, 0.0f, 14.2196f, 1.87662f, 2884, 1558, 5075, 1850, 0, 0, -1},
+ {0, 67, 0, 65535, 2408.49f, 1678.09f, 0.0f, 4.36253f, 1.87662f, 2072, 1532, 2745, 1824, 0, 0, -1},
+ {0, 74, 0, 65535, -220.072f, 1487.29f, 0.0f, 2.66301f, 0.843279f, -551, 1260, 113, 1730, 0, 0, -1},
+ {0, 68, 0, 65535, 228.199f, 1323.62f, 180.0f, 0.502081f, -0.489299f, 107, 1260, 349, 1387, 0, 0, -1},
+ {0, 64, 0, 65535, 1932.83f, 1191.96f, 0.0f, 1.0f, 1.0f, 1792, 1001, 2073, 1384, 0, 0, -1},
+ {0, 64, 0, 65535, 2259.54f, 1353.07f, 180.0f, 1.0f, -1.0f, 2119, 1162, 2400, 1545, 0, 0, -1},
+ {0, 64, 0, 65535, 2539.58f, 1467.17f, 450.0f, 0.571834f, -0.712812f, 2403, 1387, 2677, 1548, 0, 0, -1},
+ {0, 80, 0, 65535, 2080.18f, 1350.03f, -4.42765f, 0.489802f, 0.66805f, 2042, 1104, 2114, 1596, 0, 0, -1},
+ {0, 80, 0, 65535, 2102.94f, 1452.83f, 185.643f, 0.489803f, 0.668049f, 2064, 1207, 2147, 1700, 0, 0, -1},
+ {0, 80, 0, 65535, 3010.01f, 1611.31f, -40.5863f, 1.75603f, 0.668049f, 2798, 1391, 3209, 1843, 0, 0, -1},
+ {0, 80, 0, 65535, 2783.19f, 1408.28f, 270.662f, 0.795352f, 0.309392f, 2668, 1376, 2897, 1441, 0, 0, -1},
+ {0, 80, 0, 65535, 3253.26f, 1554.06f, 270.662f, 0.795353f, 0.724543f, 2986, 1521, 3520, 1589, 0, 0, -1},
+ {0, 80, 0, 65535, 3735.92f, 1526.07f, 261.7f, 0.795353f, 0.724544f, 3469, 1464, 4004, 1596, 0, 0, -1},
+ {0, 80, 0, 65535, 4318.93f, 1513.18f, 274.455f, 0.795353f, 0.913302f, 3981, 1462, 4655, 1571, 0, 0, -1},
+ {0, 80, 0, 65535, 4788.47f, 1539.57f, 268.905f, 0.795353f, 0.913302f, 4452, 1505, 5125, 1578, 0, 0, -1},
+ {0, 67, 0, 65535, 3887.88f, 1678.44f, -9.12715f, 2.10992f, 1.87662f, 3704, 1509, 4072, 1848, 0, 0, -1},
+ {0, 67, 0, 65535, 4287.62f, 1676.91f, 4.51644f, 3.99801f, 1.87662f, 3969, 1507, 4606, 1845, 0, 0, -1},
+ {0, 80, 0, 65535, -296.55f, 1275.52f, 270.662f, 0.795353f, 0.724544f, -564, 1243, -30, 1310, 0, 0, -1},
+ {1, 13, 0, 65535, 422.0f, 1368.0f, 0.0f, 1.02128f, 1.0f, 350, 1362, 494, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 1674.67f, 1368.0f, 0.0f, 1.69267f, 1.0f, 1555, 1362, 1794, 1374, 0, 0, -1},
+ {1, 44, 0, 65535, 606.5f, 1309.0f, 0.0f, 1.00412f, 1.0f, 485, 1244, 728, 1374, 0, 0, -1},
+ {1, 44, 0, 65535, 1024.5f, 1309.0f, 0.0f, 1.00412f, 1.0f, 903, 1244, 1146, 1374, 0, 0, -1},
+ {1, 44, 0, 65535, 1442.5f, 1309.0f, 0.0f, 1.00412f, 1.0f, 1321, 1244, 1564, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 816.0f, 1368.0f, 0.0f, 1.02103f, 1.0f, 720, 1362, 912, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1233.33f, 1368.0f, 0.0f, 1.02458f, 1.0f, 1137, 1362, 1330, 1374, 0, 0, -1},
+ {5, 255, 0, 65535, 4196.64f, 1226.19f, 0.0f, 162.0f, 90.0f, 4115, 1181, 4278, 1272, 0, 0, -1},
+ {1, 44, 0, 94, 827.5f, 1085.0f, 0.0f, 1.00412f, -1.0f, 706, 1020, 949, 1150, 0, 0, -1},
+ {1, 44, 0, 95, 1663.5f, 1085.0f, 0.0f, 1.00412f, -1.0f, 1542, 1020, 1785, 1150, 0, 0, -1},
+ {1, 44, 0, 96, 1245.5f, 1085.0f, 0.0f, 1.00412f, -1.0f, 1124, 1020, 1367, 1150, 0, 0, -1},
+ {1, 14, 0, 65535, 1929.56f, 1185.4f, 0.0f, 1.0f, 1.0f, 1790, 996, 2069, 1374, 0, 0, -1},
+ {1, 14, 0, 65535, 2262.56f, 1345.4f, 180.0f, 1.0f, -1.0f, 2124, 1156, 2403, 1534, 0, 0, -1},
+ {1, 15, 0, 65535, 2535.88f, 1460.95f, -333.555f, 1.0f, 1.00394f, 2397, 1383, 2676, 1540, 0, 0, -1},
+ {1, 55, 0, 65535, 2882.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 2841, 1290, 2925, 1303, 0, 0, -1},
+ {1, 55, 30, 65535, 2967.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 2926, 1290, 3010, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3137.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3096, 1290, 3180, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3052.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3011, 1290, 3095, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3392.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3351, 1290, 3435, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3307.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3266, 1290, 3350, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3222.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3181, 1290, 3265, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3477.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3436, 1290, 3520, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3732.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3691, 1290, 3775, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3562.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3521, 1290, 3605, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3647.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3606, 1290, 3690, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3817.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3776, 1290, 3860, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 4242.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 4201, 1290, 4285, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3987.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3946, 1290, 4030, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 4157.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 4116, 1290, 4200, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 4072.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 4031, 1290, 4115, 1303, 0, 0, 80},
+ {1, 55, 30, 65535, 3902.97f, 1296.71f, 0.0f, 1.0f, 1.0f, 3861, 1290, 3945, 1303, 0, 0, 80},
+ {1, 37, 0, 65535, 230.762f, 1313.0f, 180.0f, 1.0f, -1.0f, 110, 1252, 352, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 38.9896f, 1258.18f, 0.0f, 1.02128f, 1.0f, -34, 1252, 111, 1265, 0, 0, -1},
+ {1, 11, 0, 97, 711.564f, 808.768f, 90.0f, 1.56425f, 1.0f, 705, 588, 718, 1029, 0, 0, -1},
+ {1, 11, 0, 98, 942.564f, 808.768f, 90.0f, 1.56425f, 1.0f, 936, 588, 949, 1029, 0, 0, -1},
+ {1, 11, 0, 99, 1130.56f, 808.768f, 90.0f, 1.56425f, 1.0f, 1124, 588, 1137, 1029, 0, 0, -1},
+ {1, 11, 0, 100, 1360.56f, 808.768f, 90.0f, 1.56425f, 1.0f, 1354, 588, 1367, 1029, 0, 0, -1},
+ {1, 11, 0, 101, 1547.56f, 808.768f, 90.0f, 1.56425f, 1.0f, 1541, 588, 1554, 1029, 0, 0, -1},
+ {1, 11, 0, 102, 1778.56f, 808.768f, 90.0f, 1.56425f, 1.0f, 1772, 588, 1785, 1029, 0, 0, -1},
+ {0, 74, 0, 65535, 1893.52f, 1713.21f, 270.0f, 1.0f, 8.01837f, -268, 1588, 4199, 1838, 0, 0, -1},
+ {0, 74, 0, 65535, 3142.49f, 1639.15f, 270.0f, 1.0f, 2.16124f, 2560, 1514, 3764, 1764, 0, 0, -1},
+ {0, 74, 0, 65535, 3818.72f, 1426.37f, 180.0f, 3.2145f, 2.16124f, 3416, 805, 4218, 2009, 0, 0, -1},
+ {0, 74, 0, 65535, -293.807f, 1595.48f, 135.272f, 3.2145f, 2.16124f, -1016, 873, 400, 2293, 0, 0, -1},
+ {0, 80, 0, 65535, 3427.62f, 1173.22f, 180.0f, 1.0f, -1.0f, 3389, 805, 3467, 1541, 0, 0, -1},
+ {0, 80, 0, 65535, 3331.83f, 1470.76f, 208.582f, 2.06201f, -1.0f, 3103, 1119, 3579, 1832, 0, 0, -1},
+ {0, 80, 0, 65535, 3394.77f, 1477.11f, -106.347f, 1.98355f, 1.0f, 3025, 1318, 3769, 1655, 0, 0, -1},
+ {0, 80, 0, 65535, 2211.06f, 1550.26f, -90.0f, 1.0f, -1.0f, 1844, 1511, 2580, 1590, 0, 0, -1},
+ {0, 80, 0, 65535, 1494.15f, 1616.61f, 259.408f, 1.0f, -1.0f, 1128, 1520, 1864, 1723, 0, 0, -1},
+ {0, 74, 0, 65535, 497.107f, 1766.42f, -180.0f, 3.05995f, 0.864082f, 114, 1517, 877, 2000, 0, 0, -1},
+ {0, 74, 0, 65535, 999.975f, 1585.82f, -225.264f, 1.2222f, 0.740869f, 741, 1328, 1249, 1835, 0, 0, -1},
+ {0, 64, 0, 65535, 451.915f, 1431.05f, -270.0f, 0.677617f, 0.706905f, 316, 1336, 587, 1526, 0, 0, -1},
+ {0, 80, 0, 65535, 1223.92f, 1601.94f, -90.0f, 1.0f, -1.0f, 856, 1563, 1592, 1641, 0, 0, -1},
+ {0, 80, 0, 65535, -9.87529f, 1277.41f, -405.452f, 1.0f, -1.01592f, -303, 995, 277, 1568, 0, 0, -1},
+ {0, 74, 0, 65535, 1030.84f, 1498.74f, -196.081f, 0.543616f, 0.40377f, 933, 1368, 1126, 1623, 0, 0, -1},
+ {0, 73, 0, 65535, 1214.02f, 1772.93f, 0.0f, 1.0f, 1.0f, 1102, 1478, 1326, 2082, 0, 0, -1},
+ {0, 80, 0, 65535, 1500.29f, 1801.59f, -391.927f, 1.0f, -1.0f, 1273, 1474, 1720, 2135, 0, 0, -1},
+ {0, 80, 0, 65535, 1012.26f, 1363.56f, -430.859f, 0.581502f, -0.182565f, 941, 1325, 1082, 1408, 0, 0, -1},
+ {0, 80, 0, 65535, 212.865f, 1753.17f, -159.226f, 1.0f, -1.0f, 55, 1399, 380, 2111, 0, 0, -1},
+ {0, 80, 0, 65535, 4225.27f, 823.105f, -90.0f, 1.0f, -1.0f, 3858, 784, 4594, 863, 0, 0, -1},
+ {5, 255, 0, 65535, 3704.73f, 739.129f, 0.0f, 162.0f, 90.0f, 3623, 694, 3786, 785, 0, 0, -1},
+ {1, 11, 0, 65535, 3641.75f, 800.882f, 0.0f, 1.58544f, 1.0f, 3418, 794, 3865, 807, 0, 0, -1},
+ {1, 11, 0, 65535, 2783.06f, 1510.83f, 3.55271e-15f, 1.58544f, 1.0f, 2560, 1504, 3006, 1517, 0, 0, -1},
+ {1, 48, 0, 103, 2373.67f, 1365.61f, -196.922f, 1.00348f, 1.0f, 2220, 1221, 2511, 1484, 0, 0, -1},
+ {1, 48, 0, 65535, 2693.67f, 1365.61f, -195.732f, 1.00348f, 1.0f, 2541, 1223, 2831, 1483, 0, 0, -1},
+ {1, 48, 0, 65535, 2053.67f, 1365.61f, -196.922f, 1.00348f, 1.0f, 1900, 1221, 2191, 1484, 0, 0, -1},
+ {1, 14, 0, 65535, 1722.5f, 1377.5f, 0.0f, 1.0f, 1.0f, 1583, 1189, 1861, 1566, 0, 0, -1},
+ {1, 57, 0, 65535, 1568.5f, 1559.5f, 0.0f, 1.0f, 1.0f, 1547, 1553, 1590, 1566, 0, 0, -1},
+ {1, 48, 0, 65535, 1224.33f, 1414.11f, -195.732f, 1.00348f, 1.0f, 1072, 1271, 1362, 1532, 0, 0, -1},
+ {3, 81, 0, 65535, 922.305f, 1351.28f, -45.0f, 1.0f, 1.0f, 888, 1317, 956, 1385, 0, 0, -1},
+ {1, 15, 0, 65535, 452.924f, 1424.81f, -270.0f, 1.0f, 1.00394f, 325, 1331, 580, 1519, 0, 0, -1},
+ {1, 12, 0, 65535, 671.197f, 1512.34f, 0.0f, 1.0f, 1.0f, 577, 1506, 766, 1519, 0, 0, -1},
+ {1, 12, 0, 65535, 826.655f, 1447.15f, -45.0f, 1.0f, 1.0f, 755, 1376, 898, 1518, 0, 0, -1},
+ {1, 35, 0, 65535, 2382.67f, 713.183f, 0.0f, 1.0f, 1.00433f, 2142, 597, 2624, 830, 0, 0, -1},
+ {1, 37, 0, 65535, 3007.97f, 727.341f, 0.0f, 1.0f, 1.0f, 2887, 666, 3129, 789, 0, 0, -1},
+ {1, 58, 0, 65535, 3111.0f, 1304.5f, 270.0f, 1.00235f, 1.00469f, 3003, 1090, 3218, 1519, 0, 0, -1},
+ {1, 16, 0, 65535, 1446.6f, 1506.96f, -277.451f, 1.0f, 1.00521f, 1342, 1447, 1550, 1565, 0, 0, -1},
+ {1, 11, 0, 65535, 1769.01f, 1020.87f, -320.825f, 1.0f, 1.0f, 1656, 927, 1882, 1115, 0, 0, -1},
+ {0, 74, 0, 65535, 1937.47f, 1696.45f, 270.0f, 1.0f, 8.12465f, -253, 1571, 4274, 1821, 0, 0, -1},
+ {0, 80, 0, 65535, 2358.73f, 1530.42f, 270.0f, 1.12505f, 1.06478f, 1966, 1487, 2750, 1575, 0, 0, -1},
+ {0, 74, 0, 65535, 143.863f, 1634.05f, 270.0f, 1.0f, 1.40627f, -236, 1509, 549, 1759, 0, 0, -1},
+ {0, 74, 0, 65535, 4066.31f, 1603.54f, 270.0f, 1.0f, 1.40627f, 3687, 1478, 4471, 1728, 0, 0, -1},
+ {0, 80, 0, 65535, -259.839f, 1527.4f, 270.0f, 1.0f, 1.0f, -628, 1488, 108, 1567, 0, 0, -1},
+ {0, 80, 0, 65535, 905.748f, 1540.35f, 270.0f, 1.0f, 1.0f, 537, 1501, 1273, 1580, 0, 0, -1},
+ {0, 80, 0, 65535, 905.75f, 1540.35f, 270.0f, 1.0f, 1.0f, 537, 1501, 1273, 1580, 0, 0, -1},
+ {0, 80, 0, 65535, 1627.39f, 1589.75f, -82.1246f, 1.0f, 1.0f, 1257, 1510, 1995, 1679, 0, 0, -1},
+ {0, 80, 0, 65535, 1627.39f, 1589.75f, -82.1246f, 1.0f, 1.0f, 1257, 1510, 1995, 1679, 0, 0, -1},
+ {0, 80, 0, 65535, 1621.82f, 1598.46f, 258.515f, 1.0f, 1.0f, 1255, 1496, 1990, 1710, 0, 0, -1},
+ {0, 80, 0, 65535, 1624.14f, 1609.85f, 258.515f, 1.29814f, 1.0f, 1256, 1499, 1994, 1733, 0, 0, -1},
+ {0, 80, 0, 65535, 3219.34f, 1531.94f, 270.0f, 1.12505f, 1.28404f, 2746, 1488, 3691, 1576, 0, 0, -1},
+ {0, 80, 0, 65535, 4600.71f, 1505.12f, 270.0f, 1.12505f, 1.28404f, 4128, 1461, 5072, 1549, 0, 0, -1},
+ {5, 255, 0, 65535, 3853.58f, 1417.7f, 0.0f, 162.0f, 90.0f, 3772, 1372, 3935, 1463, 0, 0, -1},
+ {1, 11, 0, 65535, 3910.48f, 1478.38f, 0.0f, 1.58544f, 1.0f, 3687, 1472, 4134, 1485, 0, 0, -1},
+ {1, 11, 0, 65535, 327.915f, 1508.02f, 3.55271e-15f, 1.58544f, 1.0f, 105, 1502, 551, 1515, 0, 0, -1},
+ {1, 57, 0, 65535, 555.993f, 1492.58f, -61.0089f, 1.0f, 1.0f, 540, 1471, 572, 1514, 0, 0, -1},
+ {1, 57, 0, 65535, 581.705f, 1477.12f, -361.009f, 1.0f, 1.0f, 560, 1470, 603, 1484, 0, 0, -1},
+ {1, 57, 0, 65535, 633.988f, 1445.7f, -361.009f, 1.0f, 1.0f, 612, 1439, 656, 1453, 0, 0, -1},
+ {1, 57, 0, 65535, 608.275f, 1461.15f, -61.0089f, 1.0f, 1.0f, 592, 1439, 624, 1483, 0, 0, -1},
+ {1, 57, 0, 65535, 685.411f, 1414.78f, -361.009f, 1.0f, 1.0f, 664, 1408, 707, 1422, 0, 0, -1},
+ {1, 57, 0, 65535, 659.698f, 1430.24f, -61.0089f, 1.0f, 1.0f, 644, 1408, 676, 1452, 0, 0, -1},
+ {1, 57, 0, 65535, 737.693f, 1383.36f, -361.009f, 1.0f, 1.0f, 716, 1376, 759, 1390, 0, 0, -1},
+ {1, 57, 0, 65535, 711.98f, 1398.81f, -61.0089f, 1.0f, 1.0f, 696, 1377, 728, 1421, 0, 0, -1},
+ {1, 57, 0, 65535, 789.975f, 1351.93f, -361.009f, 1.0f, 1.0f, 768, 1345, 812, 1359, 0, 0, -1},
+ {1, 57, 0, 65535, 764.263f, 1367.39f, -61.0089f, 1.0f, 1.0f, 748, 1346, 780, 1389, 0, 0, -1},
+ {1, 57, 0, 65535, 841.401f, 1321.02f, -361.009f, 1.0f, 1.0f, 820, 1314, 863, 1328, 0, 0, -1},
+ {1, 57, 0, 65535, 815.688f, 1336.48f, -61.0089f, 1.0f, 1.0f, 800, 1315, 832, 1358, 0, 0, -1},
+ {1, 57, 0, 65535, 892.826f, 1290.11f, -361.009f, 1.0f, 1.0f, 871, 1283, 914, 1297, 0, 0, -1},
+ {1, 57, 0, 65535, 867.113f, 1305.57f, -61.0089f, 1.0f, 1.0f, 851, 1284, 883, 1327, 0, 0, -1},
+ {1, 57, 0, 65535, 997.995f, 1227.03f, -361.009f, 1.0f, 1.0f, 976, 1220, 1020, 1234, 0, 0, -1},
+ {1, 57, 0, 65535, 1049.42f, 1196.11f, -361.009f, 1.0f, 1.0f, 1028, 1189, 1071, 1203, 0, 0, -1},
+ {1, 57, 0, 65535, 945.712f, 1258.45f, -361.009f, 1.0f, 1.0f, 924, 1252, 967, 1265, 0, 0, -1},
+ {1, 57, 0, 65535, 1023.7f, 1211.57f, -61.0089f, 1.0f, 1.0f, 1008, 1190, 1040, 1233, 0, 0, -1},
+ {1, 57, 0, 65535, 1128.27f, 1148.72f, -61.0089f, 1.0f, 1.0f, 1112, 1127, 1144, 1170, 0, 0, -1},
+ {1, 57, 0, 65535, 1179.69f, 1117.81f, -61.0089f, 1.0f, 1.0f, 1164, 1096, 1196, 1140, 0, 0, -1},
+ {1, 57, 0, 65535, 1205.41f, 1102.35f, -361.009f, 1.0f, 1.0f, 1184, 1095, 1227, 1109, 0, 0, -1},
+ {1, 57, 0, 65535, 1075.99f, 1180.14f, -61.0089f, 1.0f, 1.0f, 1060, 1158, 1092, 1202, 0, 0, -1},
+ {1, 57, 0, 65535, 972.281f, 1242.48f, -61.0089f, 1.0f, 1.0f, 956, 1221, 988, 1264, 0, 0, -1},
+ {1, 57, 0, 65535, 1101.7f, 1164.69f, -361.009f, 1.0f, 1.0f, 1080, 1158, 1123, 1172, 0, 0, -1},
+ {1, 57, 0, 65535, 1153.98f, 1133.26f, -361.009f, 1.0f, 1.0f, 1132, 1126, 1176, 1140, 0, 0, -1},
+ {1, 57, 0, 65535, 1231.12f, 1086.9f, -61.0089f, 1.0f, 1.0f, 1215, 1065, 1247, 1109, 0, 0, -1},
+ {1, 57, 0, 65535, 1256.83f, 1071.44f, -361.009f, 1.0f, 1.0f, 1235, 1065, 1278, 1078, 0, 0, -1},
+ {1, 57, 0, 65535, 919.999f, 1273.91f, -61.0089f, 1.0f, 1.0f, 904, 1252, 936, 1296, 0, 0, -1},
+ {1, 57, 0, 65535, 1404.03f, 1223.29f, -659.028f, 1.0f, 1.0f, 1388, 1202, 1420, 1245, 0, 0, -1},
+ {1, 57, 0, 65535, 1455.48f, 1254.17f, -659.028f, 1.0f, 1.0f, 1440, 1232, 1471, 1276, 0, 0, -1},
+ {1, 57, 0, 65535, 1351.73f, 1191.9f, -659.028f, 1.0f, 1.0f, 1336, 1170, 1368, 1214, 0, 0, -1},
+ {1, 57, 0, 65535, 1429.75f, 1238.72f, -359.028f, 1.0f, 1.0f, 1408, 1232, 1451, 1246, 0, 0, -1},
+ {1, 57, 0, 65535, 1534.36f, 1301.51f, -359.028f, 1.0f, 1.0f, 1513, 1295, 1556, 1308, 0, 0, -1},
+ {1, 57, 0, 65535, 1585.8f, 1332.39f, -359.028f, 1.0f, 1.0f, 1564, 1326, 1607, 1339, 0, 0, -1},
+ {1, 57, 0, 65535, 1611.53f, 1347.83f, -659.028f, 1.0f, 1.0f, 1596, 1326, 1627, 1370, 0, 0, -1},
+ {1, 57, 0, 65535, 1482.06f, 1270.12f, -359.028f, 1.0f, 1.0f, 1460, 1263, 1504, 1277, 0, 0, -1},
+ {1, 57, 0, 65535, 1378.31f, 1207.85f, -359.028f, 1.0f, 1.0f, 1357, 1201, 1400, 1215, 0, 0, -1},
+ {1, 57, 0, 65535, 1507.78f, 1285.56f, -659.028f, 1.0f, 1.0f, 1492, 1264, 1524, 1307, 0, 0, -1},
+ {1, 57, 0, 65535, 1560.09f, 1316.95f, -659.028f, 1.0f, 1.0f, 1544, 1295, 1576, 1339, 0, 0, -1},
+ {1, 57, 0, 65535, 1637.25f, 1363.27f, -359.028f, 1.0f, 1.0f, 1616, 1356, 1659, 1370, 0, 0, -1},
+ {1, 57, 0, 65535, 1662.98f, 1378.7f, -659.028f, 1.0f, 1.0f, 1647, 1357, 1679, 1400, 0, 0, -1},
+ {1, 57, 0, 65535, 1326.0f, 1176.46f, -359.028f, 1.0f, 1.0f, 1304, 1170, 1348, 1183, 0, 0, -1},
+ {1, 57, 0, 65535, 1738.26f, 1465.04f, -735.708f, 1.0f, 1.0f, 1716, 1453, 1761, 1477, 0, 0, -1},
+ {1, 57, 0, 65535, 1780.17f, 1422.08f, -735.708f, 1.0f, 1.0f, 1758, 1410, 1803, 1434, 0, 0, -1},
+ {1, 57, 0, 65535, 1695.67f, 1508.69f, -735.708f, 1.0f, 1.0f, 1673, 1497, 1718, 1521, 0, 0, -1},
+ {1, 57, 0, 65535, 1759.21f, 1443.57f, -435.708f, 1.0f, 1.0f, 1748, 1421, 1771, 1466, 0, 0, -1},
+ {1, 57, 0, 65535, 1844.41f, 1356.24f, -435.708f, 1.0f, 1.0f, 1833, 1334, 1856, 1379, 0, 0, -1},
+ {1, 57, 0, 65535, 1886.3f, 1313.29f, -435.708f, 1.0f, 1.0f, 1875, 1291, 1898, 1336, 0, 0, -1},
+ {1, 57, 0, 65535, 1907.26f, 1291.81f, -735.708f, 1.0f, 1.0f, 1885, 1280, 1930, 1304, 0, 0, -1},
+ {1, 57, 0, 65535, 1801.81f, 1399.9f, -435.708f, 1.0f, 1.0f, 1790, 1378, 1813, 1422, 0, 0, -1},
+ {1, 57, 0, 65535, 1717.31f, 1486.51f, -435.708f, 1.0f, 1.0f, 1706, 1464, 1729, 1509, 0, 0, -1},
+ {1, 57, 0, 65535, 1822.76f, 1378.42f, -735.708f, 1.0f, 1.0f, 1800, 1366, 1845, 1390, 0, 0, -1},
+ {1, 57, 0, 65535, 1865.36f, 1334.76f, -735.708f, 1.0f, 1.0f, 1843, 1323, 1888, 1347, 0, 0, -1},
+ {1, 57, 0, 65535, 1928.21f, 1270.34f, -435.708f, 1.0f, 1.0f, 1917, 1248, 1940, 1293, 0, 0, -1},
+ {1, 57, 0, 65535, 1949.15f, 1248.86f, -735.708f, 1.0f, 1.0f, 1927, 1237, 1971, 1261, 0, 0, -1},
+ {1, 57, 0, 65535, 1674.72f, 1530.17f, -435.708f, 1.0f, 1.0f, 1663, 1508, 1686, 1553, 0, 0, -1},
+ {1, 57, 0, 65535, 2344.59f, 1482.15f, -389.028f, 1.0f, 1.0f, 2323, 1466, 2366, 1498, 0, 0, -1},
+ {1, 57, 0, 65535, 2102.62f, 1478.04f, -389.028f, 1.0f, 1.0f, 2081, 1462, 2124, 1494, 0, 0, -1},
+ {1, 57, 0, 65535, 2132.63f, 1478.55f, -689.028f, 1.0f, 1.0f, 2111, 1462, 2154, 1495, 0, 0, -1},
+ {1, 57, 0, 65535, 2193.62f, 1479.58f, -689.028f, 1.0f, 1.0f, 2172, 1463, 2215, 1496, 0, 0, -1},
+ {1, 57, 0, 65535, 2254.61f, 1480.62f, -689.028f, 1.0f, 1.0f, 2233, 1464, 2276, 1497, 0, 0, -1},
+ {1, 57, 0, 65535, 2224.61f, 1480.12f, -389.028f, 1.0f, 1.0f, 2203, 1464, 2246, 1496, 0, 0, -1},
+ {1, 57, 0, 65535, 2042.63f, 1477.02f, -389.028f, 1.0f, 1.0f, 2021, 1461, 2064, 1493, 0, 0, -1},
+ {1, 57, 0, 65535, 2284.59f, 1481.13f, -389.028f, 1.0f, 1.0f, 2263, 1465, 2306, 1497, 0, 0, -1},
+ {1, 57, 0, 65535, 2374.59f, 1482.65f, -689.028f, 1.0f, 1.0f, 2353, 1466, 2396, 1499, 0, 0, -1},
+ {1, 57, 0, 65535, 2314.6f, 1481.64f, -689.028f, 1.0f, 1.0f, 2293, 1465, 2336, 1498, 0, 0, -1},
+ {1, 57, 0, 65535, 2163.62f, 1479.07f, -389.028f, 1.0f, 1.0f, 2142, 1463, 2185, 1495, 0, 0, -1},
+ {1, 57, 0, 65535, 2072.62f, 1477.54f, -689.028f, 1.0f, 1.0f, 2051, 1461, 2094, 1494, 0, 0, -1},
+ {1, 57, 0, 65535, 1981.65f, 1476.0f, -389.028f, 1.0f, 1.0f, 1960, 1460, 2003, 1492, 0, 0, -1},
+ {1, 57, 0, 65535, 2011.65f, 1476.5f, -689.028f, 1.0f, 1.0f, 1990, 1460, 2033, 1493, 0, 0, -1},
+ {1, 57, 0, 65535, 2719.04f, 1311.57f, -417.207f, 1.0f, 1.0f, 2702, 1290, 2736, 1333, 0, 0, -1},
+ {1, 57, 0, 65535, 2503.81f, 1422.22f, -417.207f, 1.0f, 1.0f, 2487, 1401, 2521, 1444, 0, 0, -1},
+ {1, 57, 0, 65535, 2530.5f, 1408.49f, -717.207f, 1.0f, 1.0f, 2509, 1401, 2552, 1416, 0, 0, -1},
+ {1, 57, 0, 65535, 2584.74f, 1380.6f, -717.207f, 1.0f, 1.0f, 2563, 1373, 2607, 1388, 0, 0, -1},
+ {1, 57, 0, 65535, 2639.0f, 1352.72f, -717.207f, 1.0f, 1.0f, 2617, 1345, 2661, 1360, 0, 0, -1},
+ {1, 57, 0, 65535, 2612.32f, 1366.43f, -417.207f, 1.0f, 1.0f, 2595, 1345, 2629, 1388, 0, 0, -1},
+ {1, 57, 0, 65535, 2450.45f, 1449.65f, -417.207f, 1.0f, 1.0f, 2434, 1428, 2467, 1471, 0, 0, -1},
+ {1, 57, 0, 65535, 2665.67f, 1339.01f, -417.207f, 1.0f, 1.0f, 2649, 1318, 2683, 1360, 0, 0, -1},
+ {1, 57, 0, 65535, 2745.71f, 1297.85f, -717.207f, 1.0f, 1.0f, 2724, 1290, 2767, 1305, 0, 0, -1},
+ {1, 57, 0, 65535, 2692.36f, 1325.27f, -717.207f, 1.0f, 1.0f, 2671, 1318, 2714, 1333, 0, 0, -1},
+ {1, 57, 0, 65535, 2558.07f, 1394.32f, -417.207f, 1.0f, 1.0f, 2541, 1373, 2575, 1416, 0, 0, -1},
+ {1, 57, 0, 65535, 2477.13f, 1435.94f, -717.207f, 1.0f, 1.0f, 2455, 1428, 2499, 1443, 0, 0, -1},
+ {1, 57, 0, 65535, 2396.21f, 1477.53f, -417.207f, 1.0f, 1.0f, 2379, 1456, 2413, 1499, 0, 0, -1},
+ {1, 57, 0, 65535, 2422.89f, 1463.82f, -717.207f, 1.0f, 1.0f, 2401, 1456, 2445, 1471, 0, 0, -1},
+ {1, 57, 0, 65535, 2990.5f, 1000.04f, -441.291f, 1.0f, 1.0f, 2981, 978, 3000, 1022, 0, 0, -1},
+ {1, 57, 0, 65535, 2839.15f, 1188.88f, -441.291f, 1.0f, 1.0f, 2830, 1167, 2849, 1211, 0, 0, -1},
+ {1, 57, 0, 65535, 2857.92f, 1165.45f, -741.291f, 1.0f, 1.0f, 2836, 1152, 2880, 1179, 0, 0, -1},
+ {1, 57, 0, 65535, 2896.06f, 1117.85f, -741.291f, 1.0f, 1.0f, 2874, 1104, 2918, 1132, 0, 0, -1},
+ {1, 57, 0, 65535, 2934.21f, 1070.26f, -741.291f, 1.0f, 1.0f, 2912, 1057, 2956, 1084, 0, 0, -1},
+ {1, 57, 0, 65535, 2915.45f, 1093.67f, -441.291f, 1.0f, 1.0f, 2906, 1072, 2925, 1116, 0, 0, -1},
+ {1, 57, 0, 65535, 2801.63f, 1235.69f, -441.291f, 1.0f, 1.0f, 2792, 1214, 2811, 1258, 0, 0, -1},
+ {1, 57, 0, 65535, 2952.97f, 1046.86f, -441.291f, 1.0f, 1.0f, 2943, 1025, 2963, 1069, 0, 0, -1},
+ {1, 57, 0, 65535, 3009.25f, 976.62f, -741.291f, 1.0f, 1.0f, 2987, 963, 3031, 990, 0, 0, -1},
+ {1, 57, 0, 65535, 2971.73f, 1023.43f, -741.291f, 1.0f, 1.0f, 2949, 1010, 2994, 1037, 0, 0, -1},
+ {1, 57, 0, 65535, 2877.3f, 1141.26f, -441.291f, 1.0f, 1.0f, 2868, 1119, 2887, 1163, 0, 0, -1},
+ {1, 57, 0, 65535, 2820.39f, 1212.29f, -741.291f, 1.0f, 1.0f, 2798, 1199, 2843, 1226, 0, 0, -1},
+ {1, 57, 0, 65535, 2763.49f, 1283.29f, -441.291f, 1.0f, 1.0f, 2754, 1261, 2773, 1305, 0, 0, -1},
+ {1, 57, 0, 65535, 2782.25f, 1259.88f, -741.291f, 1.0f, 1.0f, 2760, 1246, 2804, 1274, 0, 0, -1},
+ {1, 57, 0, 65535, 3324.42f, 1385.43f, -338.798f, 1.0f, 1.0f, 3302, 1372, 3347, 1399, 0, 0, -1},
+ {1, 57, 0, 65535, 3172.79f, 1196.82f, -338.798f, 1.0f, 1.0f, 3151, 1183, 3195, 1211, 0, 0, -1},
+ {1, 57, 0, 65535, 3191.6f, 1220.21f, -638.798f, 1.0f, 1.0f, 3182, 1198, 3201, 1242, 0, 0, -1},
+ {1, 57, 0, 65535, 3229.82f, 1267.75f, -638.798f, 1.0f, 1.0f, 3220, 1246, 3239, 1290, 0, 0, -1},
+ {1, 57, 0, 65535, 3268.03f, 1315.29f, -638.798f, 1.0f, 1.0f, 3258, 1293, 3278, 1337, 0, 0, -1},
+ {1, 57, 0, 65535, 3249.23f, 1291.91f, -338.798f, 1.0f, 1.0f, 3227, 1278, 3271, 1306, 0, 0, -1},
+ {1, 57, 0, 65535, 3135.2f, 1150.06f, -338.798f, 1.0f, 1.0f, 3113, 1136, 3157, 1164, 0, 0, -1},
+ {1, 57, 0, 65535, 3286.82f, 1338.66f, -338.798f, 1.0f, 1.0f, 3265, 1325, 3309, 1352, 0, 0, -1},
+ {1, 57, 0, 65535, 3343.22f, 1408.8f, -638.798f, 1.0f, 1.0f, 3334, 1387, 3353, 1431, 0, 0, -1},
+ {1, 57, 0, 65535, 3305.63f, 1362.05f, -638.798f, 1.0f, 1.0f, 3296, 1340, 3315, 1384, 0, 0, -1},
+ {1, 57, 0, 65535, 3211.02f, 1244.36f, -338.798f, 1.0f, 1.0f, 3189, 1231, 3233, 1258, 0, 0, -1},
+ {1, 57, 0, 65535, 3153.99f, 1173.44f, -638.798f, 1.0f, 1.0f, 3144, 1151, 3164, 1196, 0, 0, -1},
+ {1, 57, 0, 65535, 3096.98f, 1102.53f, -338.798f, 1.0f, 1.0f, 3075, 1089, 3119, 1116, 0, 0, -1},
+ {1, 57, 0, 65535, 3115.78f, 1125.9f, -638.798f, 1.0f, 1.0f, 3106, 1104, 3125, 1148, 0, 0, -1},
+ {1, 57, 0, 65535, 3361.65f, 1423.08f, -363.082f, 1.0f, 1.0f, 3340, 1415, 3383, 1431, 0, 0, -1},
+ {1, 57, 0, 65535, 3415.16f, 1450.25f, -363.082f, 1.0f, 1.0f, 3393, 1443, 3437, 1458, 0, 0, -1},
+ {1, 57, 0, 65535, 3441.91f, 1463.82f, -663.082f, 1.0f, 1.0f, 3425, 1442, 3459, 1485, 0, 0, -1},
+ {1, 57, 0, 65535, 3388.42f, 1436.67f, -663.082f, 1.0f, 1.0f, 3371, 1415, 3405, 1458, 0, 0, -1},
+ {1, 57, 0, 65535, 3524.54f, 1475.05f, -385.768f, 1.0f, 1.0f, 3503, 1460, 3547, 1490, 0, 0, -1},
+ {1, 57, 0, 65535, 3554.46f, 1477.25f, -685.768f, 1.0f, 1.0f, 3533, 1460, 3576, 1495, 0, 0, -1},
+ {1, 57, 0, 65535, 3494.64f, 1472.83f, -685.768f, 1.0f, 1.0f, 3473, 1456, 3516, 1490, 0, 0, -1},
+ {1, 57, 0, 65535, 3464.69f, 1470.62f, -385.768f, 1.0f, 1.0f, 3443, 1456, 3487, 1486, 0, 0, -1},
+ {1, 57, 0, 65535, 3671.81f, 1470.37f, -694.224f, 1.0f, 1.0f, 3650, 1455, 3694, 1485, 0, 0, -1},
+ {1, 57, 0, 65535, 3582.05f, 1477.01f, -394.224f, 1.0f, 1.0f, 3561, 1460, 3603, 1494, 0, 0, -1},
+ {1, 57, 0, 65535, 3611.99f, 1474.79f, -694.224f, 1.0f, 1.0f, 3590, 1460, 3634, 1490, 0, 0, -1},
+ {1, 57, 0, 65535, 3641.9f, 1472.59f, -394.224f, 1.0f, 1.0f, 3621, 1455, 3663, 1490, 0, 0, -1},
+ {0, 74, 0, 65535, 3490.13f, 1598.37f, 270.0f, 1.0f, 2.61301f, 2785, 1473, 4242, 1723, 0, 0, -1},
+ {0, 74, 0, 65535, 1355.78f, 1594.55f, 270.0f, 1.02756f, 5.24211f, -57, 1466, 2863, 1722, 0, 0, -1},
+ {0, 80, 0, 65535, 415.046f, 1139.57f, -13.2427f, 1.07545f, 1.14514f, 277, 722, 542, 1559, 0, 0, -1},
+ {0, 80, 0, 65535, 325.438f, -360.116f, 0.0f, 1.0f, 1.0f, 286, -729, 364, 7, 0, 0, -1},
+ {0, 80, 0, 65535, 325.438f, 372.091f, 0.0f, 1.0f, 1.0f, 286, 4, 364, 740, 0, 0, -1},
+ {0, 80, 0, 65535, 1089.78f, -708.666f, 0.0f, -1.0f, 1.0f, 1051, -1077, 1129, -341, 0, 0, -1},
+ {0, 80, 0, 65535, 1089.78f, 24.5408f, 0.0f, -1.0f, 1.0f, 1051, -344, 1129, 392, 0, 0, -1},
+ {0, 80, 0, 65535, 1090.46f, 757.75f, 0.0f, -1.0f, 1.0f, 1051, 389, 1130, 1125, 0, 0, -1},
+ {0, 74, 0, 65535, 129.151f, 274.912f, 0.0f, 1.44444f, 4.17935f, -50, -852, 310, 1477, 0, 0, -1},
+ {0, 80, 0, 65535, 1148.78f, 24.541f, 0.0f, 1.0f, -1.0f, 1109, -343, 1188, 393, 0, 0, -1},
+ {0, 80, 0, 65535, 1149.46f, 757.75f, 0.0f, 1.0f, -1.0f, 1110, 390, 1188, 1126, 0, 0, -1},
+ {0, 80, 0, 65535, 1148.78f, -708.666f, 0.0f, 1.0f, -1.0f, 1109, -1076, 1188, -340, 0, 0, -1},
+ {0, 80, 0, 65535, 1120.56f, 1136.08f, 90.0f, 0.289403f, 0.159512f, 1062, 1124, 1180, 1148, 0, 0, -1},
+ {0, 70, 0, 65535, 396.93f, 2220.55f, 0.0f, -1.0f, 3.85692f, 308, 860, 486, 3691, 0, 0, -1},
+ {0, 80, 0, 65535, 2857.33f, 1487.48f, 270.129f, 1.0f, -1.0f, 2490, 1449, 3226, 1528, 0, 0, -1},
+ {0, 80, 0, 65535, 2124.12f, 1486.51f, 270.129f, 1.0f, -1.0f, 1757, 1448, 2493, 1527, 0, 0, -1},
+ {0, 80, 0, 65535, 1390.92f, 1484.86f, 270.129f, 1.0f, -1.0f, 1023, 1446, 1759, 1525, 0, 0, -1},
+ {0, 80, 0, 65535, 4322.81f, 1487.85f, 270.129f, 1.0f, -1.0f, 3955, 1449, 4691, 1528, 0, 0, -1},
+ {0, 80, 0, 65535, 3589.61f, 1486.2f, 270.129f, 1.0f, -1.0f, 3222, 1448, 3958, 1527, 0, 0, -1},
+ {0, 64, 0, 65535, 592.593f, 1286.32f, 180.0f, 1.0f, -1.0f, 452, 1095, 733, 1478, 0, 0, -1},
+ {5, 255, 0, 65535, 3812.73f, 1321.49f, 0.0f, 162.0f, 90.0f, 3731, 1276, 3894, 1367, 0, 0, -1},
+ {1, 11, 0, 65535, 3792.29f, 1386.0f, 3.55271e-15f, 1.58544f, 1.0f, 3569, 1380, 4016, 1392, 0, 0, -1},
+ {1, 8, 1, 65535, 885.368f, 678.098f, 0.0f, 1.00457f, 1.0f, 774, 569, 996, 789, 0, 0, -1},
+ {1, 8, 1, 65535, 584.032f, 926.094f, 0.0f, 1.00457f, 1.0f, 473, 817, 695, 1037, 0, 0, -1},
+ {1, 8, 1, 65535, 885.368f, 1158.1f, 0.0f, 1.00457f, 1.0f, 774, 1049, 996, 1269, 0, 0, -1},
+ {1, 14, 0, 65535, 599.762f, 1281.26f, 0.0f, -1.0f, 1.0f, 461, 1092, 740, 1470, 0, 0, -1},
+ {1, 11, 0, 65535, 876.783f, 1463.56f, 0.0f, 1.0f, 1.0f, 736, 1457, 1018, 1470, 0, 0, -1},
+ {1, 8, 0, 65535, 1115.71f, 1509.54f, 0.0f, 1.00457f, 1.0f, 1005, 1400, 1227, 1620, 0, 0, -1},
+ {1, 8, 0, 65535, 1314.07f, 1437.24f, 0.0f, 1.00457f, 1.0f, 1203, 1328, 1425, 1548, 0, 0, -1},
+ {1, 8, 0, 65535, 1499.97f, 1337.66f, 0.0f, 1.00457f, 1.0f, 1389, 1228, 1611, 1448, 0, 0, -1},
+ {1, 8, 0, 65535, 1653.51f, 1198.88f, 0.0f, 1.00457f, 1.0f, 1543, 1089, 1765, 1309, 0, 0, -1},
+ {1, 8, 1, 65535, 584.032f, 446.09f, 0.0f, 1.00457f, 1.0f, 473, 337, 695, 557, 0, 0, -1},
+ {1, 8, 1, 65535, 885.368f, 198.098f, 0.0f, 1.00457f, 1.0f, 774, 89, 996, 309, 0, 0, -1},
+ {1, 8, 1, 65535, 584.032f, -33.91f, 0.0f, 1.00457f, 1.0f, 473, -143, 695, 77, 0, 0, -1},
+ {1, 8, 0, 65535, 1954.17f, 1312.91f, 0.0f, 1.00457f, 1.0f, 1843, 1203, 2065, 1423, 0, 0, -1},
+ {1, 8, 0, 65535, 2414.66f, 1179.21f, 0.0f, 1.00457f, 1.0f, 2304, 1070, 2526, 1290, 0, 0, -1},
+ {1, 8, 0, 65535, 2224.88f, 1268.2f, 0.0f, 1.00457f, 1.0f, 2114, 1159, 2336, 1379, 0, 0, -1},
+ {1, 8, 0, 65535, 2834.97f, 1265.83f, 0.0f, 1.00457f, 1.0f, 2724, 1156, 2946, 1376, 0, 0, -1},
+ {1, 8, 0, 65535, 3084.91f, 1171.1f, 0.0f, 1.00457f, 1.0f, 2974, 1062, 3196, 1282, 0, 0, -1},
+ {1, 8, 0, 65535, 3381.65f, 1301.21f, 0.0f, 1.00457f, 1.0f, 3271, 1192, 3493, 1412, 0, 0, -1},
+ {0, 74, 0, 65535, 4298.06f, 1600.79f, 270.0f, 1.72913f, 1.59967f, 3866, 1384, 4758, 1816, 0, 0, -1},
+ {0, 74, 0, 65535, 1163.78f, 1684.19f, 270.0f, 1.0784f, 5.24211f, -249, 1549, 2671, 1818, 0, 0, -1},
+ {0, 80, 0, 65535, 772.246f, 1554.29f, -90.0f, 1.0f, 1.0f, 404, 1515, 1140, 1594, 0, 0, -1},
+ {0, 74, 0, 65535, 3333.6f, 1691.93f, 270.0f, 1.0f, 3.38366f, 2421, 1566, 4307, 1816, 0, 0, -1},
+ {0, 80, 0, 65535, 1505.41f, 1554.81f, -90.0f, 1.0f, 1.0f, 1137, 1516, 1873, 1594, 0, 0, -1},
+ {0, 80, 0, 65535, 2238.44f, 1554.64f, -90.0f, 1.0f, 1.0f, 1870, 1516, 2606, 1594, 0, 0, -1},
+ {0, 80, 0, 65535, 2970.96f, 1558.93f, -90.0f, 1.0f, 1.0f, 2602, 1520, 3338, 1598, 0, 0, -1},
+ {0, 80, 0, 65535, 3570.22f, 1503.56f, -103.535f, 1.0f, 1.0f, 3206, 1389, 3937, 1628, 0, 0, -1},
+ {0, 74, 0, 65535, 3733.6f, 1706.2f, 257.754f, 1.72912f, 0.8242f, 3470, 1444, 4011, 1963, 0, 0, -1},
+ {0, 80, 0, 65535, 4675.74f, 1408.41f, -90.0f, 1.0f, 1.0f, 4307, 1369, 5043, 1448, 0, 0, -1},
+ {0, 68, 0, 65535, 289.936f, 1505.39f, 0.0f, 0.487601f, 0.495459f, 172, 1441, 407, 1569, 0, 0, -1},
+ {0, 80, 0, 65535, 671.437f, 1697.88f, -410.449f, 1.0f, 1.0f, 362, 1441, 973, 1962, 0, 0, -1},
+ {0, 80, 0, 65535, -378.194f, 1570.42f, -90.0f, 1.0f, 1.0f, -747, 1531, -11, 1610, 0, 0, -1},
+ {5, 255, 0, 65535, 4066.73f, 1317.49f, 0.0f, 162.0f, 90.0f, 3985, 1272, 4148, 1363, 0, 0, -1},
+ {1, 11, 0, 65535, 4093.29f, 1382.0f, 3.55271e-15f, 1.58544f, 1.0f, 3870, 1376, 4317, 1388, 0, 0, -1},
+ {1, 10, 0, 65535, 422.41f, 1488.8f, 0.0f, 1.0f, 1.0f, 363, 1430, 481, 1547, 0, 0, -1},
+ {1, 10, 0, 65535, 524.721f, 1468.5f, 0.0f, 1.0f, 1.0f, 466, 1410, 583, 1527, 0, 0, -1},
+ {1, 10, 0, 65535, 628.629f, 1438.94f, 0.0f, 1.0f, 1.0f, 570, 1380, 687, 1497, 0, 0, -1},
+ {1, 10, 0, 65535, 731.584f, 1403.67f, 0.0f, 1.0f, 1.0f, 673, 1345, 790, 1462, 0, 0, -1},
+ {1, 10, 0, 65535, 825.007f, 1353.15f, 0.0f, 1.0f, 1.0f, 766, 1295, 884, 1412, 0, 0, -1},
+ {1, 10, 0, 65535, 912.709f, 1297.86f, 0.0f, 1.0f, 1.0f, 854, 1239, 971, 1356, 0, 0, -1},
+ {1, 10, 0, 65535, 992.786f, 1233.03f, 0.0f, 1.0f, 1.0f, 934, 1175, 1051, 1292, 0, 0, -1},
+ {1, 10, 0, 65535, 1064.28f, 1157.72f, 0.0f, 1.0f, 1.0f, 1005, 1099, 1123, 1216, 0, 0, -1},
+ {1, 37, 0, 65535, 292.618f, 1493.93f, 0.0f, 1.0f, 1.0f, 172, 1432, 414, 1555, 0, 0, -1},
+ {1, 12, 0, 65535, 79.5f, 1548.38f, 0.0f, 1.0f, 1.0f, -15, 1542, 174, 1555, 0, 0, -1},
+ {1, 10, 0, 65535, 1414.0f, 1284.0f, 0.0f, 1.0f, 1.0f, 1355, 1226, 1472, 1342, 0, 0, -1},
+ {1, 10, 0, 65535, 1494.0f, 1350.0f, 0.0f, 1.0f, 1.0f, 1435, 1292, 1552, 1408, 0, 0, -1},
+ {1, 10, 0, 65535, 1584.0f, 1398.0f, 0.0f, 1.0f, 1.0f, 1525, 1340, 1642, 1456, 0, 0, -1},
+ {1, 10, 0, 65535, 1684.0f, 1434.0f, 0.0f, 1.0f, 1.0f, 1625, 1376, 1742, 1492, 0, 0, -1},
+ {1, 10, 0, 65535, 1787.0f, 1442.0f, 0.0f, 1.0f, 1.0f, 1728, 1384, 1845, 1500, 0, 0, -1},
+ {1, 10, 0, 65535, 1890.0f, 1432.0f, 0.0f, 1.0f, 1.0f, 1831, 1374, 1948, 1490, 0, 0, -1},
+ {1, 10, 0, 65535, 1989.0f, 1402.0f, 0.0f, 1.0f, 1.0f, 1930, 1344, 2047, 1460, 0, 0, -1},
+ {1, 10, 0, 65535, 2081.0f, 1356.0f, 0.0f, 1.0f, 1.0f, 2022, 1298, 2139, 1414, 0, 0, -1},
+ {1, 10, 0, 65535, 2166.0f, 1293.0f, 0.0f, 1.0f, 1.0f, 2107, 1235, 2224, 1351, 0, 0, -1},
+ {1, 10, 0, 65535, 2214.0f, 1200.0f, 0.0f, 1.0f, 1.0f, 2155, 1142, 2272, 1258, 0, 0, -1},
+ {1, 10, 0, 65535, 2254.0f, 1104.0f, 0.0f, 1.0f, 1.0f, 2195, 1046, 2312, 1162, 0, 0, -1},
+ {1, 10, 0, 65535, 2821.25f, 1235.53f, 0.0f, 1.0f, 1.0f, 2762, 1177, 2880, 1294, 0, 0, -1},
+ {1, 10, 0, 65535, 2537.17f, 1376.61f, 0.0f, 1.0f, 1.0f, 2478, 1318, 2596, 1435, 0, 0, -1},
+ {1, 10, 0, 65535, 2972.83f, 1095.39f, 0.0f, 1.0f, 1.0f, 2914, 1037, 3031, 1154, 0, 0, -1},
+ {1, 10, 0, 65535, 2640.13f, 1341.34f, 0.0f, 1.0f, 1.0f, 2581, 1283, 2699, 1400, 0, 0, -1},
+ {1, 10, 0, 65535, 2733.55f, 1290.82f, 0.0f, 1.0f, 1.0f, 2675, 1232, 2792, 1349, 0, 0, -1},
+ {1, 10, 0, 65535, 2901.34f, 1170.7f, 0.0f, 1.0f, 1.0f, 2842, 1112, 2960, 1229, 0, 0, -1},
+ {1, 10, 0, 65535, 3326.0f, 1228.0f, 0.0f, 1.0f, 1.0f, 3267, 1170, 3384, 1286, 0, 0, -1},
+ {1, 10, 0, 65535, 3417.0f, 1179.0f, 0.0f, 1.0f, 1.0f, 3358, 1121, 3475, 1237, 0, 0, -1},
+ {1, 10, 0, 65535, 3480.0f, 1264.0f, 0.0f, 1.0f, 1.0f, 3421, 1206, 3538, 1322, 0, 0, -1},
+ {1, 10, 0, 65535, 3584.0f, 1243.0f, 0.0f, 1.0f, 1.0f, 3525, 1185, 3642, 1301, 0, 0, -1},
+ {1, 10, 0, 65535, 3651.0f, 1325.0f, 0.0f, 1.0f, 1.0f, 3592, 1267, 3709, 1383, 0, 0, -1},
+ {1, 10, 0, 65535, 3750.0f, 1292.0f, 0.0f, 1.0f, 1.0f, 3691, 1234, 3808, 1350, 0, 0, -1},
+ {1, 10, 0, 65535, 3822.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 3763, 1310, 3880, 1426, 0, 0, -1},
+ {1, 10, 0, 65535, 1149.33f, 1096.0f, 0.0f, 1.0f, 1.0f, 1090, 1038, 1208, 1154, 0, 0, -1},
+ {0, 74, 0, 65535, 3962.61f, 1658.93f, 270.0f, 1.0f, 4.00892f, 2882, 1533, 5116, 1783, 0, 0, -1},
+ {0, 74, 0, 65535, 1386.16f, 1660.99f, 270.0f, 1.0f, 5.34705f, -55, 1535, 2924, 1785, 0, 0, -1},
+ {0, 64, 0, 65535, 499.031f, 1465.26f, 90.0f, 0.545304f, -0.405683f, 421, 1388, 577, 1542, 0, 0, -1},
+ {0, 68, 0, 65535, 1481.27f, 1471.56f, 180.0f, 0.669566f, -0.671515f, 1320, 1384, 1642, 1558, 0, 0, -1},
+ {0, 80, 0, 65535, 951.079f, 1505.19f, 269.272f, 1.0f, 1.03432f, 570, 1465, 1332, 1550, 0, 0, -1},
+ {0, 80, 0, 65535, 627.859f, 1637.46f, -19.2477f, 0.62677f, 0.564077f, 536, 1435, 714, 1841, 0, 0, -1},
+ {0, 80, 0, 65535, 1268.59f, 1590.18f, 200.374f, 0.626769f, 0.564078f, 1179, 1389, 1364, 1794, 0, 0, -1},
+ {0, 80, 0, 65535, 2331.57f, 1524.2f, 269.272f, 1.0f, 1.03432f, 1951, 1484, 2712, 1569, 0, 0, -1},
+ {0, 80, 0, 65535, 3086.0f, 1526.74f, 271.203f, 1.0f, 1.03432f, 2704, 1483, 3467, 1574, 0, 0, -1},
+ {0, 80, 0, 65535, 3745.6f, 1521.54f, 268.115f, 1.0f, 1.03432f, 3364, 1476, 4127, 1574, 0, 0, -1},
+ {0, 68, 0, 65535, 4165.82f, 1476.08f, 180.0f, 0.662447f, -0.660149f, 4006, 1390, 4325, 1561, 0, 0, -1},
+ {0, 80, 0, 65535, 3877.79f, 1611.0f, 215.761f, 0.721467f, 0.692223f, 3712, 1392, 4050, 1835, 0, 0, -1},
+ {0, 64, 0, 65535, 1862.03f, 1360.26f, 0.0f, 1.0f, 1.0f, 1722, 1169, 2003, 1552, 0, 0, -1},
+ {0, 80, 0, 65535, 2028.87f, 1524.4f, -8.97603f, 0.60309f, 0.727917f, 1963, 1257, 2088, 1792, 0, 0, -1},
+ {0, 80, 0, 65535, 4800.58f, 1552.14f, 268.115f, 1.0f, 1.03432f, 4419, 1506, 5182, 1604, 0, 0, -1},
+ {0, 80, 0, 65535, -344.377f, 1563.45f, 269.272f, 1.0f, 1.03432f, -725, 1523, 36, 1608, 0, 0, -1},
+ {0, 74, 0, 65535, 778.17f, 1660.99f, 270.0f, 1.0f, 5.34705f, -663, 1535, 2316, 1785, 0, 0, -1},
+ {5, 255, 0, 65535, 4437.27f, 1288.38f, 0.0f, 162.0f, 90.0f, 4356, 1243, 4519, 1334, 0, 0, -1},
+ {1, 11, 0, 65535, 173.14f, 1531.24f, 0.0f, 1.0f, 1.0f, 32, 1525, 314, 1538, 0, 0, -1},
+ {1, 17, 0, 65535, 495.055f, 1476.99f, -38.7932f, 1.0f, 1.0f, 394, 1388, 576, 1539, 0, 0, -1},
+ {3, 81, 0, 65535, 355.097f, 1531.27f, 0.0f, 1.0f, 1.0f, 313, 1525, 397, 1537, 0, 0, -1},
+ {1, 36, 0, 65535, 1480.5f, 1458.0f, 0.0f, -1.0f, 1.0f, 1320, 1379, 1641, 1537, 0, 0, -1},
+ {3, 81, 0, 65535, 1682.1f, 1531.27f, 0.0f, 1.0f, 1.0f, 1640, 1525, 1724, 1537, 0, 0, -1},
+ {1, 14, 0, 65535, 1859.64f, 1348.77f, 0.0f, 1.0f, 1.0f, 1720, 1160, 1999, 1538, 0, 0, -1},
+ {1, 58, 0, 65535, 2241.0f, 1358.0f, 9.24942f, 1.00235f, 1.00469f, 2045, 1217, 2470, 1467, 0, 0, -1},
+ {1, 17, 0, 65535, 2701.66f, 1270.52f, 0.0f, 1.0f, 1.0f, 2584, 1245, 2818, 1297, 0, 0, -1},
+ {1, 19, 0, 65535, 3288.32f, 1337.42f, 0.0f, 1.00826f, 1.0f, 3227, 1321, 3349, 1353, 0, 0, -1},
+ {1, 19, 0, 65535, 3784.38f, 1387.77f, 0.0f, 1.00826f, 1.0f, 3723, 1372, 3845, 1404, 0, 0, -1},
+ {1, 14, 0, 65535, 4546.49f, 1352.25f, 0.0f, 1.0f, 1.0f, 4406, 1163, 4685, 1541, 0, 0, -1},
+ {1, 36, 0, 65535, 4167.35f, 1461.48f, 0.0f, -1.0f, 1.0f, 4006, 1382, 4328, 1541, 0, 0, -1},
+ {3, 81, 0, 65535, 4368.95f, 1534.75f, 0.0f, 1.0f, 1.0f, 4327, 1528, 4411, 1540, 0, 0, -1},
+ {1, 47, 0, 65535, 4450.06f, 1117.98f, 146.222f, 1.00235f, -1.0f, 4260, 939, 4687, 1355, 0, 0, -1},
+ {1, 55, 0, 65535, 4445.51f, 1347.71f, 0.0f, 1.0f, 1.0f, 4404, 1341, 4488, 1354, 0, 0, -1},
+ {0, 74, 0, 65535, 2090.53f, 1667.81f, 90.0f, 1.09756f, 1.83428f, 1563, 1531, 2585, 1806, 0, 0, -1},
+ {0, 74, 0, 65535, 3465.52f, 1674.86f, 90.0f, 1.04115f, 4.04152f, 2303, 1545, 4555, 1805, 0, 0, -1},
+ {0, 80, 0, 65535, 476.97f, 1297.87f, -53.2132f, 1.0f, 1.17131f, 108, 1016, 839, 1587, 0, 0, -1},
+ {0, 80, 0, 65535, 2092.72f, 1595.23f, -81.2475f, 1.0f, 1.17131f, 1660, 1501, 2522, 1700, 0, 0, -1},
+ {0, 80, 0, 65535, 1241.51f, 1539.63f, 268.933f, 1.0f, 1.17131f, 810, 1497, 1673, 1587, 0, 0, -1},
+ {0, 74, 0, 65535, 4215.59f, 1572.28f, 90.0f, 1.10636f, 2.1113f, 3608, 1435, 4785, 1711, 0, 0, -1},
+ {0, 76, 0, 65535, 2279.71f, 1450.36f, 0.0f, 0.49115f, 0.487841f, 2178, 1369, 2381, 1532, 0, 0, -1},
+ {0, 68, 0, 65535, 2405.06f, 1399.2f, -26.6725f, -0.664914f, 0.72213f, 2220, 1370, 2590, 1554, 0, 0, -1},
+ {0, 80, 0, 65535, 2580.56f, 1562.38f, 0.0f, 0.196206f, 0.443083f, 2572, 1399, 2589, 1725, 0, 0, -1},
+ {0, 80, 0, 65535, 2934.1f, 1541.56f, 269.764f, 0.405189f, 0.970667f, 2576, 1525, 3291, 1559, 0, 0, -1},
+ {0, 80, 0, 65535, 3642.95f, 1537.89f, 269.764f, 0.405188f, 0.970668f, 3285, 1522, 4000, 1556, 0, 0, -1},
+ {0, 80, 0, 65535, 3608.58f, 1606.88f, 179.764f, 0.244232f, 0.471838f, 3599, 1433, 3619, 1781, 0, 0, -1},
+ {0, 80, 0, 65535, 4521.38f, 1446.11f, 268.673f, 1.0f, 1.17131f, 4090, 1402, 4953, 1496, 0, 0, -1},
+ {0, 80, 0, 65535, -427.837f, 1034.82f, 271.034f, 1.0f, 1.17131f, -860, 991, 3, 1082, 0, 0, -1},
+ {0, 74, 0, 65535, 1083.49f, 1698.96f, 90.0f, 1.09756f, 1.83428f, 556, 1562, 1578, 1837, 0, 0, -1},
+ {0, 74, 0, 65535, 380.813f, 1545.25f, -235.099f, 2.19126f, 1.83428f, -207, 1020, 942, 2053, 0, 0, -1},
+ {0, 74, 0, 65535, -343.701f, 1291.49f, -269.94f, 2.19126f, 1.83428f, -871, 1019, 151, 1566, 0, 0, -1},
+ {0, 74, 0, 65535, 2471.54f, 1545.99f, 90.0f, 1.09756f, 0.403039f, 2355, 1409, 2581, 1684, 0, 0, -1},
+ {1, 13, 0, 65535, 76.2755f, 1016.0f, 0.0f, 1.08297f, 1.0f, -1, 1010, 153, 1022, 0, 0, -1},
+ {5, 255, 0, 65535, 3871.16f, 1374.81f, 0.0f, 162.0f, 90.0f, 3790, 1329, 3953, 1420, 0, 0, -1},
+ {1, 12, 0, 65535, 3851.84f, 1432.52f, 0.0f, 2.62148f, 1.0f, 3605, 1426, 4099, 1439, 0, 0, -1},
+ {1, 49, 0, 65535, 2281.43f, 1449.43f, 0.0f, 1.00457f, 1.0f, 2170, 1361, 2392, 1538, 0, 0, -1},
+ {1, 58, 30, 65535, 339.941f, 863.465f, -68.4882f, 1.00235f, 1.00469f, 161, 625, 455, 1038, 0, 0, -1},
+ {1, 36, 0, 65535, 2397.83f, 1383.33f, -24.8617f, -1.0f, 1.0f, 2218, 1361, 2577, 1408, 0, 0, -1},
+ {1, 60, 4, 65535, 2981.13f, 1466.71f, 0.0f, 1.00457f, 1.0f, 2870, 1411, 3092, 1521, 0, 0, -1},
+ {1, 59, 4, 65535, 2724.0f, 1454.0f, 0.0f, 1.00348f, 1.0f, 2579, 1382, 2869, 1526, 0, 0, -1},
+ {1, 59, 4, 65535, 3237.43f, 1458.14f, 0.0f, 1.00348f, 1.0f, 3092, 1386, 3382, 1531, 0, 0, -1},
+ {1, 60, 4, 65535, 3494.57f, 1470.86f, 0.0f, 1.00457f, 1.0f, 3384, 1415, 3606, 1525, 0, 0, -1},
+ {0, 80, 0, 65535, 1012.2f, 1610.89f, 270.0f, 1.0f, 1.32264f, 525, 1572, 1498, 1650, 0, 0, -1},
+ {0, 80, 0, 65535, 2004.04f, 1611.94f, 270.0f, 1.0f, 1.66493f, 1391, 1573, 2616, 1651, 0, 0, -1},
+ {0, 80, 0, 65535, 676.639f, 1684.12f, -41.1778f, 1.17229f, 1.0f, 399, 1385, 944, 1991, 0, 0, -1},
+ {0, 80, 0, 65535, 2286.97f, 1741.32f, 236.585f, 1.0f, 1.0f, 1964, 1515, 2615, 1977, 0, 0, -1},
+ {0, 68, 0, 65535, 344.884f, 1454.53f, 0.0f, 0.505745f, 0.511249f, 223, 1388, 467, 1520, 0, 0, -1},
+ {0, 74, 0, 65535, 3000.0f, 1785.87f, 0.0f, 3.42989f, 1.0f, 2574, 1516, 3429, 2074, 0, 0, -1},
+ {0, 74, 0, 65535, 116.432f, 1770.3f, 0.0f, 3.42989f, 1.0f, -309, 1500, 546, 2058, 0, 0, -1},
+ {0, 80, 0, 65535, -416.367f, 1524.81f, 270.0f, 1.0f, 1.32264f, -904, 1486, 70, 1564, 0, 0, -1},
+ {0, 80, 0, 65535, 3546.42f, 1542.82f, 270.0f, 1.0f, 1.32264f, 3059, 1504, 4032, 1582, 0, 0, -1},
+ {1, 13, 0, 65535, 144.655f, 1497.0f, 0.0f, 1.08297f, 1.0f, 68, 1491, 222, 1503, 0, 0, -1},
+ {5, 255, 0, 65535, 2835.16f, 1456.81f, 0.0f, 162.0f, 90.0f, 2754, 1411, 2917, 1502, 0, 0, -1},
+ {1, 12, 0, 65535, 2815.84f, 1514.52f, 0.0f, 2.62148f, 1.0f, 2569, 1508, 3063, 1521, 0, 0, -1},
+ {1, 8, 31, 65535, 746.44f, 1451.97f, 0.0f, 1.00457f, 1.0f, 635, 1342, 857, 1562, 0, 0, -1},
+ {1, 9, 31, 65535, 1072.98f, 1492.03f, 0.0f, 1.0f, 1.0f, 997, 1417, 1148, 1568, 0, 0, -1},
+ {1, 9, 31, 65535, 1242.02f, 1465.37f, 0.0f, 1.0f, 1.0f, 1167, 1390, 1318, 1541, 0, 0, -1},
+ {1, 10, 31, 65535, 925.677f, 1505.97f, 0.0f, 1.0f, 1.0f, 867, 1447, 984, 1564, 0, 0, -1},
+ {1, 8, 31, 65535, 1444.75f, 1442.87f, 0.0f, 1.00457f, 1.0f, 1334, 1333, 1556, 1553, 0, 0, -1},
+ {1, 9, 31, 65535, 1777.33f, 1480.53f, 0.0f, 1.0f, 1.0f, 1702, 1406, 1853, 1556, 0, 0, -1},
+ {1, 9, 31, 65535, 2167.91f, 1481.14f, 0.0f, 1.0f, 1.0f, 2092, 1406, 2243, 1557, 0, 0, -1},
+ {1, 9, 31, 65535, 2429.48f, 1484.97f, 0.0f, 1.0f, 1.0f, 2354, 1410, 2505, 1561, 0, 0, -1},
+ {1, 10, 31, 65535, 2300.2f, 1405.84f, 0.0f, 1.0f, 1.0f, 2241, 1347, 2359, 1464, 0, 0, -1},
+ {1, 8, 31, 65535, 1971.55f, 1443.93f, 0.0f, 1.00457f, 1.0f, 1861, 1334, 2083, 1554, 0, 0, -1},
+ {1, 10, 31, 65535, 1626.37f, 1511.64f, 0.0f, 1.0f, 1.0f, 1567, 1453, 1685, 1570, 0, 0, -1},
+ {1, 37, 0, 65535, 339.867f, 1442.5f, 0.0f, 1.0f, 1.0f, 219, 1381, 461, 1504, 0, 0, -1},
+ {0, 74, 0, 65535, 172.919f, 1294.68f, 0.0f, 0.608f, 1.08981f, 97, 1000, 249, 1609, 0, 0, -1},
+ {0, 74, 0, 65535, 3910.18f, 1666.67f, 0.0f, 2.01818f, 1.08981f, 3659, 1372, 4163, 1980, 0, 0, -1},
+ {0, 80, 0, 65535, -95.7121f, 1595.68f, 270.0f, 1.0f, 1.0f, -464, 1557, 272, 1635, 0, 0, -1},
+ {0, 80, 0, 65535, 637.288f, 1595.68f, 270.0f, 1.0f, 1.0f, 269, 1557, 1005, 1635, 0, 0, -1},
+ {0, 80, 0, 65535, 1369.29f, 1595.68f, 270.0f, 1.0f, 1.0f, 1001, 1557, 1737, 1635, 0, 0, -1},
+ {0, 80, 0, 65535, 2102.29f, 1595.68f, 270.0f, 1.0f, 1.0f, 1734, 1557, 2470, 1635, 0, 0, -1},
+ {0, 80, 0, 65535, 2835.29f, 1595.68f, 270.0f, 1.0f, 1.0f, 2467, 1557, 3203, 1635, 0, 0, -1},
+ {0, 80, 0, 65535, 3568.29f, 1595.68f, 270.0f, 1.0f, 1.0f, 3200, 1557, 3936, 1635, 0, 0, -1},
+ {0, 80, 0, 65535, 3675.94f, 1743.47f, 1.36245f, -1.0f, 1.0f, 3633, 1375, 3724, 2112, 0, 0, -1},
+ {0, 80, 0, 65535, 114.895f, 1373.64f, 1.36245f, -1.0f, 1.0f, 72, 1005, 163, 1742, 0, 0, -1},
+ {0, 80, 0, 65535, 248.681f, 1367.26f, -183.094f, -1.0f, 1.0f, 189, 999, 301, 1737, 0, 0, -1},
+ {0, 80, 0, 65535, 4169.94f, 1736.55f, -183.094f, -1.0f, 1.0f, 4111, 1368, 4222, 2107, 0, 0, -1},
+ {0, 80, 0, 65535, 4528.29f, 1595.68f, 270.0f, 1.0f, 1.0f, 4160, 1557, 4896, 1635, 0, 0, -1},
+ {1, 13, 0, 65535, 172.865f, 996.339f, 0.0f, 1.08297f, 1.0f, 96, 990, 250, 1003, 0, 0, -1},
+ {5, 255, 0, 65535, 3923.16f, 1310.81f, 0.0f, 162.0f, 90.0f, 3842, 1265, 4005, 1356, 0, 0, -1},
+ {1, 12, 0, 65535, 3903.84f, 1368.52f, 0.0f, 2.62148f, 1.0f, 3657, 1362, 4151, 1375, 0, 0, -1},
+ {1, 11, 0, 104, 540.256f, 1057.52f, 0.0f, 1.0f, 1.0f, 399, 1051, 681, 1064, 0, 0, -1},
+ {1, 11, 0, 105, 1074.67f, 1203.77f, 45.0f, 1.0f, 1.0f, 971, 1100, 1179, 1308, 0, 0, -1},
+ {1, 12, 0, 65535, 3918.71f, 1368.52f, 0.0f, 2.77962f, 1.0f, 3657, 1362, 4180, 1375, 0, 0, -1},
+ {1, 11, 0, 106, 1489.01f, 1089.9f, 0.0f, 1.0f, 1.0f, 1348, 1083, 1630, 1096, 0, 0, -1},
+ {1, 11, 0, 107, 1975.56f, 1254.01f, -90.0f, 1.0f, 1.0f, 1969, 1113, 1982, 1395, 0, 0, -1},
+ {1, 11, 0, 108, 2226.84f, 1166.65f, 45.0f, 1.0f, 1.0f, 2123, 1063, 2331, 1271, 0, 0, -1},
+ {1, 11, 0, 109, 2890.85f, 1436.69f, 45.0f, 1.0f, 1.0f, 2787, 1333, 2995, 1541, 0, 0, -1},
+ {1, 11, 0, 110, 3098.1f, 1232.21f, 45.0f, 1.0f, 1.0f, 2994, 1128, 3202, 1336, 0, 0, -1},
+ {0, 74, 0, 65535, 377.5f, 1512.0f, 90.0f, 1.104f, 1.33506f, -7, 1375, 738, 1650, 0, 0, -1},
+ {0, 73, 0, 65535, 674.5f, 1540.5f, 0.0f, 1.0f, 1.0f, 562, 1246, 786, 1850, 0, 0, -1},
+ {0, 80, 0, 65535, 334.757f, 1333.57f, -11.3205f, 0.812069f, 0.565249f, 262, 1125, 399, 1544, 0, 0, -1},
+ {0, 80, 0, 65535, 794.0f, 1401.44f, 0.0f, 0.410256f, 0.410256f, 778, 1250, 810, 1552, 0, 0, -1},
+ {0, 80, 0, 65535, 561.0f, 1403.44f, 0.0f, -0.410256f, 0.410256f, 545, 1252, 577, 1554, 0, 0, -1},
+ {0, 80, 0, 65535, 601.981f, 1382.5f, -90.0f, 0.987179f, 0.855535f, 287, 1344, 916, 1421, 0, 0, -1},
+ {0, 68, 0, 65535, 1341.82f, 1479.98f, -1.56881f, -0.514661f, 0.529414f, 1216, 1414, 1468, 1551, 0, 0, -1},
+ {0, 74, 0, 65535, 847.0f, 1514.0f, 90.0f, 1.104f, 0.604491f, 673, 1377, 1010, 1652, 0, 0, -1},
+ {0, 68, 0, 65535, 1582.77f, 1477.24f, -1.56881f, 0.48967f, 0.478848f, 1466, 1412, 1702, 1542, 0, 0, -1},
+ {0, 68, 0, 65535, 1857.44f, 1352.88f, 354.392f, 0.688029f, 0.543772f, 1697, 1266, 2029, 1439, 0, 0, -1},
+ {0, 80, 0, 65535, 1085.08f, 1421.0f, -436.877f, 0.987179f, 0.488772f, 901, 1351, 1267, 1500, 0, 0, -1},
+ {0, 74, 0, 65535, 1248.76f, 1615.85f, 104.77f, 1.104f, 1.06576f, 918, 1405, 1562, 1823, 0, 0, -1},
+ {0, 74, 0, 65535, 1869.7f, 1537.8f, 86.2639f, 0.995921f, 0.614855f, 1685, 1403, 2044, 1674, 0, 0, -1},
+ {0, 73, 0, 65535, 2324.0f, 1543.0f, 0.0f, 1.0f, 1.0f, 2212, 1248, 2436, 1852, 0, 0, -1},
+ {0, 80, 0, 65535, 2447.28f, 1460.49f, -10.6488f, 0.808189f, 0.523905f, 2380, 1266, 2506, 1656, 0, 0, -1},
+ {0, 80, 0, 65535, 2206.73f, 1407.19f, 4.3466f, -0.410256f, 0.410256f, 2183, 1255, 2235, 1559, 0, 0, -1},
+ {0, 74, 0, 65535, 1557.5f, 1586.0f, 90.0f, 0.512f, 5.41105f, 1, 1522, 3016, 1650, 0, 0, -1},
+ {0, 68, 0, 65535, 2848.33f, 1309.58f, 0.0f, -0.665807f, 0.657908f, 2688, 1224, 3009, 1394, 0, 0, -1},
+ {0, 74, 0, 65535, 2859.24f, 1503.63f, 89.9383f, 0.99592f, 0.590673f, 2689, 1379, 3019, 1629, 0, 0, -1},
+ {0, 80, 0, 65535, 2688.33f, 1381.22f, 5.92043f, -0.646407f, 0.410256f, 2653, 1229, 2729, 1534, 0, 0, -1},
+ {0, 80, 0, 65535, 2035.4f, 1423.28f, -14.081f, 0.646406f, 0.410256f, 1974, 1272, 2091, 1576, 0, 0, -1},
+ {0, 80, 0, 65535, 2380.49f, 1519.13f, 268.783f, 1.01757f, 0.879541f, 2056, 1477, 2705, 1566, 0, 0, -1},
+ {0, 68, 0, 65535, 3488.43f, 1312.74f, 0.0f, -0.665806f, 0.657907f, 3328, 1227, 3649, 1397, 0, 0, -1},
+ {0, 68, 0, 65535, 3170.54f, 1311.1f, 0.0f, 0.665806f, 0.657907f, 3010, 1225, 3331, 1396, 0, 0, -1},
+ {0, 68, 0, 65535, 3799.07f, 1310.1f, 0.0f, 0.665806f, 0.657907f, 3639, 1224, 3959, 1395, 0, 0, -1},
+ {0, 74, 0, 65535, 4390.61f, 1481.88f, 90.0f, 2.06246f, 1.50407f, 3958, 1226, 4796, 1740, 0, 0, -1},
+ {0, 74, 0, 65535, 3581.66f, 1629.84f, 90.0f, 2.06246f, 2.05036f, 2992, 1374, 4135, 1888, 0, 0, -1},
+ {0, 74, 0, 65535, -46.4667f, 1258.97f, 90.0f, 1.104f, 1.33506f, -431, 1122, 314, 1397, 0, 0, -1},
+ {0, 80, 0, 65535, -278.615f, 1137.71f, 270.707f, 0.812069f, 0.760064f, -559, 1104, 1, 1173, 0, 0, -1},
+ {0, 80, 0, 65535, 4641.47f, 1238.6f, 268.483f, 0.812069f, 0.760064f, 4361, 1203, 4922, 1278, 0, 0, -1},
+ {1, 17, 0, 65535, 675.0f, 1268.5f, 0.0f, 1.0f, 1.0f, 558, 1243, 791, 1294, 0, 0, -1},
+ {1, 36, 0, 65535, 1856.5f, 1338.75f, 0.0f, 1.0f, 1.0f, 1696, 1259, 2017, 1418, 0, 0, -1},
+ {1, 17, 0, 65535, 2327.0f, 1269.75f, 0.0f, 1.0f, 1.0f, 2210, 1244, 2443, 1296, 0, 0, -1},
+ {1, 36, 0, 65535, 2849.5f, 1295.5f, 0.0f, -1.0f, 1.0f, 2689, 1216, 3010, 1375, 0, 0, -1},
+ {1, 37, 0, 65535, 1575.5f, 1466.5f, 0.0f, 1.0f, 1.0f, 1455, 1405, 1696, 1528, 0, 0, -1},
+ {1, 37, 0, 65535, 1336.5f, 1466.5f, 0.0f, -1.0f, 1.0f, 1216, 1405, 1457, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 2360.83f, 1253.0f, 0.0f, 41.0f, 53.0f, 2340, 1226, 2382, 1280, 0, 0, -1},
+ {4, 255, 0, 65535, 2414.83f, 1231.0f, 0.0f, 41.0f, 53.0f, 2394, 1204, 2436, 1258, 0, 0, -1},
+ {4, 255, 0, 65535, 2304.83f, 1255.0f, 0.0f, 41.0f, 53.0f, 2284, 1228, 2326, 1282, 0, 0, -1},
+ {4, 255, 0, 65535, 2250.83f, 1238.0f, 0.0f, 41.0f, 53.0f, 2230, 1211, 2272, 1265, 0, 0, -1},
+ {2, 1, 0, 111, 1456.0f, 1322.67f, 0.0f, 0.273081f, 0.273081f, 1368, 1234, 1544, 1410, 0, 0, -1},
+ {2, 1, 0, 112, 674.667f, 1084.67f, 0.0f, 0.27308f, 0.27308f, 586, 996, 763, 1172, 0, 0, -1},
+ {2, 1, 0, 113, 2329.33f, 1080.67f, 0.0f, 0.27308f, 0.27308f, 2241, 992, 2417, 1168, 0, 0, -1},
+ {5, 255, 0, 65535, 4067.0f, 1165.45f, 0.0f, 162.0f, 90.0f, 3986, 1120, 4148, 1211, 0, 0, -1},
+ {1, 11, 0, 65535, 157.833f, 1121.33f, 0.0f, 1.1376f, 1.0f, -2, 1115, 318, 1128, 0, 0, -1},
+ {1, 36, 0, 65535, 3170.5f, 1295.5f, 0.0f, 1.0f, 1.0f, 3010, 1216, 3331, 1375, 0, 0, -1},
+ {2, 1, 0, 114, 3648.34f, 1099.66f, 0.0f, 0.475218f, 0.475218f, 3495, 946, 3801, 1252, 0, 0, -1},
+ {1, 11, 0, 65535, 4170.83f, 1222.67f, 0.0f, 1.43179f, 1.0f, 3969, 1216, 4373, 1229, 0, 0, -1},
+ {1, 36, 0, 65535, 3810.5f, 1295.5f, 0.0f, 1.0f, 1.0f, 3650, 1216, 3971, 1375, 0, 0, -1},
+ {1, 36, 0, 65535, 3489.5f, 1295.5f, 0.0f, -1.0f, 1.0f, 3329, 1216, 3650, 1375, 0, 0, -1},
+ {2, 1, 0, 115, 3008.34f, 1099.66f, 0.0f, 0.475219f, 0.475219f, 2855, 946, 3161, 1252, 0, 0, -1},
+ {4, 255, 0, 65535, 596.5f, 1240.5f, 0.0f, 41.0f, 53.0f, 576, 1214, 617, 1267, 0, 0, -1},
+ {4, 255, 0, 65535, 650.5f, 1257.5f, 0.0f, 41.0f, 53.0f, 630, 1231, 671, 1284, 0, 0, -1},
+ {4, 255, 0, 65535, 706.5f, 1255.5f, 0.0f, 41.0f, 53.0f, 686, 1229, 727, 1282, 0, 0, -1},
+ {4, 255, 0, 65535, 760.5f, 1233.5f, 0.0f, 41.0f, 53.0f, 740, 1207, 781, 1260, 0, 0, -1},
+ {0, 66, 0, 65535, 908.633f, 1520.78f, 0.0f, 1.55833f, 1.55833f, 534, 1304, 1283, 1737, 0, 0, -1},
+ {0, 66, 0, 65535, 1076.26f, 1439.98f, -51.207f, 1.55833f, 1.55833f, 673, 1013, 1479, 1867, 0, 0, -1},
+ {0, 68, 0, 65535, 382.58f, 1208.56f, 0.0f, -1.0f, 1.0f, 142, 1079, 623, 1337, 0, 0, -1},
+ {0, 74, 0, 65535, -313.795f, 1354.04f, 0.0f, 3.80266f, 1.0f, -786, 1084, 162, 1642, 0, 0, -1},
+ {0, 74, 0, 65535, 322.046f, 1600.38f, 0.0f, 1.72761f, 1.0f, 107, 1330, 538, 1888, 0, 0, -1},
+ {0, 74, 0, 65535, 2880.68f, 1539.75f, 0.0f, 0.739159f, 1.0f, 2789, 1270, 2974, 1828, 0, 0, -1},
+ {0, 74, 0, 65535, 3378.6f, 1753.69f, 0.0f, 4.85074f, 1.0f, 2777, 1484, 3985, 2042, 0, 0, -1},
+ {0, 74, 0, 65535, 4512.64f, 1529.45f, 0.0f, 4.40007f, 1.0f, 3967, 1259, 5063, 1817, 0, 0, -1},
+ {0, 68, 0, 65535, 3725.92f, 1392.68f, 0.0f, 1.01139f, 1.00912f, 3483, 1261, 3969, 1522, 0, 0, -1},
+ {0, 74, 0, 65535, 1431.21f, 1525.72f, 15.7247f, 0.73916f, 1.0f, 1265, 1241, 1594, 1827, 0, 0, -1},
+ {0, 74, 0, 65535, 1357.44f, 1545.45f, 0.7247f, 0.73916f, 1.0f, 1262, 1274, 1454, 1834, 0, 0, -1},
+ {0, 74, 0, 65535, 1565.18f, 1544.21f, 0.7247f, 0.73916f, 1.0f, 1469, 1273, 1661, 1832, 0, 0, -1},
+ {0, 64, 0, 65535, 1646.87f, 1205.21f, 44.7793f, 1.0f, 1.0f, 1412, 1162, 1881, 1440, 0, 0, -1},
+ {0, 68, 0, 65535, 2367.32f, 1363.87f, 0.0f, -0.66444f, 0.683075f, 2207, 1275, 2527, 1452, 0, 0, -1},
+ {0, 64, 0, 65535, 2657.76f, 1358.24f, 26.9206f, 0.602739f, 0.672254f, 2524, 1279, 2791, 1512, 0, 0, -1},
+ {0, 74, 0, 65535, 2271.98f, 1696.5f, 0.0f, 5.13775f, 1.0f, 1634, 1426, 2915, 1984, 0, 0, -1},
+ {0, 77, 0, 65535, 2780.18f, 1372.28f, 25.8555f, 1.4943f, 1.07172f, 2706, 1278, 2855, 1467, 0, 0, -1},
+ {0, 64, 0, 65535, 3077.96f, 1378.75f, 0.0f, -0.778094f, 0.56841f, 2969, 1270, 3187, 1488, 0, 0, -1},
+ {0, 64, 0, 65535, 1905.29f, 1302.36f, -235.448f, 0.678687f, 0.55467f, 1763, 1163, 1942, 1441, 0, 0, -1},
+ {0, 64, 0, 65535, 1941.92f, 1325.61f, -269.085f, 0.678686f, 0.554668f, 1834, 1228, 2047, 1422, 0, 0, -1},
+ {0, 64, 0, 65535, 2044.5f, 1334.27f, -321.793f, 0.678686f, 0.554668f, 1904, 1306, 2185, 1477, 0, 0, -1},
+ {0, 64, 0, 65535, 2051.47f, 1332.26f, -353.72f, 0.678686f, 0.554668f, 1945, 1236, 2158, 1449, 0, 0, -1},
+ {0, 64, 0, 65535, 2110.45f, 1297.97f, -398.425f, 0.678686f, 0.554668f, 2097, 1156, 2251, 1441, 0, 0, -1},
+ {0, 74, 0, 65535, 1740.22f, 1384.66f, 0.0f, 0.838721f, 0.430146f, 1636, 1268, 1846, 1509, 0, 0, -1},
+ {0, 74, 0, 65535, 2191.31f, 1463.92f, -42.8435f, 0.83872f, 0.430145f, 2036, 1307, 2352, 1626, 0, 0, -1},
+ {0, 74, 0, 65535, 1917.14f, 1510.18f, 0.568169f, 0.83872f, 0.430145f, 1811, 1393, 2024, 1635, 0, 0, -1},
+ {0, 74, 0, 65535, 1777.08f, 1296.53f, 34.3178f, 0.210426f, 0.430145f, 1685, 1186, 1865, 1414, 0, 0, -1},
+ {0, 80, 0, 65535, 5068.91f, 1284.98f, -90.297f, 1.0f, 1.0f, 4701, 1246, 5437, 1326, 0, 0, -1},
+ {0, 80, 0, 65535, -319.531f, 950.57f, -423.782f, 1.0f, 1.0f, -667, 762, 23, 1148, 0, 0, -1},
+ {0, 80, 0, 65535, -569.893f, 188.47f, -353.666f, 1.23703f, 1.74858f, -689, -457, -463, 831, 0, 0, -1},
+ {0, 74, 0, 65535, -847.728f, 683.291f, 5.08718f, 1.7276f, 4.31379f, -1172, -494, -529, 1934, 0, 0, -1},
+ {0, 74, 0, 65535, -409.248f, 1228.07f, 24.5839f, 3.73888f, 1.0f, -951, 790, 128, 1684, 0, 0, -1},
+ {1, 13, 0, 65535, 76.2755f, 1080.0f, 0.0f, 1.08297f, 1.0f, -1, 1074, 153, 1086, 0, 0, -1},
+ {5, 255, 0, 65535, 4504.16f, 1206.81f, 0.0f, 162.0f, 90.0f, 4423, 1161, 4586, 1252, 0, 0, -1},
+ {1, 11, 0, 65535, 3339.05f, 1481.05f, 0.0f, 1.0f, 1.0f, 3198, 1475, 3480, 1488, 0, 0, -1},
+ {1, 35, 0, 65535, 392.041f, 1189.8f, 0.0f, -1.0f, 1.00433f, 151, 1074, 633, 1307, 0, 0, -1},
+ {1, 11, 0, 116, 907.642f, 1306.67f, -120.0f, 1.95237f, 1.0f, 765, 1066, 1050, 1548, 0, 0, -1},
+ {1, 55, 0, 65535, 1107.71f, 1048.69f, -50.4634f, 1.19705f, 1.0f, 1071, 1006, 1144, 1091, 0, 0, -1},
+ {1, 55, 0, 65535, 1177.04f, 1033.67f, 38.6852f, 1.19705f, 1.0f, 1134, 997, 1220, 1070, 0, 0, -1},
+ {1, 11, 0, 65535, 1325.05f, 1152.47f, 38.69f, 1.0f, 1.0f, 1211, 1059, 1439, 1245, 0, 0, -1},
+ {1, 14, 0, 65535, 1658.17f, 1197.5f, 42.3668f, 1.0f, 1.0f, 1430, 1144, 1887, 1280, 0, 0, -1},
+ {1, 48, 0, 117, 2185.0f, 1005.5f, -289.49f, 1.00348f, 1.0f, 2037, 870, 2303, 1160, 0, 0, -1},
+ {1, 48, 0, 65535, 1807.0f, 941.499f, -430.852f, 1.00348f, 1.0f, 1690, 806, 1954, 1096, 0, 0, -1},
+ {1, 48, 0, 65535, 1999.06f, 1265.57f, 180.0f, 1.00348f, 1.0f, 1854, 1150, 2144, 1382, 0, 0, -1},
+ {1, 36, 0, 65535, 2367.49f, 1348.47f, 0.0f, -1.0f, 1.0f, 2206, 1269, 2528, 1428, 0, 0, -1},
+ {1, 12, 0, 118, 2833.47f, 1175.38f, -65.0f, 1.07129f, 1.0f, 2785, 1081, 2882, 1270, 0, 0, -1},
+ {1, 47, 0, 65535, 2650.45f, 1023.98f, -30.0f, 1.00235f, 1.0f, 2458, 847, 2885, 1257, 0, 0, -1},
+ {1, 12, 0, 119, 3081.25f, 1258.19f, -5.0f, 1.07129f, 1.0f, 2980, 1243, 3183, 1273, 0, 0, -1},
+ {1, 47, 0, 65535, 3120.84f, 1023.98f, 30.0f, 1.00235f, 1.0f, 2886, 847, 3313, 1257, 0, 0, -1},
+ {1, 35, 0, 65535, 3719.43f, 1372.21f, 0.0f, 1.0f, 1.00433f, 3478, 1256, 3960, 1489, 0, 0, -1},
+ {1, 15, 0, 65535, 2659.83f, 1347.17f, 23.357f, 1.0f, 1.00394f, 2525, 1263, 2796, 1431, 0, 0, -1},
+ {1, 15, 0, 65535, 3086.0f, 1378.93f, -10.4941f, -1.0f, 1.00394f, 2971, 1269, 3200, 1488, 0, 0, -1},
+ {1, 13, 0, 65535, 2887.33f, 1267.86f, 0.0f, 1.36113f, 1.0f, 2791, 1261, 2984, 1274, 0, 0, -1},
+ {1, 12, 0, 65535, 4144.17f, 1263.18f, 0.0f, 1.97609f, 1.0f, 3958, 1257, 4330, 1270, 0, 0, -1},
+ {2, 1, 0, 120, 3097.29f, 1069.73f, 0.0f, 0.352078f, 0.352078f, 2984, 956, 3211, 1182, 0, 0, -1},
+ {2, 2, 0, 121, 2670.87f, 1059.23f, 0.0f, 0.607184f, 0.607184f, 2477, 921, 2866, 1199, 0, 0, -1},
+ {2, 2, 0, 122, 3864.0f, 1104.29f, 0.0f, 0.607184f, 0.607185f, 3670, 966, 4059, 1244, 0, 0, -1},
+ {1, 12, 0, 65535, 4515.17f, 1263.18f, 0.0f, 1.97609f, 1.0f, 4329, 1257, 4701, 1270, 0, 0, -1},
+ {0, 77, 0, 65535, 2653.64f, 1550.0f, 90.0f, 4.14286f, 23.8996f, 753, 1438, 4542, 1666, 0, 0, -1},
+ {0, 68, 0, 65535, 1295.0f, 1249.17f, 0.0f, 1.0f, 1.0f, 1055, 1119, 1535, 1378, 0, 0, -1},
+ {0, 77, 0, 65535, 1841.53f, 1267.0f, 0.0f, 6.86207f, 2.41667f, 1656, 1076, 2034, 1460, 0, 0, -1},
+ {0, 77, 0, 65535, 1571.0f, 1240.0f, 0.0f, 2.9762f, 1.54167f, 1490, 1118, 1655, 1363, 0, 0, -1},
+ {0, 64, 0, 65535, 2184.33f, 1265.17f, 0.0f, -1.14286f, 1.0f, 2024, 1074, 2345, 1457, 0, 0, -1},
+ {0, 80, 0, 65535, 1853.83f, 1059.99f, 279.418f, 0.730626f, 0.512704f, 1663, 1007, 2043, 1119, 0, 0, -1},
+ {0, 77, 0, 65535, 2226.55f, 1647.0f, 90.0f, 4.14286f, 28.4235f, -34, 1535, 4473, 1763, 0, 0, -1},
+ {0, 77, 0, 65535, 1733.0f, 1156.0f, -59.5614f, 2.9762f, 1.54167f, 1587, 1022, 1881, 1288, 0, 0, -1},
+ {0, 77, 0, 65535, 1669.0f, 1205.0f, -30.3432f, 2.9762f, 1.54167f, 1538, 1057, 1803, 1352, 0, 0, -1},
+ {0, 77, 0, 65535, 1790.4f, 1134.92f, -78.9479f, 2.9762f, 1.54167f, 1655, 1029, 1926, 1238, 0, 0, -1},
+ {0, 77, 0, 65535, 1223.74f, 1532.41f, 0.0f, 17.3436f, 2.44827f, 755, 1338, 1710, 1728, 0, 0, -1},
+ {0, 66, 0, 65535, 562.063f, 1472.49f, 0.0f, 1.0f, 1.0f, 322, 1333, 803, 1611, 0, 0, -1},
+ {0, 77, 0, 65535, -117.936f, 1531.17f, 0.0f, 17.3436f, 2.44827f, -587, 1337, 368, 1726, 0, 0, -1},
+ {0, 64, 0, 65535, 2931.67f, 1373.59f, -11.3275f, 0.586257f, 0.35457f, 2864, 1291, 3026, 1457, 0, 0, -1},
+ {0, 64, 0, 65535, 2903.07f, 1395.72f, 12.2559f, 0.586257f, 0.354569f, 2808, 1346, 2998, 1480, 0, 0, -1},
+ {0, 80, 0, 65535, 3331.91f, 1422.94f, -73.3712f, 1.12545f, 1.0f, 2966, 1286, 3693, 1571, 0, 0, -1},
+ {0, 77, 0, 65535, 3096.8f, 1437.76f, -67.4087f, 1.78108f, 1.51906f, 2967, 1345, 3227, 1529, 0, 0, -1},
+ {0, 80, 0, 65535, -258.615f, 1351.7f, 269.761f, 0.730627f, 0.700961f, -517, 1323, -1, 1382, 0, 0, -1},
+ {0, 80, 0, 65535, 4311.19f, 1450.82f, 269.761f, 0.730627f, 0.70096f, 4053, 1422, 4569, 1481, 0, 0, -1},
+ {1, 59, 0, 65535, 1607.0f, 979.0f, 270.0f, 1.00348f, 1.0f, 1535, 834, 1679, 1124, 0, 0, -1},
+ {1, 59, 0, 65535, 1310.0f, 894.0f, 34.5709f, 1.00348f, 1.0f, 1206, 752, 1470, 979, 0, 0, -1},
+ {1, 59, 0, 65535, 1607.0f, 700.0f, 270.0f, 1.00348f, 1.0f, 1535, 555, 1679, 845, 0, 0, -1},
+ {1, 59, 0, 123, 1309.75f, 701.033f, 0.0f, 1.00348f, 1.0f, 1165, 629, 1455, 774, 0, 0, -1},
+ {1, 35, 0, 65535, 1295.5f, 1226.0f, 0.0f, 1.0f, 1.00433f, 1055, 1110, 1536, 1343, 0, 0, -1},
+ {1, 14, 0, 65535, 2178.72f, 1254.22f, -2.1292f, -1.0f, 1.0f, 2033, 1070, 2325, 1438, 0, 0, -1},
+ {1, 11, 0, 65535, 2585.0f, 1431.0f, 0.0f, 1.88612f, 1.0f, 2320, 1425, 2850, 1437, 0, 0, -1},
+ {1, 16, 0, 65535, 1951.17f, 999.833f, 271.751f, 1.0f, 1.00521f, 1857, 926, 2046, 1074, 0, 0, -1},
+ {1, 59, 0, 65535, 2921.88f, 1293.42f, 270.0f, 1.00348f, 1.0f, 2849, 1148, 2994, 1438, 0, 0, -1},
+ {1, 59, 0, 65535, 2921.88f, 1014.42f, 270.0f, 1.00348f, 1.0f, 2849, 869, 2994, 1159, 0, 0, -1},
+ {1, 59, 0, 65535, 2624.88f, 1208.42f, 34.5709f, 1.00348f, 1.0f, 2521, 1067, 2785, 1294, 0, 0, -1},
+ {1, 59, 0, 65535, 2624.88f, 930.413f, 34.5709f, 1.00348f, 1.0f, 2521, 789, 2785, 1016, 0, 0, -1},
+ {2, 2, 0, 124, 1556.05f, 977.33f, 0.0f, 0.338692f, 0.338143f, 1448, 900, 1665, 1055, 0, 0, -1},
+ {5, 255, 0, 65535, 3612.08f, 1372.67f, 0.0f, 162.0f, 90.0f, 3531, 1327, 3694, 1418, 0, 0, -1},
+ {1, 11, 0, 65535, 3746.0f, 1431.0f, 0.0f, 2.27758f, 1.0f, 3426, 1425, 4066, 1437, 0, 0, -1},
+ {2, 2, 0, 125, 2866.17f, 673.22f, 0.0f, 0.623435f, 0.622424f, 2667, 531, 3066, 816, 0, 0, -1},
+ {1, 23, 0, 126, 559.722f, 1423.3f, 0.0f, 1.0f, 1.00529f, 319, 1327, 800, 1518, 0, 0, -1},
+ {1, 23, 0, 65535, 559.722f, 980.728f, 0.0f, 1.0f, -1.00529f, 319, 886, 800, 1077, 0, 0, -1},
+ {2, 2, 0, 127, 559.795f, 1078.76f, 0.0f, 0.524422f, 0.552094f, 392, 953, 728, 1206, 0, 0, -1},
+ {1, 11, 0, 65535, 160.08f, 1334.0f, 0.0f, 1.13523f, 1.0f, 0, 1328, 320, 1340, 0, 0, -1},
+ {1, 11, 0, 65535, 927.818f, 1334.58f, 0.0f, 0.912725f, 1.0f, 799, 1328, 1057, 1341, 0, 0, -1},
+ {0, 74, 0, 65535, 1698.0f, 1640.0f, 90.0f, 1.104f, 6.40399f, -144, 1503, 3424, 1778, 0, 0, -1},
+ {0, 74, 0, 65535, -56.6893f, 1450.23f, 0.0f, 1.65141f, 0.98754f, -262, 1184, 150, 1735, 0, 0, -1},
+ {0, 74, 0, 65535, 3542.76f, 1503.04f, 0.0f, 5.93475f, 1.0f, 2806, 1233, 4285, 1791, 0, 0, -1},
+ {0, 80, 0, 65535, 4196.22f, 1251.65f, -90.4524f, 1.0f, 1.0f, 3828, 1212, 4564, 1294, 0, 0, -1},
+ {0, 80, 0, 65535, -365.821f, 1208.06f, -90.4524f, 1.0f, -1.0f, -734, 1167, 3, 1250, 0, 0, -1},
+ {0, 80, 0, 65535, 241.774f, 1544.72f, -378.203f, 1.0f, -1.0f, 90, 1187, 385, 1907, 0, 0, -1},
+ {0, 74, 0, 65535, 30.0589f, 1620.11f, -16.9948f, 1.65141f, 0.987541f, -244, 1305, 311, 1952, 0, 0, -1},
+ {0, 68, 0, 65535, 3043.16f, 1139.33f, 0.0f, -1.0f, 1.0f, 2803, 1009, 3284, 1268, 0, 0, -1},
+ {0, 80, 0, 65535, 2812.34f, 1381.12f, -176.883f, 1.0f, -1.0f, 2761, 1012, 2872, 1750, 0, 0, -1},
+ {0, 80, 0, 65535, 2421.87f, 1507.5f, -446.883f, 1.0f, -1.0f, 2053, 1456, 2791, 1567, 0, 0, -1},
+ {0, 80, 0, 65535, 1691.56f, 1506.12f, -452.551f, 1.0f, -1.0f, 1323, 1457, 2061, 1562, 0, 0, -1},
+ {0, 80, 0, 65535, 960.14f, 1527.46f, -450.627f, 1.0f, -1.0f, 592, 1486, 1329, 1571, 0, 0, -1},
+ {0, 80, 0, 65535, 226.218f, 1518.67f, -449.096f, 1.0f, -1.0f, -142, 1478, 595, 1564, 0, 0, -1},
+ {1, 13, 0, 65535, 76.2755f, 1181.0f, 0.0f, 1.08297f, 1.0f, -1, 1175, 153, 1187, 0, 0, -1},
+ {5, 255, 0, 65535, 3380.92f, 1161.78f, 0.0f, 162.0f, 90.0f, 3299, 1116, 3462, 1207, 0, 0, -1},
+ {1, 47, 0, 128, 438.667f, 1108.5f, 0.0f, 1.00235f, 1.0f, 225, 938, 653, 1279, 0, 0, -1},
+ {1, 47, 0, 129, 868.0f, 1300.0f, -180.0f, 1.00235f, 1.0f, 654, 1129, 1082, 1471, 0, 0, -1},
+ {1, 47, 0, 130, 1313.33f, 1246.0f, 0.0f, 1.00235f, 1.0f, 1099, 1075, 1527, 1417, 0, 0, -1},
+ {1, 47, 0, 131, 1702.33f, 1149.0f, -180.0f, 1.00235f, 1.0f, 1488, 978, 1916, 1320, 0, 0, -1},
+ {1, 47, 0, 132, 2134.33f, 1260.0f, -180.0f, 1.00235f, 1.0f, 1920, 1089, 2348, 1431, 0, 0, -1},
+ {1, 47, 0, 133, 2558.0f, 1113.0f, -180.0f, 1.00235f, 1.0f, 2344, 942, 2772, 1284, 0, 0, -1},
+ {1, 35, 0, 65535, 3043.17f, 1118.33f, 0.0f, -1.0f, 1.00433f, 2802, 1002, 3284, 1235, 0, 0, -1},
+ {1, 11, 0, 65535, 3558.71f, 1227.88f, 0.0f, 1.96663f, 1.0f, 3282, 1221, 3836, 1234, 0, 0, -1},
+ {0, 70, 0, 134, 2090.95f, 464.139f, 0.0f, -0.922712f, -0.92271f, 2009, 112, 2174, 790, 0, 0, -1},
+ {0, 70, 0, 135, 1457.36f, 609.389f, 0.0f, -0.922712f, -0.92271f, 1376, 257, 1540, 935, 0, 0, -1},
+ {0, 70, 0, 136, 2531.09f, 543.04f, 0.0f, -0.922712f, -0.92271f, 2449, 191, 2614, 869, 0, 0, -1},
+ {0, 70, 0, 137, 2924.52f, 611.056f, 0.0f, -0.922712f, -0.92271f, 2843, 259, 3007, 937, 0, 0, -1},
+ {0, 70, 0, 138, 1740.51f, 420.622f, 0.0f, -0.922712f, -0.92271f, 1659, 69, 1823, 746, 0, 0, -1},
+ {0, 70, 0, 139, 1172.34f, 606.157f, 0.0f, -0.922712f, -0.92271f, 1091, 254, 1255, 932, 0, 0, -1},
+ {0, 70, 0, 140, 750.889f, 671.066f, 0.0f, -0.922712f, -0.92271f, 669, 319, 834, 997, 0, 0, -1},
+ {0, 70, 0, 141, 377.5f, 802.5f, 0.0f, -0.922711f, -0.922711f, 296, 450, 460, 1128, 0, 0, -1},
+ {0, 74, 0, 65535, -37.3502f, 1577.85f, 0.0f, 1.54903f, 1.0f, -230, 1308, 157, 1866, 0, 0, -1},
+ {0, 74, 0, 65535, 3694.64f, 1818.06f, 0.0f, 4.13004f, 1.0f, 3182, 1548, 4211, 2106, 0, 0, -1},
+ {0, 80, 0, 65535, 4031.41f, 1572.1f, -90.0f, 1.0f, 1.0f, 3663, 1533, 4399, 1612, 0, 0, -1},
+ {0, 80, 0, 65535, -329.251f, 1329.52f, -90.0f, 1.0f, 1.0f, -698, 1291, 38, 1369, 0, 0, -1},
+ {0, 70, 0, 65535, 401.49f, 1566.44f, 0.0f, 0.929256f, 0.940658f, 318, 1234, 484, 1925, 0, 0, -1},
+ {0, 70, 0, 65535, 774.992f, 1433.86f, 0.0f, 0.929254f, 0.940658f, 692, 1102, 857, 1793, 0, 0, -1},
+ {0, 70, 0, 65535, 1195.86f, 1563.29f, 0.0f, 0.929254f, 0.940658f, 1113, 1231, 1278, 1922, 0, 0, -1},
+ {0, 70, 0, 65535, 1479.97f, 1372.8f, 0.0f, 0.929254f, 0.940658f, 1397, 1041, 1562, 1732, 0, 0, -1},
+ {0, 70, 0, 65535, 1764.08f, 1183.94f, 0.0f, 0.929254f, 0.940658f, 1681, 852, 1846, 1543, 0, 0, -1},
+ {0, 70, 0, 65535, 2114.13f, 1547.83f, 0.0f, 0.929254f, 0.940658f, 2031, 1216, 2196, 1907, 0, 0, -1},
+ {0, 70, 0, 65535, 2553.73f, 1306.05f, 0.0f, 0.929254f, 0.940658f, 2471, 974, 2636, 1665, 0, 0, -1},
+ {0, 70, 0, 65535, 2948.55f, 1532.36f, 0.0f, 0.929254f, 0.940658f, 2865, 1200, 3031, 1891, 0, 0, -1},
+ {0, 74, 0, 65535, 1024.1f, 1772.81f, 0.0f, 7.25293f, 1.0f, 124, 1503, 1931, 2061, 0, 0, -1},
+ {0, 74, 0, 65535, 2279.52f, 1828.23f, 0.0f, 7.25292f, 1.0f, 1380, 1558, 3187, 2116, 0, 0, -1},
+ {0, 80, 0, 65535, 2814.46f, 1568.67f, 270.828f, 1.0f, 1.0f, 2445, 1527, 3182, 1613, 0, 0, -1},
+ {0, 80, 0, 65535, 2187.18f, 1527.27f, 270.828f, 1.34023f, 1.0f, 1818, 1472, 2555, 1585, 0, 0, -1},
+ {0, 80, 0, 65535, 1295.07f, 1463.3f, 270.828f, 1.34023f, 1.21094f, 848, 1408, 1741, 1522, 0, 0, -1},
+ {0, 80, 0, 65535, 296.89f, 1489.67f, 266.425f, 1.34023f, 1.21094f, -150, 1420, 744, 1570, 0, 0, -1},
+ {1, 13, 0, 65535, 80.655f, 1306.1f, 0.0f, 1.08297f, 1.0f, 4, 1300, 158, 1313, 0, 0, -1},
+ {5, 255, 0, 65535, 3443.16f, 1489.81f, 0.0f, 162.0f, 90.0f, 3362, 1444, 3525, 1535, 0, 0, -1},
+ {1, 12, 0, 65535, 3423.84f, 1547.52f, 0.0f, 2.62148f, 1.0f, 3177, 1541, 3671, 1554, 0, 0, -1},
+ {1, 12, 0, 65535, 397.632f, 1312.84f, -45.0f, 1.23944f, 1.0f, 311, 1226, 485, 1400, 0, 0, -1},
+ {2, 0, 0, 142, 388.416f, 1058.51f, -225.0f, 0.598977f, 0.537136f, 295, 965, 471, 1142, 0, 0, -1},
+ {2, 0, 0, 143, 761.805f, 927.078f, -225.0f, 0.598977f, 0.537136f, 669, 833, 844, 1011, 0, 0, -1},
+ {1, 12, 0, 65535, 771.02f, 1181.41f, -45.0f, 1.23944f, 1.0f, 684, 1094, 858, 1269, 0, 0, -1},
+ {2, 0, 0, 144, 1183.26f, 862.169f, -225.0f, 0.598977f, 0.537136f, 1090, 768, 1265, 946, 0, 0, -1},
+ {1, 12, 0, 65535, 1192.48f, 1308.5f, -45.0f, 1.23944f, 1.0f, 1105, 1221, 1280, 1396, 0, 0, -1},
+ {2, 0, 0, 145, 1468.28f, 865.402f, -225.0f, 0.598977f, 0.537136f, 1375, 772, 1550, 949, 0, 0, -1},
+ {1, 12, 0, 65535, 1477.5f, 1119.74f, -45.0f, 1.23944f, 1.0f, 1390, 1033, 1565, 1207, 0, 0, -1},
+ {2, 0, 0, 146, 1751.43f, 676.634f, -225.0f, 0.598977f, 0.537136f, 1658, 583, 1834, 760, 0, 0, -1},
+ {1, 12, 0, 65535, 1760.65f, 930.969f, -45.0f, 1.23944f, 1.0f, 1674, 844, 1848, 1018, 0, 0, -1},
+ {2, 0, 0, 147, 2101.87f, 720.152f, -225.0f, 0.598977f, 0.537136f, 2009, 626, 2184, 804, 0, 0, -1},
+ {1, 12, 0, 65535, 2111.09f, 1294.49f, -45.0f, 1.23944f, 1.0f, 2024, 1207, 2198, 1382, 0, 0, -1},
+ {2, 0, 0, 148, 2542.01f, 799.053f, -225.0f, 0.598977f, 0.537136f, 2449, 705, 2624, 883, 0, 0, -1},
+ {1, 12, 0, 65535, 2551.23f, 1053.39f, -45.0f, 1.23944f, 1.0f, 2464, 966, 2638, 1141, 0, 0, -1},
+ {2, 0, 0, 149, 2935.44f, 867.069f, -225.0f, 0.598977f, 0.537136f, 2842, 773, 3018, 951, 0, 0, -1},
+ {1, 12, 0, 65535, 2944.66f, 1281.4f, -45.0f, 1.23944f, 1.0f, 2858, 1194, 3032, 1369, 0, 0, -1},
+ {0, 74, 0, 65535, 3782.66f, 1691.93f, 270.0f, 1.0f, 4.60321f, 2542, 1566, 5107, 1816, 0, 0, -1},
+ {0, 74, 0, 65535, 1035.78f, 1693.99f, 270.0f, 1.0f, 5.24211f, -377, 1568, 2543, 1818, 0, 0, -1},
+ {0, 74, 0, 65535, 4774.66f, 1691.93f, 270.0f, 1.0f, 4.60321f, 3534, 1566, 6099, 1816, 0, 0, -1},
+ {0, 74, 0, 65535, -193.751f, 1640.87f, 270.0f, 1.0f, 1.47969f, -593, 1515, 232, 1765, 0, 0, -1},
+ {0, 74, 0, 65535, 440.384f, 1683.07f, 282.153f, 0.941546f, 0.891618f, 180, 1517, 715, 1852, 0, 0, -1},
+ {0, 80, 0, 65535, 700.678f, 1568.21f, 270.0f, 1.0f, 1.0f, 332, 1529, 1068, 1608, 0, 0, -1},
+ {0, 80, 0, 65535, 1427.5f, 1567.64f, 270.0f, 1.0f, 1.0f, 1059, 1529, 1795, 1607, 0, 0, -1},
+ {0, 80, 0, 65535, 2158.23f, 1567.64f, 270.0f, 1.0f, 1.0f, 1790, 1529, 2526, 1607, 0, 0, -1},
+ {0, 80, 0, 65535, 2885.62f, 1567.64f, 270.0f, 1.0f, 1.0f, 2517, 1529, 3253, 1607, 0, 0, -1},
+ {0, 80, 0, 65535, 3614.69f, 1567.64f, 270.0f, 1.0f, 1.0f, 3246, 1529, 3982, 1607, 0, 0, -1},
+ {0, 80, 0, 65535, 4345.42f, 1567.64f, 270.0f, 1.0f, 1.0f, 3977, 1529, 4713, 1607, 0, 0, -1},
+ {0, 80, 0, 65535, 5077.82f, 1567.64f, 270.0f, 1.0f, 1.0f, 4709, 1529, 5445, 1607, 0, 0, -1},
+ {0, 80, 0, 65535, 5803.54f, 1567.64f, 270.0f, 1.0f, 1.0f, 5435, 1529, 6171, 1607, 0, 0, -1},
+ {0, 80, 0, 65535, -402.448f, 1527.47f, 271.901f, 1.0f, 1.0f, -772, 1481, -34, 1579, 0, 0, -1},
+ {5, 255, 0, 65535, 5262.7f, 1283.33f, 0.0f, 162.0f, 90.0f, 5181, 1238, 5344, 1329, 0, 0, -1},
+ {1, 11, 0, 65535, 93.0125f, 1514.52f, 0.0f, 1.0f, 1.0f, -48, 1508, 234, 1521, 0, 0, -1},
+ {1, 17, 0, 65535, 730.266f, 1370.58f, -12.2692f, 1.0f, 1.0f, 612, 1322, 841, 1400, 0, 0, -1},
+ {1, 17, 0, 65535, 1149.47f, 1287.2f, 0.0f, 1.0f, 1.0f, 1032, 1261, 1266, 1313, 0, 0, -1},
+ {1, 17, 0, 65535, 1758.78f, 1418.36f, -345.286f, 1.0f, 1.0f, 1649, 1366, 1875, 1450, 0, 0, -1},
+ {1, 17, 0, 65535, 2775.81f, 1493.23f, -25.8357f, 1.0f, 1.0f, 2663, 1422, 2874, 1535, 0, 0, -1},
+ {1, 17, 0, 65535, 3523.29f, 1321.01f, -40.898f, 1.0f, 1.0f, 3424, 1229, 3601, 1386, 0, 0, -1},
+ {1, 17, 0, 65535, 3148.84f, 1413.53f, -26.8534f, 1.0f, 1.0f, 3037, 1341, 3246, 1457, 0, 0, -1},
+ {1, 17, 0, 65535, 2271.32f, 1474.32f, 0.0f, 1.0f, 1.0f, 2154, 1448, 2388, 1500, 0, 0, -1},
+ {1, 17, 0, 65535, 3447.16f, 863.073f, 71.5093f, 1.0f, 1.0f, 3413, 747, 3507, 969, 0, 0, -1},
+ {1, 17, 0, 65535, 418.705f, 1488.39f, -32.2024f, 1.0f, 1.0f, 311, 1408, 509, 1540, 0, 0, -1},
+ {1, 17, 0, 65535, 3633.05f, 964.807f, 344.649f, 1.0f, 1.0f, 3516, 911, 3741, 997, 0, 0, -1},
+ {1, 55, 0, 65535, 272.252f, 1522.86f, -348.753f, 1.0f, 1.0f, 230, 1508, 315, 1537, 0, 0, -1},
+ {1, 17, 0, 65535, 4381.42f, 1361.24f, 0.0f, 1.0f, 1.0f, 4264, 1335, 4498, 1387, 0, 0, -1},
+ {1, 17, 0, 65535, 4966.49f, 1396.71f, 0.0f, 1.0f, 1.0f, 4849, 1371, 5083, 1423, 0, 0, -1},
+ {1, 17, 0, 65535, 3797.41f, 1170.43f, 341.782f, 1.0f, 1.0f, 3681, 1111, 3903, 1205, 0, 0, -1},
+ {1, 17, 0, 65535, 3900.03f, 985.028f, 614.922f, 1.0f, 1.0f, 3846, 877, 3932, 1103, 0, 0, -1},
+ {0, 74, 0, 65535, 3575.3f, 1507.88f, 270.0f, 1.4356f, 2.18686f, 2985, 1328, 4205, 1686, 0, 0, -1},
+ {0, 74, 0, 65535, 4855.87f, 1441.11f, 270.0f, 1.7809f, 2.51016f, 4179, 1218, 5578, 1662, 0, 0, -1},
+ {0, 74, 0, 65535, -157.157f, 1432.08f, 270.0f, 1.73823f, 2.31054f, -780, 1214, 508, 1648, 0, 0, -1},
+ {0, 80, 0, 65535, -332.569f, 1153.19f, -76.1902f, 1.0f, 1.0f, -700, 1037, 31, 1279, 0, 0, -1},
+ {0, 74, 0, 65535, -488.917f, 1300.0f, 282.88f, 1.24223f, 1.08924f, -810, 1083, -150, 1520, 0, 0, -1},
+ {0, 80, 0, 65535, 5457.59f, 1196.13f, 262.696f, 1.04353f, 0.971982f, 5099, 1120, 5817, 1282, 0, 0, -1},
+ {0, 74, 0, 65535, 1910.5f, 1442.73f, 270.0f, 1.71933f, 1.95f, 1384, 1227, 2472, 1656, 0, 0, -1},
+ {0, 74, 0, 65535, 912.558f, 1652.56f, 270.0f, 1.71933f, 1.95f, 387, 1437, 1474, 1866, 0, 0, -1},
+ {0, 74, 0, 65535, 2698.56f, 1580.56f, 270.0f, 1.71933f, 1.95f, 2173, 1365, 3260, 1794, 0, 0, -1},
+ {0, 74, 0, 65535, 3368.53f, 1399.45f, 270.0f, 1.4356f, 1.1942f, 3046, 1220, 3712, 1578, 0, 0, -1},
+ {0, 68, 0, 65535, 748.0f, 1349.5f, 180.0f, 1.0f, -1.0f, 508, 1220, 988, 1478, 0, 0, -1},
+ {0, 68, 0, 65535, 1218.0f, 1349.5f, 0.0f, 1.0f, 1.0f, 978, 1220, 1458, 1478, 0, 0, -1},
+ {0, 68, 0, 65535, 1698.0f, 1125.5f, 0.0f, 1.0f, 1.0f, 1458, 996, 1938, 1254, 0, 0, -1},
+ {0, 68, 0, 65535, 2178.0f, 1125.5f, 180.0f, 1.0f, -1.0f, 1938, 996, 2418, 1254, 0, 0, -1},
+ {0, 68, 0, 65535, 2579.58f, 1302.05f, 180.0f, 0.677402f, -0.677402f, 2417, 1214, 2743, 1389, 0, 0, -1},
+ {0, 68, 0, 65535, 2899.57f, 1302.05f, 0.0f, 0.677402f, 0.677401f, 2736, 1214, 3063, 1389, 0, 0, -1},
+ {0, 68, 0, 65535, 2899.58f, 1302.04f, 0.0f, 0.677402f, 0.677401f, 2737, 1214, 3063, 1389, 0, 0, -1},
+ {0, 68, 0, 65535, 2899.58f, 1302.04f, 0.0f, 0.677402f, 0.677401f, 2737, 1214, 3063, 1389, 0, 0, -1},
+ {0, 68, 0, 65535, 3217.91f, 1156.38f, 0.0f, 0.677402f, 0.677401f, 3055, 1068, 3381, 1244, 0, 0, -1},
+ {0, 68, 0, 65535, 3537.91f, 1156.38f, 180.0f, 0.677402f, -0.677401f, 3375, 1068, 3701, 1244, 0, 0, -1},
+ {0, 68, 0, 65535, 3815.64f, 1280.83f, 180.0f, 0.488852f, -0.488851f, 3698, 1217, 3933, 1344, 0, 0, -1},
+ {0, 68, 0, 65535, 3815.64f, 1280.84f, 180.0f, 0.488852f, -0.488852f, 3698, 1217, 3933, 1344, 0, 0, -1},
+ {0, 68, 0, 65535, 4067.64f, 1280.84f, 0.0f, 0.488852f, 0.488852f, 3950, 1217, 4185, 1344, 0, 0, -1},
+ {0, 68, 0, 65535, 4303.63f, 1173.83f, 0.0f, 0.488852f, 0.488852f, 4186, 1110, 4421, 1237, 0, 0, -1},
+ {0, 68, 0, 65535, 4537.63f, 1173.83f, 180.0f, 0.488852f, -0.488852f, 4420, 1110, 4655, 1237, 0, 0, -1},
+ {5, 255, 0, 65535, 4945.05f, 1154.07f, 0.0f, 162.0f, 90.0f, 4864, 1109, 5027, 1200, 0, 0, -1},
+ {1, 11, 0, 65535, 4882.07f, 1215.82f, 0.0f, 1.58544f, 1.0f, 4659, 1209, 5105, 1222, 0, 0, -1},
+ {1, 11, 0, 65535, 279.293f, 1214.56f, 3.55271e-15f, 1.58544f, 1.0f, 56, 1208, 503, 1221, 0, 0, -1},
+ {2, 1, 0, 150, 2735.67f, 1251.79f, 0.0f, 0.301891f, 0.301891f, 2638, 1154, 2833, 1348, 0, 0, -1},
+ {2, 1, 0, 151, 3377.31f, 955.399f, 0.0f, 0.301891f, 0.301891f, 3280, 858, 3475, 1052, 0, 0, -1},
+ {2, 4, 0, 152, 976.313f, 1424.23f, -270.0f, 0.481663f, 0.481663f, 867, 1269, 1086, 1579, 0, 0, -1},
+ {2, 4, 0, 153, 1941.33f, 998.712f, -270.0f, 0.498125f, 0.498125f, 1828, 839, 2055, 1159, 0, 0, -1},
+ {1, 35, 0, 65535, 1221.34f, 1324.11f, 0.0f, 1.0f, 1.00433f, 980, 1208, 1462, 1441, 0, 0, -1},
+ {1, 35, 0, 65535, 741.343f, 1324.11f, 180.0f, 1.0f, -1.00433f, 500, 1208, 982, 1441, 0, 0, -1},
+ {1, 36, 0, 65535, 2901.47f, 1287.69f, 0.0f, 1.0f, 1.0f, 2740, 1208, 3062, 1367, 0, 0, -1},
+ {1, 36, 0, 65535, 2581.47f, 1287.69f, 180.0f, 1.0f, -1.0f, 2420, 1208, 2742, 1367, 0, 0, -1},
+ {1, 37, 0, 65535, 4059.84f, 1270.05f, 0.0f, 1.0f, 1.0f, 3939, 1209, 4181, 1332, 0, 0, -1},
+ {1, 37, 0, 65535, 3820.84f, 1270.05f, 180.0f, 1.0f, -1.0f, 3700, 1209, 3942, 1332, 0, 0, -1},
+ {1, 35, 0, 65535, 2181.34f, 1105.11f, 180.0f, 1.0f, -1.00433f, 1940, 989, 2422, 1222, 0, 0, -1},
+ {1, 35, 0, 65535, 1701.34f, 1105.11f, 0.0f, 1.0f, 1.00433f, 1460, 989, 1942, 1222, 0, 0, -1},
+ {1, 37, 0, 65535, 4299.84f, 1161.05f, 0.0f, 1.0f, 1.0f, 4179, 1100, 4421, 1223, 0, 0, -1},
+ {1, 37, 0, 65535, 4539.84f, 1161.05f, 180.0f, 1.0f, -1.0f, 4419, 1100, 4661, 1223, 0, 0, -1},
+ {1, 36, 0, 65535, 3539.94f, 1142.22f, 180.0f, 1.0f, -1.0f, 3379, 1063, 3701, 1222, 0, 0, -1},
+ {1, 36, 0, 65535, 3220.94f, 1142.22f, 0.0f, 1.0f, 1.0f, 3060, 1063, 3382, 1222, 0, 0, -1},
+ {2, 2, 0, 154, 3941.58f, 1189.05f, -270.0f, 0.380997f, 0.380997f, 3854, 1067, 4029, 1312, 0, 0, -1},
+ {0, 74, 0, 65535, 476.849f, 1686.22f, 270.0f, 1.0f, 3.52648f, -474, 1561, 1491, 1811, 0, 0, -1},
+ {0, 74, 0, 65535, 2315.32f, 1686.49f, 270.0f, 1.0f, 3.14912f, 1466, 1561, 3221, 1811, 0, 0, -1},
+ {0, 74, 0, 65535, 3799.46f, 1697.14f, 270.0f, 1.0f, 3.14912f, 2950, 1572, 4705, 1822, 0, 0, -1},
+ {0, 74, 0, 65535, 4357.21f, 1539.94f, 270.0f, 1.0f, 1.79318f, 3873, 1414, 4873, 1664, 0, 0, -1},
+ {0, 64, 0, 65535, 3754.64f, 1396.8f, 0.0f, 1.0f, 1.0f, 3614, 1206, 3895, 1589, 0, 0, -1},
+ {0, 64, 0, 65535, 4081.1f, 1315.77f, 90.0f, 0.774068f, 0.987534f, 3891, 1207, 4270, 1425, 0, 0, -1},
+ {0, 68, 0, 65535, 3375.51f, 1486.73f, 180.0f, 1.0f, -1.0f, 3135, 1357, 3616, 1615, 0, 0, -1},
+ {0, 73, 0, 65535, 2938.55f, 1970.73f, 0.0f, 1.57272f, 1.87351f, 2762, 1418, 3114, 2550, 0, 0, -1},
+ {0, 74, 0, 65535, 3128.04f, 1504.15f, 282.301f, 1.0f, 0.104175f, 3074, 1376, 3184, 1632, 0, 0, -1},
+ {0, 74, 0, 65535, 3096.49f, 1530.46f, 282.301f, 1.0f, 0.0407437f, 3059, 1405, 3135, 1655, 0, 0, -1},
+ {0, 80, 0, 65535, 830.692f, 1580.58f, 268.089f, 1.0f, 0.81638f, 529, 1536, 1132, 1630, 0, 0, -1},
+ {0, 80, 0, 65535, 1296.38f, 1532.36f, 262.073f, 1.0f, 1.0f, 928, 1453, 1666, 1622, 0, 0, -1},
+ {0, 80, 0, 65535, 2117.82f, 1534.79f, 274.101f, 1.62245f, 1.28166f, 1642, 1449, 2591, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 2540.44f, 1572.52f, 234.238f, 0.786269f, 0.761425f, 2300, 1390, 2786, 1762, 0, 0, -1},
+ {0, 67, 0, 65535, 2726.71f, 1555.05f, -40.7187f, 1.57546f, 1.00649f, 2583, 1416, 2869, 1694, 0, 0, -1},
+ {0, 67, 0, 65535, 1514.01f, 1589.19f, -368.404f, 2.01896f, 1.00649f, 1348, 1489, 1680, 1690, 0, 0, -1},
+ {0, 80, 0, 65535, -553.946f, 1571.71f, 274.101f, 1.62245f, 1.28166f, -1029, 1486, -81, 1669, 0, 0, -1},
+ {0, 80, 0, 65535, 4793.5f, 1403.45f, 262.949f, 0.93562f, 0.870393f, 4472, 1337, 5115, 1479, 0, 0, -1},
+ {5, 255, 0, 65535, 4379.78f, 1336.36f, 0.0f, 162.0f, 90.0f, 4298, 1291, 4461, 1382, 0, 0, -1},
+ {1, 37, 0, 155, 469.762f, 1505.0f, 0.0f, 1.0f, 1.0f, 349, 1444, 591, 1566, 0, 0, -1},
+ {1, 37, 0, 156, 709.762f, 1396.0f, 0.0f, 1.0f, 1.0f, 589, 1335, 831, 1457, 0, 0, -1},
+ {1, 37, 0, 157, 1189.76f, 1178.0f, 0.0f, 1.0f, 1.0f, 1069, 1117, 1311, 1239, 0, 0, -1},
+ {1, 37, 0, 158, 949.762f, 1287.0f, 0.0f, 1.0f, 1.0f, 829, 1226, 1071, 1348, 0, 0, -1},
+ {1, 37, 0, 159, 1669.76f, 960.0f, 0.0f, 1.0f, 1.0f, 1549, 899, 1791, 1021, 0, 0, -1},
+ {1, 37, 0, 160, 1429.76f, 1069.0f, 0.0f, 1.0f, 1.0f, 1309, 1008, 1551, 1130, 0, 0, -1},
+ {1, 11, 0, 161, 93.7744f, 1559.5f, 0.0f, 1.82995f, 1.0f, -164, 1553, 351, 1566, 0, 0, -1},
+ {1, 47, 0, 162, 2542.68f, 1265.34f, 141.415f, 1.00235f, 1.0f, 2303, 1025, 2730, 1446, 0, 0, -1},
+ {1, 58, 0, 65535, 2911.81f, 1395.17f, 15.808f, 1.00235f, 1.00469f, 2727, 1233, 3147, 1507, 0, 0, -1},
+ {1, 35, 0, 65535, 3375.06f, 1461.58f, 180.0f, 1.0f, -1.00433f, 3134, 1346, 3616, 1579, 0, 0, -1},
+ {1, 14, 0, 65535, 3751.8f, 1388.76f, 0.0f, 1.0f, 1.0f, 3612, 1200, 3891, 1578, 0, 0, -1},
+ {1, 14, 0, 65535, 4108.29f, 1310.77f, 81.4679f, 1.0f, 1.0f, 3901, 1198, 4314, 1421, 0, 0, -1},
+ {1, 12, 0, 65535, 4406.26f, 1414.5f, 0.0f, 1.0f, 1.0f, 4312, 1408, 4501, 1421, 0, 0, -1},
+ {0, 68, 0, 65535, 377.0f, 1279.0f, 0.0f, 1.0125f, 1.00389f, 134, 1148, 620, 1408, 0, 0, -1},
+ {0, 77, 0, 65535, 1120.0f, 1516.0f, 90.0f, 5.28571f, 13.6f, 38, 1373, 2195, 1664, 0, 0, -1},
+ {0, 74, 0, 65535, 3856.97f, 1637.5f, 0.0f, 15.4237f, 1.0f, 1944, 1368, 5785, 1925, 0, 0, -1},
+ {0, 74, 0, 65535, -177.818f, 1637.5f, 0.0f, 2.16655f, 1.0f, -447, 1368, 93, 1925, 0, 0, -1},
+ {0, 80, 0, 65535, 611.0f, 1303.44f, 0.0f, 0.410256f, 0.410256f, 595, 1152, 627, 1454, 0, 0, -1},
+ {0, 68, 0, 65535, 4727.0f, 1279.0f, 180.0f, 1.0125f, -1.00389f, 4484, 1148, 4970, 1408, 0, 0, -1},
+ {0, 80, 0, 65535, 4509.0f, 1303.44f, 180.0f, 0.410256f, -0.410256f, 4493, 1152, 4525, 1455, 0, 0, -1},
+ {0, 80, 0, 65535, 5600.93f, 1373.73f, -95.3572f, 1.25172f, 1.0f, 5231, 1303, 5971, 1457, 0, 0, -1},
+ {0, 80, 0, 65535, 4436.4f, 1519.43f, 191.917f, 0.945029f, 1.0f, 4333, 1154, 4549, 1888, 0, 0, -1},
+ {0, 80, 0, 65535, -352.919f, 1370.83f, -86.6862f, 0.945028f, 1.0f, -723, 1319, 16, 1429, 0, 0, -1},
+ {1, 35, 0, 65535, 379.0f, 1258.5f, 0.0f, 1.0f, 1.00433f, 138, 1143, 620, 1376, 0, 0, -1},
+ {2, 0, 0, 65535, 720.833f, 1339.0f, 0.0f, 0.52603f, 1.0f, 619, 1307, 822, 1370, 0, 0, -1},
+ {1, 45, 0, 163, 868.0f, 1170.5f, 0.0f, 1.0f, 1.01818f, 759, 1143, 977, 1198, 0, 0, -1},
+ {2, 0, 0, 65535, 918.0f, 1339.0f, 0.0f, 0.526807f, 1.0f, 816, 1307, 1019, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1118.83f, 1339.0f, 0.0f, 0.544678f, 1.0f, 1013, 1307, 1224, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1321.33f, 1339.0f, 0.0f, 0.533023f, 1.0f, 1218, 1307, 1424, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1521.5f, 1339.0f, 0.0f, 0.5338f, 1.0f, 1418, 1307, 1624, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1723.0f, 1339.0f, 0.0f, 0.540793f, 1.0f, 1618, 1307, 1827, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1922.67f, 1339.0f, 0.0f, 0.539239f, 1.0f, 1818, 1307, 2026, 1370, 0, 0, -1},
+ {1, 13, 0, 65535, 69.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 140, 1374, 0, 0, -1},
+ {1, 45, 0, 164, 1112.0f, 1170.5f, 0.0f, 1.0f, 1.01818f, 1003, 1143, 1221, 1198, 0, 0, -1},
+ {1, 45, 0, 165, 1574.0f, 1170.5f, 0.0f, 1.0f, 1.01818f, 1465, 1143, 1683, 1198, 0, 0, -1},
+ {1, 45, 0, 166, 1817.0f, 1170.5f, 0.0f, 1.0f, 1.01818f, 1708, 1143, 1926, 1198, 0, 0, -1},
+ {2, 0, 0, 65535, 2130.5f, 1339.0f, 0.0f, 0.58042f, 1.0f, 2018, 1307, 2242, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 3753.5f, 1339.0f, 0.0f, 0.58042f, 1.0f, 3641, 1307, 3865, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 2541.0f, 1339.0f, 0.0f, 0.526807f, 1.0f, 2439, 1307, 2642, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 2343.83f, 1339.0f, 0.0f, 0.52603f, 1.0f, 2242, 1307, 2445, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 3545.67f, 1339.0f, 0.0f, 0.539238f, 1.0f, 3441, 1307, 3649, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 3144.5f, 1339.0f, 0.0f, 0.5338f, 1.0f, 3041, 1307, 3247, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 3346.0f, 1339.0f, 0.0f, 0.540793f, 1.0f, 3241, 1307, 3450, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 2944.33f, 1339.0f, 0.0f, 0.533023f, 1.0f, 2841, 1307, 3047, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 2741.83f, 1339.0f, 0.0f, 0.544678f, 1.0f, 2636, 1307, 2847, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 4163.0f, 1339.0f, 0.0f, 0.526807f, 1.0f, 4061, 1307, 4264, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 3965.83f, 1339.0f, 0.0f, 0.52603f, 1.0f, 3864, 1307, 4067, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 4363.83f, 1339.0f, 0.0f, 0.544678f, 1.0f, 4258, 1307, 4469, 1370, 0, 0, -1},
+ {1, 37, 0, 167, 2529.76f, 1127.7f, 180.0f, 1.0f, -1.0f, 2409, 1066, 2651, 1189, 0, 0, -1},
+ {1, 37, 0, 168, 2285.8f, 1127.79f, 0.0f, 1.0f, 1.0f, 2165, 1066, 2407, 1189, 0, 0, -1},
+ {1, 37, 0, 169, 3269.76f, 1127.7f, 180.0f, 1.0f, -1.0f, 3149, 1066, 3391, 1189, 0, 0, -1},
+ {1, 37, 0, 170, 3025.8f, 1127.79f, 0.0f, 1.0f, 1.0f, 2905, 1066, 3147, 1189, 0, 0, -1},
+ {1, 8, 0, 171, 4245.22f, 1169.36f, 0.0f, 1.00457f, 1.0f, 4134, 1060, 4356, 1280, 0, 0, -1},
+ {1, 8, 0, 172, 4034.22f, 1169.36f, 0.0f, 1.00457f, 1.0f, 3923, 1060, 4145, 1280, 0, 0, -1},
+ {1, 37, 0, 173, 3506.8f, 1127.79f, 0.0f, 1.0f, 1.0f, 3386, 1066, 3628, 1189, 0, 0, -1},
+ {1, 35, 0, 65535, 4725.0f, 1258.5f, 180.0f, 1.0f, -1.00433f, 4484, 1143, 4966, 1376, 0, 0, -1},
+ {1, 13, 0, 65535, 5035.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 4965, 1362, 5106, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 5175.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 5105, 1362, 5246, 1374, 0, 0, -1},
+ {5, 255, 0, 65535, 5125.19f, 1307.91f, 0.0f, 162.0f, 90.0f, 5044, 1262, 5207, 1353, 0, 0, -1},
+ {0, 77, 0, 65535, 832.0f, 1519.5f, 0.0f, 18.2857f, 1.80625f, 338, 1376, 1344, 1664, 0, 0, -1},
+ {0, 77, 0, 65535, 1536.0f, 1516.5f, 0.0f, 8.0f, 1.80625f, 1320, 1373, 1760, 1661, 0, 0, -1},
+ {0, 70, 0, 65535, 412.5f, 1556.5f, 0.0f, 1.0f, 1.0f, 323, 1204, 501, 1938, 0, 0, -1},
+ {0, 74, 0, 65535, 108.83f, 1641.5f, 0.0f, 3.41736f, 1.0f, -315, 1372, 536, 1929, 0, 0, -1},
+ {0, 80, 0, 65535, 501.0f, 1296.5f, 0.0f, 0.153846f, 0.260218f, 495, 1200, 507, 1392, 0, 0, -1},
+ {0, 80, 0, 65535, 698.75f, 1377.0f, -90.0f, 0.820513f, 0.537466f, 500, 1345, 896, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 949.0f, 1377.0f, -90.0f, 0.820513f, 0.260218f, 853, 1345, 1045, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 1454.02f, 1375.0f, -90.0f, 0.820513f, 0.561359f, 1247, 1343, 1661, 1407, 0, 0, -1},
+ {0, 77, 0, 65535, 1533.5f, 1516.5f, 0.0f, 5.66071f, 1.80625f, 1380, 1373, 1692, 1661, 0, 0, -1},
+ {0, 80, 0, 65535, 1157.25f, 1375.0f, -90.0f, 0.820513f, 0.382153f, 1016, 1343, 1298, 1407, 0, 0, -1},
+ {0, 74, 0, 65535, 2282.73f, 1673.5f, 0.0f, 5.4458f, 1.0f, 1607, 1404, 2964, 1961, 0, 0, -1},
+ {0, 74, 0, 65535, 2894.87f, 1320.49f, 0.0f, 2.71375f, 1.0f, 2558, 1050, 3235, 1608, 0, 0, -1},
+ {0, 80, 0, 65535, 1893.58f, 1376.45f, -90.0f, 0.820513f, 0.648829f, 1654, 1344, 2132, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 2366.66f, 1376.45f, -90.0f, 0.820513f, 0.659497f, 2123, 1344, 2609, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 2529.35f, 1336.89f, -169.113f, 0.961551f, 0.777141f, 2448, 1051, 2621, 1625, 0, 0, -1},
+ {0, 80, 0, 65535, 3143.02f, 1038.52f, -458.549f, 0.961551f, 0.77714f, 2856, 968, 3431, 1119, 0, 0, -1},
+ {0, 80, 0, 65535, -195.782f, 1362.79f, -439.258f, 0.934101f, 0.64883f, -438, 1291, 44, 1443, 0, 0, -1},
+ {1, 40, 0, 65535, 413.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 319, 1187, 508, 1374, 0, 0, -1},
+ {1, 48, 0, 174, 661.0f, 1225.0f, -213.355f, 1.00348f, 1.0f, 500, 1065, 789, 1346, 0, 0, -1},
+ {1, 48, 0, 175, 1033.49f, 1217.74f, -121.071f, 1.00348f, 1.0f, 913, 1058, 1192, 1348, 0, 0, -1},
+ {1, 11, 0, 65535, 2718.0f, 1048.0f, 0.0f, 1.16726f, 1.0f, 2554, 1042, 2882, 1054, 0, 0, -1},
+ {1, 48, 0, 176, 1423.0f, 1221.0f, -224.139f, 1.00348f, 1.0f, 1259, 1057, 1547, 1346, 0, 0, -1},
+ {1, 11, 0, 65535, 165.0f, 1368.0f, 0.0f, 1.16726f, 1.0f, 1, 1362, 329, 1374, 0, 0, -1},
+ {1, 48, 0, 177, 1942.75f, 1061.77f, -121.071f, 1.00348f, 1.0f, 1822, 902, 2102, 1192, 0, 0, -1},
+ {1, 48, 0, 178, 2325.8f, 1058.74f, -238.263f, 1.00348f, 1.0f, 2166, 899, 2446, 1188, 0, 0, -1},
+ {5, 255, 0, 65535, 2716.2f, 974.421f, 0.0f, 162.0f, 90.0f, 2635, 929, 2798, 1020, 0, 0, -1},
+ {1, 58, 0, 65535, 1442.17f, 887.352f, -312.661f, 1.00235f, 1.00469f, 1307, 657, 1666, 1029, 0, 0, -1},
+ {1, 48, 0, 179, 1670.7f, 1139.84f, -121.071f, 1.00348f, 1.0f, 1550, 980, 1830, 1270, 0, 0, -1},
+ {0, 77, 0, 65535, 74.0f, 1487.0f, 90.0f, 4.14286f, 1.02917f, -8, 1375, 156, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 654.667f, 1487.0f, 90.0f, 4.14286f, 6.0375f, 174, 1375, 1132, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 438.167f, 1570.0f, 90.0f, 1.17857f, 3.77292f, 138, 1538, 737, 1603, 0, 0, -1},
+ {0, 70, 0, 65535, 139.5f, 1616.5f, 0.0f, 1.0f, 1.0f, 50, 1264, 228, 1998, 0, 0, -1},
+ {0, 77, 0, 65535, 1582.67f, 1487.0f, 90.0f, 4.14286f, 6.0375f, 1102, 1375, 2060, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 3462.84f, 1487.0f, 90.0f, 4.14286f, 18.3396f, 2004, 1375, 4912, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 4646.84f, 1487.0f, 90.0f, 4.14286f, 18.3396f, 3188, 1375, 6096, 1603, 0, 0, -1},
+ {0, 80, 0, 65535, 579.438f, 1378.85f, 264.82f, 1.0f, 1.0f, 210, 1316, 949, 1451, 0, 0, -1},
+ {0, 80, 0, 65535, 1302.76f, 1383.17f, 275.363f, 1.0f, 1.0f, 932, 1318, 1671, 1457, 0, 0, -1},
+ {0, 80, 0, 65535, 3130.46f, 1359.93f, 271.907f, 1.35925f, 1.35925f, 2628, 1298, 3631, 1430, 0, 0, -1},
+ {0, 80, 0, 65535, 2147.74f, 1376.58f, 265.886f, 1.35925f, 1.35925f, 1646, 1301, 2650, 1466, 0, 0, -1},
+ {0, 80, 0, 65535, 3990.3f, 1334.39f, 264.82f, 1.0f, 1.0f, 3621, 1272, 4360, 1407, 0, 0, -1},
+ {0, 80, 0, 65535, 4841.29f, 1382.63f, -81.9523f, 1.35924f, 1.35925f, 4338, 1273, 5341, 1505, 0, 0, -1},
+ {0, 80, 0, 65535, 5374.83f, 1389.66f, -91.5574f, 1.35924f, 1.35925f, 4874, 1330, 5875, 1457, 0, 0, -1},
+ {0, 77, 0, 65535, 4203.88f, 1451.48f, 90.0f, 4.14286f, 2.25133f, 4024, 1339, 4382, 1568, 0, 0, -1},
+ {0, 80, 0, 65535, 312.005f, 1482.81f, -30.6718f, 1.0f, 0.596379f, 166, 1279, 449, 1691, 0, 0, -1},
+ {1, 57, 0, 65535, 57.6667f, 1368.0f, 0.0f, 2.87302f, 1.0f, -3, 1362, 119, 1374, 0, 0, -1},
+ {1, 7, 0, 65535, 169.5f, 1315.0f, 0.0f, 1.0f, 1.0084f, 110, 1254, 229, 1375, 0, 0, -1},
+ {1, 47, 0, 65535, 647.084f, 1200.88f, 0.0f, 1.00235f, 1.0f, 433, 1030, 861, 1372, 0, 0, -1},
+ {1, 48, 0, 65535, 1085.57f, 1255.97f, 0.0f, 1.00348f, 1.0f, 941, 1140, 1231, 1372, 0, 0, -1},
+ {1, 49, 0, 65535, 1471.47f, 1283.01f, 0.0f, 1.00457f, 1.0f, 1360, 1195, 1582, 1372, 0, 0, -1},
+ {1, 47, 0, 65535, 1782.08f, 1200.88f, 0.0f, 1.00235f, 1.0f, 1568, 1030, 1996, 1372, 0, 0, -1},
+ {1, 47, 0, 65535, 2518.08f, 1200.88f, 0.0f, 1.00235f, 1.0f, 2304, 1030, 2732, 1372, 0, 0, -1},
+ {1, 48, 0, 65535, 3293.57f, 1255.97f, 0.0f, 1.00348f, 1.0f, 3149, 1140, 3439, 1372, 0, 0, -1},
+ {1, 49, 0, 65535, 2914.47f, 1283.01f, 0.0f, 1.00457f, 1.0f, 2803, 1195, 3025, 1372, 0, 0, -1},
+ {1, 8, 0, 65535, 3570.32f, 1147.82f, 0.0f, 1.00457f, 1.0f, 3459, 1038, 3681, 1258, 0, 0, -1},
+ {1, 9, 0, 65535, 3938.24f, 1111.43f, 0.0f, 1.0f, 1.0f, 3863, 1036, 4014, 1187, 0, 0, -1},
+ {1, 8, 0, 65535, 4195.99f, 1222.22f, 0.0f, 1.00457f, 1.0f, 4085, 1113, 4307, 1333, 0, 0, -1},
+ {5, 255, 0, 65535, 4192.73f, 1037.65f, 0.0f, 162.0f, 90.0f, 4111, 992, 4274, 1083, 0, 0, -1},
+ {1, 10, 0, 65535, 4519.75f, 1198.22f, 0.0f, 1.0f, 1.0f, 4461, 1140, 4578, 1257, 0, 0, -1},
+ {1, 10, 0, 65535, 4650.26f, 993.429f, 0.0f, 1.0f, 1.0f, 4591, 935, 4709, 1052, 0, 0, -1},
+ {1, 49, 0, 65535, 2214.47f, 1283.01f, 0.0f, 1.00457f, 1.0f, 2103, 1195, 2325, 1372, 0, 0, -1},
+ {0, 77, 0, 65535, 581.026f, 1298.14f, -255.0f, 4.14286f, 5.44049f, 135, 1078, 1026, 1522, 0, 0, -1},
+ {0, 70, 0, 65535, 139.5f, 1264.5f, 0.0f, 1.0f, 1.0f, 50, 912, 228, 1646, 0, 0, -1},
+ {0, 77, 0, 65535, 1260.51f, 1451.15f, -240.0f, 4.14286f, 6.0375f, 789, 1114, 1730, 1791, 0, 0, -1},
+ {0, 77, 0, 65535, 930.32f, 1524.42f, -180.0f, 4.14286f, 6.0375f, 814, 1044, 1043, 2002, 0, 0, -1},
+ {0, 77, 0, 65535, 1526.52f, 1712.37f, -180.0f, 4.14286f, 6.0375f, 1410, 1232, 1639, 2190, 0, 0, -1},
+ {0, 77, 0, 65535, -42.3298f, 1503.24f, 0.0f, 8.5336f, 6.0375f, -273, 1026, 197, 1984, 0, 0, -1},
+ {0, 77, 0, 65535, 481.141f, 1460.15f, 270.0f, 5.25867f, 4.55346f, 121, 1312, 844, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1257.4f, 1580.05f, 270.0f, 5.25868f, 4.55346f, 897, 1432, 1620, 1723, 0, 0, -1},
+ {0, 77, 0, 65535, 2094.92f, 1509.56f, 270.0f, 5.25868f, 5.99684f, 1621, 1362, 2572, 1652, 0, 0, -1},
+ {0, 77, 0, 65535, 2188.24f, 1332.11f, 246.498f, 7.21906f, 6.563f, 1632, 939, 2745, 1718, 0, 0, -1},
+ {0, 77, 0, 65535, 3180.75f, 1454.26f, 270.0f, 6.89832f, 5.99684f, 2706, 1261, 3658, 1641, 0, 0, -1},
+ {0, 77, 0, 65535, 4105.9f, 1725.54f, 289.712f, 6.89832f, 5.99684f, 3597, 1383, 4618, 2062, 0, 0, -1},
+ {0, 77, 0, 65535, 5025.49f, 1662.94f, 270.0f, 6.89832f, 5.99684f, 4551, 1469, 5503, 1850, 0, 0, -1},
+ {0, 80, 0, 65535, -325.932f, 965.632f, -75.3261f, 1.24541f, 1.0f, -695, 837, 39, 1106, 0, 0, -1},
+ {0, 77, 0, 65535, 2680.95f, 1365.21f, -180.0f, 4.14286f, 6.0375f, 2564, 885, 2793, 1843, 0, 0, -1},
+ {0, 77, 0, 65535, 3154.36f, 1256.55f, -255.0f, 4.14286f, 5.90369f, 2673, 1027, 3634, 1490, 0, 0, -1},
+ {0, 77, 0, 65535, 4139.5f, 1511.46f, -240.0f, 4.14286f, 7.77839f, 3549, 1105, 4728, 1920, 0, 0, -1},
+ {0, 77, 0, 65535, 3688.7f, 1515.09f, -180.0f, 4.14286f, 6.0375f, 3572, 1035, 3801, 1993, 0, 0, -1},
+ {0, 80, 0, 65535, 1969.17f, 1226.51f, 246.653f, 1.24541f, 1.0f, 1617, 1047, 2326, 1417, 0, 0, -1},
+ {0, 80, 0, 65535, 2280.26f, 1093.57f, 242.433f, 1.24541f, 1.0f, 1937, 891, 2629, 1307, 0, 0, -1},
+ {0, 80, 0, 65535, 5145.95f, 1465.02f, 263.284f, 1.24541f, 1.0f, 4776, 1386, 5517, 1557, 0, 0, -1},
+ {0, 80, 0, 65535, 4452.18f, 1828.32f, 200.195f, 1.24541f, 1.0f, 4291, 1471, 4625, 2191, 0, 0, -1},
+ {0, 80, 0, 65535, 3541.6f, 1404.31f, 189.115f, 0.720693f, 1.0f, 3462, 1038, 3628, 1773, 0, 0, -1},
+ {0, 80, 0, 65535, 1376.04f, 1603.9f, 189.115f, 0.720692f, 1.0f, 1297, 1238, 1462, 1972, 0, 0, -1},
+ {0, 80, 0, 65535, 783.469f, 1419.48f, 189.115f, 0.720692f, 1.0f, 704, 1053, 870, 1788, 0, 0, -1},
+ {1, 57, 0, 65535, 57.6667f, 1016.0f, 0.0f, 2.87302f, 1.0f, -3, 1010, 119, 1022, 0, 0, -1},
+ {1, 7, 0, 65535, 169.5f, 963.0f, 0.0f, 1.0f, 1.0084f, 110, 902, 229, 1023, 0, 0, -1},
+ {1, 8, 30, 65535, 343.779f, 992.773f, 0.0f, 1.00457f, 1.0f, 233, 883, 455, 1103, 0, 0, -1},
+ {1, 9, 0, 65535, 1717.58f, 1260.66f, 0.0f, 1.0f, 1.0f, 1642, 1186, 1793, 1336, 0, 0, -1},
+ {1, 8, 30, 65535, 1159.0f, 1127.68f, 0.0f, 1.00457f, 1.0f, 1048, 1018, 1270, 1238, 0, 0, -1},
+ {5, 255, 0, 65535, 4665.81f, 1400.22f, 0.0f, 162.0f, 90.0f, 4584, 1355, 4747, 1446, 0, 0, -1},
+ {1, 10, 0, 65535, 1830.49f, 1218.87f, 0.0f, 1.0f, 1.0f, 1771, 1160, 1889, 1277, 0, 0, -1},
+ {1, 57, 0, 65535, 931.201f, 1036.0f, 0.0f, 5.59522f, 1.0f, 813, 1030, 1049, 1043, 0, 0, -1},
+ {1, 57, 0, 65535, 1523.73f, 1223.08f, 0.0f, 5.59521f, 1.0f, 1406, 1217, 1642, 1230, 0, 0, -1},
+ {1, 10, 0, 65535, 2065.33f, 1130.6f, 0.0f, 1.0f, 1.0f, 2006, 1072, 2124, 1189, 0, 0, -1},
+ {1, 9, 0, 65535, 1953.42f, 1189.34f, 0.0f, 1.0f, 1.0f, 1878, 1114, 2029, 1265, 0, 0, -1},
+ {1, 10, 0, 65535, 2288.58f, 1024.75f, 0.0f, 1.0f, 1.0f, 2230, 966, 2347, 1083, 0, 0, -1},
+ {1, 9, 0, 65535, 2176.67f, 1076.53f, 0.0f, 1.0f, 1.0f, 2101, 1002, 2252, 1152, 0, 0, -1},
+ {1, 10, 0, 65535, 2510.83f, 906.97f, 0.0f, 1.0f, 1.0f, 2452, 848, 2569, 965, 0, 0, -1},
+ {1, 9, 0, 65535, 2399.92f, 963.75f, 0.0f, 1.0f, 1.0f, 2324, 889, 2475, 1040, 0, 0, -1},
+ {1, 8, 30, 65535, 2910.15f, 956.445f, 0.0f, 1.00457f, 1.0f, 2799, 847, 3021, 1067, 0, 0, -1},
+ {1, 8, 30, 65535, 3920.6f, 1116.21f, 0.0f, 1.00457f, 1.0f, 3810, 1007, 4032, 1227, 0, 0, -1},
+ {1, 57, 0, 65535, 3689.58f, 1026.67f, 0.0f, 5.59521f, 1.0f, 3572, 1020, 3808, 1033, 0, 0, -1},
+ {1, 57, 0, 65535, 4664.47f, 1467.85f, 0.0f, 5.59521f, 1.0f, 4546, 1461, 4782, 1474, 0, 0, -1},
+ {1, 57, 0, 65535, 2681.83f, 876.788f, 0.0f, 5.59521f, 1.0f, 2564, 870, 2800, 883, 0, 0, -1},
+ {0, 74, 0, 65535, 240.392f, 1527.6f, 270.0f, 1.0f, 1.0f, -30, 1402, 528, 1652, 0, 0, -1},
+ {0, 74, 0, 65535, 890.392f, 1527.6f, 270.0f, 1.0f, 1.0f, 620, 1402, 1178, 1652, 0, 0, -1},
+ {0, 74, 0, 65535, 666.39f, 1527.6f, 270.0f, 1.0f, 1.0f, 396, 1402, 954, 1652, 0, 0, -1},
+ {0, 74, 0, 65535, 1370.39f, 1630.6f, 270.0f, 1.0f, 1.0f, 1100, 1505, 1658, 1755, 0, 0, -1},
+ {0, 74, 0, 65535, 1831.39f, 1532.6f, 270.0f, 1.0f, 1.0f, 1561, 1407, 2119, 1657, 0, 0, -1},
+ {0, 74, 0, 65535, 2087.39f, 1533.6f, 270.0f, 1.0f, 1.0f, 1817, 1408, 2375, 1658, 0, 0, -1},
+ {0, 64, 0, 65535, 128.555f, 1229.02f, 180.0f, 1.0f, -1.0f, -12, 1038, 269, 1421, 0, 0, -1},
+ {0, 74, 0, 65535, -140.423f, 1103.64f, -4.74803f, 1.08574f, 1.91235f, -318, 578, 41, 1663, 0, 0, -1},
+ {0, 68, 0, 65535, 736.665f, 1357.64f, 0.0f, 0.451881f, 0.451881f, 628, 1299, 846, 1416, 0, 0, -1},
+ {0, 68, 0, 65535, 951.309f, 1357.64f, 180.0f, 0.451881f, -0.451881f, 842, 1299, 1060, 1416, 0, 0, -1},
+ {0, 80, 0, 65535, -64.3087f, 681.366f, -5.62749f, 1.0f, 1.0f, -140, 312, 1, 1051, 0, 0, -1},
+ {0, 80, 0, 65535, 2353.96f, 1429.0f, 269.76f, 1.0f, 1.0f, 1986, 1390, 2722, 1470, 0, 0, -1},
+ {1, 57, 0, 65535, 793.667f, 1112.0f, 0.0f, 2.87302f, 1.0f, 733, 1106, 855, 1118, 0, 0, -1},
+ {1, 35, 0, 65535, 1638.5f, 888.487f, 0.0f, 1.0f, 1.00433f, 1397, 772, 1879, 1005, 0, 0, -1},
+ {1, 23, 0, 65535, 1641.0f, 1200.61f, 0.0f, 1.0f, 1.00529f, 1400, 1105, 1881, 1296, 0, 0, -1},
+ {1, 23, 0, 65535, 1094.0f, 1200.61f, 180.0f, 1.0f, -1.00529f, 853, 1105, 1334, 1296, 0, 0, -1},
+ {1, 35, 0, 65535, 1096.5f, 888.489f, 180.0f, 1.0f, -1.00433f, 855, 772, 1337, 1005, 0, 0, -1},
+ {2, 0, 0, 180, 1371.35f, 1484.74f, 0.0f, 1.0f, 1.0f, 1178, 1453, 1563, 1516, 0, 0, -1},
+ {2, 0, 0, 181, 1371.35f, 1312.59f, 180.0f, 1.0f, 1.0f, 1179, 1281, 1564, 1345, 0, 0, -1},
+ {2, 1, 0, 182, 1610.49f, 1155.58f, 0.0f, 0.208019f, 0.208019f, 1543, 1088, 1678, 1222, 0, 0, -1},
+ {2, 1, 0, 183, 1125.48f, 1155.58f, 0.0f, 0.208019f, 0.208019f, 1058, 1088, 1193, 1222, 0, 0, -1},
+ {1, 56, 0, 65535, 1367.71f, 1111.91f, 0.0f, 1.2009f, 1.0f, 1334, 1105, 1402, 1118, 0, 0, -1},
+ {1, 14, 0, 65535, 2069.46f, 914.725f, -7.09605f, 1.0f, 1.0f, 1952, 711, 2184, 1119, 0, 0, -1},
+ {1, 56, 0, 65535, 1919.06f, 1111.87f, 0.0f, 1.37654f, 1.0f, 1880, 1105, 1958, 1118, 0, 0, -1},
+ {1, 16, 0, 65535, 2106.8f, 500.674f, 283.154f, 1.0f, 1.00521f, 2026, 410, 2185, 590, 0, 0, -1},
+ {1, 48, 0, 65535, 1659.0f, 635.5f, -193.058f, 1.00348f, 1.0f, 1508, 496, 1798, 753, 0, 0, -1},
+ {1, 12, 0, 65535, 2178.5f, 650.958f, 90.0f, 0.662578f, 1.0f, 2172, 588, 2185, 714, 0, 0, -1},
+ {1, 48, 0, 65535, 1315.0f, 635.501f, -193.058f, 1.00348f, 1.0f, 1164, 496, 1454, 753, 0, 0, -1},
+ {1, 48, 0, 65535, 975.999f, 635.501f, -176.099f, 1.00348f, 1.0f, 833, 512, 1123, 751, 0, 0, -1},
+ {1, 14, 0, 65535, 135.347f, 1221.06f, 180.0f, 1.0f, -1.0f, -4, 1032, 275, 1410, 0, 0, -1},
+ {1, 11, 0, 65535, 1217.23f, 1403.38f, 0.0f, 1.0f, 1.0f, 1076, 1397, 1358, 1410, 0, 0, -1},
+ {1, 11, 0, 65535, 1498.23f, 1403.38f, 0.0f, 1.0f, 1.0f, 1357, 1397, 1639, 1410, 0, 0, -1},
+ {1, 11, 0, 65535, 1816.23f, 1403.38f, 0.0f, 1.26335f, 1.0f, 1638, 1397, 1994, 1410, 0, 0, -1},
+ {5, 255, 0, 65535, 1894.81f, 1343.56f, 0.0f, 162.0f, 90.0f, 1813, 1298, 1976, 1389, 0, 0, -1},
+ {1, 37, 0, 65535, 724.167f, 1348.67f, 0.0f, 1.0f, 1.0f, 603, 1287, 845, 1410, 0, 0, -1},
+ {1, 37, 0, 65535, 965.167f, 1348.67f, 180.0f, 1.0f, -1.0f, 844, 1287, 1086, 1410, 0, 0, -1},
+ {1, 11, 0, 65535, 437.672f, 1403.38f, 0.0f, 1.18821f, 1.0f, 270, 1397, 605, 1410, 0, 0, -1},
+ {0, 70, 0, 184, 652.5f, 1346.76f, 0.0f, 1.0f, 0.98758f, 563, 998, 741, 1724, 0, 0, -1},
+ {0, 70, 0, 65535, 444.5f, 1556.5f, 0.0f, 1.0f, 1.0f, 355, 1204, 533, 1938, 0, 0, -1},
+ {0, 74, 0, 65535, 168.0f, 1509.41f, 0.0f, 1.576f, 0.516094f, -28, 1370, 365, 1658, 0, 0, -1},
+ {0, 64, 0, 65535, 1908.0f, 1245.5f, 0.0f, 0.914286f, 0.441253f, 1780, 1161, 2036, 1330, 0, 0, -1},
+ {0, 70, 0, 185, 863.5f, 1149.5f, 0.0f, 1.0f, 1.0f, 774, 797, 952, 1531, 0, 0, -1},
+ {0, 64, 0, 65535, 1644.1f, 1143.14f, 0.0f, -1.04213f, 1.00709f, 1498, 951, 1790, 1336, 0, 0, -1},
+ {0, 68, 0, 65535, 2275.0f, 1279.5f, 0.0f, -1.0f, 1.0f, 2035, 1150, 2515, 1408, 0, 0, -1},
+ {0, 74, 0, 65535, 2296.17f, 1642.5f, 0.0f, 2.83333f, 1.0f, 1944, 1373, 2651, 1930, 0, 0, -1},
+ {0, 70, 0, 186, 1074.5f, 943.5f, 0.0f, 1.0f, 1.0f, 985, 591, 1163, 1325, 0, 0, -1},
+ {0, 70, 0, 65535, 1074.5f, 1423.5f, 0.0f, 1.0f, 1.0f, 985, 1071, 1163, 1805, 0, 0, -1},
+ {0, 70, 0, 65535, 2708.73f, 1557.57f, 0.0f, 1.0f, 1.0f, 2619, 1205, 2797, 1939, 0, 0, -1},
+ {0, 70, 0, 187, 3076.73f, 1411.83f, 0.0f, 1.0f, 0.987579f, 2987, 1063, 3165, 1789, 0, 0, -1},
+ {0, 70, 0, 188, 3441.73f, 1411.83f, 0.0f, 1.0f, 0.987579f, 3352, 1063, 3530, 1789, 0, 0, -1},
+ {0, 70, 0, 189, 3804.73f, 1411.83f, 0.0f, 1.0f, 0.987579f, 3715, 1063, 3893, 1789, 0, 0, -1},
+ {0, 74, 0, 65535, 1366.8f, 1487.41f, 0.0f, 6.85442f, 0.592088f, 516, 1327, 2224, 1658, 0, 0, -1},
+ {0, 74, 0, 190, 1330.14f, 50.2879f, 0.0f, 1.34f, 1.0f, 1163, -220, 1498, 338, 0, 0, -1},
+ {0, 74, 0, 65535, 3891.81f, 1532.74f, 0.0f, 8.87844f, 0.435524f, 2790, 1415, 5002, 1658, 0, 0, -1},
+ {0, 80, 0, 65535, 1012.67f, 1334.74f, 270.0f, 0.512631f, 1.3424f, 518, 1315, 1506, 1355, 0, 0, -1},
+ {0, 80, 0, 65535, 1451.07f, 1235.3f, 544.759f, 0.837543f, -0.78708f, 1402, 945, 1508, 1526, 0, 0, -1},
+ {0, 74, 0, 65535, 1493.72f, 1222.33f, 0.0f, 0.344611f, 0.592088f, 1450, 1062, 1537, 1393, 0, 0, -1},
+ {0, 80, 0, 65535, 2802.61f, 1537.23f, 353.902f, 0.837544f, -0.78708f, 2739, 1247, 2859, 1829, 0, 0, -1},
+ {0, 74, 0, 65535, 4653.63f, 1444.49f, 0.0f, 3.87235f, 0.435523f, 4173, 1327, 5138, 1570, 0, 0, -1},
+ {0, 80, 0, 65535, 3071.55f, 1405.29f, 629.887f, 0.837544f, -0.78708f, 2782, 1372, 3362, 1439, 0, 0, -1},
+ {0, 80, 0, 65535, 3849.02f, 1395.92f, 629.887f, 0.837544f, -0.903202f, 3517, 1363, 4182, 1430, 0, 0, -1},
+ {0, 64, 0, 65535, 4308.59f, 1244.55f, 0.0f, -1.0f, 0.528802f, 4168, 1143, 4449, 1346, 0, 0, -1},
+ {0, 80, 0, 65535, 4160.6f, 1366.72f, 908.534f, 0.606942f, -0.501492f, 4115, 1181, 4212, 1553, 0, 0, -1},
+ {1, 40, 0, 65535, 446.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 352, 1187, 541, 1374, 0, 0, -1},
+ {1, 40, 0, 191, 650.5f, 1083.5f, 0.0f, 1.00541f, 1.00541f, 556, 989, 745, 1176, 0, 0, -1},
+ {1, 14, 0, 65535, 1644.0f, 1134.0f, 0.0f, -1.0f, 1.0f, 1505, 945, 1784, 1323, 0, 0, -1},
+ {1, 15, 0, 65535, 1910.5f, 1235.0f, 20.4308f, 1.0f, 1.00394f, 1780, 1144, 2042, 1325, 0, 0, -1},
+ {1, 35, 0, 65535, 2273.0f, 1258.5f, 0.0f, -1.0f, 1.00433f, 2032, 1143, 2514, 1376, 0, 0, -1},
+ {1, 40, 0, 192, 861.5f, 881.5f, 0.0f, 1.00541f, 1.00541f, 767, 787, 956, 974, 0, 0, -1},
+ {1, 46, 0, 65535, 172.246f, 1368.0f, 0.0f, 1.52945f, 1.0f, -19, 1362, 363, 1374, 0, 0, -1},
+ {5, 255, 0, 65535, 4525.33f, 1270.67f, 0.0f, 162.0f, 90.0f, 4444, 1225, 4607, 1316, 0, 0, -1},
+ {1, 40, 0, 193, 1072.5f, 675.5f, 0.0f, 1.00541f, 1.00541f, 978, 581, 1167, 768, 0, 0, -1},
+ {1, 40, 0, 65535, 2710.73f, 1282.57f, 0.0f, 1.00541f, 1.00541f, 2617, 1189, 2805, 1376, 0, 0, -1},
+ {1, 40, 0, 194, 3074.73f, 1148.57f, 0.0f, 1.00541f, 1.00541f, 2981, 1055, 3169, 1242, 0, 0, -1},
+ {1, 40, 0, 195, 3802.73f, 1148.57f, 0.0f, 1.00541f, 1.00541f, 3709, 1055, 3897, 1242, 0, 0, -1},
+ {1, 15, 0, 65535, 4297.7f, 1236.28f, -16.9088f, -1.0f, 1.00394f, 4171, 1138, 4423, 1333, 0, 0, -1},
+ {1, 46, 0, 65535, 4654.5f, 1325.0f, 0.0f, 1.88487f, 1.0f, 4419, 1319, 4890, 1331, 0, 0, -1},
+ {1, 40, 0, 196, 3439.73f, 1148.57f, 0.0f, 1.00541f, 1.00541f, 3346, 1055, 3534, 1242, 0, 0, -1},
+ {1, 55, 0, 65535, 2570.0f, 1369.0f, 0.0f, 1.37349f, 1.0f, 2513, 1363, 2627, 1375, 0, 0, -1},
+ {2, 0, 0, 197, 1330.5f, 355.329f, 0.0f, 0.874126f, -0.874126f, 1162, 328, 1498, 383, 0, 0, -1},
+ {0, 77, 0, 65535, 492.894f, 1485.2f, 90.0f, 4.20699f, 6.29299f, -8, 1371, 991, 1604, 0, 0, -1},
+ {0, 77, 0, 65535, 1484.88f, 1487.0f, 90.0f, 4.14286f, 7.14015f, 917, 1375, 2049, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 4345.03f, 1484.01f, 90.0f, 4.24975f, 16.892f, 3002, 1369, 5680, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 2604.88f, 1487.0f, 90.0f, 4.14286f, 7.14013f, 2037, 1375, 3169, 1603, 0, 0, -1},
+ {0, 68, 0, 65535, 824.291f, 1302.09f, 0.0f, 0.633285f, 0.647344f, 672, 1218, 977, 1385, 0, 0, -1},
+ {0, 68, 0, 65535, 1679.57f, 1275.03f, 0.0f, -0.995083f, 0.991f, 1440, 1146, 1919, 1402, 0, 0, -1},
+ {0, 64, 0, 65535, 2015.43f, 1247.11f, 0.0f, 0.690354f, 0.68538f, 1918, 1116, 2113, 1379, 0, 0, -1},
+ {0, 64, 0, 65535, 3400.44f, 1284.89f, 0.0f, -0.690354f, 0.462842f, 3303, 1196, 3498, 1374, 0, 0, -1},
+ {0, 68, 0, 65535, 3640.08f, 1302.34f, 0.0f, 0.633285f, 0.647342f, 3488, 1218, 3793, 1386, 0, 0, -1},
+ {0, 68, 0, 65535, 4436.7f, 1272.9f, 0.0f, -0.995083f, 0.991f, 4197, 1144, 4676, 1400, 0, 0, -1},
+ {0, 64, 0, 65535, 584.221f, 1288.07f, 0.0f, -0.690354f, 0.462843f, 487, 1199, 681, 1377, 0, 0, -1},
+ {0, 80, 0, 65535, 135.434f, 1364.01f, 264.647f, 1.0f, 1.0f, -234, 1300, 505, 1438, 0, 0, -1},
+ {0, 77, 0, 65535, -403.105f, 1485.21f, 90.0f, 4.207f, 6.293f, -904, 1371, 95, 1604, 0, 0, -1},
+ {0, 80, 0, 65535, -561.437f, 1384.9f, 270.932f, 1.0f, 1.0f, -931, 1342, -194, 1430, 0, 0, -1},
+ {0, 80, 0, 65535, 474.78f, 1413.38f, 190.056f, 0.486621f, -0.455142f, 431, 1246, 523, 1582, 0, 0, -1},
+ {0, 80, 0, 65535, 1211.46f, 1358.56f, 269.58f, 1.0f, 1.0f, 843, 1319, 1579, 1401, 0, 0, -1},
+ {0, 80, 0, 65535, 1029.14f, 1486.99f, -15.7529f, 0.807016f, 0.7363f, 925, 1220, 1126, 1756, 0, 0, -1},
+ {0, 80, 0, 65535, 1377.36f, 1416.08f, 199.378f, 0.90828f, 0.7363f, 1262, 1152, 1501, 1684, 0, 0, -1},
+ {0, 80, 0, 65535, 2145.46f, 1454.93f, -11.2325f, 0.456097f, 0.7363f, 2075, 1186, 2212, 1724, 0, 0, -1},
+ {0, 80, 0, 65535, 2377.86f, 1354.76f, 269.436f, 0.72286f, 0.67542f, 2129, 1326, 2627, 1386, 0, 0, -1},
+ {0, 80, 0, 65535, 2870.08f, 1360.76f, 271.785f, 0.72286f, 0.675421f, 2620, 1328, 3119, 1397, 0, 0, -1},
+ {0, 80, 0, 65535, 3093.73f, 1371.89f, 246.138f, 0.72286f, 0.675421f, 2858, 1252, 3332, 1499, 0, 0, -1},
+ {0, 80, 0, 65535, 3249.61f, 1469.34f, 195.599f, 0.50316f, -0.675421f, 3168, 1226, 3336, 1714, 0, 0, -1},
+ {0, 77, 0, 65535, 3249.93f, 1433.75f, 61.2443f, 3.45882f, 1.20801f, 3120, 1305, 3381, 1565, 0, 0, -1},
+ {0, 80, 0, 65535, 4002.17f, 1354.77f, 271.785f, 0.72286f, 0.675421f, 3752, 1322, 4251, 1391, 0, 0, -1},
+ {0, 80, 0, 65535, 4167.85f, 1395.81f, 550.692f, 0.72286f, 0.675421f, 4101, 1148, 4242, 1646, 0, 0, -1},
+ {0, 80, 0, 65535, 3815.13f, 1469.41f, 349.854f, 0.72286f, 0.675421f, 3743, 1221, 3880, 1719, 0, 0, -1},
+ {0, 80, 0, 65535, 5420.18f, 1382.16f, 268.266f, 0.839139f, 0.675421f, 5171, 1346, 5669, 1423, 0, 0, -1},
+ {5, 255, 0, 65535, 4809.26f, 1302.16f, 0.0f, 162.0f, 90.0f, 4728, 1257, 4891, 1348, 0, 0, -1},
+ {1, 11, 0, 65535, 4925.17f, 1362.0f, 0.0f, 1.77343f, 1.0f, 4676, 1356, 5175, 1368, 0, 0, -1},
+ {1, 12, 0, 65535, 77.8356f, 362.534f, -322.633f, 1.0f, 1.0f, -1, 300, 157, 425, 0, 0, -1},
+ {1, 35, 0, 65535, 1681.09f, 1253.15f, 0.0f, -1.0f, 1.00433f, 1440, 1137, 1922, 1370, 0, 0, -1},
+ {1, 12, 0, 65535, 279.196f, 605.619f, -303.496f, 1.0f, 1.0f, 222, 523, 337, 688, 0, 0, -1},
+ {1, 12, 0, 65535, 426.349f, 913.282f, -285.681f, 1.0f, 1.0f, 395, 821, 458, 1006, 0, 0, -1},
+ {1, 16, 0, 65535, 574.198f, 1282.04f, -7.90958f, -1.0f, 1.00521f, 491, 1195, 657, 1368, 0, 0, -1},
+ {1, 15, 0, 65535, 2012.49f, 1241.97f, 0.0f, 1.0f, 1.00394f, 1918, 1114, 2106, 1369, 0, 0, -1},
+ {1, 12, 0, 65535, 2243.06f, 617.622f, -245.319f, 1.0f, 1.0f, 2198, 529, 2288, 706, 0, 0, -1},
+ {1, 12, 0, 65535, 2148.98f, 911.407f, -259.186f, 1.0f, 1.0f, 2125, 817, 2173, 1005, 0, 0, -1},
+ {1, 12, 0, 65535, 2425.66f, 380.218f, -38.7709f, 1.0f, 1.0f, 2348, 316, 2503, 444, 0, 0, -1},
+ {1, 12, 0, 65535, 2731.61f, 307.137f, 0.0f, 1.0f, 1.0f, 2637, 301, 2826, 314, 0, 0, -1},
+ {1, 12, 0, 65535, 3098.28f, 605.735f, -303.496f, 1.0f, 1.0f, 3041, 524, 3156, 688, 0, 0, -1},
+ {1, 16, 0, 65535, 3393.28f, 1282.16f, -7.90958f, -1.0f, 1.00521f, 3310, 1195, 3476, 1368, 0, 0, -1},
+ {1, 12, 0, 65535, 3245.44f, 913.398f, -285.681f, 1.0f, 1.0f, 3214, 821, 3277, 1006, 0, 0, -1},
+ {1, 12, 0, 65535, 2896.92f, 362.651f, -322.633f, 1.0f, 1.0f, 2818, 300, 2976, 425, 0, 0, -1},
+ {1, 36, 0, 65535, 3634.95f, 1289.11f, 0.0f, 1.0f, 1.0f, 3474, 1210, 3796, 1369, 0, 0, -1},
+ {1, 35, 0, 65535, 4436.09f, 1253.15f, 0.0f, -1.0f, 1.00433f, 4195, 1137, 4677, 1370, 0, 0, -1},
+ {1, 36, 0, 65535, 815.95f, 1289.11f, 0.0f, 1.0f, 1.0f, 655, 1210, 977, 1369, 0, 0, -1},
+ {0, 74, 0, 198, 1154.0f, 687.504f, 0.0f, 0.58f, 1.24007f, 1082, 353, 1227, 1045, 0, 0, -1},
+ {0, 74, 0, 199, 1302.0f, 687.504f, 0.0f, 0.58f, 1.24007f, 1230, 353, 1375, 1045, 0, 0, -1},
+ {0, 74, 0, 200, 1450.0f, 687.504f, 0.0f, 0.58f, 1.24007f, 1378, 353, 1523, 1045, 0, 0, -1},
+ {0, 74, 0, 201, 1598.0f, 687.504f, 0.0f, 0.58f, 1.24007f, 1526, 353, 1671, 1045, 0, 0, -1},
+ {0, 74, 0, 65535, 1747.34f, 1443.21f, 90.0f, 1.6143f, 7.41574f, -385, 1243, 3746, 1645, 0, 0, -1},
+ {0, 74, 0, 202, 3098.09f, 1362.54f, 0.0f, 0.726151f, 1.24007f, 3008, 1028, 3189, 1720, 0, 0, -1},
+ {0, 74, 0, 203, 3280.25f, 1361.92f, 0.0f, 0.726152f, 1.24007f, 3190, 1027, 3372, 1719, 0, 0, -1},
+ {0, 74, 0, 204, 3463.0f, 1362.68f, 0.0f, 0.726152f, 1.24007f, 3372, 1028, 3554, 1720, 0, 0, -1},
+ {0, 74, 0, 65535, 2652.25f, 1332.76f, 90.0f, 2.47947f, 1.31769f, 2273, 1025, 3008, 1643, 0, 0, -1},
+ {0, 74, 0, 65535, 3924.61f, 1397.09f, 90.0f, 2.99412f, 1.28193f, 3556, 1025, 4271, 1772, 0, 0, -1},
+ {0, 68, 0, 65535, 2033.03f, 1153.75f, 0.0f, 1.0f, 1.0f, 1793, 1024, 2274, 1282, 0, 0, -1},
+ {0, 80, 0, 65535, -362.701f, 1265.26f, -90.0f, 1.0f, 1.0f, -731, 1226, 5, 1305, 0, 0, -1},
+ {0, 80, 0, 65535, 4208.23f, 1048.17f, -90.0f, 1.0f, 1.0f, 3840, 1009, 4576, 1088, 0, 0, -1},
+ {5, 255, 0, 65535, 3701.33f, 963.333f, 0.0f, 162.0f, 90.0f, 3620, 918, 3783, 1009, 0, 0, -1},
+ {2, 0, 0, 205, 1153.99f, 1064.63f, -180.0f, 0.379998f, 0.603774f, 1081, 1045, 1228, 1084, 0, 0, -1},
+ {2, 0, 0, 206, 1597.99f, 1064.63f, -180.0f, 0.379998f, 0.603774f, 1525, 1045, 1672, 1084, 0, 0, -1},
+ {2, 0, 0, 207, 1449.99f, 1064.63f, -180.0f, 0.379998f, 0.603774f, 1377, 1045, 1524, 1084, 0, 0, -1},
+ {2, 0, 0, 208, 1301.99f, 1064.63f, -180.0f, 0.379998f, 0.603774f, 1229, 1045, 1376, 1084, 0, 0, -1},
+ {2, 2, 0, 209, 386.0f, 1329.0f, 0.0f, 0.610442f, -0.610442f, 191, 1189, 582, 1468, 0, 0, -1},
+ {2, 2, 0, 210, 779.0f, 1329.0f, -270.0f, 0.610442f, -0.610442f, 640, 1134, 919, 1525, 0, 0, -1},
+ {2, 2, 0, 211, 2337.4f, 1087.37f, 0.0f, 0.469879f, -0.46988f, 2187, 979, 2488, 1195, 0, 0, -1},
+ {2, 1, 0, 212, 2708.0f, 828.0f, 0.0f, 0.265306f, 0.265306f, 2622, 742, 2794, 913, 0, 0, -1},
+ {2, 1, 0, 213, 2708.0f, 1222.0f, 0.0f, 0.265306f, 0.265306f, 2622, 1136, 2794, 1307, 0, 0, -1},
+ {2, 0, 0, 214, 3097.83f, 1014.0f, 0.0f, 0.471697f, 0.471698f, 3007, 999, 3189, 1029, 0, 0, -1},
+ {2, 0, 0, 215, 3279.83f, 1014.0f, 0.0f, 0.471697f, 0.471698f, 3189, 999, 3371, 1029, 0, 0, -1},
+ {2, 0, 0, 216, 3461.83f, 1014.0f, 0.0f, 0.471697f, 0.471698f, 3371, 999, 3553, 1029, 0, 0, -1},
+ {1, 11, 0, 65535, 3056.0f, 1022.0f, 0.0f, 5.59075f, 1.0f, 2270, 1016, 3842, 1028, 0, 0, -1},
+ {1, 35, 0, 65535, 2031.29f, 1131.5f, 0.0f, 1.0f, 1.00433f, 1790, 1016, 2272, 1249, 0, 0, -1},
+ {1, 11, 0, 65535, 1405.5f, 1240.0f, 0.0f, 2.74377f, 1.0f, 1020, 1234, 1791, 1246, 0, 0, -1},
+ {1, 11, 0, 65535, 509.719f, 1240.0f, 0.0f, 3.63345f, 1.0f, -1, 1234, 1021, 1246, 0, 0, -1},
+ {0, 74, 0, 65535, 742.314f, 1852.32f, 0.0f, 7.54813f, 1.0f, -194, 1582, 1686, 2140, 0, 0, -1},
+ {0, 74, 0, 65535, 3748.46f, 1771.77f, 0.0f, 4.66419f, 1.0f, 3170, 1502, 4332, 2060, 0, 0, -1},
+ {0, 74, 0, 65535, 5250.06f, 1665.8f, -1.83725f, 8.43155f, 1.0f, 4196, 1362, 6313, 1987, 0, 0, -1},
+ {0, 74, 0, 65535, 6540.9f, 1266.38f, 0.0f, 2.2468f, 1.279f, 6262, 921, 6822, 1635, 0, 0, -1},
+ {0, 68, 0, 65535, 546.264f, 1494.88f, 0.0f, 1.0f, 1.0f, 306, 1365, 787, 1623, 0, 0, -1},
+ {0, 68, 0, 65535, 904.454f, 1431.2f, 0.0f, -0.499414f, 0.501656f, 784, 1366, 1025, 1496, 0, 0, -1},
+ {0, 68, 0, 65535, 1143.6f, 1431.77f, 0.0f, 0.499415f, 0.501658f, 1023, 1366, 1264, 1496, 0, 0, -1},
+ {0, 68, 0, 65535, 1380.48f, 1431.77f, 0.0f, -0.499415f, 0.501658f, 1260, 1366, 1501, 1496, 0, 0, -1},
+ {0, 74, 0, 65535, 1225.77f, 1753.54f, 0.0f, 3.68095f, 1.02349f, 769, 1477, 1686, 2048, 0, 0, -1},
+ {0, 64, 0, 65535, 1595.83f, 1407.75f, 0.0f, 0.643788f, 0.381512f, 1505, 1335, 1686, 1481, 0, 0, -1},
+ {0, 68, 0, 65535, 1986.1f, 1355.19f, 8.23724f, -0.671517f, 0.657729f, 1814, 1247, 2137, 1462, 0, 0, -1},
+ {0, 74, 0, 65535, 2446.5f, 1758.59f, 9.91627f, 6.65891f, 1.0f, 1583, 1350, 3313, 2185, 0, 0, -1},
+ {0, 64, 0, 65535, 2220.84f, 1372.65f, 15.2945f, 0.59288f, 0.504519f, 2115, 1300, 2326, 1488, 0, 0, -1},
+ {0, 64, 0, 65535, 2397.0f, 1397.72f, 4.16762f, -0.588146f, 0.468674f, 2308, 1302, 2473, 1494, 0, 0, -1},
+ {0, 74, 0, 65535, 2278.84f, 1595.57f, 8.93608f, 0.144216f, 1.0f, 2216, 1326, 2339, 1882, 0, 0, -1},
+ {0, 68, 0, 65535, 2593.42f, 1466.33f, 18.2828f, 0.467993f, 0.586645f, 2463, 1425, 2724, 1573, 0, 0, -1},
+ {0, 80, 0, 65535, -336.81f, 1608.0f, 269.403f, 1.0f, 1.0f, -705, 1568, 31, 1651, 0, 0, -1},
+ {0, 80, 0, 65535, 6999.09f, 940.72f, 269.403f, 1.0f, 1.0f, 6631, 901, 7367, 984, 0, 0, -1},
+ {0, 80, 0, 65535, 1773.73f, 1324.68f, 603.731f, 0.924104f, 0.251024f, 1679, 1259, 1873, 1398, 0, 0, -1},
+ {0, 80, 0, 65535, 3005.05f, 1551.53f, 280.299f, 0.924104f, 0.860428f, 2687, 1468, 3321, 1644, 0, 0, -1},
+ {0, 80, 0, 65535, 3007.86f, 1559.11f, 616.607f, 0.924104f, 0.860428f, 2694, 1459, 3324, 1668, 0, 0, -1},
+ {0, 64, 0, 65535, 3315.03f, 1339.86f, -5.61202f, -1.0f, 1.0f, 3157, 1163, 3474, 1545, 0, 0, -1},
+ {0, 80, 0, 65535, 3184.12f, 1420.34f, 537.007f, 0.359833f, -0.537562f, 3162, 1222, 3209, 1618, 0, 0, -1},
+ {0, 68, 0, 65535, 4000.91f, 1417.43f, 0.0f, 0.980942f, 0.92881f, 3765, 1297, 4237, 1537, 0, 0, -1},
+ {0, 68, 0, 65535, 4636.7f, 1360.88f, -2.36995f, 0.539881f, 0.511188f, 4509, 1289, 4769, 1432, 0, 0, -1},
+ {0, 68, 0, 65535, 5195.47f, 1345.6f, -1.88771f, 0.6004f, 0.553409f, 5053, 1269, 5342, 1422, 0, 0, -1},
+ {0, 68, 0, 65535, 5766.47f, 1327.6f, -1.88771f, 0.6004f, 0.553409f, 5624, 1251, 5913, 1404, 0, 0, -1},
+ {0, 68, 0, 65535, 4926.36f, 1363.77f, 0.280063f, -0.586787f, 0.553409f, 4785, 1291, 5067, 1436, 0, 0, -1},
+ {0, 68, 0, 65535, 5477.25f, 1342.4f, 0.280063f, -0.586788f, 0.553409f, 5336, 1270, 5618, 1414, 0, 0, -1},
+ {0, 68, 0, 65535, 4361.3f, 1374.41f, 0.280063f, -0.586788f, 0.553409f, 4220, 1302, 4502, 1446, 0, 0, -1},
+ {0, 80, 0, 65535, 6237.11f, 1291.37f, 187.02f, 1.0f, 1.0f, 6163, 923, 6321, 1662, 0, 0, -1},
+ {0, 80, 0, 65535, 5966.06f, 1615.45f, -10.0537f, 1.0f, 1.0f, 5863, 1248, 6059, 1984, 0, 0, -1},
+ {0, 80, 0, 65535, 6160.21f, 1356.57f, -93.5307f, 1.0f, 1.0f, 5791, 1303, 6529, 1419, 0, 0, -1},
+ {1, 11, 0, 65535, 3608.5f, 1500.0f, 0.0f, 1.0f, 1.0f, 3468, 1494, 3749, 1506, 0, 0, -1},
+ {5, 255, 0, 65535, 6346.78f, 856.252f, 0.0f, 162.0f, 90.0f, 6265, 811, 6428, 902, 0, 0, -1},
+ {1, 11, 0, 65535, 163.721f, 1581.28f, 0.0f, 1.0f, 1.0f, 23, 1575, 305, 1588, 0, 0, -1},
+ {1, 35, 0, 65535, 543.998f, 1472.0f, 0.0f, 1.0f, 1.00433f, 303, 1356, 785, 1589, 0, 0, -1},
+ {1, 37, 0, 65535, 903.884f, 1417.58f, 0.0f, -1.0f, 1.0f, 783, 1356, 1025, 1479, 0, 0, -1},
+ {1, 36, 0, 65535, 1084.32f, 1268.95f, 0.0f, 1.0f, 1.0f, 923, 1189, 1245, 1348, 0, 0, -1},
+ {1, 16, 0, 65535, 1335.11f, 1127.84f, 15.4369f, 1.0f, 1.00521f, 1243, 1051, 1429, 1203, 0, 0, -1},
+ {1, 37, 0, 65535, 1143.03f, 1417.68f, 0.0f, 1.0f, 1.0f, 1022, 1356, 1264, 1479, 0, 0, -1},
+ {1, 37, 0, 65535, 1383.88f, 1418.0f, 0.0f, -1.0f, 1.0f, 1263, 1357, 1505, 1479, 0, 0, -1},
+ {1, 16, 0, 65535, 1400.31f, 1231.16f, 16.2093f, 1.0f, 1.00521f, 1307, 1155, 1495, 1305, 0, 0, -1},
+ {1, 16, 0, 65535, 1594.04f, 1405.01f, 15.4369f, 1.0f, 1.00521f, 1502, 1328, 1688, 1480, 0, 0, -1},
+ {2, 1, 0, 217, 1774.72f, 1335.57f, 0.0f, 0.24564f, 0.237609f, 1695, 1259, 1854, 1412, 0, 0, -1},
+ {1, 36, 0, 65535, 1986.44f, 1336.85f, 7.5091f, -1.0f, 1.0f, 1836, 1237, 2137, 1437, 0, 0, -1},
+ {1, 16, 0, 65535, 2229.15f, 1365.38f, 17.5538f, 1.0f, 1.00521f, 2134, 1291, 2326, 1437, 0, 0, -1},
+ {1, 59, 0, 65535, 1706.0f, 1048.0f, 7.85708f, 1.00348f, 1.0f, 1571, 956, 1859, 1122, 0, 0, -1},
+ {1, 16, 0, 65535, 2395.75f, 1391.04f, 0.0f, -1.0f, 1.00521f, 2325, 1295, 2468, 1488, 0, 0, -1},
+ {1, 37, 0, 65535, 2594.4f, 1455.08f, 13.1327f, 1.0f, 1.0f, 2463, 1419, 2726, 1492, 0, 0, -1},
+ {1, 47, 0, 218, 2364.05f, 969.954f, 33.0f, 1.00235f, 1.0f, 2128, 792, 2555, 1206, 0, 0, -1},
+ {2, 1, 0, 219, 2854.8f, 1450.83f, 0.0f, 0.335853f, 0.324873f, 2746, 1346, 2963, 1555, 0, 0, -1},
+ {1, 36, 0, 65535, 2752.76f, 1259.0f, 0.0f, -1.0f, 1.0f, 2592, 1180, 2914, 1338, 0, 0, -1},
+ {1, 16, 0, 65535, 3005.08f, 1265.39f, 16.2925f, 1.0f, 1.00521f, 2912, 1189, 3100, 1339, 0, 0, -1},
+ {1, 14, 0, 65535, 3314.33f, 1331.85f, -5.59884f, -1.0f, 1.0f, 3158, 1156, 3471, 1507, 0, 0, -1},
+ {1, 59, 0, 65535, 3592.47f, 1291.01f, 327.368f, 1.00348f, 1.0f, 3431, 1152, 3699, 1375, 0, 0, -1},
+ {2, 1, 0, 220, 1865.32f, 797.907f, 0.0f, 0.24564f, 0.237609f, 1786, 721, 1945, 874, 0, 0, -1},
+ {2, 1, 0, 221, 3589.22f, 1076.88f, 0.0f, 0.31501f, 0.304712f, 3487, 978, 3691, 1174, 0, 0, -1},
+ {1, 36, 0, 65535, 4509.57f, 1198.74f, 0.0f, 1.0f, 1.0f, 4349, 1119, 4671, 1278, 0, 0, -1},
+ {1, 37, 0, 65535, 4354.46f, 1358.21f, 2.08017f, -1.0f, 1.0f, 4235, 1292, 4474, 1424, 0, 0, -1},
+ {1, 35, 0, 65535, 3992.84f, 1399.31f, 2.08017f, 1.0f, 1.00433f, 3748, 1291, 4238, 1508, 0, 0, -1},
+ {1, 36, 0, 65535, 4969.74f, 1032.0f, 0.0f, 1.0f, 1.0f, 4809, 952, 5131, 1111, 0, 0, -1},
+ {1, 37, 0, 65535, 4789.31f, 1180.63f, 0.0f, -1.0f, 1.0f, 4668, 1119, 4910, 1242, 0, 0, -1},
+ {1, 36, 0, 65535, 5289.45f, 886.263f, 0.0f, 1.0f, 1.0f, 5128, 807, 5450, 966, 0, 0, -1},
+ {1, 37, 0, 65535, 5569.19f, 868.153f, 0.0f, -1.0f, 1.0f, 5448, 807, 5690, 930, 0, 0, -1},
+ {1, 36, 0, 65535, 5749.62f, 719.523f, 0.0f, 1.0f, 1.0f, 5589, 640, 5911, 799, 0, 0, -1},
+ {1, 36, 0, 65535, 5069.14f, 1162.2f, 0.0f, 1.0f, 1.0f, 4908, 1083, 5230, 1242, 0, 0, -1},
+ {1, 37, 0, 65535, 5348.88f, 1144.09f, 0.0f, -1.0f, 1.0f, 5228, 1083, 5470, 1206, 0, 0, -1},
+ {2, 2, 0, 222, 5477.76f, 1059.95f, 75.5542f, 0.432548f, 0.432548f, 5357, 921, 5597, 1199, 0, 0, -1},
+ {2, 1, 0, 223, 5981.42f, 586.505f, 0.0f, 0.24564f, 0.237609f, 5902, 510, 6061, 663, 0, 0, -1},
+ {1, 36, 0, 65535, 5194.52f, 1334.08f, 2.08017f, 1.0f, 1.0f, 5031, 1260, 5358, 1408, 0, 0, -1},
+ {1, 36, 0, 65535, 4633.99f, 1350.08f, 2.08017f, 1.0f, 1.0f, 4470, 1276, 4798, 1424, 0, 0, -1},
+ {1, 37, 0, 65535, 4914.2f, 1342.13f, 2.08017f, -1.0f, 1.0f, 4795, 1276, 5033, 1408, 0, 0, -1},
+ {1, 37, 0, 65535, 5474.73f, 1325.93f, 2.08017f, -1.0f, 1.0f, 5356, 1260, 5594, 1392, 0, 0, -1},
+ {1, 36, 0, 65535, 5754.27f, 1317.81f, 2.08017f, 1.0f, 1.0f, 5591, 1244, 5918, 1392, 0, 0, -1},
+ {2, 1, 0, 224, 5997.52f, 1192.61f, 0.0f, 0.24564f, 0.237609f, 5918, 1116, 6077, 1269, 0, 0, -1},
+ {1, 14, 0, 65535, 5645.37f, 1054.38f, 373.813f, 1.0f, 1.0f, 5467, 901, 5825, 1205, 0, 0, -1},
+ {1, 16, 0, 65535, 5920.71f, 853.876f, 101.243f, -1.0f, 1.00521f, 5813, 802, 6028, 908, 0, 0, -1},
+ {1, 37, 0, 65535, 6146.59f, 863.232f, 0.0f, -1.0f, 1.0f, 6026, 802, 6268, 925, 0, 0, -1},
+ {1, 12, 0, 65535, 6450.94f, 917.698f, 0.0f, 1.96788f, 1.0f, 6265, 911, 6636, 924, 0, 0, -1},
+ {2, 2, 0, 225, 5428.65f, 869.309f, 75.5542f, 0.432548f, 0.432548f, 5308, 730, 5548, 1008, 0, 0, -1},
+ {1, 57, 0, 65535, 5705.77f, 914.414f, -25.7225f, 1.0f, 1.0f, 5684, 899, 5728, 929, 0, 0, -1},
+ {2, 1, 0, 226, 4653.33f, 910.333f, 0.0f, 0.24564f, 0.237609f, 4574, 833, 4733, 987, 0, 0, -1},
+ {2, 2, 0, 227, 1504.95f, 1099.77f, 82.5761f, 0.432548f, 0.432548f, 1394, 960, 1615, 1239, 0, 0, -1},
+ {2, 2, 0, 228, 1260.06f, 1437.02f, 0.0f, 0.485282f, 0.485282f, 1105, 1326, 1416, 1549, 0, 0, -1},
+ {2, 2, 0, 229, 2341.0f, 1004.66f, 90.0f, 0.608441f, 0.60844f, 2201, 810, 2480, 1200, 0, 0, -1},
+ {2, 2, 0, 230, 4789.0f, 1393.0f, -270.0f, 0.549538f, 0.549537f, 4663, 1217, 4915, 1570, 0, 0, -1},
+ {4, 255, 0, 65535, 572.667f, 1436.67f, 0.0f, 81.0f, 106.0f, 532, 1383, 614, 1490, 0, 0, -1},
+ {4, 255, 0, 65535, 433.0f, 1489.67f, 0.0f, 81.0f, 106.0f, 392, 1436, 474, 1543, 0, 0, -1},
+ {4, 255, 0, 65535, 359.0f, 1474.33f, 0.0f, 81.0f, 106.0f, 318, 1421, 400, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 513.167f, 1470.0f, 0.0f, 81.0f, 106.0f, 472, 1417, 554, 1523, 0, 0, -1},
+ {4, 255, 0, 65535, 296.167f, 1440.0f, 0.0f, 81.0f, 106.0f, 255, 1387, 337, 1493, 0, 0, -1},
+ {0, 77, 0, 65535, -105.867f, 1468.62f, 90.0f, 5.77229f, 3.27751f, -367, 1312, 154, 1631, 0, 0, -1},
+ {0, 68, 0, 65535, 276.924f, 1395.37f, 0.0f, -0.666984f, 0.666984f, 116, 1308, 437, 1481, 0, 0, -1},
+ {0, 77, 0, 65535, 1246.17f, 1539.18f, 90.0f, 3.10437f, 13.8729f, 143, 1455, 2343, 1627, 0, 0, -1},
+ {0, 80, 0, 65535, -363.778f, 1323.2f, 270.438f, 0.829247f, 1.0f, -733, 1289, 4, 1359, 0, 0, -1},
+ {0, 77, 0, 65535, 2807.43f, 1539.18f, 90.0f, 3.10438f, 5.95713f, 2333, 1455, 3279, 1627, 0, 0, -1},
+ {0, 77, 0, 65535, 3712.18f, 1591.16f, 90.0f, 3.10438f, 6.08663f, 3228, 1507, 4194, 1679, 0, 0, -1},
+ {0, 77, 0, 65535, 4779.32f, 1542.46f, 90.0f, 3.10438f, 7.69144f, 4167, 1458, 5387, 1630, 0, 0, -1},
+ {0, 80, 0, 65535, 1272.67f, 1469.03f, 90.0f, -0.829247f, 1.2755f, 804, 1437, 1743, 1502, 0, 0, -1},
+ {0, 80, 0, 65535, 4467.89f, 1462.39f, 90.0f, -0.538388f, 0.828115f, 4163, 1441, 4773, 1484, 0, 0, -1},
+ {0, 80, 0, 65535, 5070.39f, 1462.39f, 90.0f, -0.538388f, 0.828115f, 4766, 1441, 5376, 1484, 0, 0, -1},
+ {0, 80, 0, 65535, 5355.98f, 1600.47f, 5.89644f, -0.900533f, 0.848399f, 5298, 1287, 5423, 1914, 0, 0, -1},
+ {0, 77, 0, 65535, 5626.6f, 1447.34f, 90.0f, 5.77229f, 3.27751f, 5366, 1291, 5886, 1609, 0, 0, -1},
+ {0, 68, 0, 65535, 3957.2f, 1415.0f, 0.0f, 1.0f, 1.0f, 3717, 1285, 4198, 1543, 0, 0, -1},
+ {0, 80, 0, 65535, 4213.35f, 1596.55f, -186.475f, -0.900533f, 0.848399f, 4143, 1284, 4276, 1911, 0, 0, -1},
+ {0, 68, 0, 65535, 3028.78f, 1391.71f, 0.0f, 0.666892f, 0.666892f, 2868, 1305, 3189, 1478, 0, 0, -1},
+ {0, 64, 0, 65535, 3311.6f, 1414.9f, -276.238f, 0.77767f, 0.600803f, 3185, 1319, 3438, 1536, 0, 0, -1},
+ {0, 77, 0, 65535, 3184.63f, 1433.77f, 90.0f, 3.10438f, 0.273347f, 3162, 1349, 3207, 1521, 0, 0, -1},
+ {0, 80, 0, 65535, 5863.08f, 1297.11f, 90.0f, -0.538388f, 0.602535f, 5641, 1276, 6085, 1319, 0, 0, -1},
+ {1, 57, 0, 65535, 57.3333f, 1304.0f, 0.0f, 2.85714f, 1.0f, -3, 1298, 118, 1310, 0, 0, -1},
+ {1, 36, 0, 65535, 276.167f, 1377.25f, 0.0f, -1.0f, 1.0f, 115, 1298, 437, 1457, 0, 0, -1},
+ {1, 55, 0, 65535, 480.75f, 1450.5f, 0.0f, 1.07831f, 1.0f, 436, 1444, 526, 1457, 0, 0, -1},
+ {5, 255, 0, 65535, 5513.35f, 1218.81f, 0.0f, 162.0f, 90.0f, 5432, 1173, 5595, 1264, 0, 0, -1},
+ {1, 11, 0, 231, 666.302f, 1450.5f, 0.0f, 1.0f, 1.0f, 525, 1444, 807, 1457, 0, 0, -1},
+ {1, 11, 0, 232, 1878.0f, 1450.5f, 0.0f, 1.0f, 1.0f, 1737, 1444, 2019, 1457, 0, 0, -1},
+ {2, 1, 0, 233, 1218.64f, 1367.58f, 0.0f, 0.464928f, 0.464928f, 1069, 1218, 1368, 1516, 0, 0, -1},
+ {2, 1, 0, 234, 2515.39f, 1107.9f, 0.0f, 0.356413f, 0.356413f, 2400, 993, 2630, 1222, 0, 0, -1},
+ {1, 11, 0, 65535, 2159.09f, 1450.32f, 0.0f, 1.0f, 1.0f, 2018, 1444, 2300, 1457, 0, 0, -1},
+ {1, 11, 0, 65535, 2440.09f, 1450.32f, 0.0f, 1.0f, 1.0f, 2299, 1444, 2581, 1457, 0, 0, -1},
+ {1, 11, 0, 65535, 2721.09f, 1450.32f, 0.0f, 1.0f, 1.0f, 2580, 1444, 2862, 1457, 0, 0, -1},
+ {1, 36, 0, 65535, 3021.69f, 1377.54f, 0.0f, 1.0f, 1.0f, 2861, 1298, 3183, 1457, 0, 0, -1},
+ {1, 11, 0, 235, 3321.02f, 1304.68f, 0.0f, 1.0f, 1.0f, 3180, 1298, 3462, 1311, 0, 0, -1},
+ {1, 15, 0, 65535, 3318.14f, 1414.17f, -17.8168f, -1.0f, 1.00394f, 3190, 1318, 3445, 1509, 0, 0, -1},
+ {2, 1, 0, 236, 3697.2f, 1079.04f, 0.0f, 0.464929f, 0.464929f, 3547, 929, 3847, 1228, 0, 0, -1},
+ {1, 11, 0, 65535, 3582.42f, 1500.99f, 0.0f, 1.0f, 1.0f, 3441, 1494, 3723, 1507, 0, 0, -1},
+ {1, 11, 0, 237, 4337.01f, 1319.62f, 15.0f, 1.0f, 1.0f, 4199, 1277, 4475, 1362, 0, 0, -1},
+ {1, 11, 0, 238, 5229.91f, 1319.89f, -15.0f, 1.0f, 1.0f, 5092, 1277, 5368, 1363, 0, 0, -1},
+ {1, 35, 0, 65535, 3962.68f, 1391.86f, 0.0f, 1.0f, 1.00433f, 3722, 1276, 4204, 1509, 0, 0, -1},
+ {1, 11, 0, 65535, 5504.85f, 1283.97f, 0.0f, 1.0f, 1.0f, 5364, 1277, 5646, 1290, 0, 0, -1},
+ {2, 1, 0, 239, 4785.32f, 1153.31f, 0.0f, 0.114593f, 0.114593f, 4748, 1116, 4823, 1190, 0, 0, -1},
+ {4, 255, 0, 65535, 572.667f, 1436.67f, 0.0f, 81.0f, 106.0f, 532, 1383, 614, 1490, 0, 0, -1},
+ {4, 255, 0, 65535, 433.0f, 1489.67f, 0.0f, 81.0f, 106.0f, 392, 1436, 474, 1543, 0, 0, -1},
+ {4, 255, 0, 65535, 359.0f, 1474.33f, 0.0f, 81.0f, 106.0f, 318, 1421, 400, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 513.167f, 1470.0f, 0.0f, 81.0f, 106.0f, 472, 1417, 554, 1523, 0, 0, -1},
+ {4, 255, 0, 65535, 296.167f, 1440.0f, 0.0f, 81.0f, 106.0f, 255, 1387, 337, 1493, 0, 0, -1},
+ {0, 77, 0, 65535, -105.867f, 1468.62f, 90.0f, 5.77229f, 3.27751f, -367, 1312, 154, 1631, 0, 0, -1},
+ {0, 80, 0, 65535, -363.778f, 1323.2f, 270.438f, 0.829247f, 1.0f, -733, 1289, 4, 1359, 0, 0, -1},
+ {0, 80, 0, 65535, 2933.52f, 1370.42f, 270.438f, 0.829247f, 1.0f, 2565, 1336, 3301, 1406, 0, 0, -1},
+ {0, 80, 0, 65535, 512.398f, 1589.53f, 270.438f, 0.829247f, 1.0f, 144, 1555, 880, 1625, 0, 0, -1},
+ {0, 80, 0, 65535, 1242.1f, 1581.03f, 268.124f, 0.892144f, 1.0f, 873, 1539, 1611, 1628, 0, 0, -1},
+ {0, 80, 0, 65535, 1953.0f, 1578.07f, 271.415f, 0.829247f, 1.0f, 1584, 1540, 2321, 1620, 0, 0, -1},
+ {0, 80, 0, 65535, 181.548f, 1670.6f, -6.975f, 0.829247f, 1.0f, 104, 1302, 250, 2039, 0, 0, -1},
+ {0, 80, 0, 65535, 2304.01f, 1718.78f, -178.629f, 0.829247f, 1.0f, 2267, 1351, 2346, 2088, 0, 0, -1},
+ {0, 77, 0, 65535, 2554.6f, 1511.34f, 90.0f, 5.77229f, 3.27751f, 2294, 1355, 2814, 1673, 0, 0, -1},
+ {1, 57, 0, 65535, 57.3333f, 1304.0f, 0.0f, 2.85714f, 1.0f, -3, 1298, 118, 1310, 0, 0, -1},
+ {1, 36, 0, 65535, 278.167f, 1231.25f, 0.0f, 1.0f, 1.0f, 117, 1152, 439, 1311, 0, 0, -1},
+ {5, 255, 0, 65535, 2441.35f, 1282.81f, 0.0f, 162.0f, 90.0f, 2360, 1237, 2523, 1328, 0, 0, -1},
+ {1, 11, 0, 65535, 2432.85f, 1347.97f, 0.0f, 1.0f, 1.0f, 2292, 1341, 2574, 1354, 0, 0, -1},
+ {1, 37, 0, 240, 682.405f, 1132.74f, -270.0f, 1.0f, 1.0f, 621, 1012, 744, 1254, 0, 0, -1},
+ {1, 37, 0, 241, 842.268f, 1367.4f, -180.0f, 1.0f, 1.0f, 721, 1306, 963, 1429, 0, 0, -1},
+ {1, 37, 0, 242, 1157.97f, 951.066f, -210.233f, 1.0f, 1.0f, 1078, 837, 1238, 1065, 0, 0, -1},
+ {1, 37, 0, 243, 1154.03f, 1314.13f, -222.263f, 1.0f, 1.0f, 1097, 1187, 1211, 1441, 0, 0, -1},
+ {1, 37, 0, 244, 1418.43f, 1154.3f, -152.367f, 1.0f, 1.0f, 1283, 1137, 1554, 1168, 0, 0, -1},
+ {1, 37, 0, 245, 1751.9f, 1335.83f, -270.0f, 1.0f, 1.0f, 1690, 1215, 1813, 1457, 0, 0, -1},
+ {1, 37, 0, 246, 1781.49f, 982.636f, -180.0f, 1.0f, 1.0f, 1660, 921, 1902, 1044, 0, 0, -1},
+ {1, 37, 0, 247, 2081.42f, 1097.08f, -90.0f, 1.0f, 1.0f, 2020, 976, 2143, 1218, 0, 0, -1},
+ {1, 37, 0, 248, 2061.68f, 1381.22f, -180.0f, 1.0f, 1.0f, 1941, 1320, 2183, 1443, 0, 0, -1},
+ {1, 37, 0, 249, 1517.09f, 1404.89f, -196.289f, 1.0f, 1.0f, 1415, 1312, 1620, 1498, 0, 0, -1},
+ {1, 37, 0, 250, 946.845f, 1059.59f, -860.316f, 1.0f, 1.0f, 815, 1020, 1079, 1099, 0, 0, -1},
+ {4, 255, 0, 65535, 572.667f, 1436.67f, 0.0f, 81.0f, 106.0f, 532, 1383, 614, 1490, 0, 0, -1},
+ {4, 255, 0, 65535, 433.0f, 1489.67f, 0.0f, 81.0f, 106.0f, 392, 1436, 474, 1543, 0, 0, -1},
+ {4, 255, 0, 65535, 359.0f, 1474.33f, 0.0f, 81.0f, 106.0f, 318, 1421, 400, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 513.167f, 1470.0f, 0.0f, 81.0f, 106.0f, 472, 1417, 554, 1523, 0, 0, -1},
+ {4, 255, 0, 65535, 296.167f, 1440.0f, 0.0f, 81.0f, 106.0f, 255, 1387, 337, 1493, 0, 0, -1},
+ {0, 77, 0, 65535, -36.7014f, 1489.62f, 90.0f, 5.77229f, 5.94587f, -510, 1333, 434, 1652, 0, 0, -1},
+ {0, 80, 0, 65535, -363.778f, 1344.2f, 270.438f, 0.829247f, 1.0f, -733, 1310, 4, 1380, 0, 0, -1},
+ {0, 68, 0, 65535, 276.848f, 1267.4f, 0.0f, 0.661761f, 0.661761f, 118, 1181, 436, 1353, 0, 0, -1},
+ {0, 73, 0, 65535, 765.014f, 1436.81f, 0.0f, 1.0f, 0.843772f, 653, 1188, 877, 1698, 0, 0, -1},
+ {0, 73, 0, 65535, 1462.11f, 1565.59f, 0.0f, 1.0f, 0.843772f, 1350, 1317, 1574, 1827, 0, 0, -1},
+ {0, 73, 0, 65535, 2042.76f, 1629.02f, 0.0f, 1.0f, 0.843772f, 1930, 1380, 2155, 1890, 0, 0, -1},
+ {0, 73, 0, 65535, 2483.49f, 1582.59f, 0.0f, 1.0f, 0.843772f, 2371, 1334, 2595, 1844, 0, 0, -1},
+ {0, 66, 0, 65535, 3002.68f, 1553.81f, 0.0f, 1.0f, 1.0f, 2762, 1415, 3243, 1693, 0, 0, -1},
+ {0, 64, 0, 65535, 3357.42f, 1313.5f, 0.0f, 0.820179f, 0.595371f, 3242, 1200, 3473, 1428, 0, 0, -1},
+ {0, 77, 0, 65535, 3615.77f, 1577.33f, 90.0f, 5.77229f, 4.77143f, 3236, 1421, 3993, 1739, 0, 0, -1},
+ {0, 77, 0, 65535, 3538.04f, 1415.81f, 90.0f, 3.84936f, 0.834503f, 3471, 1311, 3604, 1524, 0, 0, -1},
+ {0, 80, 0, 65535, 3598.19f, 1319.27f, -50.3371f, 0.436738f, 0.474979f, 3452, 1198, 3741, 1444, 0, 0, -1},
+ {0, 77, 0, 65535, 3503.74f, 1297.04f, 36.7399f, 2.2559f, 0.541001f, 3429, 1226, 3580, 1370, 0, 0, -1},
+ {0, 80, 0, 65535, 4121.74f, 1312.23f, 90.0f, -0.436738f, 0.650366f, 3883, 1295, 4362, 1330, 0, 0, -1},
+ {0, 80, 0, 65535, 2462.0f, 1594.78f, 90.0f, -0.81155f, 0.826457f, 2158, 1563, 2767, 1627, 0, 0, -1},
+ {0, 80, 0, 65535, 1858.06f, 1594.78f, 90.0f, -0.81155f, 0.826458f, 1554, 1563, 2163, 1627, 0, 0, -1},
+ {0, 80, 0, 65535, 1051.78f, 1597.86f, 90.0f, -0.81155f, 0.826458f, 748, 1566, 1356, 1630, 0, 0, -1},
+ {0, 80, 0, 65535, 357.827f, 1597.86f, 90.0f, -0.81155f, 0.826458f, 54, 1566, 662, 1630, 0, 0, -1},
+ {0, 80, 0, 65535, 450.149f, 1491.69f, -189.011f, -0.81155f, 0.826458f, 371, 1188, 521, 1798, 0, 0, -1},
+ {0, 80, 0, 65535, 881.656f, 1519.91f, -185.701f, -0.81155f, -0.826458f, 819, 1215, 936, 1825, 0, 0, -1},
+ {0, 80, 0, 65535, 1581.08f, 1646.51f, -185.701f, -0.81155f, -0.826458f, 1519, 1341, 1635, 1952, 0, 0, -1},
+ {0, 80, 0, 65535, 2161.17f, 1711.14f, -185.701f, -0.81155f, -0.826458f, 2099, 1406, 2215, 2017, 0, 0, -1},
+ {0, 80, 0, 65535, 2598.16f, 1657.28f, -185.701f, -0.81155f, -0.826458f, 2536, 1352, 2652, 1963, 0, 0, -1},
+ {0, 80, 0, 65535, 2755.11f, 1721.91f, -354.857f, -0.81155f, 0.826458f, 2704, 1417, 2814, 2027, 0, 0, -1},
+ {0, 80, 0, 65535, 2367.42f, 1665.48f, -354.857f, -0.81155f, 0.826458f, 2316, 1360, 2427, 1971, 0, 0, -1},
+ {0, 80, 0, 65535, 1927.35f, 1711.64f, -354.857f, -0.81155f, 0.826458f, 1876, 1407, 1987, 2017, 0, 0, -1},
+ {0, 80, 0, 65535, 1347.26f, 1670.1f, -354.857f, -0.81155f, 0.826458f, 1296, 1365, 1407, 1976, 0, 0, -1},
+ {0, 80, 0, 65535, 650.235f, 1537.77f, -354.857f, -0.81155f, 0.826458f, 599, 1233, 710, 1843, 0, 0, -1},
+ {0, 77, 0, 65535, 3965.87f, 1468.34f, 90.0f, 5.77229f, 5.02444f, 3566, 1312, 4363, 1630, 0, 0, -1},
+ {1, 57, 0, 65535, 57.3333f, 1325.0f, 0.0f, 2.85714f, 1.0f, -3, 1319, 118, 1331, 0, 0, -1},
+ {5, 255, 0, 65535, 3753.35f, 1239.81f, 0.0f, 162.0f, 90.0f, 3672, 1194, 3835, 1285, 0, 0, -1},
+ {1, 11, 0, 65535, 3744.85f, 1304.97f, 0.0f, 1.0f, 1.0f, 3604, 1298, 3886, 1311, 0, 0, -1},
+ {2, 1, 0, 251, -292.0f, 1200.0f, 0.0f, 1.0f, 1.0f, -614, 878, 29, 1519, 0, 0, -1},
+ {1, 23, 0, 65535, 3006.2f, 1500.07f, 0.0f, 1.0f, 1.00529f, 2766, 1404, 3247, 1595, 0, 0, -1},
+ {1, 15, 0, 65535, 3356.77f, 1307.67f, 9.48546f, 1.0f, 1.00394f, 3245, 1196, 3470, 1418, 0, 0, -1},
+ {1, 17, 0, 65535, 1463.17f, 1329.98f, 0.0f, 1.0f, 1.0f, 1346, 1304, 1580, 1356, 0, 0, -1},
+ {1, 17, 0, 65535, 2042.67f, 1393.33f, 0.0f, 1.0f, 1.0f, 1925, 1367, 2159, 1419, 0, 0, -1},
+ {1, 17, 0, 65535, 766.0f, 1201.0f, 0.0f, 1.0f, 1.0f, 649, 1175, 882, 1227, 0, 0, -1},
+ {1, 17, 0, 65535, 2484.11f, 1347.08f, 0.0f, 1.0f, 1.0f, 2367, 1321, 2601, 1373, 0, 0, -1},
+ {1, 36, 0, 65535, 277.602f, 1252.29f, 0.0f, 1.0f, 1.0f, 117, 1173, 439, 1332, 0, 0, -1},
+ {4, 255, 0, 65535, 572.667f, 1436.67f, 0.0f, 81.0f, 106.0f, 532, 1383, 614, 1490, 0, 0, -1},
+ {4, 255, 0, 65535, 433.0f, 1489.67f, 0.0f, 81.0f, 106.0f, 392, 1436, 474, 1543, 0, 0, -1},
+ {4, 255, 0, 65535, 359.0f, 1474.33f, 0.0f, 81.0f, 106.0f, 318, 1421, 400, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 513.167f, 1470.0f, 0.0f, 81.0f, 106.0f, 472, 1417, 554, 1523, 0, 0, -1},
+ {4, 255, 0, 65535, 296.167f, 1440.0f, 0.0f, 81.0f, 106.0f, 255, 1387, 337, 1493, 0, 0, -1},
+ {0, 74, 0, 65535, -67.4618f, 1385.74f, 0.0f, 1.521f, 1.0f, -257, 1116, 123, 1674, 0, 0, -1},
+ {0, 80, 0, 65535, 124.099f, 1485.19f, 0.0f, 1.0f, 1.0f, 85, 1117, 163, 1853, 0, 0, -1},
+ {0, 74, 0, 65535, 4405.28f, 1798.56f, 0.0f, 4.2811f, 1.0f, 3874, 1529, 4941, 2087, 0, 0, -1},
+ {0, 80, 0, 65535, 3883.18f, 1897.15f, 0.0f, -1.0f, 1.0f, 3844, 1529, 3923, 2265, 0, 0, -1},
+ {0, 80, 0, 65535, 4723.93f, 1546.26f, -271.524f, -1.0f, -1.0f, 4355, 1502, 5092, 1596, 0, 0, -1},
+ {0, 80, 0, 65535, 478.146f, 1598.06f, 270.0f, 1.0f, 1.0f, 110, 1559, 846, 1638, 0, 0, -1},
+ {0, 80, 0, 65535, 1212.24f, 1597.52f, 270.0f, 1.0f, 1.0f, 844, 1559, 1580, 1637, 0, 0, -1},
+ {0, 80, 0, 65535, 1944.6f, 1598.45f, 270.0f, 1.0f, 1.0f, 1576, 1559, 2312, 1638, 0, 0, -1},
+ {0, 80, 0, 65535, 2678.6f, 1598.45f, 270.0f, 1.0f, 1.0f, 2310, 1559, 3046, 1638, 0, 0, -1},
+ {0, 80, 0, 65535, 3455.05f, 1598.45f, 270.0f, 1.0f, 1.11566f, 3044, 1559, 3865, 1638, 0, 0, -1},
+ {1, 13, 0, 65535, 76.2755f, 1112.0f, 0.0f, 1.08297f, 1.0f, -1, 1106, 153, 1118, 0, 0, -1},
+ {5, 255, 0, 65535, 4140.16f, 1470.81f, 0.0f, 162.0f, 90.0f, 4059, 1425, 4222, 1516, 0, 0, -1},
+ {1, 12, 0, 65535, 4120.84f, 1528.52f, 0.0f, 2.62148f, 1.0f, 3874, 1522, 4368, 1535, 0, 0, -1},
+ {1, 26, 0, 252, 275.06f, 1108.12f, -360.0f, 1.00606f, 1.00606f, 191, 1024, 359, 1192, 0, 0, -1},
+ {1, 26, 0, 253, 859.209f, 1248.49f, -360.0f, 1.00606f, 1.00606f, 775, 1164, 943, 1332, 0, 0, -1},
+ {1, 26, 0, 254, 1057.71f, 1098.19f, -30.0f, 1.00606f, 1.00606f, 943, 984, 1172, 1213, 0, 0, -1},
+ {1, 26, 0, 255, 1249.11f, 966.336f, -420.0f, 1.00606f, 1.00606f, 1135, 852, 1364, 1081, 0, 0, -1},
+ {1, 26, 0, 256, 1939.17f, 1424.18f, -675.0f, 1.00606f, 1.00606f, 1821, 1306, 2058, 1543, 0, 0, -1},
+ {1, 26, 0, 257, 2227.17f, 1424.18f, -360.0f, 1.00606f, 1.00606f, 2143, 1340, 2311, 1508, 0, 0, -1},
+ {1, 26, 0, 258, 2515.17f, 1424.18f, -405.0f, 1.00606f, 1.00606f, 2397, 1306, 2634, 1543, 0, 0, -1},
+ {1, 26, 0, 259, 2930.04f, 1224.32f, -360.0f, 1.00606f, 1.00606f, 2846, 1140, 3014, 1308, 0, 0, -1},
+ {1, 26, 0, 260, 3122.04f, 1224.32f, -360.0f, 1.00606f, 1.00606f, 3038, 1140, 3206, 1308, 0, 0, -1},
+ {1, 26, 0, 261, 2930.04f, 1416.32f, -360.0f, 1.00606f, 1.00606f, 2846, 1332, 3014, 1500, 0, 0, -1},
+ {1, 26, 0, 262, 3122.04f, 1416.32f, -360.0f, 1.00606f, 1.00606f, 3038, 1332, 3206, 1500, 0, 0, -1},
+ {1, 26, 0, 263, 3537.65f, 1085.63f, -360.0f, 1.00606f, 1.00606f, 3454, 1002, 3622, 1170, 0, 0, -1},
+ {1, 26, 0, 264, 3761.65f, 1085.63f, -360.0f, 1.00606f, 1.00606f, 3678, 1002, 3846, 1170, 0, 0, -1},
+ {1, 26, 0, 265, 3761.65f, 1309.64f, -360.0f, 1.00606f, 1.00606f, 3678, 1226, 3846, 1394, 0, 0, -1},
+ {1, 26, 0, 266, 3537.65f, 1309.64f, -360.0f, 1.00606f, 1.00606f, 3454, 1226, 3622, 1394, 0, 0, -1},
+ {0, 68, 0, 65535, 108.844f, 1216.36f, 0.0f, -0.453125f, 0.493088f, 0, 1152, 218, 1280, 0, 0, -1},
+ {0, 68, 0, 65535, 346.269f, 1322.22f, 0.0f, -0.453125f, 0.453125f, 237, 1263, 456, 1381, 0, 0, -1},
+ {0, 74, 0, 65535, 64.0227f, 1485.83f, -269.929f, 0.945126f, 0.221071f, 0, 1368, 124, 1605, 0, 0, -1},
+ {0, 74, 0, 65535, 120.11f, 1395.99f, 0.0f, 0.960883f, 0.494049f, 0, 1262, 241, 1539, 0, 0, -1},
+ {0, 74, 0, 65535, 477.343f, 1486.2f, -269.929f, 0.945128f, 0.391572f, 364, 1368, 584, 1605, 0, 0, -1},
+ {0, 74, 0, 65535, 235.934f, 1493.09f, -269.929f, 0.945128f, 0.583489f, 68, 1375, 394, 1612, 0, 0, -1},
+ {0, 74, 0, 65535, -52.0f, 1450.5f, 34.7876f, 1.0f, 1.0f, -318, 1158, 205, 1758, 0, 0, -1},
+ {0, 80, 0, 65535, -156.142f, 1388.48f, 219.601f, 1.0f, 0.761231f, -357, 1154, 52, 1630, 0, 0, -1},
+ {1, 55, 0, 65535, 528.58f, 1368.0f, 0.0f, 1.17832f, 1.0f, 479, 1362, 578, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 360.246f, 1314.91f, -1.0f, -1.0f, 1.0f, 238, 1255, 482, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 120.482f, 1207.0f, 0.0f, -1.0f, 1.0f, -1, 1146, 241, 1268, 0, 0, -1},
+ {0, 68, 0, 65535, 239.0f, 1279.5f, 0.0f, 1.0125f, 1.0f, -4, 1150, 482, 1408, 0, 0, -1},
+ {0, 68, 0, 65535, 1083.5f, 1324.0f, 0.0f, 0.489583f, 0.498054f, 966, 1259, 1201, 1388, 0, 0, -1},
+ {0, 77, 0, 65535, 413.5f, 1487.0f, 90.0f, 4.14286f, 5.28542f, -7, 1375, 832, 1603, 0, 0, -1},
+ {0, 68, 0, 65535, 722.0f, 1279.5f, 0.0f, -1.0125f, 1.0f, 479, 1150, 965, 1408, 0, 0, -1},
+ {0, 68, 0, 65535, 1317.5f, 1324.0f, 0.0f, -0.489583f, 0.498054f, 1200, 1259, 1435, 1388, 0, 0, -1},
+ {0, 77, 0, 65535, 1168.0f, 1487.0f, 90.0f, 4.14286f, 4.37917f, 819, 1375, 1514, 1603, 0, 0, -1},
+ {1, 35, 0, 65535, 240.0f, 1258.5f, 0.0f, 1.0f, 1.00433f, -1, 1143, 481, 1376, 0, 0, -1},
+ {1, 35, 0, 65535, 719.0f, 1258.5f, 0.0f, -1.0f, 1.00433f, 478, 1143, 960, 1376, 0, 0, -1},
+ {1, 37, 0, 65535, 1078.5f, 1313.5f, 0.0f, 1.0f, 1.0f, 958, 1252, 1199, 1375, 0, 0, -1},
+ {1, 37, 0, 65535, 1319.5f, 1313.5f, 0.0f, -1.0f, 1.0f, 1199, 1252, 1440, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 487.5f, 1090.0f, 0.0f, 81.0f, 106.0f, 447, 1037, 528, 1143, 0, 0, -1},
+ {4, 255, 0, 65535, 1199.5f, 1201.0f, 0.0f, 81.0f, 106.0f, 1159, 1148, 1240, 1254, 0, 0, -1},
+ {1, 57, 0, 65535, 1472.83f, 1368.0f, 0.0f, 1.61111f, 1.0f, 1439, 1362, 1507, 1374, 0, 0, -1},
+ {0, 68, 0, 65535, 234.0f, 1284.5f, 0.0f, 1.0125f, 1.0f, -9, 1155, 477, 1413, 0, 0, -1},
+ {0, 77, 0, 65535, 942.667f, 1516.0f, 90.0f, 5.28571f, 4.40417f, 592, 1373, 1291, 1664, 0, 0, -1},
+ {0, 74, 0, 65535, 299.667f, 1576.0f, 0.0f, 2.49333f, 0.766839f, -10, 1369, 612, 1797, 0, 0, -1},
+ {0, 68, 0, 65535, 827.5f, 1329.16f, 0.0f, -0.51875f, 0.512346f, 703, 1262, 952, 1395, 0, 0, -1},
+ {0, 80, 0, 65535, 473.902f, 1282.0f, 0.0f, 0.305177f, 0.346049f, 462, 1154, 486, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 709.902f, 1344.0f, 0.0f, -0.305177f, 0.217984f, 698, 1263, 722, 1424, 0, 0, -1},
+ {1, 35, 0, 65535, 240.0f, 1258.5f, 0.0f, 1.0f, 1.00433f, -1, 1143, 481, 1376, 0, 0, -1},
+ {1, 37, 0, 65535, 821.0f, 1313.5f, 0.0f, -1.0f, 1.0f, 700, 1252, 942, 1375, 0, 0, -1},
+ {2, 0, 0, 65535, 592.0f, 1340.0f, 0.0f, 0.578089f, 1.0f, 480, 1308, 703, 1371, 0, 0, -1},
+ {1, 11, 0, 65535, 1112.0f, 1368.0f, 0.0f, 1.2242f, 1.0f, 940, 1362, 1284, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 527.5f, 1096.5f, 0.0f, 41.0f, 53.0f, 507, 1070, 548, 1123, 0, 0, -1},
+ {4, 255, 0, 65535, 632.5f, 1101.5f, 0.0f, 41.0f, 53.0f, 612, 1075, 653, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 746.5f, 1146.5f, 0.0f, 41.0f, 53.0f, 726, 1120, 767, 1173, 0, 0, -1},
+ {4, 255, 0, 65535, 824.5f, 1216.5f, 0.0f, 41.0f, 53.0f, 804, 1190, 845, 1243, 0, 0, -1},
+ {0, 74, 0, 65535, 793.0f, 1510.0f, 90.0f, 1.104f, 2.78411f, -8, 1373, 1544, 1648, 0, 0, -1},
+ {0, 70, 0, 65535, 594.638f, 1544.0f, 11.388f, 1.21625f, 1.21625f, 400, 1144, 785, 2018, 0, 0, -1},
+ {0, 73, 0, 65535, 585.5f, 1541.5f, -7.86972f, 1.0f, 1.0f, 434, 1234, 738, 1863, 0, 0, -1},
+ {0, 80, 0, 65535, 348.923f, 1381.53f, -90.0f, 0.398114f, 0.253196f, 255, 1366, 442, 1398, 0, 0, -1},
+ {0, 80, 0, 65535, 957.815f, 1381.53f, -90.0f, 0.398114f, 0.616308f, 731, 1366, 1184, 1398, 0, 0, -1},
+ {0, 74, 0, 65535, 1593.0f, 1511.0f, 90.0f, 1.104f, 0.210708f, 1532, 1374, 1650, 1649, 0, 0, -1},
+ {0, 80, 0, 65535, 759.293f, 1267.24f, 7.02177f, 0.314141f, 0.322234f, 732, 1148, 783, 1386, 0, 0, -1},
+ {0, 80, 0, 65535, 450.613f, 1372.19f, -185.937f, 0.246811f, 0.289337f, 432, 1265, 472, 1479, 0, 0, -1},
+ {0, 68, 0, 65535, 150.0f, 1311.73f, 0.0f, 0.625f, 0.66875f, 0, 1225, 300, 1398, 0, 0, -1},
+ {0, 80, 0, 65535, 306.827f, 1332.64f, 0.0f, 0.414692f, 0.289337f, 290, 1226, 323, 1439, 0, 0, -1},
+ {0, 68, 0, 65535, 1055.0f, 1307.74f, 0.0f, -0.625f, 0.668751f, 905, 1221, 1205, 1394, 0, 0, -1},
+ {0, 80, 0, 65535, 910.827f, 1330.64f, 3.27741f, -0.414692f, 0.289338f, 891, 1223, 934, 1438, 0, 0, -1},
+ {2, 1, 0, 267, 374.0f, 1321.0f, 15.5715f, 0.145773f, 0.145773f, 327, 1274, 421, 1368, 0, 0, -1},
+ {1, 18, 0, 65535, 507.357f, 1281.69f, -354.19f, 1.00629f, 1.0f, 429, 1255, 588, 1301, 0, 0, -1},
+ {1, 36, 0, 65535, 158.5f, 1295.5f, 0.0f, 1.0f, 1.0f, -2, 1216, 319, 1375, 0, 0, -1},
+ {1, 36, 0, 65535, 1064.5f, 1295.0f, 0.0f, -1.0f, 1.0f, 904, 1216, 1225, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1365.49f, 1368.0f, 0.0f, 1.51345f, 1.0f, 1223, 1362, 1508, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 682.892f, 1207.7f, -34.2181f, -1.28193f, 1.0f, 579, 1134, 786, 1281, 0, 0, -1},
+ {1, 13, 0, 65535, 1570.44f, 1368.0f, 0.0f, 0.904372f, 1.0f, 1506, 1362, 1635, 1374, 0, 0, -1},
+ {2, 1, 0, 268, 825.0f, 1317.0f, 15.5715f, 0.145773f, 0.145773f, 778, 1270, 872, 1364, 0, 0, -1},
+ {4, 255, 0, 65535, 333.5f, 1180.5f, 0.0f, 41.0f, 53.0f, 313, 1154, 354, 1207, 0, 0, -1},
+ {4, 255, 0, 65535, 414.537f, 1165.68f, 0.0f, 41.0f, 53.0f, 394, 1139, 436, 1193, 0, 0, -1},
+ {4, 255, 0, 65535, 495.792f, 1158.38f, 0.0f, 41.0f, 53.0f, 475, 1131, 517, 1185, 0, 0, -1},
+ {0, 68, 0, 65535, 377.0f, 1282.5f, 0.0f, 1.0125f, 1.0f, 134, 1153, 620, 1411, 0, 0, -1},
+ {0, 77, 0, 65535, 1130.5f, 1516.0f, 90.0f, 5.28571f, 11.3313f, 229, 1373, 2026, 1664, 0, 0, -1},
+ {0, 74, 0, 65535, 119.0f, 1508.5f, 0.0f, 1.016f, 0.502591f, -7, 1373, 246, 1653, 0, 0, -1},
+ {0, 80, 0, 65535, 609.0f, 1305.44f, 0.0f, 0.410256f, 0.410256f, 593, 1154, 625, 1456, 0, 0, -1},
+ {0, 68, 0, 65535, 2066.0f, 1281.5f, 0.0f, -1.0125f, 1.0f, 1823, 1152, 2309, 1410, 0, 0, -1},
+ {0, 77, 0, 65535, 2153.0f, 1518.0f, 90.0f, 5.28571f, 3.675f, 1860, 1375, 2444, 1666, 0, 0, -1},
+ {0, 80, 0, 65535, 1833.0f, 1287.5f, 0.0f, -0.410256f, 0.36921f, 1817, 1151, 1849, 1423, 0, 0, -1},
+ {1, 35, 0, 65535, 379.0f, 1258.5f, 0.0f, 1.0f, 1.00433f, 138, 1143, 620, 1376, 0, 0, -1},
+ {2, 0, 0, 65535, 720.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 619, 1307, 820, 1370, 0, 0, -1},
+ {1, 45, 0, 65535, 983.0f, 1215.5f, 0.0f, 1.0f, 1.01818f, 874, 1188, 1092, 1243, 0, 0, -1},
+ {1, 45, 0, 65535, 1496.0f, 1183.5f, 0.0f, 1.0f, 1.01818f, 1387, 1156, 1605, 1211, 0, 0, -1},
+ {2, 0, 0, 65535, 920.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 819, 1307, 1020, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1120.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 1019, 1307, 1220, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1320.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 1219, 1307, 1420, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1521.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 1420, 1307, 1621, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1722.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 1621, 1307, 1822, 1370, 0, 0, -1},
+ {1, 13, 0, 65535, 69.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 140, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 2372.5f, 1368.0f, 0.0f, 0.913621f, 1.0f, 2308, 1362, 2437, 1374, 0, 0, -1},
+ {1, 35, 0, 65535, 2068.0f, 1258.5f, 0.0f, -1.0f, 1.00433f, 1827, 1143, 2309, 1376, 0, 0, -1},
+ {4, 255, 0, 65535, 1124.5f, 1122.5f, 0.0f, 41.0f, 53.0f, 1104, 1096, 1145, 1149, 0, 0, -1},
+ {4, 255, 0, 65535, 1186.5f, 1090.5f, 0.0f, 41.0f, 53.0f, 1166, 1064, 1207, 1117, 0, 0, -1},
+ {4, 255, 0, 65535, 1254.5f, 1073.5f, 0.0f, 41.0f, 53.0f, 1234, 1047, 1275, 1100, 0, 0, -1},
+ {4, 255, 0, 65535, 1327.5f, 1080.5f, 0.0f, 41.0f, 53.0f, 1307, 1054, 1348, 1107, 0, 0, -1},
+ {4, 255, 0, 65535, 1383.5f, 1115.5f, 0.0f, 41.0f, 53.0f, 1363, 1089, 1404, 1142, 0, 0, -1},
+ {0, 77, 0, 65535, 560.0f, 1516.5f, 0.0f, 17.7143f, 1.84375f, 81, 1370, 1056, 1664, 0, 0, -1},
+ {0, 77, 0, 65535, 1197.0f, 1516.5f, 0.0f, 10.75f, 1.84375f, 906, 1370, 1498, 1664, 0, 0, -1},
+ {0, 68, 0, 65535, 237.0f, 1283.5f, 0.0f, 1.0f, 1.0f, -3, 1154, 477, 1412, 0, 0, -1},
+ {0, 68, 0, 65535, 993.0f, 1281.5f, 0.0f, 1.02083f, 1.0f, 748, 1152, 1238, 1410, 0, 0, -1},
+ {0, 74, 0, 65535, 1570.5f, 1516.5f, 0.0f, 1.076f, 0.544041f, 1437, 1369, 1705, 1673, 0, 0, -1},
+ {0, 74, 0, 65535, 116.5f, 1512.0f, 0.0f, 1.02f, 0.525043f, -10, 1370, 244, 1663, 0, 0, -1},
+ {0, 80, 0, 65535, 467.0f, 1305.44f, 0.0f, 0.410256f, 0.410256f, 451, 1154, 483, 1456, 0, 0, -1},
+ {0, 80, 0, 65535, 1227.0f, 1304.44f, 0.0f, 0.410256f, 0.410256f, 1211, 1153, 1243, 1455, 0, 0, -1},
+ {1, 35, 0, 65535, 238.0f, 1258.5f, 0.0f, 1.0f, 1.00433f, -3, 1143, 479, 1376, 0, 0, -1},
+ {1, 11, 0, 65535, 617.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 477, 1362, 758, 1374, 0, 0, -1},
+ {1, 35, 0, 65535, 997.0f, 1258.5f, 0.0f, 1.0f, 1.00433f, 756, 1143, 1238, 1376, 0, 0, -1},
+ {1, 11, 0, 65535, 1467.83f, 1368.0f, 0.0f, 1.6314f, 1.0f, 1238, 1362, 1698, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1301.5f, 1095.5f, 0.0f, 41.0f, 53.0f, 1281, 1069, 1322, 1122, 0, 0, -1},
+ {4, 255, 0, 65535, 1368.5f, 1107.5f, 0.0f, 41.0f, 53.0f, 1348, 1081, 1389, 1134, 0, 0, -1},
+ {4, 255, 0, 65535, 1429.5f, 1141.5f, 0.0f, 41.0f, 53.0f, 1409, 1115, 1450, 1168, 0, 0, -1},
+ {0, 77, 0, 65535, 544.0f, 1519.5f, 0.0f, 18.2857f, 1.80625f, 50, 1376, 1056, 1664, 0, 0, -1},
+ {0, 77, 0, 65535, 1600.0f, 1516.5f, 0.0f, 20.5714f, 1.80625f, 1044, 1373, 2176, 1661, 0, 0, -1},
+ {0, 70, 0, 65535, 483.5f, 1396.5f, 0.0f, 1.0f, 1.0f, 394, 1044, 572, 1778, 0, 0, -1},
+ {0, 70, 0, 65535, 124.5f, 1556.5f, 0.0f, 1.0f, 1.0f, 35, 1204, 213, 1938, 0, 0, -1},
+ {0, 70, 0, 65535, 836.5f, 1233.5f, 0.0f, 1.0f, 1.0f, 747, 881, 925, 1615, 0, 0, -1},
+ {0, 68, 0, 65535, 1156.0f, 791.5f, 0.0f, 1.0f, 1.0f, 916, 662, 1396, 920, 0, 0, -1},
+ {0, 74, 0, 65535, 1148.0f, 1187.5f, 0.0f, 1.96f, 1.0f, 904, 918, 1393, 1475, 0, 0, -1},
+ {0, 74, 0, 65535, 2198.5f, 1641.5f, 0.0f, 0.412f, 1.0f, 2147, 1372, 2250, 1929, 0, 0, -1},
+ {0, 74, 0, 65535, 118.5f, 1640.5f, 0.0f, 1.028f, 1.0f, -9, 1371, 247, 1928, 0, 0, -1},
+ {0, 80, 0, 65535, 213.0f, 1296.5f, 0.0f, 0.153846f, 0.260218f, 207, 1200, 219, 1392, 0, 0, -1},
+ {0, 80, 0, 65535, 309.0f, 1377.0f, -90.0f, 0.820513f, 0.260218f, 213, 1345, 405, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 661.0f, 1377.0f, -90.0f, 0.820513f, 0.260218f, 565, 1345, 757, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 569.0f, 1193.5f, 0.0f, 0.153846f, 0.401907f, 563, 1045, 575, 1341, 0, 0, -1},
+ {0, 80, 0, 65535, 1385.0f, 1245.68f, 0.0f, 0.512821f, 0.412304f, 1365, 1093, 1405, 1397, 0, 0, -1},
+ {0, 80, 0, 65535, 1385.0f, 881.5f, 0.0f, 0.512821f, 0.595368f, 1365, 662, 1405, 1100, 0, 0, -1},
+ {0, 80, 0, 65535, 762.0f, 1204.5f, 0.0f, -0.512821f, 0.401907f, 742, 1056, 782, 1352, 0, 0, -1},
+ {0, 80, 0, 65535, 410.0f, 1366.5f, 0.0f, -0.512821f, 0.401907f, 390, 1218, 430, 1514, 0, 0, -1},
+ {1, 57, 0, 65535, 19.5f, 1368.0f, 0.0f, 1.07143f, 1.0f, -3, 1362, 42, 1374, 0, 0, -1},
+ {1, 35, 0, 65535, 1159.0f, 771.0f, 0.0f, 1.0f, 1.00433f, 918, 655, 1400, 888, 0, 0, -1},
+ {1, 40, 0, 65535, 125.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 31, 1187, 220, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 481.5f, 1128.5f, 0.0f, 1.00541f, 1.00541f, 387, 1034, 576, 1221, 0, 0, -1},
+ {1, 40, 0, 65535, 833.5f, 966.5f, 0.0f, 1.00541f, 1.00541f, 739, 872, 928, 1059, 0, 0, -1},
+ {1, 11, 0, 65535, 1821.0f, 1368.0f, 0.0f, 2.98932f, 1.0f, 1401, 1362, 2241, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 943.5f, 845.5f, 0.0f, 41.0f, 53.0f, 923, 819, 964, 872, 0, 0, -1},
+ {4, 255, 0, 65535, 999.5f, 831.5f, 0.0f, 41.0f, 53.0f, 979, 805, 1020, 858, 0, 0, -1},
+ {4, 255, 0, 65535, 1059.5f, 805.5f, 0.0f, 41.0f, 53.0f, 1039, 779, 1080, 832, 0, 0, -1},
+ {4, 255, 0, 65535, 1108.5f, 773.5f, 0.0f, 41.0f, 53.0f, 1088, 747, 1129, 800, 0, 0, -1},
+ {0, 77, 0, 65535, 108.5f, 1486.0f, 90.0f, 4.14286f, 1.44375f, -7, 1374, 223, 1602, 0, 0, -1},
+ {0, 80, 0, 65535, 227.602f, 1499.0f, 0.0f, 0.348774f, 0.348774f, 214, 1370, 242, 1627, 0, 0, -1},
+ {0, 80, 0, 65535, 970.602f, 1499.0f, 0.0f, -0.348774f, 0.348774f, 957, 1370, 985, 1627, 0, 0, -1},
+ {0, 80, 0, 65535, 423.0f, 1570.4f, 270.0f, 0.75903f, 0.610354f, 198, 1541, 647, 1600, 0, 0, -1},
+ {0, 77, 0, 65535, 1262.78f, 1486.0f, 90.0f, 4.14286f, 3.59731f, 976, 1374, 1547, 1602, 0, 0, -1},
+ {0, 80, 0, 65535, 868.0f, 1570.4f, 270.0f, 0.759031f, 0.610354f, 643, 1541, 1092, 1600, 0, 0, -1},
+ {0, 68, 0, 65535, 1084.92f, 1326.0f, 0.0f, 0.528818f, 0.490272f, 957, 1262, 1212, 1389, 0, 0, -1},
+ {0, 68, 0, 65535, 1322.0f, 1328.0f, 0.0f, -0.466667f, 0.490272f, 1210, 1264, 1434, 1391, 0, 0, -1},
+ {1, 11, 0, 65535, 139.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 280, 1374, 0, 0, -1},
+ {1, 16, 0, 65535, 367.333f, 1296.0f, 13.0044f, 1.0f, 1.00521f, 278, 1215, 458, 1375, 0, 0, -1},
+ {1, 51, 0, 269, 479.475f, 1144.72f, 20.431f, 1.0f, 1.00625f, 445, 1066, 514, 1223, 0, 0, -1},
+ {1, 60, 0, 65535, 432.0f, 980.167f, -157.894f, 1.00457f, 1.0f, 308, 920, 522, 1073, 0, 0, -1},
+ {1, 19, 0, 65535, 328.91f, 1047.28f, 66.6236f, 1.00826f, 1.0f, 306, 989, 365, 1101, 0, 0, -1},
+ {1, 56, 0, 65535, 385.0f, 1107.33f, 27.095f, 1.0f, 1.0f, 357, 1089, 413, 1126, 0, 0, -1},
+ {1, 56, 0, 65535, 579.0f, 1179.33f, 15.9105f, 1.0f, 1.0f, 550, 1165, 608, 1193, 0, 0, -1},
+ {1, 16, 0, 270, 712.0f, 1146.33f, 31.4276f, 1.0f, 1.00521f, 603, 1095, 822, 1200, 0, 0, -1},
+ {1, 59, 0, 65535, 786.5f, 921.5f, -138.53f, 1.00348f, 1.0f, 630, 831, 884, 1072, 0, 0, -1},
+ {1, 17, 1, 65535, 586.477f, 1027.49f, 92.0783f, 1.0f, 1.0f, 561, 911, 616, 1144, 0, 0, -1},
+ {1, 57, 0, 65535, 829.667f, 1083.17f, -52.439f, 1.0f, 1.0f, 812, 1062, 848, 1104, 0, 0, -1},
+ {1, 57, 0, 65535, 623.333f, 899.167f, -51.417f, 1.0f, 1.0f, 605, 879, 642, 920, 0, 0, -1},
+ {1, 56, 0, 65535, 852.0f, 1139.0f, -21.2981f, 1.0f, 1.0f, 823, 1123, 881, 1155, 0, 0, -1},
+ {1, 37, 0, 65535, 1322.5f, 1312.5f, 0.0f, -1.0f, 1.0f, 1202, 1251, 1443, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 1081.5f, 1312.5f, 0.0f, 1.0f, 1.0f, 961, 1251, 1202, 1374, 0, 0, -1},
+ {1, 55, 0, 65535, 1489.15f, 1368.0f, 0.0f, 1.15238f, 1.0f, 1441, 1362, 1537, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1272.5f, 1228.5f, 0.0f, 41.0f, 53.0f, 1252, 1202, 1293, 1255, 0, 0, -1},
+ {4, 255, 0, 65535, 1227.5f, 1188.5f, 0.0f, 41.0f, 53.0f, 1207, 1162, 1248, 1215, 0, 0, -1},
+ {4, 255, 0, 65535, 1174.5f, 1154.5f, 0.0f, 41.0f, 53.0f, 1154, 1128, 1195, 1181, 0, 0, -1},
+ {4, 255, 0, 65535, 1112.5f, 1129.5f, 0.0f, 41.0f, 53.0f, 1092, 1103, 1133, 1156, 0, 0, -1},
+ {0, 77, 0, 65535, 184.5f, 1501.0f, 90.0f, 4.67857f, 2.48125f, -13, 1374, 381, 1632, 0, 0, -1},
+ {0, 77, 0, 65535, 870.5f, 1517.0f, 90.0f, 5.25f, 2.46875f, 674, 1375, 1066, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 758.602f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 745, 1369, 773, 1626, 0, 0, -1},
+ {0, 64, 0, 65535, 196.0f, 1187.5f, 0.0f, 1.0f, 1.0f, 56, 997, 336, 1379, 0, 0, -1},
+ {0, 78, 0, 65535, 528.5f, 898.736f, -180.0f, 0.985472f, 1.0f, 325, 795, 732, 1004, 0, 0, -1},
+ {0, 64, 0, 65535, 862.0f, 1189.5f, 0.0f, -1.0f, 1.0f, 722, 999, 1002, 1381, 0, 0, -1},
+ {0, 74, 0, 65535, 529.5f, 1311.0f, 0.0f, 1.58f, 1.21934f, 333, 982, 727, 1662, 0, 0, -1},
+ {1, 14, 0, 65535, 188.0f, 1186.0f, 0.0f, 1.0f, 1.0f, 48, 997, 327, 1375, 0, 0, -1},
+ {1, 14, 0, 65535, 868.0f, 1186.0f, 0.0f, -1.0f, 1.0f, 729, 997, 1008, 1375, 0, 0, -1},
+ {1, 58, 0, 65535, 528.092f, 893.604f, 180.0f, 1.00235f, 1.00469f, 314, 787, 742, 1002, 0, 0, -1},
+ {1, 56, 0, 65535, 25.0f, 1368.0f, 0.0f, 1.0f, 1.0f, -3, 1362, 53, 1374, 0, 0, -1},
+ {1, 56, 0, 65535, 1031.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 1003, 1362, 1059, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 808.5f, 1144.5f, 0.0f, 41.0f, 53.0f, 788, 1118, 829, 1171, 0, 0, -1},
+ {4, 255, 0, 65535, 843.5f, 1210.5f, 0.0f, 41.0f, 53.0f, 823, 1184, 864, 1237, 0, 0, -1},
+ {4, 255, 0, 65535, 884.5f, 1264.5f, 0.0f, 41.0f, 53.0f, 864, 1238, 905, 1291, 0, 0, -1},
+ {4, 255, 0, 65535, 936.5f, 1307.5f, 0.0f, 41.0f, 53.0f, 916, 1281, 957, 1334, 0, 0, -1},
+ {4, 255, 0, 65535, 992.5f, 1332.5f, 0.0f, 41.0f, 53.0f, 972, 1306, 1013, 1359, 0, 0, -1},
+ {0, 77, 0, 65535, 236.617f, 1501.0f, 90.0f, 4.67857f, 3.07021f, -8, 1374, 480, 1632, 0, 0, -1},
+ {0, 70, 0, 65535, 391.325f, 1739.17f, 0.0f, 0.986722f, 2.66273f, 303, 800, 479, 2754, 0, 0, -1},
+ {0, 64, 0, 65535, 262.957f, 1157.0f, -0.0359833f, 1.27826f, 1.16971f, 84, 934, 443, 1382, 0, 0, -1},
+ {0, 80, 0, 65535, 480.145f, 933.525f, 0.0f, 0.162045f, 0.305177f, 473, 821, 487, 1046, 0, 0, -1},
+ {0, 80, 0, 65535, 480.145f, 1156.53f, 0.0f, 0.162045f, 0.305177f, 473, 1044, 487, 1269, 0, 0, -1},
+ {0, 80, 0, 65535, 480.145f, 1378.53f, 0.0f, 0.162045f, 0.305177f, 473, 1266, 487, 1491, 0, 0, -1},
+ {0, 80, 0, 65535, 480.145f, 1601.53f, 0.0f, 0.162045f, 0.305177f, 473, 1489, 487, 1714, 0, 0, -1},
+ {0, 80, 0, 65535, 639.185f, 1588.83f, -90.0f, 0.457298f, 0.438189f, 477, 1571, 800, 1607, 0, 0, -1},
+ {0, 70, 0, 65535, 824.5f, 1917.17f, 0.0f, -0.59322f, 2.66273f, 772, 978, 878, 2932, 0, 0, -1},
+ {0, 70, 0, 65535, 888.5f, 2056.17f, 0.0f, -0.954802f, 2.66273f, 804, 1117, 974, 3071, 0, 0, -1},
+ {0, 74, 0, 65535, 960.167f, 1640.5f, 0.0f, 1.11333f, 1.0f, 822, 1371, 1100, 1928, 0, 0, -1},
+ {0, 74, 0, 65535, 929.399f, 1357.31f, -322.38f, 0.907922f, 0.110535f, 820, 1264, 1038, 1452, 0, 0, -1},
+ {0, 80, 0, 65535, 772.145f, 1091.53f, 0.0f, -0.162045f, 0.305177f, 765, 979, 779, 1204, 0, 0, -1},
+ {0, 80, 0, 65535, 772.32f, 1314.0f, 0.0f, -0.162045f, 0.305177f, 766, 1201, 779, 1426, 0, 0, -1},
+ {0, 80, 0, 65535, 772.32f, 1538.0f, 0.0f, -0.162045f, 0.305177f, 766, 1425, 779, 1650, 0, 0, -1},
+ {0, 74, 0, 65535, 858.451f, 1271.0f, 50.7252f, 0.331606f, 0.0552677f, 820, 1229, 897, 1314, 0, 0, -1},
+ {0, 74, 0, 65535, 989.626f, 1375.96f, 21.9523f, 0.331606f, 0.0552677f, 945, 1346, 1034, 1407, 0, 0, -1},
+ {1, 14, 0, 65535, 222.243f, 1214.95f, 10.6896f, 1.0f, 1.0f, 52, 1053, 393, 1375, 0, 0, -1},
+ {1, 56, 0, 65535, 27.0f, 1368.0f, 0.0f, 1.07143f, 1.0f, -3, 1362, 57, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 434.875f, 924.875f, -70.0808f, 1.0f, 1.0f, 381, 790, 489, 1060, 0, 0, -1},
+ {1, 14, 0, 65535, 894.0f, 1175.0f, 4.71978f, -1.0f, 1.0f, 771, 976, 1019, 1375, 0, 0, -1},
+ {1, 56, 0, 65535, 1051.67f, 1368.0f, 0.0f, 1.35714f, 1.0f, 1013, 1362, 1090, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 546.5f, 666.5f, 0.0f, 41.0f, 53.0f, 526, 640, 567, 693, 0, 0, -1},
+ {4, 255, 0, 65535, 579.5f, 615.5f, 0.0f, 41.0f, 53.0f, 559, 589, 600, 642, 0, 0, -1},
+ {4, 255, 0, 65535, 639.5f, 590.5f, 0.0f, 41.0f, 53.0f, 619, 564, 660, 617, 0, 0, -1},
+ {4, 255, 0, 65535, 698.5f, 618.5f, 0.0f, 41.0f, 53.0f, 678, 592, 719, 645, 0, 0, -1},
+ {4, 255, 0, 65535, 734.5f, 681.5f, 0.0f, 41.0f, 53.0f, 714, 655, 755, 708, 0, 0, -1},
+ {0, 77, 0, 65535, 239.0f, 1501.0f, 90.0f, 4.67857f, 2.0f, 80, 1374, 397, 1632, 0, 0, -1},
+ {0, 77, 0, 65535, 659.0f, 1501.0f, 90.0f, 4.67857f, 2.0f, 500, 1374, 817, 1632, 0, 0, -1},
+ {0, 74, 0, 65535, 852.5f, 1638.5f, 0.0f, 0.676f, 1.0f, 768, 1369, 937, 1926, 0, 0, -1},
+ {0, 74, 0, 65535, 74.0f, 1638.5f, 0.0f, 0.672f, 1.0f, -10, 1369, 158, 1926, 0, 0, -1},
+ {0, 64, 0, 65535, 215.5f, 1223.51f, 0.0f, 1.31071f, 0.879935f, 32, 1055, 399, 1393, 0, 0, -1},
+ {0, 64, 0, 65535, 677.5f, 1228.01f, 0.0f, -1.31071f, 0.877324f, 494, 1060, 861, 1397, 0, 0, -1},
+ {0, 80, 0, 65535, 456.078f, 1586.51f, -90.0f, 1.0f, 0.228671f, 371, 1548, 540, 1626, 0, 0, -1},
+ {0, 80, 0, 65535, 398.5f, 1377.4f, 0.0f, 0.166667f, 0.878469f, 392, 1054, 405, 1700, 0, 0, -1},
+ {0, 80, 0, 65535, 498.5f, 1382.4f, 0.0f, -0.166667f, 0.878469f, 492, 1059, 505, 1705, 0, 0, -1},
+ {0, 74, 0, 65535, 589.0f, 1242.0f, 51.5487f, 1.024f, 0.0552677f, 497, 1133, 681, 1353, 0, 0, -1},
+ {0, 74, 0, 65535, 539.885f, 1167.45f, 57.2774f, 0.338638f, 0.0516613f, 504, 1124, 575, 1212, 0, 0, -1},
+ {0, 74, 0, 65535, 640.37f, 1293.84f, 41.0506f, 0.338638f, 0.0516613f, 598, 1255, 682, 1333, 0, 0, -1},
+ {1, 14, 0, 65535, 220.648f, 1214.8f, 10.6388f, 1.0f, 1.0f, 50, 1053, 392, 1375, 0, 0, -1},
+ {1, 56, 0, 65535, 24.0f, 1368.0f, 0.0f, 1.0f, 1.0f, -4, 1362, 52, 1374, 0, 0, -1},
+ {1, 14, 0, 65535, 674.994f, 1217.7f, -11.656f, -1.0f, 1.0f, 501, 1058, 848, 1375, 0, 0, -1},
+ {1, 55, 0, 65535, 887.25f, 1368.0f, 0.0f, 1.03012f, 1.0f, 844, 1362, 930, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 405.5f, 994.5f, 0.0f, 41.0f, 53.0f, 385, 968, 426, 1021, 0, 0, -1},
+ {4, 255, 0, 65535, 442.5f, 939.5f, 0.0f, 41.0f, 53.0f, 422, 913, 463, 966, 0, 0, -1},
+ {4, 255, 0, 65535, 495.5f, 897.5f, 0.0f, 41.0f, 53.0f, 475, 871, 516, 924, 0, 0, -1},
+ {0, 74, 0, 65535, 119.5f, 1637.5f, 0.0f, 1.028f, 1.0f, -8, 1368, 248, 1925, 0, 0, -1},
+ {0, 74, 0, 65535, 751.5f, 1703.5f, 0.0f, 4.484f, 1.0f, 195, 1434, 1312, 1991, 0, 0, -1},
+ {0, 70, 0, 65535, 166.5f, 1612.5f, 0.0f, 1.0f, 1.0f, 77, 1260, 255, 1994, 0, 0, -1},
+ {0, 67, 0, 65535, 1232.5f, 1452.5f, 0.0f, 1.46104f, 1.00649f, 1120, 1374, 1345, 1531, 0, 0, -1},
+ {0, 67, 0, 65535, 1231.0f, 1709.5f, 0.0f, 1.66234f, 4.37013f, 1103, 1370, 1359, 2049, 0, 0, -1},
+ {0, 70, 0, 65535, 341.5f, 1612.5f, 0.0f, -1.0f, 1.0f, 253, 1260, 431, 1994, 0, 0, -1},
+ {0, 80, 0, 65535, 818.94f, 1433.06f, -90.0f, 1.00145f, 0.283542f, 714, 1394, 923, 1473, 0, 0, -1},
+ {0, 70, 0, 65535, 691.5f, 1539.5f, 0.0f, 0.966102f, 1.0f, 605, 1187, 777, 1921, 0, 0, -1},
+ {0, 70, 0, 65535, 539.5f, 1608.5f, 11.4138f, 0.966102f, 1.0f, 382, 1279, 693, 1998, 0, 0, -1},
+ {0, 70, 0, 65535, 416.305f, 1608.96f, 26.7685f, 0.966102f, 1.0f, 170, 1332, 651, 1987, 0, 0, -1},
+ {0, 74, 0, 65535, 381.0f, 1648.5f, 5.38908f, 1.0f, 1.0f, 230, 1368, 531, 1946, 0, 0, -1},
+ {0, 70, 0, 65535, 1010.5f, 1610.5f, 0.0f, -1.0f, 1.0f, 922, 1258, 1100, 1992, 0, 0, -1},
+ {0, 70, 0, 65535, 1109.5f, 1594.5f, -17.2774f, -1.0f, 1.0f, 920, 1284, 1306, 1984, 0, 0, -1},
+ {0, 74, 0, 65535, 1054.72f, 1626.11f, 10.732f, 1.0f, 1.0f, 879, 1338, 1228, 1931, 0, 0, -1},
+ {0, 80, 0, 65535, 775.003f, 1352.0f, 0.0f, 0.25648f, 0.435967f, 765, 1191, 785, 1512, 0, 0, -1},
+ {0, 80, 0, 65535, 921.003f, 1412.25f, 0.0f, -0.256479f, 0.45436f, 911, 1245, 932, 1579, 0, 0, -1},
+ {1, 13, 0, 65535, 70.0f, 1368.0f, 0.0f, 1.02128f, 1.0f, -2, 1362, 142, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 1265.25f, 1368.0f, 0.0f, 1.14539f, 1.0f, 1184, 1362, 1346, 1374, 0, 0, -1},
+ {1, 44, 0, 65535, 255.5f, 1309.0f, 0.0f, 1.00412f, 1.0f, 134, 1244, 377, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 518.5f, 1333.0f, 39.2392f, 1.0f, 1.00394f, 367, 1286, 670, 1393, 0, 0, -1},
+ {1, 15, 0, 65535, 1047.87f, 1299.72f, 81.5425f, 1.0f, 1.00394f, 908, 1224, 1186, 1374, 0, 0, -1},
+ {1, 7, 0, 65535, 719.5f, 1238.0f, 0.0f, 1.0f, 1.0084f, 660, 1177, 779, 1298, 0, 0, -1},
+ {4, 255, 0, 65535, 823.5f, 1128.5f, 0.0f, 41.0f, 53.0f, 803, 1102, 844, 1155, 0, 0, -1},
+ {4, 255, 0, 65535, 870.5f, 1098.5f, 0.0f, 41.0f, 53.0f, 850, 1072, 891, 1125, 0, 0, -1},
+ {0, 67, 0, 65535, 622.499f, 1514.5f, 0.0f, 8.22811f, 1.87662f, -12, 1369, 1257, 1660, 0, 0, -1},
+ {0, 69, 0, 65535, 813.428f, 1326.07f, 0.0f, 1.13413f, 0.984724f, 680, 1260, 947, 1393, 0, 0, -1},
+ {0, 69, 0, 65535, 255.428f, 1326.07f, 0.0f, 1.13413f, 0.984724f, 122, 1260, 389, 1393, 0, 0, -1},
+ {1, 13, 0, 65535, 70.0f, 1368.0f, 0.0f, 1.02128f, 1.0f, -2, 1362, 142, 1374, 0, 0, -1},
+ {1, 44, 0, 65535, 254.5f, 1309.0f, 0.0f, 1.00412f, 1.0f, 133, 1244, 376, 1374, 0, 0, -1},
+ {1, 44, 0, 65535, 813.5f, 1309.0f, 0.0f, 1.00412f, 1.0f, 692, 1244, 935, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 534.103f, 1368.0f, 0.0f, 1.19098f, 1.0f, 366, 1362, 702, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 1088.74f, 1368.0f, 0.0f, 1.1599f, 1.0f, 925, 1362, 1252, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 844.5f, 1244.5f, 0.0f, 41.0f, 53.0f, 824, 1218, 865, 1271, 0, 0, -1},
+ {4, 255, 0, 65535, 873.5f, 1274.5f, 0.0f, 41.0f, 53.0f, 853, 1248, 894, 1301, 0, 0, -1},
+ {4, 255, 0, 65535, 903.5f, 1305.5f, 0.0f, 41.0f, 53.0f, 883, 1279, 924, 1332, 0, 0, -1},
+ {4, 255, 0, 65535, 932.5f, 1337.5f, 0.0f, 41.0f, 53.0f, 912, 1311, 953, 1364, 0, 0, -1},
+ {0, 74, 0, 65535, 284.0f, 1637.5f, 0.0f, 1.0f, 1.0f, 160, 1368, 409, 1925, 0, 0, -1},
+ {0, 74, 0, 65535, 610.167f, 1573.5f, 0.0f, 4.98533f, 0.748993f, -9, 1371, 1234, 1789, 0, 0, -1},
+ {0, 67, 0, 65535, 942.0f, 1529.5f, 0.0f, 1.49351f, 2.08442f, 827, 1367, 1057, 1692, 0, 0, -1},
+ {0, 70, 0, 65535, 378.5f, 1382.5f, 0.0f, 1.0f, 1.0f, 289, 1030, 467, 1764, 0, 0, -1},
+ {0, 70, 0, 65535, 822.5f, 1377.5f, 0.0f, -1.0f, 1.0f, 734, 1025, 912, 1759, 0, 0, -1},
+ {0, 80, 0, 65535, 473.333f, 1201.17f, 0.0f, 0.188034f, 0.482743f, 466, 1023, 481, 1379, 0, 0, -1},
+ {0, 80, 0, 65535, 734.0f, 1188.5f, 0.0f, -0.25641f, 0.450954f, 724, 1022, 744, 1354, 0, 0, -1},
+ {0, 80, 0, 65535, 615.74f, 1355.98f, -90.0f, 0.614904f, 0.395803f, 470, 1332, 761, 1380, 0, 0, -1},
+ {0, 70, 0, 65535, 211.5f, 1549.5f, 0.0f, 1.0f, 1.0f, 122, 1197, 300, 1931, 0, 0, -1},
+ {0, 70, 0, 65535, 998.5f, 1554.5f, 0.0f, -1.0f, 1.0f, 910, 1202, 1088, 1936, 0, 0, -1},
+ {1, 13, 0, 65535, 61.0f, 1368.0f, 0.0f, 0.907801f, 1.0f, -3, 1362, 125, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 1149.75f, 1368.0f, 0.0f, 0.966483f, 1.0f, 1081, 1362, 1218, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 381.5f, 1108.83f, 0.0f, 1.00541f, 1.00541f, 287, 1015, 476, 1202, 0, 0, -1},
+ {1, 40, 0, 65535, 823.518f, 1106.53f, -270.0f, 1.00541f, 1.00541f, 731, 1013, 918, 1201, 0, 0, -1},
+ {2, 2, 0, 271, 606.0f, 1031.31f, 0.0f, 0.279883f, 0.279883f, 516, 967, 696, 1096, 0, 0, -1},
+ {1, 40, 0, 65535, 208.5f, 1281.83f, 0.0f, 1.00541f, 1.00541f, 114, 1188, 303, 1375, 0, 0, -1},
+ {1, 40, 0, 65535, 998.518f, 1281.53f, -270.0f, 1.00541f, 1.00541f, 906, 1188, 1093, 1376, 0, 0, -1},
+ {4, 255, 0, 65535, 605.5f, 910.5f, 0.0f, 41.0f, 53.0f, 585, 884, 626, 937, 0, 0, -1},
+ {4, 255, 0, 65535, 560.5f, 923.5f, 0.0f, 41.0f, 53.0f, 540, 897, 581, 950, 0, 0, -1},
+ {4, 255, 0, 65535, 651.5f, 922.167f, 0.0f, 41.0f, 53.0f, 631, 895, 672, 949, 0, 0, -1},
+ {0, 80, 0, 65535, 471.602f, 1199.5f, 0.0f, 0.348774f, 0.472752f, 458, 1025, 486, 1373, 0, 0, -1},
+ {0, 70, 0, 65535, 375.5f, 1382.5f, 0.0f, 1.0f, 1.0f, 286, 1030, 464, 1764, 0, 0, -1},
+ {0, 74, 0, 65535, 622.665f, 1573.5f, 0.0f, 5.10932f, 0.748993f, -11, 1371, 1262, 1789, 0, 0, -1},
+ {0, 70, 0, 65535, 208.5f, 1549.5f, 0.0f, 1.0f, 1.0f, 119, 1197, 297, 1931, 0, 0, -1},
+ {0, 80, 0, 65535, 598.485f, 1347.27f, -73.9772f, 1.78636f, 0.647672f, 350, 1229, 842, 1480, 0, 0, -1},
+ {2, 1, 0, 272, 631.0f, 1036.0f, 0.0f, 0.139942f, 0.139942f, 586, 991, 676, 1081, 0, 0, -1},
+ {2, 1, 0, 273, 535.0f, 1171.0f, 0.0f, 0.139942f, 0.139942f, 490, 1126, 580, 1216, 0, 0, -1},
+ {1, 40, 0, 65535, 378.5f, 1108.83f, 0.0f, 1.00541f, 1.00541f, 284, 1015, 473, 1202, 0, 0, -1},
+ {1, 13, 0, 65535, 60.0f, 1368.0f, 0.0f, 0.879433f, 1.0f, -2, 1362, 122, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 205.5f, 1281.83f, 0.0f, 1.00541f, 1.00541f, 111, 1188, 300, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 1042.0f, 1368.0f, 0.0f, 1.48754f, 1.0f, 833, 1362, 1251, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 943.5f, 1205.5f, 0.0f, 41.0f, 53.0f, 923, 1179, 964, 1232, 0, 0, -1},
+ {4, 255, 0, 65535, 1043.5f, 1284.5f, 0.0f, 41.0f, 53.0f, 1023, 1258, 1064, 1311, 0, 0, -1},
+ {4, 255, 0, 65535, 1081.5f, 1332.5f, 0.0f, 41.0f, 53.0f, 1061, 1306, 1102, 1359, 0, 0, -1},
+ {4, 255, 0, 65535, 995.5f, 1237.5f, 0.0f, 41.0f, 53.0f, 975, 1211, 1016, 1264, 0, 0, -1},
+ {0, 74, 0, 65535, 26.0f, 1495.5f, 0.0f, 0.28f, 0.471503f, -9, 1368, 61, 1632, 0, 0, -1},
+ {0, 74, 0, 65535, 896.333f, 1495.5f, 0.0f, 1.08267f, 0.457686f, 762, 1372, 1032, 1628, 0, 0, -1},
+ {0, 74, 0, 65535, 410.333f, 1495.5f, 0.0f, 3.02667f, 0.457686f, 35, 1372, 789, 1628, 0, 0, -1},
+ {0, 64, 0, 65535, 125.0f, 1285.5f, 0.0f, 0.871429f, 0.535248f, 3, 1183, 247, 1388, 0, 0, -1},
+ {0, 66, 0, 65535, 540.152f, 1307.12f, 17.4801f, 0.587573f, 0.613718f, 380, 1183, 701, 1431, 0, 0, -1},
+ {0, 68, 0, 65535, 786.533f, 1329.0f, 0.0f, -0.498054f, 0.498054f, 667, 1264, 907, 1393, 0, 0, -1},
+ {0, 74, 0, 65535, 349.0f, 1598.5f, 0.0f, 1.0f, 1.0f, 225, 1329, 474, 1886, 0, 0, -1},
+ {0, 80, 0, 65535, 246.5f, 1335.44f, 0.0f, 0.115385f, 0.410256f, 242, 1184, 251, 1486, 0, 0, -1},
+ {0, 80, 0, 65535, 398.5f, 1338.44f, 14.4661f, -0.346154f, 0.410256f, 351, 1189, 450, 1488, 0, 0, -1},
+ {0, 80, 0, 65535, 334.408f, 1319.43f, 90.0f, -0.857103f, 0.309515f, 220, 1286, 449, 1353, 0, 0, -1},
+ {0, 74, 0, 65535, 159.993f, 1322.0f, -43.5025f, 0.607945f, 0.0552677f, 95, 1258, 227, 1386, 0, 0, -1},
+ {0, 74, 0, 65535, 33.0f, 1386.0f, 0.0f, 0.256f, 0.0552677f, 1, 1371, 65, 1402, 0, 0, -1},
+ {1, 37, 0, 65535, 782.5f, 1313.5f, 0.0f, -1.0f, 1.0f, 662, 1252, 903, 1375, 0, 0, -1},
+ {1, 60, 0, 65535, 551.584f, 1279.11f, -344.436f, 1.00457f, 1.0f, 456, 1196, 673, 1336, 0, 0, -1},
+ {1, 15, 0, 65535, 120.596f, 1276.68f, 15.6321f, 1.0f, 1.00394f, -2, 1176, 245, 1376, 0, 0, -1},
+ {1, 55, 0, 65535, 963.333f, 1368.0f, 0.0f, 1.49398f, 1.0f, 901, 1362, 1026, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 498.5f, 1265.5f, 0.0f, 41.0f, 53.0f, 478, 1239, 519, 1292, 0, 0, -1},
+ {4, 255, 0, 65535, 533.5f, 1299.5f, 0.0f, 41.0f, 53.0f, 513, 1273, 554, 1326, 0, 0, -1},
+ {4, 255, 0, 65535, 583.5f, 1303.5f, 0.0f, 41.0f, 53.0f, 563, 1277, 604, 1330, 0, 0, -1},
+ {4, 255, 0, 65535, 625.5f, 1274.5f, 0.0f, 41.0f, 53.0f, 605, 1248, 646, 1301, 0, 0, -1},
+ {0, 62, 0, 65535, 138.75f, 1706.19f, 0.0f, 1.58439f, 1.57012f, 51, 1202, 226, 2254, 0, 0, -1},
+ {0, 68, 0, 65535, 352.0f, 1266.53f, 0.0f, -0.533333f, 0.533333f, 224, 1197, 480, 1335, 0, 0, -1},
+ {0, 74, 0, 65535, 402.0f, 1576.5f, 0.0f, 1.52f, 1.0f, 213, 1307, 592, 1864, 0, 0, -1},
+ {0, 70, 0, 65535, 649.5f, 1548.5f, -14.6723f, 1.0f, 1.0f, 518, 1185, 831, 1939, 0, 0, -1},
+ {0, 74, 0, 65535, 563.0f, 1314.0f, -30.0129f, 0.512f, 0.110535f, 493, 1256, 635, 1374, 0, 0, -1},
+ {0, 74, 0, 65535, 671.454f, 1265.61f, -304.043f, 0.512f, -0.071127f, 620, 1201, 725, 1330, 0, 0, -1},
+ {0, 70, 0, 65535, 769.5f, 1604.5f, 0.0f, -1.27119f, 1.0f, 657, 1252, 883, 1986, 0, 0, -1},
+ {0, 74, 0, 65535, 865.5f, 1641.0f, 0.0f, 0.804f, 1.00518f, 765, 1370, 966, 1930, 0, 0, -1},
+ {0, 74, 0, 65535, 820.5f, 1385.0f, 17.219f, 0.476f, 0.0759931f, 757, 1347, 884, 1424, 0, 0, -1},
+ {0, 74, 0, 65535, 94.5f, 1639.5f, 0.0f, 0.828f, 1.01036f, -9, 1367, 198, 1930, 0, 0, -1},
+ {1, 40, 0, 65535, 140.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 46, 1187, 235, 1374, 0, 0, -1},
+ {1, 49, 0, 65535, 257.5f, 1029.5f, -7.67682f, 1.00457f, 1.0f, 149, 940, 371, 1128, 0, 0, -1},
+ {1, 37, 0, 65535, 346.5f, 1250.5f, 0.0f, -1.0f, 1.0f, 226, 1189, 467, 1312, 0, 0, -1},
+ {1, 17, 0, 65535, 566.541f, 1251.01f, -38.4123f, -1.0f, 1.0f, 464, 1163, 649, 1311, 0, 0, -1},
+ {1, 15, 0, 65535, 758.894f, 1272.76f, -13.8366f, -1.0f, 1.00394f, 638, 1169, 879, 1375, 0, 0, -1},
+ {1, 56, 0, 65535, 27.0f, 1368.0f, 0.0f, 1.03571f, 1.0f, -3, 1362, 56, 1374, 0, 0, -1},
+ {1, 56, 0, 65535, 918.773f, 1368.0f, 0.0f, 1.50812f, 1.0f, 876, 1362, 962, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 256.5f, 993.5f, 0.0f, 41.0f, 53.0f, 236, 967, 277, 1020, 0, 0, -1},
+ {4, 255, 0, 65535, 214.5f, 1006.5f, 0.0f, 41.0f, 53.0f, 194, 980, 235, 1033, 0, 0, -1},
+ {4, 255, 0, 65535, 186.5f, 1043.5f, 0.0f, 41.0f, 53.0f, 166, 1017, 207, 1070, 0, 0, -1},
+ {4, 255, 0, 65535, 189.5f, 1091.5f, 0.0f, 41.0f, 53.0f, 169, 1065, 210, 1118, 0, 0, -1},
+ {0, 68, 0, 65535, 377.0f, 1284.5f, 0.0f, 1.0125f, 1.0f, 134, 1155, 620, 1413, 0, 0, -1},
+ {0, 77, 0, 65535, 1120.0f, 1484.0f, 90.0f, 4.14286f, 13.2f, 70, 1372, 2163, 1600, 0, 0, -1},
+ {0, 80, 0, 65535, 622.0f, 1307.44f, 0.0f, 0.410256f, 0.410256f, 606, 1156, 638, 1458, 0, 0, -1},
+ {0, 77, 0, 65535, 2198.0f, 1484.0f, 90.0f, 4.14286f, 0.6f, 2150, 1372, 2246, 1600, 0, 0, -1},
+ {0, 77, 0, 65535, 46.0f, 1484.0f, 90.0f, 4.14286f, 0.6375f, -5, 1372, 97, 1600, 0, 0, -1},
+ {1, 35, 0, 65535, 380.0f, 1258.5f, 0.0f, 1.0f, 1.00433f, 139, 1143, 621, 1376, 0, 0, -1},
+ {2, 0, 0, 65535, 730.0f, 1342.0f, 0.0f, 0.512821f, 1.0f, 631, 1310, 829, 1373, 0, 0, -1},
+ {2, 0, 0, 65535, 928.0f, 1342.0f, 0.0f, 0.522145f, 1.0f, 827, 1310, 1028, 1373, 0, 0, -1},
+ {2, 0, 0, 65535, 1127.0f, 1342.0f, 0.0f, 0.522145f, 1.0f, 1026, 1310, 1227, 1373, 0, 0, -1},
+ {2, 0, 0, 65535, 1336.0f, 1342.0f, 0.0f, 0.573427f, 1.0f, 1225, 1310, 1446, 1373, 0, 0, -1},
+ {2, 0, 0, 65535, 1546.0f, 1342.0f, 0.0f, 0.522145f, 1.0f, 1445, 1310, 1646, 1373, 0, 0, -1},
+ {2, 0, 0, 65535, 1745.0f, 1342.0f, 0.0f, 0.522145f, 1.0f, 1644, 1310, 1845, 1373, 0, 0, -1},
+ {2, 0, 0, 65535, 1926.67f, 1342.0f, 0.0f, 0.441336f, 1.0f, 1841, 1310, 2012, 1373, 0, 0, -1},
+ {1, 13, 0, 65535, 69.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 140, 1374, 0, 0, -1},
+ {1, 12, 30, 65535, 717.0f, 1149.0f, 0.0f, 1.0f, 1.0f, 623, 1143, 811, 1155, 0, 0, 0},
+ {1, 12, 30, 65535, 911.0f, 1171.0f, 0.0f, 1.0f, 1.0f, 817, 1165, 1005, 1177, 0, 0, 0},
+ {1, 12, 30, 65535, 1105.0f, 1194.0f, 0.0f, 1.0f, 1.0f, 1011, 1188, 1199, 1200, 0, 0, 0},
+ {1, 12, 30, 65535, 1299.0f, 1217.0f, 0.0f, 1.0f, 1.0f, 1205, 1211, 1393, 1223, 0, 0, 0},
+ {1, 12, 30, 65535, 1494.0f, 1239.0f, 0.0f, 1.0f, 1.0f, 1400, 1233, 1588, 1245, 0, 0, 0},
+ {1, 12, 30, 65535, 1688.0f, 1263.0f, 0.0f, 1.0f, 1.0f, 1594, 1257, 1782, 1269, 0, 0, 0},
+ {1, 12, 30, 65535, 1882.0f, 1287.0f, 0.0f, 1.0f, 1.0f, 1788, 1281, 1976, 1293, 0, 0, 0},
+ {1, 13, 0, 65535, 2126.33f, 1368.0f, 0.0f, 1.63176f, 1.0f, 2011, 1362, 2242, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1421.59f, 1204.34f, 0.0f, 41.0f, 53.0f, 1401, 1177, 1443, 1231, 0, 0, -1},
+ {4, 255, 0, 65535, 1611.98f, 1229.11f, 0.0f, 41.0f, 53.0f, 1591, 1202, 1633, 1256, 0, 0, -1},
+ {4, 255, 0, 65535, 1810.5f, 1253.5f, 0.0f, 41.0f, 53.0f, 1790, 1227, 1831, 1280, 0, 0, -1},
+ {4, 255, 0, 65535, 1226.87f, 1182.31f, 0.0f, 41.0f, 53.0f, 1206, 1155, 1248, 1209, 0, 0, -1},
+ {4, 255, 0, 65535, 1035.1f, 1159.46f, 0.0f, 41.0f, 53.0f, 1014, 1132, 1056, 1186, 0, 0, -1},
+ {4, 255, 0, 65535, 837.169f, 1135.46f, 0.0f, 41.0f, 53.0f, 816, 1108, 858, 1162, 0, 0, -1},
+ {0, 77, 0, 65535, 155.0f, 1501.0f, 90.0f, 4.67857f, 2.0625f, -9, 1374, 318, 1632, 0, 0, -1},
+ {0, 77, 0, 65535, 721.5f, 1501.0f, 90.0f, 4.67857f, 5.38125f, 293, 1374, 1147, 1632, 0, 0, -1},
+ {0, 70, 0, 65535, 1066.5f, 1583.5f, 0.0f, 1.0f, 1.0f, 977, 1231, 1155, 1965, 0, 0, -1},
+ {0, 68, 0, 65535, 1313.0f, 1312.0f, 0.0f, -0.666667f, 0.669261f, 1153, 1225, 1473, 1398, 0, 0, -1},
+ {0, 74, 0, 65535, 1302.5f, 1649.0f, 0.0f, 1.46f, 1.04663f, 1121, 1366, 1485, 1950, 0, 0, -1},
+ {1, 16, 0, 65535, 369.615f, 1300.04f, 15.3343f, 1.0f, 1.00521f, 278, 1223, 463, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 138.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 279, 1374, 0, 0, -1},
+ {1, 59, 30, 65535, 768.5f, 1228.5f, -27.958f, 1.00348f, 1.0f, 607, 1097, 880, 1310, 0, 0, -1},
+ {2, 0, 0, 65535, 556.433f, 1342.0f, 0.0f, 0.878475f, 0.942189f, 387, 1312, 725, 1372, 0, 0, -1},
+ {2, 0, 0, 65535, 841.234f, 1342.0f, 0.0f, 0.799221f, 0.942189f, 687, 1312, 995, 1372, 0, 0, -1},
+ {1, 36, 0, 65535, 1314.5f, 1295.0f, 0.0f, -1.0f, 1.0f, 1154, 1216, 1475, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1079.8f, 1296.78f, -44.7134f, 1.15917f, 1.0f, 998, 1215, 1162, 1378, 0, 0, -1},
+ {4, 255, 0, 65535, 1056.5f, 1278.5f, 0.0f, 41.0f, 53.0f, 1036, 1252, 1077, 1305, 0, 0, -1},
+ {4, 255, 0, 65535, 1086.5f, 1247.5f, 0.0f, 41.0f, 53.0f, 1066, 1221, 1107, 1274, 0, 0, -1},
+ {4, 255, 0, 65535, 1118.5f, 1215.5f, 0.0f, 41.0f, 53.0f, 1098, 1189, 1139, 1242, 0, 0, -1},
+ {0, 74, 0, 65535, 539.5f, 1509.0f, 90.0f, 1.128f, 1.89465f, -6, 1369, 1051, 1650, 0, 0, -1},
+ {0, 70, 0, 65535, 1088.5f, 1553.5f, 9.23915f, 1.54237f, 1.0f, 895, 1227, 1280, 1950, 0, 0, -1},
+ {0, 80, 0, 65535, 679.585f, 1334.3f, -90.0f, 1.48718f, 0.638733f, 444, 1277, 914, 1393, 0, 0, -1},
+ {0, 70, 0, 65535, 1044.67f, 1650.5f, 0.0f, -1.55556f, 1.0f, 907, 1298, 1184, 2032, 0, 0, -1},
+ {0, 74, 0, 65535, 1037.0f, 1613.5f, 4.87706f, 1.0f, 1.0f, 889, 1334, 1185, 1910, 0, 0, -1},
+ {0, 68, 0, 65535, 1443.5f, 1310.33f, 0.0f, -0.677083f, 0.666665f, 1281, 1224, 1606, 1396, 0, 0, -1},
+ {0, 74, 0, 65535, 1272.88f, 1498.35f, 6.62679f, 0.30016f, 1.0f, 1202, 1226, 1342, 1788, 0, 0, -1},
+ {0, 74, 0, 65535, 1296.0f, 1649.5f, 0.0f, 2.544f, 1.04491f, 980, 1367, 1614, 1950, 0, 0, -1},
+ {0, 80, 0, 65535, 474.057f, 1254.67f, 0.0f, 0.411706f, 0.619437f, 458, 1026, 490, 1482, 0, 0, -1},
+ {0, 70, 0, 65535, 378.5f, 1382.5f, 0.0f, 1.0f, 1.0f, 289, 1030, 467, 1764, 0, 0, -1},
+ {0, 70, 0, 65535, 211.5f, 1549.5f, 0.0f, 1.0f, 1.0f, 122, 1197, 300, 1931, 0, 0, -1},
+ {1, 40, 0, 65535, 1171.02f, 1272.03f, -159.493f, 1.00541f, 1.00541f, 1053, 1214, 1289, 1331, 0, 0, -1},
+ {1, 18, 0, 65535, 981.941f, 1320.58f, -347.284f, 1.00629f, 1.0f, 906, 1286, 1062, 1342, 0, 0, -1},
+ {2, 1, 0, 274, 533.0f, 1113.0f, 0.0f, 0.145773f, 0.145773f, 486, 1066, 580, 1160, 0, 0, -1},
+ {1, 36, 0, 65535, 1442.5f, 1294.5f, 0.0f, -1.0f, 1.0f, 1282, 1215, 1603, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 61.0f, 1368.0f, 0.0f, 0.907801f, 1.0f, -3, 1362, 125, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 208.5f, 1281.83f, 0.0f, 1.00541f, 1.00541f, 114, 1188, 303, 1375, 0, 0, -1},
+ {1, 40, 0, 65535, 381.5f, 1108.83f, 0.0f, 1.00541f, 1.00541f, 287, 1015, 476, 1202, 0, 0, -1},
+ {4, 255, 0, 65535, 930.5f, 1285.5f, 0.0f, 41.0f, 53.0f, 910, 1259, 951, 1312, 0, 0, -1},
+ {4, 255, 0, 65535, 969.5f, 1305.5f, 0.0f, 41.0f, 53.0f, 949, 1279, 990, 1332, 0, 0, -1},
+ {4, 255, 0, 65535, 1014.5f, 1306.5f, 0.0f, 41.0f, 53.0f, 994, 1280, 1035, 1333, 0, 0, -1},
+ {4, 255, 0, 65535, 1055.5f, 1293.5f, 0.0f, 41.0f, 53.0f, 1035, 1267, 1076, 1320, 0, 0, -1},
+ {0, 77, 0, 65535, 544.0f, 1519.5f, 0.0f, 18.2857f, 1.80625f, 50, 1376, 1056, 1664, 0, 0, -1},
+ {0, 77, 0, 65535, 1424.0f, 1516.5f, 0.0f, 14.2857f, 1.80625f, 1038, 1373, 1824, 1661, 0, 0, -1},
+ {0, 70, 0, 65535, 332.5f, 1346.76f, 0.0f, 1.0f, 0.98758f, 243, 998, 421, 1724, 0, 0, -1},
+ {0, 70, 0, 65535, 124.5f, 1556.5f, 0.0f, 1.0f, 1.0f, 35, 1204, 213, 1938, 0, 0, -1},
+ {0, 74, 0, 65535, 121.5f, 1509.41f, 0.0f, 1.004f, 0.516094f, -3, 1370, 247, 1658, 0, 0, -1},
+ {0, 78, 0, 65535, 787.595f, 808.325f, -180.0f, 0.640819f, 0.640819f, 655, 742, 920, 876, 0, 0, -1},
+ {0, 74, 0, 65535, 788.5f, 1142.5f, 0.0f, 1.1f, 1.0f, 652, 873, 926, 1430, 0, 0, -1},
+ {0, 64, 0, 65535, 1322.0f, 1245.5f, 0.0f, 0.914286f, 0.441253f, 1194, 1161, 1450, 1330, 0, 0, -1},
+ {0, 74, 0, 65535, 1341.12f, 1451.45f, 90.0f, 1.0f, 1.4469f, 925, 1327, 1732, 1577, 0, 0, -1},
+ {0, 70, 0, 65535, 543.5f, 1149.5f, 0.0f, 1.0f, 1.0f, 454, 797, 632, 1531, 0, 0, -1},
+ {0, 64, 0, 65535, 1049.0f, 1108.83f, 0.0f, -1.10714f, 1.18625f, 894, 882, 1204, 1336, 0, 0, -1},
+ {0, 68, 0, 65535, 1689.0f, 1279.5f, 0.0f, -1.0f, 1.0f, 1449, 1150, 1929, 1408, 0, 0, -1},
+ {0, 80, 0, 65535, 212.0f, 1305.5f, 0.0f, 0.205128f, 0.282016f, 204, 1201, 220, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 423.0f, 1102.5f, 0.0f, 0.205128f, 0.282016f, 415, 998, 431, 1206, 0, 0, -1},
+ {0, 80, 0, 65535, 423.0f, 1296.5f, 0.0f, 0.205128f, 0.282016f, 415, 1192, 431, 1400, 0, 0, -1},
+ {0, 80, 0, 65535, 632.0f, 903.5f, 0.0f, 0.205128f, 0.282016f, 624, 799, 640, 1007, 0, 0, -1},
+ {0, 80, 0, 65535, 632.0f, 1095.5f, 0.0f, 0.205128f, 0.282016f, 624, 991, 640, 1199, 0, 0, -1},
+ {0, 80, 0, 65535, 632.0f, 1287.5f, 0.0f, 0.205128f, 0.282016f, 624, 1183, 640, 1391, 0, 0, -1},
+ {0, 80, 0, 65535, 247.0f, 1278.5f, 0.0f, -0.205128f, 0.282016f, 239, 1174, 255, 1382, 0, 0, -1},
+ {0, 80, 0, 65535, 460.0f, 1080.5f, 0.0f, -0.205128f, 0.282016f, 452, 976, 468, 1184, 0, 0, -1},
+ {0, 80, 0, 65535, 460.0f, 1272.5f, 0.0f, -0.205128f, 0.36921f, 452, 1136, 468, 1408, 0, 0, -1},
+ {0, 80, 0, 65535, 655.0f, 1000.5f, 0.0f, -0.205128f, 0.36921f, 647, 864, 663, 1136, 0, 0, -1},
+ {0, 80, 0, 65535, 655.0f, 1232.5f, 0.0f, -0.205128f, 0.391008f, 647, 1088, 663, 1376, 0, 0, -1},
+ {0, 80, 0, 65535, 438.067f, 1346.66f, -90.0f, 0.888688f, 0.63742f, 203, 1312, 672, 1382, 0, 0, -1},
+ {0, 74, 0, 65535, 1967.67f, 1642.5f, 0.0f, 1.74133f, 1.0f, 1751, 1373, 2186, 1930, 0, 0, -1},
+ {1, 57, 0, 65535, 21.0f, 1368.0f, 0.0f, 1.04762f, 1.0f, -1, 1362, 43, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 126.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 32, 1187, 221, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 330.5f, 1083.5f, 0.0f, 1.00541f, 1.00541f, 236, 989, 425, 1176, 0, 0, -1},
+ {1, 14, 0, 65535, 1058.0f, 1134.0f, 0.0f, -1.0f, 1.0f, 919, 945, 1198, 1323, 0, 0, -1},
+ {1, 15, 0, 65535, 1324.5f, 1235.0f, 20.4308f, 1.0f, 1.00394f, 1194, 1144, 1456, 1325, 0, 0, -1},
+ {1, 48, 0, 65535, 1445.0f, 949.333f, -27.9414f, 1.00348f, 1.0f, 1313, 829, 1603, 1106, 0, 0, -1},
+ {1, 35, 0, 65535, 1687.0f, 1258.5f, 0.0f, -1.0f, 1.00433f, 1446, 1143, 1928, 1376, 0, 0, -1},
+ {1, 59, 0, 65535, 787.021f, 806.172f, -180.395f, 1.00348f, 1.0f, 643, 734, 933, 880, 0, 0, -1},
+ {1, 40, 0, 65535, 541.5f, 881.5f, 0.0f, 1.00541f, 1.00541f, 447, 787, 636, 974, 0, 0, -1},
+ {1, 46, 0, 65535, 2052.5f, 1368.0f, 0.0f, 1.01339f, 1.0f, 1926, 1362, 2179, 1374, 0, 0, -1},
+ {1, 56, 0, 65535, 925.125f, 912.062f, -270.0f, 1.28348f, 1.0f, 919, 876, 932, 948, 0, 0, -1},
+ {4, 255, 0, 65535, 1369.83f, 1046.17f, 0.0f, 41.0f, 53.0f, 1349, 1019, 1391, 1073, 0, 0, -1},
+ {4, 255, 0, 65535, 1347.83f, 997.167f, 0.0f, 41.0f, 53.0f, 1327, 970, 1369, 1024, 0, 0, -1},
+ {4, 255, 0, 65535, 1347.83f, 942.167f, 0.0f, 41.0f, 53.0f, 1327, 915, 1369, 969, 0, 0, -1},
+ {0, 68, 0, 65535, 236.0f, 1279.0f, 0.0f, 1.0125f, 1.00389f, -7, 1148, 479, 1408, 0, 0, -1},
+ {0, 77, 0, 65535, 1772.0f, 1516.0f, 90.0f, 5.28571f, 3.6875f, 1478, 1373, 2064, 1664, 0, 0, -1},
+ {0, 74, 0, 65535, 2038.0f, 1637.5f, 0.0f, 0.536f, 1.0f, 1971, 1368, 2105, 1925, 0, 0, -1},
+ {0, 74, 0, 65535, 2173.89f, 1637.5f, 0.0f, 0.583146f, 1.0f, 2101, 1368, 2247, 1925, 0, 0, -1},
+ {0, 80, 0, 65535, 482.0f, 1304.44f, 0.0f, 0.410256f, 0.410256f, 466, 1153, 498, 1455, 0, 0, -1},
+ {0, 77, 0, 65535, 1196.0f, 1516.0f, 90.0f, 5.28571f, 3.6875f, 902, 1373, 1488, 1664, 0, 0, -1},
+ {0, 77, 0, 65535, 620.0f, 1516.0f, 90.0f, 5.28571f, 3.6875f, 326, 1373, 912, 1664, 0, 0, -1},
+ {0, 77, 0, 65535, 181.5f, 1516.0f, 90.0f, 5.28571f, 2.36875f, -7, 1373, 369, 1664, 0, 0, -1},
+ {1, 35, 0, 65535, 238.5f, 1258.5f, 0.0f, 1.0f, 1.00433f, -2, 1143, 479, 1376, 0, 0, -1},
+ {2, 0, 0, 65535, 586.0f, 1339.0f, 0.0f, 0.48951f, 1.0f, 491, 1307, 680, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 778.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 677, 1307, 878, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 978.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 877, 1307, 1078, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1178.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 1077, 1307, 1278, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1378.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 1277, 1307, 1478, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1578.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 1477, 1307, 1678, 1370, 0, 0, -1},
+ {2, 0, 0, 65535, 1778.0f, 1339.0f, 0.0f, 0.522145f, 1.0f, 1677, 1307, 1878, 1370, 0, 0, -1},
+ {1, 13, 0, 65535, 2171.83f, 1368.0f, 0.0f, 1.0f, 1.0f, 2101, 1362, 2243, 1374, 0, 0, -1},
+ {2, 0, 0, 65535, 1989.5f, 1339.0f, 0.0f, 0.58042f, 1.0f, 1877, 1307, 2101, 1370, 0, 0, -1},
+ {1, 45, 0, 65535, 579.333f, 1120.5f, -28.0196f, 1.0f, 1.01818f, 474, 1049, 667, 1162, 0, 0, -1},
+ {1, 45, 0, 65535, 887.0f, 1086.5f, 29.6609f, 1.0f, 1.01818f, 801, 1012, 992, 1130, 0, 0, -1},
+ {1, 45, 0, 65535, 1205.0f, 1110.5f, -15.644f, 1.0f, 1.01818f, 1094, 1057, 1305, 1143, 0, 0, -1},
+ {1, 45, 0, 65535, 1668.52f, 1087.08f, 4.62022f, 1.0f, 1.01818f, 1561, 1051, 1779, 1116, 0, 0, -1},
+ {1, 19, 0, 65535, 1044.0f, 1107.5f, -180.636f, 1.00826f, 1.0f, 983, 1091, 1105, 1124, 0, 0, -1},
+ {4, 255, 0, 65535, 838.5f, 1012.5f, 0.0f, 41.0f, 53.0f, 818, 986, 859, 1039, 0, 0, -1},
+ {4, 255, 0, 65535, 861.5f, 1052.5f, 0.0f, 41.0f, 53.0f, 841, 1026, 882, 1079, 0, 0, -1},
+ {4, 255, 0, 65535, 899.5f, 1079.5f, 0.0f, 41.0f, 53.0f, 879, 1053, 920, 1106, 0, 0, -1},
+ {4, 255, 0, 65535, 946.5f, 1085.5f, 0.0f, 41.0f, 53.0f, 926, 1059, 967, 1112, 0, 0, -1},
+ {0, 74, 0, 65535, 496.0f, 1512.0f, 90.0f, 1.104f, 1.49223f, 66, 1375, 899, 1650, 0, 0, -1},
+ {0, 68, 0, 65535, 158.916f, 1311.5f, 0.0f, 0.662151f, 0.712062f, 0, 1219, 318, 1403, 0, 0, -1},
+ {0, 70, 0, 65535, 652.0f, 1554.5f, 0.0f, 1.58192f, 1.0f, 511, 1202, 792, 1936, 0, 0, -1},
+ {0, 80, 0, 65535, 313.0f, 1381.44f, 0.0f, 0.410256f, 0.410256f, 297, 1230, 329, 1532, 0, 0, -1},
+ {0, 80, 0, 65535, 641.231f, 1354.27f, -90.0f, 0.852975f, 0.955774f, 289, 1321, 992, 1388, 0, 0, -1},
+ {0, 74, 0, 65535, 1057.5f, 1512.0f, 90.0f, 1.104f, 0.658031f, 868, 1375, 1235, 1650, 0, 0, -1},
+ {0, 74, 0, 65535, 45.5f, 1509.5f, 90.0f, 1.124f, 0.181347f, -7, 1370, 95, 1650, 0, 0, -1},
+ {0, 80, 0, 65535, 787.0f, 1360.44f, 0.0f, 0.410256f, 0.410256f, 771, 1209, 803, 1511, 0, 0, -1},
+ {0, 68, 0, 65535, 1122.5f, 1309.0f, 0.0f, -0.664583f, 0.622568f, 963, 1228, 1282, 1389, 0, 0, -1},
+ {0, 74, 0, 65535, 1241.0f, 1515.0f, 90.0f, 1.16f, 0.17962f, 1189, 1371, 1290, 1660, 0, 0, -1},
+ {0, 80, 0, 65535, 970.0f, 1380.44f, 0.0f, -0.410256f, 0.410256f, 954, 1229, 986, 1531, 0, 0, -1},
+ {1, 40, 0, 65535, 688.283f, 1264.4f, -168.094f, 1.00541f, 1.00541f, 579, 1191, 798, 1339, 0, 0, -1},
+ {1, 36, 0, 65535, 158.5f, 1295.5f, 0.0f, 1.0f, 1.0f, -2, 1216, 319, 1375, 0, 0, -1},
+ {1, 36, 0, 65535, 1123.5f, 1295.5f, 0.0f, -1.0f, 1.0f, 963, 1216, 1284, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 595.5f, 1288.5f, 0.0f, 41.0f, 53.0f, 575, 1262, 616, 1315, 0, 0, -1},
+ {4, 255, 0, 65535, 637.5f, 1260.5f, 0.0f, 41.0f, 53.0f, 617, 1234, 658, 1287, 0, 0, -1},
+ {4, 255, 0, 65535, 680.5f, 1230.5f, 0.0f, 41.0f, 53.0f, 660, 1204, 701, 1257, 0, 0, -1},
+ {0, 74, 0, 65535, 377.5f, 1512.0f, 90.0f, 1.104f, 1.33506f, -7, 1375, 738, 1650, 0, 0, -1},
+ {0, 68, 0, 65535, 158.916f, 1312.5f, 0.0f, 0.662151f, 0.712062f, 0, 1220, 318, 1404, 0, 0, -1},
+ {0, 73, 0, 65535, 674.5f, 1540.5f, 0.0f, 1.0f, 1.0f, 562, 1246, 786, 1850, 0, 0, -1},
+ {0, 80, 0, 65535, 312.0f, 1380.44f, 0.0f, 0.410256f, 0.410256f, 296, 1229, 328, 1531, 0, 0, -1},
+ {0, 80, 0, 65535, 794.0f, 1401.44f, 0.0f, 0.410256f, 0.410256f, 778, 1250, 810, 1552, 0, 0, -1},
+ {0, 80, 0, 65535, 561.0f, 1403.44f, 0.0f, -0.410256f, 0.410256f, 545, 1252, 577, 1554, 0, 0, -1},
+ {0, 80, 0, 65535, 657.5f, 1382.5f, -90.0f, 0.987179f, 1.00681f, 286, 1344, 1027, 1421, 0, 0, -1},
+ {0, 68, 0, 65535, 1182.92f, 1312.5f, -1.56881f, -0.662152f, 0.712062f, 1021, 1224, 1345, 1408, 0, 0, -1},
+ {0, 74, 0, 65535, 1023.0f, 1514.0f, 90.0f, 1.104f, 1.21244f, 674, 1377, 1350, 1652, 0, 0, -1},
+ {0, 80, 0, 65535, 1027.0f, 1377.44f, 0.0f, -0.410256f, 0.410256f, 1011, 1226, 1043, 1528, 0, 0, -1},
+ {1, 36, 0, 65535, 158.5f, 1295.5f, 0.0f, 1.0f, 1.0f, -2, 1216, 319, 1375, 0, 0, -1},
+ {1, 17, 0, 65535, 675.0f, 1268.5f, 0.0f, 1.0f, 1.0f, 558, 1243, 791, 1294, 0, 0, -1},
+ {1, 36, 0, 65535, 1183.5f, 1295.5f, 0.0f, -1.0f, 1.0f, 1023, 1216, 1344, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 596.5f, 1240.5f, 0.0f, 41.0f, 53.0f, 576, 1214, 617, 1267, 0, 0, -1},
+ {4, 255, 0, 65535, 650.5f, 1257.5f, 0.0f, 41.0f, 53.0f, 630, 1231, 671, 1284, 0, 0, -1},
+ {4, 255, 0, 65535, 706.5f, 1255.5f, 0.0f, 41.0f, 53.0f, 686, 1229, 727, 1282, 0, 0, -1},
+ {4, 255, 0, 65535, 760.5f, 1233.5f, 0.0f, 41.0f, 53.0f, 740, 1207, 781, 1260, 0, 0, -1},
+ {0, 74, 0, 65535, 688.0f, 1546.11f, 90.0f, 1.37686f, 2.26598f, 36, 1375, 1299, 1719, 0, 0, -1},
+ {0, 68, 0, 65535, 158.916f, 1312.5f, 0.0f, 0.662151f, 0.712062f, 0, 1220, 318, 1404, 0, 0, -1},
+ {0, 68, 0, 65535, 473.916f, 1163.25f, 0.0f, 0.662151f, 0.636187f, 315, 1080, 633, 1245, 0, 0, -1},
+ {0, 64, 0, 65535, 670.267f, 1046.17f, 12.7763f, 0.435596f, 0.265875f, 599, 1009, 741, 1110, 0, 0, -1},
+ {0, 74, 0, 65535, 672.0f, 1254.72f, 0.0f, 0.512f, 0.64f, 608, 1082, 736, 1439, 0, 0, -1},
+ {0, 74, 0, 65535, 1323.87f, 1639.5f, 0.0f, 0.32698f, 1.0f, 1283, 1370, 1365, 1927, 0, 0, -1},
+ {0, 74, 0, 65535, 22.0033f, 1643.5f, 0.0f, 0.335973f, 1.0f, -20, 1374, 64, 1931, 0, 0, -1},
+ {0, 74, 0, 65535, 464.0f, 1312.0f, 0.0f, 1.408f, 0.331606f, 289, 1222, 640, 1408, 0, 0, -1},
+ {0, 74, 0, 65535, 733.5f, 1054.5f, 0.0f, 0.02f, 0.105354f, 731, 1026, 736, 1085, 0, 0, -1},
+ {0, 74, 0, 65535, 717.5f, 1086.5f, 0.0f, 0.148f, 0.105354f, 699, 1058, 736, 1117, 0, 0, -1},
+ {0, 80, 0, 65535, 735.213f, 1291.0f, 0.0f, 0.225308f, 0.305177f, 726, 1178, 744, 1403, 0, 0, -1},
+ {0, 80, 0, 65535, 735.213f, 1133.5f, 0.0f, 0.225308f, 0.298365f, 726, 1023, 744, 1243, 0, 0, -1},
+ {0, 80, 0, 65535, 894.951f, 1368.33f, -90.0f, 0.225308f, 0.433377f, 735, 1359, 1054, 1378, 0, 0, -1},
+ {0, 68, 0, 65535, 1185.92f, 1310.0f, 1.12751f, -0.662152f, 0.63035f, 1025, 1225, 1344, 1394, 0, 0, -1},
+ {0, 80, 0, 65535, 1032.21f, 1338.0f, 0.0f, -0.225308f, 0.305177f, 1023, 1225, 1041, 1450, 0, 0, -1},
+ {1, 36, 0, 65535, 158.5f, 1295.5f, 0.0f, 1.0f, 1.0f, -2, 1216, 319, 1375, 0, 0, -1},
+ {1, 36, 0, 65535, 477.5f, 1149.5f, 0.0f, 1.0f, 1.0f, 317, 1070, 638, 1229, 0, 0, -1},
+ {1, 45, 0, 65535, 711.0f, 1000.21f, -58.0291f, 1.0f, 1.01818f, 634, 897, 757, 1083, 0, 0, -1},
+ {1, 45, 0, 65535, 593.5f, 870.5f, -334.189f, 1.0f, 1.01818f, 503, 801, 701, 910, 0, 0, -1},
+ {1, 36, 0, 65535, 1187.5f, 1295.5f, 0.0f, -1.0f, 1.0f, 1027, 1216, 1348, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 731.5f, 849.5f, 0.0f, 41.0f, 53.0f, 711, 823, 752, 876, 0, 0, -1},
+ {4, 255, 0, 65535, 724.5f, 798.5f, 0.0f, 41.0f, 53.0f, 704, 772, 745, 825, 0, 0, -1},
+ {4, 255, 0, 65535, 714.5f, 748.5f, 0.0f, 41.0f, 53.0f, 694, 722, 735, 775, 0, 0, -1},
+ {0, 74, 0, 65535, 573.786f, 1512.0f, 90.0f, 1.104f, 2.00732f, -4, 1375, 1115, 1650, 0, 0, -1},
+ {0, 74, 0, 65535, 1026.0f, 1512.0f, 90.0f, 1.104f, 0.110535f, 994, 1375, 1056, 1650, 0, 0, -1},
+ {0, 64, 0, 65535, 358.0f, 1347.0f, 0.0f, 0.942857f, 0.334204f, 226, 1283, 490, 1411, 0, 0, -1},
+ {0, 80, 0, 65535, 677.833f, 1383.67f, -90.0f, 0.752137f, 0.542688f, 478, 1354, 877, 1413, 0, 0, -1},
+ {0, 80, 0, 65535, 488.286f, 1375.25f, 0.0f, 0.202932f, 0.35309f, 480, 1245, 497, 1505, 0, 0, -1},
+ {0, 80, 0, 65535, 863.286f, 1391.25f, 0.0f, -0.177291f, 0.309493f, 856, 1277, 871, 1505, 0, 0, -1},
+ {0, 70, 0, 65535, 955.5f, 1533.17f, 0.0f, -1.0f, 0.729139f, 867, 1276, 1045, 1811, 0, 0, -1},
+ {1, 11, 0, 65535, 94.2502f, 1368.0f, 0.0f, 0.683868f, 1.0f, -2, 1362, 191, 1374, 0, 0, -1},
+ {1, 45, 0, 65535, 446.81f, 1290.7f, -58.8533f, 1.0f, 1.01818f, 371, 1187, 492, 1374, 0, 0, -1},
+ {1, 45, 0, 65535, 323.0f, 1165.5f, -332.553f, 1.0f, 1.01818f, 235, 1094, 429, 1206, 0, 0, -1},
+ {1, 45, 0, 65535, 680.831f, 1239.3f, -362.585f, 1.0f, 1.01818f, 571, 1207, 789, 1268, 0, 0, -1},
+ {1, 11, 0, 65535, 282.5f, 1368.0f, 0.0f, 0.653618f, 1.0f, 190, 1362, 375, 1374, 0, 0, -1},
+ {1, 60, 0, 65535, 855.0f, 1038.5f, -132.788f, 1.00457f, 1.0f, 739, 965, 925, 1157, 0, 0, -1},
+ {1, 18, 0, 65535, 749.77f, 1074.55f, 76.3365f, 1.00629f, 1.0f, 728, 994, 786, 1150, 0, 0, -1},
+ {1, 12, 0, 65535, 1042.75f, 1368.0f, 0.0f, 0.523753f, 1.0f, 993, 1362, 1092, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 219.622f, 1032.17f, -288.444f, 1.0f, 1.0f, 191, 963, 248, 1101, 0, 0, -1},
+ {1, 13, 0, 65535, 931.793f, 1320.63f, -323.602f, 1.15836f, 1.0f, 862, 1267, 1002, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 794.5f, 1120.5f, 0.0f, 41.0f, 53.0f, 774, 1094, 815, 1147, 0, 0, -1},
+ {4, 255, 0, 65535, 766.833f, 1084.5f, 0.0f, 41.0f, 53.0f, 746, 1058, 788, 1111, 0, 0, -1},
+ {4, 255, 0, 65535, 760.5f, 1041.5f, 0.0f, 41.0f, 53.0f, 740, 1015, 781, 1068, 0, 0, -1},
+ {0, 74, 0, 65535, 618.0f, 1524.0f, 90.0f, 1.104f, 2.02418f, 36, 1387, 1164, 1662, 0, 0, -1},
+ {0, 74, 0, 65535, 935.984f, 1513.31f, 90.0f, 1.12951f, 0.113089f, 903, 1373, 967, 1655, 0, 0, -1},
+ {0, 74, 0, 65535, 27.0f, 1509.0f, 90.0f, 1.128f, 0.120898f, -8, 1369, 60, 1650, 0, 0, -1},
+ {0, 74, 0, 65535, 1125.0f, 1512.0f, 90.0f, 1.104f, 0.110535f, 1093, 1375, 1155, 1650, 0, 0, -1},
+ {0, 68, 0, 65535, 120.533f, 1325.0f, 0.0f, 0.498054f, 0.498054f, 1, 1260, 241, 1389, 0, 0, -1},
+ {0, 68, 0, 65535, 357.533f, 1325.0f, 0.0f, -0.498054f, 0.498054f, 238, 1260, 478, 1389, 0, 0, -1},
+ {0, 68, 0, 65535, 793.295f, 1321.98f, 0.0f, 0.509563f, 0.509563f, 671, 1255, 916, 1388, 0, 0, -1},
+ {0, 68, 0, 65535, 1035.77f, 1321.98f, 0.0f, -0.509563f, 0.509563f, 913, 1255, 1159, 1388, 0, 0, -1},
+ {0, 80, 0, 65535, 544.991f, 1367.84f, -89.9249f, 0.641093f, 0.675775f, 296, 1342, 794, 1394, 0, 0, -1},
+ {1, 37, 0, 65535, 1033.5f, 1313.0f, 0.0f, -1.0f, 1.0f, 913, 1252, 1154, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 117.5f, 1313.0f, 0.0f, 1.0f, 1.0f, -3, 1252, 238, 1374, 0, 0, -1},
+ {1, 10, 31, 65535, 411.0f, 1224.5f, 0.0f, 1.0f, 1.0f, 352, 1166, 469, 1283, 0, 0, -1},
+ {1, 10, 31, 65535, 571.0f, 1224.5f, 0.0f, 1.0f, 1.0f, 512, 1166, 629, 1283, 0, 0, -1},
+ {1, 10, 31, 65535, 731.0f, 1224.5f, 0.0f, 1.0f, 1.0f, 672, 1166, 789, 1283, 0, 0, -1},
+ {4, 255, 0, 65535, 407.5f, 1146.5f, 0.0f, 41.0f, 53.0f, 387, 1120, 428, 1173, 0, 0, -1},
+ {4, 255, 0, 65535, 569.5f, 1147.5f, 0.0f, 41.0f, 53.0f, 549, 1121, 590, 1174, 0, 0, -1},
+ {4, 255, 0, 65535, 732.5f, 1147.5f, 0.0f, 41.0f, 53.0f, 712, 1121, 753, 1174, 0, 0, -1},
+ {0, 74, 0, 65535, 249.333f, 1510.25f, 90.0f, 1.118f, 0.888889f, -7, 1371, 489, 1650, 0, 0, -1},
+ {0, 80, 0, 65535, 848.0f, 1524.44f, 0.0f, 0.410256f, 0.410256f, 832, 1373, 864, 1675, 0, 0, -1},
+ {0, 74, 0, 65535, 452.877f, 1427.95f, -45.9196f, 1.6722f, 1.0f, 115, 1090, 805, 1777, 0, 0, -1},
+ {0, 74, 0, 65535, 852.0f, 1317.0f, 0.0f, 0.576f, 1.08808f, 780, 1023, 924, 1630, 0, 0, -1},
+ {0, 74, 0, 65535, 744.0f, 1344.0f, 0.0f, 0.872f, 0.552677f, 635, 1195, 853, 1503, 0, 0, -1},
+ {0, 80, 0, 65535, 940.0f, 1331.5f, -4.22109f, 1.0f, 0.837875f, 878, 1022, 993, 1642, 0, 0, -1},
+ {0, 80, 0, 65535, 950.5f, 1379.0f, -90.0f, 0.846154f, 0.467302f, 778, 1346, 1122, 1412, 0, 0, -1},
+ {0, 70, 0, 65535, 696.5f, 1410.5f, 0.0f, 1.0f, 1.0f, 607, 1058, 785, 1792, 0, 0, -1},
+ {0, 74, 0, 65535, 572.0f, 1445.5f, 0.0f, 1.0f, 1.0f, 448, 1176, 697, 1733, 0, 0, -1},
+ {0, 74, 0, 65535, 811.5f, 1044.0f, 0.0f, 0.164f, 0.732297f, 791, 846, 832, 1255, 0, 0, -1},
+ {0, 74, 0, 65535, 833.734f, 1051.69f, -259.391f, 0.716623f, 0.200768f, 760, 953, 904, 1150, 0, 0, -1},
+ {0, 74, 0, 65535, 772.0f, 1088.0f, 27.6187f, 0.128f, 0.165803f, 735, 1041, 807, 1138, 0, 0, -1},
+ {0, 74, 0, 65535, 668.458f, 1176.4f, 68.3278f, 0.152f, 0.215889f, 603, 1137, 730, 1217, 0, 0, -1},
+ {0, 74, 0, 65535, 486.0f, 1185.5f, 21.3446f, 0.536f, 0.105354f, 413, 1134, 559, 1239, 0, 0, -1},
+ {0, 74, 0, 65535, 793.784f, 844.853f, -34.1749f, 0.306729f, 0.0875945f, 749, 803, 840, 888, 0, 0, -1},
+ {0, 74, 0, 65535, 821.843f, 915.878f, -15.8447f, 0.312639f, 0.265425f, 765, 836, 881, 1000, 0, 0, -1},
+ {0, 80, 0, 65535, 783.214f, 827.827f, -125.591f, 0.329723f, 0.101873f, 747, 798, 822, 861, 0, 0, -1},
+ {0, 80, 0, 65535, 878.818f, 941.546f, -31.5312f, 0.539965f, 0.308707f, 801, 836, 952, 1050, 0, 0, -1},
+ {0, 74, 0, 65535, 964.5f, 1510.0f, 90.0f, 1.12f, 1.4525f, 546, 1371, 1356, 1650, 0, 0, -1},
+ {0, 68, 0, 65535, 1196.35f, 1324.31f, 1.26534f, -0.480632f, 0.435798f, 1079, 1265, 1311, 1383, 0, 0, -1},
+ {0, 80, 0, 65535, 1081.0f, 1350.73f, 0.0f, -0.282051f, 0.236324f, 1070, 1263, 1092, 1438, 0, 0, -1},
+ {0, 74, 0, 65535, 866.535f, 999.569f, -37.8008f, 0.312639f, 0.265425f, 792, 919, 945, 1084, 0, 0, -1},
+ {1, 49, 0, 65535, 439.5f, 915.5f, 0.0f, 1.00457f, 1.0f, 328, 827, 551, 1004, 0, 0, -1},
+ {1, 58, 0, 65535, 639.0f, 1057.0f, -34.295f, 1.00235f, 1.00469f, 402, 847, 793, 1183, 0, 0, -1},
+ {1, 60, 0, 65535, 484.0f, 785.5f, 36.2145f, 1.00457f, 1.0f, 406, 675, 606, 852, 0, 0, -1},
+ {1, 37, 0, 65535, 1192.5f, 1313.5f, 0.0f, -1.0f, 1.0f, 1072, 1252, 1313, 1375, 0, 0, -1},
+ {1, 57, 0, 65535, 1327.33f, 1368.0f, 0.0f, 1.0f, 1.0f, 1306, 1362, 1349, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 268.821f, 1227.7f, -45.0f, 1.42941f, 1.0f, 122, 1081, 416, 1374, 0, 0, -1},
+ {1, 55, 0, 65535, 64.4583f, 1368.0f, 0.0f, 1.60341f, 1.0f, -3, 1362, 131, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 784.5f, 665.5f, 0.0f, 41.0f, 53.0f, 764, 639, 805, 692, 0, 0, -1},
+ {4, 255, 0, 65535, 847.5f, 659.5f, 0.0f, 41.0f, 53.0f, 827, 633, 868, 686, 0, 0, -1},
+ {4, 255, 0, 65535, 912.5f, 694.5f, 0.0f, 41.0f, 53.0f, 892, 668, 933, 721, 0, 0, -1},
+ {4, 255, 0, 65535, 967.5f, 761.5f, 0.0f, 41.0f, 53.0f, 947, 735, 988, 788, 0, 0, -1},
+ {0, 77, 0, 65535, 172.0f, 1501.0f, 90.0f, 4.67857f, 2.2375f, -6, 1374, 349, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1499.0f, 0.0f, 0.348774f, 0.348774f, 348, 1370, 376, 1627, 0, 0, -1},
+ {0, 77, 0, 65535, 900.5f, 1517.0f, 90.0f, 5.25f, 2.05625f, 737, 1375, 1063, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 726.602f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 713, 1369, 741, 1626, 0, 0, -1},
+ {0, 68, 0, 65535, 223.0f, 1306.5f, -2.33731f, 0.6f, 0.571984f, 81, 1226, 370, 1386, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1357.0f, 0.0f, 0.348774f, 0.348774f, 348, 1228, 376, 1485, 0, 0, -1},
+ {0, 80, 0, 65535, 565.608f, 1550.4f, -270.0f, -1.18981f, 0.537854f, 368, 1504, 764, 1597, 0, 0, -1},
+ {1, 56, 0, 65535, 25.0f, 1368.0f, 0.0f, 1.0f, 1.0f, -3, 1362, 53, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 888.0f, 1368.0f, 0.0f, 1.22449f, 1.0f, 715, 1362, 1061, 1374, 0, 0, -1},
+ {1, 36, 0, 65535, 210.5f, 1295.0f, 0.0f, 1.0f, 1.0f, 50, 1216, 371, 1374, 0, 0, -1},
+ {1, 24, 0, 275, 554.5f, 1164.0f, -180.0f, 1.0f, 1.0f, 394, 1100, 715, 1229, 0, 0, -1},
+ {4, 255, 0, 65535, 553.5f, 1075.5f, 0.0f, 41.0f, 53.0f, 533, 1049, 574, 1102, 0, 0, -1},
+ {4, 255, 0, 65535, 507.5f, 1082.5f, 0.0f, 41.0f, 53.0f, 487, 1056, 528, 1109, 0, 0, -1},
+ {4, 255, 0, 65535, 598.5f, 1083.5f, 0.0f, 41.0f, 53.0f, 578, 1057, 619, 1110, 0, 0, -1},
+ {0, 77, 0, 65535, 78.3333f, 1501.0f, 90.0f, 4.67857f, 1.05833f, -6, 1374, 162, 1632, 0, 0, -1},
+ {0, 70, 0, 65535, 232.5f, 1552.5f, 0.0f, 1.0f, 1.0f, 143, 1200, 321, 1934, 0, 0, -1},
+ {0, 74, 0, 65535, 595.5f, 1470.5f, 0.0f, 2.22f, 1.0f, 320, 1201, 873, 1758, 0, 0, -1},
+ {0, 80, 0, 65535, 688.0f, 1204.0f, -90.0f, 0.410256f, 0.479564f, 511, 1188, 864, 1220, 0, 0, -1},
+ {0, 74, 0, 65535, 1080.67f, 1638.5f, 0.0f, -1.68533f, 1.0f, 870, 1369, 1290, 1926, 0, 0, -1},
+ {0, 74, 0, 65535, 893.967f, 1364.81f, 19.2788f, -0.682069f, 0.569948f, 759, 1191, 1025, 1548, 0, 0, -1},
+ {0, 68, 0, 65535, 1132.16f, 1316.0f, 0.0f, -0.704831f, 0.692607f, 963, 1226, 1302, 1405, 0, 0, -1},
+ {1, 40, 0, 65535, 234.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 140, 1187, 329, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 414.667f, 1195.0f, 0.0f, 1.01418f, 1.0f, 319, 1189, 510, 1201, 0, 0, -1},
+ {1, 59, 0, 65535, 580.412f, 1057.5f, -90.0f, 1.00348f, 1.0f, 508, 912, 653, 1203, 0, 0, -1},
+ {1, 45, 0, 65535, 336.344f, 1052.82f, -18.7423f, 1.0f, 1.01818f, 226, 994, 434, 1087, 0, 0, -1},
+ {1, 45, 0, 65535, 635.142f, 840.718f, -39.2736f, 1.0f, 1.01818f, 538, 756, 708, 896, 0, 0, -1},
+ {1, 45, 0, 65535, 176.016f, 976.077f, 70.0031f, 1.0f, 1.01818f, 141, 867, 237, 1072, 0, 0, -1},
+ {1, 11, 0, 65535, 74.8333f, 1368.0f, 0.0f, 0.540925f, 1.0f, -2, 1362, 151, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 852.868f, 1117.94f, -9.21871f, -1.0f, 1.00394f, 740, 1005, 964, 1229, 0, 0, -1},
+ {1, 36, 0, 65535, 1121.5f, 1295.5f, 0.0f, -1.0f, 1.0f, 961, 1216, 1282, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 912.5f, 1139.5f, 0.0f, 41.0f, 53.0f, 892, 1113, 933, 1166, 0, 0, -1},
+ {4, 255, 0, 65535, 889.5f, 1094.5f, 0.0f, 41.0f, 53.0f, 869, 1068, 910, 1121, 0, 0, -1},
+ {4, 255, 0, 65535, 874.5f, 1045.5f, 0.0f, 41.0f, 53.0f, 854, 1019, 895, 1072, 0, 0, -1},
+ {4, 255, 0, 65535, 864.5f, 987.5f, 0.0f, 41.0f, 53.0f, 844, 961, 885, 1014, 0, 0, -1},
+ {4, 255, 0, 65535, 853.5f, 937.5f, 0.0f, 41.0f, 53.0f, 833, 911, 874, 964, 0, 0, -1},
+ {4, 255, 0, 65535, 847.5f, 884.5f, 0.0f, 41.0f, 53.0f, 827, 858, 868, 911, 0, 0, -1},
+ {0, 77, 0, 65535, 77.5f, 1501.0f, 90.0f, 4.67857f, 1.00625f, -3, 1374, 157, 1632, 0, 0, -1},
+ {0, 77, 0, 65535, 1239.88f, 1517.0f, 90.0f, 5.25f, 3.07348f, 995, 1375, 1483, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 988.347f, 1395.49f, 5.01963f, -0.392106f, 0.505327f, 960, 1209, 1020, 1582, 0, 0, -1},
+ {0, 80, 0, 65535, 589.028f, 1546.0f, 0.0f, -0.705965f, 0.473764f, 561, 1371, 617, 1720, 0, 0, -1},
+ {0, 80, 0, 65535, 627.063f, 1546.0f, 0.0f, 0.555035f, 0.473764f, 605, 1371, 649, 1720, 0, 0, -1},
+ {0, 70, 0, 65535, 137.5f, 1554.18f, 0.0f, 1.0f, 1.0f, 48, 1201, 226, 1936, 0, 0, -1},
+ {0, 80, 0, 65535, 228.022f, 1385.33f, -5.02173f, 0.393278f, 0.463215f, 197, 1214, 255, 1557, 0, 0, -1},
+ {0, 70, 0, 65535, 1067.66f, 1548.83f, 2.32516f, -1.0f, 1.0f, 964, 1193, 1164, 1934, 0, 0, -1},
+ {0, 80, 0, 65535, 392.5f, 1535.38f, -90.0f, 1.03539f, 0.565395f, 184, 1495, 600, 1576, 0, 0, -1},
+ {0, 80, 0, 65535, 833.833f, 1534.71f, -90.0f, 1.01808f, 0.58356f, 619, 1495, 1048, 1575, 0, 0, -1},
+ {0, 77, 0, 65535, 690.051f, 1628.75f, 90.0f, 3.17723f, 6.21155f, 196, 1542, 1181, 1718, 0, 0, -1},
+ {1, 40, 0, 65535, 136.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 42, 1187, 231, 1374, 0, 0, -1},
+ {1, 56, 0, 65535, 24.5f, 1368.0f, 0.0f, 1.01786f, 1.0f, -4, 1362, 53, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 1080.5f, 1278.5f, -267.584f, 1.00541f, 1.00541f, 991, 1181, 1171, 1376, 0, 0, -1},
+ {1, 11, 0, 65535, 1317.06f, 1368.0f, 0.0f, 1.11388f, 1.0f, 1160, 1362, 1474, 1374, 0, 0, -1},
+ {1, 19, 0, 65535, 607.22f, 1365.34f, 0.0f, 1.00826f, 1.0f, 546, 1349, 668, 1381, 0, 0, -1},
+ {1, 12, 0, 65535, 743.17f, 1282.46f, -42.2569f, 1.15152f, 1.0f, 659, 1205, 828, 1360, 0, 0, -1},
+ {1, 12, 0, 65535, 471.17f, 1282.46f, 222.257f, 1.15152f, -1.0f, 387, 1205, 556, 1360, 0, 0, -1},
+ {4, 255, 0, 65535, 608.5f, 1355.5f, 0.0f, 41.0f, 53.0f, 588, 1329, 629, 1382, 0, 0, -1},
+ {4, 255, 0, 65535, 570.5f, 1338.5f, 0.0f, 41.0f, 53.0f, 550, 1312, 591, 1365, 0, 0, -1},
+ {4, 255, 0, 65535, 647.5f, 1339.5f, 0.0f, 41.0f, 53.0f, 627, 1313, 668, 1366, 0, 0, -1},
+ {0, 77, 0, 65535, 44.5f, 1501.0f, 90.0f, 4.67857f, 0.64375f, -7, 1374, 96, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 103.602f, 1499.0f, 0.0f, 0.348774f, 0.348774f, 90, 1370, 118, 1627, 0, 0, -1},
+ {0, 77, 0, 65535, 1333.0f, 1517.0f, 90.0f, 5.25f, 0.2625f, 1312, 1375, 1354, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 1299.6f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 1286, 1369, 1314, 1626, 0, 0, -1},
+ {0, 80, 0, 65535, 653.602f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 640, 1369, 668, 1626, 0, 0, -1},
+ {0, 80, 0, 65535, 758.602f, 1498.0f, 0.0f, 0.348774f, 0.348774f, 745, 1369, 773, 1626, 0, 0, -1},
+ {0, 74, 0, 65535, 704.5f, 1505.0f, 0.0f, 0.332f, 0.511226f, 663, 1367, 746, 1652, 0, 0, -1},
+ {0, 80, 0, 65535, 369.0f, 1567.0f, -90.0f, 1.0f, 0.825613f, 65, 1528, 672, 1606, 0, 0, -1},
+ {0, 80, 0, 65535, 1013.0f, 1567.0f, -90.0f, 1.0f, 0.825613f, 709, 1528, 1316, 1606, 0, 0, -1},
+ {1, 40, 0, 65535, 200.5f, 1280.5f, 0.0f, 1.00541f, 1.00541f, 106, 1186, 295, 1373, 0, 0, -1},
+ {1, 56, 0, 65535, 57.8333f, 1368.0f, 0.0f, 2.1131f, 1.0f, -2, 1362, 117, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 563.503f, 1281.5f, 0.0f, -1.00541f, 1.00541f, 470, 1187, 658, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 1210.5f, 1281.5f, 0.0f, -1.00541f, 1.00541f, 1117, 1187, 1305, 1374, 0, 0, -1},
+ {1, 56, 0, 65535, 705.5f, 1368.0f, 0.0f, 2.08532f, 1.0f, 647, 1362, 764, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 847.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 753, 1187, 942, 1374, 0, 0, -1},
+ {1, 56, 0, 65535, 1319.83f, 1368.0f, 0.0f, 0.934524f, 1.0f, 1293, 1362, 1346, 1374, 0, 0, -1},
+ {2, 2, 0, 276, 382.161f, 1197.0f, 0.0f, 0.257028f, 0.257028f, 300, 1138, 465, 1256, 0, 0, -1},
+ {2, 2, 0, 277, 1030.16f, 1197.0f, 0.0f, 0.257028f, 0.257028f, 948, 1138, 1113, 1256, 0, 0, -1},
+ {4, 255, 0, 65535, 699.5f, 1337.5f, 0.0f, 41.0f, 53.0f, 679, 1311, 720, 1364, 0, 0, -1},
+ {4, 255, 0, 65535, 641.5f, 1322.5f, 0.0f, 41.0f, 53.0f, 621, 1296, 662, 1349, 0, 0, -1},
+ {4, 255, 0, 65535, 763.5f, 1322.5f, 0.0f, 41.0f, 53.0f, 743, 1296, 784, 1349, 0, 0, -1},
+ {0, 77, 0, 65535, 107.0f, 1501.0f, 90.0f, 4.67857f, 1.4625f, -10, 1374, 223, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 231.602f, 1499.0f, 0.0f, 0.348774f, 0.348774f, 218, 1370, 246, 1627, 0, 0, -1},
+ {0, 80, 0, 65535, 543.602f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 530, 1369, 558, 1626, 0, 0, -1},
+ {0, 80, 0, 65535, 665.602f, 1498.0f, 0.0f, 0.348774f, 0.348774f, 652, 1369, 680, 1626, 0, 0, -1},
+ {0, 74, 0, 65535, 612.0f, 1504.0f, 0.0f, 0.48f, 0.497409f, 552, 1369, 672, 1648, 0, 0, -1},
+ {0, 74, 0, 65535, 1012.0f, 1507.0f, 0.0f, 0.448f, 0.497409f, 956, 1372, 1068, 1651, 0, 0, -1},
+ {0, 80, 0, 65535, 943.602f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 930, 1369, 958, 1626, 0, 0, -1},
+ {1, 56, 0, 65535, 609.75f, 1368.0f, 0.0f, 2.80853f, 1.0f, 531, 1362, 689, 1374, 0, 0, -1},
+ {1, 56, 30, 65535, 319.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 291, 1362, 347, 1374, 0, 0, 75},
+ {1, 56, 30, 65535, 379.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 351, 1362, 407, 1374, 0, 0, 75},
+ {1, 56, 30, 65535, 439.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 411, 1362, 467, 1374, 0, 0, 75},
+ {1, 56, 30, 65535, 499.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 471, 1362, 527, 1374, 0, 0, 75},
+ {1, 56, 30, 65535, 900.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 872, 1362, 928, 1374, 0, 0, 75},
+ {1, 56, 30, 65535, 720.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 692, 1362, 748, 1374, 0, 0, 75},
+ {1, 56, 30, 65535, 840.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 812, 1362, 868, 1374, 0, 0, 75},
+ {1, 56, 0, 65535, 996.0f, 1368.0f, 0.0f, 2.28704f, 1.0f, 931, 1362, 1061, 1374, 0, 0, -1},
+ {1, 56, 30, 65535, 780.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 752, 1362, 808, 1374, 0, 0, 75},
+ {1, 11, 0, 65535, 140.75f, 1368.0f, 0.0f, 1.03737f, 1.0f, -5, 1362, 287, 1374, 0, 0, -1},
+ {2, 0, 0, 65535, 387.5f, 1584.0f, 0.0f, 0.748252f, 0.603774f, 243, 1564, 531, 1603, 0, 0, -1},
+ {2, 0, 0, 65535, 804.5f, 1584.0f, 0.0f, 0.659674f, 0.603774f, 677, 1564, 931, 1603, 0, 0, -1},
+ {4, 255, 0, 65535, 316.5f, 1337.5f, 0.0f, 41.0f, 53.0f, 296, 1311, 337, 1364, 0, 0, -1},
+ {4, 255, 0, 65535, 507.5f, 1337.5f, 0.0f, 41.0f, 53.0f, 487, 1311, 528, 1364, 0, 0, -1},
+ {4, 255, 0, 65535, 718.5f, 1337.5f, 0.0f, 41.0f, 53.0f, 698, 1311, 739, 1364, 0, 0, -1},
+ {4, 255, 0, 65535, 909.5f, 1337.5f, 0.0f, 41.0f, 53.0f, 889, 1311, 930, 1364, 0, 0, -1},
+ {0, 68, 0, 65535, 249.0f, 1279.5f, 0.0f, 1.0125f, 1.0f, 6, 1150, 492, 1408, 0, 0, -1},
+ {0, 68, 0, 65535, 1084.5f, 1324.0f, 0.0f, 0.489583f, 0.498054f, 967, 1259, 1202, 1388, 0, 0, -1},
+ {0, 77, 0, 65535, 1276.5f, 1506.11f, 90.0f, 4.7539f, 5.94375f, 803, 1377, 1747, 1640, 0, 0, -1},
+ {0, 74, 0, 65535, 1817.5f, 1504.0f, 0.0f, 0.7f, 0.497409f, 1730, 1369, 1905, 1648, 0, 0, -1},
+ {0, 68, 0, 65535, 724.0f, 1279.5f, 0.0f, -1.0125f, 1.0f, 481, 1150, 967, 1408, 0, 0, -1},
+ {0, 64, 0, 65535, 1246.25f, 1224.0f, 0.0f, 0.551786f, 0.417755f, 1169, 1144, 1324, 1304, 0, 0, -1},
+ {0, 68, 0, 65535, 1570.0f, 1284.0f, 0.0f, -1.0f, 1.01167f, 1330, 1152, 1810, 1414, 0, 0, -1},
+ {0, 74, 0, 65535, 1306.0f, 1320.0f, 0.0f, 1.0f, 0.221071f, 1182, 1260, 1431, 1384, 0, 0, -1},
+ {0, 74, 0, 65535, 1334.0f, 1216.5f, -89.9713f, 0.546611f, 0.0552677f, 1319, 1148, 1350, 1285, 0, 0, -1},
+ {0, 77, 0, 65535, 412.0f, 1506.11f, 90.0f, 4.7539f, 5.3f, -10, 1377, 831, 1640, 0, 0, -1},
+ {0, 74, 0, 65535, 1280.0f, 1251.0f, -22.0448f, 0.546612f, 0.0552677f, 1211, 1211, 1350, 1292, 0, 0, -1},
+ {1, 35, 0, 65535, 241.0f, 1258.8f, 0.0f, 1.0f, 1.00433f, 0, 1143, 482, 1376, 0, 0, -1},
+ {1, 35, 0, 65535, 721.0f, 1258.8f, 0.0f, -1.0f, 1.00433f, 480, 1143, 962, 1376, 0, 0, -1},
+ {1, 37, 0, 65535, 1081.0f, 1313.5f, 0.0f, 1.0f, 1.0f, 960, 1252, 1202, 1375, 0, 0, -1},
+ {1, 60, 0, 65535, 1255.44f, 1155.65f, 90.0f, 1.00457f, -1.0f, 1200, 1045, 1310, 1267, 0, 0, -1},
+ {1, 17, 0, 65535, 981.0f, 1153.5f, -10.1032f, 1.0f, 1.0f, 863, 1109, 1093, 1182, 0, 0, -1},
+ {1, 35, 0, 65535, 1562.0f, 1258.5f, 0.0f, -1.0f, 1.00433f, 1321, 1143, 1803, 1376, 0, 0, -1},
+ {1, 56, 0, 65535, 1845.92f, 1368.0f, 0.0f, 1.59491f, 1.0f, 1801, 1362, 1891, 1374, 0, 0, -1},
+ {1, 17, 0, 65535, 813.5f, 1052.0f, -287.376f, 1.0f, 1.0f, 780, 935, 871, 1159, 0, 0, -1},
+ {4, 255, 0, 65535, 1260.5f, 997.5f, 0.0f, 41.0f, 53.0f, 1240, 971, 1281, 1024, 0, 0, -1},
+ {4, 255, 0, 65535, 1354.5f, 981.5f, 0.0f, 41.0f, 53.0f, 1334, 955, 1375, 1008, 0, 0, -1},
+ {4, 255, 0, 65535, 1440.5f, 1022.5f, 0.0f, 41.0f, 53.0f, 1420, 996, 1461, 1049, 0, 0, -1},
+ {4, 255, 0, 65535, 1501.5f, 1110.5f, 0.0f, 41.0f, 53.0f, 1481, 1084, 1522, 1137, 0, 0, -1},
+ {4, 255, 0, 65535, 1563.5f, 1211.5f, 0.0f, 41.0f, 53.0f, 1543, 1185, 1584, 1238, 0, 0, -1},
+ {0, 74, 0, 65535, 124.0f, 1637.5f, 0.0f, 1.0f, 1.0f, 0, 1368, 249, 1925, 0, 0, -1},
+ {0, 74, 0, 65535, 408.5f, 1689.5f, 0.0f, 3.324f, 1.18653f, -4, 1369, 824, 2031, 0, 0, -1},
+ {0, 67, 0, 65535, 787.5f, 1532.5f, 0.0f, 1.56494f, 2.08442f, 667, 1370, 908, 1695, 0, 0, -1},
+ {0, 70, 0, 65535, 218.5f, 1557.5f, 0.0f, 1.0f, 1.0f, 129, 1205, 307, 1939, 0, 0, -1},
+ {0, 70, 0, 65535, 662.5f, 1552.5f, 0.0f, -1.0f, 1.0f, 574, 1200, 752, 1934, 0, 0, -1},
+ {0, 80, 0, 65535, 310.0f, 1322.5f, 0.0f, 0.102564f, 0.325613f, 306, 1202, 314, 1442, 0, 0, -1},
+ {0, 80, 0, 65535, 576.0f, 1317.5f, 0.0f, -0.102564f, 0.325613f, 572, 1197, 580, 1437, 0, 0, -1},
+ {0, 80, 0, 65535, 455.74f, 1360.98f, -90.0f, 0.486699f, 0.395803f, 310, 1342, 601, 1380, 0, 0, -1},
+ {1, 13, 0, 65535, 69.0f, 1368.0f, 0.0f, 1.00709f, 1.0f, -2, 1362, 140, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 822.333f, 1368.0f, 0.0f, 1.07168f, 1.0f, 746, 1362, 898, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 223.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 129, 1187, 318, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 663.518f, 1281.5f, 0.0f, 1.00541f, -1.00541f, 570, 1189, 758, 1376, 0, 0, -1},
+ {2, 2, 0, 278, 446.0f, 1238.31f, -270.0f, 0.279883f, 0.279883f, 381, 1149, 510, 1329, 0, 0, -1},
+ {2, 2, 0, 279, 446.0f, 932.309f, -270.0f, 0.279883f, 0.279883f, 381, 843, 510, 1023, 0, 0, -1},
+ {4, 255, 0, 65535, 378.5f, 1140.5f, 0.0f, 41.0f, 53.0f, 358, 1114, 399, 1167, 0, 0, -1},
+ {4, 255, 0, 65535, 510.167f, 1105.17f, 0.0f, 41.0f, 53.0f, 489, 1078, 531, 1132, 0, 0, -1},
+ {4, 255, 0, 65535, 444.5f, 1109.5f, 0.0f, 41.0f, 53.0f, 424, 1083, 465, 1136, 0, 0, -1},
+ {0, 77, 0, 65535, 154.5f, 1500.0f, 90.0f, 4.67857f, 2.05625f, -9, 1373, 317, 1631, 0, 0, -1},
+ {0, 77, 0, 65535, 865.5f, 1560.0f, 90.0f, 4.67857f, 7.18125f, 294, 1433, 1433, 1691, 0, 0, -1},
+ {0, 77, 0, 65535, 1567.0f, 1500.0f, 90.0f, 4.67857f, 2.15f, 1396, 1373, 1737, 1631, 0, 0, -1},
+ {0, 77, 0, 65535, 855.5f, 1501.0f, 90.0f, 4.67857f, 2.00625f, 696, 1374, 1014, 1632, 0, 0, -1},
+ {1, 11, 0, 65535, 160.0f, 1368.0f, 0.0f, 1.161f, 1.0f, -4, 1362, 324, 1374, 0, 0, -1},
+ {1, 59, 30, 65535, 389.5f, 1226.5f, -93.3407f, 1.00348f, 1.0f, 309, 1086, 463, 1375, 0, 0, -1},
+ {2, 0, 0, 65535, 507.0f, 1402.0f, 0.0f, 0.979021f, 0.942189f, 318, 1372, 695, 1432, 0, 0, -1},
+ {1, 11, 0, 65535, 858.0f, 1368.0f, 0.0f, 1.161f, 1.0f, 694, 1362, 1022, 1374, 0, 0, -1},
+ {1, 59, 30, 65535, 1088.5f, 1226.5f, -93.3407f, 1.00348f, 1.0f, 1008, 1086, 1162, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 1564.0f, 1368.0f, 0.0f, 1.19274f, 1.0f, 1396, 1362, 1732, 1374, 0, 0, -1},
+ {2, 0, 0, 65535, 1204.0f, 1402.0f, 0.0f, 0.979021f, 0.942189f, 1015, 1372, 1392, 1432, 0, 0, -1},
+ {4, 255, 0, 65535, 853.5f, 1337.5f, 0.0f, 41.0f, 53.0f, 833, 1311, 874, 1364, 0, 0, -1},
+ {4, 255, 0, 65535, 917.5f, 1337.5f, 0.0f, 41.0f, 53.0f, 897, 1311, 938, 1364, 0, 0, -1},
+ {4, 255, 0, 65535, 981.5f, 1337.5f, 0.0f, 41.0f, 53.0f, 961, 1311, 1002, 1364, 0, 0, -1},
+ {0, 77, 0, 65535, 75.0f, 1501.0f, 90.0f, 4.67857f, 1.0375f, -8, 1374, 157, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 235.102f, 1417.5f, 0.0f, 0.643646f, 0.581744f, 210, 1203, 260, 1631, 0, 0, -1},
+ {0, 77, 0, 65535, 1074.5f, 1517.0f, 90.0f, 5.25f, 1.89375f, 923, 1375, 1225, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 903.927f, 1367.49f, 1.86958f, -0.410116f, 0.48713f, 884, 1188, 926, 1547, 0, 0, -1},
+ {0, 70, 0, 65535, 137.5f, 1550.0f, 0.0f, 1.0f, 0.993447f, 48, 1199, 226, 1929, 0, 0, -1},
+ {0, 70, 0, 65535, 998.5f, 1550.5f, 2.32516f, -1.0f, 1.0f, 895, 1194, 1095, 1935, 0, 0, -1},
+ {0, 80, 0, 65535, 996.062f, 1535.66f, 1.86958f, -0.22042f, 0.22042f, 986, 1454, 1008, 1617, 0, 0, -1},
+ {0, 80, 0, 65535, 393.5f, 1558.37f, -90.0f, 1.77876f, 0.565395f, 185, 1489, 601, 1628, 0, 0, -1},
+ {0, 80, 0, 65535, 812.0f, 1559.0f, -90.0f, 1.64103f, 0.643052f, 575, 1495, 1048, 1623, 0, 0, -1},
+ {1, 40, 0, 65535, 135.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 41, 1187, 230, 1374, 0, 0, -1},
+ {1, 56, 0, 65535, 24.0f, 1368.0f, 0.0f, 1.0f, 1.0f, -4, 1362, 52, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 1002.5f, 1278.5f, -267.584f, 1.00541f, 1.00541f, 913, 1181, 1093, 1376, 0, 0, -1},
+ {1, 56, 0, 65535, 1150.5f, 1368.0f, 0.0f, 2.41997f, 1.0f, 1082, 1362, 1219, 1374, 0, 0, -1},
+ {1, 45, 1, 65535, 280.0f, 1147.5f, -180.0f, 1.0f, 1.01818f, 171, 1120, 389, 1175, 0, 0, -1},
+ {1, 60, 0, 65535, 458.0f, 1192.5f, -30.8272f, 1.00457f, 1.0f, 334, 1088, 540, 1256, 0, 0, -1},
+ {1, 45, 1, 65535, 472.997f, 1016.85f, -262.707f, 1.0f, 1.01818f, 444, 911, 514, 1128, 0, 0, -1},
+ {1, 45, 0, 65535, 723.149f, 1293.63f, -13.9147f, 1.0f, 1.01818f, 612, 1242, 825, 1325, 0, 0, -1},
+ {1, 57, 0, 65535, 595.209f, 1282.42f, -326.869f, 1.25347f, 1.0f, 569, 1263, 621, 1302, 0, 0, -1},
+ {4, 255, 0, 65535, 898.833f, 1106.83f, 0.0f, 41.0f, 53.0f, 878, 1080, 920, 1134, 0, 0, -1},
+ {4, 255, 0, 65535, 856.833f, 1139.83f, 0.0f, 41.0f, 53.0f, 836, 1113, 878, 1167, 0, 0, -1},
+ {4, 255, 0, 65535, 826.5f, 1196.17f, 0.0f, 41.0f, 53.0f, 806, 1169, 847, 1223, 0, 0, -1},
+ {0, 74, 0, 65535, 461.0f, 1512.0f, 90.0f, 1.104f, 1.61313f, -3, 1375, 896, 1650, 0, 0, -1},
+ {0, 70, 0, 65535, 592.638f, 1604.0f, 11.388f, 1.21625f, 1.21625f, 398, 1204, 783, 2078, 0, 0, -1},
+ {0, 73, 0, 65535, 583.5f, 1601.5f, -7.86972f, 1.0f, 1.0f, 432, 1294, 736, 1923, 0, 0, -1},
+ {0, 80, 0, 65535, 348.923f, 1381.53f, -90.0f, 0.398114f, 0.253196f, 255, 1366, 442, 1398, 0, 0, -1},
+ {0, 80, 0, 65535, 442.494f, 1429.83f, -185.937f, 0.0890746f, 0.289337f, 428, 1323, 457, 1536, 0, 0, -1},
+ {0, 68, 0, 65535, 150.0f, 1313.73f, 0.0f, 0.625f, 0.66875f, 0, 1227, 300, 1400, 0, 0, -1},
+ {0, 80, 0, 65535, 306.827f, 1332.64f, 0.0f, 0.414692f, 0.289337f, 290, 1226, 323, 1439, 0, 0, -1},
+ {0, 70, 0, 65535, 793.5f, 1461.25f, 0.0f, 1.0f, 0.992792f, 704, 1111, 882, 1840, 0, 0, -1},
+ {0, 74, 0, 65535, 1157.5f, 1511.0f, 90.0f, 1.104f, 1.54922f, 712, 1374, 1576, 1649, 0, 0, -1},
+ {0, 68, 0, 65535, 1447.0f, 1329.5f, 0.0f, -0.504167f, 0.548638f, 1326, 1258, 1568, 1400, 0, 0, -1},
+ {0, 80, 0, 65535, 1088.0f, 1369.0f, 270.0f, 1.0f, 0.784741f, 799, 1330, 1376, 1408, 0, 0, -1},
+ {0, 80, 0, 65535, 888.534f, 1266.16f, -5.42155f, 0.410256f, 0.435338f, 857, 1105, 916, 1427, 0, 0, -1},
+ {0, 80, 0, 65535, 1325.0f, 1339.5f, 180.0f, 0.307692f, 0.208447f, 1313, 1263, 1337, 1417, 0, 0, -1},
+ {0, 74, 0, 65535, 61.9289f, 1389.13f, -17.7651f, 0.391859f, 0.0933867f, 7, 1350, 117, 1430, 0, 0, -1},
+ {0, 74, 0, 65535, 1476.33f, 1379.0f, 21.2783f, 0.682667f, 0.110535f, 1385, 1320, 1567, 1440, 0, 0, -1},
+ {2, 1, 0, 280, 371.0f, 1309.0f, 15.5715f, 0.145773f, 0.145773f, 324, 1262, 418, 1356, 0, 0, -1},
+ {1, 18, 0, 65535, 505.357f, 1340.69f, -354.19f, 1.00629f, 1.0f, 427, 1314, 586, 1360, 0, 0, -1},
+ {1, 36, 0, 65535, 158.5f, 1295.5f, 0.0f, 1.0f, 1.0f, -2, 1216, 319, 1375, 0, 0, -1},
+ {1, 15, 0, 281, 836.5f, 1054.0f, -380.154f, 1.0f, 1.00394f, 788, 904, 890, 1205, 0, 0, -1},
+ {1, 60, 0, 65535, 760.704f, 883.455f, -196.895f, 1.00457f, 1.0f, 667, 825, 883, 969, 0, 0, -1},
+ {1, 37, 0, 65535, 1448.5f, 1313.5f, 0.0f, -1.0f, 1.0f, 1328, 1252, 1569, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 686.311f, 1266.83f, -32.7502f, 0.890877f, 1.0f, 577, 1194, 795, 1340, 0, 0, -1},
+ {4, 255, 0, 65535, 1055.5f, 1062.5f, 0.0f, 41.0f, 53.0f, 1035, 1036, 1076, 1089, 0, 0, -1},
+ {4, 255, 0, 65535, 1144.5f, 1082.5f, 0.0f, 41.0f, 53.0f, 1124, 1056, 1165, 1109, 0, 0, -1},
+ {4, 255, 0, 65535, 1228.5f, 1115.5f, 0.0f, 41.0f, 53.0f, 1208, 1089, 1249, 1142, 0, 0, -1},
+ {4, 255, 0, 65535, 1305.5f, 1152.5f, 0.0f, 41.0f, 53.0f, 1285, 1126, 1326, 1179, 0, 0, -1},
+ {4, 255, 0, 65535, 1375.5f, 1194.5f, 0.0f, 41.0f, 53.0f, 1355, 1168, 1396, 1221, 0, 0, -1},
+ {0, 74, 0, 65535, 628.954f, 1507.0f, 90.0f, 1.104f, 1.64924f, 154, 1370, 1074, 1645, 0, 0, -1},
+ {0, 74, 0, 282, 258.001f, 815.504f, 0.0f, 0.58f, 1.24007f, 186, 481, 331, 1173, 0, 0, -1},
+ {0, 74, 0, 283, 406.001f, 815.504f, 0.0f, 0.58f, 1.24007f, 334, 481, 479, 1173, 0, 0, -1},
+ {0, 74, 0, 284, 554.001f, 815.504f, 0.0f, 0.58f, 1.24007f, 482, 481, 627, 1173, 0, 0, -1},
+ {0, 74, 0, 285, 702.001f, 815.504f, 0.0f, 0.58f, 1.24007f, 630, 481, 775, 1173, 0, 0, -1},
+ {0, 74, 0, 65535, 69.6585f, 1507.0f, 90.0f, 1.104f, 0.263069f, -6, 1370, 141, 1645, 0, 0, -1},
+ {0, 74, 0, 65535, 89.704f, 1603.75f, 90.0f, 0.33f, 0.332311f, -6, 1562, 180, 1645, 0, 0, -1},
+ {2, 0, 0, 286, 257.991f, 1192.63f, -180.0f, 0.379997f, 0.603774f, 185, 1173, 332, 1212, 0, 0, -1},
+ {2, 0, 0, 287, 701.991f, 1192.63f, -180.0f, 0.379998f, 0.603774f, 629, 1173, 776, 1212, 0, 0, -1},
+ {2, 0, 0, 288, 553.991f, 1192.63f, -180.0f, 0.379998f, 0.603774f, 481, 1173, 628, 1212, 0, 0, -1},
+ {2, 0, 0, 289, 405.991f, 1192.63f, -180.0f, 0.379998f, 0.603774f, 333, 1173, 480, 1212, 0, 0, -1},
+ {1, 11, 0, 65535, 518.366f, 1368.0f, 0.0f, 0.953119f, 1.0f, 384, 1362, 653, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 70.267f, 1368.5f, 0.0f, 0.997743f, 1.0f, -1, 1362, 141, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 853.987f, 1368.0f, 0.0f, 1.44328f, 1.0f, 651, 1362, 1057, 1374, 0, 0, -1},
+ {1, 55, 1, 290, 103.84f, 1281.21f, -295.0f, 2.40964f, 1.0f, 56, 1188, 152, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 342.629f, 1342.13f, 0.0f, 41.0f, 53.0f, 322, 1315, 364, 1369, 0, 0, -1},
+ {1, 11, 0, 65535, 268.491f, 1368.0f, 0.0f, 0.825897f, 1.0f, 152, 1362, 385, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 438.629f, 1342.13f, 0.0f, 41.0f, 53.0f, 418, 1315, 460, 1369, 0, 0, -1},
+ {4, 255, 0, 65535, 534.629f, 1342.13f, 0.0f, 41.0f, 53.0f, 514, 1315, 556, 1369, 0, 0, -1},
+ {4, 255, 0, 65535, 630.629f, 1342.13f, 0.0f, 41.0f, 53.0f, 610, 1315, 652, 1369, 0, 0, -1},
+ {0, 77, 0, 65535, 109.5f, 1501.0f, 90.0f, 4.67857f, 1.43125f, -5, 1374, 223, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 229.602f, 1499.0f, 0.0f, 0.348774f, 0.348774f, 216, 1370, 244, 1627, 0, 0, -1},
+ {0, 74, 0, 65535, 1002.5f, 1507.0f, 0.0f, 0.484f, 0.497409f, 942, 1372, 1063, 1651, 0, 0, -1},
+ {0, 80, 0, 65535, 931.602f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 918, 1369, 946, 1626, 0, 0, -1},
+ {1, 56, 30, 65535, 312.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 284, 1362, 340, 1374, 0, 0, 100},
+ {1, 56, 30, 65535, 374.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 346, 1362, 402, 1374, 0, 0, 100},
+ {1, 56, 30, 65535, 436.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 408, 1362, 464, 1374, 0, 0, 100},
+ {1, 56, 30, 65535, 497.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 469, 1362, 525, 1374, 0, 0, 100},
+ {1, 56, 30, 65535, 881.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 853, 1362, 909, 1374, 0, 0, 100},
+ {1, 56, 30, 65535, 815.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 787, 1362, 843, 1374, 0, 0, 100},
+ {1, 56, 0, 65535, 986.5f, 1368.0f, 0.0f, 2.55093f, 1.0f, 915, 1362, 1058, 1374, 0, 0, -1},
+ {1, 56, 30, 65535, 751.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 723, 1362, 779, 1374, 0, 0, 100},
+ {1, 11, 0, 65535, 135.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -5, 1362, 276, 1374, 0, 0, -1},
+ {2, 0, 0, 65535, 413.5f, 1584.0f, 0.0f, 0.888112f, 0.603774f, 242, 1564, 584, 1603, 0, 0, -1},
+ {1, 56, 30, 65535, 624.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 596, 1362, 652, 1374, 0, 0, 100},
+ {1, 56, 30, 65535, 560.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 532, 1362, 588, 1374, 0, 0, 100},
+ {1, 56, 30, 65535, 688.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 660, 1362, 716, 1374, 0, 0, 100},
+ {2, 0, 0, 65535, 744.0f, 1583.0f, 0.0f, 0.913753f, 0.603774f, 568, 1563, 919, 1602, 0, 0, -1},
+ {4, 255, 0, 65535, 500.5f, 1340.5f, 0.0f, 41.0f, 53.0f, 480, 1314, 521, 1367, 0, 0, -1},
+ {4, 255, 0, 65535, 564.5f, 1340.5f, 0.0f, 41.0f, 53.0f, 544, 1314, 585, 1367, 0, 0, -1},
+ {4, 255, 0, 65535, 628.5f, 1340.5f, 0.0f, 41.0f, 53.0f, 608, 1314, 649, 1367, 0, 0, -1},
+ {0, 77, 0, 65535, 544.0f, 1519.5f, 0.0f, 18.2857f, 1.80625f, 50, 1376, 1056, 1664, 0, 0, -1},
+ {0, 77, 0, 65535, 1211.0f, 1516.5f, 0.0f, 6.67857f, 1.80625f, 1030, 1373, 1398, 1661, 0, 0, -1},
+ {0, 70, 0, 65535, 483.5f, 1396.5f, 0.0f, 1.0f, 1.0f, 394, 1044, 572, 1778, 0, 0, -1},
+ {0, 70, 0, 65535, 124.5f, 1556.5f, 0.0f, 1.0f, 1.0f, 35, 1204, 213, 1938, 0, 0, -1},
+ {0, 70, 0, 65535, 836.5f, 1233.5f, 0.0f, 1.0f, 1.0f, 747, 881, 925, 1615, 0, 0, -1},
+ {0, 74, 0, 65535, 118.0f, 1642.5f, 0.0f, 1.024f, 1.0f, -9, 1373, 246, 1930, 0, 0, -1},
+ {0, 80, 0, 65535, 213.0f, 1296.5f, 0.0f, 0.153846f, 0.260218f, 207, 1200, 219, 1392, 0, 0, -1},
+ {0, 80, 0, 65535, 309.0f, 1377.0f, -90.0f, 0.820513f, 0.260218f, 213, 1345, 405, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 661.0f, 1377.0f, -90.0f, 0.820513f, 0.260218f, 565, 1345, 757, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 569.0f, 1193.5f, 0.0f, 0.153846f, 0.401907f, 563, 1045, 575, 1341, 0, 0, -1},
+ {0, 80, 0, 65535, 762.0f, 1204.5f, 0.0f, -0.512821f, 0.401907f, 742, 1056, 782, 1352, 0, 0, -1},
+ {0, 80, 0, 65535, 410.0f, 1366.5f, 0.0f, -0.512821f, 0.401907f, 390, 1218, 430, 1514, 0, 0, -1},
+ {0, 70, 0, 65535, 1009.5f, 1233.5f, 0.0f, -1.0f, 1.0f, 921, 881, 1099, 1615, 0, 0, -1},
+ {0, 80, 0, 65535, 1085.0f, 1206.67f, 0.0f, 0.512821f, 0.415985f, 1065, 1053, 1105, 1360, 0, 0, -1},
+ {0, 80, 0, 65535, 1183.0f, 1297.5f, 0.0f, -0.153846f, 0.260218f, 1177, 1201, 1189, 1393, 0, 0, -1},
+ {0, 70, 0, 65535, 1272.5f, 1555.5f, 0.0f, -1.0f, 1.0f, 1184, 1203, 1362, 1937, 0, 0, -1},
+ {0, 80, 0, 65535, 1145.0f, 1375.0f, -90.0f, 0.820513f, 0.260218f, 1049, 1343, 1241, 1407, 0, 0, -1},
+ {0, 77, 0, 65535, 1515.33f, 1516.5f, 0.0f, 4.69048f, 1.80625f, 1388, 1373, 1647, 1661, 0, 0, -1},
+ {1, 57, 0, 65535, 20.375f, 1368.0f, 0.0f, 1.01786f, 1.0f, -1, 1362, 42, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 125.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 31, 1187, 220, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 481.5f, 1128.5f, 0.0f, 1.00541f, 1.00541f, 387, 1034, 576, 1221, 0, 0, -1},
+ {1, 40, 0, 65535, 836.25f, 966.0f, 0.0f, 1.00541f, 1.00541f, 742, 872, 930, 1059, 0, 0, -1},
+ {1, 40, 0, 65535, 1007.8f, 970.167f, 0.0f, -1.00541f, 1.00541f, 914, 876, 1102, 1063, 0, 0, -1},
+ {1, 40, 0, 65535, 1272.5f, 1281.5f, 0.0f, -1.00541f, 1.00541f, 1178, 1187, 1367, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 1496.83f, 1368.0f, 0.0f, 1.0f, 1.0f, 1356, 1362, 1638, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1206.5f, 1181.5f, 0.0f, 41.0f, 53.0f, 1186, 1155, 1227, 1208, 0, 0, -1},
+ {4, 255, 0, 65535, 1270.5f, 1245.5f, 0.0f, 41.0f, 53.0f, 1250, 1219, 1291, 1272, 0, 0, -1},
+ {4, 255, 0, 65535, 1334.5f, 1309.5f, 0.0f, 41.0f, 53.0f, 1314, 1283, 1355, 1336, 0, 0, -1},
+ {0, 74, 0, 65535, 120.5f, 1637.5f, 0.0f, 1.02f, 1.0f, -6, 1368, 248, 1925, 0, 0, -1},
+ {0, 70, 0, 65535, 169.866f, 1609.86f, 0.0f, 1.03803f, 1.00693f, 77, 1254, 262, 1994, 0, 0, -1},
+ {0, 70, 0, 65535, 343.5f, 1614.5f, 0.0f, -1.0f, 1.0f, 255, 1262, 433, 1996, 0, 0, -1},
+ {0, 74, 0, 65535, 775.0f, 1746.5f, 0.0f, 4.152f, 1.0f, 260, 1477, 1294, 2034, 0, 0, -1},
+ {0, 74, 0, 65535, 1440.0f, 1643.0f, 0.0f, 0.856f, 1.00518f, 1333, 1372, 1547, 1932, 0, 0, -1},
+ {0, 70, 0, 65535, 1307.5f, 1673.5f, 0.0f, 1.0f, 1.0f, 1218, 1321, 1396, 2055, 0, 0, -1},
+ {0, 70, 0, 65535, 1417.5f, 1608.5f, 0.0f, -0.60452f, 1.0f, 1364, 1256, 1472, 1990, 0, 0, -1},
+ {0, 74, 0, 65535, 1438.73f, 1371.0f, -63.4796f, 0.165803f, 0.165803f, 1389, 1332, 1491, 1411, 0, 0, -1},
+ {0, 74, 0, 65535, 1359.86f, 1351.48f, -68.32f, 0.384f, 0.0552677f, 1328, 1301, 1393, 1402, 0, 0, -1},
+ {0, 74, 0, 65535, 1234.49f, 1474.08f, -18.6231f, 0.384f, 0.0552677f, 1184, 1444, 1286, 1505, 0, 0, -1},
+ {0, 70, 0, 65535, 975.0f, 1658.5f, 1.57811f, -0.463277f, 1.0f, 923, 1305, 1022, 2041, 0, 0, -1},
+ {0, 70, 0, 65535, 655.674f, 1571.76f, 1.57811f, 0.879444f, 1.0f, 569, 1221, 743, 1954, 0, 0, -1},
+ {0, 74, 0, 65535, 597.118f, 1412.47f, -33.797f, 1.256f, 0.208249f, 436, 1278, 761, 1549, 0, 0, -1},
+ {0, 74, 0, 65535, 440.0f, 1450.0f, 0.0f, 0.768f, 0.221071f, 344, 1390, 536, 1514, 0, 0, -1},
+ {0, 74, 0, 65535, 539.326f, 1436.21f, -18.6353f, 0.768f, 0.221071f, 430, 1349, 651, 1527, 0, 0, -1},
+ {0, 74, 0, 65535, 355.326f, 1431.21f, 15.3071f, 0.768f, 0.221071f, 246, 1348, 464, 1518, 0, 0, -1},
+ {0, 74, 0, 65535, 1014.43f, 1498.23f, 29.3558f, 0.768f, 0.221071f, 900, 1399, 1128, 1601, 0, 0, -1},
+ {0, 70, 0, 65535, 857.5f, 1659.5f, 0.0f, 1.0f, 1.0f, 768, 1307, 946, 2041, 0, 0, -1},
+ {0, 70, 0, 65535, 801.5f, 1627.5f, 0.0f, -1.0f, 1.0f, 713, 1275, 891, 2009, 0, 0, -1},
+ {0, 74, 0, 65535, 839.0f, 1631.5f, 0.0f, 1.0f, 1.0f, 715, 1362, 964, 1919, 0, 0, -1},
+ {1, 13, 0, 65535, 70.0f, 1368.0f, 0.0f, 1.02128f, 1.0f, -2, 1362, 142, 1374, 0, 0, -1},
+ {1, 44, 0, 65535, 254.5f, 1309.0f, 0.0f, 1.00412f, 1.0f, 133, 1244, 376, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 518.5f, 1334.0f, 39.2392f, 1.0f, 1.00394f, 367, 1287, 670, 1394, 0, 0, -1},
+ {1, 7, 0, 65535, 719.779f, 1238.4f, -0.183314f, 1.0f, 1.0084f, 660, 1177, 780, 1299, 0, 0, -1},
+ {1, 8, 1, 65535, 845.0f, 1259.5f, 0.0f, 1.00457f, 1.0f, 734, 1150, 956, 1370, 0, 0, -1},
+ {1, 49, 1, 65535, 1057.5f, 1139.5f, -128.351f, 1.00457f, 1.0f, 963, 1016, 1180, 1236, 0, 0, -1},
+ {1, 16, 0, 65535, 1412.0f, 1282.0f, -3.26893f, -1.0f, 1.00521f, 1336, 1189, 1489, 1374, 0, 0, -1},
+ {1, 47, 0, 65535, 1171.57f, 1310.61f, -208.687f, 1.00235f, 1.0f, 938, 1079, 1365, 1487, 0, 0, -1},
+ {1, 56, 0, 65535, 1512.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 1484, 1362, 1540, 1374, 0, 0, -1},
+ {1, 16, 0, 65535, 915.833f, 993.167f, -70.4918f, 1.0f, 1.00521f, 845, 894, 985, 1090, 0, 0, -1},
+ {2, 1, 0, 291, 708.0f, 787.0f, 0.0f, 0.542274f, 0.542274f, 533, 612, 882, 960, 0, 0, -1},
+ {4, 255, 0, 65535, 1230.5f, 1001.5f, 0.0f, 41.0f, 53.0f, 1210, 975, 1251, 1028, 0, 0, -1},
+ {4, 255, 0, 65535, 1283.5f, 946.5f, 0.0f, 41.0f, 53.0f, 1263, 920, 1304, 973, 0, 0, -1},
+ {4, 255, 0, 65535, 1336.5f, 1009.5f, 0.0f, 41.0f, 53.0f, 1316, 983, 1357, 1036, 0, 0, -1},
+ {4, 255, 0, 65535, 1380.5f, 1097.5f, 0.0f, 41.0f, 53.0f, 1360, 1071, 1401, 1124, 0, 0, -1},
+ {0, 77, 0, 65535, 544.0f, 1519.5f, 0.0f, 18.2857f, 1.80625f, 50, 1376, 1056, 1664, 0, 0, -1},
+ {0, 77, 0, 65535, 1248.0f, 1516.5f, 0.0f, 8.0f, 1.80625f, 1032, 1373, 1472, 1661, 0, 0, -1},
+ {0, 70, 0, 292, 303.5f, 1375.5f, 0.0f, 1.0f, 1.0f, 214, 1023, 392, 1757, 0, 0, -1},
+ {0, 70, 0, 65535, 124.5f, 1556.5f, 0.0f, 1.0f, 1.0f, 35, 1204, 213, 1938, 0, 0, -1},
+ {0, 74, 0, 65535, 119.5f, 1642.5f, 0.0f, 1.028f, 1.0f, -8, 1373, 248, 1930, 0, 0, -1},
+ {0, 80, 0, 65535, 213.0f, 1296.5f, 0.0f, 0.153846f, 0.260218f, 207, 1200, 219, 1392, 0, 0, -1},
+ {0, 80, 0, 65535, 410.75f, 1377.0f, -90.0f, 0.820513f, 0.537466f, 212, 1345, 608, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 661.0f, 1377.0f, -90.0f, 0.820513f, 0.260218f, 565, 1345, 757, 1409, 0, 0, -1},
+ {0, 77, 0, 65535, 1188.5f, 1516.5f, 0.0f, 5.66071f, 1.80625f, 1035, 1373, 1347, 1661, 0, 0, -1},
+ {0, 70, 0, 293, 778.5f, 1029.5f, 0.0f, 1.0f, 1.0f, 689, 677, 867, 1411, 0, 0, -1},
+ {0, 80, 0, 65535, 869.25f, 1375.0f, -90.0f, 0.820513f, 0.382153f, 728, 1343, 1010, 1407, 0, 0, -1},
+ {0, 70, 0, 294, 608.5f, 1200.5f, 0.0f, 1.0f, 1.0f, 519, 848, 697, 1582, 0, 0, -1},
+ {0, 70, 0, 295, 954.5f, 1030.5f, 0.0f, -1.0f, 1.0f, 866, 678, 1044, 1412, 0, 0, -1},
+ {0, 74, 0, 65535, 1497.0f, 1641.5f, 0.0f, 2.944f, 1.0f, 1131, 1372, 1865, 1929, 0, 0, -1},
+ {0, 64, 0, 65535, 1257.43f, 1282.31f, -19.0494f, -0.681822f, 0.746052f, 1121, 1177, 1395, 1449, 0, 0, -1},
+ {0, 80, 0, 65535, 1164.2f, 1344.39f, -195.675f, 0.482733f, 0.465573f, 1104, 1174, 1229, 1513, 0, 0, -1},
+ {1, 57, 0, 65535, 20.0f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 41, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 125.5f, 1282.5f, 0.0f, 1.00541f, 1.00541f, 31, 1188, 220, 1375, 0, 0, -1},
+ {1, 40, 0, 296, 301.5f, 1107.5f, 0.0f, 1.00541f, 1.00541f, 207, 1013, 396, 1200, 0, 0, -1},
+ {1, 40, 0, 297, 606.5f, 932.5f, 0.0f, 1.00541f, 1.00541f, 512, 838, 701, 1025, 0, 0, -1},
+ {1, 40, 0, 298, 782.5f, 757.5f, 0.0f, 1.00541f, 1.00541f, 688, 663, 877, 850, 0, 0, -1},
+ {1, 40, 0, 299, 952.5f, 757.5f, 0.0f, -1.00541f, 1.00541f, 858, 663, 1047, 850, 0, 0, -1},
+ {1, 11, 0, 65535, 1612.33f, 1368.0f, 0.0f, 1.7414f, 1.0f, 1367, 1362, 1858, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 1248.83f, 1273.5f, -14.2343f, -1.0f, 1.00394f, 1127, 1170, 1369, 1375, 0, 0, -1},
+ {2, 1, 0, 300, 1356.0f, 782.0f, 0.0f, 0.609329f, 0.609329f, 1160, 586, 1552, 977, 0, 0, -1},
+ {4, 255, 0, 65535, 1296.5f, 1326.17f, 0.0f, 41.0f, 53.0f, 1276, 1299, 1317, 1353, 0, 0, -1},
+ {4, 255, 0, 65535, 1261.5f, 1304.5f, 0.0f, 41.0f, 53.0f, 1241, 1278, 1282, 1331, 0, 0, -1},
+ {4, 255, 0, 65535, 1231.5f, 1276.17f, 0.0f, 41.0f, 53.0f, 1211, 1249, 1252, 1303, 0, 0, -1},
+ {4, 255, 0, 65535, 1201.5f, 1241.5f, 0.0f, 41.0f, 53.0f, 1181, 1215, 1222, 1268, 0, 0, -1},
+ {0, 77, 0, 65535, 544.0f, 1519.5f, 0.0f, 18.2857f, 1.80625f, 50, 1376, 1056, 1664, 0, 0, -1},
+ {0, 77, 0, 65535, 1248.0f, 1516.5f, 0.0f, 8.0f, 1.80625f, 1032, 1373, 1472, 1661, 0, 0, -1},
+ {0, 70, 0, 65535, 124.5f, 1556.5f, 0.0f, 1.0f, 1.0f, 35, 1204, 213, 1938, 0, 0, -1},
+ {0, 74, 0, 65535, 119.5f, 1641.5f, 0.0f, 1.028f, 1.0f, -8, 1372, 248, 1929, 0, 0, -1},
+ {0, 80, 0, 65535, 213.0f, 1296.5f, 0.0f, 0.153846f, 0.260218f, 207, 1200, 219, 1392, 0, 0, -1},
+ {0, 80, 0, 65535, 410.75f, 1377.0f, -90.0f, 0.820513f, 0.537466f, 212, 1345, 608, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 661.0f, 1377.0f, -90.0f, 0.820513f, 0.260218f, 565, 1345, 757, 1409, 0, 0, -1},
+ {0, 80, 0, 65535, 1100.25f, 1375.0f, -90.0f, 0.820513f, 0.382153f, 959, 1343, 1241, 1407, 0, 0, -1},
+ {0, 77, 0, 65535, 1245.5f, 1516.5f, 0.0f, 5.66071f, 1.80625f, 1092, 1373, 1404, 1661, 0, 0, -1},
+ {0, 80, 0, 65535, 869.25f, 1375.0f, -90.0f, 0.820513f, 0.382153f, 728, 1343, 1010, 1407, 0, 0, -1},
+ {0, 74, 0, 65535, 1444.5f, 1641.5f, 0.0f, 1.044f, 1.0f, 1315, 1372, 1575, 1929, 0, 0, -1},
+ {1, 57, 0, 65535, 20.5f, 1368.0f, 0.0f, 1.02381f, 1.0f, -1, 1362, 42, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 125.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 31, 1187, 220, 1374, 0, 0, -1},
+ {1, 48, 0, 301, 373.0f, 1225.0f, -213.355f, 1.00348f, 1.0f, 212, 1065, 501, 1346, 0, 0, -1},
+ {1, 48, 0, 302, 745.491f, 1225.74f, -121.071f, 1.00348f, 1.0f, 625, 1066, 904, 1356, 0, 0, -1},
+ {1, 11, 0, 65535, 1406.0f, 1368.0f, 0.0f, 1.16726f, 1.0f, 1242, 1362, 1570, 1374, 0, 0, -1},
+ {1, 48, 0, 303, 1135.0f, 1221.0f, -228.355f, 1.00348f, 1.0f, 972, 1058, 1258, 1347, 0, 0, -1},
+ {4, 255, 0, 65535, 1389.5f, 1341.5f, 0.0f, 41.0f, 53.0f, 1369, 1315, 1410, 1368, 0, 0, -1},
+ {4, 255, 0, 65535, 1453.5f, 1341.5f, 0.0f, 41.0f, 53.0f, 1433, 1315, 1474, 1368, 0, 0, -1},
+ {4, 255, 0, 65535, 1517.5f, 1341.5f, 0.0f, 41.0f, 53.0f, 1497, 1315, 1538, 1368, 0, 0, -1},
+ {0, 77, 0, 65535, 56.5f, 1501.0f, 90.0f, 4.67857f, 0.89375f, -15, 1374, 128, 1632, 0, 0, -1},
+ {0, 77, 0, 65535, 567.5f, 1499.0f, 90.0f, 4.67857f, 2.09375f, 401, 1372, 733, 1630, 0, 0, -1},
+ {0, 77, 0, 65535, 253.5f, 1500.0f, 90.0f, 4.67857f, 2.00625f, 94, 1373, 412, 1631, 0, 0, -1},
+ {0, 70, 0, 65535, 192.5f, 1783.5f, 0.0f, 1.0f, 1.56619f, 103, 1231, 281, 2381, 0, 0, -1},
+ {0, 70, 0, 65535, 109.333f, 1572.0f, 0.0f, 1.40866f, 0.733945f, -17, 1313, 234, 1852, 0, 0, -1},
+ {0, 70, 0, 65535, 179.0f, 1618.5f, 0.0f, 1.14124f, 1.0f, 77, 1266, 280, 2000, 0, 0, -1},
+ {0, 80, 0, 65535, 282.0f, 1437.0f, 0.0f, 0.230769f, 0.569482f, 273, 1227, 291, 1646, 0, 0, -1},
+ {0, 77, 0, 65535, 1688.5f, 1499.0f, 90.0f, 4.67857f, 8.09375f, 1045, 1372, 2328, 1630, 0, 0, -1},
+ {0, 77, 0, 65535, 892.5f, 1499.0f, 90.0f, 4.67857f, 2.00625f, 733, 1372, 1051, 1630, 0, 0, -1},
+ {0, 68, 0, 65535, 1617.0f, 1285.5f, 0.0f, 1.0f, 1.0f, 1377, 1156, 1857, 1414, 0, 0, -1},
+ {0, 68, 0, 65535, 2259.0f, 1283.5f, 0.0f, -1.0f, 1.0f, 2019, 1154, 2499, 1412, 0, 0, -1},
+ {0, 77, 0, 65535, 2393.0f, 1509.5f, 90.0f, 4.98214f, 1.45f, 2277, 1374, 2508, 1649, 0, 0, -1},
+ {0, 80, 0, 65535, 1849.0f, 1305.44f, 0.0f, 0.410256f, 0.410256f, 1833, 1154, 1865, 1456, 0, 0, -1},
+ {0, 80, 0, 65535, 2030.0f, 1303.44f, 0.0f, -0.410256f, 0.410256f, 2014, 1152, 2046, 1454, 0, 0, -1},
+ {0, 80, 0, 65535, 1942.56f, 1361.0f, -270.0f, -0.410256f, 0.410256f, 1792, 1345, 2094, 1377, 0, 0, -1},
+ {1, 11, 0, 65535, 511.5f, 1368.0f, 0.0f, 1.5941f, 1.0f, 287, 1362, 736, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 1221.5f, 1368.0f, 0.0f, 1.15873f, 1.0f, 1058, 1362, 1385, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 904.5f, 1368.0f, 0.0f, 1.23583f, 1.0f, 730, 1362, 1079, 1374, 0, 0, -1},
+ {1, 16, 0, 65535, 189.0f, 1299.56f, 15.1593f, 1.0f, 1.00521f, 97, 1222, 282, 1375, 0, 0, -1},
+ {1, 11, 31, 65535, 1217.0f, 1221.5f, 90.0f, 1.0f, 1.0f, 1211, 1081, 1223, 1362, 0, 140, -1},
+ {1, 50, 31, 65535, 1124.0f, 1246.5f, 0.0f, 1.0f, 1.0f, 1118, 1126, 1130, 1367, 0, 0, -1},
+ {1, 51, 31, 65535, 1050.0f, 1284.5f, 0.0f, 1.0f, 1.00625f, 1044, 1203, 1056, 1366, 0, 0, -1},
+ {1, 52, 31, 65535, 972.0f, 1304.0f, 0.0f, 1.0f, 1.0f, 966, 1243, 978, 1365, 0, 0, -1},
+ {1, 55, 31, 65535, 902.0f, 1323.5f, 90.0f, 1.0f, 1.0f, 896, 1282, 908, 1365, 0, 0, -1},
+ {1, 56, 31, 65535, 836.0f, 1336.0f, 90.0f, 1.0f, 1.0f, 830, 1308, 842, 1364, 0, 0, -1},
+ {1, 11, 31, 65535, 345.0f, 1223.5f, 90.0f, 1.0f, 1.0f, 339, 1083, 351, 1364, 0, 140, -1},
+ {1, 50, 31, 65535, 427.0f, 1241.5f, 0.0f, 1.0f, 1.0f, 421, 1121, 433, 1362, 0, 0, -1},
+ {1, 51, 31, 65535, 500.0f, 1284.5f, 0.0f, 1.0f, 1.00625f, 494, 1203, 506, 1366, 0, 0, -1},
+ {1, 52, 31, 65535, 584.0f, 1304.0f, 0.0f, 1.0f, 1.0f, 578, 1243, 590, 1365, 0, 0, -1},
+ {1, 55, 31, 65535, 642.0f, 1323.5f, 90.0f, 1.0f, 1.0f, 636, 1282, 648, 1365, 0, 0, -1},
+ {1, 56, 31, 65535, 719.0f, 1336.0f, 90.0f, 1.0f, 1.0f, 713, 1308, 725, 1364, 0, 0, -1},
+ {1, 57, 31, 65535, 775.5f, 1343.0f, -90.0f, 1.0f, 1.0f, 769, 1322, 782, 1364, 0, 0, -1},
+ {1, 35, 0, 65535, 1621.0f, 1259.0f, 0.0f, 1.0f, 1.00433f, 1380, 1143, 1862, 1376, 0, 0, -1},
+ {1, 35, 0, 65535, 2260.0f, 1258.0f, 0.0f, -1.0f, 1.00433f, 2019, 1142, 2501, 1375, 0, 0, -1},
+ {1, 55, 0, 65535, 49.5f, 1368.0f, 0.0f, 1.16867f, 1.0f, 0, 1362, 98, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 273.5f, 1181.5f, 0.0f, 41.0f, 53.0f, 253, 1155, 294, 1208, 0, 0, -1},
+ {4, 255, 0, 65535, 305.5f, 1114.5f, 0.0f, 41.0f, 53.0f, 285, 1088, 326, 1141, 0, 0, -1},
+ {0, 74, 0, 65535, 135.75f, 1639.5f, 0.0f, 1.186f, 1.0f, -12, 1370, 284, 1927, 0, 0, -1},
+ {0, 74, 0, 65535, 871.5f, 1641.5f, 0.0f, 0.3f, 1.0f, 834, 1372, 909, 1929, 0, 0, -1},
+ {0, 74, 0, 65535, 707.5f, 1642.5f, 0.0f, 1.052f, 1.0f, 577, 1373, 839, 1930, 0, 0, -1},
+ {0, 74, 0, 65535, 448.0f, 1790.5f, 0.0f, 1.536f, 1.0f, 257, 1521, 640, 2078, 0, 0, -1},
+ {0, 80, 0, 65535, 429.0f, 1507.0f, -90.0f, 1.0f, 0.564033f, 221, 1468, 636, 1546, 0, 0, -1},
+ {0, 80, 0, 65535, 588.0f, 1432.5f, -180.0f, 0.641026f, 0.521798f, 563, 1241, 613, 1625, 0, 0, -1},
+ {0, 80, 0, 65535, 274.0f, 1510.0f, -180.0f, -1.0f, 0.373297f, 234, 1373, 313, 1648, 0, 0, -1},
+ {0, 68, 0, 65535, 736.0f, 1313.5f, 0.0f, -0.666667f, 0.680934f, 576, 1225, 896, 1401, 0, 0, -1},
+ {1, 47, 0, 304, 311.488f, 1136.78f, 52.6204f, 1.00235f, 1.0f, 72, 949, 492, 1376, 0, 0, -1},
+ {1, 36, 0, 65535, 737.5f, 1295.5f, 0.0f, -1.0f, 1.0f, 577, 1216, 898, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 139.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 280, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 617.5f, 1061.5f, 0.0f, 41.0f, 53.0f, 597, 1035, 638, 1088, 0, 0, -1},
+ {4, 255, 0, 65535, 642.5f, 1125.5f, 0.0f, 41.0f, 53.0f, 622, 1099, 663, 1152, 0, 0, -1},
+ {4, 255, 0, 65535, 670.5f, 1189.5f, 0.0f, 41.0f, 53.0f, 650, 1163, 691, 1216, 0, 0, -1},
+ {0, 74, 0, 65535, 124.5f, 1510.0f, 90.0f, 1.104f, 0.454231f, -7, 1373, 247, 1648, 0, 0, -1},
+ {0, 74, 0, 65535, 380.0f, 1641.5f, 0.0f, 1.28f, 1.0f, 221, 1372, 540, 1929, 0, 0, -1},
+ {0, 74, 0, 65535, 1046.5f, 1642.5f, 0.0f, 1.716f, 1.0f, 833, 1373, 1261, 1930, 0, 0, -1},
+ {0, 74, 0, 65535, 704.0f, 1790.5f, 0.0f, 1.536f, 1.0f, 513, 1521, 896, 2078, 0, 0, -1},
+ {0, 80, 0, 65535, 685.0f, 1507.0f, -90.0f, 1.0f, 0.564033f, 477, 1468, 892, 1546, 0, 0, -1},
+ {0, 80, 0, 65535, 844.0f, 1432.5f, -180.0f, 0.641026f, 0.521798f, 819, 1241, 869, 1625, 0, 0, -1},
+ {0, 80, 0, 65535, 530.0f, 1510.0f, -180.0f, -1.0f, 0.373297f, 491, 1373, 569, 1648, 0, 0, -1},
+ {0, 68, 0, 65535, 992.0f, 1313.5f, 0.0f, -0.666667f, 0.680934f, 832, 1225, 1152, 1401, 0, 0, -1},
+ {0, 68, 0, 65535, 2643.42f, 1324.05f, 0.0f, -0.489583f, 0.498054f, 2525, 1259, 2761, 1388, 0, 0, -1},
+ {0, 74, 0, 65535, 2887.92f, 1504.05f, 0.0f, 0.512f, 0.497409f, 2824, 1370, 2952, 1648, 0, 0, -1},
+ {0, 77, 0, 65535, 2036.92f, 1487.05f, 90.0f, 4.14286f, 10.2f, 1226, 1375, 2843, 1604, 0, 0, -1},
+ {0, 68, 0, 65535, 2047.92f, 1279.55f, 0.0f, -1.0125f, 1.0f, 1804, 1150, 2291, 1408, 0, 0, -1},
+ {0, 68, 0, 65535, 1564.92f, 1279.55f, 0.0f, 1.0125f, 1.0f, 1321, 1150, 1808, 1408, 0, 0, -1},
+ {0, 68, 0, 65535, 2409.42f, 1324.05f, 0.0f, 0.489583f, 0.498054f, 2291, 1259, 2527, 1388, 0, 0, -1},
+ {1, 11, 0, 65535, 172.0f, 1368.0f, 0.0f, 1.23356f, 1.0f, -2, 1362, 346, 1374, 0, 0, -1},
+ {1, 36, 0, 65535, 993.5f, 1295.5f, 0.0f, -1.0f, 1.0f, 833, 1216, 1154, 1375, 0, 0, -1},
+ {1, 57, 0, 65535, 1166.0f, 1367.5f, 0.0f, 1.0f, 1.0f, 1145, 1361, 1187, 1374, 0, 0, -1},
+ {1, 11, 0, 305, 456.5f, 1368.0f, 0.0f, 0.800454f, 1.0f, 344, 1362, 569, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 2645.42f, 1313.5f, 0.0f, -1.0f, 1.0f, 2524, 1252, 2766, 1375, 0, 0, -1},
+ {1, 35, 0, 65535, 1565.92f, 1258.5f, 0.0f, 1.0f, 1.00433f, 1325, 1143, 1807, 1376, 0, 0, -1},
+ {1, 12, 0, 65535, 2857.92f, 1368.0f, 0.0f, 1.0f, 1.0f, 2763, 1362, 2952, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 2405.92f, 1313.5f, 0.0f, 1.0f, 1.0f, 2285, 1252, 2527, 1375, 0, 0, -1},
+ {1, 35, 0, 65535, 2045.92f, 1258.5f, 0.0f, -1.0f, 1.00433f, 1805, 1143, 2287, 1376, 0, 0, -1},
+ {1, 13, 0, 65535, 1256.42f, 1368.0f, 0.0f, 1.0f, 1.0f, 1185, 1362, 1327, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 660.5f, 1125.5f, 0.0f, 41.0f, 53.0f, 640, 1099, 681, 1152, 0, 0, -1},
+ {4, 255, 0, 65535, 756.5f, 1093.5f, 0.0f, 41.0f, 53.0f, 736, 1067, 777, 1120, 0, 0, -1},
+ {4, 255, 0, 65535, 865.5f, 1109.5f, 0.0f, 41.0f, 53.0f, 845, 1083, 886, 1136, 0, 0, -1},
+ {0, 74, 0, 65535, 124.5f, 1510.0f, 90.0f, 1.104f, 0.454231f, -7, 1373, 247, 1648, 0, 0, -1},
+ {0, 74, 0, 65535, 380.0f, 1642.5f, 0.0f, 1.28f, 1.0f, 221, 1373, 540, 1930, 0, 0, -1},
+ {0, 74, 0, 65535, 704.0f, 1790.5f, 0.0f, 1.536f, 1.0f, 513, 1521, 896, 2078, 0, 0, -1},
+ {0, 80, 0, 65535, 685.0f, 1507.0f, -90.0f, 1.0f, 0.564033f, 477, 1468, 892, 1546, 0, 0, -1},
+ {0, 80, 0, 65535, 530.0f, 1510.0f, -180.0f, -1.0f, 0.373297f, 491, 1373, 569, 1648, 0, 0, -1},
+ {0, 74, 0, 65535, 1954.0f, 1510.0f, 90.0f, 1.104f, 1.07772f, 1644, 1373, 2245, 1648, 0, 0, -1},
+ {0, 74, 0, 65535, 1434.17f, 1510.0f, 90.0f, 1.104f, 0.963155f, 1157, 1373, 1694, 1648, 0, 0, -1},
+ {0, 64, 0, 65535, 1418.67f, 1193.5f, 0.0f, -0.957143f, 1.0f, 1284, 1003, 1553, 1385, 0, 0, -1},
+ {0, 74, 0, 65535, 2245.11f, 1504.02f, 0.0f, 0.512f, 0.497409f, 2181, 1369, 2310, 1648, 0, 0, -1},
+ {0, 77, 0, 65535, 2670.94f, 1487.02f, 90.0f, 4.14286f, 5.67292f, 2219, 1375, 3120, 1604, 0, 0, -1},
+ {0, 68, 0, 65535, 2555.77f, 1279.52f, 0.0f, 0.990278f, 1.0f, 2318, 1150, 2794, 1408, 0, 0, -1},
+ {0, 64, 0, 65535, 1048.98f, 1244.26f, 18.3982f, 1.0f, 1.0f, 855, 1104, 1242, 1471, 0, 0, -1},
+ {0, 74, 0, 65535, 1005.33f, 1644.17f, 0.0f, 1.42667f, 1.02303f, 828, 1368, 1184, 1939, 0, 0, -1},
+ {0, 80, 0, 65535, 812.0f, 1577.33f, -176.35f, 1.0f, 0.564033f, 765, 1368, 865, 1787, 0, 0, -1},
+ {0, 72, 0, 65535, 1247.72f, 1400.09f, 5.55795f, 0.449645f, 1.19561f, 1154, 1014, 1324, 1822, 0, 0, -1},
+ {0, 74, 0, 65535, 1197.19f, 1291.44f, 16.0892f, 0.210668f, 0.408375f, 1139, 1178, 1253, 1412, 0, 0, -1},
+ {0, 64, 0, 65535, 2907.67f, 1270.83f, 0.0f, -0.840476f, 0.592689f, 2790, 1157, 3026, 1385, 0, 0, -1},
+ {1, 11, 0, 65535, 172.0f, 1368.0f, 0.0f, 1.23356f, 1.0f, -2, 1362, 346, 1374, 0, 0, -1},
+ {1, 11, 0, 306, 457.5f, 1368.0f, 0.0f, 0.800454f, 1.0f, 345, 1362, 570, 1374, 0, 0, -1},
+ {1, 14, 0, 65535, 1423.33f, 1186.0f, 0.0f, -1.0f, 1.0f, 1284, 997, 1563, 1375, 0, 0, -1},
+ {1, 13, 0, 65535, 1789.67f, 1368.0f, 0.0f, 3.30083f, 1.0f, 1556, 1362, 2023, 1374, 0, 0, -1},
+ {1, 58, 0, 65535, 1740.0f, 900.0f, -392.28f, 1.00235f, 1.00469f, 1502, 695, 1897, 1023, 0, 0, -1},
+ {1, 35, 0, 65535, 2562.11f, 1258.5f, 0.0f, 1.0f, 1.00433f, 2321, 1143, 2803, 1376, 0, 0, -1},
+ {1, 13, 0, 65535, 2171.61f, 1368.0f, 0.0f, 2.16944f, 1.0f, 2018, 1362, 2325, 1374, 0, 0, -1},
+ {1, 14, 0, 65535, 1052.5f, 1238.94f, 18.3982f, 1.0f, 1.0f, 863, 1100, 1243, 1376, 0, 0, -1},
+ {1, 55, 0, 65535, 3057.5f, 1368.0f, 0.0f, 1.2008f, 1.0f, 3007, 1362, 3108, 1374, 0, 0, -1},
+ {1, 55, 0, 65535, 1263.22f, 1052.28f, -63.0682f, 1.38437f, 1.0f, 1231, 998, 1295, 1107, 0, 0, -1},
+ {4, 255, 0, 65535, 2441.5f, 912.5f, 0.0f, 41.0f, 53.0f, 2421, 886, 2462, 939, 0, 0, -1},
+ {4, 255, 0, 65535, 2324.5f, 986.5f, 0.0f, 41.0f, 53.0f, 2304, 960, 2345, 1013, 0, 0, -1},
+ {4, 255, 0, 65535, 2386.5f, 958.5f, 0.0f, 41.0f, 53.0f, 2366, 932, 2407, 985, 0, 0, -1},
+ {1, 58, 0, 65535, 2348.0f, 900.003f, -392.28f, 1.00235f, 1.00469f, 2110, 695, 2505, 1024, 0, 0, -1},
+ {4, 255, 0, 65535, 2472.5f, 835.5f, 0.0f, 41.0f, 53.0f, 2452, 809, 2493, 862, 0, 0, -1},
+ {1, 56, 0, 65535, 830.25f, 1368.0f, 0.0f, 1.22321f, 1.0f, 796, 1362, 865, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 2900.53f, 1260.87f, -7.81937f, -1.0f, 1.00394f, 2790, 1146, 3009, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 1716.5f, 986.5f, 0.0f, 41.0f, 53.0f, 1696, 960, 1737, 1013, 0, 0, -1},
+ {4, 255, 0, 65535, 1778.5f, 958.5f, 0.0f, 41.0f, 53.0f, 1758, 932, 1799, 985, 0, 0, -1},
+ {4, 255, 0, 65535, 1833.5f, 912.5f, 0.0f, 41.0f, 53.0f, 1813, 886, 1854, 939, 0, 0, -1},
+ {4, 255, 0, 65535, 1864.5f, 835.5f, 0.0f, 41.0f, 53.0f, 1844, 809, 1885, 862, 0, 0, -1},
+ {0, 77, 0, 65535, 188.5f, 1501.0f, 90.0f, 4.67857f, 2.43125f, -5, 1374, 381, 1632, 0, 0, -1},
+ {0, 77, 0, 65535, 465.5f, 1515.0f, 90.0f, 5.25f, 2.40625f, 274, 1373, 656, 1662, 0, 0, -1},
+ {0, 80, 0, 65535, 358.602f, 1496.0f, 0.0f, -0.348774f, 0.348774f, 345, 1367, 373, 1624, 0, 0, -1},
+ {0, 64, 0, 65535, 196.0f, 1196.5f, 0.0f, 1.0f, 1.0f, 56, 1006, 336, 1388, 0, 0, -1},
+ {0, 64, 0, 65535, 462.0f, 1196.5f, 0.0f, -1.0f, 1.0f, 322, 1006, 602, 1388, 0, 0, -1},
+ {0, 64, 0, 65535, 1118.0f, 1197.05f, 0.0f, -1.0f, 1.0f, 978, 1006, 1258, 1389, 0, 0, -1},
+ {0, 64, 0, 65535, 852.0f, 1197.05f, 0.0f, 1.0f, 1.0f, 712, 1006, 992, 1389, 0, 0, -1},
+ {0, 77, 0, 65535, 1127.0f, 1513.55f, 90.0f, 5.25f, 2.475f, 930, 1371, 1323, 1661, 0, 0, -1},
+ {0, 80, 0, 65535, 1014.6f, 1494.55f, 0.0f, -0.348774f, 0.348774f, 1001, 1366, 1029, 1623, 0, 0, -1},
+ {0, 77, 0, 65535, 846.5f, 1499.55f, 90.0f, 4.67857f, 2.40625f, 655, 1373, 1037, 1631, 0, 0, -1},
+ {1, 14, 0, 65535, 190.0f, 1186.0f, 0.0f, 1.0f, 1.0f, 50, 997, 329, 1375, 0, 0, -1},
+ {1, 14, 0, 65535, 466.0f, 1186.0f, 0.0f, -1.0f, 1.0f, 327, 997, 606, 1375, 0, 0, -1},
+ {1, 56, 0, 65535, 27.3333f, 1368.0f, 0.0f, 1.08333f, 1.0f, -3, 1362, 58, 1374, 0, 0, -1},
+ {1, 56, 0, 65535, 656.0f, 1368.0f, 0.0f, 2.0119f, 1.0f, 599, 1362, 713, 1374, 0, 0, -1},
+ {1, 14, 0, 65535, 1122.0f, 1186.0f, 0.0f, -1.0f, 1.0f, 983, 997, 1262, 1375, 0, 0, -1},
+ {1, 14, 0, 65535, 846.0f, 1185.55f, 0.0f, 1.0f, 1.0f, 706, 997, 985, 1375, 0, 0, -1},
+ {1, 56, 0, 65535, 1286.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 1258, 1362, 1314, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 392.5f, 766.5f, 0.0f, 41.0f, 53.0f, 372, 740, 413, 793, 0, 0, -1},
+ {4, 255, 0, 65535, 434.5f, 824.5f, 0.0f, 41.0f, 53.0f, 414, 798, 455, 851, 0, 0, -1},
+ {4, 255, 0, 65535, 349.5f, 814.5f, 0.0f, 41.0f, 53.0f, 329, 788, 370, 841, 0, 0, -1},
+ {4, 255, 0, 65535, 319.5f, 898.5f, 0.0f, 41.0f, 53.0f, 299, 872, 340, 925, 0, 0, -1},
+ {0, 74, 0, 65535, 120.0f, 1637.5f, 0.0f, 1.032f, 1.0f, -8, 1368, 249, 1925, 0, 0, -1},
+ {0, 74, 0, 65535, 716.0f, 1689.5f, 0.0f, 3.936f, 1.18653f, 227, 1369, 1208, 2031, 0, 0, -1},
+ {0, 67, 0, 65535, 1176.0f, 1532.5f, 0.0f, 1.5974f, 2.08442f, 1053, 1370, 1299, 1695, 0, 0, -1},
+ {0, 70, 0, 65535, 218.5f, 1557.5f, 0.0f, 1.0f, 1.0f, 129, 1205, 307, 1939, 0, 0, -1},
+ {0, 70, 0, 65535, 1046.5f, 1552.5f, 0.0f, -1.0f, 1.0f, 958, 1200, 1136, 1934, 0, 0, -1},
+ {0, 80, 0, 65535, 310.0f, 1322.5f, 0.0f, 0.102564f, 0.325613f, 306, 1202, 314, 1442, 0, 0, -1},
+ {0, 80, 0, 65535, 958.0f, 1317.5f, 0.0f, -0.102564f, 0.325613f, 954, 1197, 962, 1437, 0, 0, -1},
+ {1, 13, 0, 65535, 69.0f, 1368.0f, 0.0f, 1.00709f, 1.0f, -2, 1362, 140, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 1208.17f, 1368.0f, 0.0f, 1.08823f, 1.0f, 1131, 1362, 1285, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 223.5f, 1281.5f, 0.0f, 1.00541f, 1.00541f, 129, 1187, 318, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 1048.52f, 1281.53f, -270.0f, 1.00541f, 1.00541f, 956, 1188, 1143, 1376, 0, 0, -1},
+ {2, 0, 0, 65535, 464.0f, 1343.0f, 0.0f, 0.820513f, 1.0f, 306, 1311, 622, 1374, 0, 0, -1},
+ {2, 0, 0, 65535, 791.0f, 1343.0f, 0.0f, 0.895105f, 1.0f, 618, 1311, 963, 1374, 0, 0, -1},
+ {1, 26, 0, 307, 453.5f, 1149.5f, 0.0f, 1.00606f, 1.00606f, 369, 1065, 538, 1234, 0, 0, -1},
+ {1, 26, 0, 308, 613.5f, 962.5f, 0.0f, 1.00606f, 1.00606f, 529, 878, 698, 1047, 0, 0, -1},
+ {1, 26, 0, 309, 837.5f, 1149.5f, 0.0f, 1.00606f, 1.00606f, 753, 1065, 922, 1234, 0, 0, -1},
+ {4, 255, 0, 65535, 660.5f, 805.5f, 0.0f, 41.0f, 53.0f, 640, 779, 681, 832, 0, 0, -1},
+ {4, 255, 0, 65535, 760.5f, 832.5f, 0.0f, 41.0f, 53.0f, 740, 806, 781, 859, 0, 0, -1},
+ {4, 255, 0, 65535, 854.5f, 896.5f, 0.0f, 41.0f, 53.0f, 834, 870, 875, 923, 0, 0, -1},
+ {0, 77, 0, 65535, 171.0f, 1501.0f, 90.0f, 4.67857f, 2.25f, -8, 1374, 349, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1499.0f, 0.0f, 0.348774f, 0.348774f, 348, 1370, 376, 1627, 0, 0, -1},
+ {0, 77, 0, 65535, 1125.5f, 1517.0f, 90.0f, 5.25f, 2.06875f, 961, 1375, 1289, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 950.602f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 937, 1369, 965, 1626, 0, 0, -1},
+ {0, 68, 0, 65535, 223.0f, 1308.5f, -2.33731f, 0.6f, 0.571984f, 81, 1228, 370, 1388, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1357.0f, 0.0f, 0.348774f, 0.348774f, 348, 1228, 376, 1485, 0, 0, -1},
+ {0, 77, 0, 65535, 591.0f, 1661.0f, 90.0f, 4.67857f, 5.8125f, 128, 1534, 1051, 1792, 0, 0, -1},
+ {1, 56, 0, 65535, 25.0f, 1368.0f, 0.0f, 1.0f, 1.0f, -3, 1362, 53, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 1112.0f, 1368.0f, 0.0f, 1.22449f, 1.0f, 939, 1362, 1285, 1374, 0, 0, -1},
+ {1, 36, 0, 65535, 210.5f, 1295.5f, 0.0f, 1.0f, 1.0f, 50, 1216, 371, 1375, 0, 0, -1},
+ {2, 0, 0, 65535, 527.5f, 1504.0f, 0.0f, 0.83683f, 1.0f, 366, 1472, 688, 1535, 0, 0, -1},
+ {2, 0, 0, 65535, 801.5f, 1504.0f, 0.0f, 0.752914f, 1.0f, 656, 1472, 946, 1535, 0, 0, -1},
+ {1, 17, 0, 310, 512.0f, 1182.5f, -35.8959f, 1.0f, 1.0f, 408, 1097, 597, 1240, 0, 0, -1},
+ {1, 17, 0, 311, 736.558f, 1039.41f, -168.169f, 1.0f, 1.0f, 619, 1010, 848, 1087, 0, 0, -1},
+ {1, 17, 0, 312, 992.0f, 1111.5f, -650.896f, 1.0f, 1.0f, 956, 996, 1056, 1215, 0, 0, -1},
+ {1, 17, 0, 313, 775.0f, 1278.5f, 40.7407f, 1.0f, 1.0f, 696, 1188, 875, 1343, 0, 0, -1},
+ {4, 255, 0, 65535, 1151.5f, 1004.5f, 0.0f, 41.0f, 53.0f, 1131, 978, 1172, 1031, 0, 0, -1},
+ {4, 255, 0, 65535, 1104.5f, 950.5f, 0.0f, 41.0f, 53.0f, 1084, 924, 1125, 977, 0, 0, -1},
+ {4, 255, 0, 65535, 1184.5f, 1070.5f, 0.0f, 41.0f, 53.0f, 1164, 1044, 1205, 1097, 0, 0, -1},
+ {0, 77, 0, 65535, 151.833f, 1501.57f, 90.0f, 4.66325f, 2.10625f, -16, 1375, 319, 1633, 0, 0, -1},
+ {0, 77, 0, 65535, 926.202f, 1578.26f, 90.0f, 2.08059f, 8.50165f, 250, 1522, 1598, 1637, 0, 0, -1},
+ {0, 77, 0, 65535, 1537.0f, 1487.0f, 90.0f, 4.14286f, 0.0666669f, 1531, 1375, 1543, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 926.5f, 1487.0f, 90.0f, 4.14286f, 0.435417f, 891, 1375, 961, 1603, 0, 0, -1},
+ {0, 68, 0, 65535, 1363.0f, 1459.0f, 0.0f, 0.7125f, 0.684825f, 1192, 1370, 1534, 1547, 0, 0, -1},
+ {0, 68, 0, 65535, 739.0f, 1457.0f, 0.0f, 0.7125f, 0.684825f, 568, 1368, 910, 1545, 0, 0, -1},
+ {0, 80, 0, 65535, 331.0f, 1521.0f, -11.3679f, 0.641026f, 0.395095f, 277, 1374, 378, 1669, 0, 0, -1},
+ {0, 80, 0, 65535, 972.929f, 1518.92f, -11.3679f, 0.641026f, 0.395095f, 919, 1372, 1020, 1666, 0, 0, -1},
+ {0, 80, 0, 65535, 396.929f, 1513.92f, 280.958f, 0.895125f, 0.527992f, 199, 1450, 593, 1586, 0, 0, -1},
+ {0, 80, 0, 65535, 1110.49f, 1524.12f, 280.958f, 0.895124f, 0.527992f, 913, 1461, 1306, 1596, 0, 0, -1},
+ {0, 77, 0, 65535, 1648.31f, 1501.57f, 90.0f, 4.66325f, 1.49402f, 1529, 1375, 1767, 1633, 0, 0, -1},
+ {4, 255, 0, 65535, 589.5f, 1465.0f, 0.0f, 81.0f, 106.0f, 549, 1412, 630, 1518, 0, 0, -1},
+ {4, 255, 0, 65535, 1224.5f, 1465.0f, 0.0f, 81.0f, 106.0f, 1184, 1412, 1265, 1518, 0, 0, -1},
+ {1, 57, 0, 65535, 928.833f, 1368.0f, 0.0f, 1.61111f, 1.0f, 895, 1362, 963, 1374, 0, 0, -1},
+ {1, 36, 0, 65535, 736.833f, 1441.0f, 0.0f, 1.0f, 1.0f, 576, 1362, 898, 1520, 0, 0, -1},
+ {1, 36, 0, 65535, 1376.83f, 1441.0f, 0.0f, 1.0f, 1.0f, 1216, 1362, 1538, 1520, 0, 0, -1},
+ {4, 255, 0, 65535, 927.0f, 1321.0f, 0.0f, 81.0f, 106.0f, 886, 1268, 968, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 157.5f, 1368.0f, 0.0f, 1.12811f, 1.0f, -1, 1362, 316, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1649.66f, 1368.0f, 0.0f, 1.20256f, 1.0f, 1536, 1362, 1763, 1374, 0, 0, -1},
+ {0, 77, 0, 65535, 31.0f, 1487.0f, 90.0f, 4.14286f, 0.416667f, -3, 1375, 64, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1084.0f, 1561.5f, 90.0f, 1.48214f, 3.32917f, 819, 1521, 1348, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 261.0f, 1561.67f, 90.0f, 1.5f, 2.5375f, 59, 1521, 462, 1604, 0, 0, -1},
+ {0, 77, 0, 65535, 1345.0f, 1487.0f, 90.0f, 4.14286f, 0.0666669f, 1339, 1375, 1351, 1603, 0, 0, -1},
+ {0, 68, 0, 65535, 1171.0f, 1459.0f, 0.0f, 0.7125f, 0.684825f, 1000, 1370, 1342, 1547, 0, 0, -1},
+ {0, 80, 0, 65535, 244.095f, 1358.59f, -5.91137f, 0.663229f, 0.340746f, 205, 1232, 278, 1486, 0, 0, -1},
+ {0, 80, 0, 65535, 362.146f, 1510.91f, 286.665f, 1.50161f, 0.527992f, 159, 1412, 561, 1623, 0, 0, -1},
+ {0, 64, 0, 65535, 927.887f, 1455.31f, -274.034f, 0.657674f, 0.922116f, 745, 1375, 1110, 1560, 0, 0, -1},
+ {0, 70, 0, 65535, 118.5f, 1656.83f, 2.14201f, 1.27872f, 1.346f, -12, 1186, 249, 2172, 0, 0, -1},
+ {0, 80, 0, 65535, 585.264f, 1494.55f, 606.324f, 1.5016f, 0.527992f, 390, 1376, 787, 1627, 0, 0, -1},
+ {0, 77, 0, 65535, 648.074f, 1569.37f, 81.9347f, 2.78257f, 2.5375f, 437, 1466, 858, 1675, 0, 0, -1},
+ {4, 255, 0, 65535, 333.5f, 1098.0f, 0.0f, 81.0f, 106.0f, 293, 1045, 374, 1151, 0, 0, -1},
+ {4, 255, 0, 65535, 428.5f, 1058.0f, 0.0f, 81.0f, 106.0f, 388, 1005, 469, 1111, 0, 0, -1},
+ {1, 57, 0, 65535, 30.3334f, 1368.0f, 0.0f, 1.68254f, 1.0f, -5, 1362, 66, 1374, 0, 0, -1},
+ {1, 36, 0, 65535, 1184.83f, 1441.0f, 0.0f, 1.0f, 1.0f, 1024, 1362, 1346, 1520, 0, 0, -1},
+ {1, 13, 0, 65535, 164.185f, 1268.02f, -44.2568f, 2.06321f, 1.0f, 55, 1162, 273, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 888.833f, 1443.79f, -277.812f, 1.0f, 1.00394f, 750, 1366, 1026, 1520, 0, 0, -1},
+ {4, 255, 0, 65535, 527.0f, 1035.0f, 0.0f, 81.0f, 106.0f, 486, 982, 568, 1088, 0, 0, -1},
+ {4, 255, 0, 65535, 619.0f, 1061.0f, 0.0f, 81.0f, 106.0f, 578, 1008, 660, 1114, 0, 0, -1},
+ {0, 77, 0, 65535, 304.809f, 1296.89f, 90.0f, 4.14286f, 0.866667f, 235, 1185, 374, 1413, 0, 0, -1},
+ {0, 77, 0, 65535, 896.991f, 1349.84f, 95.724f, 4.14286f, 1.1125f, 797, 1229, 996, 1475, 0, 0, -1},
+ {0, 66, 0, 65535, 595.115f, 1343.53f, 5.72397f, 1.0f, 1.0f, 342, 1181, 848, 1506, 0, 0, -1},
+ {0, 74, 0, 65535, 256.868f, 1508.33f, 90.0f, 1.09333f, 0.920095f, -8, 1372, 505, 1646, 0, 0, -1},
+ {0, 77, 0, 65535, 1033.84f, 1507.85f, 90.0f, 4.93577f, 3.93507f, 721, 1374, 1345, 1647, 0, 0, -1},
+ {0, 77, 0, 65535, 624.766f, 1555.12f, 90.0f, 4.93577f, 3.93507f, 311, 1421, 936, 1694, 0, 0, -1},
+ {0, 64, 0, 65535, 188.455f, 1278.41f, 0.0f, 0.435741f, 0.503732f, 127, 1182, 250, 1375, 0, 0, -1},
+ {0, 68, 0, 65535, 1102.45f, 1316.88f, 185.014f, 0.526196f, -0.511786f, 970, 1239, 1225, 1394, 0, 0, -1},
+ {1, 57, 0, 65535, 305.142f, 1177.89f, 0.0f, 3.31746f, 1.0f, 235, 1171, 375, 1184, 0, 0, -1},
+ {1, 23, 0, 65535, 604.133f, 1290.33f, 5.72397f, 1.0f, 1.00529f, 373, 1171, 853, 1386, 0, 0, -1},
+ {1, 57, 0, 65535, 920.238f, 1232.69f, 5.72397f, 3.50135f, 1.0f, 846, 1219, 994, 1246, 0, 0, -1},
+ {2, 2, 0, 314, 613.933f, 1201.29f, 5.72397f, 0.455386f, 0.455386f, 467, 1087, 761, 1315, 0, 0, -1},
+ {1, 13, 0, 65535, 62.0f, 1368.0f, 0.0f, 0.893617f, 1.0f, -1, 1362, 125, 1374, 0, 0, -1},
+ {1, 16, 0, 65535, 184.105f, 1272.91f, -5.02145f, 1.0f, 1.00521f, 120, 1172, 247, 1375, 0, 0, -1},
+ {1, 13, 0, 65535, 1285.0f, 1368.0f, 0.0f, 0.893617f, 1.0f, 1222, 1362, 1348, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 1108.05f, 1304.44f, 184.461f, 1.0f, -1.0f, 991, 1234, 1225, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 614.809f, 1361.55f, 0.0f, 81.0f, 106.0f, 574, 1308, 656, 1415, 0, 0, -1},
+ {4, 255, 0, 65535, 540.809f, 1346.22f, 0.0f, 81.0f, 106.0f, 500, 1293, 582, 1400, 0, 0, -1},
+ {4, 255, 0, 65535, 746.475f, 1290.55f, 0.0f, 81.0f, 106.0f, 705, 1237, 787, 1344, 0, 0, -1},
+ {4, 255, 0, 65535, 694.975f, 1341.89f, 0.0f, 81.0f, 106.0f, 654, 1288, 736, 1395, 0, 0, -1},
+ {4, 255, 0, 65535, 477.975f, 1289.89f, 0.0f, 81.0f, 106.0f, 437, 1236, 519, 1343, 0, 0, -1},
+ {0, 77, 0, 65535, 72.8333f, 1487.0f, 90.0f, 4.14286f, 1.04375f, -11, 1375, 156, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 797.5f, 1487.0f, 90.0f, 4.14286f, 0.94375f, 722, 1375, 873, 1603, 0, 0, -1},
+ {0, 68, 0, 65535, 597.076f, 1459.37f, 0.0f, 0.666984f, 0.666984f, 436, 1372, 758, 1545, 0, 0, -1},
+ {0, 68, 0, 65535, 276.924f, 1459.37f, 0.0f, -0.666984f, 0.666984f, 116, 1372, 437, 1545, 0, 0, -1},
+ {0, 77, 0, 65535, 438.167f, 1570.0f, 90.0f, 1.17857f, 3.77292f, 138, 1538, 737, 1603, 0, 0, -1},
+ {4, 255, 0, 65535, 296.167f, 1440.0f, 0.0f, 81.0f, 106.0f, 255, 1387, 337, 1493, 0, 0, -1},
+ {4, 255, 0, 65535, 513.167f, 1470.0f, 0.0f, 81.0f, 106.0f, 472, 1417, 554, 1523, 0, 0, -1},
+ {1, 57, 0, 65535, 57.6667f, 1368.0f, 0.0f, 2.87302f, 1.0f, -3, 1362, 119, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 359.0f, 1474.33f, 0.0f, 81.0f, 106.0f, 318, 1421, 400, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 433.0f, 1489.67f, 0.0f, 81.0f, 106.0f, 392, 1436, 474, 1543, 0, 0, -1},
+ {1, 57, 0, 65535, 811.0f, 1368.0f, 0.0f, 2.61905f, 1.0f, 756, 1362, 866, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 572.667f, 1436.67f, 0.0f, 81.0f, 106.0f, 532, 1383, 614, 1490, 0, 0, -1},
+ {2, 1, 0, 315, 436.0f, 1245.0f, 0.0f, 0.504373f, 0.504373f, 273, 1082, 598, 1406, 0, 0, -1},
+ {1, 36, 0, 65535, 597.167f, 1441.25f, 0.0f, 1.0f, 1.0f, 436, 1362, 758, 1521, 0, 0, -1},
+ {1, 36, 0, 65535, 276.167f, 1441.25f, 0.0f, -1.0f, 1.0f, 115, 1362, 437, 1521, 0, 0, -1},
+ {0, 77, 0, 65535, 13.8333f, 1487.0f, 90.0f, 4.14286f, 0.30625f, -11, 1375, 39, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 436.167f, 1487.0f, 90.0f, 4.14286f, 5.30625f, 14, 1375, 856, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 320.167f, 1570.0f, 90.0f, 1.17857f, 3.77292f, 20, 1538, 619, 1603, 0, 0, -1},
+ {0, 68, 0, 65535, 238.0f, 1282.17f, 0.0f, 1.0f, 1.0f, -2, 1152, 478, 1411, 0, 0, -1},
+ {0, 65, 0, 65535, 633.283f, 1127.07f, -53.6747f, 1.02212f, 1.44444f, 477, 969, 866, 1389, 0, 0, -1},
+ {0, 77, 0, 65535, 801.333f, 1204.0f, 0.0f, 6.2619f, 2.41667f, 632, 1013, 977, 1397, 0, 0, -1},
+ {0, 77, 0, 65535, 554.0f, 1274.0f, 0.0f, 2.9762f, 1.54167f, 473, 1152, 638, 1397, 0, 0, -1},
+ {0, 64, 0, 65535, 1127.33f, 1202.17f, 0.0f, -1.14286f, 1.0f, 967, 1011, 1288, 1394, 0, 0, -1},
+ {0, 80, 0, 65535, 797.861f, 990.784f, 279.418f, 0.41999f, 0.512704f, 609, 947, 986, 1038, 0, 0, -1},
+ {0, 77, 0, 65535, 1101.17f, 1487.0f, 90.0f, 4.14286f, 5.30625f, 679, 1375, 1521, 1603, 0, 0, -1},
+ {4, 255, 0, 65535, 483.167f, 910.333f, 0.0f, 81.0f, 106.0f, 442, 857, 524, 964, 0, 0, -1},
+ {4, 255, 0, 65535, 1086.5f, 1210.33f, 0.0f, 81.0f, 106.0f, 1046, 1157, 1127, 1264, 0, 0, -1},
+ {4, 255, 0, 65535, 484.667f, 632.0f, 0.0f, 81.0f, 106.0f, 444, 579, 526, 685, 0, 0, -1},
+ {4, 255, 0, 65535, 1049.44f, 1137.11f, 0.0f, 81.0f, 106.0f, 1008, 1084, 1090, 1191, 0, 0, -1},
+ {4, 255, 0, 65535, 1140.0f, 1264.33f, 0.0f, 81.0f, 106.0f, 1099, 1211, 1181, 1318, 0, 0, -1},
+ {1, 59, 0, 65535, 550.0f, 1012.0f, 270.0f, 1.00348f, 1.0f, 478, 867, 622, 1157, 0, 0, -1},
+ {1, 59, 0, 65535, 253.0f, 927.0f, 34.5709f, 1.00348f, 1.0f, 149, 785, 413, 1012, 0, 0, -1},
+ {1, 59, 0, 65535, 550.0f, 733.0f, 270.0f, 1.00348f, 1.0f, 478, 588, 622, 878, 0, 0, -1},
+ {1, 59, 0, 316, 252.748f, 734.033f, 0.0f, 1.00348f, 1.0f, 108, 662, 398, 807, 0, 0, -1},
+ {1, 35, 0, 65535, 238.5f, 1259.0f, 0.0f, 1.0f, 1.00433f, -2, 1143, 479, 1376, 0, 0, -1},
+ {1, 14, 0, 65535, 1121.72f, 1191.22f, -2.1292f, -1.0f, 1.0f, 976, 1007, 1268, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 1384.5f, 1368.0f, 0.0f, 0.864769f, 1.0f, 1263, 1362, 1506, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1195.0f, 1307.33f, 0.0f, 81.0f, 106.0f, 1154, 1254, 1236, 1361, 0, 0, -1},
+ {1, 16, 0, 65535, 894.167f, 936.833f, 271.751f, 1.0f, 1.00521f, 800, 863, 989, 1011, 0, 0, -1},
+ {0, 77, 0, 65535, 74.0f, 1487.0f, 90.0f, 4.14286f, 1.02917f, -8, 1375, 156, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 654.667f, 1487.0f, 90.0f, 4.14286f, 6.0375f, 174, 1375, 1132, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 438.167f, 1570.0f, 90.0f, 1.17857f, 3.77292f, 138, 1538, 737, 1603, 0, 0, -1},
+ {0, 70, 0, 65535, 139.5f, 1616.5f, 0.0f, 1.0f, 1.0f, 50, 1264, 228, 1998, 0, 0, -1},
+ {0, 80, 0, 65535, 567.312f, 1341.38f, -90.4424f, 0.932748f, 1.00285f, 198, 1305, 936, 1381, 0, 0, -1},
+ {0, 80, 0, 65535, 984.398f, 1451.33f, -383.16f, 0.603965f, 0.405434f, 904, 1307, 1060, 1598, 0, 0, -1},
+ {0, 80, 0, 65535, 321.651f, 1378.97f, -406.349f, 0.603964f, 0.404951f, 197, 1263, 442, 1499, 0, 0, -1},
+ {4, 255, 0, 65535, 822.0f, 1136.0f, 0.0f, 81.0f, 106.0f, 781, 1083, 863, 1189, 0, 0, -1},
+ {4, 255, 0, 65535, 466.833f, 1136.33f, 0.0f, 81.0f, 106.0f, 426, 1083, 508, 1190, 0, 0, -1},
+ {1, 57, 0, 65535, 57.6667f, 1368.0f, 0.0f, 2.87302f, 1.0f, -3, 1362, 119, 1374, 0, 0, -1},
+ {1, 7, 0, 65535, 169.5f, 1315.0f, 0.0f, 1.0f, 1.0084f, 110, 1254, 229, 1375, 0, 0, -1},
+ {1, 55, 0, 65535, 1047.0f, 1368.0f, 0.0f, 1.83936f, 1.0f, 970, 1362, 1124, 1374, 0, 0, -1},
+ {1, 49, 0, 65535, 823.0f, 1239.0f, 0.0f, 1.00457f, 1.0f, 712, 1151, 934, 1327, 0, 0, -1},
+ {1, 49, 0, 65535, 469.0f, 1239.0f, 0.0f, 1.00457f, 1.0f, 358, 1151, 580, 1327, 0, 0, -1},
+ {0, 77, 0, 65535, 56.8333f, 1487.0f, 90.0f, 4.14286f, 0.79375f, -7, 1375, 120, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 726.167f, 1487.0f, 90.0f, 4.14286f, 1.46875f, 609, 1375, 843, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 425.167f, 1570.0f, 90.0f, 1.17857f, 3.93542f, 112, 1538, 737, 1603, 0, 0, -1},
+ {0, 80, 0, 65535, 109.0f, 1524.5f, 0.0f, 0.794872f, 0.412807f, 78, 1372, 140, 1676, 0, 0, -1},
+ {0, 80, 0, 65535, 619.0f, 1524.5f, -175.63f, 0.794872f, 0.412807f, 581, 1371, 662, 1679, 0, 0, -1},
+ {1, 57, 0, 65535, 57.6667f, 1368.0f, 0.0f, 2.87302f, 1.0f, -3, 1362, 119, 1374, 0, 0, -1},
+ {1, 55, 0, 65535, 722.0f, 1368.0f, 0.0f, 2.73092f, 1.0f, 608, 1362, 836, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 279.5f, 1195.0f, 0.0f, 81.0f, 106.0f, 239, 1142, 320, 1248, 0, 0, -1},
+ {4, 255, 0, 65535, 338.0f, 1170.0f, 0.0f, 81.0f, 106.0f, 297, 1117, 379, 1223, 0, 0, -1},
+ {4, 255, 0, 65535, 412.0f, 1162.0f, 0.0f, 81.0f, 106.0f, 371, 1109, 453, 1215, 0, 0, -1},
+ {4, 255, 0, 65535, 476.0f, 1185.0f, 0.0f, 81.0f, 106.0f, 435, 1132, 517, 1238, 0, 0, -1},
+ {4, 255, 0, 65535, 536.0f, 1224.0f, 0.0f, 81.0f, 106.0f, 495, 1171, 577, 1277, 0, 0, -1},
+ {2, 0, 0, 65535, 364.5f, 1506.0f, 0.0f, 1.27506f, 1.0f, 119, 1474, 609, 1537, 0, 0, -1},
+ {1, 13, 0, 317, 537.702f, 1368.01f, -180.0f, 1.0f, 1.0f, 467, 1362, 609, 1375, 0, 0, -1},
+ {1, 13, 0, 318, 163.608f, 1319.91f, -45.0f, 1.0f, 1.0f, 109, 1265, 218, 1374, 0, 0, -1},
+ {0, 77, 0, 65535, 796.0f, 1517.0f, 90.0f, 5.25f, 5.45f, 362, 1375, 1227, 1664, 0, 0, -1},
+ {0, 70, 0, 65535, 293.5f, 1382.5f, 0.0f, 1.0f, 1.0f, 204, 1030, 382, 1764, 0, 0, -1},
+ {0, 80, 0, 65535, 544.74f, 1355.98f, -90.0f, 0.614904f, 0.510244f, 356, 1332, 732, 1380, 0, 0, -1},
+ {0, 80, 0, 65535, 391.333f, 1201.16f, 0.0f, 0.264958f, 0.482743f, 381, 1023, 402, 1379, 0, 0, -1},
+ {0, 70, 0, 65535, 121.5f, 1549.5f, 0.0f, 1.0f, 1.0f, 32, 1197, 210, 1931, 0, 0, -1},
+ {0, 77, 0, 65535, 114.0f, 1517.0f, 90.0f, 5.25f, 1.5f, -6, 1375, 233, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 911.605f, 1387.97f, -440.085f, 0.614904f, 0.510244f, 722, 1338, 1100, 1444, 0, 0, -1},
+ {1, 11, 0, 65535, 1042.0f, 1368.0f, 0.0f, 1.25296f, 1.0f, 865, 1362, 1219, 1374, 0, 0, -1},
+ {1, 59, 0, 319, 588.0f, 958.0f, 180.0f, 1.00348f, 1.0f, 443, 886, 733, 1030, 0, 0, -1},
+ {2, 1, 0, 320, 588.0f, 1031.0f, 0.0f, -0.399417f, 0.399417f, 459, 902, 717, 1159, 0, 0, -1},
+ {1, 40, 0, 65535, 123.5f, 1281.83f, 0.0f, 1.00541f, 1.00541f, 29, 1188, 218, 1375, 0, 0, -1},
+ {1, 40, 0, 65535, 296.5f, 1108.83f, 0.0f, 1.00541f, 1.00541f, 202, 1015, 391, 1202, 0, 0, -1},
+ {1, 57, 0, 65535, 19.0f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 40, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 587.5f, 864.5f, 0.0f, 41.0f, 53.0f, 567, 838, 608, 891, 0, 0, -1},
+ {4, 255, 0, 65535, 541.5f, 871.5f, 0.0f, 41.0f, 53.0f, 521, 845, 562, 898, 0, 0, -1},
+ {4, 255, 0, 65535, 632.5f, 861.5f, 0.0f, 41.0f, 53.0f, 612, 835, 653, 888, 0, 0, -1},
+ {0, 68, 0, 65535, 377.0f, 1279.0f, 0.0f, 1.0125f, 1.00389f, 134, 1148, 620, 1408, 0, 0, -1},
+ {0, 77, 0, 65535, 1201.67f, 1516.0f, 90.0f, 5.28571f, 14.6208f, 39, 1373, 2357, 1664, 0, 0, -1},
+ {0, 74, 0, 65535, 40.3225f, 1637.5f, 0.0f, 0.42142f, 1.0f, -12, 1368, 94, 1925, 0, 0, -1},
+ {0, 80, 0, 65535, 978.0f, 1369.0f, 270.0f, 1.0f, 1.0f, 610, 1330, 1345, 1408, 0, 0, -1},
+ {0, 80, 0, 65535, 624.0f, 1312.0f, -6.7915f, 0.923077f, 0.430518f, 569, 1151, 671, 1474, 0, 0, -1},
+ {0, 80, 0, 65535, 1585.17f, 1379.11f, 271.977f, 1.0f, 1.0f, 1216, 1333, 1953, 1431, 0, 0, -1},
+ {1, 35, 0, 65535, 379.0f, 1258.5f, 0.0f, 1.0f, 1.00433f, 138, 1143, 620, 1376, 0, 0, -1},
+ {1, 13, 0, 65535, 69.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 140, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 2144.5f, 1368.0f, 0.0f, 2.74468f, 1.0f, 1951, 1362, 2338, 1374, 0, 0, -1},
+ {1, 59, 0, 321, 873.86f, 1248.25f, -15.0f, 1.00348f, 1.0f, 715, 1141, 1000, 1323, 0, 0, -1},
+ {1, 59, 0, 322, 1188.86f, 1248.25f, -30.0f, 1.00348f, 1.0f, 1027, 1113, 1298, 1331, 0, 0, -1},
+ {1, 59, 0, 323, 1503.86f, 1248.25f, -15.0f, 1.00348f, 1.0f, 1345, 1141, 1630, 1323, 0, 0, -1},
+ {1, 59, 0, 324, 1818.86f, 1248.26f, -30.0f, 1.00348f, 1.0f, 1657, 1113, 1928, 1331, 0, 0, -1},
+ {4, 255, 0, 65535, 865.5f, 1285.0f, 0.0f, 81.0f, 106.0f, 825, 1232, 906, 1338, 0, 0, -1},
+ {4, 255, 0, 65535, 1160.0f, 1292.0f, 0.0f, 81.0f, 106.0f, 1119, 1239, 1201, 1345, 0, 0, -1},
+ {4, 255, 0, 65535, 1485.0f, 1290.0f, 0.0f, 81.0f, 106.0f, 1444, 1237, 1526, 1343, 0, 0, -1},
+ {4, 255, 0, 65535, 1789.0f, 1296.0f, 0.0f, 81.0f, 106.0f, 1748, 1243, 1830, 1349, 0, 0, -1},
+ {0, 74, 0, 65535, 180.165f, 1573.5f, 0.0f, 0.34532f, 0.748993f, 137, 1371, 224, 1789, 0, 0, -1},
+ {0, 74, 0, 65535, 1063.54f, 1573.5f, 0.0f, 0.50832f, 0.748993f, 1000, 1371, 1128, 1789, 0, 0, -1},
+ {0, 66, 0, 65535, 376.603f, 1556.7f, 0.0f, 0.865012f, 0.890283f, 169, 1433, 585, 1680, 0, 0, -1},
+ {0, 66, 0, 65535, 847.603f, 1556.7f, 0.0f, 0.865013f, 0.890282f, 640, 1433, 1056, 1680, 0, 0, -1},
+ {0, 74, 0, 65535, 611.665f, 1573.5f, 0.0f, 0.66132f, 0.748993f, 529, 1371, 695, 1789, 0, 0, -1},
+ {0, 74, 0, 65535, 60.2835f, 1507.0f, 90.0f, 1.104f, 0.241048f, -10, 1370, 126, 1645, 0, 0, -1},
+ {0, 74, 0, 65535, 82.204f, 1603.75f, 90.0f, 0.33f, 0.306404f, -6, 1562, 165, 1645, 0, 0, -1},
+ {4, 255, 0, 65535, 338.667f, 1344.0f, 0.0f, 81.0f, 106.0f, 298, 1291, 380, 1397, 0, 0, -1},
+ {4, 255, 0, 65535, 848.667f, 1346.0f, 0.0f, 81.0f, 106.0f, 808, 1293, 890, 1399, 0, 0, -1},
+ {2, 2, 0, 325, 376.333f, 1436.67f, -540.0f, 0.471433f, 0.471433f, 225, 1328, 527, 1544, 0, 0, -1},
+ {2, 2, 0, 326, 847.333f, 1436.67f, -270.0f, 0.471433f, 0.471434f, 739, 1286, 955, 1588, 0, 0, -1},
+ {4, 255, 0, 65535, 412.667f, 1344.0f, 0.0f, 81.0f, 106.0f, 372, 1291, 454, 1397, 0, 0, -1},
+ {4, 255, 0, 65535, 885.667f, 1346.0f, 0.0f, 81.0f, 106.0f, 845, 1293, 927, 1399, 0, 0, -1},
+ {4, 255, 0, 65535, 811.667f, 1346.0f, 0.0f, 81.0f, 106.0f, 771, 1293, 853, 1399, 0, 0, -1},
+ {4, 255, 0, 65535, 375.667f, 1344.0f, 0.0f, 81.0f, 106.0f, 335, 1291, 417, 1397, 0, 0, -1},
+ {1, 13, 0, 65535, 62.0f, 1368.0f, 0.0f, 0.893617f, 1.0f, -1, 1362, 125, 1374, 0, 0, -1},
+ {1, 55, 1, 327, 88.8397f, 1281.21f, -295.0f, 2.40964f, 1.0f, 41, 1188, 137, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 277.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 137, 1362, 418, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 558.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 418, 1362, 699, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 839.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 699, 1362, 980, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 1050.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 980, 1362, 1121, 1374, 0, 0, -1},
+ {0, 80, 0, 65535, 471.602f, 1199.5f, 0.0f, 0.348774f, 0.472752f, 458, 1025, 486, 1373, 0, 0, -1},
+ {0, 70, 0, 65535, 375.5f, 1382.5f, 0.0f, 1.0f, 1.0f, 286, 1030, 464, 1764, 0, 0, -1},
+ {0, 74, 0, 65535, 622.665f, 1573.5f, 0.0f, 5.10932f, 0.748993f, -11, 1371, 1262, 1789, 0, 0, -1},
+ {0, 70, 0, 65535, 208.5f, 1549.5f, 0.0f, 1.0f, 1.0f, 119, 1197, 297, 1931, 0, 0, -1},
+ {0, 80, 0, 65535, 598.485f, 1347.27f, -73.9772f, 1.78636f, 0.647672f, 350, 1229, 842, 1480, 0, 0, -1},
+ {1, 40, 0, 65535, 378.5f, 1108.83f, 0.0f, 1.00541f, 1.00541f, 284, 1015, 473, 1202, 0, 0, -1},
+ {1, 13, 0, 65535, 60.0f, 1368.0f, 0.0f, 0.879433f, 1.0f, -2, 1362, 122, 1374, 0, 0, -1},
+ {1, 40, 0, 65535, 205.5f, 1281.83f, 0.0f, 1.00541f, 1.00541f, 111, 1188, 300, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 1042.0f, 1368.0f, 0.0f, 1.48754f, 1.0f, 833, 1362, 1251, 1374, 0, 0, -1},
+ {1, 47, 0, 328, 680.596f, 909.56f, -254.058f, 1.00235f, 1.0f, 469, 684, 854, 1111, 0, 0, -1},
+ {4, 255, 0, 65535, 952.5f, 1340.5f, 0.0f, 41.0f, 53.0f, 932, 1314, 973, 1367, 0, 0, -1},
+ {4, 255, 0, 65535, 1043.5f, 1340.5f, 0.0f, 41.0f, 53.0f, 1023, 1314, 1064, 1367, 0, 0, -1},
+ {4, 255, 0, 65535, 1089.5f, 1340.5f, 0.0f, 41.0f, 53.0f, 1069, 1314, 1110, 1367, 0, 0, -1},
+ {4, 255, 0, 65535, 995.5f, 1340.5f, 0.0f, 41.0f, 53.0f, 975, 1314, 1016, 1367, 0, 0, -1},
+ {0, 77, 0, 65535, 56.8333f, 1487.0f, 90.0f, 4.14286f, 0.79375f, -7, 1375, 120, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1203.93f, 1487.0f, 90.0f, 4.14286f, 3.11578f, 956, 1375, 1451, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 183.167f, 1488.0f, 90.0f, 4.10714f, 0.910417f, 110, 1377, 256, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 578.263f, 1542.0f, 90.0f, 2.17857f, 5.42828f, 146, 1483, 1008, 1603, 0, 0, -1},
+ {0, 68, 0, 65535, 837.333f, 1430.83f, 0.0f, 0.505556f, 0.476005f, 716, 1369, 959, 1492, 0, 0, -1},
+ {0, 80, 0, 65535, 336.533f, 1471.84f, -51.7414f, 1.0f, 0.346672f, 212, 1370, 455, 1582, 0, 0, -1},
+ {0, 77, 0, 65535, 246.167f, 1491.83f, 90.0f, 2.2381f, 0.79375f, 183, 1431, 309, 1555, 0, 0, -1},
+ {1, 57, 0, 65535, 57.6667f, 1368.0f, 0.0f, 2.87302f, 1.0f, -3, 1362, 119, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 228.5f, 1331.0f, 0.0f, 81.0f, 106.0f, 188, 1278, 269, 1384, 0, 0, -1},
+ {4, 255, 0, 65535, 404.0f, 1226.0f, 0.0f, 81.0f, 106.0f, 363, 1173, 445, 1279, 0, 0, -1},
+ {4, 255, 0, 65535, 818.0f, 1215.0f, 0.0f, 81.0f, 106.0f, 777, 1162, 859, 1268, 0, 0, -1},
+ {1, 13, 1, 329, 188.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 118, 1362, 259, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1027.5f, 1281.0f, 0.0f, 81.0f, 106.0f, 987, 1228, 1068, 1334, 0, 0, -1},
+ {1, 11, 0, 65535, 1199.5f, 1367.5f, 0.0f, 1.74021f, 1.0f, 955, 1361, 1444, 1374, 0, 0, -1},
+ {1, 57, 1, 65535, 1379.67f, 1368.0f, 0.0f, 2.87302f, 1.0f, 1319, 1362, 1441, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 834.5f, 1422.5f, 0.0f, 1.0f, 1.0f, 714, 1361, 955, 1484, 0, 0, -1},
+ {1, 11, 0, 65535, 561.333f, 1476.67f, 0.0f, 1.0949f, 1.0f, 407, 1470, 716, 1483, 0, 0, -1},
+ {0, 77, 0, 65535, 171.0f, 1501.0f, 90.0f, 4.67857f, 2.25f, -8, 1374, 349, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1499.0f, 0.0f, 0.348774f, 0.348774f, 348, 1370, 376, 1627, 0, 0, -1},
+ {0, 77, 0, 65535, 1541.5f, 1517.0f, 90.0f, 5.25f, 2.06875f, 1377, 1375, 1705, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 1366.6f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 1353, 1369, 1381, 1626, 0, 0, -1},
+ {0, 68, 0, 65535, 223.0f, 1308.5f, -2.33731f, 0.6f, 0.571984f, 81, 1228, 370, 1388, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1357.0f, 0.0f, 0.348774f, 0.348774f, 348, 1228, 376, 1485, 0, 0, -1},
+ {0, 77, 0, 65535, 922.0f, 1661.0f, 90.0f, 4.67857f, 9.95f, 130, 1534, 1709, 1792, 0, 0, -1},
+ {1, 56, 0, 65535, 25.0f, 1368.0f, 0.0f, 1.0f, 1.0f, -3, 1362, 53, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 1528.0f, 1368.0f, 0.0f, 1.22449f, 1.0f, 1355, 1362, 1701, 1374, 0, 0, -1},
+ {1, 36, 0, 65535, 210.5f, 1295.5f, 0.0f, 1.0f, 1.0f, 50, 1216, 371, 1375, 0, 0, -1},
+ {2, 0, 0, 65535, 527.5f, 1504.0f, 0.0f, 0.83683f, 1.0f, 366, 1472, 688, 1535, 0, 0, -1},
+ {2, 0, 0, 65535, 1192.0f, 1504.0f, 0.0f, 0.871795f, 1.0f, 1024, 1472, 1359, 1535, 0, 0, -1},
+ {1, 11, 0, 330, 585.5f, 1202.0f, 0.0f, 1.0f, 1.0f, 445, 1196, 726, 1208, 0, 0, -1},
+ {1, 11, 0, 331, 824.0f, 1305.5f, 90.0f, 1.0f, 1.0f, 818, 1165, 830, 1446, 0, 0, -1},
+ {2, 0, 0, 65535, 856.0f, 1504.0f, 0.0f, 0.913753f, 1.0f, 680, 1472, 1031, 1535, 0, 0, -1},
+ {1, 11, 0, 332, 1075.5f, 1150.0f, -90.0f, 1.0f, 1.0f, 1069, 1009, 1082, 1291, 0, 0, -1},
+ {1, 11, 0, 333, 1157.0f, 1368.5f, -180.0f, 1.0f, 1.0f, 1016, 1362, 1298, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 775.0f, 1051.0f, 0.0f, 41.0f, 53.0f, 754, 1024, 796, 1078, 0, 0, -1},
+ {4, 255, 0, 65535, 833.0f, 1034.0f, 0.0f, 41.0f, 53.0f, 812, 1007, 854, 1061, 0, 0, -1},
+ {4, 255, 0, 65535, 721.0f, 1086.0f, 0.0f, 41.0f, 53.0f, 700, 1059, 742, 1113, 0, 0, -1},
+ {4, 255, 0, 65535, 1151.5f, 1004.5f, 0.0f, 41.0f, 53.0f, 1131, 978, 1172, 1031, 0, 0, -1},
+ {4, 255, 0, 65535, 1104.5f, 950.5f, 0.0f, 41.0f, 53.0f, 1084, 924, 1125, 977, 0, 0, -1},
+ {4, 255, 0, 65535, 1184.5f, 1070.5f, 0.0f, 41.0f, 53.0f, 1164, 1044, 1205, 1097, 0, 0, -1},
+ {0, 77, 0, 65535, 171.0f, 1501.0f, 90.0f, 4.67857f, 2.25f, -8, 1374, 349, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1499.0f, 0.0f, 0.348774f, 0.348774f, 348, 1370, 376, 1627, 0, 0, -1},
+ {0, 77, 0, 65535, 1479.0f, 1517.0f, 90.0f, 5.25f, 3.2875f, 1217, 1375, 1739, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 1206.6f, 1498.0f, 0.0f, -0.348774f, 0.348774f, 1193, 1369, 1221, 1626, 0, 0, -1},
+ {0, 68, 0, 65535, 223.0f, 1308.5f, -2.33731f, 0.6f, 0.571984f, 81, 1228, 370, 1388, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1357.0f, 0.0f, 0.348774f, 0.348774f, 348, 1228, 376, 1485, 0, 0, -1},
+ {0, 77, 0, 65535, 845.5f, 1661.0f, 90.0f, 4.67857f, 8.99375f, 130, 1534, 1557, 1792, 0, 0, -1},
+ {1, 11, 0, 65535, 1464.5f, 1368.0f, 0.0f, 1.91132f, 1.0f, 1195, 1362, 1734, 1374, 0, 0, -1},
+ {1, 36, 0, 65535, 210.5f, 1295.5f, 0.0f, 1.0f, 1.0f, 50, 1216, 371, 1375, 0, 0, -1},
+ {2, 0, 0, 65535, 569.16f, 1494.22f, 0.0f, 1.05436f, 1.25994f, 366, 1454, 772, 1534, 0, 0, -1},
+ {2, 0, 0, 65535, 983.051f, 1494.22f, 0.0f, 1.15128f, 1.25994f, 761, 1454, 1204, 1534, 0, 0, -1},
+ {1, 59, 0, 334, 535.333f, 1222.33f, -30.0f, 1.00348f, 1.0f, 374, 1087, 645, 1305, 0, 0, -1},
+ {1, 57, 0, 65535, 24.5f, 1368.0f, 0.0f, 1.21429f, 1.0f, -1, 1362, 50, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 928.5f, 1106.5f, 0.0f, 41.0f, 53.0f, 908, 1080, 949, 1133, 0, 0, -1},
+ {4, 255, 0, 65535, 883.5f, 1099.5f, 0.0f, 41.0f, 53.0f, 863, 1073, 904, 1126, 0, 0, -1},
+ {4, 255, 0, 65535, 972.5f, 1113.5f, 0.0f, 41.0f, 53.0f, 952, 1087, 993, 1140, 0, 0, -1},
+ {4, 255, 0, 65535, 775.0f, 1115.0f, 0.0f, 41.0f, 53.0f, 754, 1088, 796, 1142, 0, 0, -1},
+ {4, 255, 0, 65535, 833.0f, 1098.0f, 0.0f, 41.0f, 53.0f, 812, 1071, 854, 1125, 0, 0, -1},
+ {4, 255, 0, 65535, 721.0f, 1150.0f, 0.0f, 41.0f, 53.0f, 700, 1123, 742, 1177, 0, 0, -1},
+ {0, 77, 0, 65535, 171.0f, 1501.0f, 90.0f, 4.67857f, 2.25f, -8, 1374, 349, 1632, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1499.0f, 0.0f, 0.348774f, 0.348774f, 348, 1370, 376, 1627, 0, 0, -1},
+ {0, 77, 0, 65535, 1366.11f, 1517.0f, 90.0f, 5.25f, 0.676434f, 1312, 1375, 1420, 1664, 0, 0, -1},
+ {0, 80, 0, 65535, 1314.1f, 1501.0f, 0.0f, -0.348774f, 0.348774f, 1300, 1372, 1328, 1629, 0, 0, -1},
+ {0, 68, 0, 65535, 223.0f, 1308.5f, -2.33731f, 0.6f, 0.571984f, 81, 1228, 370, 1388, 0, 0, -1},
+ {0, 80, 0, 65535, 361.602f, 1357.0f, 0.0f, 0.348774f, 0.348774f, 348, 1228, 376, 1485, 0, 0, -1},
+ {0, 77, 0, 65535, 780.361f, 1661.0f, 90.0f, 4.67857f, 8.17951f, 130, 1534, 1427, 1792, 0, 0, -1},
+ {1, 36, 0, 65535, 210.5f, 1295.5f, 0.0f, 1.0f, 1.0f, 50, 1216, 371, 1375, 0, 0, -1},
+ {2, 0, 0, 65535, 594.493f, 1494.22f, 0.0f, 1.17246f, 1.25994f, 368, 1454, 820, 1534, 0, 0, -1},
+ {2, 0, 0, 65535, 1039.3f, 1494.22f, 0.0f, 1.41351f, 1.25994f, 767, 1454, 1310, 1534, 0, 0, -1},
+ {1, 57, 0, 65535, 24.5f, 1368.0f, 0.0f, 1.21429f, 1.0f, -1, 1362, 50, 1374, 0, 0, -1},
+ {1, 55, 30, 65535, 416.5f, 1230.0f, 0.0f, 1.0f, 1.0f, 375, 1224, 458, 1236, 0, 0, 10},
+ {1, 55, 30, 65535, 501.5f, 1242.0f, 0.0f, 1.0f, 1.0f, 460, 1236, 543, 1248, 0, 0, 10},
+ {1, 55, 30, 65535, 672.0f, 1266.5f, 0.0f, 1.0f, 1.0f, 630, 1260, 714, 1273, 0, 0, 10},
+ {1, 55, 30, 65535, 587.0f, 1254.5f, 0.0f, 1.0f, 1.0f, 545, 1248, 629, 1261, 0, 0, 10},
+ {1, 55, 30, 65535, 842.75f, 1291.25f, 0.0f, 1.0f, 1.0f, 801, 1285, 885, 1298, 0, 0, 10},
+ {1, 55, 30, 65535, 1013.25f, 1315.75f, 0.0f, 1.0f, 1.0f, 971, 1309, 1055, 1322, 0, 0, 10},
+ {1, 55, 30, 65535, 757.75f, 1279.25f, 0.0f, 1.0f, 1.0f, 716, 1273, 800, 1286, 0, 0, 10},
+ {1, 55, 30, 65535, 928.25f, 1303.75f, 0.0f, 1.0f, 1.0f, 886, 1297, 970, 1310, 0, 0, 10},
+ {1, 55, 30, 65535, 1183.75f, 1340.75f, 0.0f, 1.0f, 1.0f, 1142, 1334, 1226, 1347, 0, 0, 10},
+ {1, 55, 0, 65535, 1361.75f, 1368.0f, 0.0f, 1.18072f, 1.0f, 1312, 1362, 1411, 1374, 0, 0, -1},
+ {1, 55, 30, 65535, 1098.75f, 1328.75f, 0.0f, 1.0f, 1.0f, 1057, 1322, 1141, 1335, 0, 0, 10},
+ {1, 55, 30, 65535, 1269.25f, 1355.25f, 0.0f, 1.0f, 1.0f, 1227, 1349, 1311, 1362, 0, 0, 10},
+ {0, 77, 0, 65535, 586.333f, 1501.0f, 90.0f, 4.67857f, 7.44167f, -6, 1374, 1175, 1632, 0, 0, -1},
+ {0, 77, 0, 65535, 1617.78f, 1517.0f, 90.0f, 5.25f, 6.1556f, 1128, 1375, 2105, 1664, 0, 0, -1},
+ {0, 67, 0, 65535, 104.667f, 1422.83f, 45.0f, 1.0f, 1.00649f, -5, 1313, 215, 1532, 0, 0, -1},
+ {0, 68, 0, 65535, 1451.5f, 1172.5f, 0.0f, -0.972917f, 1.0f, 1218, 1043, 1685, 1301, 0, 0, -1},
+ {0, 77, 0, 65535, 1209.34f, 1418.66f, 90.0f, 4.67857f, 5.95419f, 735, 1292, 1680, 1550, 0, 0, -1},
+ {0, 80, 0, 65535, 1685.41f, 1420.39f, -4.57488f, 0.779884f, 0.43733f, 1642, 1258, 1723, 1583, 0, 0, -1},
+ {0, 80, 0, 65535, 245.301f, 1369.1f, -97.2286f, 0.779883f, 0.566969f, 35, 1320, 456, 1426, 0, 0, -1},
+ {0, 80, 0, 65535, 845.481f, 1236.82f, -109.823f, 1.86349f, 1.12714f, 437, 1045, 1260, 1446, 0, 0, -1},
+ {0, 67, 0, 65535, 718.88f, 1372.25f, 45.0f, 1.0f, 1.00649f, 609, 1262, 829, 1482, 0, 0, -1},
+ {0, 67, 0, 65535, 1076.44f, 1272.67f, 68.693f, 1.0f, 2.80495f, 845, 1121, 1307, 1423, 0, 0, -1},
+ {1, 57, 0, 65535, 24.5f, 1368.0f, 0.0f, 1.21429f, 1.0f, -1, 1362, 50, 1374, 0, 0, -1},
+ {1, 55, 0, 65535, 75.0833f, 1340.42f, -45.0f, 1.0f, 1.0f, 41, 1306, 109, 1375, 0, 0, 0},
+ {1, 55, 31, 65535, 136.102f, 1280.91f, -45.0f, 1.0f, 1.0f, 102, 1247, 170, 1315, 0, 0, 75},
+ {1, 55, 31, 65535, 197.102f, 1221.41f, -45.0f, 1.0f, 1.0f, 163, 1187, 231, 1255, 0, 0, 75},
+ {1, 55, 31, 65535, 258.102f, 1161.91f, -45.0f, 1.0f, 1.0f, 224, 1128, 292, 1196, 0, 0, 75},
+ {1, 55, 31, 65535, 441.102f, 983.912f, -45.0f, 1.0f, 1.0f, 407, 950, 475, 1018, 0, 0, 75},
+ {1, 55, 31, 65535, 380.102f, 1043.41f, -45.0f, 1.0f, 1.0f, 346, 1009, 414, 1077, 0, 0, 75},
+ {1, 55, 31, 65535, 319.102f, 1102.91f, -45.0f, 1.0f, 1.0f, 285, 1069, 353, 1137, 0, 0, 75},
+ {1, 55, 31, 65535, 623.602f, 805.579f, -45.0f, 1.0f, 1.0f, 590, 771, 658, 840, 0, 0, 75},
+ {1, 55, 31, 65535, 684.602f, 746.579f, -45.0f, 1.0f, 1.0f, 651, 712, 719, 781, 0, 0, 75},
+ {1, 55, 31, 65535, 806.602f, 627.579f, -45.0f, 1.0f, 1.0f, 773, 593, 841, 662, 0, 0, 75},
+ {1, 55, 31, 65535, 562.602f, 865.079f, -45.0f, 1.0f, 1.0f, 529, 831, 597, 899, 0, 0, 75},
+ {1, 55, 31, 65535, 745.602f, 687.079f, -45.0f, 1.0f, 1.0f, 712, 653, 780, 721, 0, 0, 75},
+ {1, 55, 31, 65535, 501.602f, 924.579f, -45.0f, 1.0f, 1.0f, 468, 890, 536, 959, 0, 0, 75},
+ {1, 35, 0, 65535, 1456.5f, 1149.5f, 0.0f, -1.0f, 1.00433f, 1216, 1034, 1697, 1267, 0, 0, -1},
+ {1, 11, 0, 65535, 1894.0f, 1368.0f, 0.0f, 1.3452f, 1.0f, 1705, 1362, 2083, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 556.458f, 836.5f, 0.0f, 45.0849f, 59.0f, 533, 807, 580, 866, 0, 0, -1},
+ {4, 255, 0, 65535, 602.0f, 795.0f, 0.0f, 45.0849f, 59.0f, 579, 765, 625, 825, 0, 0, -1},
+ {4, 255, 0, 65535, 651.0f, 747.0f, 0.0f, 45.0849f, 59.0f, 628, 717, 674, 777, 0, 0, -1},
+ {4, 255, 0, 65535, 683.0f, 715.0f, 0.0f, 45.0849f, 59.0f, 660, 685, 706, 745, 0, 0, -1},
+ {4, 255, 0, 65535, 726.0f, 676.0f, 0.0f, 45.0849f, 59.0f, 703, 646, 749, 706, 0, 0, -1},
+ {4, 255, 0, 65535, 766.0f, 633.0f, 0.0f, 45.0849f, 59.0f, 743, 603, 789, 663, 0, 0, -1},
+ {4, 255, 0, 65535, 802.0f, 597.0f, 0.0f, 45.0849f, 59.0f, 779, 567, 825, 627, 0, 0, -1},
+ {0, 74, 0, 65535, 394.519f, 1512.0f, 90.0f, 1.104f, 1.38681f, -5, 1375, 769, 1650, 0, 0, -1},
+ {0, 68, 0, 65535, 222.916f, 1309.86f, 0.0f, 0.662151f, 0.691488f, 64, 1220, 382, 1399, 0, 0, -1},
+ {0, 73, 0, 65535, 706.5f, 1518.14f, 0.0f, 1.0f, 0.902598f, 594, 1252, 818, 1798, 0, 0, -1},
+ {0, 80, 0, 65535, 376.0f, 1380.44f, 0.0f, 0.410256f, 0.410256f, 360, 1229, 392, 1531, 0, 0, -1},
+ {0, 80, 0, 65535, 599.729f, 1406.31f, 0.0f, -0.262278f, 0.410256f, 589, 1255, 610, 1557, 0, 0, -1},
+ {0, 80, 0, 65535, 550.272f, 1382.5f, -90.0f, 0.987179f, 0.627445f, 319, 1344, 781, 1421, 0, 0, -1},
+ {0, 68, 0, 65535, 1373.82f, 1479.98f, -1.56881f, -0.514661f, 0.529414f, 1248, 1414, 1500, 1551, 0, 0, -1},
+ {0, 74, 0, 65535, 879.0f, 1514.0f, 90.0f, 1.104f, 0.604491f, 705, 1377, 1042, 1652, 0, 0, -1},
+ {0, 68, 0, 65535, 1614.77f, 1477.24f, -1.56881f, 0.48967f, 0.478848f, 1498, 1412, 1734, 1542, 0, 0, -1},
+ {0, 68, 0, 65535, 1889.44f, 1352.88f, 354.392f, 0.688029f, 0.543772f, 1729, 1266, 2061, 1439, 0, 0, -1},
+ {0, 74, 0, 65535, 1132.4f, 1553.54f, 104.77f, 1.28339f, 0.418955f, 975, 1368, 1283, 1738, 0, 0, -1},
+ {0, 74, 0, 65535, 1901.7f, 1537.8f, 86.2639f, 0.995921f, 0.614855f, 1717, 1403, 2076, 1674, 0, 0, -1},
+ {0, 73, 0, 65535, 2369.0f, 1523.14f, -1.93722f, 1.0f, 0.856287f, 2248, 1267, 2489, 1792, 0, 0, -1},
+ {0, 80, 0, 65535, 2481.71f, 1424.53f, -8.03681f, 0.410256f, 0.404919f, 2445, 1275, 2515, 1574, 0, 0, -1},
+ {0, 80, 0, 65535, 2242.5f, 1423.94f, 0.0f, -0.410256f, 0.410256f, 2226, 1272, 2259, 1575, 0, 0, -1},
+ {0, 74, 0, 65535, 1589.5f, 1586.0f, 90.0f, 0.512f, 5.41105f, 33, 1522, 3048, 1650, 0, 0, -1},
+ {0, 68, 0, 65535, 2816.33f, 1309.58f, 0.0f, -0.665807f, 0.657908f, 2656, 1224, 2977, 1394, 0, 0, -1},
+ {0, 74, 0, 65535, 2859.01f, 1500.54f, 89.9383f, 1.02036f, 0.700423f, 2657, 1373, 3048, 1629, 0, 0, -1},
+ {0, 80, 0, 65535, 2656.33f, 1381.22f, 5.92043f, -0.646407f, 0.410256f, 2621, 1229, 2697, 1534, 0, 0, -1},
+ {0, 80, 0, 65535, 2067.4f, 1423.28f, -14.081f, 0.646406f, 0.410256f, 2006, 1272, 2123, 1576, 0, 0, -1},
+ {0, 80, 0, 65535, 2412.49f, 1519.13f, 268.783f, 1.01757f, 0.879541f, 2088, 1477, 2737, 1566, 0, 0, -1},
+ {0, 80, 0, 65535, 982.741f, 1373.82f, -75.2976f, 1.12934f, 0.574272f, 767, 1288, 1195, 1470, 0, 0, -1},
+ {1, 36, 0, 65535, 222.5f, 1295.0f, 0.0f, 1.0f, 1.0f, 62, 1216, 383, 1374, 0, 0, -1},
+ {1, 17, 0, 65535, 707.0f, 1268.5f, 0.0f, 1.0f, 1.0f, 590, 1243, 823, 1294, 0, 0, -1},
+ {1, 36, 0, 65535, 1888.5f, 1338.75f, 0.0f, 1.0f, 1.0f, 1728, 1259, 2049, 1418, 0, 0, -1},
+ {1, 17, 0, 65535, 2377.14f, 1285.36f, -8.25844f, 1.0f, 1.0f, 2259, 1244, 2490, 1313, 0, 0, -1},
+ {1, 36, 0, 65535, 2817.5f, 1295.0f, 0.0f, -1.0f, 1.0f, 2657, 1216, 2978, 1374, 0, 0, -1},
+ {1, 37, 0, 65535, 1607.5f, 1466.5f, 0.0f, 1.0f, 1.0f, 1487, 1405, 1728, 1528, 0, 0, -1},
+ {1, 37, 0, 65535, 1368.5f, 1466.5f, 0.0f, -1.0f, 1.0f, 1248, 1405, 1489, 1528, 0, 0, -1},
+ {4, 255, 0, 65535, 2392.83f, 1271.0f, 0.0f, 41.0f, 53.0f, 2372, 1244, 2414, 1298, 0, 0, -1},
+ {4, 255, 0, 65535, 2446.83f, 1249.0f, 0.0f, 41.0f, 53.0f, 2426, 1222, 2468, 1276, 0, 0, -1},
+ {4, 255, 0, 65535, 2336.83f, 1273.0f, 0.0f, 41.0f, 53.0f, 2316, 1246, 2358, 1300, 0, 0, -1},
+ {4, 255, 0, 65535, 2282.83f, 1256.0f, 0.0f, 41.0f, 53.0f, 2262, 1229, 2304, 1283, 0, 0, -1},
+ {2, 1, 0, 335, 1488.0f, 1295.67f, 0.0f, 0.273081f, 0.273081f, 1400, 1207, 1576, 1383, 0, 0, -1},
+ {2, 1, 0, 336, 706.667f, 1057.67f, 0.0f, 0.27308f, 0.27308f, 618, 969, 795, 1145, 0, 0, -1},
+ {2, 1, 0, 337, 2361.33f, 1071.67f, 0.0f, 0.27308f, 0.27308f, 2273, 983, 2449, 1159, 0, 0, -1},
+ {1, 37, 0, 65535, 1128.58f, 1356.5f, 0.0f, -1.0f, 1.0f, 1008, 1295, 1250, 1418, 0, 0, -1},
+ {1, 55, 0, 65535, 3009.51f, 1368.0f, 0.0f, 0.758981f, 1.0f, 2978, 1362, 3042, 1374, 0, 0, -1},
+ {1, 19, 0, 65535, 2206.51f, 1279.95f, -8.25844f, 1.00826f, -1.0f, 2147, 1263, 2268, 1302, 0, 0, -1},
+ {1, 55, 0, 65535, 30.5934f, 1368.0f, 0.0f, 0.769304f, 1.0f, -2, 1362, 63, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 628.5f, 1240.5f, 0.0f, 41.0f, 53.0f, 608, 1214, 649, 1267, 0, 0, -1},
+ {4, 255, 0, 65535, 682.5f, 1257.5f, 0.0f, 41.0f, 53.0f, 662, 1231, 703, 1284, 0, 0, -1},
+ {4, 255, 0, 65535, 738.5f, 1255.5f, 0.0f, 41.0f, 53.0f, 718, 1229, 759, 1282, 0, 0, -1},
+ {4, 255, 0, 65535, 792.5f, 1233.5f, 0.0f, 41.0f, 53.0f, 772, 1207, 813, 1260, 0, 0, -1},
+ {0, 77, 0, 65535, 897.571f, 1515.3f, 0.0f, 32.6639f, 1.83369f, 15, 1370, 1813, 1662, 0, 0, -1},
+ {0, 80, 0, 65535, 602.215f, 1381.06f, 264.094f, 1.00043f, 0.632617f, 367, 1327, 838, 1444, 0, 0, -1},
+ {0, 80, 0, 65535, 1059.42f, 1375.36f, 274.432f, 1.00043f, 0.632617f, 824, 1325, 1294, 1433, 0, 0, -1},
+ {1, 11, 0, 65535, 1549.03f, 1368.0f, 0.0f, 1.74869f, 1.0f, 1303, 1362, 1795, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 455.624f, 1262.21f, 8.34828f, 1.0f, 1.00394f, 346, 1148, 567, 1375, 0, 0, -1},
+ {3, 81, 0, 65535, 307.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 266, 1362, 349, 1373, 0, 0, -1},
+ {2, 1, 0, 338, 858.271f, 1221.98f, 0.0f, 0.6793f, 0.6793f, 639, 1003, 1076, 1439, 0, 0, -1},
+ {1, 16, 0, 65535, 1223.48f, 1287.91f, -7.49944f, -1.0f, 1.00521f, 1141, 1200, 1306, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 131.69f, 1368.0f, 0.0f, 0.957295f, 1.0f, -3, 1362, 267, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 731.5f, 826.0f, 0.0f, 81.0f, 106.0f, 691, 773, 772, 879, 0, 0, -1},
+ {4, 255, 0, 65535, 858.168f, 778.638f, 0.0f, 81.0f, 106.0f, 817, 725, 899, 832, 0, 0, -1},
+ {4, 255, 0, 65535, 988.868f, 817.204f, 0.0f, 81.0f, 106.0f, 948, 764, 1030, 871, 0, 0, -1},
+ {4, 255, 0, 65535, 1102.11f, 925.674f, 0.0f, 81.0f, 106.0f, 1061, 872, 1143, 979, 0, 0, -1},
+ {4, 255, 0, 65535, 1179.37f, 1052.59f, 0.0f, 81.0f, 106.0f, 1138, 999, 1220, 1106, 0, 0, -1},
+ {0, 74, 0, 65535, 171.0f, 1637.5f, 0.0f, 1.648f, 1.0f, -34, 1368, 377, 1925, 0, 0, -1},
+ {0, 70, 0, 65535, 240.5f, 1668.5f, 0.0f, 1.0f, 1.0f, 151, 1316, 329, 2050, 0, 0, -1},
+ {0, 70, 0, 65535, 790.5f, 1552.5f, 0.0f, -1.0f, 1.0f, 702, 1200, 880, 1934, 0, 0, -1},
+ {0, 80, 0, 65535, 338.25f, 1434.25f, 0.0f, 0.275641f, 0.320845f, 327, 1316, 349, 1552, 0, 0, -1},
+ {0, 80, 0, 65535, 704.0f, 1317.5f, 0.0f, -0.102564f, 0.325613f, 700, 1197, 708, 1437, 0, 0, -1},
+ {0, 80, 0, 65535, 536.74f, 1360.98f, -90.0f, 0.486699f, 0.523868f, 343, 1342, 729, 1380, 0, 0, -1},
+ {0, 80, 0, 65535, 1180.05f, 1363.41f, 262.386f, 1.29184f, 0.846636f, 866, 1285, 1495, 1455, 0, 0, -1},
+ {0, 74, 0, 65535, 602.0f, 1637.5f, 0.0f, 2.008f, 1.0f, 353, 1368, 853, 1925, 0, 0, -1},
+ {0, 74, 0, 65535, 1512.5f, 1637.5f, 0.0f, 5.196f, 1.0f, 868, 1368, 2162, 1925, 0, 0, -1},
+ {0, 64, 0, 65535, 1567.78f, 1333.48f, -273.623f, 0.469738f, 0.424482f, 1482, 1272, 1653, 1405, 0, 0, -1},
+ {0, 77, 0, 65535, 1584.85f, 1381.57f, -77.9557f, 1.0f, 1.0f, 1501, 1337, 1668, 1425, 0, 0, -1},
+ {0, 80, 0, 65535, 1843.63f, 1387.18f, 283.595f, 0.759292f, 0.296594f, 1730, 1339, 1955, 1442, 0, 0, -1},
+ {0, 77, 0, 65535, 1725.33f, 1375.0f, -384.419f, 1.33333f, 0.2125f, 1685, 1344, 1767, 1406, 0, 0, -1},
+ {1, 40, 0, 65535, 791.518f, 1279.53f, -270.0f, 1.00541f, 1.00541f, 699, 1186, 886, 1374, 0, 0, -1},
+ {3, 81, 0, 65535, 298.0f, 1340.0f, -45.2406f, 1.0f, 1.0f, 264, 1306, 331, 1373, 0, 0, -1},
+ {2, 1, 0, 339, 890.0f, 481.0f, 0.0f, 0.253644f, 0.253644f, 808, 399, 972, 562, 0, 0, -1},
+ {2, 1, 0, 340, 890.0f, 949.0f, 0.0f, -0.253644f, 0.253644f, 808, 867, 972, 1030, 0, 0, -1},
+ {2, 1, 0, 341, 1220.0f, 425.0f, 0.0f, 0.253644f, 0.253644f, 1138, 343, 1302, 506, 0, 0, -1},
+ {2, 1, 0, 342, 1220.0f, 893.0f, 0.0f, -0.253644f, 0.253644f, 1138, 811, 1302, 974, 0, 0, -1},
+ {2, 1, 0, 343, 1568.0f, 511.0f, 0.0f, 0.253644f, 0.253644f, 1486, 429, 1650, 592, 0, 0, -1},
+ {2, 1, 0, 344, 1568.0f, 979.0f, 0.0f, -0.253644f, 0.253644f, 1486, 897, 1650, 1060, 0, 0, -1},
+ {1, 14, 0, 65535, 1736.0f, 1005.0f, -22.6296f, 1.0f, 1.0f, 1675, 779, 1811, 1232, 0, 0, -1},
+ {1, 19, 0, 65535, 1504.67f, 1285.52f, -286.713f, 1.00826f, 1.0f, 1485, 1226, 1535, 1342, 0, 0, -1},
+ {2, 1, 0, 345, 567.0f, 763.0f, 0.0f, 0.253644f, 0.253644f, 485, 681, 649, 844, 0, 0, -1},
+ {2, 1, 0, 346, 567.0f, 1253.0f, 0.0f, -0.253644f, 0.253644f, 485, 1171, 649, 1334, 0, 0, -1},
+ {1, 16, 0, 65535, 1645.0f, 1338.0f, -234.611f, 1.0f, -1.00521f, 1526, 1328, 1763, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 2001.5f, 1368.0f, 0.0f, 1.03559f, 1.0f, 1856, 1362, 2147, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 135.5f, 1368.0f, 0.0f, 0.978648f, 1.0f, -2, 1362, 273, 1374, 0, 0, -1},
+ {0, 77, 0, 65535, 1085.0f, 1487.0f, 90.0f, 4.14286f, 10.55f, 246, 1375, 1919, 1603, 0, 0, -1},
+ {0, 74, 0, 65535, 2040.17f, 1505.0f, 0.0f, 1.91333f, 0.497409f, 1802, 1370, 2280, 1649, 0, 0, -1},
+ {0, 64, 0, 65535, 377.167f, 1314.0f, 0.0f, 0.822619f, 0.447346f, 262, 1228, 493, 1400, 0, 0, -1},
+ {0, 64, 0, 65535, 1650.54f, 1241.64f, -14.4845f, -0.982466f, 0.950511f, 1472, 1098, 1830, 1453, 0, 0, -1},
+ {0, 74, 0, 65535, 1151.35f, 1274.36f, -26.7108f, 2.9743f, 0.990789f, 701, 868, 1612, 1695, 0, 0, -1},
+ {0, 74, 0, 65535, 868.655f, 1313.53f, -0.0435607f, 3.04742f, 0.303929f, 490, 1231, 1250, 1402, 0, 0, -1},
+ {0, 80, 0, 65535, 927.086f, 1056.52f, -478.08f, 1.95843f, 1.29489f, 480, 782, 1383, 1349, 0, 0, -1},
+ {0, 77, 0, 65535, 119.5f, 1487.0f, 90.0f, 4.14286f, 1.75625f, -21, 1375, 259, 1603, 0, 0, -1},
+ {1, 11, 0, 65535, 126.667f, 1368.0f, 0.0f, 0.911625f, 1.0f, -2, 1362, 255, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1524.17f, 379.333f, 0.0f, 81.0f, 106.0f, 1483, 326, 1565, 433, 0, 0, -1},
+ {4, 255, 0, 65535, 1570.17f, 626.333f, 0.0f, 81.0f, 106.0f, 1529, 573, 1611, 680, 0, 0, -1},
+ {1, 12, 0, 65535, 2058.04f, 1368.0f, 0.0f, 2.30907f, 1.0f, 1840, 1362, 2276, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1548.67f, 504.667f, 0.0f, 81.0f, 106.0f, 1508, 451, 1590, 558, 0, 0, -1},
+ {1, 16, 0, 65535, 415.252f, 1285.54f, 5.62379f, 1.0f, 1.00521f, 335, 1195, 495, 1375, 0, 0, -1},
+ {3, 81, 0, 65535, 1012.42f, 672.85f, -77.7542f, 1.0f, 1.0f, 997, 631, 1027, 715, 0, 0, -1},
+ {4, 255, 0, 65535, 1594.0f, 754.0f, 0.0f, 81.0f, 106.0f, 1553, 701, 1635, 807, 0, 0, -1},
+ {4, 255, 0, 65535, 1614.0f, 880.0f, 0.0f, 81.0f, 106.0f, 1573, 827, 1655, 933, 0, 0, -1},
+ {1, 14, 0, 65535, 1659.33f, 1230.86f, -16.1852f, -1.0f, 1.0f, 1474, 1085, 1843, 1375, 0, 0, -1},
+ {1, 15, 0, 65535, 909.437f, 834.142f, 3.02405f, 1.0f, 1.00394f, 810, 711, 1010, 957, 0, 0, -1},
+ {1, 12, 0, 65535, 519.871f, 1071.79f, -76.4418f, 1.37896f, 1.0f, 483, 944, 557, 1200, 0, 0, -1},
+ {3, 81, 0, 65535, 296.0f, 1368.0f, 0.0f, 1.0f, 1.0f, 254, 1362, 338, 1373, 0, 0, -1},
+ {1, 11, 0, 65535, 679.75f, 950.0f, 0.0f, 0.94484f, 1.0f, 547, 944, 813, 956, 0, 0, -1},
+ {1, 11, 0, 65535, 1330.04f, 791.958f, -296.829f, 0.740704f, 1.0f, 1277, 696, 1383, 888, 0, 0, -1},
+ {1, 11, 0, 65535, 1428.37f, 986.375f, -296.83f, 0.816142f, 1.0f, 1371, 881, 1486, 1092, 0, 0, -1},
+ {1, 17, 0, 65535, 1190.61f, 632.359f, -334.342f, 1.0f, -1.0f, 1078, 590, 1289, 703, 0, 0, -1},
+ {0, 68, 0, 65535, 504.0f, 1279.5f, 0.0f, 1.0125f, 1.0f, 261, 1150, 747, 1408, 0, 0, -1},
+ {0, 68, 0, 65535, 1348.5f, 1324.0f, 0.0f, 0.489583f, 0.498054f, 1231, 1259, 1466, 1388, 0, 0, -1},
+ {0, 77, 0, 65535, 976.0f, 1487.0f, 90.0f, 4.14286f, 10.2f, 165, 1375, 1782, 1603, 0, 0, -1},
+ {0, 74, 0, 65535, 119.667f, 1504.0f, 0.0f, 1.05867f, 0.497409f, -12, 1369, 253, 1648, 0, 0, -1},
+ {0, 74, 0, 65535, 2079.67f, 1504.0f, 0.0f, 2.53333f, 0.497409f, 1765, 1369, 2397, 1648, 0, 0, -1},
+ {0, 68, 0, 65535, 987.0f, 1279.5f, 0.0f, -1.0125f, 1.0f, 744, 1150, 1230, 1408, 0, 0, -1},
+ {0, 68, 0, 65535, 1582.5f, 1324.0f, 0.0f, -0.489583f, 0.498054f, 1465, 1259, 1700, 1388, 0, 0, -1},
+ {1, 35, 0, 65535, 505.0f, 1258.5f, 0.0f, 1.0f, 1.00433f, 264, 1143, 746, 1376, 0, 0, -1},
+ {1, 35, 0, 65535, 985.0f, 1258.5f, 0.0f, -1.0f, 1.00433f, 744, 1143, 1226, 1376, 0, 0, -1},
+ {1, 37, 0, 65535, 1345.0f, 1313.5f, 0.0f, 1.0f, 1.0f, 1224, 1252, 1466, 1375, 0, 0, -1},
+ {1, 37, 0, 65535, 1584.5f, 1313.5f, 0.0f, -1.0f, 1.0f, 1464, 1252, 1705, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 900.167f, 989.333f, 0.0f, 81.0f, 106.0f, 859, 936, 941, 1043, 0, 0, -1},
+ {4, 255, 0, 65535, 1670.17f, 1208.33f, 0.0f, 81.0f, 106.0f, 1629, 1155, 1711, 1262, 0, 0, -1},
+ {3, 81, 0, 65535, 223.5f, 1368.0f, 0.0f, 1.0f, 1.0f, 182, 1362, 265, 1373, 0, 0, -1},
+ {1, 11, 0, 65535, 2038.67f, 1368.0f, 0.0f, 2.38434f, 1.0f, 1703, 1362, 2374, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1450.67f, 1060.67f, 0.0f, 81.0f, 106.0f, 1410, 1007, 1492, 1114, 0, 0, -1},
+ {4, 255, 0, 65535, 1196.0f, 970.667f, 0.0f, 81.0f, 106.0f, 1155, 917, 1237, 1024, 0, 0, -1},
+ {1, 12, 0, 65535, 90.3333f, 1368.0f, 0.0f, 0.978723f, 1.0f, -2, 1362, 183, 1374, 0, 0, -1},
+ {0, 64, 0, 65535, 208.167f, 1324.67f, 0.0f, 0.734524f, 0.287206f, 105, 1269, 311, 1380, 0, 0, -1},
+ {0, 80, 0, 65535, 516.229f, 1310.16f, 271.975f, 1.14493f, 0.572873f, 303, 1261, 728, 1363, 0, 0, -1},
+ {0, 64, 0, 65535, 1322.37f, 1184.84f, -10.4796f, -1.0f, 1.0f, 1150, 1021, 1495, 1399, 0, 0, -1},
+ {0, 64, 0, 65535, 1584.09f, 1268.88f, 0.0939126f, 0.70356f, 0.400066f, 1485, 1192, 1683, 1346, 0, 0, -1},
+ {0, 80, 0, 65535, 1798.76f, 1281.01f, -1.99908f, 0.737529f, 0.378907f, 1765, 1141, 1830, 1421, 0, 0, -1},
+ {0, 74, 0, 65535, 1733.33f, 1328.97f, -448.804f, 0.871746f, 0.228104f, 1669, 1218, 1801, 1439, 0, 0, -1},
+ {0, 78, 0, 65535, 1719.76f, 1216.2f, 122.062f, 0.564744f, 0.443689f, 1659, 1130, 1821, 1340, 0, 0, -1},
+ {0, 68, 0, 65535, 2120.0f, 1330.0f, 0.0f, 0.529183f, 0.529183f, 1993, 1261, 2248, 1398, 0, 0, -1},
+ {0, 68, 0, 65535, 2374.01f, 1330.0f, 0.0f, -0.529183f, 0.529183f, 2247, 1261, 2502, 1398, 0, 0, -1},
+ {0, 77, 0, 65535, 1330.33f, 1496.51f, 0.0f, 48.184f, 1.57382f, 29, 1372, 2680, 1622, 0, 0, -1},
+ {0, 77, 0, 65535, 1487.65f, 1459.44f, 0.0f, 8.90748f, 1.57382f, 1247, 1335, 1738, 1585, 0, 0, -1},
+ {0, 80, 0, 65535, 1174.22f, 1277.02f, 183.407f, 0.573855f, 0.43142f, 1146, 1117, 1206, 1437, 0, 0, -1},
+ {0, 80, 0, 65535, 967.984f, 1302.47f, 266.243f, 1.14493f, 0.654922f, 725, 1249, 1211, 1363, 0, 0, -1},
+ {0, 77, 0, 65535, 760.579f, 1438.05f, 0.0f, 16.3385f, 1.69683f, 319, 1304, 1219, 1573, 0, 0, -1},
+ {3, 81, 0, 65535, 312.963f, 1226.33f, -70.0793f, 1.0f, 1.0f, 293, 1185, 332, 1268, 0, 0, -1},
+ {1, 16, 0, 65535, 198.685f, 1319.49f, -260.533f, 1.0f, -1.00521f, 93, 1262, 305, 1374, 0, 0, -1},
+ {1, 14, 0, 65535, 1325.43f, 1178.32f, -10.9682f, -1.0f, 1.0f, 1153, 1017, 1496, 1338, 0, 0, -1},
+ {1, 16, 0, 65535, 1587.22f, 1263.95f, 16.1287f, 1.0f, 1.00521f, 1494, 1188, 1682, 1338, 0, 0, -1},
+ {1, 18, 0, 65535, 1739.73f, 1148.94f, -22.9803f, 1.00629f, -1.0f, 1670, 1122, 1817, 1195, 0, 0, -1},
+ {1, 11, 0, 65535, 1913.02f, 1368.0f, 0.0f, 0.664087f, 1.0f, 1819, 1362, 2007, 1374, 0, 0, -1},
+ {2, 1, 0, 347, 689.746f, 1092.42f, 0.0f, -0.561464f, 0.561464f, 509, 911, 871, 1272, 0, 0, -1},
+ {2, 1, 0, 348, 862.297f, 65.5387f, 0.0f, -0.449043f, 0.449043f, 718, -79, 1007, 209, 0, 0, -1},
+ {1, 37, 0, 65535, 2125.17f, 1313.5f, 0.0f, 1.0f, 1.0f, 2004, 1252, 2246, 1375, 0, 0, -1},
+ {1, 37, 0, 65535, 2366.17f, 1313.5f, 0.0f, -1.0f, 1.0f, 2245, 1252, 2487, 1375, 0, 0, -1},
+ {1, 14, 0, 65535, 963.799f, 902.351f, 264.161f, 1.0f, 1.0f, 763, 783, 1166, 1024, 0, 0, -1},
+ {1, 13, 0, 65535, 2572.46f, 1368.0f, 0.0f, 1.23808f, 1.0f, 2485, 1362, 2660, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 46.9545f, 1368.0f, 0.0f, 0.691979f, 1.0f, -2, 1362, 96, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1513.5f, 1303.67f, 0.0f, 81.0f, 106.0f, 1473, 1250, 1554, 1357, 0, 0, -1},
+ {4, 255, 0, 65535, 1568.5f, 1284.0f, 0.0f, 81.0f, 106.0f, 1528, 1231, 1609, 1337, 0, 0, -1},
+ {4, 255, 0, 65535, 1402.17f, 1281.67f, 0.0f, 81.0f, 106.0f, 1361, 1228, 1443, 1335, 0, 0, -1},
+ {4, 255, 0, 65535, 1611.83f, 1253.0f, 0.0f, 81.0f, 106.0f, 1571, 1200, 1653, 1306, 0, 0, -1},
+ {4, 255, 0, 65535, 1647.17f, 1200.33f, 0.0f, 81.0f, 106.0f, 1606, 1147, 1688, 1254, 0, 0, -1},
+ {4, 255, 0, 65535, 1456.17f, 1296.67f, 0.0f, 81.0f, 106.0f, 1415, 1243, 1497, 1350, 0, 0, -1},
+ {0, 77, 0, 65535, 105.25f, 1487.0f, 90.0f, 4.14286f, 1.38854f, -6, 1375, 215, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 878.167f, 1543.33f, 90.0f, 2.13095f, 8.39792f, 210, 1485, 1542, 1604, 0, 0, -1},
+ {0, 77, 0, 65535, 2511.83f, 1487.0f, 90.0f, 4.14286f, 2.58958f, 2305, 1375, 2717, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1983.14f, 1487.0f, 90.0f, 4.14286f, 5.20587f, 1569, 1375, 2395, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1613.67f, 1487.0f, 90.0f, 4.14286f, 2.0f, 1454, 1375, 1772, 1603, 0, 0, -1},
+ {0, 80, 0, 65535, 295.802f, 1568.69f, -392.871f, 1.40117f, 0.568301f, 136, 1371, 444, 1774, 0, 0, -1},
+ {0, 80, 0, 65535, 541.588f, 1494.83f, -96.581f, 1.40117f, 0.823206f, 236, 1419, 848, 1584, 0, 0, -1},
+ {0, 80, 0, 65535, 1046.4f, 1499.39f, -439.983f, 1.40117f, 0.604975f, 817, 1417, 1273, 1592, 0, 0, -1},
+ {0, 64, 0, 65535, 1828.25f, 1297.0f, 0.0f, 0.583929f, 0.422977f, 1746, 1216, 1910, 1378, 0, 0, -1},
+ {0, 64, 0, 65535, 2072.67f, 1193.5f, 0.0f, -1.0f, 1.0f, 1932, 1003, 2213, 1385, 0, 0, -1},
+ {0, 77, 0, 65535, 1924.5f, 1154.74f, 9.3524f, 0.484466f, 1.43837f, 1893, 1040, 1957, 1270, 0, 0, -1},
+ {0, 77, 0, 65535, 1922.52f, 1298.1f, -0.0214551f, 0.627333f, 1.43837f, 1905, 1184, 1941, 1413, 0, 0, -1},
+ {0, 68, 0, 65535, 1339.0f, 1429.5f, 0.0f, 0.488873f, 0.488975f, 1221, 1366, 1457, 1493, 0, 0, -1},
+ {1, 57, 0, 65535, 64.8333f, 1368.5f, 0.0f, 3.15079f, 1.0f, -2, 1362, 131, 1375, 0, 0, -1},
+ {1, 55, 0, 65535, 1589.5f, 1368.0f, 0.0f, 3.41767f, 1.0f, 1447, 1362, 1732, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1539.55f, 1035.0f, 0.0f, 50.434f, 66.0f, 1514, 1002, 1565, 1068, 0, 0, -1},
+ {4, 255, 0, 65535, 1580.96f, 1035.0f, 0.0f, 50.434f, 66.0f, 1555, 1002, 1607, 1068, 0, 0, -1},
+ {4, 255, 0, 65535, 1622.05f, 1035.0f, 0.0f, 50.434f, 66.0f, 1596, 1002, 1648, 1068, 0, 0, -1},
+ {4, 255, 0, 65535, 1661.9f, 1035.0f, 0.0f, 50.434f, 66.0f, 1636, 1002, 1688, 1068, 0, 0, -1},
+ {4, 255, 0, 65535, 1703.26f, 1035.0f, 0.0f, 50.434f, 66.0f, 1678, 1002, 1729, 1068, 0, 0, -1},
+ {1, 55, 0, 65535, 1618.0f, 1058.0f, 0.0f, 2.73093f, 1.0f, 1504, 1052, 1732, 1064, 0, 0, -1},
+ {4, 255, 0, 65535, 1703.86f, 1348.33f, 0.0f, 50.434f, 66.0f, 1678, 1315, 1730, 1382, 0, 0, -1},
+ {4, 255, 0, 65535, 1662.5f, 1348.33f, 0.0f, 50.434f, 66.0f, 1637, 1315, 1688, 1382, 0, 0, -1},
+ {4, 255, 0, 65535, 1581.56f, 1348.33f, 0.0f, 50.434f, 66.0f, 1556, 1315, 1607, 1382, 0, 0, -1},
+ {4, 255, 0, 65535, 1540.15f, 1348.33f, 0.0f, 50.434f, 66.0f, 1514, 1315, 1566, 1382, 0, 0, -1},
+ {4, 255, 0, 65535, 1622.65f, 1348.33f, 0.0f, 50.434f, 66.0f, 1597, 1315, 1648, 1382, 0, 0, -1},
+ {1, 16, 0, 65535, 1799.5f, 968.0f, 0.0f, 1.0f, 1.00521f, 1728, 872, 1870, 1064, 0, 0, -1},
+ {1, 17, 0, 65535, 1827.33f, 1308.99f, 318.591f, 1.0f, 1.0f, 1728, 1217, 1905, 1375, 0, 0, -1},
+ {1, 14, 0, 65535, 2078.5f, 1186.0f, 0.0f, -1.0f, 1.0f, 1940, 997, 2218, 1375, 0, 0, -1},
+ {1, 12, 0, 65535, 1916.58f, 1109.4f, -80.879f, 1.19861f, 1.0f, 1892, 997, 1941, 1222, 0, 0, -1},
+ {1, 11, 0, 65535, 2452.5f, 1368.0f, 0.0f, 1.69751f, 1.0f, 2214, 1362, 2691, 1374, 0, 0, -1},
+ {1, 13, 0, 349, 259.608f, 1319.91f, -45.0f, 1.0f, 1.0f, 205, 1265, 314, 1374, 0, 0, -1},
+ {3, 81, 0, 65535, 172.5f, 1368.5f, 0.0f, 1.0f, 1.0f, 131, 1362, 214, 1374, 0, 0, -1},
+ {1, 49, 0, 65535, 1802.0f, 733.5f, 330.661f, 1.00457f, 1.0f, 1702, 642, 1923, 853, 0, 0, -1},
+ {1, 37, 0, 65535, 1328.83f, 1423.0f, 0.0f, 1.0f, 1.0f, 1208, 1362, 1450, 1484, 0, 0, -1},
+ {1, 57, 0, 65535, 1790.02f, 844.462f, -5.70285f, 1.0f, 1.0f, 1768, 836, 1812, 853, 0, 0, -1},
+ {0, 77, 0, 65535, 105.25f, 1487.0f, 90.0f, 4.14286f, 1.38854f, -6, 1375, 215, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 878.167f, 1556.0f, 90.0f, 1.67857f, 8.39792f, 210, 1510, 1542, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 2405.17f, 1487.0f, 90.0f, 4.14286f, 1.25625f, 2305, 1375, 2505, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1983.14f, 1487.0f, 90.0f, 4.14286f, 5.20587f, 1569, 1375, 2395, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1638.67f, 1347.0f, 90.0f, 9.14286f, 1.6875f, 1504, 1100, 1772, 1603, 0, 0, -1},
+ {0, 80, 0, 65535, 295.802f, 1568.69f, -392.871f, 1.40117f, 0.568301f, 136, 1371, 444, 1774, 0, 0, -1},
+ {0, 80, 0, 65535, 544.921f, 1508.83f, -99.1682f, 1.40117f, 0.823206f, 239, 1420, 852, 1612, 0, 0, -1},
+ {0, 80, 0, 65535, 1212.27f, 1482.57f, -86.9163f, 1.40117f, 1.03073f, 830, 1416, 1593, 1558, 0, 0, -1},
+ {0, 64, 0, 65535, 1806.0f, 977.5f, 0.0f, 0.561905f, 0.665796f, 1727, 850, 1885, 1105, 0, 0, -1},
+ {0, 77, 0, 65535, 1867.34f, 1347.0f, 90.0f, 9.14286f, 1.22917f, 1769, 1100, 1965, 1603, 0, 0, -1},
+ {0, 64, 0, 65535, 2077.33f, 1193.17f, 0.0f, -0.990475f, 1.00174f, 1938, 1002, 2216, 1385, 0, 0, -1},
+ {0, 80, 0, 65535, 1916.25f, 958.015f, -366.919f, 0.719952f, 0.300717f, 1875, 845, 1952, 1071, 0, 0, -1},
+ {0, 77, 0, 65535, 1904.34f, 1031.33f, 84.3596f, 3.75f, 0.383333f, 1864, 927, 1945, 1139, 0, 0, -1},
+ {0, 80, 0, 65535, 1488.72f, 1306.6f, -166.811f, 1.40117f, 0.568301f, 1399, 1094, 1590, 1523, 0, 0, -1},
+ {1, 57, 0, 65535, 64.8333f, 1368.5f, 0.0f, 3.15079f, 1.0f, -2, 1362, 131, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 1639.55f, 1067.0f, 0.0f, 50.434f, 66.0f, 1614, 1034, 1665, 1100, 0, 0, -1},
+ {4, 255, 0, 65535, 1687.05f, 1067.0f, 0.0f, 50.434f, 66.0f, 1661, 1034, 1713, 1100, 0, 0, -1},
+ {4, 255, 0, 65535, 1736.26f, 1067.0f, 0.0f, 50.434f, 66.0f, 1711, 1034, 1762, 1100, 0, 0, -1},
+ {1, 55, 0, 65535, 1618.0f, 1090.0f, 0.0f, 2.73093f, 1.0f, 1504, 1084, 1732, 1096, 0, 0, -1},
+ {1, 16, 0, 65535, 1799.5f, 1000.0f, 0.0f, 1.0f, 1.00521f, 1728, 904, 1870, 1096, 0, 0, -1},
+ {1, 11, 0, 65535, 2355.83f, 1368.0f, 0.0f, 1.00949f, 1.0f, 2214, 1362, 2498, 1374, 0, 0, -1},
+ {3, 81, 0, 65535, 172.5f, 1368.5f, 0.0f, 1.0f, 1.0f, 131, 1362, 214, 1374, 0, 0, -1},
+ {3, 81, 0, 65535, 1871.58f, 864.75f, -80.032f, 1.0f, 1.0f, 1858, 822, 1884, 907, 0, 0, -1},
+ {2, 1, 0, 350, 472.0f, 1354.0f, 0.0f, 0.376093f, 0.376093f, 351, 1233, 593, 1474, 0, 0, -1},
+ {1, 13, 0, 65535, 259.608f, 1319.91f, -45.0f, 1.0f, 1.0f, 205, 1265, 314, 1374, 0, 0, -1},
+ {1, 58, 1, 65535, 2108.07f, 580.822f, -323.63f, 1.00235f, -1.00469f, 1872, 453, 2259, 794, 0, 0, -1},
+ {1, 14, 0, 65535, 2079.17f, 1186.0f, 0.0f, -1.0f, 1.0f, 1940, 997, 2219, 1375, 0, 0, -1},
+ {2, 1, 0, 351, 2045.13f, 652.055f, 0.0f, 0.268221f, 0.268221f, 1958, 565, 2132, 738, 0, 0, -1},
+ {1, 11, 1, 65535, 1852.99f, 668.953f, -78.2189f, 0.921121f, 1.0f, 1820, 541, 1886, 797, 0, 0, -1},
+ {4, 255, 0, 65535, 2167.64f, 857.0f, 0.0f, 50.434f, 66.0f, 2142, 824, 2193, 890, 0, 0, -1},
+ {4, 255, 0, 65535, 2119.14f, 943.0f, 0.0f, 50.434f, 66.0f, 2093, 910, 2145, 976, 0, 0, -1},
+ {4, 255, 0, 65535, 2082.36f, 1025.0f, 0.0f, 50.434f, 66.0f, 2057, 992, 2108, 1058, 0, 0, -1},
+ {0, 74, 0, 65535, 175.333f, 1510.25f, 90.0f, 1.118f, 0.633276f, -7, 1371, 347, 1650, 0, 0, -1},
+ {0, 74, 0, 65535, 963.333f, 1510.25f, 90.0f, 1.118f, 0.733449f, 752, 1371, 1161, 1650, 0, 0, -1},
+ {0, 68, 0, 65535, 982.5f, 1325.0f, 0.0f, -0.49375f, 0.498054f, 864, 1260, 1101, 1389, 0, 0, -1},
+ {0, 74, 0, 65535, 811.333f, 1322.25f, 90.0f, 0.502f, 0.208406f, 751, 1260, 868, 1385, 0, 0, -1},
+ {0, 74, 0, 65535, 240.528f, 1340.37f, 71.2066f, 0.111794f, 0.376566f, 133, 1294, 342, 1389, 0, 0, -1},
+ {0, 74, 0, 65535, 298.423f, 1350.01f, 83.1071f, 0.23496f, 0.153604f, 251, 1316, 344, 1385, 0, 0, -1},
+ {0, 74, 0, 65535, 259.083f, 1373.82f, 88.1064f, 0.201644f, 0.240014f, 189, 1346, 325, 1402, 0, 0, -1},
+ {0, 74, 0, 65535, 406.591f, 1589.56f, -239.32f, 0.627886f, 0.454369f, 254, 1455, 552, 1720, 0, 0, -1},
+ {0, 74, 0, 65535, 552.596f, 1619.08f, -269.32f, 0.627884f, 0.45437f, 421, 1539, 676, 1700, 0, 0, -1},
+ {0, 74, 0, 65535, 707.447f, 1571.83f, -301.394f, 0.627884f, 0.45437f, 555, 1441, 853, 1707, 0, 0, -1},
+ {0, 74, 0, 65535, 782.016f, 1497.6f, -331.508f, 0.627884f, 0.45437f, 651, 1352, 910, 1650, 0, 0, -1},
+ {0, 74, 0, 65535, 344.263f, 1549.74f, -574.809f, 0.627884f, 0.45437f, 205, 1398, 479, 1696, 0, 0, -1},
+ {1, 49, 0, 65535, 501.361f, 1168.56f, 45.0f, 1.00457f, 1.0f, 378, 1073, 597, 1293, 0, 0, -1},
+ {1, 58, 0, 65535, 524.373f, 1442.43f, 10.705f, 1.00235f, 1.00469f, 331, 1297, 755, 1551, 0, 0, -1},
+ {1, 37, 0, 65535, 985.5f, 1313.5f, 0.0f, -1.0f, 1.0f, 865, 1252, 1106, 1375, 0, 0, -1},
+ {1, 57, 0, 65535, 1129.67f, 1368.0f, 0.0f, 1.19048f, 1.0f, 1104, 1362, 1155, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 235.313f, 1330.81f, -19.3097f, 0.808448f, 1.0f, 126, 1287, 345, 1375, 0, 0, -1},
+ {1, 55, 0, 65535, 64.4583f, 1368.0f, 0.0f, 1.60341f, 1.0f, -3, 1362, 131, 1374, 0, 0, -1},
+ {1, 11, 0, 352, 746.258f, 1258.0f, -630.0f, 0.854626f, 1.0f, 740, 1137, 753, 1379, 0, 0, -1},
+ {4, 255, 0, 65535, 729.5f, 1096.5f, 0.0f, 41.0f, 53.0f, 709, 1070, 750, 1123, 0, 0, -1},
+ {4, 255, 0, 65535, 729.5f, 1030.5f, 0.0f, 41.0f, 53.0f, 709, 1004, 750, 1057, 0, 0, -1},
+ {4, 255, 0, 65535, 729.5f, 963.5f, 0.0f, 41.0f, 53.0f, 709, 937, 750, 990, 0, 0, -1},
+ {4, 255, 0, 65535, 729.5f, 901.5f, 0.0f, 41.0f, 53.0f, 709, 875, 750, 928, 0, 0, -1},
+ {4, 255, 0, 65535, 729.5f, 1159.5f, 0.0f, 41.0f, 53.0f, 709, 1133, 750, 1186, 0, 0, -1},
+ {0, 77, 0, 65535, 413.5f, 1487.0f, 90.0f, 4.14286f, 5.28542f, -7, 1375, 832, 1603, 0, 0, -1},
+ {0, 77, 0, 65535, 1090.33f, 1487.0f, 90.0f, 4.14286f, 3.40834f, 819, 1375, 1360, 1603, 0, 0, -1},
+ {0, 70, 0, 65535, 142.0f, 1580.0f, 0.0f, 1.18644f, 1.16383f, 36, 1169, 247, 2024, 0, 0, -1},
+ {0, 64, 0, 65535, 375.0f, 1278.0f, 0.0f, -0.95f, 0.590078f, 242, 1165, 508, 1391, 0, 0, -1},
+ {0, 80, 0, 65535, 705.538f, 1407.07f, -27.4596f, 1.0f, 0.379929f, 606, 1269, 796, 1549, 0, 0, -1},
+ {0, 80, 0, 65535, 861.803f, 1370.38f, 277.51f, 1.0f, 0.486794f, 679, 1315, 1043, 1433, 0, 0, -1},
+ {0, 77, 0, 65535, 565.162f, 1410.99f, 63.2321f, 2.80209f, 1.45199f, 428, 1291, 703, 1533, 0, 0, -1},
+ {1, 48, 0, 65535, 409.0f, 924.833f, 29.6002f, 1.00348f, 1.0f, 250, 805, 540, 1083, 0, 0, -1},
+ {1, 15, 0, 65535, 360.158f, 1266.75f, -10.7158f, -1.0f, 1.00394f, 245, 1157, 474, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 143.606f, 1261.91f, -45.0f, 1.08556f, 1.0f, 31, 1149, 256, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 19.0f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 40, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 1193.67f, 1368.0f, 0.0f, 1.08185f, 1.0f, 1041, 1362, 1346, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 445.0f, 857.0f, 0.0f, 50.434f, 66.0f, 419, 824, 471, 890, 0, 0, -1},
+ {4, 255, 0, 65535, 509.0f, 950.0f, 0.0f, 50.434f, 66.0f, 483, 917, 535, 983, 0, 0, -1},
+ {4, 255, 0, 65535, 460.0f, 1037.0f, 0.0f, 50.434f, 66.0f, 434, 1004, 486, 1070, 0, 0, -1},
+ {4, 255, 0, 65535, 341.5f, 852.0f, 0.0f, 50.434f, 66.0f, 316, 819, 367, 885, 0, 0, -1},
+ {4, 255, 0, 65535, 281.5f, 945.0f, 0.0f, 51.0f, 66.7407f, 256, 911, 307, 979, 0, 0, -1},
+ {1, 11, 0, 65535, 567.824f, 1318.23f, -27.4228f, 0.781657f, 1.0f, 467, 1262, 669, 1375, 0, 0, -1},
+ {0, 77, 0, 65535, 155.0f, 1501.0f, 90.0f, 4.67857f, 2.0625f, -9, 1374, 318, 1632, 0, 0, -1},
+ {0, 77, 0, 65535, 721.5f, 1501.0f, 90.0f, 4.67857f, 5.38125f, 293, 1374, 1147, 1632, 0, 0, -1},
+ {0, 64, 0, 65535, 356.333f, 1310.17f, 0.0f, 0.75f, 0.429069f, 251, 1228, 462, 1393, 0, 0, -1},
+ {0, 77, 0, 65535, 945.5f, 1501.0f, 90.0f, 4.67857f, 5.38125f, 517, 1374, 1371, 1632, 0, 0, -1},
+ {1, 16, 0, 65535, 369.615f, 1300.04f, 15.3343f, 1.0f, 1.00521f, 278, 1223, 463, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 138.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 279, 1374, 0, 0, -1},
+ {1, 59, 0, 353, 724.997f, 1107.0f, -65.0f, 1.00348f, 1.0f, 598, 945, 804, 1221, 0, 0, -1},
+ {2, 0, 0, 65535, 585.219f, 1355.74f, 0.0f, 0.667061f, 0.645218f, 456, 1335, 713, 1376, 0, 0, -1},
+ {2, 0, 0, 65535, 836.11f, 1355.74f, 0.0f, 0.667061f, 0.645218f, 707, 1335, 964, 1376, 0, 0, -1},
+ {4, 255, 0, 65535, 960.5f, 1182.5f, 0.0f, 41.0f, 53.0f, 940, 1156, 981, 1209, 0, 0, -1},
+ {4, 255, 0, 65535, 1022.5f, 1215.5f, 0.0f, 41.0f, 53.0f, 1002, 1189, 1043, 1242, 0, 0, -1},
+ {4, 255, 0, 65535, 1086.5f, 1247.5f, 0.0f, 41.0f, 53.0f, 1066, 1221, 1107, 1274, 0, 0, -1},
+ {1, 11, 0, 65535, 1154.15f, 1368.0f, 0.0f, 1.35834f, 1.0f, 963, 1362, 1345, 1374, 0, 0, -1},
+ {0, 77, 0, 65535, 155.0f, 1501.0f, 90.0f, 4.67857f, 2.0625f, -9, 1374, 318, 1632, 0, 0, -1},
+ {0, 77, 0, 65535, 654.167f, 1501.0f, 90.0f, 4.67857f, 4.53958f, 293, 1374, 1013, 1632, 0, 0, -1},
+ {0, 64, 0, 65535, 356.333f, 1310.17f, 0.0f, 0.75f, 0.429069f, 251, 1228, 462, 1393, 0, 0, -1},
+ {0, 77, 0, 65535, 1242.83f, 1546.33f, 90.0f, 4.67857f, 2.98125f, 1005, 1420, 1479, 1678, 0, 0, -1},
+ {0, 77, 0, 65535, 1729.5f, 1501.67f, 90.0f, 4.65476f, 3.18125f, 1476, 1375, 1981, 1632, 0, 0, -1},
+ {0, 69, 0, 65535, 1038.9f, 844.212f, 0.0f, 0.779664f, 1.0f, 947, 777, 1131, 912, 0, 0, -1},
+ {0, 69, 0, 65535, 759.452f, 1043.85f, 0.0f, 1.65847f, 2.04815f, 565, 906, 954, 1182, 0, 0, -1},
+ {0, 80, 0, 65535, 805.333f, 1352.0f, -76.0062f, 1.0f, 1.0f, 438, 1234, 1169, 1479, 0, 0, -1},
+ {0, 80, 0, 65535, 1115.66f, 1397.41f, -91.017f, 1.0f, 1.0f, 747, 1356, 1484, 1443, 0, 0, -1},
+ {0, 69, 0, 65535, 690.949f, 1362.58f, -263.393f, 0.406507f, 3.78519f, 433, 1286, 943, 1393, 0, 0, -1},
+ {1, 16, 0, 65535, 369.615f, 1300.04f, 15.3343f, 1.0f, 1.00521f, 278, 1223, 463, 1375, 0, 0, -1},
+ {1, 11, 0, 65535, 138.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 279, 1374, 0, 0, -1},
+ {1, 38, 0, 65535, 759.197f, 1042.39f, 0.0f, 1.0f, 1.0f, 543, 893, 976, 1191, 0, 0, -1},
+ {1, 39, 0, 65535, 1041.95f, 843.533f, 0.0f, 1.0045f, 1.0f, 929, 767, 1154, 921, 0, 0, -1},
+ {4, 255, 0, 65535, 1066.15f, 723.677f, 0.0f, 41.0f, 53.0f, 1045, 697, 1087, 751, 0, 0, -1},
+ {4, 255, 0, 65535, 1128.15f, 677.422f, 0.0f, 41.0f, 53.0f, 1107, 650, 1149, 704, 0, 0, -1},
+ {4, 255, 0, 65535, 1190.76f, 631.558f, 0.0f, 41.0f, 53.0f, 1170, 605, 1212, 659, 0, 0, -1},
+ {1, 11, 0, 65535, 1671.15f, 1368.0f, 0.0f, 1.35834f, 1.0f, 1480, 1362, 1862, 1374, 0, 0, -1},
+ {0, 74, 0, 65535, 895.907f, 1497.17f, 270.0f, 1.01197f, 3.3982f, -20, 1370, 1873, 1623, 0, 0, -1},
+ {0, 80, 0, 65535, 1127.91f, 1393.17f, -90.0f, 1.0f, 0.804483f, 831, 1354, 1424, 1433, 0, 0, -1},
+ {0, 80, 0, 65535, 540.337f, 1395.25f, -90.9341f, 1.0f, 0.923329f, 200, 1354, 880, 1440, 0, 0, -1},
+ {1, 57, 0, 65535, 1109.35f, 1357.53f, -689.855f, 1.0f, 1.0f, 1088, 1341, 1131, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1169.36f, 1357.67f, -689.855f, 1.0f, 1.0f, 1148, 1341, 1191, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1048.36f, 1357.37f, -689.855f, 1.0f, 1.0f, 1027, 1341, 1070, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1139.35f, 1357.6f, -389.855f, 1.0f, 1.0f, 1118, 1341, 1161, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1261.35f, 1357.91f, -389.855f, 1.0f, 1.0f, 1240, 1342, 1283, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1321.35f, 1358.06f, -389.855f, 1.0f, 1.0f, 1300, 1342, 1343, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1351.36f, 1358.13f, -689.855f, 1.0f, 1.0f, 1330, 1342, 1373, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1200.36f, 1357.75f, -389.855f, 1.0f, 1.0f, 1179, 1342, 1222, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1079.35f, 1357.45f, -389.855f, 1.0f, 1.0f, 1058, 1341, 1101, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1230.35f, 1357.83f, -689.855f, 1.0f, 1.0f, 1209, 1342, 1252, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1291.35f, 1357.98f, -689.855f, 1.0f, 1.0f, 1270, 1342, 1313, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1381.35f, 1358.22f, -389.855f, 1.0f, 1.0f, 1360, 1342, 1403, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1411.35f, 1358.28f, -689.855f, 1.0f, 1.0f, 1390, 1342, 1433, 1375, 0, 0, -1},
+ {1, 57, 0, 65535, 1018.35f, 1357.3f, -389.855f, 1.0f, 1.0f, 997, 1341, 1040, 1373, 0, 0, -1},
+ {1, 57, 0, 65535, 334.066f, 1358.23f, -390.046f, 1.0f, 1.0f, 312, 1342, 356, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 274.067f, 1358.28f, -390.046f, 1.0f, 1.0f, 252, 1342, 296, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 304.065f, 1358.26f, -690.046f, 1.0f, 1.0f, 282, 1342, 326, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 213.079f, 1358.33f, -390.046f, 1.0f, 1.0f, 191, 1342, 235, 1375, 0, 0, -1},
+ {1, 57, 0, 65535, 243.076f, 1358.31f, -690.046f, 1.0f, 1.0f, 221, 1342, 265, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 98.4934f, 1368.0f, 0.0f, 1.41125f, 1.0f, -1, 1362, 198, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 364.065f, 1358.27f, -690.046f, 1.0f, 1.0f, 342, 1342, 386, 1374, 0, 0, -1},
+ {1, 14, 0, 65535, 515.991f, 1185.81f, 0.0f, 1.0f, 1.0f, 376, 997, 655, 1375, 0, 0, -1},
+ {1, 14, 0, 65535, 867.991f, 1185.81f, 180.0f, 1.0f, -1.0f, 729, 997, 1008, 1375, 0, 0, -1},
+ {1, 12, 0, 65535, 1764.88f, 1368.0f, 0.0f, 1.03361f, 1.0f, 1667, 1362, 1863, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1441.35f, 1357.91f, -389.855f, 1.0f, 1.0f, 1420, 1342, 1463, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1501.35f, 1358.06f, -389.855f, 1.0f, 1.0f, 1480, 1342, 1523, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1561.35f, 1358.22f, -389.855f, 1.0f, 1.0f, 1540, 1342, 1583, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1531.36f, 1358.13f, -689.855f, 1.0f, 1.0f, 1510, 1342, 1553, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1471.35f, 1357.98f, -689.855f, 1.0f, 1.0f, 1450, 1342, 1493, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1591.35f, 1358.28f, -689.855f, 1.0f, 1.0f, 1570, 1342, 1613, 1375, 0, 0, -1},
+ {1, 57, 0, 65535, 1622.35f, 1358.22f, -389.855f, 1.0f, 1.0f, 1601, 1342, 1644, 1374, 0, 0, -1},
+ {1, 57, 0, 65535, 1652.35f, 1358.28f, -689.855f, 1.0f, 1.0f, 1631, 1342, 1674, 1375, 0, 0, -1},
+ {4, 255, 0, 65535, 627.795f, 977.81f, 0.0f, 54.4528f, 71.2592f, 600, 942, 656, 1014, 0, 0, -1},
+ {4, 255, 0, 65535, 658.828f, 836.974f, 0.0f, 54.4528f, 71.2592f, 631, 801, 687, 873, 0, 0, -1},
+ {4, 255, 0, 65535, 758.112f, 837.262f, 0.0f, 54.4528f, 71.2592f, 730, 801, 786, 873, 0, 0, -1},
+ {4, 255, 0, 65535, 641.787f, 910.853f, 0.0f, 54.4528f, 71.2592f, 614, 875, 670, 947, 0, 0, -1},
+ {4, 255, 0, 65535, 773.809f, 909.128f, 0.0f, 54.4528f, 71.2592f, 746, 873, 802, 945, 0, 0, -1},
+ {4, 255, 0, 65535, 792.593f, 979.072f, 0.0f, 54.4528f, 71.2592f, 765, 943, 820, 1015, 0, 0, -1},
+ {0, 70, 0, 65535, 373.792f, 1018.92f, 0.0f, -0.522927f, 0.997502f, 327, 667, 421, 1399, 0, 0, -1},
+ {0, 68, 0, 65535, 872.557f, 1275.07f, 0.0f, -0.967523f, 1.0f, 640, 1145, 1105, 1404, 0, 0, -1},
+ {0, 77, 0, 65535, 730.823f, 1494.22f, 90.0f, 4.37921f, 9.33308f, -12, 1375, 1469, 1617, 0, 0, -1},
+ {0, 80, 0, 65535, 398.533f, 802.748f, -17.8049f, 0.665725f, 0.388744f, 330, 660, 461, 947, 0, 0, -1},
+ {0, 80, 0, 65535, 496.14f, 1296.41f, -12.3008f, 1.35577f, 0.997307f, 366, 929, 613, 1666, 0, 0, -1},
+ {0, 77, 0, 65535, 430.412f, 1293.87f, 90.0f, 4.75466f, 0.480615f, 392, 1165, 469, 1428, 0, 0, -1},
+ {0, 80, 0, 65535, 545.569f, 1372.12f, -90.1248f, 0.771574f, 0.843043f, 235, 1342, 856, 1403, 0, 0, -1},
+ {0, 80, 0, 65535, 575.0f, 1457.3f, -161.368f, 1.19709f, 0.843044f, 443, 1153, 719, 1767, 0, 0, -1},
+ {0, 64, 0, 65535, 241.534f, 1255.91f, 0.0f, 0.66141f, 0.66141f, 148, 1129, 335, 1383, 0, 0, -1},
+ {1, 11, 0, 65535, 1296.1f, 1368.0f, 0.0f, 1.26763f, 1.0f, 1117, 1362, 1475, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 83.1305f, 1368.0f, 0.0f, 0.905643f, 1.0f, -2, 1362, 169, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 325.0f, 888.832f, 90.0f, 1.56774f, 1.0f, 319, 668, 331, 1110, 0, 0, -1},
+ {1, 35, 0, 65535, 879.088f, 1257.5f, 0.0f, -1.0f, 1.00433f, 638, 1142, 1120, 1375, 0, 0, -1},
+ {1, 15, 0, 65535, 247.717f, 1240.8f, -4.78309f, 1.0f, 1.00394f, 164, 1107, 331, 1375, 0, 0, -1},
+ {1, 57, 0, 65535, 315.178f, 653.489f, -300.0f, 1.0f, 1.0f, 299, 632, 331, 675, 0, 0, -1},
+ {1, 60, 0, 65535, 54.3781f, 574.624f, -313.939f, 1.00457f, 1.0f, -16, 456, 171, 647, 0, 0, -1},
+ {4, 255, 0, 65535, 289.139f, 1080.62f, 0.0f, 52.7789f, 69.0687f, 262, 1046, 316, 1116, 0, 0, -1},
+ {4, 255, 0, 65535, 289.139f, 984.616f, 0.0f, 52.7789f, 69.0687f, 262, 950, 316, 1020, 0, 0, -1},
+ {4, 255, 0, 65535, 289.139f, 888.616f, 0.0f, 52.7789f, 69.0687f, 262, 854, 316, 924, 0, 0, -1},
+ {4, 255, 0, 65535, 289.139f, 792.616f, 0.0f, 52.7789f, 69.0687f, 262, 758, 316, 828, 0, 0, -1},
+ {4, 255, 0, 65535, 289.139f, 696.616f, 0.0f, 52.7789f, 69.0687f, 262, 662, 316, 732, 0, 0, -1},
+ {0, 77, 0, 65535, 355.402f, 1504.74f, 90.0f, 4.38106f, 4.8427f, -30, 1386, 738, 1628, 0, 0, -1},
+ {0, 77, 0, 65535, 295.443f, 1433.72f, 73.7568f, 3.52152f, 2.18607f, 101, 1294, 489, 1577, 0, 0, -1},
+ {0, 64, 0, 65535, 576.214f, 1339.02f, -220.102f, 0.645667f, -0.645667f, 428, 1299, 726, 1492, 0, 0, -1},
+ {0, 77, 0, 65535, 478.363f, 1501.55f, -221.005f, 3.52152f, 2.18607f, 290, 1308, 664, 1697, 0, 0, -1},
+ {0, 77, 0, 65535, 661.576f, 1490.72f, 86.8405f, 3.52152f, 1.31964f, 551, 1390, 772, 1595, 0, 0, -1},
+ {0, 77, 0, 65535, 1026.79f, 1539.88f, 90.0f, 6.01405f, 3.63646f, 737, 1377, 1315, 1709, 0, 0, -1},
+ {0, 80, 0, 65535, 870.594f, 1388.05f, -90.0226f, 0.674433f, 0.424787f, 714, 1362, 1027, 1415, 0, 0, -1},
+ {0, 77, 0, 65535, 86.4796f, 1493.74f, 90.0f, 4.38105f, 1.33117f, -20, 1375, 192, 1617, 0, 0, -1},
+ {1, 13, 0, 65535, 80.3493f, 1368.0f, 0.0f, 1.18226f, 1.0f, -3, 1362, 164, 1374, 0, 0, -1},
+ {1, 47, 0, 65535, 429.503f, 1009.78f, 0.0f, 1.00235f, 1.0f, 216, 839, 644, 1181, 0, 0, -1},
+ {1, 12, 0, 354, 512.306f, 1232.41f, -35.0f, 1.0713f, 1.0f, 426, 1169, 599, 1296, 0, 0, -1},
+ {1, 12, 0, 65535, 296.328f, 1329.52f, -16.199f, 1.48939f, 1.0f, 160, 1284, 433, 1375, 0, 0, -1},
+ {1, 15, 0, 65535, 576.48f, 1330.36f, -39.8817f, -1.0f, 1.00394f, 424, 1285, 729, 1389, 0, 0, -1},
+ {1, 11, 0, 65535, 1141.92f, 1368.0f, 0.0f, 1.0f, 1.0f, 1001, 1362, 1283, 1374, 0, 0, -1},
+ {2, 4, 0, 355, 428.749f, 1047.86f, -270.0f, 0.471999f, 0.471999f, 321, 896, 536, 1200, 0, 0, -1},
+ {4, 255, 0, 65535, 285.383f, 1129.5f, 0.0f, 60.5793f, 79.2767f, 255, 1089, 316, 1170, 0, 0, -1},
+ {4, 255, 0, 65535, 272.273f, 1023.17f, 0.0f, 60.5793f, 79.2767f, 241, 983, 303, 1063, 0, 0, -1},
+ {4, 255, 0, 65535, 321.799f, 940.137f, 0.0f, 60.5793f, 79.2767f, 291, 900, 353, 980, 0, 0, -1},
+ {4, 255, 0, 65535, 420.853f, 893.524f, 0.0f, 60.5793f, 79.2767f, 390, 853, 452, 934, 0, 0, -1},
+ {4, 255, 0, 65535, 516.992f, 931.397f, 0.0f, 60.5793f, 79.2767f, 486, 891, 548, 972, 0, 0, -1},
+ {4, 255, 0, 65535, 583.999f, 1004.23f, 0.0f, 60.5793f, 79.2767f, 553, 964, 615, 1044, 0, 0, -1},
+ {0, 74, 0, 65535, 1548.98f, 1638.26f, 0.0f, 1.53855f, 1.0f, 1358, 1368, 1742, 1926, 0, 0, -1},
+ {0, 74, 0, 65535, 64.6265f, 1660.9f, -179.691f, 0.73916f, 1.0f, -30, 1373, 158, 1931, 0, 0, -1},
+ {0, 74, 0, 65535, 279.181f, 1670.21f, 0.7247f, 0.73916f, 1.0f, 183, 1399, 375, 1958, 0, 0, -1},
+ {0, 64, 0, 65535, 370.229f, 1335.77f, 44.7793f, 0.934666f, 0.986152f, 144, 1288, 596, 1562, 0, 0, -1},
+ {0, 74, 0, 65535, 873.283f, 1788.13f, 0.0f, 4.23616f, 1.11872f, 347, 1486, 1403, 2110, 0, 0, -1},
+ {0, 74, 0, 65535, 446.619f, 1522.06f, 0.0f, 0.838721f, 0.430146f, 342, 1406, 552, 1646, 0, 0, -1},
+ {0, 74, 0, 65535, 489.682f, 1430.11f, 34.3178f, 0.148885f, 0.430145f, 404, 1323, 571, 1543, 0, 0, -1},
+ {0, 74, 0, 65535, 106.27f, 1679.21f, -179.691f, 0.73916f, 1.0f, 12, 1392, 200, 1950, 0, 0, -1},
+ {0, 80, 0, 65535, 1030.73f, 1481.8f, -95.3522f, 1.21762f, 1.0f, 661, 1412, 1401, 1564, 0, 0, -1},
+ {0, 80, 0, 65535, 1043.96f, 1542.52f, -114.934f, 1.0f, 1.0f, 698, 1361, 1394, 1734, 0, 0, -1},
+ {0, 80, 0, 65535, 737.099f, 1502.35f, -399.635f, 0.787817f, 0.702916f, 548, 1288, 920, 1721, 0, 0, -1},
+ {0, 74, 0, 65535, 562.667f, 1473.61f, -214.702f, 0.83872f, 0.430145f, 406, 1312, 715, 1629, 0, 0, -1},
+ {1, 13, 0, 65535, 76.2755f, 1368.0f, 0.0f, 1.08297f, 1.0f, -1, 1362, 153, 1374, 0, 0, -1},
+ {1, 14, 0, 65535, 374.043f, 1325.43f, 42.3668f, 1.0f, 1.0f, 146, 1272, 603, 1408, 0, 0, -1},
+ {1, 12, 0, 65535, 1545.17f, 1368.0f, 0.0f, 1.97609f, 1.0f, 1359, 1362, 1731, 1374, 0, 0, -1},
+ {1, 59, 0, 65535, 412.708f, 1142.39f, 24.2405f, 1.00348f, 1.0f, 298, 1017, 575, 1221, 0, 0, -1},
+ {1, 38, 0, 65535, 986.173f, 1242.48f, 0.0f, 1.0f, -1.0f, 770, 1093, 1203, 1391, 0, 0, -1},
+ {4, 255, 0, 65535, 576.761f, 1038.45f, 0.0f, 48.0585f, 62.8914f, 552, 1007, 601, 1070, 0, 0, -1},
+ {4, 255, 0, 65535, 616.699f, 1246.15f, 0.0f, 48.0585f, 62.8914f, 592, 1214, 641, 1278, 0, 0, -1},
+ {4, 255, 0, 65535, 678.455f, 1205.55f, 0.0f, 48.0585f, 62.8914f, 654, 1174, 703, 1237, 0, 0, -1},
+ {4, 255, 0, 65535, 735.146f, 1163.87f, 0.0f, 48.0585f, 62.8914f, 711, 1132, 760, 1196, 0, 0, -1},
+ {4, 255, 0, 65535, 693.685f, 1079.05f, 0.0f, 48.0585f, 62.8914f, 669, 1047, 718, 1111, 0, 0, -1},
+ {4, 255, 0, 65535, 635.337f, 1058.43f, 0.0f, 48.0585f, 62.8914f, 611, 1026, 660, 1090, 0, 0, -1},
+ {0, 74, 0, 65535, 766.552f, 1498.95f, 270.0f, 1.01197f, 3.05786f, -58, 1372, 1646, 1625, 0, 0, -1},
+ {0, 80, 0, 65535, 787.468f, 1396.44f, -90.0f, 1.0f, 0.6187f, 559, 1357, 1015, 1436, 0, 0, -1},
+ {1, 57, 0, 65535, 515.524f, 1365.18f, -389.028f, 1.0f, 1.0f, 494, 1349, 537, 1381, 0, 0, -1},
+ {1, 57, 0, 65535, 273.553f, 1361.07f, -389.028f, 1.0f, 1.0f, 252, 1345, 295, 1377, 0, 0, -1},
+ {1, 57, 0, 65535, 303.564f, 1361.58f, -689.028f, 1.0f, 1.0f, 282, 1345, 325, 1378, 0, 0, -1},
+ {1, 57, 0, 65535, 364.552f, 1362.61f, -689.028f, 1.0f, 1.0f, 343, 1346, 386, 1379, 0, 0, -1},
+ {1, 57, 0, 65535, 425.541f, 1363.65f, -689.028f, 1.0f, 1.0f, 404, 1347, 447, 1380, 0, 0, -1},
+ {1, 57, 0, 65535, 395.543f, 1363.14f, -389.028f, 1.0f, 1.0f, 374, 1347, 417, 1379, 0, 0, -1},
+ {1, 57, 0, 65535, 213.565f, 1360.05f, -389.028f, 1.0f, 1.0f, 192, 1344, 235, 1376, 0, 0, -1},
+ {1, 57, 0, 65535, 455.527f, 1364.16f, -389.028f, 1.0f, 1.0f, 434, 1348, 477, 1380, 0, 0, -1},
+ {1, 57, 0, 65535, 545.521f, 1365.68f, -689.028f, 1.0f, 1.0f, 524, 1349, 567, 1382, 0, 0, -1},
+ {1, 57, 0, 65535, 485.538f, 1364.66f, -689.028f, 1.0f, 1.0f, 464, 1348, 507, 1381, 0, 0, -1},
+ {1, 57, 0, 65535, 334.55f, 1362.1f, -389.028f, 1.0f, 1.0f, 313, 1346, 356, 1378, 0, 0, -1},
+ {1, 57, 0, 65535, 243.559f, 1360.56f, -689.028f, 1.0f, 1.0f, 222, 1344, 265, 1377, 0, 0, -1},
+ {1, 57, 0, 65535, 152.582f, 1359.02f, -389.028f, 1.0f, 1.0f, 131, 1343, 174, 1375, 0, 0, -1},
+ {1, 57, 0, 65535, 182.579f, 1359.52f, -689.028f, 1.0f, 1.0f, 161, 1343, 204, 1376, 0, 0, -1},
+ {1, 57, 0, 65535, 889.974f, 1194.6f, -417.207f, 1.0f, 1.0f, 873, 1173, 907, 1216, 0, 0, -1},
+ {1, 57, 0, 65535, 674.743f, 1305.24f, -417.207f, 1.0f, 1.0f, 658, 1284, 692, 1327, 0, 0, -1},
+ {1, 57, 0, 65535, 701.439f, 1291.52f, -717.207f, 1.0f, 1.0f, 680, 1284, 723, 1299, 0, 0, -1},
+ {1, 57, 0, 65535, 755.678f, 1263.63f, -717.207f, 1.0f, 1.0f, 734, 1256, 777, 1271, 0, 0, -1},
+ {1, 57, 0, 65535, 809.93f, 1235.74f, -717.207f, 1.0f, 1.0f, 788, 1228, 832, 1243, 0, 0, -1},
+ {1, 57, 0, 65535, 783.252f, 1249.46f, -417.207f, 1.0f, 1.0f, 766, 1228, 800, 1271, 0, 0, -1},
+ {1, 57, 0, 65535, 621.381f, 1332.67f, -417.207f, 1.0f, 1.0f, 604, 1311, 638, 1354, 0, 0, -1},
+ {1, 57, 0, 65535, 836.604f, 1222.03f, -417.207f, 1.0f, 1.0f, 820, 1201, 854, 1243, 0, 0, -1},
+ {1, 57, 0, 65535, 916.648f, 1180.88f, -717.207f, 1.0f, 1.0f, 895, 1173, 938, 1188, 0, 0, -1},
+ {1, 57, 0, 65535, 863.295f, 1208.3f, -717.207f, 1.0f, 1.0f, 842, 1201, 885, 1216, 0, 0, -1},
+ {1, 57, 0, 65535, 728.999f, 1277.34f, -417.207f, 1.0f, 1.0f, 712, 1256, 746, 1299, 0, 0, -1},
+ {1, 57, 0, 65535, 648.064f, 1318.96f, -717.207f, 1.0f, 1.0f, 626, 1311, 670, 1326, 0, 0, -1},
+ {1, 57, 0, 65535, 567.143f, 1360.56f, -417.207f, 1.0f, 1.0f, 550, 1339, 584, 1382, 0, 0, -1},
+ {1, 57, 0, 65535, 593.821f, 1346.84f, -717.207f, 1.0f, 1.0f, 572, 1339, 616, 1354, 0, 0, -1},
+ {1, 57, 0, 65535, 934.428f, 1166.32f, -441.291f, 1.0f, 1.0f, 925, 1144, 944, 1188, 0, 0, -1},
+ {1, 57, 0, 65535, 953.186f, 1142.91f, -741.291f, 1.0f, 1.0f, 931, 1129, 975, 1157, 0, 0, -1},
+ {1, 11, 0, 65535, 1324.79f, 1368.0f, 3.55271e-15f, 2.21864f, 1.0f, 1013, 1362, 1637, 1374, 0, 0, -1},
+ {1, 13, 0, 65535, 69.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 140, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 651.427f, 1277.33f, 0.0f, 54.4528f, 71.2592f, 624, 1241, 679, 1313, 0, 0, -1},
+ {4, 255, 0, 65535, 753.323f, 1216.82f, 0.0f, 54.4528f, 71.2592f, 726, 1181, 781, 1253, 0, 0, -1},
+ {4, 255, 0, 65535, 703.294f, 1245.12f, 0.0f, 54.4528f, 71.2592f, 676, 1209, 731, 1281, 0, 0, -1},
+ {4, 255, 0, 65535, 808.19f, 1189.29f, 0.0f, 54.4528f, 71.2592f, 780, 1153, 836, 1225, 0, 0, -1},
+ {4, 255, 0, 65535, 862.701f, 1159.1f, 0.0f, 54.4528f, 71.2592f, 835, 1123, 890, 1195, 0, 0, -1},
+ {0, 74, 0, 65535, 766.552f, 1498.95f, 270.0f, 1.01197f, 3.05786f, -58, 1372, 1646, 1625, 0, 0, -1},
+ {0, 80, 0, 65535, 713.5f, 1391.0f, -90.0f, 1.0f, 1.00954f, 341, 1352, 1084, 1430, 0, 0, -1},
+ {1, 13, 0, 65535, 69.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 140, 1374, 0, 0, -1},
+ {1, 39, 0, 65535, 242.06f, 1297.5f, 0.0f, 1.0045f, 1.0f, 130, 1221, 355, 1374, 0, 0, -1},
+ {1, 38, 0, 65535, 582.749f, 1166.26f, 0.0f, 1.0f, 1.0f, 366, 1017, 799, 1315, 0, 0, -1},
+ {1, 39, 0, 65535, 928.23f, 1044.24f, 0.0f, 1.0045f, -1.0f, 816, 967, 1041, 1121, 0, 0, -1},
+ {1, 39, 0, 65535, 1352.06f, 1297.5f, 0.0f, 1.0045f, 1.0f, 1240, 1221, 1465, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1540.99f, 1368.0f, 0.0f, 1.0f, 1.0f, 1446, 1362, 1635, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1158.99f, 1368.0f, 0.0f, 1.0f, 1.0f, 1064, 1362, 1253, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 834.662f, 924.558f, 0.0f, 55.9251f, 73.186f, 806, 887, 863, 962, 0, 0, -1},
+ {4, 255, 0, 65535, 898.662f, 924.558f, 0.0f, 55.9251f, 73.186f, 870, 887, 927, 962, 0, 0, -1},
+ {4, 255, 0, 65535, 962.662f, 924.558f, 0.0f, 55.9251f, 73.186f, 934, 887, 991, 962, 0, 0, -1},
+ {4, 255, 0, 65535, 1026.66f, 924.558f, 0.0f, 55.9251f, 73.186f, 998, 887, 1055, 962, 0, 0, -1},
+ {0, 74, 0, 65535, 107.885f, 1498.95f, 270.0f, 1.01197f, 0.471582f, -20, 1372, 244, 1625, 0, 0, -1},
+ {0, 74, 0, 65535, 654.543f, 1622.84f, 270.0f, 1.01198f, 1.54345f, 238, 1496, 1099, 1749, 0, 0, -1},
+ {0, 74, 0, 65535, 1301.92f, 1498.95f, 270.0f, 1.01198f, 1.17946f, 984, 1372, 1642, 1625, 0, 0, -1},
+ {0, 80, 0, 65535, 1123.89f, 1383.45f, -90.0f, 0.759826f, 0.367747f, 988, 1354, 1259, 1414, 0, 0, -1},
+ {0, 80, 0, 65535, 349.359f, 1460.74f, -425.277f, 0.759826f, 0.40254f, 202, 1378, 493, 1550, 0, 0, -1},
+ {0, 77, 0, 65535, 276.906f, 1496.77f, 296.565f, 1.50881f, 1.0f, 188, 1423, 367, 1569, 0, 0, -1},
+ {0, 64, 0, 65535, 897.583f, 1411.53f, 450.0f, 0.66022f, -0.591714f, 784, 1319, 1011, 1504, 0, 0, -1},
+ {1, 39, 0, 65535, 1073.1f, 1254.09f, -180.0f, 1.0045f, 1.0f, 961, 1177, 1186, 1331, 0, 0, -1},
+ {1, 12, 0, 65535, 1540.99f, 1368.0f, 0.0f, 1.0f, 1.0f, 1446, 1362, 1635, 1374, 0, 0, -1},
+ {1, 59, 0, 65535, 646.174f, 1219.24f, -325.727f, 1.00348f, 1.0f, 542, 1078, 807, 1304, 0, 0, -1},
+ {1, 12, 0, 65535, 1353.12f, 1368.0f, 0.0f, 1.00134f, 1.0f, 1258, 1362, 1448, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 120.49f, 1368.0f, 0.0f, 1.30851f, 1.0f, -3, 1362, 244, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 887.087f, 1408.04f, 449.364f, 1.0f, -1.00394f, 761, 1313, 1014, 1503, 0, 0, -1},
+ {1, 11, 0, 65535, 622.818f, 1496.96f, 0.0f, 1.0f, 1.0f, 482, 1490, 764, 1503, 0, 0, -1},
+ {4, 255, 0, 65535, 988.09f, 1159.68f, 0.0f, 55.9251f, 73.186f, 960, 1123, 1017, 1197, 0, 0, -1},
+ {4, 255, 0, 65535, 1052.09f, 1159.68f, 0.0f, 55.9251f, 73.186f, 1024, 1123, 1081, 1197, 0, 0, -1},
+ {4, 255, 0, 65535, 1116.09f, 1159.68f, 0.0f, 55.9251f, 73.186f, 1088, 1123, 1145, 1197, 0, 0, -1},
+ {4, 255, 0, 65535, 1180.09f, 1159.68f, 0.0f, 55.9251f, 73.186f, 1152, 1123, 1209, 1197, 0, 0, -1},
+ {0, 74, 0, 65535, 364.374f, 1553.04f, 270.0f, 0.579273f, 1.39695f, -13, 1480, 766, 1625, 0, 0, -1},
+ {0, 74, 0, 65535, 1011.4f, 1553.04f, 270.0f, 0.579274f, 1.19936f, 688, 1480, 1357, 1625, 0, 0, -1},
+ {0, 74, 0, 65535, 177.472f, 1444.77f, 270.0f, 0.579272f, 0.715909f, -16, 1372, 384, 1517, 0, 0, -1},
+ {0, 74, 0, 65535, 1128.97f, 1445.36f, 270.0f, 0.579272f, 0.760106f, 924, 1372, 1348, 1518, 0, 0, -1},
+ {0, 74, 0, 65535, 651.474f, 1443.03f, 270.0f, 0.579272f, 0.508983f, 514, 1370, 798, 1515, 0, 0, -1},
+ {0, 69, 0, 65535, 946.168f, 1433.15f, 0.0f, 1.0f, 1.16493f, 829, 1355, 1064, 1512, 0, 0, -1},
+ {0, 69, 0, 65535, 780.168f, 1433.15f, 0.0f, 1.0f, 1.16493f, 663, 1355, 898, 1512, 0, 0, -1},
+ {0, 69, 0, 65535, 532.168f, 1433.15f, 0.0f, 1.0f, 1.16493f, 415, 1355, 650, 1512, 0, 0, -1},
+ {0, 69, 0, 65535, 369.168f, 1433.15f, 0.0f, 1.0f, 1.16493f, 252, 1355, 487, 1512, 0, 0, -1},
+ {1, 13, 0, 65535, 69.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 140, 1374, 0, 0, -1},
+ {1, 39, 0, 65535, 242.06f, 1298.5f, 0.0f, 1.0045f, 1.0f, 130, 1222, 355, 1375, 0, 0, -1},
+ {1, 12, 0, 65535, 1237.71f, 1368.0f, 0.0f, 0.826758f, 1.0f, 1159, 1362, 1316, 1374, 0, 0, -1},
+ {1, 39, 0, 65535, 655.06f, 1298.5f, 0.0f, 1.0045f, 1.0f, 543, 1222, 768, 1375, 0, 0, -1},
+ {1, 39, 0, 65535, 1067.06f, 1298.5f, 0.0f, 1.0045f, 1.0f, 955, 1222, 1180, 1375, 0, 0, -1},
+ {1, 39, 0, 65535, 449.06f, 1394.5f, 0.0f, 1.0045f, -1.0f, 337, 1318, 562, 1471, 0, 0, -1},
+ {1, 39, 0, 65535, 862.06f, 1394.5f, 0.0f, 1.0045f, -1.0f, 750, 1318, 975, 1471, 0, 0, -1},
+ {4, 255, 0, 65535, 129.994f, 1322.94f, 0.0f, 55.9251f, 73.186f, 102, 1286, 158, 1360, 0, 0, -1},
+ {4, 255, 0, 65535, 169.567f, 1268.27f, 0.0f, 55.9251f, 73.186f, 141, 1231, 198, 1305, 0, 0, -1},
+ {4, 255, 0, 65535, 212.63f, 1213.6f, 0.0f, 55.9251f, 73.186f, 184, 1177, 241, 1251, 0, 0, -1},
+ {4, 255, 0, 65535, 624.916f, 1215.64f, 0.0f, 55.9251f, 73.186f, 596, 1179, 653, 1253, 0, 0, -1},
+ {4, 255, 0, 65535, 581.854f, 1270.31f, 0.0f, 55.9251f, 73.186f, 553, 1233, 610, 1307, 0, 0, -1},
+ {4, 255, 0, 65535, 1035.92f, 1215.64f, 0.0f, 55.9251f, 73.186f, 1007, 1179, 1064, 1253, 0, 0, -1},
+ {4, 255, 0, 65535, 992.854f, 1270.31f, 0.0f, 55.9251f, 73.186f, 964, 1233, 1021, 1307, 0, 0, -1},
+ {0, 74, 0, 65535, 364.374f, 1493.71f, 270.0f, 0.984606f, 1.39695f, -13, 1370, 766, 1616, 0, 0, -1},
+ {0, 74, 0, 65535, 1011.4f, 1493.71f, 270.0f, 0.984607f, 1.19936f, 688, 1370, 1357, 1616, 0, 0, -1},
+ {0, 74, 0, 65535, 1203.4f, 1493.04f, 270.0f, 0.979274f, 1.19936f, 880, 1370, 1549, 1615, 0, 0, -1},
+ {0, 76, 0, 65535, 1066.37f, 1315.14f, 0.0f, 1.48962f, 1.48962f, 758, 1067, 1374, 1562, 0, 0, -1},
+ {0, 76, 0, 65535, 549.862f, 1339.35f, 0.0f, 1.00291f, 1.00291f, 342, 1172, 757, 1506, 0, 0, -1},
+ {0, 76, 0, 65535, 237.949f, 1359.62f, 0.0f, 0.504547f, 0.504547f, 133, 1275, 342, 1444, 0, 0, -1},
+ {1, 13, 0, 65535, 69.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -1, 1362, 140, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1460.71f, 1368.0f, 0.0f, 0.826758f, 1.0f, 1382, 1362, 1539, 1374, 0, 0, -1},
+ {1, 60, 0, 65535, 238.0f, 1319.0f, 0.0f, 1.00457f, -1.0f, 127, 1265, 349, 1374, 0, 0, -1},
+ {1, 58, 0, 65535, 548.0f, 1267.0f, 0.0f, 1.00235f, -1.00469f, 334, 1160, 762, 1375, 0, 0, -1},
+ {1, 61, 0, 65535, 1066.0f, 1215.5f, 0.0f, 1.0f, -1.0f, 749, 1057, 1383, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 935.963f, 1050.41f, 0.0f, 55.9251f, 73.186f, 908, 1013, 964, 1087, 0, 0, -1},
+ {4, 255, 0, 65535, 1255.96f, 1085.41f, 0.0f, 55.9251f, 73.186f, 1228, 1048, 1284, 1122, 0, 0, -1},
+ {4, 255, 0, 65535, 1191.96f, 1050.41f, 0.0f, 55.9251f, 73.186f, 1164, 1013, 1220, 1087, 0, 0, -1},
+ {4, 255, 0, 65535, 871.963f, 1085.41f, 0.0f, 55.9251f, 73.186f, 844, 1048, 900, 1122, 0, 0, -1},
+ {4, 255, 0, 65535, 1127.96f, 1034.41f, 0.0f, 55.9251f, 73.186f, 1100, 997, 1156, 1071, 0, 0, -1},
+ {4, 255, 0, 65535, 1063.96f, 1024.41f, 0.0f, 55.9251f, 73.186f, 1036, 987, 1092, 1061, 0, 0, -1},
+ {4, 255, 0, 65535, 999.963f, 1034.41f, 0.0f, 55.9251f, 73.186f, 972, 997, 1028, 1071, 0, 0, -1},
+ {0, 74, 0, 65535, 203.251f, 1493.71f, 270.0f, 0.984606f, 0.840396f, -24, 1370, 445, 1616, 0, 0, -1},
+ {0, 74, 0, 65535, 1090.55f, 1493.71f, 270.0f, 0.984607f, 0.925969f, 840, 1370, 1357, 1616, 0, 0, -1},
+ {0, 74, 0, 65535, 1203.4f, 1493.04f, 270.0f, 0.979274f, 1.19936f, 880, 1370, 1549, 1615, 0, 0, -1},
+ {0, 74, 0, 65535, 650.025f, 1629.66f, 270.0f, 0.984608f, 0.925969f, 400, 1506, 917, 1752, 0, 0, -1},
+ {0, 67, 0, 65535, 403.126f, 1440.83f, -33.1883f, 1.0f, 1.00649f, 295, 1333, 510, 1549, 0, 0, -1},
+ {0, 68, 0, 65535, 289.001f, 1314.59f, 0.0f, 0.626818f, 0.632226f, 138, 1232, 440, 1396, 0, 0, -1},
+ {0, 67, 0, 65535, 518.693f, 1521.02f, -66.6501f, 0.654092f, 1.34535f, 403, 1433, 634, 1609, 0, 0, -1},
+ {0, 67, 0, 65535, 772.716f, 1527.46f, -106.968f, 0.654091f, 1.34535f, 658, 1449, 888, 1607, 0, 0, -1},
+ {0, 67, 0, 65535, 831.715f, 1481.22f, 230.534f, 0.654091f, 1.34535f, 719, 1376, 945, 1587, 0, 0, -1},
+ {0, 67, 0, 65535, 861.628f, 1438.64f, 210.958f, 0.654091f, 1.34535f, 764, 1324, 959, 1554, 0, 0, -1},
+ {0, 67, 0, 65535, 1022.99f, 1356.41f, -102.614f, 0.919495f, 1.80734f, 870, 1257, 1176, 1457, 0, 0, -1},
+ {0, 68, 0, 65535, 1265.77f, 1325.92f, 180.0f, 0.521357f, -0.525855f, 1140, 1257, 1391, 1394, 0, 0, -1},
+ {0, 78, 0, 65535, 1023.61f, 1312.56f, -189.118f, 0.913343f, 0.464986f, 843, 1260, 1218, 1391, 0, 0, -1},
+ {1, 13, 0, 65535, 68.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 139, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1460.71f, 1368.0f, 0.0f, 0.826758f, 1.0f, 1382, 1362, 1539, 1374, 0, 0, -1},
+ {1, 36, 0, 65535, 298.619f, 1295.5f, 0.0f, 1.0f, 1.0f, 138, 1216, 460, 1375, 0, 0, -1},
+ {1, 58, 0, 65535, 607.566f, 1397.0f, 21.0201f, 1.00235f, 1.00469f, 432, 1220, 846, 1511, 0, 0, -1},
+ {1, 55, 0, 65535, 1091.17f, 1260.1f, -1.38637f, 1.2822f, 1.0f, 1037, 1252, 1145, 1268, 0, 0, -1},
+ {1, 37, 0, 65535, 1263.7f, 1313.5f, 0.0f, 1.0f, -1.0f, 1143, 1252, 1385, 1375, 0, 0, -1},
+ {1, 16, 0, 65535, 936.626f, 1314.46f, 637.107f, 1.0f, -1.00521f, 832, 1256, 1040, 1375, 0, 0, -1},
+ {2, 4, 0, 356, 1077.53f, 1260.17f, -270.0f, 0.421187f, 0.421187f, 982, 1125, 1173, 1396, 0, 0, -1},
+ {4, 255, 0, 65535, 937.963f, 1243.41f, 0.0f, 55.9251f, 73.186f, 910, 1206, 966, 1280, 0, 0, -1},
+ {4, 255, 0, 65535, 1257.96f, 1266.41f, 0.0f, 55.9251f, 73.186f, 1230, 1229, 1286, 1303, 0, 0, -1},
+ {4, 255, 0, 65535, 1193.96f, 1230.41f, 0.0f, 55.9251f, 73.186f, 1166, 1193, 1222, 1267, 0, 0, -1},
+ {4, 255, 0, 65535, 873.963f, 1277.41f, 0.0f, 55.9251f, 73.186f, 846, 1240, 902, 1314, 0, 0, -1},
+ {4, 255, 0, 65535, 1129.96f, 1222.41f, 0.0f, 55.9251f, 73.186f, 1102, 1185, 1158, 1259, 0, 0, -1},
+ {4, 255, 0, 65535, 1065.96f, 1223.41f, 0.0f, 55.9251f, 73.186f, 1038, 1186, 1094, 1260, 0, 0, -1},
+ {4, 255, 0, 65535, 1001.96f, 1228.41f, 0.0f, 55.9251f, 73.186f, 974, 1191, 1030, 1265, 0, 0, -1},
+ {0, 74, 0, 65535, 932.056f, 1486.18f, 270.0f, 0.946362f, 3.53917f, -22, 1367, 1950, 1604, 0, 0, -1},
+ {0, 71, 0, 65535, 923.179f, 1204.49f, 0.0f, 1.52017f, 1.52017f, 478, 1129, 1368, 1280, 0, 0, -1},
+ {0, 74, 0, 65535, 970.596f, 1318.11f, 270.0f, 0.939404f, 1.89453f, 460, 1200, 1516, 1435, 0, 0, -1},
+ {0, 68, 0, 65535, 1596.41f, 1269.81f, 183.494f, 1.0f, -0.991359f, 1349, 1127, 1831, 1412, 0, 0, -1},
+ {0, 64, 0, 65535, 215.01f, 1259.52f, -5.7304f, 0.701908f, 0.617621f, 128, 1132, 325, 1388, 0, 0, -1},
+ {0, 74, 0, 65535, 400.717f, 1256.07f, 0.0f, 0.854548f, 0.464173f, 294, 1130, 508, 1390, 0, 0, -1},
+ {1, 13, 0, 65535, 68.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 139, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1894.21f, 1368.0f, 0.0f, 0.651226f, 1.0f, 1832, 1362, 1956, 1374, 0, 0, -1},
+ {1, 41, 0, 65535, 920.8f, 1154.0f, 0.0f, 1.0f, 1.0f, 474, 1120, 1368, 1188, 0, 0, -1},
+ {2, 6, 0, 357, 704.09f, 1335.77f, 0.0f, 0.467259f, 0.467259f, 691, 1208, 717, 1461, 0, 0, -1},
+ {1, 15, 0, 65535, 217.78f, 1239.06f, -5.40612f, 1.0f, 1.00394f, 135, 1104, 300, 1375, 0, 0, -1},
+ {2, 6, 0, 358, 1152.09f, 1335.77f, 0.0f, 0.467259f, 0.467259f, 1139, 1208, 1165, 1461, 0, 0, -1},
+ {2, 6, 0, 359, 928.09f, 1283.77f, 0.0f, 0.467259f, 0.467259f, 915, 1156, 941, 1409, 0, 0, -1},
+ {1, 35, 0, 65535, 1599.95f, 1247.06f, 182.832f, 1.0f, -1.00433f, 1364, 1119, 1836, 1376, 0, 0, -1},
+ {1, 13, 0, 65535, 385.175f, 1126.0f, 0.0f, 1.267f, 1.0f, 295, 1120, 475, 1132, 0, 0, -1},
+ {4, 255, 0, 65535, 701.913f, 1140.48f, 0.0f, 55.9251f, 73.186f, 673, 1103, 730, 1178, 0, 0, -1},
+ {4, 255, 0, 65535, 928.251f, 1086.98f, 0.0f, 55.9251f, 73.186f, 900, 1050, 957, 1124, 0, 0, -1},
+ {4, 255, 0, 65535, 1152.12f, 1146.24f, 0.0f, 55.9251f, 73.186f, 1124, 1109, 1181, 1183, 0, 0, -1},
+ {4, 255, 0, 65535, 1358.7f, 1086.16f, 0.0f, 55.9251f, 73.186f, 1330, 1049, 1387, 1123, 0, 0, -1},
+ {0, 74, 0, 65535, 932.056f, 1486.18f, 270.0f, 0.946362f, 3.53917f, -22, 1367, 1950, 1604, 0, 0, -1},
+ {0, 64, 0, 65535, 221.307f, 1247.44f, -5.40612f, 0.677382f, 0.663368f, 138, 1112, 328, 1383, 0, 0, -1},
+ {0, 74, 0, 65535, 383.333f, 1239.84f, 0.0f, 0.67685f, 0.471887f, 299, 1112, 468, 1376, 0, 0, -1},
+ {0, 80, 0, 65535, 752.934f, 524.966f, 0.0f, 0.402208f, 1.0f, 737, 156, 769, 892, 0, 0, -1},
+ {0, 80, 0, 65535, 733.934f, 524.966f, -180.0f, 0.402208f, 1.0f, 718, 157, 750, 893, 0, 0, -1},
+ {0, 80, 0, 65535, 1154.93f, 524.966f, 0.0f, 0.402208f, 1.0f, 1139, 156, 1171, 892, 0, 0, -1},
+ {0, 80, 0, 65535, 1135.93f, 524.966f, -180.0f, 0.402208f, 1.0f, 1120, 157, 1152, 893, 0, 0, -1},
+ {0, 69, 0, 65535, 537.766f, 1184.31f, 0.0f, 2.47009f, 3.03072f, 248, 981, 827, 1388, 0, 0, -1},
+ {0, 69, 0, 65535, 946.766f, 1184.31f, 0.0f, 2.47009f, 3.03072f, 657, 981, 1236, 1388, 0, 0, -1},
+ {0, 69, 0, 65535, 1354.77f, 1184.31f, 0.0f, 2.47009f, 3.03072f, 1065, 981, 1644, 1388, 0, 0, -1},
+ {0, 69, 0, 65535, 1627.0f, 1232.94f, 0.0f, 1.73705f, 2.07003f, 1423, 1094, 1831, 1372, 0, 0, -1},
+ {0, 80, 0, 65535, 1524.31f, 1237.65f, -35.139f, 0.402208f, 0.420473f, 1422, 1104, 1623, 1373, 0, 0, -1},
+ {1, 13, 0, 65535, 68.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 139, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1894.21f, 1368.0f, 0.0f, 0.651226f, 1.0f, 1832, 1362, 1956, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 217.78f, 1239.06f, -5.40612f, 1.0f, 1.00394f, 135, 1104, 300, 1375, 0, 0, -1},
+ {1, 13, 0, 65535, 367.998f, 1112.0f, 0.0f, 1.0f, 1.0f, 297, 1106, 439, 1118, 0, 0, -1},
+ {1, 39, 0, 65535, 1355.15f, 1042.5f, 0.0f, 1.0045f, 1.0f, 1243, 966, 1468, 1119, 0, 0, -1},
+ {1, 39, 0, 65535, 1148.15f, 1194.0f, 0.0f, 1.0045f, -1.0f, 1036, 1117, 1261, 1271, 0, 0, -1},
+ {1, 39, 0, 65535, 946.15f, 1042.5f, 0.0f, 1.0045f, 1.0f, 834, 966, 1059, 1119, 0, 0, -1},
+ {1, 39, 0, 65535, 740.15f, 1194.0f, 0.0f, 1.0045f, -1.0f, 628, 1117, 853, 1271, 0, 0, -1},
+ {1, 39, 0, 65535, 538.15f, 1042.5f, 0.0f, 1.0045f, 1.0f, 426, 966, 651, 1119, 0, 0, -1},
+ {2, 5, 0, 360, 658.547f, 827.861f, 115.0f, 0.4087f, 0.4087f, 535, 702, 774, 897, 0, 0, -1},
+ {2, 5, 0, 361, 1229.56f, 828.022f, -115.0f, 0.4087f, 0.4087f, 1114, 699, 1351, 897, 0, 0, -1},
+ {1, 38, 0, 65535, 1628.09f, 1225.5f, 0.0f, 1.0f, 1.0f, 1412, 1077, 1845, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 654.857f, 1091.41f, 0.0f, 55.9251f, 73.186f, 626, 1054, 683, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 741.377f, 1091.41f, 0.0f, 55.9251f, 73.186f, 713, 1054, 770, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 828.214f, 1091.41f, 0.0f, 55.9251f, 73.186f, 800, 1054, 857, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 1235.21f, 1091.41f, 0.0f, 55.9251f, 73.186f, 1207, 1054, 1264, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 1061.86f, 1091.41f, 0.0f, 55.9251f, 73.186f, 1033, 1054, 1090, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 1148.38f, 1091.41f, 0.0f, 55.9251f, 73.186f, 1120, 1054, 1177, 1128, 0, 0, -1},
+ {0, 74, 0, 65535, 284.565f, 1486.18f, 270.0f, 0.946314f, 1.09534f, -11, 1367, 600, 1604, 0, 0, -1},
+ {0, 74, 0, 65535, 1263.76f, 1486.18f, 270.0f, 0.946314f, 0.286419f, 1186, 1367, 1347, 1604, 0, 0, -1},
+ {0, 74, 0, 65535, 910.766f, 1523.41f, 270.0f, 0.732105f, 1.49405f, 508, 1431, 1341, 1615, 0, 0, -1},
+ {0, 69, 0, 65535, 392.045f, 1231.7f, 0.0f, 1.73234f, 2.01243f, 189, 1096, 595, 1367, 0, 0, -1},
+ {0, 71, 0, 65535, 894.126f, 1420.42f, 0.0f, 1.01627f, 1.0f, 596, 1370, 1192, 1470, 0, 0, -1},
+ {1, 13, 0, 65535, 91.7503f, 1368.0f, 0.0f, 1.3306f, 1.0f, -3, 1362, 186, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1248.97f, 1368.0f, 0.0f, 0.701867f, 1.0f, 1182, 1362, 1315, 1374, 0, 0, -1},
+ {1, 39, 0, 65535, 863.556f, 1154.75f, 0.0f, 1.0045f, 1.0f, 751, 1078, 976, 1232, 0, 0, -1},
+ {1, 39, 0, 65535, 611.671f, 811.637f, 0.0f, 1.0045f, -1.0f, 499, 735, 724, 889, 0, 0, -1},
+ {1, 39, 0, 65535, 959.556f, 930.749f, 0.0f, 1.0045f, -1.0f, 847, 854, 1072, 1008, 0, 0, -1},
+ {1, 38, 0, 65535, 391.599f, 1226.32f, 0.0f, 1.0f, 1.0f, 175, 1077, 608, 1375, 0, 0, -1},
+ {1, 42, 0, 65535, 890.572f, 1386.06f, 0.0f, 1.0f, 1.0f, 598, 1361, 1184, 1411, 0, 0, -1},
+ {4, 255, 0, 65535, 635.921f, 887.87f, 0.0f, 55.9251f, 73.186f, 607, 851, 664, 925, 0, 0, -1},
+ {4, 255, 0, 65535, 705.758f, 791.107f, 0.0f, 55.9251f, 73.186f, 677, 754, 734, 828, 0, 0, -1},
+ {4, 255, 0, 65535, 854.879f, 898.992f, 0.0f, 55.9251f, 73.186f, 826, 862, 883, 936, 0, 0, -1},
+ {4, 255, 0, 65535, 761.041f, 1184.83f, 0.0f, 55.9251f, 73.186f, 733, 1148, 790, 1222, 0, 0, -1},
+ {4, 255, 0, 65535, 917.24f, 982.409f, 0.0f, 55.9251f, 73.186f, 889, 945, 946, 1020, 0, 0, -1},
+ {4, 255, 0, 65535, 824.692f, 1096.97f, 0.0f, 55.9251f, 73.186f, 796, 1060, 853, 1134, 0, 0, -1},
+ {0, 74, 0, 65535, 765.351f, 1486.18f, 270.0f, 0.946362f, 2.89567f, -16, 1367, 1598, 1604, 0, 0, -1},
+ {0, 64, 0, 65535, 233.698f, 1255.81f, 0.0f, 0.677382f, 0.663368f, 138, 1129, 329, 1383, 0, 0, -1},
+ {0, 70, 0, 65535, 412.65f, 1827.98f, 180.0f, 1.0f, -1.98451f, 324, 1128, 502, 2585, 0, 0, -1},
+ {0, 80, 0, 65535, 448.209f, 1381.17f, -390.121f, 0.675476f, 0.675476f, 300, 1156, 590, 1609, 0, 0, -1},
+ {0, 80, 0, 65535, 647.694f, 1361.86f, -454.095f, 0.675476f, 0.675476f, 398, 1324, 897, 1406, 0, 0, -1},
+ {0, 80, 0, 65535, 1114.07f, 1365.09f, -804.998f, 0.675476f, 0.620127f, 884, 1324, 1343, 1412, 0, 0, -1},
+ {1, 13, 0, 65535, 68.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 139, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1481.48f, 1368.0f, 0.0f, 1.0265f, 1.0f, 1384, 1362, 1578, 1374, 0, 0, -1},
+ {1, 15, 0, 65535, 230.212f, 1247.4f, 0.0f, 1.0f, 1.00394f, 136, 1120, 324, 1375, 0, 0, -1},
+ {1, 39, 0, 65535, 892.15f, 1194.0f, 0.0f, 1.0045f, -1.0f, 780, 1117, 1005, 1271, 0, 0, -1},
+ {1, 39, 0, 65535, 484.15f, 1194.0f, 0.0f, 1.0045f, -1.0f, 372, 1117, 597, 1271, 0, 0, -1},
+ {1, 39, 0, 65535, 688.15f, 1054.0f, 0.0f, 1.0045f, 1.0f, 576, 977, 801, 1131, 0, 0, -1},
+ {2, 1, 0, 362, 816.931f, 480.093f, 0.0f, 0.258872f, 0.258872f, 733, 396, 900, 563, 0, 0, -1},
+ {1, 36, 0, 65535, 1225.63f, 1295.17f, 180.0f, 1.0f, -1.0f, 1065, 1216, 1387, 1375, 0, 0, -1},
+ {1, 47, 0, 65535, 688.0f, 594.5f, 0.0f, 1.00235f, 1.0f, 474, 424, 902, 765, 0, 0, -1},
+ {1, 12, 0, 363, 771.087f, 873.03f, -54.0f, 1.45641f, 1.0f, 685, 758, 857, 988, 0, 0, -1},
+ {4, 255, 0, 65535, 398.857f, 1091.41f, 0.0f, 55.9251f, 73.186f, 370, 1054, 427, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 485.377f, 1091.41f, 0.0f, 55.9251f, 73.186f, 457, 1054, 514, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 572.214f, 1091.41f, 0.0f, 55.9251f, 73.186f, 544, 1054, 601, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 979.214f, 1091.41f, 0.0f, 55.9251f, 73.186f, 951, 1054, 1008, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 805.857f, 1091.41f, 0.0f, 55.9251f, 73.186f, 777, 1054, 834, 1128, 0, 0, -1},
+ {4, 255, 0, 65535, 892.377f, 1091.41f, 0.0f, 55.9251f, 73.186f, 864, 1054, 921, 1128, 0, 0, -1},
+ {0, 64, 0, 65535, 214.068f, 1284.96f, 0.0f, 0.517146f, 0.495833f, 141, 1190, 287, 1380, 0, 0, -1},
+ {0, 68, 0, 65535, 1409.59f, 1280.34f, 180.0f, 1.0f, -1.0f, 1169, 1150, 1650, 1409, 0, 0, -1},
+ {0, 67, 0, 65535, 278.373f, 1485.58f, 0.0f, 3.72533f, 1.45144f, -9, 1373, 566, 1599, 0, 0, -1},
+ {0, 67, 0, 65535, 1507.01f, 1485.58f, 0.0f, 5.22356f, 1.45144f, 1104, 1373, 1910, 1599, 0, 0, -1},
+ {0, 67, 0, 65535, 1008.57f, 1503.89f, 0.0f, 5.87866f, 1.21365f, 555, 1409, 1462, 1598, 0, 0, -1},
+ {0, 80, 0, 65535, 1120.01f, 1323.55f, 198.49f, 0.492301f, -0.492301f, 1049, 1147, 1196, 1501, 0, 0, -1},
+ {0, 69, 0, 65535, 1177.69f, 1352.01f, 0.0f, 1.0f, 2.21423f, 1060, 1203, 1295, 1501, 0, 0, -1},
+ {0, 80, 0, 65535, 997.751f, 1393.85f, 257.029f, 0.889258f, -0.49845f, 813, 1327, 1185, 1469, 0, 0, -1},
+ {0, 64, 0, 65535, 602.387f, 1240.86f, 175.511f, 1.0f, -1.0f, 448, 1061, 757, 1443, 0, 0, -1},
+ {0, 78, 0, 65535, 362.915f, 1125.4f, -218.098f, 0.551594f, 0.259277f, 284, 1064, 470, 1218, 0, 0, -1},
+ {0, 67, 0, 65535, 380.614f, 1295.19f, 0.0f, 1.29362f, 1.12163f, 281, 1208, 481, 1383, 0, 0, -1},
+ {0, 69, 0, 65535, 373.448f, 1206.96f, -90.0f, 1.06254f, 1.3085f, 285, 1082, 462, 1332, 0, 0, -1},
+ {1, 13, 0, 65535, 68.5f, 1368.0f, 0.0f, 1.0f, 1.0f, -2, 1362, 139, 1374, 0, 0, -1},
+ {1, 12, 0, 65535, 1772.98f, 1368.0f, 0.0f, 1.26587f, 1.0f, 1653, 1362, 1892, 1374, 0, 0, -1},
+ {1, 16, 0, 65535, 210.149f, 1281.52f, 2.49464f, 1.0f, 1.00521f, 135, 1188, 285, 1375, 0, 0, -1},
+ {1, 35, 0, 65535, 1414.71f, 1257.5f, 180.0f, 1.0f, -1.00433f, 1174, 1142, 1656, 1375, 0, 0, -1},
+ {1, 16, 0, 65535, 369.505f, 1120.61f, -90.0f, 1.0f, -1.00521f, 273, 1050, 466, 1193, 0, 0, -1},
+ {1, 47, 0, 65535, 652.458f, 832.11f, 18.578f, 1.00235f, 1.0f, 425, 659, 853, 1049, 0, 0, -1},
+ {1, 11, 0, 65535, 651.381f, 1099.19f, -28.7643f, 0.844191f, 1.0f, 544, 1036, 759, 1162, 0, 0, -1},
+ {1, 14, 0, 65535, 607.576f, 1236.48f, 175.13f, 1.0f, -1.0f, 453, 1059, 762, 1413, 0, 0, -1},
+ {2, 4, 0, 364, 842.278f, 838.567f, 0.0f, 0.487827f, 0.487827f, 685, 728, 999, 950, 0, 0, -1},
+ {2, 4, 0, 365, 434.278f, 838.567f, -180.0f, 0.487827f, 0.487827f, 277, 728, 591, 950, 0, 0, -1},
+ {1, 14, 0, 65535, 950.775f, 1224.97f, 0.0f, 1.0f, 1.0f, 811, 1036, 1090, 1414, 0, 0, -1},
+ {1, 56, 0, 65535, 786.816f, 1406.93f, 0.0f, 1.0f, 1.0f, 758, 1400, 815, 1413, 0, 0, -1},
+ {2, 6, 0, 366, 1124.22f, 1244.23f, 0.0f, 0.542175f, 0.542175f, 1110, 1096, 1139, 1389, 0, 0, -1},
+ {4, 255, 0, 65535, 512.871f, 741.947f, 0.0f, 55.9251f, 73.186f, 484, 705, 541, 779, 0, 0, -1},
+ {4, 255, 0, 65535, 771.545f, 747.329f, 0.0f, 55.9251f, 73.186f, 743, 710, 800, 784, 0, 0, -1},
+ {4, 255, 0, 65535, 820.4f, 864.556f, 0.0f, 55.9251f, 73.186f, 792, 827, 849, 902, 0, 0, -1},
+ {4, 255, 0, 65535, 641.426f, 695.778f, 0.0f, 55.9251f, 73.186f, 613, 659, 670, 733, 0, 0, -1},
+ {4, 255, 0, 65535, 457.529f, 864.85f, 0.0f, 55.9251f, 73.186f, 429, 828, 486, 902, 0, 0, -1},
+ {0, 67, 0, 65535, 1213.31f, 1485.87f, 0.0f, 16.147f, 1.49018f, -31, 1370, 2457, 1602, 0, 0, -1},
+ {0, 80, 0, 65535, 1308.3f, 1389.32f, -90.0f, 1.10204f, 0.860502f, 991, 1346, 1625, 1433, 0, 0, -1},
+ {0, 80, 0, 65535, 536.3f, 1397.32f, -90.0f, 1.10204f, 0.860502f, 219, 1354, 853, 1441, 0, 0, -1},
+ {0, 80, 0, 65535, 356.869f, 1316.95f, 228.944f, 0.37643f, -0.37643f, 245, 1217, 471, 1419, 0, 0, -1},
+ {0, 69, 0, 65535, 452.827f, 1295.21f, 0.0f, 1.19292f, 1.19293f, 313, 1215, 593, 1376, 0, 0, -1},
+ {0, 80, 0, 65535, 553.366f, 1320.34f, -48.9439f, 0.37643f, 0.37643f, 439, 1221, 665, 1423, 0, 0, -1},
+ {0, 80, 0, 65535, 820.435f, 1307.79f, 228.944f, 0.482167f, -0.482167f, 677, 1180, 967, 1439, 0, 0, -1},
+ {0, 69, 0, 65535, 943.347f, 1279.94f, 0.0f, 1.52801f, 1.52801f, 764, 1177, 1123, 1383, 0, 0, -1},
+ {0, 80, 0, 65535, 1072.13f, 1312.13f, -48.9439f, 0.482167f, 0.482167f, 925, 1185, 1215, 1443, 0, 0, -1},
+ {0, 80, 0, 65535, 1359.48f, 1334.28f, 228.944f, 1.0f, -1.0f, 1063, 1071, 1663, 1605, 0, 0, -1},
+ {0, 80, 0, 65535, 1881.48f, 1343.28f, -48.9439f, 1.0f, 1.0f, 1578, 1080, 2178, 1614, 0, 0, -1},
+ {0, 69, 0, 65535, 1614.39f, 1276.51f, 0.0f, 3.16904f, 3.16904f, 1243, 1064, 1986, 1489, 0, 0, -1},
+ {1, 12, 0, 65535, 2040.51f, 1368.0f, 0.0f, 1.14445f, 1.0f, 1932, 1362, 2149, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 108.392f, 1368.0f, 0.0f, 0.799691f, 1.0f, -4, 1362, 221, 1374, 0, 0, -1},
+ {1, 43, 0, 65535, 364.036f, 1239.12f, -45.0f, 1.0f, 1.0f, 211, 1086, 500, 1375, 0, 0, -1},
+ {1, 41, 0, 65535, 1509.81f, 1071.41f, -45.0f, 1.0f, 1.0f, 1170, 731, 1811, 1373, 0, 0, -1},
+ {1, 42, 0, 65535, 870.203f, 1173.82f, -45.0f, 1.0f, 1.0f, 646, 949, 1069, 1373, 0, 0, -1},
+ {1, 11, 0, 65535, 2291.92f, 1368.0f, 0.0f, 1.02495f, 1.0f, 2147, 1362, 2436, 1374, 0, 0, -1},
+ {4, 255, 0, 65535, 1269.34f, 1274.42f, 0.0f, 55.9251f, 73.186f, 1241, 1237, 1298, 1312, 0, 0, -1},
+ {4, 255, 0, 65535, 1614.86f, 948.185f, 0.0f, 55.9251f, 73.186f, 1586, 911, 1643, 985, 0, 0, -1},
+ {4, 255, 0, 65535, 925.406f, 1084.81f, 0.0f, 55.9251f, 73.186f, 897, 1048, 954, 1122, 0, 0, -1},
+ {4, 255, 0, 65535, 400.11f, 1170.39f, 0.0f, 55.9251f, 73.186f, 372, 1133, 429, 1207, 0, 0, -1},
+ {4, 255, 0, 65535, 710.776f, 1296.01f, 0.0f, 55.9251f, 73.186f, 682, 1259, 739, 1333, 0, 0, -1},
+ {4, 255, 0, 65535, 263.527f, 1312.13f, 0.0f, 55.9251f, 73.186f, 235, 1275, 292, 1349, 0, 0, -1},
+ {0, 67, 0, 65535, 1056.51f, 1485.87f, 0.0f, 14.1106f, 1.49018f, -31, 1370, 2144, 1602, 0, 0, -1},
+ {0, 80, 0, 65535, 588.837f, 1392.6f, -90.0f, 1.0f, 1.0f, 220, 1354, 956, 1432, 0, 0, -1},
+ {0, 80, 0, 65535, 1246.84f, 1392.6f, -90.0f, 1.0f, 1.0f, 878, 1354, 1614, 1432, 0, 0, -1},
+ {1, 12, 0, 65535, 2008.33f, 1368.0f, 0.0f, 1.14259f, -1.0f, 1900, 1362, 2116, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 108.392f, 1368.0f, 0.0f, 0.799691f, 1.0f, -4, 1362, 221, 1374, 0, 0, -1},
+ {1, 11, 0, 65535, 315.879f, 1270.41f, -45.0f, 1.0f, 1.0f, 212, 1166, 420, 1374, 0, 0, -1},
+ {1, 39, 0, 367, 622.346f, 1088.02f, 0.0f, 1.0045f, 1.0f, 510, 1011, 735, 1165, 0, 0, -1},
+ {1, 39, 0, 368, 903.673f, 1002.44f, -30.4863f, 1.0045f, 1.0f, 845, 936, 1040, 1126, 0, 0, -1},
+ {1, 39, 0, 369, 839.598f, 1244.68f, -316.598f, 1.0045f, 1.0f, 705, 1188, 892, 1378, 0, 0, -1},
+ {1, 39, 0, 370, 1215.7f, 1142.81f, -212.399f, 1.0045f, 1.0f, 1080, 1018, 1270, 1208, 0, 0, -1},
+ {1, 11, 0, 65535, 1760.99f, 1368.0f, 0.0f, 1.00046f, 1.0f, 1620, 1362, 1902, 1374, 0, 0, -1},
+ {1, 36, 0, 65535, 1460.0f, 1295.0f, 180.0f, 1.0f, -1.0f, 1299, 1216, 1621, 1374, 0, 0, -1},
+ {1, 39, 0, 371, 1074.77f, 1310.42f, -138.392f, 1.0045f, 1.0f, 1024, 1178, 1210, 1368, 0, 0, -1},
+ {4, 255, 0, 65535, 1652.96f, 1333.41f, 0.0f, 55.9251f, 73.186f, 1625, 1296, 1681, 1370, 0, 0, -1},
+ {4, 255, 0, 65535, 1972.96f, 1333.41f, 0.0f, 55.9251f, 73.186f, 1945, 1296, 2001, 1370, 0, 0, -1},
+ {4, 255, 0, 65535, 1908.96f, 1333.41f, 0.0f, 55.9251f, 73.186f, 1881, 1296, 1937, 1370, 0, 0, -1},
+ {4, 255, 0, 65535, 1844.96f, 1333.41f, 0.0f, 55.9251f, 73.186f, 1817, 1296, 1873, 1370, 0, 0, -1},
+ {4, 255, 0, 65535, 1780.96f, 1333.41f, 0.0f, 55.9251f, 73.186f, 1753, 1296, 1809, 1370, 0, 0, -1},
+ {4, 255, 0, 65535, 1716.96f, 1333.41f, 0.0f, 55.9251f, 73.186f, 1689, 1296, 1745, 1370, 0, 0, -1},
};
-/* start on touch, loops (-1 for ever), start delay, fall delay (ms), pivot, first step, rotation, x and y
- * steps, the ground that moves with it */
-static const rd_anim rd_anims[491] = {
- {1, 1, 0, 0, 632, 1485, 0, 1, 0, 0, 65535},
- {1, 1, 0, 0, 1852, 1436, 1, 1, 0, 0, 65535},
- {1, 1, 0, 0, 2494, 1351, 2, 1, 0, 0, 65535},
- {1, 1, 0, 0, 787, 736, 3, 1, 0, 0, 65535},
- {1, 1, 0, 0, 1498, 1029, 4, 1, 0, 0, 65535},
- {1, 1, 0, 0, 891, 1243, 5, 1, 0, 0, 65535},
- {1, 1, 0, 0, 1740, 1307, 6, 1, 0, 0, 65535},
- {1, 1, 0, 0, 2557, 1385, 7, 0, 1, 1, 65535},
- {0, -1, 0, 0, 2750, 1236, 9, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3346, 1254, 10, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1960, 1414, 11, 1, 0, 0, 65535},
- {1, 1, 0, 0, 1371, 1338, 12, 1, 0, 0, 65535},
- {1, 1, 0, 0, 2158, 1311, 13, 1, 0, 0, 65535},
- {1, 1, 0, 0, 2588, 1311, 14, 1, 0, 0, 65535},
- {1, 1, 0, 0, 3022, 1311, 15, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2527, 1008, 16, 1, 0, 0, 65535},
- {0, -1, 0, 0, 876, 1187, 17, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1328, 1160, 18, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1605, 929, 19, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1804, 1135, 20, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1363, 1455, 21, 1, 0, 0, 65535},
- {0, -1, 0, 0, 675, 1323, 22, 1, 0, 0, 65535},
- {0, -1, 0, 0, 910, 815, 23, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2338, 774, 24, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2263, 1164, 25, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1839, 1461, 26, 1, 0, 0, 65535},
- {0, -1, 0, 0, 678, 1258, 27, 1, 0, 0, 65535},
- {0, -1, 0, 0, 678, 1258, 28, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1638, 1258, 29, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1638, 1260, 30, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2566, 1258, 31, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2564, 1261, 32, 1, 0, 0, 65535},
- {0, -1, 0, 0, 208, 1376, 33, 2, 0, 0, 65535},
- {0, -1, 0, 0, 2606, 1359, 35, 2, 0, 0, 65535},
- {0, -1, 0, 0, 3047, 1060, 37, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2191, 1464, 38, 0, 0, 2, 65535},
- {0, -1, 0, 0, 909, 1520, 40, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1320, 1043, 42, 1, 0, 0, 65535},
- {0, -1, 0, 0, 283, 1068, 43, 0, 0, 2, 65535},
- {0, -1, 0, 0, 850, 1123, 45, 1, 0, 0, 65535},
- {0, -1, 200, 0, 472, 1068, 46, 0, 0, 2, 65535},
- {0, -1, 600, 0, 850, 1068, 48, 0, 0, 2, 65535},
- {0, -1, 400, 0, 661, 1068, 50, 0, 0, 2, 65535},
- {0, -1, 1000, 0, 1228, 1068, 52, 0, 0, 2, 65535},
- {0, -1, 800, 0, 1039, 1068, 54, 0, 0, 2, 65535},
- {0, -1, 0, 0, 475, 1040, 56, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1237, 1040, 57, 1, 0, 0, 65535},
- {0, -1, 1200, 0, 1417, 1068, 58, 0, 0, 2, 65535},
- {1, 1, 0, 0, 1987, 1312, 60, 0, 0, 1, 65535},
- {1, 1, 0, 0, 2176, 1312, 61, 0, 0, 1, 65535},
- {1, 1, 0, 0, 2554, 1312, 62, 0, 0, 1, 65535},
- {1, 1, 0, 0, 2365, 1312, 63, 0, 0, 1, 65535},
- {1, 1, 0, 0, 2932, 1312, 64, 0, 0, 1, 65535},
- {1, 1, 0, 0, 2743, 1312, 65, 0, 0, 1, 65535},
- {1, 1, 0, 0, 3310, 1312, 66, 0, 0, 1, 65535},
- {1, 1, 0, 0, 3121, 1312, 67, 0, 0, 1, 65535},
- {0, -1, 0, 0, 428, 1361, 68, 1, 0, 2, 65535},
- {0, -1, 0, 0, 947, 1361, 71, 1, 0, 2, 65535},
- {0, -1, 0, 0, 1452, 1361, 74, 1, 0, 2, 65535},
- {0, -1, 0, 0, 1908, 1023, 77, 1, 0, 2, 65535},
- {0, -1, 0, 0, 1908, 1423, 80, 1, 0, 2, 65535},
- {0, -1, 0, 0, 2431, 1355, 83, 1, 2, 0, 65535},
- {0, -1, 0, 0, 2391, 1402, 86, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1196, 1220, 87, 1, 0, 0, 65535},
- {0, 1, 0, 0, 26, 96, 88, 1, 0, 0, 65535},
- {0, 1, 0, 0, 308, 96, 89, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3050, 1066, 90, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3472, 1057, 91, 1, 0, 2, 65535},
- {1, 1, 0, 0, 232, 1368, 94, 0, 0, 1, 65535},
- {1, 1, 0, 0, 421, 1269, 95, 0, 0, 1, 65535},
- {1, 1, 0, 0, 610, 1170, 96, 0, 0, 1, 65535},
- {1, 1, 0, 0, 799, 1071, 97, 0, 0, 1, 65535},
- {1, 1, 0, 0, 1177, 873, 98, 0, 0, 1, 65535},
- {1, 1, 0, 0, 1366, 774, 99, 0, 0, 1, 65535},
- {1, 1, 0, 0, 988, 972, 100, 0, 0, 1, 65535},
- {1, 1, 0, 0, 1839, 483, 101, 1, 0, 1, 65535},
- {1, 1, 0, 0, 1744, 576, 103, 0, 0, 1, 65535},
- {1, 1, 0, 0, 1555, 675, 104, 0, 0, 1, 65535},
- {0, -1, 0, 0, 2608, 1374, 105, 1, 0, 0, 65535},
- {0, -1, 0, 500, 245, 1308, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 655, 1284, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 743, 1273, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 920, 1315, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 997, 1283, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 1297, 1150, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 1562, 1135, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 1926, 1239, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 2003, 1208, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 2065, 1149, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 2128, 1091, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 2190, 1033, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 2819, 1244, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 2742, 1275, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 3135, 1278, 106, 0, 0, 0, 65535},
- {0, -1, 0, 500, 3292, 1183, 106, 0, 0, 0, 65535},
- {0, -1, 0, 0, 2298, 1904, 106, 0, 0, 0, 654},
- {1, 1, 0, 0, 772, 1311, 106, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1542, 1310, 107, 1, 0, 0, 65535},
- {0, -1, 0, 0, 918, 1298, 108, 1, 2, 0, 65535},
- {1, 1, 0, 0, 1542, 1311, 111, 1, 0, 0, 65535},
- {1, 1, 0, 0, 2307, 1311, 112, 1, 0, 0, 65535},
- {1, 1, 0, 0, 3076, 1311, 113, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2298, 1517, 114, 0, 0, 2, 65535},
- {0, -1, 600, 0, 3225, 1305, 116, 0, 2, 0, 65535},
- {0, -1, 0, 0, 3076, 1449, 118, 0, 0, 2, 65535},
- {0, -1, 1800, 0, 2929, 1305, 120, 0, 2, 0, 65535},
- {0, -1, 1200, 0, 3076, 1162, 122, 0, 0, 2, 65535},
- {0, -1, 0, 0, 1662, 814, 124, 0, 0, 0, 742},
- {0, -1, 0, 0, 1244, 814, 124, 0, 0, 0, 743},
- {0, -1, 0, 0, 828, 814, 124, 0, 0, 0, 741},
- {0, -1, 0, 0, 828, 1085, 124, 0, 0, 2, 65535},
- {0, -1, 1400, 0, 1664, 1085, 126, 0, 0, 2, 65535},
- {0, -1, 700, 0, 1246, 1085, 128, 0, 0, 2, 65535},
- {0, -1, 0, 80, 2968, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3138, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3053, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3393, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3308, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3223, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3478, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3733, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3563, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3648, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3818, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 4243, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3988, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 4158, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 4073, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 80, 3903, 1297, 130, 0, 0, 0, 65535},
- {0, -1, 0, 0, 712, 809, 130, 0, 0, 2, 65535},
- {0, -1, 0, 0, 943, 809, 132, 0, 0, 2, 65535},
- {0, -1, 700, 0, 1131, 809, 134, 0, 0, 2, 65535},
- {0, -1, 700, 0, 1361, 809, 136, 0, 0, 2, 65535},
- {0, -1, 1400, 0, 1548, 809, 138, 0, 0, 2, 65535},
- {0, -1, 1400, 0, 1779, 809, 140, 0, 0, 2, 65535},
- {0, -1, 0, 0, 2366, 1339, 142, 2, 0, 0, 65535},
- {0, -1, 0, 0, 340, 863, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 2981, 1467, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 2724, 1454, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 3237, 1458, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 3495, 1471, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 746, 1452, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1073, 1492, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1242, 1465, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 926, 1506, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1445, 1443, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1777, 1481, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 2168, 1481, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 2429, 1485, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 2300, 1406, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1972, 1444, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1626, 1512, 144, 0, 0, 0, 65535},
- {0, -1, 0, 0, 540, 1058, 144, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1075, 1204, 146, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1489, 1090, 148, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1976, 1254, 150, 2, 0, 0, 65535},
- {0, -1, 0, 0, 2227, 1167, 152, 2, 0, 0, 65535},
- {0, -1, 0, 0, 2891, 1437, 154, 2, 0, 0, 65535},
- {0, -1, 0, 0, 3098, 1232, 156, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1456, 1323, 158, 1, 0, 2, 65535},
- {0, -1, 0, 0, 675, 1085, 161, 1, 0, 2, 65535},
- {0, -1, 0, 0, 2329, 1081, 164, 1, 0, 2, 65535},
- {0, -1, 0, 0, 3648, 1100, 167, 1, 0, 2, 65535},
- {0, -1, 1000, 0, 3008, 1100, 170, 1, 0, 2, 65535},
- {0, -1, 0, 0, 908, 1307, 173, 1, 0, 0, 65535},
- {1, 1, 0, 0, 2185, 1006, 174, 0, 0, 1, 65535},
- {1, 1, 0, 0, 2791, 1267, 175, 1, 0, 0, 65535},
- {1, 1, 0, 0, 2981, 1267, 176, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3097, 1070, 177, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2671, 1059, 178, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3864, 1104, 179, 1, 0, 0, 65535},
- {1, 1, 0, 0, 1310, 701, 180, 1, 0, 1, 65535},
- {0, -1, 0, 0, 1556, 977, 182, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2866, 673, 183, 1, 0, 0, 65535},
- {1, 1, 0, 0, 560, 1423, 184, 0, 0, 2, 65535},
- {0, -1, 0, 0, 560, 1079, 186, 1, 0, 0, 65535},
- {0, -1, 0, 0, 439, 1149, 187, 1, 0, 0, 65535},
- {0, -1, 0, 0, 868, 1259, 188, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1313, 1287, 189, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1702, 1108, 190, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2134, 1219, 191, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2558, 1072, 192, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2091, 464, 193, 0, 0, 0, 1364},
- {0, -1, 0, 0, 1457, 609, 193, 0, 0, 0, 1360},
- {0, -1, 0, 0, 2531, 543, 193, 0, 0, 0, 1366},
- {0, -1, 0, 0, 2925, 611, 193, 0, 0, 0, 1368},
- {0, -1, 0, 0, 1741, 421, 193, 0, 0, 0, 1362},
- {0, -1, 0, 0, 1172, 606, 193, 0, 0, 0, 1358},
- {0, -1, 0, 0, 751, 671, 193, 0, 0, 0, 1356},
- {0, -1, 0, 0, 378, 803, 193, 0, 0, 0, 1355},
- {0, -1, 0, 0, 388, 1059, 193, 0, 0, 2, 65535},
- {0, -1, 1500, 0, 762, 927, 195, 0, 0, 2, 65535},
- {0, -1, 3000, 0, 1183, 862, 197, 0, 0, 2, 65535},
- {0, -1, 3800, 0, 1468, 865, 199, 0, 0, 2, 65535},
- {0, -1, 5000, 0, 1751, 677, 201, 0, 0, 2, 65535},
- {0, -1, 6500, 0, 2102, 720, 203, 0, 0, 2, 65535},
- {0, -1, 7900, 0, 2542, 799, 205, 0, 0, 2, 65535},
- {0, -1, 9800, 0, 2935, 867, 207, 0, 0, 2, 65535},
- {0, -1, 0, 0, 2736, 1252, 209, 1, 0, 2, 65535},
- {0, -1, 1500, 0, 3377, 955, 212, 1, 0, 2, 65535},
- {0, -1, 0, 0, 976, 1424, 215, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1941, 999, 216, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3942, 1189, 217, 1, 0, 0, 65535},
- {0, -1, 1000, 0, 470, 1505, 218, 0, 2, 0, 65535},
- {0, -1, 800, 0, 710, 1396, 220, 0, 2, 0, 65535},
- {0, -1, 400, 0, 1190, 1178, 222, 0, 2, 0, 65535},
- {0, -1, 600, 0, 950, 1287, 224, 0, 2, 0, 65535},
- {0, -1, 0, 0, 1670, 960, 226, 0, 2, 0, 65535},
- {0, -1, 200, 0, 1430, 1069, 228, 0, 2, 0, 65535},
- {0, -1, 0, 0, 94, 1560, 230, 0, 0, 0, 1465},
- {1, 1, 0, 0, 2517, 1233, 230, 1, 0, 0, 65535},
- {0, -1, 0, 0, 868, 1170, 231, 0, 2, 0, 65535},
- {0, -1, 0, 0, 1112, 1170, 233, 0, 2, 0, 65535},
- {0, -1, 0, 0, 1574, 1170, 235, 0, 2, 0, 65535},
- {0, -1, 0, 0, 1817, 1170, 237, 0, 2, 0, 65535},
- {0, -1, 0, 0, 2530, 1128, 239, 0, 2, 0, 65535},
- {0, -1, 0, 0, 2286, 1128, 241, 0, 2, 0, 65535},
- {0, -1, 0, 0, 3270, 1128, 243, 0, 2, 0, 65535},
- {0, -1, 0, 0, 3026, 1128, 245, 0, 2, 0, 65535},
- {0, -1, 0, 0, 4245, 1169, 247, 0, 2, 0, 65535},
- {0, -1, 0, 0, 4034, 1169, 249, 0, 2, 0, 65535},
- {0, -1, 0, 0, 3507, 1128, 251, 0, 2, 0, 65535},
- {0, -1, 0, 0, 647, 1204, 253, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1055, 1205, 255, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1405, 1203, 257, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1965, 1049, 259, 2, 0, 0, 65535},
- {0, -1, 0, 0, 2304, 1045, 261, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1692, 1127, 263, 2, 0, 0, 65535},
- {0, -1, 0, 0, 344, 993, 265, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1159, 1128, 265, 0, 0, 0, 65535},
- {0, -1, 0, 0, 2910, 956, 265, 0, 0, 0, 65535},
- {0, -1, 0, 0, 3921, 1116, 265, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1371, 1485, 265, 0, 0, 2, 65535},
- {0, -1, 0, 0, 1371, 1313, 267, 0, 0, 2, 65535},
- {0, -1, 0, 0, 1610, 1156, 269, 1, 2, 0, 65535},
- {0, -1, 0, 0, 1125, 1156, 272, 1, 2, 0, 65535},
- {0, -1, 0, 0, 652, 1347, 275, 0, 0, 0, 1693},
- {0, -1, 0, 0, 864, 1150, 275, 0, 0, 0, 1697},
- {0, -1, 0, 0, 1074, 944, 275, 0, 0, 0, 1700},
- {0, -1, 0, 0, 3077, 1412, 275, 0, 0, 0, 1702},
- {0, -1, 0, 0, 3442, 1412, 275, 0, 0, 0, 1706},
- {0, -1, 0, 0, 3805, 1412, 275, 0, 0, 0, 1703},
- {0, -1, 0, 0, 1330, 50, 275, 0, 0, 0, 1708},
- {0, -1, 0, 0, 650, 1084, 275, 0, 0, 2, 65535},
- {0, -1, 500, 0, 862, 882, 277, 0, 0, 2, 65535},
- {0, -1, 1000, 0, 1072, 676, 279, 0, 0, 2, 65535},
- {0, -1, 0, 0, 3075, 1149, 281, 0, 0, 2, 65535},
- {0, -1, 1000, 0, 3803, 1149, 283, 0, 0, 2, 65535},
- {0, -1, 500, 0, 3440, 1149, 285, 0, 0, 2, 65535},
- {0, -1, 0, 0, 1330, 355, 287, 0, 2, 1, 65535},
- {0, -1, 0, 0, 1154, 688, 290, 0, 0, 0, 1770},
- {0, -1, 0, 0, 1302, 688, 290, 0, 0, 0, 1773},
- {0, -1, 0, 0, 1450, 688, 290, 0, 0, 0, 1772},
- {0, -1, 0, 0, 1598, 688, 290, 0, 0, 0, 1771},
- {0, -1, 0, 0, 3098, 1363, 290, 0, 0, 0, 1779},
- {0, -1, 0, 0, 3280, 1362, 290, 0, 0, 0, 1780},
- {0, -1, 0, 0, 3463, 1363, 290, 0, 0, 0, 1781},
- {0, -1, 0, 0, 1154, 1065, 290, 0, 0, 2, 65535},
- {0, -1, 900, 0, 1598, 1065, 292, 0, 0, 2, 65535},
- {0, -1, 600, 0, 1450, 1065, 294, 0, 0, 2, 65535},
- {0, -1, 300, 0, 1302, 1065, 296, 0, 0, 2, 65535},
- {0, -1, 0, 0, 386, 1329, 298, 1, 0, 0, 65535},
- {0, -1, 0, 0, 779, 1329, 299, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2337, 1087, 300, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2708, 828, 301, 1, 0, 2, 65535},
- {0, -1, 0, 0, 2708, 1222, 304, 1, 0, 2, 65535},
- {0, -1, 0, 0, 3098, 1014, 307, 0, 0, 2, 65535},
- {0, -1, 300, 0, 3280, 1014, 309, 0, 0, 2, 65535},
- {0, -1, 600, 0, 3462, 1014, 311, 0, 0, 2, 65535},
- {0, -1, 0, 0, 1775, 1336, 313, 1, 0, 2, 65535},
- {1, 1, 0, 0, 2342, 1004, 316, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2855, 1451, 317, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1865, 798, 318, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3589, 1077, 319, 1, 0, 0, 65535},
- {0, -1, 0, 0, 5478, 1060, 320, 1, 0, 0, 65535},
- {0, -1, 0, 0, 5981, 587, 321, 1, 0, 0, 65535},
- {0, -1, 0, 0, 5998, 1193, 322, 1, 0, 0, 65535},
- {0, -1, 0, 0, 5429, 869, 323, 1, 0, 0, 65535},
- {0, -1, 0, 0, 4653, 910, 324, 1, 0, 2, 65535},
- {0, -1, 0, 0, 1505, 1100, 327, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1260, 1437, 328, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2341, 1005, 329, 1, 0, 0, 65535},
- {0, -1, 0, 0, 4789, 1393, 330, 1, 0, 0, 65535},
- {1, 1, 0, 0, 666, 844, 331, 1, 0, 0, 65535},
- {1, 1, 0, 0, 1878, 844, 332, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1219, 1368, 333, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2515, 1108, 334, 1, 0, 2, 65535},
- {1, 1, 0, 0, 3321, 699, 337, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3697, 1079, 338, 1, 0, 0, 65535},
- {0, -1, 0, 0, 4494, 734, 339, 2, 0, 0, 65535},
- {0, -1, 0, 0, 5073, 735, 341, 2, 0, 0, 65535},
- {0, -1, 0, 0, 4785, 1153, 343, 1, 0, 2, 65535},
- {0, -1, 0, 0, 682, 1133, 346, 1, 0, 0, 65535},
- {0, -1, 0, 0, 842, 1367, 347, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1158, 951, 348, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1154, 1314, 349, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1418, 1154, 350, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1752, 1336, 351, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1781, 983, 352, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2081, 1097, 353, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2062, 1381, 354, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1517, 1405, 355, 1, 0, 0, 65535},
- {0, -1, 0, 0, 947, 1060, 356, 1, 0, 0, 65535},
- {0, 1, 0, 0, -292, 1200, 357, 1, 1, 0, 65535},
- {0, -1, 0, 0, 275, 1108, 359, 1, 0, 0, 65535},
- {0, -1, 0, 0, 859, 1248, 360, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1058, 1098, 361, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1249, 966, 362, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1939, 1424, 363, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2227, 1424, 364, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2515, 1424, 365, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3046, 1341, 366, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3006, 1341, 367, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3046, 1300, 368, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3006, 1300, 369, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3654, 1202, 370, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3645, 1202, 371, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3645, 1193, 372, 1, 0, 0, 65535},
- {0, -1, 0, 0, 3654, 1193, 373, 1, 0, 0, 65535},
- {0, -1, 0, 0, 374, 1321, 374, 1, 0, 0, 65535},
- {0, -1, 0, 0, 825, 1317, 375, 1, 0, 0, 65535},
- {1, -1, 0, 0, 479, 1145, 376, 2, 0, 0, 65535},
- {1, -1, 0, 0, 712, 1146, 378, 2, 0, 0, 65535},
- {0, -1, 0, 0, 606, 1031, 380, 1, 0, 0, 65535},
- {0, -1, 0, 0, 631, 1036, 381, 1, 0, 2, 65535},
- {0, -1, 0, 0, 535, 1171, 384, 1, 0, 2, 65535},
- {0, -1, 0, 0, 717, 1149, 387, 0, 0, 0, 65535},
- {0, -1, 0, 0, 911, 1171, 387, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1105, 1194, 387, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1299, 1217, 387, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1494, 1239, 387, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1688, 1263, 387, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1882, 1287, 387, 0, 0, 0, 65535},
- {0, -1, 0, 0, 769, 1228, 387, 0, 0, 0, 65535},
- {0, -1, 0, 0, 533, 1113, 387, 1, 2, 2, 65535},
- {0, -1, 0, 0, 411, 1224, 392, 0, 0, 0, 65535},
- {0, -1, 0, 0, 571, 1224, 392, 0, 0, 0, 65535},
- {0, -1, 0, 0, 731, 1224, 392, 0, 0, 0, 65535},
- {0, -1, 0, 0, 554, 1229, 392, 1, 0, 0, 65535},
- {0, -1, 0, 0, 382, 1197, 393, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1030, 1197, 394, 1, 0, 0, 65535},
- {0, -1, 0, 75, 319, 1368, 395, 0, 0, 0, 65535},
- {0, -1, 400, 75, 379, 1368, 395, 0, 0, 0, 65535},
- {0, -1, 400, 75, 439, 1368, 395, 0, 0, 0, 65535},
- {0, -1, 400, 75, 499, 1368, 395, 0, 0, 0, 65535},
- {0, -1, 400, 75, 900, 1368, 395, 0, 0, 0, 65535},
- {0, -1, 400, 75, 720, 1368, 395, 0, 0, 0, 65535},
- {0, -1, 400, 75, 840, 1368, 395, 0, 0, 0, 65535},
- {0, -1, 400, 75, 780, 1368, 395, 0, 0, 0, 65535},
- {0, -1, 0, 0, 446, 1238, 395, 1, 0, 0, 65535},
- {0, -1, 0, 0, 446, 932, 396, 1, 0, 0, 65535},
- {0, -1, 0, 0, 390, 1227, 397, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1088, 1227, 397, 0, 0, 0, 65535},
- {0, -1, 0, 0, 371, 1309, 397, 1, 0, 0, 65535},
- {1, -1, 0, 0, 836, 1054, 398, 2, 0, 0, 65535},
- {0, -1, 0, 0, 258, 816, 400, 0, 0, 0, 2824},
- {0, -1, 0, 0, 406, 816, 400, 0, 0, 0, 2827},
- {0, -1, 0, 0, 554, 816, 400, 0, 0, 0, 2826},
- {0, -1, 0, 0, 702, 816, 400, 0, 0, 0, 2825},
- {0, -1, 0, 0, 258, 1193, 400, 0, 0, 2, 65535},
- {0, -1, 900, 0, 702, 1193, 402, 0, 0, 2, 65535},
- {0, -1, 600, 0, 554, 1193, 404, 0, 0, 2, 65535},
- {0, -1, 300, 0, 406, 1193, 406, 0, 0, 2, 65535},
- {1, 1, 0, 0, 141, 1374, 408, 1, 0, 1, 65535},
- {0, -1, 0, 100, 312, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 100, 374, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 100, 436, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 100, 497, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 100, 881, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 100, 815, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 100, 751, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 100, 624, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 100, 560, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 100, 688, 1368, 410, 0, 0, 0, 65535},
- {0, -1, 0, 0, 708, 787, 410, 1, 0, 0, 65535},
- {0, -1, 0, 0, 304, 1376, 411, 0, 2, 0, 2939},
- {0, -1, 0, 0, 778, 1030, 413, 0, 0, 0, 2941},
- {0, -1, 0, 0, 608, 1200, 413, 0, 0, 0, 2940},
- {0, -1, 0, 0, 954, 1030, 413, 0, 0, 0, 2942},
- {0, -1, 0, 0, 302, 1108, 413, 0, 2, 0, 65535},
- {0, -1, 0, 0, 606, 932, 415, 0, 2, 0, 65535},
- {0, -1, 0, 0, 782, 758, 417, 0, 2, 0, 65535},
- {0, -1, 0, 0, 952, 758, 419, 0, 2, 0, 65535},
- {0, -1, 0, 0, 1356, 782, 421, 1, 0, 0, 65535},
- {0, -1, 0, 0, 359, 1204, 422, 2, 0, 0, 65535},
- {0, -1, 0, 0, 767, 1213, 424, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1116, 1204, 426, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1217, 1222, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1124, 1246, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1050, 1284, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 972, 1304, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 902, 1324, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 836, 1336, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 345, 1224, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 427, 1242, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 500, 1284, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 584, 1304, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 642, 1324, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 719, 1336, 428, 0, 0, 0, 65535},
- {0, -1, 0, 0, 776, 1343, 428, 0, 0, 0, 65535},
- {1, -1, 0, 0, 279, 1162, 428, 2, 0, 0, 65535},
- {1, -1, 0, 0, 456, 1368, 430, 0, 0, 3, 65535},
- {1, -1, 0, 0, 458, 1368, 433, 0, 0, 2, 65535},
- {0, -1, 0, 0, 454, 1150, 435, 1, 0, 0, 65535},
- {0, -1, 0, 0, 614, 962, 436, 1, 0, 0, 65535},
- {0, -1, 0, 0, 838, 1150, 437, 1, 0, 0, 65535},
- {0, -1, 0, 0, 512, 1183, 438, 1, 0, 0, 65535},
- {0, -1, 0, 0, 737, 1039, 439, 1, 0, 0, 65535},
- {0, -1, 0, 0, 992, 1112, 440, 1, 0, 0, 65535},
- {0, -1, 0, 0, 775, 1279, 441, 1, 0, 0, 65535},
- {0, -1, 0, 0, 614, 1201, 442, 1, 0, 0, 65535},
- {0, -1, 0, 0, 436, 1245, 443, 1, 0, 2, 65535},
- {1, 1, 0, 0, 253, 734, 446, 1, 0, 1, 65535},
- {0, -1, 0, 0, 608, 1362, 448, 2, 0, 0, 65535},
- {0, -1, 0, 0, 118, 1374, 450, 2, 0, 0, 65535},
- {0, -1, 0, 0, 588, 1030, 452, 1, 0, 0, 65535},
- {0, -1, 0, 0, 588, 1031, 453, 1, 0, 0, 65535},
- {0, -1, 0, 0, 855, 1179, 454, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1153, 1186, 456, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1485, 1179, 458, 2, 0, 0, 65535},
- {0, -1, 0, 0, 1783, 1186, 460, 2, 0, 0, 65535},
- {0, -1, 0, 0, 376, 1437, 462, 1, 0, 0, 65535},
- {0, -1, 0, 0, 847, 1437, 463, 1, 0, 0, 65535},
- {1, 1, 0, 0, 126, 1374, 464, 1, 0, 1, 65535},
- {1, -1, 0, 0, 641, 898, 466, 1, 0, 0, 65535},
- {1, 1, 0, 0, 259, 1374, 467, 2, 0, 0, 65535},
- {0, -1, 0, 0, 586, 1202, 469, 1, 0, 0, 65535},
- {0, -1, 0, 0, 824, 1306, 470, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1076, 1150, 471, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1157, 1368, 472, 1, 0, 0, 65535},
- {1, 1, 0, 0, 535, 1222, 473, 1, 1, 0, 65535},
- {0, -1, 0, 10, 416, 1230, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 502, 1242, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 672, 1266, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 587, 1254, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 843, 1291, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 1013, 1316, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 758, 1279, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 928, 1304, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 1184, 1341, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 1099, 1329, 475, 0, 0, 0, 65535},
- {0, -1, 0, 10, 1269, 1355, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 136, 1281, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 197, 1221, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 258, 1162, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 441, 984, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 380, 1043, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 319, 1103, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 624, 806, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 685, 747, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 807, 628, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 563, 865, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 746, 687, 475, 0, 0, 0, 65535},
- {0, -1, 0, 75, 502, 925, 475, 0, 0, 0, 65535},
- {0, -1, 0, 0, 1488, 1296, 475, 1, 0, 0, 65535},
- {0, -1, 0, 0, 707, 1058, 476, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2361, 1072, 477, 1, 0, 0, 65535},
- {0, -1, 0, 0, 858, 1222, 478, 1, 0, 0, 65535},
- {0, -1, 0, 0, 890, 481, 479, 1, 0, 0, 65535},
- {0, -1, 0, 0, 890, 949, 480, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1220, 425, 481, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1220, 893, 482, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1568, 511, 483, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1568, 979, 484, 1, 0, 0, 65535},
- {0, -1, 0, 0, 567, 763, 485, 1, 0, 0, 65535},
- {0, -1, 0, 0, 567, 1253, 486, 1, 0, 0, 65535},
- {0, -1, 0, 0, 690, 1092, 487, 1, 0, 0, 65535},
- {0, -1, 0, 0, 862, 66, 488, 1, 0, 0, 65535},
- {0, -1, 0, 0, 214, 1374, 489, 2, 0, 0, 65535},
- {0, -1, 0, 0, 472, 1354, 491, 1, 0, 0, 65535},
- {0, -1, 0, 0, 2045, 652, 492, 1, 0, 0, 65535},
- {1, -1, 0, 0, 746, 1258, 493, 2, 0, 0, 65535},
- {1, -1, 0, 0, 660, 1077, 495, 2, 0, 0, 65535},
- {1, 1, 0, 0, 430, 1290, 497, 1, 0, 0, 65535},
- {0, -1, 0, 0, 429, 1048, 498, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1078, 1260, 499, 1, 0, 0, 65535},
- {0, -1, 0, 0, 704, 1336, 500, 0, 0, 2, 65535},
- {0, -1, 400, 0, 1152, 1336, 502, 0, 0, 2, 65535},
- {0, -1, 200, 0, 928, 1284, 504, 0, 0, 2, 65535},
- {0, -1, 0, 0, 743, 867, 506, 2, 0, 0, 65535},
- {0, -1, 300, 0, 1145, 868, 508, 2, 0, 0, 65535},
- {0, -1, 0, 0, 817, 480, 510, 1, 4, 4, 65535},
- {1, 1, 0, 0, 695, 987, 519, 1, 0, 0, 65535},
- {0, -1, 0, 0, 842, 839, 520, 1, 0, 0, 65535},
- {0, -1, 0, 0, 434, 839, 521, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1124, 1244, 522, 0, 0, 2, 65535},
- {0, -1, 0, 0, 622, 1111, 524, 1, 0, 0, 65535},
- {0, -1, 0, 0, 915, 1022, 525, 1, 0, 0, 65535},
- {0, -1, 0, 0, 824, 1261, 526, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1203, 1123, 527, 1, 0, 0, 65535},
- {0, -1, 0, 0, 1090, 1293, 528, 1, 0, 0, 65535},
+/* starts on a touch, stops on a touch, loops (-1 for ever, 0 only on a touch), start delay (ms), anchor (from
+ * the centre), first step, rotation, x and y steps */
+static const rd_anim rd_anims[372] = {
+ {1, 0, 1, 0, -271.082f, 5.99328f, 0, 1, 0, 0},
+ {1, 0, 1, 0, 139.5f, 188.5f, 1, 1, 0, 0},
+ {1, 0, 1, 0, -82.49f, 57.7601f, 2, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, 0.0f, 3, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, 0.0f, 4, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, 0.0f, 5, 1, 0, 0},
+ {1, 0, 1, 0, -107.0f, -6.55186e-15f, 6, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, 0.0f, 7, 0, 1, 1},
+ {0, 0, -1, 0, 0.0f, 0.0f, 9, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 10, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 11, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, 0.0f, 12, 1, 0, 0},
+ {1, 0, 1, 0, -28.9348f, -28.9348f, 13, 1, 0, 0},
+ {1, 0, 1, 0, -28.9348f, -28.9348f, 14, 1, 0, 0},
+ {1, 0, 1, 0, -28.9348f, -28.9348f, 15, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 16, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 17, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 18, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 19, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 20, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 21, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 22, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 23, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 24, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 25, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 26, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 27, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 40.92f, 28, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 29, 1, 0, 0},
+ {0, 0, -1, 0, 1.31037e-14f, 107.0f, 30, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 31, 1, 0, 0},
+ {0, 0, -1, 0, -2.31091e-14f, 188.7f, 32, 1, 0, 0},
+ {0, 0, -1, 0, -43.7309f, 52.2161f, 33, 2, 0, 0},
+ {0, 0, -1, 0, -118.794f, 127.279f, 35, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 37, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 38, 0, 0, 2},
+ {0, 0, -1, 0, -154.807f, 96.3058f, 40, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 42, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 43, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 45, 1, 0, 0},
+ {0, 0, -1, 200, 0.0f, 0.0f, 46, 0, 0, 2},
+ {0, 0, -1, 600, 0.0f, 0.0f, 48, 0, 0, 2},
+ {0, 0, -1, 400, 0.0f, 0.0f, 50, 0, 0, 2},
+ {0, 0, -1, 1000, 0.0f, 0.0f, 52, 0, 0, 2},
+ {0, 0, -1, 800, 0.0f, 0.0f, 54, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 56, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 57, 1, 0, 0},
+ {0, 0, -1, 1200, 0.0f, 0.0f, 58, 0, 0, 2},
+ {1, 0, 1, 0, 0.0f, 0.0f, 60, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 61, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 62, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 63, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 64, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 65, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 66, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 67, 0, 0, 1},
+ {0, 0, -1, 0, 0.0f, 0.0f, 68, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 71, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 74, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 77, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 80, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 83, 1, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 86, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 87, 1, 0, 0},
+ {0, 0, 1, 0, -70.5f, 6.0f, 88, 1, 0, 0},
+ {0, 0, 1, 0, 70.5f, 6.0f, 89, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 90, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 91, 1, 0, 2},
+ {1, 0, 1, 0, 0.0f, 0.0f, 94, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 95, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 96, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 97, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 98, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 99, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 100, 0, 0, 1},
+ {1, 0, 1, 0, -94.0f, 6.0f, 101, 1, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 103, 0, 0, 1},
+ {1, 0, 1, 0, 0.0f, 0.0f, 104, 0, 0, 1},
+ {0, 0, -1, 0, 0.0f, 0.0f, 105, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 106, 0, 0, 2},
+ {1, 0, 1, 0, -12.645f, 38.9172f, 108, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 109, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 110, 1, 2, 0},
+ {1, 0, 1, 0, -12.645f, 38.9172f, 113, 1, 0, 0},
+ {1, 0, 1, 0, -12.645f, 38.9172f, 114, 1, 0, 0},
+ {1, 0, 1, 0, -12.645f, 38.9172f, 115, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 116, 0, 0, 2},
+ {0, 0, -1, 600, -0.0f, 0.0f, 118, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 120, 0, 0, 2},
+ {0, 0, -1, 1800, -0.0f, 0.0f, 122, 0, 2, 0},
+ {0, 0, -1, 1200, 0.0f, 0.0f, 124, 0, 0, 2},
+ {0, 0, -1, 1400, 0.0f, 0.0f, 126, 0, 0, 2},
+ {0, 0, -1, 700, 0.0f, 0.0f, 128, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 130, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 132, 0, 0, 2},
+ {0, 0, -1, 1400, 0.0f, 0.0f, 134, 0, 0, 2},
+ {0, 0, -1, 700, 0.0f, 0.0f, 136, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 138, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 140, 0, 0, 2},
+ {0, 0, -1, 700, 0.0f, 0.0f, 142, 0, 0, 2},
+ {0, 0, -1, 700, 0.0f, 0.0f, 144, 0, 0, 2},
+ {0, 0, -1, 1400, 0.0f, 0.0f, 146, 0, 0, 2},
+ {0, 0, -1, 1400, 0.0f, 0.0f, 148, 0, 0, 2},
+ {0, 0, -1, 0, -8.06839f, -26.5198f, 150, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 152, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 154, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 156, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 158, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 160, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 162, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 164, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 166, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 169, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 172, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 175, 1, 0, 2},
+ {0, 0, -1, 1000, 0.0f, 0.0f, 178, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, -0.0f, 181, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, 0.0f, 182, 0, 0, 1},
+ {1, 0, 1, 0, -42.5583f, 91.2666f, 183, 1, 0, 0},
+ {1, 0, 1, 0, -100.318f, 8.77671f, 184, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 185, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 186, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 187, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, 0.0f, 188, 1, 0, 1},
+ {0, 0, -1, 0, 0.0f, 0.0f, 190, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 191, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, 0.0f, 192, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 194, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 40.92f, 195, 1, 0, 0},
+ {0, 0, -1, 0, 5.01125e-15f, -40.92f, 196, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 40.92f, 197, 1, 0, 0},
+ {0, 0, -1, 0, 5.01125e-15f, -40.92f, 198, 1, 0, 0},
+ {0, 0, -1, 0, 5.01125e-15f, -40.92f, 199, 1, 0, 0},
+ {0, 0, -1, 0, 5.01125e-15f, -40.92f, 200, 1, 0, 0},
+ {0, 0, -1, 6500, 0.0f, 0.0f, 201, 0, 0, 2},
+ {0, 0, -1, 3800, 0.0f, 0.0f, 203, 0, 0, 2},
+ {0, 0, -1, 7900, 0.0f, 0.0f, 205, 0, 0, 2},
+ {0, 0, -1, 9800, 0.0f, 0.0f, 207, 0, 0, 2},
+ {0, 0, -1, 5000, 0.0f, 0.0f, 209, 0, 0, 2},
+ {0, 0, -1, 3000, 0.0f, 0.0f, 211, 0, 0, 2},
+ {0, 0, -1, 1500, 0.0f, 0.0f, 213, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 215, 0, 0, 2},
+ {0, 0, -1, 0, -0.0f, 0.0f, 217, 0, 0, 2},
+ {0, 0, -1, 1500, -0.0f, 0.0f, 219, 0, 0, 2},
+ {0, 0, -1, 3000, -0.0f, 0.0f, 221, 0, 0, 2},
+ {0, 0, -1, 3800, -0.0f, 0.0f, 223, 0, 0, 2},
+ {0, 0, -1, 5000, -0.0f, 0.0f, 225, 0, 0, 2},
+ {0, 0, -1, 6500, -0.0f, 0.0f, 227, 0, 0, 2},
+ {0, 0, -1, 7900, -0.0f, 0.0f, 229, 0, 0, 2},
+ {0, 0, -1, 9800, -0.0f, 0.0f, 231, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 233, 1, 0, 2},
+ {0, 0, -1, 1500, 0.0f, 0.0f, 236, 1, 0, 2},
+ {0, 0, -1, 0, -0.0f, 0.0f, 239, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 240, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 241, 1, 0, 0},
+ {0, 0, -1, 1000, 0.0f, 0.0f, 242, 0, 2, 0},
+ {0, 0, -1, 800, 0.0f, 0.0f, 244, 0, 2, 0},
+ {0, 0, -1, 400, 0.0f, 0.0f, 246, 0, 2, 0},
+ {0, 0, -1, 600, 0.0f, 0.0f, 248, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 250, 0, 2, 0},
+ {0, 0, -1, 200, 0.0f, 0.0f, 252, 0, 2, 0},
+ {0, 0, -1, 1000, 0.0f, 0.0f, 254, 0, 2, 0},
+ {1, 0, 1, 0, -25.5207f, -31.9865f, 256, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 257, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 259, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 261, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 263, 0, 2, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 265, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 267, 0, 2, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 269, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 271, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 273, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 275, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 277, 0, 2, 0},
+ {0, 0, -1, 0, -13.9709f, -21.2246f, 279, 2, 0, 0},
+ {0, 0, -1, 0, 21.7643f, -13.1142f, 281, 2, 0, 0},
+ {0, 0, -1, 0, -17.6956f, -18.2355f, 283, 2, 0, 0},
+ {0, 0, -1, 0, 21.7644f, -13.1141f, 285, 2, 0, 0},
+ {0, 0, -1, 0, -21.6105f, -13.3662f, 287, 2, 0, 0},
+ {0, 0, -1, 0, 21.7644f, -13.1141f, 289, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 291, 0, 0, 2},
+ {0, 0, -5, 0, -0.0f, 0.0f, 293, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 295, 1, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 298, 1, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 301, 0, 0, 2},
+ {0, 0, -1, 500, 0.0f, 0.0f, 303, 0, 0, 2},
+ {0, 0, -1, 1000, 0.0f, 0.0f, 305, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 307, 0, 0, 2},
+ {0, 0, -1, 500, 0.0f, 0.0f, 309, 0, 0, 2},
+ {0, 0, -1, 1000, 0.0f, 0.0f, 311, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 313, 0, 2, 1},
+ {0, 0, -1, 0, 0.0f, 0.0f, 316, 0, 0, 2},
+ {0, 0, -1, 500, 0.0f, 0.0f, 318, 0, 0, 2},
+ {0, 0, -1, 1000, 0.0f, 0.0f, 320, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 322, 0, 0, 2},
+ {0, 0, -1, 1000, 0.0f, 0.0f, 324, 0, 0, 2},
+ {0, 0, -1, 500, 0.0f, 0.0f, 326, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 328, 0, 2, 1},
+ {0, 0, -1, 0, 0.0f, 0.0f, 331, 0, 0, 2},
+ {0, 0, -1, 300, 0.0f, 0.0f, 333, 0, 0, 2},
+ {0, 0, -1, 600, 0.0f, 0.0f, 335, 0, 0, 2},
+ {0, 0, -1, 900, 0.0f, 0.0f, 337, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 339, 0, 0, 2},
+ {0, 0, -1, 300, 0.0f, 0.0f, 341, 0, 0, 2},
+ {0, 0, -1, 600, 0.0f, 0.0f, 343, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, -0.0f, 345, 0, 0, 2},
+ {0, 0, -1, 900, 0.0f, -0.0f, 347, 0, 0, 2},
+ {0, 0, -1, 600, 0.0f, -0.0f, 349, 0, 0, 2},
+ {0, 0, -1, 300, 0.0f, -0.0f, 351, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 353, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 354, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 355, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 356, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 359, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 362, 0, 0, 2},
+ {0, 0, -1, 300, 0.0f, 0.0f, 364, 0, 0, 2},
+ {0, 0, -1, 600, 0.0f, 0.0f, 366, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 368, 1, 0, 2},
+ {1, 0, 1, 0, -22.2866f, 34.3184f, 371, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 372, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 373, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 374, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 375, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 376, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 377, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 378, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 379, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 382, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 383, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 384, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 385, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, -606.0f, 386, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, -606.0f, 387, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 388, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 389, 1, 0, 2},
+ {1, 0, 1, 0, 0.0f, -606.0f, 392, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 393, 1, 0, 0},
+ {0, 0, -1, 0, 156.844f, -585.351f, 394, 2, 0, 0},
+ {0, 0, -1, 0, -156.844f, -585.351f, 396, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 398, 1, 0, 2},
+ {0, 0, -1, 0, -0.0f, 0.0f, 401, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, -0.0f, 402, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 403, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 404, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, -0.0f, 405, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 406, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, -0.0f, 407, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 408, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, -0.0f, 409, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 410, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, -0.0f, 411, 1, 0, 0},
+ {0, 0, 1, 0, 0.0f, 0.0f, 412, 1, 1, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 414, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 415, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 416, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 417, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 418, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 419, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 420, 1, 0, 0},
+ {0, 0, -1, 0, 116.2f, 116.2f, 421, 1, 0, 0},
+ {0, 0, -1, 0, -116.2f, 116.2f, 422, 1, 0, 0},
+ {0, 0, -1, 0, 116.2f, -116.2f, 423, 1, 0, 0},
+ {0, 0, -1, 0, -116.2f, -116.2f, 424, 1, 0, 0},
+ {0, 0, -1, 0, 116.2f, 116.2f, 425, 1, 0, 0},
+ {0, 0, -1, 0, -116.2f, 116.2f, 426, 1, 0, 0},
+ {0, 0, -1, 0, -116.2f, -116.2f, 427, 1, 0, 0},
+ {0, 0, -1, 0, 116.2f, -116.2f, 428, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 429, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 430, 1, 0, 0},
+ {1, 0, -1, 0, 0.0f, 0.0f, 431, 2, 0, 0},
+ {1, 0, -1, 0, 0.0f, 0.0f, 433, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 435, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 436, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 439, 1, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 442, 1, 2, 2},
+ {0, 0, -1, 0, -7.9602e-15f, 65.0f, 447, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 448, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 449, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 450, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 451, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 452, 1, 0, 0},
+ {1, 0, -1, 0, 0.0f, 0.0f, 453, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 455, 0, 0, 2},
+ {0, 0, -1, 300, 0.0f, 0.0f, 457, 0, 0, 2},
+ {0, 0, -1, 600, 0.0f, 0.0f, 459, 0, 0, 2},
+ {0, 0, -1, 900, 0.0f, 0.0f, 461, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, -0.0f, 463, 0, 0, 2},
+ {0, 0, -1, 900, 0.0f, -0.0f, 465, 0, 0, 2},
+ {0, 0, -1, 600, 0.0f, -0.0f, 467, 0, 0, 2},
+ {0, 0, -1, 300, 0.0f, -0.0f, 469, 0, 0, 2},
+ {1, 0, 1, 0, 36.824f, 93.1665f, 471, 1, 0, 1},
+ {0, 0, -1, 0, 0.0f, 0.0f, 473, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 474, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 476, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 478, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 480, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 482, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 484, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 486, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 488, 0, 2, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 490, 1, 0, 0},
+ {0, 0, -1, 0, -13.9709f, -21.2246f, 491, 2, 0, 0},
+ {0, 0, -1, 0, 21.7643f, -13.1142f, 493, 2, 0, 0},
+ {0, 0, -1, 0, -18.9883f, -16.8853f, 495, 2, 0, 0},
+ {1, 0, -1, 0, -32.5163f, 24.8422f, 497, 2, 0, 0},
+ {1, 0, -1, 0, 0.0f, 0.0f, 499, 0, 0, 3},
+ {1, 0, -1, 0, 0.0f, 0.0f, 502, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 0.0f, 504, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 505, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 506, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 507, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, -0.0f, 508, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 509, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 510, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 511, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 512, 1, 0, 2},
+ {1, 0, 1, 0, 0.0f, 0.0f, 515, 1, 0, 1},
+ {0, 0, -1, 0, 70.5f, -6.0f, 517, 2, 0, 0},
+ {0, 0, -1, 0, -45.6084f, 54.0937f, 519, 2, 0, 0},
+ {0, 0, -1, 0, 8.81746e-15f, 72.0f, 521, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 522, 1, 0, 0},
+ {0, 0, -1, 0, -18.635f, -69.5467f, 523, 2, 0, 0},
+ {0, 0, -1, 0, -36.0f, -62.3538f, 525, 2, 0, 0},
+ {0, 0, -1, 0, -18.635f, -69.5467f, 527, 2, 0, 0},
+ {0, 0, -1, 0, -36.0f, -62.3538f, 529, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, -0.0f, 531, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 532, 1, 0, 0},
+ {1, 0, 1, 0, 36.824f, 93.1665f, 533, 1, 0, 1},
+ {1, 0, -1, 0, -39.3463f, -11.2389f, 535, 1, 0, 0},
+ {1, 0, 1, 0, 70.5f, 6.0f, 536, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 538, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 539, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 540, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, -0.0f, 541, 1, 0, 0},
+ {1, 0, 1, 0, 0.0f, 0.0f, 542, 1, 1, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 544, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 545, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 546, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 547, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 548, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 549, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 550, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 551, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 552, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 553, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 554, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 555, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 556, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 557, 1, 0, 0},
+ {0, 0, -1, 0, -45.6084f, 54.0937f, 558, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 560, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 561, 1, 0, 0},
+ {1, 0, -1, 0, -0.0f, 0.0f, 562, 2, 0, 0},
+ {1, 0, -1, 0, -65.2542f, -30.4285f, 564, 2, 0, 0},
+ {1, 0, 1, 0, -82.49f, 57.7601f, 566, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 567, 1, 0, 0},
+ {0, 0, -1, 0, -0.0f, 0.0f, 568, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 569, 0, 0, 2},
+ {0, 0, -1, 400, 0.0f, 0.0f, 571, 0, 0, 2},
+ {0, 0, -1, 200, 0.0f, 0.0f, 573, 0, 0, 2},
+ {0, 0, -1, 0, 84.8975f, 39.5883f, 575, 2, 0, 0},
+ {0, 0, -1, 300, -84.8975f, 39.5883f, 577, 2, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 579, 1, 4, 4},
+ {1, 0, 1, 0, -75.615f, 114.283f, 588, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 589, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, -0.0f, 590, 1, 0, 0},
+ {0, 0, -1, 0, 0.0f, 0.0f, 591, 0, 0, 2},
+ {0, 0, -1, 0, 0.0f, 22.95f, 593, 1, 0, 0},
+ {0, 0, -1, 0, 11.6433f, 19.7772f, 594, 1, 0, 0},
+ {0, 0, -1, 0, -15.7692f, 16.6744f, 595, 1, 0, 0},
+ {0, 0, -1, 0, -12.2968f, -19.3776f, 596, 1, 0, 0},
+ {0, 0, -1, 0, 15.2394f, -17.1599f, 597, 1, 0, 0},
};
-static const rd_step rd_steps[529] = {
+/* delta, time (ms), easing, delay (ms) */
+static const rd_step rd_steps[598] = {
{-30.0f, 1000, 1, 0},
{90.0f, 1000, 1, 1000},
{-111.0f, 500, 1, 500},
@@ -5217,6 +5100,8 @@ static const rd_step rd_steps[529] = {
{-200.0f, 500, 1, 200},
{-200.0f, 500, 1, 200},
{360.0f, 1200, 0, 0},
+ {-700.0f, 600, 1, 4000},
+ {700.0f, 600, 1, 0},
{-36.0f, 700, 1, 1000},
{-360.0f, 2300, 0, 0},
{360.0f, 1200, 0, 0},
@@ -5253,6 +5138,12 @@ static const rd_step rd_steps[529] = {
{-500.0f, 400, 1, 0},
{500.0f, 1000, 2, 1500},
{-500.0f, 400, 1, 0},
+ {500.0f, 1000, 2, 1500},
+ {-500.0f, 400, 1, 0},
+ {500.0f, 1000, 2, 1500},
+ {-500.0f, 400, 1, 0},
+ {500.0f, 1000, 2, 1500},
+ {-500.0f, 400, 1, 0},
{40.0f, 300, 1, 1500},
{-40.0f, 300, 1, 1500},
{-90.0f, 300, 1, 1000},
@@ -5304,6 +5195,22 @@ static const rd_step rd_steps[529] = {
{360.0f, 4000, 0, 0},
{360.0f, 4000, 0, 0},
{360.0f, 4000, 0, 0},
+ {1150.0f, 300, 1, 2000},
+ {-1150.0f, 300, 1, 100},
+ {500.0f, 300, 1, 2000},
+ {-500.0f, 300, 1, 100},
+ {500.0f, 300, 1, 2000},
+ {-500.0f, 300, 1, 100},
+ {800.0f, 300, 1, 2000},
+ {-800.0f, 300, 1, 100},
+ {500.0f, 300, 1, 2000},
+ {-500.0f, 300, 1, 100},
+ {900.0f, 300, 1, 2000},
+ {-900.0f, 300, 1, 100},
+ {500.0f, 300, 1, 2000},
+ {-500.0f, 300, 1, 100},
+ {500.0f, 300, 1, 2000},
+ {-500.0f, 300, 1, 100},
{500.0f, 300, 1, 2000},
{-500.0f, 300, 1, 100},
{500.0f, 300, 1, 2000},
@@ -5341,6 +5248,8 @@ static const rd_step rd_steps[529] = {
{-200.0f, 500, 1, 200},
{200.0f, 500, 1, 200},
{-200.0f, 500, 1, 200},
+ {200.0f, 500, 1, 200},
+ {-200.0f, 500, 1, 200},
{-1000.0f, 7000, 1, 0},
{-250.0f, 2000, 1, 0},
{250.0f, 2000, 1, 0},
@@ -5401,6 +5310,35 @@ static const rd_step rd_steps[529] = {
{15.0f, 50, 0, 0},
{-15.0f, 50, 0, 0},
{1500.0f, 10000, 0, 5000},
+ {200.0f, 800, 2, 500},
+ {-200.0f, 800, 1, 500},
+ {300.0f, 800, 2, 500},
+ {-300.0f, 800, 1, 500},
+ {400.0f, 800, 2, 500},
+ {-400.0f, 800, 1, 500},
+ {200.0f, 800, 2, 500},
+ {-200.0f, 800, 1, 500},
+ {200.0f, 800, 2, 500},
+ {-200.0f, 800, 1, 500},
+ {200.0f, 800, 2, 500},
+ {-200.0f, 800, 1, 500},
+ {15.0f, 50, 0, 0},
+ {-15.0f, 50, 0, 0},
+ {1500.0f, 10000, 0, 5000},
+ {315.0f, 700, 2, 50},
+ {-315.0f, 900, 1, 50},
+ {315.0f, 700, 2, 50},
+ {-315.0f, 900, 1, 50},
+ {315.0f, 700, 2, 50},
+ {-315.0f, 900, 1, 50},
+ {315.0f, 700, 2, 50},
+ {-315.0f, 900, 1, 50},
+ {100.0f, 700, 1, 50},
+ {-100.0f, 900, 2, 50},
+ {100.0f, 700, 1, 50},
+ {-100.0f, 900, 2, 50},
+ {100.0f, 700, 1, 50},
+ {-100.0f, 900, 2, 50},
{315.0f, 700, 2, 50},
{-315.0f, 900, 1, 50},
{315.0f, 700, 2, 50},
@@ -5519,11 +5457,25 @@ static const rd_step rd_steps[529] = {
{-315.0f, 900, 1, 50},
{315.0f, 700, 2, 50},
{-315.0f, 900, 1, 50},
+ {315.0f, 700, 2, 50},
+ {-315.0f, 900, 1, 50},
+ {315.0f, 700, 2, 50},
+ {-315.0f, 900, 1, 50},
+ {315.0f, 700, 2, 50},
+ {-315.0f, 900, 1, 50},
+ {315.0f, 700, 2, 50},
+ {-315.0f, 900, 1, 50},
{25.0f, 200, 1, 500},
{364.0f, 500, 1, 500},
{360.0f, 2000, 0, 0},
- {870.0f, 1200, 1, 4000},
- {-870.0f, 1200, 1, 4000},
+ {105.0f, 1200, 1, 0},
+ {-105.0f, 1200, 1, 0},
+ {150.0f, 1200, 1, 0},
+ {-150.0f, 1200, 1, 0},
+ {-150.0f, 1200, 1, 0},
+ {150.0f, 1200, 1, 0},
+ {150.0f, 1200, 1, 0},
+ {-150.0f, 1200, 1, 0},
{105.0f, 1200, 1, 0},
{-105.0f, 1200, 1, 0},
{-150.0f, 1200, 1, 0},
@@ -5641,152 +5593,152 @@ static const rd_step rd_steps[529] = {
{360.0f, 6000, 0, 0},
{360.0f, 6000, 0, 0},
};
-/* first object, objects, width, start, finish x */
+/* first object, objects, width, start (centre of the bike and its turn), finish x */
static const rd_track rd_tracks[144] = {
- {0, 39, 4160, 66, 1220, 3276}, /* level-T */
- {39, 39, 3872, 137, 1193, 3364}, /* level-O */
- {78, 43, 3456, 63, 1431, 3257}, /* level-A */
- {121, 47, 3840, 61, 1420, 3711}, /* level-G */
- {168, 45, 3840, 61, 1092, 3537}, /* level-H */
- {213, 26, 3840, 74, 515, 3443}, /* level-X */
- {239, 25, 4480, 456, 1330, 4164}, /* level-R */
- {264, 33, 3264, -6, 1349, 2668}, /* level-M */
- {297, 48, 3136, 158, 885, 3011}, /* level-BB */
- {345, 28, 3168, 85, 1334, 3074}, /* level-B */
- {373, 36, 3520, 64, 1334, 3428}, /* level-D */
- {409, 46, 3936, 87, 1037, 3593}, /* level-Q */
- {455, 41, 3520, 64, 1334, 3244}, /* level-C */
- {496, 55, 4160, 159, 64, 3915}, /* level-E */
- {551, 33, 3264, 62, 1331, 3073}, /* level-L */
- {584, 36, 4032, 90, 1258, 3684}, /* level-N */
- {620, 39, 4160, 191, 1334, 3813}, /* level-2-A */
- {659, 42, 3008, 220, 1495, 2699}, /* level-2-B */
- {701, 71, 4640, 41, 1216, 4197}, /* level-2-J */
- {772, 38, 4160, 2899, 1471, 3705}, /* level-2-D */
- {810, 140, 4160, 305, 1441, 3854}, /* level-2-E */
- {950, 40, 4160, 587, -194, 3813}, /* level-2-F */
- {990, 50, 4736, 123, 1498, 4067}, /* level-2-G */
- {1040, 33, 4736, 164, 1485, 4437}, /* level-2-H */
- {1073, 28, 4160, 74, 965, 3871}, /* level-W */
- {1101, 24, 3840, 137, 1460, 2835}, /* level-Z */
- {1125, 24, 4160, 165, 959, 3923}, /* level-BA */
- {1149, 55, 4352, 150, 1068, 4067}, /* level-J */
- {1204, 58, 4864, 82, 1030, 4504}, /* level-U */
- {1262, 40, 4064, 81, 1279, 3612}, /* level-I */
- {1302, 23, 4160, 64, 1144, 3381}, /* level-S */
- {1325, 45, 3840, 73, 1269, 3443}, /* level-Y */
- {1370, 31, 5600, 118, 1480, 5263}, /* level-2-I */
- {1401, 45, 5568, 262, 1172, 4945}, /* level-2-C */
- {1446, 32, 4640, 241, 1502, 4380}, /* level-2-K */
- {1478, 46, 5440, 82, 1328, 5125}, /* level-2-L */
- {1524, 28, 2944, 163, 1331, 2716}, /* level-2-M */
- {1552, 32, 5152, 55, 1336, 4193}, /* level-2-N */
- {1584, 45, 5152, 55, 981, 4666}, /* level-2-O */
- {1629, 37, 2336, 800, 1074, 1895}, /* level-2-P */
- {1666, 43, 4896, 132, 1308, 4525}, /* level-K */
- {1709, 47, 5216, 68, 315, 4809}, /* level-P */
- {1756, 30, 3840, 60, 1191, 3701}, /* level-F */
- {1786, 92, 6400, 220, 1543, 6347}, /* level-BC */
- {1878, 44, 5888, 72, 1274, 5513}, /* level-BD */
- {1922, 29, 2560, 72, 1274, 2441}, /* level-BE */
- {1951, 45, 3840, 69, 1295, 3753}, /* level-BF */
- {1996, 28, 4448, 60, 1075, 4140}, /* level-V */
- {2024, 11, 576, 150, 1173, 0}, /* levelChunkStart01 */
- {2035, 13, 1504, 150, 1273, 0}, /* levelChunk001 */
- {2048, 14, 1280, 150, 1273, 0}, /* levelChunk002 */
- {2062, 23, 1632, 150, 1246, 0}, /* levelChunk003 */
- {2085, 24, 2432, 150, 1336, 0}, /* levelChunk004 */
- {2109, 15, 1696, 150, 1273, 0}, /* levelChunk005 */
- {2124, 27, 2240, 100, 1300, 0}, /* levelChunk006 */
- {2151, 28, 1536, 100, 1300, 0}, /* levelChunk009 */
- {2179, 17, 1056, 150, 1258, 0}, /* levelChunk010 */
- {2196, 27, 1088, 150, 1303, 0}, /* levelChunk011 */
- {2223, 19, 928, 150, 1303, 0}, /* levelChunk012 */
- {2242, 24, 1344, 150, 1339, 0}, /* levelChunk014 */
- {2266, 12, 1248, 150, 1339, 0}, /* levelChunk015 */
- {2278, 20, 1216, 150, 1339, 0}, /* levelChunk016 */
- {2298, 15, 1248, 150, 1339, 0}, /* levelChunk017 */
- {2313, 20, 1024, 150, 1241, 0}, /* levelChunk018 */
- {2333, 21, 960, 150, 952, 0}, /* levelChunk019 */
- {2354, 28, 2240, 150, 1336, 0}, /* levelChunk021 */
- {2382, 15, 1472, 100, 1300, 0}, /* levelChunk023 */
- {2397, 22, 1600, 150, 1339, 0}, /* levelChunk025 */
- {2419, 39, 2176, 100, 1300, 0}, /* levelChunk026 */
- {2458, 27, 2240, 150, 1273, 0}, /* levelChunk027 */
- {2485, 17, 1280, 150, 1246, 0}, /* levelChunk028 */
- {2502, 17, 1344, 150, 1246, 0}, /* levelChunk030 */
- {2519, 23, 1344, 150, 1246, 0}, /* levelChunk031 */
- {2542, 20, 1088, 100, 1300, 0}, /* levelChunk032 */
- {2562, 17, 1152, 150, 1242, 0}, /* levelChunk033 */
- {2579, 33, 1344, 150, 1339, 0}, /* levelChunk034 */
- {2612, 14, 1056, 150, 1288, 0}, /* levelChunk035 */
- {2626, 22, 1280, 150, 844, 0}, /* levelChunk036 */
- {2648, 21, 1472, 100, 1300, 0}, /* levelChunk037 */
- {2669, 21, 1344, 150, 1339, 0}, /* levelChunk038 */
- {2690, 24, 1056, 100, 1300, 0}, /* levelChunk039 */
- {2714, 24, 1888, 150, 1288, 0}, /* levelChunk042 */
- {2738, 17, 896, 150, 1339, 0}, /* levelChunk044 */
- {2755, 14, 1728, 100, 1300, 0}, /* levelChunk046 */
- {2769, 21, 1216, 150, 1131, 0}, /* levelChunk051 */
- {2790, 27, 1568, 150, 1246, 0}, /* levelChunk054 */
- {2817, 20, 1056, 150, 1339, 0}, /* levelChunk056 */
- {2837, 21, 1056, 100, 1300, 0}, /* levelChunk057 */
- {2858, 28, 1632, 100, 1300, 0}, /* levelChunk058 */
- {2886, 35, 1536, 150, 1339, 0}, /* levelChunk059 */
- {2921, 29, 1856, 100, 1300, 0}, /* levelChunk060 */
- {2950, 20, 1568, 100, 1300, 0}, /* levelChunk061 */
- {2970, 37, 2496, 150, 1313, 0}, /* levelChunk063 */
- {3007, 14, 896, 150, 952, 0}, /* levelChunk066 */
- {3021, 27, 2944, 100, 1300, 0}, /* levelChunk067 */
- {3048, 38, 3104, 100, 1300, 0}, /* levelChunk068 */
- {3086, 21, 1312, 150, 1258, 0}, /* levelChunk071 */
- {3107, 19, 1280, 150, 1339, 0}, /* levelChunk074 */
- {3126, 19, 1280, 150, 1288, 0}, /* levelChunk075 */
- {3145, 19, 1760, 100, 1300, 0}, /* levelChunk076 */
- {3164, 19, 1344, 100, 1300, 0}, /* levelChunk077 */
- {3183, 21, 1344, 150, 1296, 0}, /* levelChunk078 */
- {3204, 15, 864, 150, 1339, 0}, /* levelChunk079 */
- {3219, 24, 1504, 150, 639, 0}, /* levelChunk080 */
- {3243, 14, 1120, 150, 1339, 0}, /* levelChunk081 */
- {3257, 15, 832, 150, 1339, 0}, /* levelChunk083 */
- {3272, 16, 1216, 100, 1300, 0}, /* levelChunk084 */
- {3288, 17, 2336, 150, 1336, 0}, /* levelChunk085 */
- {3305, 21, 1120, 150, 1339, 0}, /* levelChunk086 */
- {3326, 14, 1248, 150, 1339, 0}, /* levelChunk087 */
- {3340, 17, 1440, 150, 1339, 0}, /* levelChunk088 */
- {3357, 23, 1696, 150, 1288, 0}, /* levelChunk089 */
- {3380, 19, 1728, 150, 1288, 0}, /* levelChunk090 */
- {3399, 23, 1408, 150, 1288, 0}, /* levelChunk091 */
- {3422, 33, 2080, 150, 1224, 0}, /* levelChunk092 */
- {3455, 44, 3040, 150, 1296, 0}, /* levelChunk093 */
- {3499, 14, 1792, 100, 1300, 0}, /* levelChunk094 */
- {3513, 28, 2144, 100, 1300, 0}, /* levelChunk096 */
- {3541, 25, 2272, 100, 1300, 0}, /* levelChunk098 */
- {3566, 18, 2368, 150, 1339, 0}, /* levelChunk099 */
- {3584, 33, 2656, 150, 1325, 0}, /* levelChunk100 */
- {3617, 36, 2688, 150, 1340, 0}, /* levelChunk101 */
- {3653, 32, 2496, 150, 1340, 0}, /* levelChunk102 */
- {3685, 24, 1152, 150, 1339, 0}, /* levelChunk104 */
- {3709, 18, 1344, 100, 1300, 0}, /* levelChunk105 */
- {3727, 13, 1344, 100, 1300, 0}, /* levelChunk106 */
- {3740, 18, 1856, 100, 1300, 0}, /* levelChunk107 */
- {3758, 41, 1856, 100, 1300, 0}, /* levelChunk109 */
- {3799, 21, 1472, 150, 584, 0}, /* levelChunk111 */
- {3820, 21, 1280, 150, 1339, 0}, /* levelChunk112 */
- {3841, 23, 1728, 150, 1339, 0}, /* levelChunk113 */
- {3864, 39, 1632, 150, 1321, 0}, /* levelChunk115 */
- {3903, 13, 1632, 150, 1339, 0}, /* levelChunk116 */
- {3916, 18, 1632, 100, 1300, 0}, /* levelChunk117 */
- {3934, 23, 1312, 150, 1339, 0}, /* levelChunk118 */
- {3957, 18, 1536, 150, 1257, 0}, /* levelChunk119 */
- {3975, 28, 1536, 150, 1334, 0}, /* levelChunk120 */
- {4003, 19, 1952, 150, 1317, 0}, /* levelChunk121 */
- {4022, 30, 1952, 150, 1317, 0}, /* levelChunk122 */
- {4052, 18, 1312, 150, 1339, 0}, /* levelChunk124 */
- {4070, 22, 1568, 150, 1321, 0}, /* levelChunk125 */
- {4092, 30, 1888, 150, 1320, 0}, /* levelChunk127 */
- {4122, 24, 2432, 100, 1300, 0}, /* levelChunk130 */
- {4146, 19, 2112, 100, 1300, 0}, /* levelChunk131 */
+ {0, 39, 4160, 62.765f, 1221.02f, 0.0f, 3276}, /* level-T */
+ {39, 39, 3872, 133.967f, 1193.87f, 0.0f, 3364}, /* level-O */
+ {78, 43, 3456, 59.9204f, 1431.71f, 0.0f, 3257}, /* level-A */
+ {121, 47, 3840, 57.95f, 1421.05f, 0.0f, 3711}, /* level-G */
+ {168, 45, 3840, 57.95f, 1093.05f, 0.0f, 3537}, /* level-H */
+ {213, 26, 3840, 70.9737f, 515.797f, 0.0f, 3443}, /* level-X */
+ {239, 25, 4480, 452.828f, 1330.63f, 0.0f, 4164}, /* level-R */
+ {264, 33, 3264, -9.04607f, 1349.93f, 0.0f, 2668}, /* level-M */
+ {297, 48, 3136, 155.077f, 885.819f, 0.0f, 3011}, /* level-BB */
+ {345, 28, 3168, 81.7701f, 1334.77f, 0.0f, 3074}, /* level-B */
+ {373, 36, 3520, 60.9065f, 1335.17f, 0.0f, 3428}, /* level-D */
+ {409, 46, 3936, 83.5635f, 1038.44f, 0.0f, 3593}, /* level-Q */
+ {455, 41, 3520, 60.9065f, 1335.17f, 0.0f, 3244}, /* level-C */
+ {496, 55, 4160, 155.901f, 64.708f, 0.0f, 3915}, /* level-E */
+ {551, 33, 3264, 58.647f, 1332.05f, 0.0f, 3073}, /* level-L */
+ {584, 36, 4032, 86.7228f, 1259.28f, 0.0f, 3684}, /* level-N */
+ {620, 39, 4160, 187.973f, 1334.7f, 3.55271e-15f, 3813}, /* level-2-A */
+ {659, 42, 3008, 216.543f, 1496.25f, 0.0f, 2699}, /* level-2-B */
+ {701, 71, 4640, 37.7128f, 1217.25f, 0.0f, 4197}, /* level-2-J */
+ {772, 38, 4160, 2895.69f, 1472.05f, 0.0f, 3705}, /* level-2-D */
+ {810, 140, 4160, 301.844f, 1441.67f, 0.0f, 3854}, /* level-2-E */
+ {950, 40, 4160, 583.994f, -192.485f, 3.55271e-15f, 3813}, /* level-2-F */
+ {990, 50, 4736, 120.009f, 1499.42f, 3.55271e-15f, 4067}, /* level-2-G */
+ {1040, 33, 4736, 160.9f, 1485.6f, 3.55271e-15f, 4437}, /* level-2-H */
+ {1073, 28, 4160, 70.8066f, 965.811f, 0.0f, 3871}, /* level-W */
+ {1101, 24, 3840, 133.622f, 1460.61f, 0.0f, 2835}, /* level-Z */
+ {1125, 24, 4160, 161.833f, 959.947f, 0.0f, 3923}, /* level-BA */
+ {1149, 55, 4352, 146.95f, 1069.05f, 0.0f, 4067}, /* level-J */
+ {1204, 58, 4864, 79.0851f, 1030.99f, 0.0f, 4504}, /* level-U */
+ {1262, 40, 4064, 77.7697f, 1279.59f, 0.0f, 3612}, /* level-I */
+ {1302, 23, 4160, 60.95f, 1144.72f, 0.0f, 3381}, /* level-S */
+ {1325, 45, 3840, 69.6224f, 1269.61f, 0.0f, 3443}, /* level-Y */
+ {1370, 31, 5600, 114.936f, 1480.57f, 3.55271e-15f, 5263}, /* level-2-I */
+ {1401, 45, 5568, 259.173f, 1172.61f, 0.0f, 4945}, /* level-2-C */
+ {1446, 32, 4640, 238.34f, 1503.53f, 0.0f, 4380}, /* level-2-K */
+ {1478, 46, 5440, 78.8732f, 1329.28f, 0.0f, 5125}, /* level-2-L */
+ {1524, 28, 2944, 159.697f, 1332.31f, 0.0f, 2716}, /* level-2-M */
+ {1552, 32, 5152, 52.1986f, 1336.86f, 0.0f, 4193}, /* level-2-N */
+ {1584, 45, 5152, 52.4204f, 982.126f, 0.0f, 4666}, /* level-2-O */
+ {1629, 37, 2336, 796.895f, 1074.73f, 0.0f, 1895}, /* level-2-P */
+ {1666, 43, 4896, 128.95f, 1309.05f, 0.0f, 4525}, /* level-K */
+ {1709, 47, 5216, 64.3252f, 292.31f, 30.0f, 4809}, /* level-P */
+ {1756, 30, 3840, 56.95f, 1192.05f, 0.0f, 3701}, /* level-F */
+ {1786, 92, 6400, 216.494f, 1544.29f, 0.0f, 6347}, /* level-BC */
+ {1878, 44, 5888, 68.5817f, 1275.45f, 0.0f, 5513}, /* level-BD */
+ {1922, 29, 2560, 68.5817f, 1275.45f, 0.0f, 2441}, /* level-BE */
+ {1951, 45, 3840, 65.9974f, 1296.36f, 0.0f, 3753}, /* level-BF */
+ {1996, 28, 4448, 57.0319f, 1075.91f, 0.0f, 4140}, /* level-V */
+ {2024, 11, 576, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunkStart01 */
+ {2035, 13, 1504, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk001 */
+ {2048, 14, 1280, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk002 */
+ {2062, 23, 1632, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk003 */
+ {2085, 24, 2432, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk004 */
+ {2109, 15, 1696, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk005 */
+ {2124, 27, 2240, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk006 */
+ {2151, 28, 1536, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk009 */
+ {2179, 17, 1056, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk010 */
+ {2196, 27, 1088, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk011 */
+ {2223, 19, 928, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk012 */
+ {2242, 24, 1344, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk014 */
+ {2266, 12, 1248, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk015 */
+ {2278, 20, 1216, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk016 */
+ {2298, 15, 1248, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk017 */
+ {2313, 20, 1024, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk018 */
+ {2333, 21, 960, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk019 */
+ {2354, 28, 2240, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk021 */
+ {2382, 15, 1472, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk023 */
+ {2397, 22, 1600, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk025 */
+ {2419, 39, 2176, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk026 */
+ {2458, 27, 2240, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk027 */
+ {2485, 17, 1280, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk028 */
+ {2502, 17, 1344, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk030 */
+ {2519, 23, 1344, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk031 */
+ {2542, 20, 1088, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk032 */
+ {2562, 17, 1152, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk033 */
+ {2579, 33, 1344, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk034 */
+ {2612, 14, 1056, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk035 */
+ {2626, 22, 1280, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk036 */
+ {2648, 21, 1472, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk037 */
+ {2669, 21, 1344, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk038 */
+ {2690, 24, 1056, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk039 */
+ {2714, 24, 1888, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk042 */
+ {2738, 17, 896, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk044 */
+ {2755, 14, 1728, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk046 */
+ {2769, 21, 1216, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk051 */
+ {2790, 27, 1568, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk054 */
+ {2817, 20, 1056, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk056 */
+ {2837, 21, 1056, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk057 */
+ {2858, 28, 1632, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk058 */
+ {2886, 35, 1536, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk059 */
+ {2921, 29, 1856, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk060 */
+ {2950, 20, 1568, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk061 */
+ {2970, 37, 2496, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk063 */
+ {3007, 14, 896, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk066 */
+ {3021, 27, 2944, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk067 */
+ {3048, 38, 3104, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk068 */
+ {3086, 21, 1312, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk071 */
+ {3107, 19, 1280, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk074 */
+ {3126, 19, 1280, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk075 */
+ {3145, 19, 1760, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk076 */
+ {3164, 19, 1344, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk077 */
+ {3183, 21, 1344, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk078 */
+ {3204, 15, 864, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk079 */
+ {3219, 24, 1504, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk080 */
+ {3243, 14, 1120, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk081 */
+ {3257, 15, 832, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk083 */
+ {3272, 16, 1216, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk084 */
+ {3288, 17, 2336, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk085 */
+ {3305, 21, 1120, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk086 */
+ {3326, 14, 1248, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk087 */
+ {3340, 17, 1440, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk088 */
+ {3357, 23, 1696, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk089 */
+ {3380, 19, 1728, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk090 */
+ {3399, 23, 1408, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk091 */
+ {3422, 33, 2080, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk092 */
+ {3455, 44, 3040, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk093 */
+ {3499, 14, 1792, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk094 */
+ {3513, 28, 2144, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk096 */
+ {3541, 25, 2272, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk098 */
+ {3566, 18, 2368, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk099 */
+ {3584, 33, 2656, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk100 */
+ {3617, 36, 2688, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk101 */
+ {3653, 32, 2496, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk102 */
+ {3685, 24, 1152, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk104 */
+ {3709, 18, 1344, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk105 */
+ {3727, 13, 1344, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk106 */
+ {3740, 18, 1856, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk107 */
+ {3758, 41, 1856, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk109 */
+ {3799, 21, 1472, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk111 */
+ {3820, 21, 1280, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk112 */
+ {3841, 23, 1728, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk113 */
+ {3864, 39, 1632, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk115 */
+ {3903, 13, 1632, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk116 */
+ {3916, 18, 1632, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk117 */
+ {3934, 23, 1312, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk118 */
+ {3957, 18, 1536, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk119 */
+ {3975, 28, 1536, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk120 */
+ {4003, 19, 1952, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk121 */
+ {4022, 30, 1952, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk122 */
+ {4052, 18, 1312, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk124 */
+ {4070, 22, 1568, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk125 */
+ {4092, 30, 1888, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk127 */
+ {4122, 24, 2432, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk130 */
+ {4146, 19, 2112, 211.0f, 1133.6f, 15.0f, 0}, /* levelChunk131 */
};
static const uint16_t star2[48] = {
1500, 1700, 1300, 1200, 1150, 1850, 1250, 1450, 1300, 1100, 1500, 1300, 900, 1050, 1850, 1200,
@@ -6103,293 +6055,293 @@ static const uint16_t hull_poly[506] = {
2169, 2173, 2178, 2184, 2188, 2192, 2197, 2200, 2204, 2208, 2213, 2217, 2222, 2228, 2233, 2239,
2243, 2247, 2250, 2254, 2262, 2265, 2269, 2274, 2278, 2283,
};
-static const int8_t hull_xy[4566] = {
- 58, 20, 6, 20, -4, 13, -1, -10, 27, -26, 65, -8, 79, 13, -47, -18,
- -1, -10, -4, 13, -44, 4, -74, -6, -41, 9, -10, 18, -48, 20, -51, 13,
- -10, 18, -41, 9, -44, 4, -4, 13, -20, 4, 38, 25, 38, 28, -19, 10,
- -23, 7, -23, 4, 57, 22, 50, 22, 54, 11, 59, 15, -50, 13, -19, 10,
- -16, 24, -50, 22, -52, 17, 54, 11, 5, -27, 68, 1, 62, 10, -19, 10,
- 38, 28, 4, 28, -16, 24, 38, 25, 50, 22, 50, 25, 38, 25, -16, -8,
- -2, -25, 5, -27, 54, 11, 50, 22, -79, -25, -74, -27, -20, 4, -52, -4,
- 38, 25, -20, 4, -74, -27, -16, -8, 58, 22, -58, 22, -74, -4, 66, -4,
- 79, 15, -44, 12, -36, 20, -44, 23, -48, 20, -48, 13, -41, -4, -30, -26,
- -6, -26, 19, -19, 52, -2, 26, 18, -36, 20, -44, 12, 51, 15, 52, -2,
- 64, 20, 61, 23, 55, 23, 46, 13, 52, -2, 51, 15, 26, 18, 52, -2,
- 46, 13, -41, -4, -55, -5, -65, -9, -80, -23, -80, -26, -30, -26, 58, 20,
- -58, 20, -74, -6, 66, -6, 79, 13, -6, 5, -10, 18, -41, 2, -13, -4,
- -4, -5, -41, 2, -10, 18, -22, 23, -34, 24, -51, 18, -51, 6, 19, -22,
- 33, -26, 26, -15, 19, -18, 33, -26, 36, -24, 37, -15, 31, -2, 26, -15,
- -62, -18, -13, -4, -41, 2, -62, -9, -2, 12, -2, 20, -10, 18, -6, 5,
- 22, 13, 30, 20, -2, 20, -2, 12, 31, -2, 48, 4, 30, 20, 22, 13,
- 37, -15, 51, 4, 48, 4, 31, -2, 58, 20, -58, 20, -74, -6, 66, -6,
- 79, 13, -29, 5, -29, 18, -33, 9, -33, 5, -13, 18, -9, 10, -8, 18,
- -10, 23, -15, 22, -33, -18, -23, -18, 31, -13, -5, -10, -37, -10, -40, -15,
- -52, 10, -33, 9, -29, 18, -50, 19, -54, 16, -41, -26, -27, -19, -33, -18,
- -40, -19, -43, -22, 44, -16, 48, -19, 43, -9, 41, -13, -24, 9, -13, 18,
- -24, 20, -29, 18, -29, 9, -6, 1, -9, 10, -13, 18, -24, 9, -27, -19,
- -41, -26, -15, -22, -15, -18, 44, -22, 48, -19, 44, -16, 29, -18, 29, -22,
- 44, -4, 43, -9, 48, -19, 58, 19, 51, 19, 37, -4, 31, -13, 43, -9,
- 44, -4, 26, 2, -9, 10, -6, 1, -4, -2, 31, -13, 37, -4, -23, -18,
- -33, -18, -27, -19, 31, -13, -4, -2, -5, -10, 58, 20, -58, 20, -74, -6,
- 66, -6, 79, 13, 52, 18, 43, -9, 44, -10, 48, -10, 54, -5, 62, 19,
- 57, 20, -47, 13, -26, 1, -22, 6, -40, 19, -48, 20, 44, -18, 40, -16,
- 37, -24, 43, -26, -22, -24, -18, -5, -22, 6, -26, 1, -30, -22, -27, -26,
- 37, -9, 40, -16, 44, -18, 47, -18, 44, -10, 27, 6, 24, -1, 34, -6,
- 33, 4, 40, -16, 37, -9, 34, -6, 24, -1, 29, -10, 5, -5, 6, -1,
- -22, 6, -18, -5, 6, -1, 24, -1, 27, 6, -22, 6, 58, 20, -58, 20,
- -74, -6, 66, -6, 79, 13, 59, 9, 6, -12, 19, -20, 37, -23, 58, -15,
- 65, -8, 75, 13, -33, -15, -59, -9, -52, -26, 13, 5, 59, 9, 64, 18,
- 61, 20, 26, 23, 12, 22, -23, 12, 2, 9, -1, 20, -16, 22, -23, 19,
- 64, 18, 59, 9, 64, 12, -52, 20, -52, 13, -37, -2, -27, 5, -46, 23,
- -50, 23, -27, 5, 9, 5, 2, 9, -23, 12, 13, 5, -4, -9, 6, -12,
- 59, 9, 13, 5, 9, 5, -55, -8, -59, -9, -33, -15, -4, -9, -37, -2,
- 9, 5, -27, 5, -55, -8, 9, 5, -37, -2, -57, -6, 58, 20, -58, 20,
- -74, -6, 66, -6, 79, 13, 66, 9, 64, 4, 66, -5, 75, 1, 77, 8,
- 15, -9, 6, -13, 15, -15, -72, -2, -71, -9, -34, -20, 6, -13, -44, 12,
- -68, 10, -82, -26, -51, -26, -34, -20, -71, -9, -80, -16, 15, -9, 66, -5,
- 64, 4, 6, -13, -34, -20, -10, -22, 6, -13, 15, -9, 43, 8, 40, 19,
- -18, 19, -44, 12, 43, 8, 15, -9, 52, 1, 58, 20, -58, 20, -74, -6,
- 66, -6, 79, 13, -34, 10, -27, -23, 5, -26, 19, -20, 29, -12, 40, 22,
- -23, 22, -31, 20, -59, -6, -61, 12, -76, 2, -75, -6, 65, 8, 61, -8,
- 75, -2, 79, 2, 68, 13, 57, 5, 61, -8, 65, 8, 46, 5, 29, -12,
- 61, -8, 57, 5, -76, 2, -61, 12, -80, 6, -43, -19, -27, -23, -55, 8,
- -61, 12, -59, -6, 41, 9, 29, -12, 46, 5, 40, 22, 29, -12, 41, 9,
- -40, 5, -27, -23, -34, 10, -50, 5, -27, -23, -40, 5, -55, 8, -27, -23,
- -50, 5, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -47, -13, -46, 1,
- -54, 8, -65, 9, -72, -15, 61, 15, 15, 15, -1, 1, 57, 5, 69, 9,
- -16, -4, -46, 1, -40, -5, -13, -10, -12, -5, -4, -6, -1, 1, -12, -1,
- -9, -6, -46, 1, -12, -1, -1, 1, 15, 15, 10, 19, -50, 19, -54, 8,
- -12, -1, -46, 1, -16, -4, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13,
- 62, 13, 52, -4, 78, 4, 78, 12, 55, 22, -34, 23, -50, 13, -71, -20,
- 33, -24, 52, -4, 62, 13, -79, 2, -71, -20, -50, 13, -79, 8, 58, 20,
- -58, 20, -74, -6, 66, -6, 79, 13, 58, 20, -58, 20, -74, -6, 66, -6,
- 79, 13, 61, 18, 55, 20, 41, 1, 46, -4, 69, -4, 31, -8, 41, 1,
- 55, 20, 38, 20, -50, 12, -37, 4, -29, 13, -47, 22, 5, -15, 22, -16,
- 31, -8, 34, 4, 19, 18, 1, -5, -1, -9, -24, 22, -8, 1, 1, -5,
- 19, 18, -31, -5, -37, 4, -62, 1, -66, -5, -31, -5, -8, 1, -29, 13,
- -37, 4, -8, 1, -24, 22, -29, 13, 58, 20, -58, 20, -74, -6, 66, -6,
- 79, 13, 54, 22, 38, 16, 47, -5, 65, 8, 66, 20, 58, -1, 55, 1,
- 47, -5, 52, -8, -55, 10, -34, 2, -24, 15, -38, 22, -52, 20, 12, -10,
- 27, -9, 18, -6, 5, -4, 4, -8, -24, -5, -47, -9, -40, -15, -27, -13,
- 27, -9, 47, -5, 38, 16, 34, 20, 9, 9, 18, -6, -5, 10, -34, -2,
- -47, -9, -24, -5, -24, 15, -34, 2, -34, -2, -5, 10, -2, 22, -19, 20,
- -47, -9, -34, -2, -48, -6, -2, 22, -5, 10, 9, 9, 34, 20, 58, 20,
- -58, 20, -74, -6, 66, -6, 79, 13, 36, 9, 43, -13, 48, -6, 54, 6,
- 43, 18, 34, 19, 55, -8, 48, -6, 43, -13, 51, -19, 51, 9, 54, 6,
- 61, 18, 54, 20, 43, -13, 36, 9, 26, 22, -1, -1, -2, -9, 24, -23,
- 37, -23, -34, 6, -48, 13, -54, 6, 54, 6, 48, -6, 66, -2, 68, 2,
- -55, -4, -48, 2, -76, 12, -16, -1, -34, 6, -22, -4, -8, -8, -6, -5,
- -34, 6, -16, -1, -6, 2, 26, 22, -51, 22, -48, 13, -22, -4, -34, 6,
- -48, 2, -55, -4, 26, 22, -6, 2, -1, -1, 58, 20, -58, 20, -74, -6,
- 66, -6, 79, 13, 41, -12, 37, -6, 30, -15, 37, -20, -15, -2, -26, -5,
- -13, -6, -9, -2, 54, 20, 48, 12, 52, 9, 59, 12, 61, 19, 12, -22,
- 22, -23, 30, -15, 37, -6, 8, -10, 2, -16, -26, -5, 20, 20, -24, 20,
- -37, -4, -34, -9, -44, 8, -37, -4, -24, 20, -51, 20, 62, 6, 52, 9,
- 46, -1, 69, -4, 36, 19, 46, -1, 48, 12, 47, 19, 48, 12, 46, -1,
- 52, 9, 20, 20, -8, 1, 8, -10, 37, -6, 46, -1, 36, 19, -66, 4,
- -51, -4, -37, -4, -44, 8, -58, 10, -66, 8, -13, 1, -26, -5, -15, -2,
- 20, 20, -13, 1, -8, 1, 20, 20, -26, -5, -13, 1, -30, 12, -23, 19,
- -36, 23, 54, 15, 47, 9, 47, -4, 55, 4, 59, 13, 36, 8, 18, -23,
- 47, -10, 47, 9, 47, -4, 47, -10, 50, -4, 10, 15, 18, -23, 36, 8,
- 36, 15, -23, 19, -30, 12, -34, -5, -33, -16, -18, -24, 5, -26, 18, -23,
- 10, 15, -34, -5, -30, 12, -52, 13, -52, 10, -41, -2, -55, -10, -55, -13,
- -33, -16, -34, -5, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -29, -16,
- 5, -10, 29, 12, 10, 20, -4, 20, -47, -15, 55, 19, 51, 18, 50, 12,
- 57, 12, 58, 16, -50, 12, -23, 5, -24, 13, -50, 20, 34, -26, 40, -26,
- 46, -10, 34, -15, 31, -23, 47, 12, 43, -1, 46, -10, 55, 9, 54, 12,
- -23, 5, -4, 20, -24, 13, 20, -13, 27, -12, 38, -1, 29, 12, 5, -10,
- 46, -10, 43, -1, 38, -1, 27, -12, 34, -15, 66, 1, 64, 2, 50, -2,
- 46, -10, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, 36, -26, 40, -24,
- 46, -13, 46, -4, 30, -22, 29, -26, -23, -18, -18, -9, -24, -12, -27, -19,
- -16, -20, 4, -13, -18, -9, -23, -18, 4, -13, -5, 20, -22, 9, -22, -1,
- -18, -9, -48, 13, -22, 9, -30, 15, -48, 18, -22, 9, -5, 20, -30, 15,
- 24, -20, 36, -5, 2, 18, -5, 20, 4, -13, 51, 16, 43, -4, 46, -4,
- 57, 18, 27, 20, 9, 20, 2, 18, 36, -5, 33, 16, 46, -4, 43, -4,
- 27, -19, 30, -22, 24, -20, 27, -19, 43, -4, 36, -5, 58, 20, -58, 20,
- -74, -6, 66, -6, 79, 13, 10, 22, -27, 22, -30, 4, 12, 13, 18, 20,
- -52, 10, -43, 8, -36, 16, -50, 22, -54, 18, -40, -19, -26, -19, -30, -10,
- -44, -15, -26, -19, -19, -22, -5, -16, -23, -4, -30, -10, -51, -8, -34, -4,
- -30, 4, -43, 8, -54, 1, -54, -5, -30, 4, -27, 22, -36, 16, -43, 8,
- 51, 20, 37, -5, 46, -9, 59, 18, 57, 20, 30, -8, 46, -12, 46, -9,
- 37, -5, 48, -12, 46, -12, -5, -16, -4, -24, 40, -24, -30, 4, 15, 4,
- 12, 13, -30, 4, 30, -8, 15, 4, -5, -16, 46, -12, 30, -8, -23, 2,
- -23, -4, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -64, -14, -34, -18,
- -29, -14, -36, -1, -58, -4, -65, -8, 48, -3, 29, -3, 6, -25, 27, -25,
- 44, -21, 57, -13, 57, -7, -29, -14, -18, -11, -27, 4, -36, -1, -50, 15,
- -27, 11, -26, 22, -48, 25, -51, 22, 51, 25, 37, -3, 48, -3, 59, 24,
- 9, -20, 31, 24, 29, 27, -26, 22, -27, 11, -27, 4, -18, -11, -5, -20,
- 31, 24, 6, -25, 29, -3, -26, 22, 29, 27, -26, 27, 58, 21, -58, 21,
- -74, -6, 66, -6, 79, 14, 33, -8, -10, -10, 4, -20, 33, -26, 52, -15,
- -26, 1, 10, 20, -6, 20, -27, 18, -31, 6, -31, 1, 38, 6, 31, 15,
- 10, 20, -26, 1, -47, -12, -10, -10, 33, -5, 38, -1, -54, 12, -31, 6,
- -27, 18, -58, 24, 10, 20, 31, 15, 27, 23, -54, -18, -10, -10, -47, -12,
- -59, -16, 31, 15, 38, 6, 61, 15, 62, 23, 33, -5, -10, -10, 33, -8,
- 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -58, -26, -47, -18, -65, -10,
- -75, -10, -82, -26, -44, -10, -47, -18, -41, -12, 4, -4, -13, -6, -13, -15,
- -10, -15, -2, -13, 68, 9, 69, 15, -18, -2, -13, -6, -47, -18, -44, -10,
- -58, -1, -65, -10, -44, -10, -36, -4, -52, 8, -58, -1, -18, -2, 69, 15,
- -54, 15, -52, 8, -36, -4, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13,
- -78, -9, -61, 5, -62, 12, -80, 10, 82, 12, 71, 13, 68, 5, 76, 5,
- 82, 6, 68, 5, 58, -1, 72, -8, 76, 5, -50, 16, -51, -1, -41, -1,
- -43, 18, 52, 18, 50, 16, 50, 1, 58, -1, 58, 18, -78, -9, -76, -12,
- -52, -13, -51, -1, -61, 5, 58, -1, 50, 1, 47, 1, -52, -13, 22, -15,
- 72, -8, 22, -15, -52, -13, -34, -23, 9, -24, -52, -13, -41, -1, -51, -1,
- -52, -13, 41, 5, 38, 12, -31, 5, -41, -1, -31, 5, 38, 12, -30, 12,
- -52, -13, 47, 1, 41, 5, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13,
- 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -38, -20, -23, -24, -33, -16,
- -38, -15, 4, -18, 9, -19, 6, -13, 9, -19, 19, -24, 19, -20, 18, -13,
- 59, 12, 37, 9, 68, 2, 68, 12, -57, 2, -51, 2, -48, 13, -57, 12,
- -24, -22, 4, -18, -2, -12, -47, 1, -48, 13, -51, 2, -52, -8, -48, -8,
- 37, 9, 30, 9, 37, -4, 43, -4, -38, 1, -34, 20, -48, 18, -48, 13,
- -47, 1, 59, 20, -34, 20, -24, 9, 37, 9, 59, 12, -23, -24, -24, -22,
- -38, 1, -33, -16, 9, -19, 4, -18, -24, -22, 19, -24, -34, 20, -38, 1,
- -24, -22, -12, -16, -24, 9, -48, 18, -34, 20, -55, 18, 58, 20, -58, 20,
- -74, -6, 66, -6, 79, 13, 44, 1, 26, -12, 54, -13, 68, -5, -50, 9,
- -20, -1, -24, 12, -46, 22, 34, 9, 26, -12, 44, 1, 59, 18, -20, -1,
- 26, -12, 34, 9, 26, 20, -12, 20, -24, 12, 58, 20, -58, 20, -74, -6,
- 66, -6, 79, 13, -58, 2, -30, 2, -50, 10, -64, 9, 27, 9, -8, 15,
- -23, -6, 27, -6, 37, 6, 61, 16, 50, 20, 50, 16, 51, 10, 61, 10,
- 46, 16, 27, 9, 40, 9, -30, 2, -12, 19, -50, 20, -50, 10, -23, -6,
- -8, 15, -12, 19, -30, 2, 27, 9, 46, 16, 50, 20, 6, 20, -8, 15,
- 50, 20, 46, 16, 50, 16, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13,
- -8, -13, -27, 6, -50, -12, 58, 20, 20, 19, 44, 5, 61, 12, 20, 19,
- -23, 19, -23, 15, -8, -13, 27, -9, 44, 5, -23, 15, -31, 20, -69, 20,
- -72, 15, -27, 6, -8, -13, -23, 15, -33, 15, 38, -6, 37, -4, 36, -6,
- 20, -10, 8, -13, -9, -26, 15, -26, 27, -20, 27, -13, -34, 9, -20, 23,
- -50, 24, -55, 20, -54, 9, 62, 20, 59, 24, 50, 24, 36, 12, 52, 6,
- 61, 10, -47, -10, -36, -15, -43, -6, -46, -6, -36, -15, -36, 1, -43, -6,
- 8, -13, 6, -9, -36, -15, -34, -18, -9, -26, 52, 6, 36, 12, 47, 2,
- 50, 2, -20, 20, -36, -15, -16, 8, -16, 16, 36, 12, 37, -4, 38, -6,
- 47, 2, -36, 1, -36, -15, -20, 20, -20, 23, -34, 9, 33, -4, -16, 8,
- 10, -6, 15, -8, 12, 8, 37, -4, 36, 12, -16, 8, 33, -4, 37, -4,
- 12, 8, 10, -6, -16, 8, -36, -15, 6, -9, 58, 20, -58, 20, -74, -6,
- 66, -6, 79, 13, -54, 18, -54, 13, -43, 6, -41, 18, -48, 22, -47, -2,
- -37, -8, -43, 6, -47, 5, -30, 18, -29, -19, 10, -26, -4, 19, -27, 24,
- -30, 23, -43, 6, -37, -8, -29, -19, -30, 18, -41, 18, 65, 22, 44, 24,
- 10, -26, 31, -22, 50, -15, 62, -5, 68, 5, 69, 16, 10, -26, 27, 19,
- -4, 19, 44, 24, 34, 23, 27, 19, 10, -26, 58, 20, -58, 20, -74, -6,
- 66, -6, 79, 13, 71, 22, 68, 26, 50, 26, 64, 12, 71, 15, -50, -5,
- -40, -6, -24, -4, -46, 5, -55, -2, -62, 13, -46, 5, -24, -4, -36, 18,
- -41, 26, -59, 26, 19, 16, 31, 16, 24, 20, 64, 12, 50, 26, 44, 19,
- 51, 6, 61, 6, 47, 4, 31, 16, -5, 16, -24, -4, -19, -12, 43, -6,
- 50, 1, -27, 15, -24, -4, -5, 16, -15, 20, 31, 16, 47, 4, 51, 6,
- 44, 19, 43, -6, -19, -12, 20, -19, -36, 18, -24, -4, -27, 15, 58, 20,
- -58, 20, -74, -6, 66, -6, 79, 13, -52, 12, -50, 9, -37, 5, -34, 15,
- -48, 20, -52, 18, 34, -5, 31, 2, 18, -10, 33, -12, 31, 2, 30, 8,
- -15, -8, -1, -10, 18, -10, 47, 9, 30, 8, 31, 2, 47, 4, 40, 18,
- 30, 15, 54, 9, 55, 13, 41, 23, 13, 22, 30, 15, 40, 18, 13, 22,
- -34, 15, -37, 5, -15, -8, 30, 8, 30, 15, -38, -13, -15, -8, -40, -5,
- -48, -9, -48, -12, -15, -8, -37, 5, -40, -5, 58, 20, -58, 20, -74, -6,
- 66, -6, 79, 13, 40, 20, 44, 15, 47, 22, 20, -10, 18, -19, 27, -12,
- 29, -6, -40, 15, -19, 15, -44, 24, -46, 18, 20, -10, 12, 18, 10, 20,
- -1, 23, -20, -2, -16, -9, 1, -18, 18, -19, -40, -9, -20, -2, -38, 4,
- -47, -1, -48, -5, -20, -2, -19, 15, -40, 15, -38, 4, -20, -2, -1, 23,
- -19, 15, 40, 20, 10, 20, 12, 18, 44, 15, 58, 20, -58, 20, -74, -6,
- 66, -6, 79, 13, 64, 18, -23, 19, 20, -6, 64, -5, 76, 5, -66, -4,
- -19, -13, 1, -16, 18, -12, 20, -6, -23, 19, -57, 13, -71, 5, -48, -23,
- -72, -15, -82, -24, -48, -23, -19, -13, -66, -4, -72, -15, 58, 20, -58, 20,
- -74, -6, 66, -6, 79, 13, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13,
- -54, -9, -47, 8, -61, 16, -75, 8, -76, -10, 65, 12, 48, 9, 30, -10,
- 62, -13, 82, -8, 82, 13, -37, -16, -30, 12, -46, -12, -47, -18, -46, -12,
- -30, 12, -47, 8, -54, -9, -54, -13, 40, 20, -26, 20, -30, 12, -37, -16,
- -37, -20, 15, -22, 30, -10, 48, 9, 58, 20, -58, 20, -74, -6, 66, -6,
- 79, 13, 5, -20, 8, -26, 10, -23, 64, -8, 54, 20, 52, -4, 54, -10,
- -69, -10, -61, -12, -22, 20, -61, 18, 15, -1, -22, 20, 6, -12, 13, -10,
- 50, -5, 26, -4, 26, -13, 48, -16, -22, 20, 15, -1, 50, -5, 52, -4,
- 54, 20, 8, -26, 5, -20, -22, 20, -61, -12, -48, -24, 50, -5, 15, -1,
- 26, -4, -22, 20, 5, -20, 6, -12, -71, -26, -52, -18, -36, 2, -74, -22,
- -74, -26, -79, -23, -57, 4, -59, 9, -78, 6, 79, 8, 69, 8, 78, 2,
- 80, 2, 69, 8, 64, 2, 75, -8, 78, 2, 50, 1, 30, -13, 75, -8,
- 64, 2, 41, 8, -31, 8, -36, 2, -34, -23, 5, -24, 30, -13, 50, 1,
- -79, -23, -52, 1, -57, 4, -79, -23, -74, -22, -36, 2, -52, 1, -31, 8,
- 41, 8, 40, 18, -30, 18, -36, 2, -52, -18, -34, -23, 58, 20, -58, 20,
- -74, -6, 66, -6, 79, 13, -74, -12, -57, -6, -50, 1, -64, 4, -80, -6,
- -80, -10, 79, -8, 61, 1, 47, 4, 40, 1, 52, -5, 69, -10, 79, -10,
- -22, -5, 40, 1, -50, 1, -57, -6, 40, 1, -22, -5, 52, -5, 58, 20,
- -58, 20, -74, -6, 66, -6, 79, 13, -54, -26, -33, -24, -31, -19, -54, -19,
- 54, 19, -48, 19, -48, 16, -31, 5, 57, 15, 44, 13, -31, 5, -38, -19,
- 50, -16, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -22, -9, 26, -18,
- 15, -5, -18, -4, -22, -5, 78, 6, 43, 8, 74, -1, 80, 4, -68, 2,
- -68, 8, -71, 2, -62, -1, -31, 8, -68, 8, -68, -1, -36, -20, 10, -26,
- 18, -24, 26, -18, -22, -9, -33, -9, -36, -12, 55, -13, 36, -12, 37, -15,
- 55, -18, 36, -12, 15, -5, 26, -18, 37, -15, -31, 8, -18, -4, 15, -5,
- 43, 8, 40, 15, -30, 15, -62, -4, -18, -4, -31, 8, -62, -1, 74, -4,
- 74, -1, 43, 8, 15, -5, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13,
- 68, 9, 62, 4, 62, -5, 76, 1, -82, -18, -65, -6, -59, 8, -80, 5,
- -65, -6, -82, -18, -69, -18, 50, 2, 29, -8, 62, -5, 62, 4, 43, 6,
- 29, -8, 50, 2, 38, 19, -30, 19, -33, 8, -29, -16, 12, -18, 29, -8,
- 43, 6, -65, -6, -29, -16, -48, 1, -59, 8, -29, -16, -38, 2, -48, 1,
- -29, -16, -33, 8, -38, 2, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13,
- -19, -24, -8, -26, -1, -19, 4, -9, -18, 12, -30, -10, 26, 12, -18, 12,
- 15, 2, 26, 5, 15, 2, -18, 12, 4, -9, 62, 12, 62, 19, -46, 19,
- -47, 12, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -76, -6, -65, -20,
- -59, 5, -76, 4, -65, -20, 2, -26, 33, -15, 59, 13, 12, 16, -34, 13,
- -59, 5, 59, -10, 76, -5, 82, 1, 71, 9, 59, 13, 33, -15, 71, 9,
- 82, 1, 82, 6, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -78, -10,
- -58, 6, -61, 12, -79, 10, 65, 4, 61, -8, 80, 5, 71, 10, 51, 1,
- 5, -26, 61, -8, 65, 4, -15, -24, -48, 1, -58, 6, -78, -10, -29, 20,
- -31, 8, -15, -24, 5, -26, 43, 5, 38, 20, 43, 5, 5, -26, 51, 1,
- -37, 2, -15, -24, -31, 8, -48, 1, -15, -24, -37, 2, 58, 20, -58, 20,
- -74, -6, 66, -6, 79, 13, -74, 12, -65, -19, -52, 6, -62, 22, -72, 22,
- 48, 8, 24, -8, 43, -8, 68, -4, 74, 8, 37, 18, -29, 19, 24, -8,
- 48, 8, -29, 19, -33, 8, 13, -26, 24, -8, -65, -19, -74, 12, -78, 10,
- -76, -13, -74, -18, -33, 8, -52, 6, -65, -19, -65, -26, 13, -26, 58, 20,
- -58, 20, -74, -6, 66, -6, 79, 13, -62, 1, -58, -4, -57, 4, -59, 10,
- -66, 10, -58, -4, -54, -4, -50, 1, -57, 4, -50, -22, -52, -26, 40, -26,
- 41, -22, 68, 5, 66, -2, 72, 1, 71, 9, -52, -26, -50, -22, -52, -22,
- 50, 1, 47, -10, 62, -9, 66, -2, 68, 5, 44, 4, 38, -19, 47, -10,
- 50, 1, -50, -22, 38, -22, 38, -19, -36, 2, -50, 1, -54, -4, 40, 15,
- -31, 15, -31, 8, 38, -19, 44, 4, -36, 2, 38, -19, -31, 8, 58, 20,
- -58, 20, -74, -6, 66, -6, 79, 13, 65, 4, 69, -9, 74, -5, 75, 6,
- 69, 9, -78, 1, -58, 6, -61, 13, -78, 10, 50, 2, 33, -12, 69, -9,
- 65, 4, 43, 6, 19, -8, 20, -19, 33, -12, 50, 2, 26, -26, 33, -12,
- 20, -19, 23, -26, 40, 19, -30, 19, -10, -9, 19, -8, 43, 6, -78, 1,
- -52, 2, -58, 6, -30, 19, -30, 12, -16, -12, -10, -9, -16, -12, -52, 2,
- -78, 1, -16, -12, -36, 4, -52, 2, -16, -12, -30, 12, -36, 4, 58, 20,
- -58, 20, -74, -6, 66, -6, 79, 13, 51, 21, 33, 16, -29, -2, -13, -10,
- 12, -10, 54, 6, 61, 19, -51, 8, -48, -6, -33, -8, -29, -2, -29, 15,
- -36, 20, -47, 20, -61, 2, -48, -6, -51, 8, -62, 7, 33, 16, 27, 20,
- -23, 20, -29, 15, -29, -2, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13,
- 59, 20, -58, 20, 13, -12, 55, -15, 68, -5, 79, 13, -75, -8, -70, -10,
- -59, -12, 13, -12, -58, 20, 13, -12, -59, -12, -50, -23, 2, -24, 58, 20,
- -58, 20, -74, -6, 66, -6, 79, 13, -55, -4, -36, 4, -59, 1, -61, -4,
- 51, -10, 57, -9, 65, -5, 65, -2, 44, -1, 43, -9, 23, 2, 18, 2,
- 19, -4, 24, -5, 27, 1, -38, -5, -55, -4, -55, -9, -46, -10, -40, -10,
- -34, 6, -10, -1, 18, -8, -44, 16, -47, 10, -1, -13, 5, -24, 10, -19,
- 4, -10, 54, 20, 44, 8, 48, 4, 61, 13, 58, 20, 31, -12, 10, -19,
- 5, -24, 27, -23, 33, 20, 37, 1, 44, 8, 40, 19, 37, 1, 48, 4,
- 44, 8, 23, -10, 31, -12, 44, -1, 37, 1, 27, -4, 13, 20, -54, 20,
- 18, 2, 23, 2, -10, -1, -34, 6, -36, 4, -38, -5, -24, -6, -38, -5,
- -36, 4, -55, -4, 37, 1, 44, -1, 65, -2, 48, 4, -54, 20, -44, 16,
- 18, -8, 18, 2, 31, -12, 23, -10, 9, -10, 10, -19, 18, -8, -10, -1,
- 9, -10, 23, -10, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, 58, 20,
- -26, 20, -59, 19, 12, -6, 59, -8, 72, 1, 75, 15, -30, -8, 5, -12,
- 12, -6, -59, 19, -62, 8, -57, -4, -62, 8, -59, 19, -65, 8, 5, -12,
- -30, -8, -26, -12, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, 37, -9,
- 30, -10, 23, -16, 27, -20, 38, -22, 4, -22, 23, -16, 30, -10, 41, 2,
- -10, -6, -15, -15, -57, -6, -57, 15, -68, -8, -15, -5, -15, -1, -50, 15,
- -57, 15, -57, -6, 23, -16, 4, -22, 15, -23, 59, 20, -47, 20, -50, 15,
- -15, -1, 41, 2, 61, 5, 64, 16, 61, 5, 41, 2, 68, -2, 68, 1,
- 41, 2, -15, -1, -10, -6, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13,
- -68, -15, -55, 10, -68, 9, -78, 5, -79, -10, 66, 13, 54, 18, -47, 19,
- -55, 10, -65, -24, 31, -16, 50, -10, 75, 8, -65, -24, -55, 10, -68, -15,
- 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -72, 2, -65, 22, -74, 19,
- -79, 13, -79, 5, -68, -18, -46, -19, -34, -16, -34, -9, -65, 22, -72, 2,
- -76, -13, -54, -24, -46, -19, -68, -18, -71, -24, -34, -9, -27, -8, 71, 19,
- 27, 22, -65, 22, 82, 8, 82, 10, 71, 19, -27, -8, 64, -5, 74, -1,
- 68, 8, 64, 4, 58, -19, 82, -2, -72, 2, -55, 2, -61, 10, -82, 8,
- -75, -24, -59, -24, -50, -13, -69, -6, -80, -18, -72, -6, -55, 2, -72, 2,
- -72, -6, -69, -6, -34, 5, -55, 2, 64, 4, 52, 1, 36, -15, 58, -19,
- 40, 8, -33, 9, -34, 5, 36, -15, 52, 1, 36, -15, -34, 5, -69, -6,
- -50, -13, 58, 20, -58, 20, -74, -6, 66, -6, 79, 13, -80, -4, -78, -5,
- -52, -16, -51, -9, -78, -1, -80, -1, 51, 18, 34, 5, 47, 5, 59, 13,
- 58, 19, -47, 10, -78, -1, -51, -9, -34, -9, -33, 5, -34, 10, -47, 10,
- -40, 10, -41, 19, -47, 19, -9, 9, -9, 6, 29, 5, 30, 9, -78, -1,
- -51, 9, -79, 10, 82, -9, 69, -6, 72, -15, 82, -13, 69, -6, 47, 5,
- 34, 5, 20, -23, 30, -26, 48, -26, 61, -22, 72, -15, -52, -16, -78, -5,
- -80, -15, 65, 1, 47, 5, 69, -6, 69, -4, 34, 5, 29, 5, -34, -9,
- -1, -22, 20, -23, -34, -9, 29, 5, -9, 6, -33, 5, 58, 20, -58, 20,
- -74, -6, 66, -6, 79, 13,
+static const int16_t hull_xy[4566] = {
+ 2656, 928, 288, 928, -160, 608, -32, -480, 1248, -1184, 2976, -352, 3616, 608, -2144, -800,
+ -32, -480, -160, 608, -2016, 160, -3360, -288, -1888, 416, -480, 800, -2208, 928, -2336, 608,
+ -480, 800, -1888, 416, -2016, 160, -160, 608, -928, 192, 1760, 1152, 1760, 1280, -864, 448,
+ -1056, 320, -1056, 192, 2592, 1024, 2272, 1024, 2464, 512, 2720, 704, -2272, 576, -864, 448,
+ -736, 1088, -2272, 1024, -2400, 768, 2464, 512, 224, -1216, 3104, 64, 2848, 448, -864, 448,
+ 1760, 1280, 160, 1280, -736, 1088, 1760, 1152, 2272, 1024, 2272, 1152, 1760, 1152, -736, -384,
+ -96, -1152, 224, -1216, 2464, 512, 2272, 1024, -3616, -1152, -3360, -1216, -928, 192, -2400, -192,
+ 1760, 1152, -928, 192, -3360, -1216, -736, -384, 2656, 1024, -2656, 1024, -3360, -192, 3040, -192,
+ 3616, 704, -2016, 544, -1632, 928, -2016, 1056, -2208, 928, -2208, 608, -1888, -160, -1376, -1184,
+ -288, -1184, 864, -864, 2400, -96, 1184, 800, -1632, 928, -2016, 544, 2336, 672, 2400, -96,
+ 2912, 928, 2784, 1056, 2528, 1056, 2080, 608, 2400, -96, 2336, 672, 1184, 800, 2400, -96,
+ 2080, 608, -1888, -160, -2528, -224, -2976, -416, -3680, -1056, -3680, -1184, -1376, -1184, 2656, 928,
+ -2656, 928, -3360, -288, 3040, -288, 3616, 608, -288, 224, -480, 800, -1888, 96, -608, -160,
+ -160, -224, -1888, 96, -480, 800, -992, 1056, -1568, 1120, -2336, 800, -2336, 288, 864, -992,
+ 1504, -1184, 1184, -672, 864, -800, 1504, -1184, 1632, -1120, 1696, -672, 1440, -96, 1184, -672,
+ -2848, -800, -608, -160, -1888, 96, -2848, -416, -96, 544, -96, 928, -480, 800, -288, 224,
+ 992, 608, 1376, 928, -96, 928, -96, 544, 1440, -96, 2208, 160, 1376, 928, 992, 608,
+ 1696, -672, 2336, 160, 2208, 160, 1440, -96, 2656, 928, -2656, 928, -3360, -288, 3040, -288,
+ 3616, 608, -1312, 224, -1312, 800, -1504, 416, -1504, 224, -608, 800, -416, 480, -352, 800,
+ -480, 1056, -672, 992, -1504, -800, -1056, -800, 1440, -608, -224, -480, -1696, -480, -1824, -672,
+ -2400, 480, -1504, 416, -1312, 800, -2272, 864, -2464, 736, -1888, -1184, -1248, -864, -1504, -800,
+ -1824, -864, -1952, -992, 2016, -736, 2208, -864, 1952, -416, 1888, -608, -1120, 416, -608, 800,
+ -1120, 928, -1312, 800, -1312, 416, -288, 32, -416, 480, -608, 800, -1120, 416, -1248, -864,
+ -1888, -1184, -672, -992, -672, -800, 2016, -992, 2208, -864, 2016, -736, 1312, -800, 1312, -992,
+ 2016, -160, 1952, -416, 2208, -864, 2656, 864, 2336, 864, 1696, -160, 1440, -608, 1952, -416,
+ 2016, -160, 1184, 96, -416, 480, -288, 32, -160, -96, 1440, -608, 1696, -160, -1056, -800,
+ -1504, -800, -1248, -864, 1440, -608, -160, -96, -224, -480, 2656, 928, -2656, 928, -3360, -288,
+ 3040, -288, 3616, 608, 2400, 800, 1952, -416, 2016, -480, 2208, -480, 2464, -224, 2848, 864,
+ 2592, 928, -2144, 608, -1184, 32, -992, 288, -1824, 864, -2208, 928, 2016, -800, 1824, -736,
+ 1696, -1120, 1952, -1184, -992, -1120, -800, -224, -992, 288, -1184, 32, -1376, -992, -1248, -1184,
+ 1696, -416, 1824, -736, 2016, -800, 2144, -800, 2016, -480, 1248, 288, 1120, -32, 1568, -288,
+ 1504, 160, 1824, -736, 1696, -416, 1568, -288, 1120, -32, 1312, -480, 224, -224, 288, -32,
+ -992, 288, -800, -224, 288, -32, 1120, -32, 1248, 288, -992, 288, 2656, 928, -2656, 928,
+ -3360, -288, 3040, -288, 3616, 608, 2720, 416, 288, -544, 864, -928, 1696, -1056, 2656, -672,
+ 2976, -352, 3424, 608, -1504, -672, -2720, -416, -2400, -1184, 608, 224, 2720, 416, 2912, 800,
+ 2784, 928, 1184, 1056, 544, 992, -1056, 544, 96, 416, -32, 928, -736, 992, -1056, 864,
+ 2912, 800, 2720, 416, 2912, 544, -2400, 928, -2400, 608, -1696, -96, -1248, 224, -2080, 1056,
+ -2272, 1056, -1248, 224, 416, 224, 96, 416, -1056, 544, 608, 224, -160, -416, 288, -544,
+ 2720, 416, 608, 224, 416, 224, -2528, -352, -2720, -416, -1504, -672, -160, -416, -1696, -96,
+ 416, 224, -1248, 224, -2528, -352, 416, 224, -1696, -96, -2592, -288, 2656, 928, -2656, 928,
+ -3360, -288, 3040, -288, 3616, 608, 3040, 416, 2912, 160, 3040, -224, 3424, 32, 3515, 361,
+ 672, -416, 288, -608, 672, -672, -3296, -96, -3232, -416, -1568, -928, 288, -608, -2016, 544,
+ -3104, 480, -3744, -1184, -2336, -1184, -1568, -928, -3232, -416, -3680, -736, 672, -416, 3040, -224,
+ 2912, 160, 288, -608, -1568, -928, -480, -992, 288, -608, 672, -416, 1952, 352, 1824, 864,
+ -800, 864, -2016, 544, 1952, 352, 672, -416, 2400, 32, 2656, 928, -2656, 928, -3360, -288,
+ 3040, -288, 3616, 608, -1568, 480, -1248, -1056, 224, -1184, 864, -928, 1312, -544, 1824, 992,
+ -1056, 992, -1440, 928, -2720, -288, -2784, 544, -3488, 96, -3424, -288, 2976, 352, 2784, -352,
+ 3424, -96, 3616, 96, 3104, 608, 2592, 224, 2784, -352, 2976, 352, 2080, 224, 1312, -544,
+ 2784, -352, 2592, 224, -3488, 96, -2784, 544, -3680, 288, -1952, -864, -1248, -1056, -2528, 352,
+ -2784, 544, -2720, -288, 1888, 416, 1312, -544, 2080, 224, 1824, 992, 1312, -544, 1888, 416,
+ -1824, 224, -1248, -1056, -1568, 480, -2272, 224, -1248, -1056, -1824, 224, -2528, 352, -1248, -1056,
+ -2272, 224, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -2144, -608, -2080, 32,
+ -2464, 352, -2976, 416, -3296, -672, 2784, 672, 672, 672, -32, 32, 2592, 224, 3168, 416,
+ -736, -160, -2080, 32, -1824, -224, -608, -480, -544, -224, -160, -288, -32, 32, -544, -32,
+ -416, -288, -2080, 32, -544, -32, -32, 32, 672, 672, 480, 864, -2272, 864, -2464, 352,
+ -544, -32, -2080, 32, -736, -160, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608,
+ 2848, 608, 2400, -160, 3552, 160, 3552, 544, 2528, 992, -1568, 1056, -2272, 608, -3232, -928,
+ 1504, -1120, 2400, -160, 2848, 608, -3616, 96, -3232, -928, -2272, 608, -3616, 352, 2656, 928,
+ -2656, 928, -3360, -288, 3040, -288, 3616, 608, 2656, 928, -2656, 928, -3360, -288, 3040, -288,
+ 3616, 608, 2784, 800, 2528, 928, 1888, 32, 2080, -160, 3168, -160, 1440, -352, 1888, 32,
+ 2528, 928, 1760, 928, -2272, 544, -1696, 160, -1312, 608, -2144, 992, 224, -672, 992, -736,
+ 1440, -352, 1568, 160, 864, 800, 32, -224, -32, -416, -1120, 992, -352, 32, 32, -224,
+ 864, 800, -1440, -224, -1696, 160, -2848, 32, -3040, -224, -1440, -224, -352, 32, -1312, 608,
+ -1696, 160, -352, 32, -1120, 992, -1312, 608, 2656, 928, -2656, 928, -3360, -288, 3040, -288,
+ 3616, 608, 2464, 992, 1760, 736, 2144, -224, 2976, 352, 3040, 928, 2656, -32, 2528, 32,
+ 2144, -224, 2400, -352, -2528, 480, -1568, 96, -1120, 672, -1760, 992, -2400, 928, 544, -480,
+ 1248, -416, 800, -288, 224, -160, 160, -352, -1120, -224, -2144, -416, -1824, -672, -1248, -608,
+ 1248, -416, 2144, -224, 1760, 736, 1568, 928, 416, 416, 800, -288, -224, 480, -1568, -96,
+ -2144, -416, -1120, -224, -1120, 672, -1568, 96, -1568, -96, -224, 480, -96, 992, -864, 928,
+ -2144, -416, -1568, -96, -2208, -288, -96, 992, -224, 480, 416, 416, 1568, 928, 2656, 928,
+ -2656, 928, -3360, -288, 3040, -288, 3616, 608, 1632, 416, 1952, -608, 2208, -288, 2464, 288,
+ 1952, 800, 1568, 864, 2528, -352, 2208, -288, 1952, -608, 2336, -864, 2336, 416, 2464, 288,
+ 2784, 800, 2464, 928, 1952, -608, 1632, 416, 1184, 992, -32, -32, -96, -416, 1120, -1056,
+ 1696, -1056, -1568, 288, -2208, 608, -2464, 288, 2464, 288, 2208, -288, 3040, -96, 3104, 96,
+ -2528, -160, -2208, 96, -3488, 544, -736, -32, -1568, 288, -992, -160, -352, -352, -288, -224,
+ -1568, 288, -736, -32, -288, 96, 1184, 992, -2336, 992, -2208, 608, -992, -160, -1568, 288,
+ -2208, 96, -2528, -160, 1184, 992, -288, 96, -32, -32, 2656, 928, -2656, 928, -3360, -288,
+ 3040, -288, 3616, 608, 1888, -544, 1696, -288, 1376, -672, 1696, -928, -672, -96, -1184, -224,
+ -608, -288, -416, -96, 2464, 928, 2208, 544, 2400, 416, 2720, 544, 2784, 864, 544, -992,
+ 992, -1056, 1376, -672, 1696, -288, 352, -480, 96, -736, -1184, -224, 928, 928, -1120, 928,
+ -1696, -160, -1568, -416, -2016, 352, -1696, -160, -1120, 928, -2336, 928, 2848, 288, 2400, 416,
+ 2080, -32, 3168, -160, 1632, 864, 2080, -32, 2208, 544, 2144, 864, 2208, 544, 2080, -32,
+ 2400, 416, 928, 928, -352, 32, 352, -480, 1696, -288, 2080, -32, 1632, 864, -3040, 160,
+ -2336, -160, -1696, -160, -2016, 352, -2656, 480, -3040, 352, -608, 32, -1184, -224, -672, -96,
+ 928, 928, -608, 32, -352, 32, 928, 928, -1184, -224, -608, 32, -1376, 544, -1056, 864,
+ -1632, 1056, 2464, 672, 2144, 416, 2144, -160, 2528, 160, 2720, 608, 1632, 352, 800, -1056,
+ 2144, -480, 2144, 416, 2144, -160, 2144, -480, 2272, -160, 480, 672, 800, -1056, 1632, 352,
+ 1632, 672, -1056, 864, -1376, 544, -1568, -224, -1504, -736, -800, -1120, 224, -1184, 800, -1056,
+ 480, 672, -1568, -224, -1376, 544, -2400, 608, -2400, 480, -1888, -96, -2528, -480, -2528, -608,
+ -1504, -736, -1568, -224, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -1312, -736,
+ 224, -480, 1312, 544, 480, 928, -160, 928, -2144, -672, 2528, 864, 2336, 800, 2272, 544,
+ 2592, 544, 2656, 736, -2272, 544, -1056, 224, -1120, 608, -2272, 928, 1568, -1184, 1824, -1184,
+ 2080, -480, 1568, -672, 1440, -1056, 2144, 544, 1952, -32, 2080, -480, 2528, 416, 2464, 544,
+ -1056, 224, -160, 928, -1120, 608, 928, -608, 1248, -544, 1760, -32, 1312, 544, 224, -480,
+ 2080, -480, 1952, -32, 1760, -32, 1248, -544, 1568, -672, 3040, 32, 2912, 96, 2272, -96,
+ 2080, -480, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, 1632, -1184, 1824, -1120,
+ 2080, -608, 2080, -160, 1376, -992, 1312, -1184, -1056, -800, -800, -416, -1120, -544, -1248, -864,
+ -736, -928, 160, -608, -800, -416, -1056, -800, 160, -608, -224, 928, -992, 416, -992, -32,
+ -800, -416, -2208, 608, -992, 416, -1376, 672, -2208, 800, -992, 416, -224, 928, -1376, 672,
+ 1120, -928, 1632, -224, 96, 800, -224, 928, 160, -608, 2336, 736, 1952, -160, 2080, -160,
+ 2592, 800, 1248, 928, 416, 928, 96, 800, 1632, -224, 1504, 736, 2080, -160, 1952, -160,
+ 1248, -864, 1376, -992, 1120, -928, 1248, -864, 1952, -160, 1632, -224, 2656, 928, -2656, 928,
+ -3360, -288, 3040, -288, 3616, 608, 480, 992, -1248, 992, -1376, 160, 544, 608, 800, 928,
+ -2400, 480, -1952, 352, -1632, 736, -2272, 992, -2464, 800, -1824, -864, -1184, -864, -1376, -480,
+ -2016, -672, -1184, -864, -864, -992, -224, -736, -1056, -160, -1376, -480, -2336, -352, -1568, -160,
+ -1376, 160, -1952, 352, -2464, 32, -2464, -224, -1376, 160, -1248, 992, -1632, 736, -1952, 352,
+ 2336, 928, 1696, -224, 2080, -416, 2720, 800, 2592, 928, 1376, -352, 2080, -544, 2080, -416,
+ 1696, -224, 2208, -544, 2080, -544, -224, -736, -160, -1120, 1824, -1120, -1376, 160, 672, 160,
+ 544, 608, -1376, 160, 1376, -352, 672, 160, -224, -736, 2080, -544, 1376, -352, -1056, 96,
+ -1056, -160, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -2912, -640, -1568, -832,
+ -1312, -640, -1632, -64, -2656, -192, -2976, -384, 2208, -128, 1312, -128, 288, -1152, 1248, -1152,
+ 2016, -960, 2592, -576, 2592, -320, -1312, -640, -800, -512, -1248, 192, -1632, -64, -2272, 704,
+ -1248, 512, -1184, 1024, -2208, 1152, -2336, 1024, 2336, 1152, 1696, -128, 2208, -128, 2720, 1088,
+ 416, -896, 1440, 1088, 1312, 1216, -1184, 1024, -1248, 512, -1248, 192, -800, -512, -224, -896,
+ 1440, 1088, 288, -1152, 1312, -128, -1184, 1024, 1312, 1216, -1184, 1216, 2656, 960, -2656, 960,
+ -3360, -256, 3040, -256, 3616, 640, 1504, -352, -480, -480, 160, -928, 1504, -1184, 2400, -672,
+ -1184, 32, 480, 928, -288, 928, -1248, 800, -1440, 288, -1440, 32, 1760, 288, 1440, 672,
+ 480, 928, -1184, 32, -2144, -544, -480, -480, 1504, -224, 1760, -32, -2464, 544, -1440, 288,
+ -1248, 800, -2656, 1120, 480, 928, 1440, 672, 1248, 1056, -2464, -800, -480, -480, -2144, -544,
+ -2720, -736, 1440, 672, 1760, 288, 2784, 672, 2848, 1056, 1504, -224, -480, -480, 1504, -352,
+ 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -2656, -1184, -2144, -800, -2976, -480,
+ -3424, -480, -3744, -1184, -2016, -480, -2144, -800, -1888, -544, 160, -160, -608, -288, -608, -672,
+ -480, -672, -96, -608, 3104, 416, 3168, 672, -800, -96, -608, -288, -2144, -800, -2016, -480,
+ -2656, -32, -2976, -480, -2016, -480, -1632, -160, -2400, 352, -2656, -32, -800, -96, 3168, 672,
+ -2464, 672, -2400, 352, -1632, -160, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608,
+ -3552, -416, -2784, 224, -2848, 544, -3680, 480, 3744, 544, 3232, 608, 3104, 224, 3488, 224,
+ 3744, 288, 3104, 224, 2656, -32, 3296, -352, 3488, 224, -2272, 736, -2336, -32, -1888, -32,
+ -1952, 800, 2400, 800, 2272, 736, 2272, 32, 2656, -32, 2656, 800, -3552, -416, -3488, -544,
+ -2400, -608, -2336, -32, -2784, 224, 2656, -32, 2272, 32, 2144, 32, -2400, -608, 992, -672,
+ 3296, -352, 992, -672, -2400, -608, -1568, -1056, 416, -1120, -2400, -608, -1888, -32, -2336, -32,
+ -2400, -608, 1888, 224, 1760, 544, -1440, 224, -1888, -32, -1440, 224, 1760, 544, -1376, 544,
+ -2400, -608, 2144, 32, 1888, 224, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608,
+ 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -1760, -928, -1056, -1120, -1504, -736,
+ -1760, -672, 160, -800, 416, -864, 288, -608, 416, -864, 864, -1120, 864, -928, 800, -608,
+ 2720, 544, 1696, 416, 3104, 96, 3104, 544, -2592, 96, -2336, 96, -2208, 608, -2592, 544,
+ -1120, -992, 160, -800, -96, -544, -2144, 32, -2208, 608, -2336, 96, -2400, -352, -2208, -352,
+ 1696, 416, 1376, 416, 1696, -160, 1952, -160, -1760, 32, -1568, 928, -2208, 800, -2208, 608,
+ -2144, 32, 2720, 928, -1568, 928, -1120, 416, 1696, 416, 2720, 544, -1056, -1120, -1120, -992,
+ -1760, 32, -1504, -736, 416, -864, 160, -800, -1120, -992, 864, -1120, -1568, 928, -1760, 32,
+ -1120, -992, -544, -736, -1120, 416, -2208, 800, -1568, 928, -2528, 800, 2656, 928, -2656, 928,
+ -3360, -288, 3040, -288, 3616, 608, 2016, 32, 1184, -544, 2464, -608, 3104, -224, -2272, 416,
+ -928, -32, -1120, 544, -2080, 992, 1568, 416, 1184, -544, 2016, 32, 2720, 800, -928, -32,
+ 1184, -544, 1568, 416, 1184, 928, -544, 928, -1120, 544, 2656, 928, -2656, 928, -3360, -288,
+ 3040, -288, 3616, 608, -2656, 96, -1376, 96, -2272, 480, -2912, 416, 1248, 416, -352, 672,
+ -1056, -288, 1248, -288, 1696, 288, 2784, 736, 2272, 928, 2272, 736, 2336, 480, 2784, 480,
+ 2080, 736, 1248, 416, 1824, 416, -1376, 96, -544, 864, -2272, 928, -2272, 480, -1056, -288,
+ -352, 672, -544, 864, -1376, 96, 1248, 416, 2080, 736, 2272, 928, 288, 928, -352, 672,
+ 2272, 928, 2080, 736, 2272, 736, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608,
+ -352, -608, -1248, 288, -2272, -544, 2656, 928, 928, 864, 2016, 224, 2784, 544, 928, 864,
+ -1056, 864, -1056, 672, -352, -608, 1248, -416, 2016, 224, -1056, 672, -1440, 928, -3168, 928,
+ -3296, 672, -1248, 288, -352, -608, -1056, 672, -1504, 672, 1760, -288, 1696, -160, 1632, -288,
+ 928, -480, 352, -608, -416, -1184, 672, -1184, 1248, -928, 1248, -608, -1568, 416, -928, 1056,
+ -2272, 1120, -2528, 928, -2464, 416, 2848, 928, 2720, 1120, 2272, 1120, 1632, 544, 2400, 288,
+ 2784, 480, -2144, -480, -1632, -672, -1952, -288, -2080, -288, -1632, -672, -1632, 32, -1952, -288,
+ 352, -608, 288, -416, -1632, -672, -1568, -800, -416, -1184, 2400, 288, 1632, 544, 2144, 96,
+ 2272, 96, -928, 928, -1632, -672, -736, 352, -736, 736, 1632, 544, 1696, -160, 1760, -288,
+ 2144, 96, -1632, 32, -1632, -672, -928, 928, -928, 1056, -1568, 416, 1504, -160, -736, 352,
+ 480, -288, 672, -352, 544, 352, 1696, -160, 1632, 544, -736, 352, 1504, -160, 1696, -160,
+ 544, 352, 480, -288, -736, 352, -1632, -672, 288, -416, 2656, 928, -2656, 928, -3360, -288,
+ 3040, -288, 3616, 608, -2464, 800, -2464, 608, -1952, 288, -1888, 800, -2208, 992, -2144, -96,
+ -1696, -352, -1952, 288, -2144, 224, -1376, 800, -1312, -864, 480, -1184, -160, 864, -1248, 1120,
+ -1376, 1056, -1952, 288, -1696, -352, -1312, -864, -1376, 800, -1888, 800, 2976, 992, 2016, 1120,
+ 480, -1184, 1440, -992, 2272, -672, 2848, -224, 3104, 224, 3168, 736, 480, -1184, 1248, 864,
+ -160, 864, 2016, 1120, 1568, 1056, 1248, 864, 480, -1184, 2656, 928, -2656, 928, -3360, -288,
+ 3040, -288, 3616, 608, 3232, 992, 3104, 1184, 2272, 1184, 2912, 544, 3232, 672, -2272, -224,
+ -1824, -288, -1120, -160, -2080, 224, -2528, -96, -2848, 608, -2080, 224, -1120, -160, -1632, 800,
+ -1888, 1184, -2720, 1184, 864, 736, 1440, 736, 1120, 928, 2912, 544, 2272, 1184, 2016, 864,
+ 2336, 288, 2784, 288, 2144, 160, 1440, 736, -224, 736, -1120, -160, -864, -544, 1952, -288,
+ 2272, 32, -1248, 672, -1120, -160, -224, 736, -672, 928, 1440, 736, 2144, 160, 2336, 288,
+ 2016, 864, 1952, -288, -864, -544, 928, -864, -1632, 800, -1120, -160, -1248, 672, 2656, 928,
+ -2656, 928, -3360, -288, 3040, -288, 3616, 608, -2400, 544, -2272, 416, -1696, 224, -1568, 672,
+ -2208, 928, -2400, 800, 1568, -224, 1440, 96, 800, -480, 1504, -544, 1440, 96, 1376, 352,
+ -672, -352, -32, -480, 800, -480, 2144, 416, 1376, 352, 1440, 96, 2144, 160, 1824, 800,
+ 1376, 672, 2464, 416, 2528, 608, 1888, 1056, 608, 992, 1376, 672, 1824, 800, 608, 992,
+ -1568, 672, -1696, 224, -672, -352, 1376, 352, 1376, 672, -1760, -608, -672, -352, -1824, -224,
+ -2208, -416, -2208, -544, -672, -352, -1696, 224, -1824, -224, 2656, 928, -2656, 928, -3360, -288,
+ 3040, -288, 3616, 608, 1824, 928, 2016, 672, 2144, 992, 928, -480, 800, -864, 1248, -544,
+ 1312, -288, -1824, 672, -864, 672, -2016, 1120, -2080, 800, 928, -480, 544, 800, 480, 928,
+ -32, 1056, -928, -96, -736, -416, 32, -800, 800, -864, -1824, -416, -928, -96, -1760, 160,
+ -2144, -32, -2208, -224, -928, -96, -864, 672, -1824, 672, -1760, 160, -928, -96, -32, 1056,
+ -864, 672, 1824, 928, 480, 928, 544, 800, 2016, 672, 2656, 928, -2656, 928, -3360, -288,
+ 3040, -288, 3616, 608, 2912, 800, -1056, 864, 928, -288, 2912, -224, 3488, 224, -3040, -160,
+ -864, -608, 32, -736, 800, -544, 928, -288, -1056, 864, -2592, 608, -3232, 224, -2208, -1056,
+ -3296, -672, -3744, -1120, -2208, -1056, -864, -608, -3040, -160, -3296, -672, 2656, 928, -2656, 928,
+ -3360, -288, 3040, -288, 3616, 608, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608,
+ -2464, -416, -2144, 352, -2784, 736, -3424, 352, -3488, -480, 2976, 544, 2208, 416, 1376, -480,
+ 2848, -608, 3744, -352, 3744, 608, -1696, -736, -1376, 544, -2080, -544, -2144, -800, -2080, -544,
+ -1376, 544, -2144, 352, -2464, -416, -2464, -608, 1824, 928, -1184, 928, -1376, 544, -1696, -736,
+ -1696, -928, 672, -992, 1376, -480, 2208, 416, 2656, 928, -2656, 928, -3360, -288, 3040, -288,
+ 3616, 608, 224, -928, 352, -1184, 480, -1056, 2912, -352, 2464, 928, 2400, -160, 2464, -480,
+ -3168, -480, -2784, -544, -992, 928, -2784, 800, 672, -32, -992, 928, 288, -544, 608, -480,
+ 2272, -224, 1184, -160, 1184, -608, 2208, -736, -992, 928, 672, -32, 2272, -224, 2400, -160,
+ 2464, 928, 352, -1184, 224, -928, -992, 928, -2784, -544, -2208, -1120, 2272, -224, 672, -32,
+ 1184, -160, -992, 928, 224, -928, 288, -544, -3232, -1184, -2400, -800, -1632, 96, -3360, -992,
+ -3360, -1184, -3616, -1056, -2592, 160, -2720, 416, -3552, 288, 3616, 352, 3168, 352, 3552, 96,
+ 3680, 96, 3168, 352, 2912, 96, 3424, -352, 3552, 96, 2272, 32, 1376, -608, 3424, -352,
+ 2912, 96, 1888, 352, -1440, 352, -1632, 96, -1568, -1056, 224, -1120, 1376, -608, 2272, 32,
+ -3616, -1056, -2400, 32, -2592, 160, -3616, -1056, -3360, -992, -1632, 96, -2400, 32, -1440, 352,
+ 1888, 352, 1824, 800, -1376, 800, -1632, 96, -2400, -800, -1568, -1056, 2656, 928, -2656, 928,
+ -3360, -288, 3040, -288, 3616, 608, -3360, -544, -2592, -288, -2272, 32, -2912, 160, -3680, -288,
+ -3680, -480, 3616, -352, 2784, 32, 2144, 160, 1824, 32, 2400, -224, 3168, -480, 3616, -480,
+ -992, -224, 1824, 32, -2272, 32, -2592, -288, 1824, 32, -992, -224, 2400, -224, 2656, 928,
+ -2656, 928, -3360, -288, 3040, -288, 3616, 608, -2464, -1184, -1504, -1120, -1440, -864, -2464, -864,
+ 2464, 864, -2208, 864, -2208, 736, -1440, 224, 2592, 672, 2016, 608, -1440, 224, -1760, -864,
+ 2272, -736, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -992, -416, 1184, -800,
+ 672, -224, -800, -160, -992, -224, 3552, 288, 1952, 352, 3360, -32, 3680, 160, -3104, 96,
+ -3104, 352, -3232, 96, -2848, -32, -1440, 352, -3104, 352, -3104, -32, -1632, -928, 480, -1184,
+ 800, -1120, 1184, -800, -992, -416, -1504, -416, -1632, -544, 2528, -608, 1632, -544, 1696, -672,
+ 2528, -800, 1632, -544, 672, -224, 1184, -800, 1696, -672, -1440, 352, -800, -160, 672, -224,
+ 1952, 352, 1824, 672, -1376, 672, -2848, -160, -800, -160, -1440, 352, -2848, -32, 3360, -160,
+ 3360, -32, 1952, 352, 672, -224, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608,
+ 3104, 416, 2848, 160, 2848, -224, 3488, 32, -3744, -800, -2976, -288, -2720, 352, -3680, 224,
+ -2976, -288, -3744, -800, -3168, -800, 2272, 96, 1312, -352, 2848, -224, 2848, 160, 1952, 288,
+ 1312, -352, 2272, 96, 1760, 864, -1376, 864, -1504, 352, -1312, -736, 544, -800, 1312, -352,
+ 1952, 288, -2976, -288, -1312, -736, -2208, 32, -2720, 352, -1312, -736, -1760, 96, -2208, 32,
+ -1312, -736, -1504, 352, -1760, 96, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608,
+ -864, -1120, -352, -1184, -32, -864, 160, -416, -800, 544, -1376, -480, 1184, 544, -800, 544,
+ 672, 96, 1184, 224, 672, 96, -800, 544, 160, -416, 2848, 544, 2848, 864, -2080, 864,
+ -2144, 544, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -3488, -288, -2976, -928,
+ -2720, 224, -3488, 160, -2976, -928, 96, -1184, 1504, -672, 2720, 608, 544, 736, -1568, 608,
+ -2720, 224, 2720, -480, 3488, -224, 3744, 32, 3232, 416, 2720, 608, 1504, -672, 3232, 416,
+ 3744, 32, 3744, 288, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -3552, -480,
+ -2656, 288, -2784, 544, -3616, 480, 2976, 160, 2784, -352, 3680, 224, 3232, 480, 2336, 32,
+ 224, -1184, 2784, -352, 2976, 160, -672, -1120, -2208, 32, -2656, 288, -3552, -480, -1312, 928,
+ -1440, 352, -672, -1120, 224, -1184, 1952, 224, 1760, 928, 1952, 224, 224, -1184, 2336, 32,
+ -1696, 96, -672, -1120, -1440, 352, -2208, 32, -672, -1120, -1696, 96, 2656, 928, -2656, 928,
+ -3360, -288, 3040, -288, 3616, 608, -3360, 544, -2976, -864, -2400, 288, -2848, 992, -3296, 992,
+ 2208, 352, 1120, -352, 1952, -352, 3104, -160, 3360, 352, 1696, 800, -1312, 864, 1120, -352,
+ 2208, 352, -1312, 864, -1504, 352, 608, -1184, 1120, -352, -2976, -864, -3360, 544, -3552, 480,
+ -3488, -608, -3360, -800, -1504, 352, -2400, 288, -2976, -864, -2976, -1184, 608, -1184, 2656, 928,
+ -2656, 928, -3360, -288, 3040, -288, 3616, 608, -2848, 32, -2656, -160, -2592, 160, -2720, 480,
+ -3040, 480, -2656, -160, -2464, -160, -2272, 32, -2592, 160, -2272, -992, -2400, -1184, 1824, -1184,
+ 1888, -992, 3104, 224, 3040, -96, 3296, 32, 3232, 416, -2400, -1184, -2272, -992, -2400, -992,
+ 2272, 32, 2144, -480, 2848, -416, 3040, -96, 3104, 224, 2016, 160, 1760, -864, 2144, -480,
+ 2272, 32, -2272, -992, 1760, -992, 1760, -864, -1632, 96, -2272, 32, -2464, -160, 1824, 672,
+ -1440, 672, -1440, 352, 1760, -864, 2016, 160, -1632, 96, 1760, -864, -1440, 352, 2656, 928,
+ -2656, 928, -3360, -288, 3040, -288, 3616, 608, 2976, 160, 3168, -416, 3360, -224, 3424, 288,
+ 3168, 416, -3552, 32, -2656, 288, -2784, 608, -3552, 480, 2272, 96, 1504, -544, 3168, -416,
+ 2976, 160, 1952, 288, 864, -352, 928, -864, 1504, -544, 2272, 96, 1184, -1184, 1504, -544,
+ 928, -864, 1056, -1184, 1824, 864, -1376, 864, -480, -416, 864, -352, 1952, 288, -3552, 32,
+ -2400, 96, -2656, 288, -1376, 864, -1376, 544, -736, -544, -480, -416, -736, -544, -2400, 96,
+ -3552, 32, -736, -544, -1632, 160, -2400, 96, -736, -544, -1376, 544, -1632, 160, 2656, 928,
+ -2656, 928, -3360, -288, 3040, -288, 3616, 608, 2310, 941, 1504, 736, -1312, -96, -608, -480,
+ 544, -480, 2464, 288, 2784, 864, -2336, 352, -2208, -288, -1504, -352, -1312, -96, -1312, 672,
+ -1658, 928, -2144, 928, -2784, 96, -2208, -288, -2336, 352, -2835, 314, 1504, 736, 1248, 928,
+ -1056, 928, -1312, 672, -1312, -96, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608,
+ 2720, 928, -2656, 928, 608, -544, 2528, -672, 3104, -224, 3616, 608, -3424, -352, -3219, -480,
+ -2720, -544, 608, -544, -2656, 928, 608, -544, -2720, -544, -2272, -1056, 96, -1120, 2656, 928,
+ -2656, 928, -3360, -288, 3040, -288, 3616, 608, -2528, -160, -1632, 160, -2720, 32, -2784, -160,
+ 2336, -480, 2592, -416, 2976, -224, 2976, -96, 2016, -32, 1952, -416, 1056, 96, 800, 96,
+ 864, -160, 1120, -224, 1248, 32, -1760, -224, -2528, -160, -2528, -416, -2080, -480, -1824, -480,
+ -1568, 288, -480, -32, 800, -352, -2016, 736, -2144, 480, -32, -608, 224, -1120, 480, -864,
+ 160, -480, 2464, 928, 2016, 352, 2208, 160, 2784, 608, 2656, 928, 1440, -544, 480, -864,
+ 224, -1120, 1248, -1056, 1504, 928, 1696, 32, 2016, 352, 1824, 864, 1696, 32, 2208, 160,
+ 2016, 352, 1056, -480, 1440, -544, 2016, -32, 1696, 32, 1248, -160, 608, 928, -2464, 928,
+ 800, 96, 1056, 96, -480, -32, -1568, 288, -1632, 160, -1760, -224, -1120, -288, -1760, -224,
+ -1632, 160, -2528, -160, 1696, 32, 2016, -32, 2976, -96, 2208, 160, -2464, 928, -2016, 736,
+ 800, -352, 800, 96, 1440, -544, 1056, -480, 416, -480, 480, -864, 800, -352, -480, -32,
+ 416, -480, 1056, -480, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, 2656, 928,
+ -1184, 928, -2720, 864, 544, -288, 2720, -352, 3296, 32, 3424, 672, -1376, -352, 224, -544,
+ 544, -288, -2720, 864, -2848, 352, -2592, -160, -2848, 352, -2720, 864, -2976, 352, 224, -544,
+ -1376, -352, -1184, -544, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, 1696, -416,
+ 1376, -480, 1056, -736, 1248, -928, 1760, -992, 160, -992, 1056, -736, 1376, -480, 1888, 96,
+ -480, -288, -672, -672, -2592, -288, -2592, 672, -3104, -352, -672, -224, -672, -32, -2272, 672,
+ -2592, 672, -2592, -288, 1056, -736, 160, -992, 672, -1056, 2720, 928, -2144, 928, -2272, 672,
+ -672, -32, 1888, 96, 2784, 224, 2912, 736, 2784, 224, 1888, 96, 3104, -96, 3104, 32,
+ 1888, 96, -672, -32, -480, -288, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608,
+ -3104, -672, -2528, 480, -3104, 416, -3552, 224, -3616, -480, 3040, 608, 2464, 800, -2144, 864,
+ -2528, 480, -2976, -1120, 1440, -736, 2272, -480, 3424, 352, -2976, -1120, -2528, 480, -3104, -672,
+ 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -3296, 96, -2976, 992, -3360, 864,
+ -3616, 608, -3616, 224, -3104, -800, -2080, -864, -1568, -736, -1568, -416, -2976, 992, -3296, 96,
+ -3488, -608, -2464, -1120, -2080, -864, -3104, -800, -3232, -1120, -1568, -416, -1248, -352, 3232, 864,
+ 1248, 992, -2976, 992, 3744, 352, 3744, 480, 3232, 864, -1248, -352, 2912, -224, 3360, -32,
+ 3104, 352, 2912, 160, 2656, -864, 3744, -96, -3296, 96, -2528, 96, -2784, 480, -3744, 352,
+ -3424, -1120, -2720, -1120, -2272, -608, -3168, -288, -3680, -800, -3296, -288, -2528, 96, -3296, 96,
+ -3296, -288, -3168, -288, -1568, 224, -2528, 96, 2912, 160, 2400, 32, 1632, -672, 2656, -864,
+ 1824, 352, -1504, 416, -1568, 224, 1632, -672, 2400, 32, 1632, -672, -1568, 224, -3168, -288,
+ -2272, -608, 2656, 928, -2656, 928, -3360, -288, 3040, -288, 3616, 608, -3680, -160, -3552, -224,
+ -2400, -736, -2336, -416, -3552, -32, -3680, -32, 2336, 800, 1568, 224, 2144, 224, 2720, 608,
+ 2656, 864, -2144, 480, -3552, -32, -2336, -416, -1568, -416, -1504, 224, -1568, 480, -2144, 480,
+ -1824, 480, -1888, 864, -2144, 864, -416, 416, -416, 288, 1312, 224, 1376, 416, -3552, -32,
+ -2336, 416, -3616, 480, 3744, -416, 3168, -288, 3296, -672, 3744, -608, 3168, -288, 2144, 224,
+ 1568, 224, 928, -1056, 1376, -1184, 2208, -1184, 2784, -992, 3296, -672, -2400, -736, -3552, -224,
+ -3680, -672, 2976, 32, 2144, 224, 3168, -288, 3168, -160, 1568, 224, 1312, 224, -1568, -416,
+ -32, -992, 928, -1056, -1568, -416, 1312, 224, -416, 288, -1504, 224, 2656, 928, -2656, 928,
+ -3360, -288, 3040, -288, 3616, 608,
};
static const char *const flip2_perfect[] = {"Perfect Double Flip!", "Perfect 720!", "Flawless 720!", "Expert Flipping!", "Nailed it!", "Acing it!"};
static const char *const flip2_sloppy[] = {"Double Flip!", "720 Flip!", "Nice Flipping!", "Daredevil!", "Crazy Stunt!", "Spinin'", "Thrill-Seeker!"};
diff --git a/games/rider/src/draw.c b/games/rider/src/draw.c
index 4d9e2bfa..3a006d22 100644
--- a/games/rider/src/draw.c
+++ b/games/rider/src/draw.c
@@ -1,7 +1,8 @@
/* The picture, drawn the way the game looks: dark ground under a dark sky, the track as glowing lines (a light core,
* its colour, a soft edge), red saws and spikes, white gems, and the bike as a coloured shape with a white edge
- * on two white wheels, a trail behind it. Everything is drawn in a 320x240 picture of colour numbers first, then
- * sent to the screen in strips with the texts over it (launcher/src/gfx.c). */
+ * on two white wheels, a trail behind it. Everything is first written down as a list of shapes in colour numbers,
+ * then filled strip by strip into the screen with the texts over it (launcher/src/gfx.c): no picture of the whole
+ * screen is kept, and the list itself sits in the physics' memory left free between two steps. */
#include <math.h>
#include <stdlib.h>
#include <string.h>
@@ -9,21 +10,161 @@
#include "rider.h"
#include "data.h"
-uint8_t fb[240][320];
uint16_t pal[256];
#define ZOOM 0.5f
-int obj_poly(const rd_run *r, int i, int k, float *xy);
+/* ---------------------------------------------------------------- the list of shapes */
+enum { D_CONVEX, D_POLY, D_DISC, D_LINE, D_RECT };
+typedef struct {
+ uint8_t type, col;
+ uint16_t n, at; /* points (or the line's thickness), where they start in the pool */
+ int16_t y0, y1; /* the rows it covers */
+} dcmd;
+static dcmd *cmds; /* (in the physics' free memory: a third shapes, the rest points) */
+static int16_t *pts; /* eighths of a pixel */
+static int ncmd, npts, NCMD, NPTS;
+static uint8_t bg_col;
+void draw_clear(uint8_t c) {
+ size_t n;
+ uint8_t *m = ph_scratch(&n);
+ NCMD = (int)(n / 3 / sizeof(dcmd)), cmds = (dcmd *)m;
+ NPTS = (int)((n - NCMD * sizeof(dcmd)) / 4), pts = (int16_t *)(m + NCMD * sizeof(dcmd));
+ if (NCMD > 900) NCMD = 900;
+ if (NPTS > 4000) NPTS = 4000;
+ ncmd = npts = 0, bg_col = c;
+}
+
+static inline int16_t q8(float v) {
+ v *= 8;
+ if (v > 32000) v = 32000;
+ if (v < -32000) v = -32000;
+ return (int16_t)lrintf(v);
+}
+static void push_shape(int type, const float *xy, int n, uint8_t col) {
+ if (ncmd == NCMD || npts + n > NPTS || n < 1) return;
+ float y0 = 1e9f, y1 = -1e9f, x0 = 1e9f, x1 = -1e9f;
+ for (int i = 0; i < n; i++) {
+ y0 = fminf(y0, xy[2 * i + 1]), y1 = fmaxf(y1, xy[2 * i + 1]);
+ x0 = fminf(x0, xy[2 * i]), x1 = fmaxf(x1, xy[2 * i]);
+ }
+ if (y1 < 0 || y0 > 240 || x1 < 0 || x0 > 320) return;
+ dcmd *c = &cmds[ncmd++];
+ c->type = (uint8_t)type, c->col = col, c->n = (uint16_t)n, c->at = (uint16_t)npts;
+ c->y0 = (int16_t)floorf(fmaxf(y0, -1)), c->y1 = (int16_t)ceilf(fminf(y1, 241));
+ for (int i = 0; i < n; i++) pts[2 * npts] = q8(xy[2 * i]), pts[2 * npts + 1] = q8(xy[2 * i + 1]), npts++;
+}
+static void fill_convex(const float *xy, int n, uint8_t col) { push_shape(D_CONVEX, xy, n, col); }
+static void fill_poly(const float *xy, int n, uint8_t col) { push_shape(D_POLY, xy, n, col); }
+static void disc(float cx, float cy, float rad, uint8_t c) {
+ float q[4] = {cx - rad, cy - rad, cx + rad, cy + rad};
+ int k = ncmd;
+ push_shape(D_DISC, q, 2, c);
+ if (ncmd > k) cmds[k].y0 = (int16_t)floorf(cy - rad), cmds[k].y1 = (int16_t)ceilf(cy + rad);
+}
+static void line(float x0, float y0, float x1, float y1, uint8_t c, int thick) {
+ float q[4] = {x0, y0, x1, y1};
+ int k = ncmd;
+ push_shape(D_LINE, q, 2, c);
+ if (ncmd > k) cmds[k].type = D_LINE, cmds[k].y1 = (int16_t)(cmds[k].y1 + 1), cmds[k].n = 2 | (uint16_t)(thick << 8);
+}
void fb_fill(int x, int y, int w, int h, uint8_t c) {
- int x1 = x + w, y1 = y + h;
- if (x < 0) x = 0;
- if (y < 0) y = 0;
- if (x1 > 320) x1 = 320;
- if (y1 > 240) y1 = 240;
- for (int j = y; j < y1; j++) memset(&fb[j][x], c, (size_t)(x1 > x ? x1 - x : 0));
+ float q[4] = {(float)x, (float)y, (float)(x + w), (float)(y + h)};
+ push_shape(D_RECT, q, 2, c);
}
+/* ---------------------------------------------------------------- filling a strip */
+static color_t *strip;
+static int sy0, sy1;
+static inline void span(int y, int a, int b, color_t c) {
+ if (a < 0) a = 0;
+ if (b > 319) b = 319;
+ color_t *p = strip + (y - sy0) * SCREEN_W;
+ for (int x = a; x <= b; x++) p[x] = c;
+}
+static void raster(const dcmd *c) {
+ const int16_t *p = pts + 2 * c->at;
+ color_t col = pal[c->col];
+ int r0 = c->y0 > sy0 ? c->y0 : sy0, r1 = c->y1 < sy1 - 1 ? c->y1 : sy1 - 1;
+ switch (c->type) {
+ case D_CONVEX:
+ case D_POLY: {
+ int n = c->n;
+ for (int y = r0; y <= r1; y++) {
+ float yc = y + 0.5f, xs[48];
+ int m = 0;
+ for (int i = 0; i < n && m < 48; i++) {
+ int j = i + 1 == n ? 0 : i + 1;
+ float ax = p[2 * i] * 0.125f, ay = p[2 * i + 1] * 0.125f, bx = p[2 * j] * 0.125f, by = p[2 * j + 1] * 0.125f;
+ if ((ay <= yc) == (by <= yc)) continue;
+ xs[m++] = ax + (yc - ay) * (bx - ax) / (by - ay);
+ }
+ if (c->type == D_CONVEX) {
+ if (m < 2) continue;
+ float xl = xs[0], xr = xs[0];
+ for (int i = 1; i < m; i++) xl = fminf(xl, xs[i]), xr = fmaxf(xr, xs[i]);
+ span(y, (int)ceilf(xl - 0.5f), (int)floorf(xr - 0.5f), col);
+ continue;
+ }
+ for (int i = 1; i < m; i++)
+ for (int j = i; j > 0 && xs[j - 1] > xs[j]; j--) { float t = xs[j]; xs[j] = xs[j - 1], xs[j - 1] = t; }
+ for (int i = 0; i + 1 < m; i += 2) span(y, (int)ceilf(xs[i] - 0.5f), (int)floorf(xs[i + 1] - 0.5f), col);
+ }
+ break;
+ }
+ case D_DISC: {
+ float cx = (p[0] + p[2]) * 0.0625f, cy = (p[1] + p[3]) * 0.0625f, rad = (p[2] - p[0]) * 0.0625f;
+ for (int y = r0; y <= r1; y++) {
+ float dy = y + 0.5f - cy, w2 = rad * rad - dy * dy;
+ if (w2 < 0) continue;
+ float w = sqrtf(w2);
+ span(y, (int)ceilf(cx - w - 0.5f), (int)floorf(cx + w - 0.5f), col);
+ }
+ break;
+ }
+ case D_LINE: {
+ float x0 = p[0] * 0.125f, y0 = p[1] * 0.125f, dx = p[2] * 0.125f - x0, dy = p[3] * 0.125f - y0;
+ int thick = c->n >> 8, n = (int)(fmaxf(fabsf(dx), fabsf(dy)) + 1);
+ for (int i = 0; i <= n; i++) {
+ int x = (int)(x0 + dx * i / n), y = (int)(y0 + dy * i / n);
+ for (int k = 0; k < (thick > 1 ? 4 : 1); k++) {
+ int xx = x + (k & 1), yy = y + (k >> 1);
+ if (xx >= 0 && xx < 320 && yy >= sy0 && yy < sy1) strip[(yy - sy0) * SCREEN_W + xx] = col;
+ }
+ }
+ break;
+ }
+ case D_RECT: {
+ int x0 = p[0] >> 3, x1 = (p[2] >> 3) - 1, ya = (p[1] >> 3) > r0 ? (p[1] >> 3) : r0, yb = (p[3] >> 3) - 1 < r1 ? (p[3] >> 3) - 1 : r1;
+ for (int y = ya; y <= yb; y++) span(y, x0, x1, col);
+ break;
+ }
+ }
+}
+
+static void (*hud_fn)(void);
+static void scene(void *ctx) {
+ (void)ctx;
+ strip = gfx_buf, sy0 = gfx_y0, sy1 = gfx_y1;
+ color_t bg = pal[bg_col];
+ for (int i = 0; i < SCREEN_W * (sy1 - sy0); i++) strip[i] = bg;
+ for (int i = 0; i < ncmd; i++)
+ if (cmds[i].y1 >= sy0 && cmds[i].y0 < sy1) raster(&cmds[i]);
+ if (hud_fn) hud_fn();
+}
+#ifdef HOST
+int draw_most_cmds, draw_most_pts;
+#endif
+void draw_flush(void (*hud)(void)) {
+ hud_fn = hud;
+#ifdef HOST
+ if (ncmd > draw_most_cmds) draw_most_cmds = ncmd;
+ if (npts > draw_most_pts) draw_most_pts = npts;
+#endif
+ gfx_render(scene, 0, 0, SCREEN_H);
+}
+
+/* ---------------------------------------------------------------- colours */
static uint32_t mix888(uint32_t a, uint32_t b, float t) {
uint32_t o = 0;
for (int s = 0; s < 24; s += 8) {
@@ -50,52 +191,6 @@ void draw_theme(int theme) {
for (int i = 0; i < C_TRAIL + 8; i++) pal[i] = c565(c[i]);
}
-/* ---------------------------------------------------------------- filling polygons */
-static void fill_convex(const float *xy, int n, uint8_t col) {
- float y0 = 1e9f, y1 = -1e9f;
- for (int i = 0; i < n; i++) y0 = fminf(y0, xy[2 * i + 1]), y1 = fmaxf(y1, xy[2 * i + 1]);
- int r0 = (int)ceilf(y0 - 0.5f), r1 = (int)floorf(y1 - 0.5f);
- if (r0 < 0) r0 = 0;
- if (r1 > 239) r1 = 239;
- for (int y = r0; y <= r1; y++) {
- float yc = y + 0.5f, xl = 1e9f, xr = -1e9f;
- for (int i = 0; i < n; i++) {
- float ax = xy[2 * i], ay = xy[2 * i + 1], bx = xy[2 * ((i + 1) % n)], by = xy[2 * ((i + 1) % n) + 1];
- if ((ay <= yc) == (by <= yc)) continue;
- float x = ax + (yc - ay) * (bx - ax) / (by - ay);
- xl = fminf(xl, x), xr = fmaxf(xr, x);
- }
- int a = (int)ceilf(xl - 0.5f), b = (int)floorf(xr - 0.5f);
- if (a < 0) a = 0;
- if (b > 319) b = 319;
- if (b >= a) memset(&fb[y][a], col, (size_t)(b - a + 1));
- }
-}
-/* any polygon, even-odd */
-static void fill_poly(const float *xy, int n, uint8_t col) {
- float y0 = 1e9f, y1 = -1e9f;
- for (int i = 0; i < n; i++) y0 = fminf(y0, xy[2 * i + 1]), y1 = fmaxf(y1, xy[2 * i + 1]);
- int r0 = (int)ceilf(y0 - 0.5f), r1 = (int)floorf(y1 - 0.5f);
- if (r0 < 0) r0 = 0;
- if (r1 > 239) r1 = 239;
- for (int y = r0; y <= r1; y++) {
- float yc = y + 0.5f, xs[48];
- int m = 0;
- for (int i = 0; i < n && m < 48; i++) {
- float ax = xy[2 * i], ay = xy[2 * i + 1], bx = xy[2 * ((i + 1) % n)], by = xy[2 * ((i + 1) % n) + 1];
- if ((ay <= yc) == (by <= yc)) continue;
- xs[m++] = ax + (yc - ay) * (bx - ax) / (by - ay);
- }
- for (int i = 1; i < m; i++)
- for (int j = i; j > 0 && xs[j - 1] > xs[j]; j--) { float t = xs[j]; xs[j] = xs[j - 1], xs[j - 1] = t; }
- for (int i = 0; i + 1 < m; i += 2) {
- int a = (int)ceilf(xs[i] - 0.5f), b = (int)floorf(xs[i + 1] - 0.5f);
- if (a < 0) a = 0;
- if (b > 319) b = 319;
- if (b >= a) memset(&fb[y][a], col, (size_t)(b - a + 1));
- }
- }
-}
/* the polygon grown (d > 0) or shrunk (d < 0) by d pixels; with long_only, only its long sides move (a strip's
* pieces keep meeting end to end) */
static void offset_poly(const float *xy, int n, float d, bool long_only, float *out) {
@@ -126,32 +221,6 @@ static void offset_poly(const float *xy, int n, float d, bool long_only, float *
}
}
-static void dot(int x, int y, uint8_t c) {
- if (x >= 0 && x < 320 && y >= 0 && y < 240) fb[y][x] = c;
-}
-static void line(float x0, float y0, float x1, float y1, uint8_t c, int thick) {
- float dx = x1 - x0, dy = y1 - y0;
- int n = (int)(fmaxf(fabsf(dx), fabsf(dy)) + 1);
- for (int i = 0; i <= n; i++) {
- int x = (int)(x0 + dx * i / n), y = (int)(y0 + dy * i / n);
- dot(x, y, c);
- if (thick > 1) dot(x + 1, y, c), dot(x, y + 1, c), dot(x + 1, y + 1, c);
- }
-}
-static void disc(float cx, float cy, float rad, uint8_t c) {
- int y0 = (int)floorf(cy - rad), y1 = (int)ceilf(cy + rad);
- for (int y = y0; y <= y1; y++) {
- if (y < 0 || y > 239) continue;
- float dy = y + 0.5f - cy, w2 = rad * rad - dy * dy;
- if (w2 < 0) continue;
- float w = sqrtf(w2);
- int a = (int)ceilf(cx - w - 0.5f), b = (int)floorf(cx + w - 0.5f);
- if (a < 0) a = 0;
- if (b > 319) b = 319;
- if (b >= a) memset(&fb[y][a], c, (size_t)(b - a + 1));
- }
-}
-
/* the light core of a line's piece: the piece squeezed across its length (so pieces still meet end to end), or
* for a wide piece its inside */
static int core_poly(const float *xy, int n, float *out) {
@@ -182,21 +251,25 @@ static int core_poly(const float *xy, int n, float *out) {
}
/* ---------------------------------------------------------------- the bike */
-void draw_bike_at(int bike, float x, float y, float a, float z, int glow) {
+static int bike_shape(int bike, float x, float y, float a, float z, float *xy) {
const rd_bike *bk = &rd_bikes[bike];
- float c = cosf(a), s = sinf(a), xy[96], g[96];
+ float c = cosf(a), s = sinf(a);
int n = bk->on > 48 ? 48 : bk->on;
for (int i = 0; i < n; i++) {
float lx = bike_xy[2 * (bk->o0 + i)] * 0.5f * z, ly = bike_xy[2 * (bk->o0 + i) + 1] * 0.5f * z;
xy[2 * i] = x + c * lx - s * ly, xy[2 * i + 1] = y + s * lx + c * ly;
}
- float wx[2], wy[2], wr = 8.4f * z;
- for (int k = 0; k < 2; k++) {
- float lx = (k ? 38 : -34) * z, ly = 13.3f * z;
- wx[k] = x + c * lx - s * ly, wy[k] = y + s * lx + c * ly;
- }
- if (!bk->front)
- for (int k = 0; k < 2; k++) disc(wx[k], wy[k], wr, C_WHITE), disc(wx[k], wy[k], wr * 0.35f, C_WHEEL_HUB);
+ return n;
+}
+#define WHEEL_R 8.4f
+void draw_wheels_at(float x0, float y0, float x1, float y1, float z, int front) {
+ (void)front;
+ disc(x0, y0, WHEEL_R * z, C_WHITE), disc(x0, y0, WHEEL_R * z * 0.35f, C_WHEEL_HUB);
+ disc(x1, y1, WHEEL_R * z, C_WHITE), disc(x1, y1, WHEEL_R * z * 0.35f, C_WHEEL_HUB);
+}
+static void bike_body_at(int bike, float x, float y, float a, float z, int glow) {
+ float xy[96], g[96];
+ int n = bike_shape(bike, x, y, a, z, xy);
if (glow) { /* the white edge: the shape drawn one pixel bigger in white first */
for (int d = 0; d < 4; d++) {
float ox = d == 0 ? 1 : d == 1 ? -1 : 0, oy = d == 2 ? 1 : d == 3 ? -1 : 0;
@@ -205,28 +278,53 @@ void draw_bike_at(int bike, float x, float y, float a, float z, int glow) {
}
}
fill_poly(xy, n, C_BODY);
- if (bk->front)
- for (int k = 0; k < 2; k++) disc(wx[k], wy[k], wr, C_WHITE), disc(wx[k], wy[k], wr * 0.35f, C_WHEEL_HUB);
+}
+/* the bike as it stands (menus): wheels where GameCharacter puts them, x0.7 (x0.49 down) from the body's centre */
+static void stand_wheels(float x, float y, float a, float z, float *w) {
+ float c = cosf(a), s = sinf(a);
+ for (int k = 0; k < 2; k++) {
+ float lx = (k ? 38 : -34) * 0.7f * z, ly = (37 - 18) * 0.49f * z;
+ w[2 * k] = x + c * lx - s * ly, w[2 * k + 1] = y + s * lx + c * ly;
+ }
+}
+void draw_bike_at(int bike, float x, float y, float a, float z, int glow) {
+ float w[4];
+ stand_wheels(x, y, a, z, w);
+ bool front = rd_bikes[bike].front;
+ if (!front) draw_wheels_at(w[0], w[1], w[2], w[3], z, 0);
+ bike_body_at(bike, x, y, a, z, glow);
+ if (front) draw_wheels_at(w[0], w[1], w[2], w[3], z, 1);
+}
+void draw_bike_shape(int bike, float x, float y, float a, float z, uint8_t c) {
+ float w[4], xy[96];
+ stand_wheels(x, y, a, z, w);
+ disc(w[0], w[1], WHEEL_R * z, c), disc(w[2], w[3], WHEEL_R * z, c);
+ fill_poly(xy, bike_shape(bike, x, y, a, z, xy), c);
}
/* ---------------------------------------------------------------- the run */
void draw_run(const rd_run *r) {
float sh = r->ended == END_CRASH && r->shake > 0 ? r->shake * 20 : 0;
float cx = r->camx + (sh ? (float)((int)(r->end_ms * 7) % 5 - 2) * sh * 0.3f : 0), cy = r->camy;
- memset(fb, C_BG, sizeof fb);
+ draw_clear(C_BG);
float wx0 = cx - 8, wx1 = cx + 320 / ZOOM + 8, wy0 = cy - 8, wy1 = cy + 240 / ZOOM + 8;
float xy[64], o[64];
/* three passes: the ground, the glow round the lines, the lines and the rest */
for (int pass = 0; pass < 3; pass++) {
for (int i = 0; i < r->nlive; i++) {
const rd_live *l = &r->live[i];
- if (l->x1 < wx0 || l->x0 > wx1 || l->y1 < wy0 || l->y0 > wy1 || (l->st & ST_GONE)) continue;
+ if (!(l->st & ST_USED) || (l->st & ST_GONE)) continue;
+ float bx0, by0, bx1, by1;
+ obj_box(r, i, &bx0, &by0, &bx1, &by1);
+ if (bx1 < wx0 || bx0 > wx1 || by1 < wy0 || by0 > wy1) continue;
const rd_obj *ob = &rd_objs[l->obj];
int kind = ob->kind;
if ((pass == 0) != (kind == K_GROUND)) continue;
+ float px, py, pa;
+ obj_pose(r, i, &px, &py, &pa);
if (kind == K_GEM) {
if (pass != 2) continue;
- float sx = (l->cx - cx) * ZOOM, sy = (l->cy - cy) * ZOOM, w = ob->sx * 0.14f * ZOOM, h = ob->sy * 0.18f * ZOOM;
+ float sx = (px - cx) * ZOOM, sy = (py - cy) * ZOOM, w = fabsf(ob->sx) * 0.14f * ZOOM, h = fabsf(ob->sy) * 0.18f * ZOOM;
float d[8] = {sx, sy - h, sx + w, sy, sx, sy + h, sx - w, sy};
offset_poly(d, 4, 2, false, o);
fill_convex(o, 4, C_GEM_HALO);
@@ -235,11 +333,9 @@ void draw_run(const rd_run *r) {
}
if (kind == K_FINISH) {
if (pass != 2) continue;
- float sx = (l->cx - cx) * ZOOM, top = (l->cy - ob->sy / 2 - cy) * ZOOM, bot = (l->cy + ob->sy / 2 - cy) * ZOOM;
- for (int y = (int)top; y < (int)bot; y++) {
- bool lit = ((y - (int)top) / 6) & 1;
- for (int k = -3; k <= 3; k++) dot((int)sx + k, y, abs(k) == 3 ? C_HALO : lit ? C_WHITE : C_FINISH);
- }
+ int sx = (int)((px - cx) * ZOOM), top = (int)((py - fabsf(ob->sy) / 2 - cy) * ZOOM), bot = (int)((py + fabsf(ob->sy) / 2 - cy) * ZOOM);
+ fb_fill(sx - 3, top, 1, bot - top, C_HALO), fb_fill(sx + 3, top, 1, bot - top, C_HALO);
+ for (int y = top; y < bot; y += 6) fb_fill(sx - 2, y, 5, bot - y < 6 ? bot - y : 6, ((y - top) / 6) & 1 ? C_WHITE : C_FINISH);
continue;
}
for (int k = 0;; k++) {
@@ -265,12 +361,12 @@ void draw_run(const rd_run *r) {
}
/* speed pads: arrows running along */
if (kind == K_BOOST && pass == 2) {
- float c = cosf(l->rot), s = sinf(l->rot), ph = fmodf(r->ms / 8, 24);
+ float c = cosf(pa), s = sinf(pa), ph = fmodf(r->ms / 8, 24);
for (int k = -2; k <= 1; k++) {
- float ax = (k * 24 + ph) * ZOOM, bx = (l->cx - cx) * ZOOM, by = (l->cy - cy) * ZOOM - 4;
- float px = bx + c * ax, py = by + s * ax;
- line(px - c * 3 - s * 3, py - s * 3 + c * 3, px, py, C_WHITE, 1);
- line(px - c * 3 + s * 3, py - s * 3 - c * 3, px, py, C_WHITE, 1);
+ float ax = (k * 24 + ph) * ZOOM, bx = (px - cx) * ZOOM, by = (py - cy) * ZOOM - 4;
+ float qx = bx + c * ax, qy = by + s * ax;
+ line(qx - c * 3 - s * 3, qy - s * 3 + c * 3, qx, qy, C_WHITE, 1);
+ line(qx - c * 3 + s * 3, qy - s * 3 - c * 3, qx, qy, C_WHITE, 1);
}
}
}
@@ -283,7 +379,11 @@ void draw_run(const rd_run *r) {
line(x0, y0, x1, y1, (uint8_t)(C_TRAIL + i * 8 / TRAIL), i < TRAIL / 2 ? 2 : 1);
}
if (r->ended != END_CRASH) {
- draw_bike_at(r->bike, (b->x - cx) * ZOOM, (b->y - cy) * ZOOM, b->a, ZOOM, 1);
+ float w0x = (b->wx[0] - cx) * ZOOM, w0y = (b->wy[0] - cy) * ZOOM, w1x = (b->wx[1] - cx) * ZOOM, w1y = (b->wy[1] - cy) * ZOOM;
+ bool front = rd_bikes[r->bike].front;
+ if (!front) draw_wheels_at(w0x, w0y, w1x, w1y, ZOOM, 0);
+ bike_body_at(r->bike, (b->x - cx) * ZOOM, (b->y - cy) * ZOOM, b->a, ZOOM, 1);
+ if (front) draw_wheels_at(w0x, w0y, w1x, w1y, ZOOM, 1);
} else {
for (int i = 0; i < r->nbits; i++) {
const rd_bit *p = &r->bits[i];
@@ -294,7 +394,7 @@ void draw_run(const rd_run *r) {
x + c + s * 0.35f, y + s - c * 0.35f, x - c + s * 0.35f, y - s - c * 0.35f};
offset_poly(q, 4, 1, false, o), fill_convex(o, 4, C_WHITE), fill_convex(q, 4, C_BODY);
} else if (r->end_ms < 900) {
- dot((int)x, (int)y, p->c), dot((int)x + 1, (int)y, p->c);
+ fb_fill((int)x, (int)y, 2, 1, p->c);
}
}
}
@@ -316,19 +416,3 @@ void draw_star(float x, float y, float rad, uint8_t c) {
}
void draw_line(float x0, float y0, float x1, float y1, uint8_t c) { line(x0, y0, x1, y1, c, 1); }
void draw_disc(float x, float y, float rad, uint8_t c) { disc(x, y, rad, c); }
-
-/* ---------------------------------------------------------------- to the screen */
-static void (*hud_fn)(void);
-static void scene(void *ctx) {
- (void)ctx;
- for (int y = gfx_y0; y < gfx_y1; y++) {
- color_t *d = gfx_buf + (y - gfx_y0) * SCREEN_W;
- const uint8_t *s = fb[y];
- for (int x = 0; x < 320; x++) d[x] = pal[s[x]];
- }
- if (hud_fn) hud_fn();
-}
-void draw_flush(void (*hud)(void)) {
- hud_fn = hud;
- gfx_render(scene, 0, 0, SCREEN_H);
-}
diff --git a/games/rider/src/game.c b/games/rider/src/game.c
index fd9f849d..3658c745 100644
--- a/games/rider/src/game.c
+++ b/games/rider/src/game.c
@@ -1,10 +1,16 @@
-/* The ride: the tracks (levels, or the endless run's pieces one after another), their moving and falling parts,
- * and the bike, a rigid body on two wheels sliding on frictionless platforms, as Box2D moves it in the game:
- * the button sets the speed along the bike on the ground and turns it backwards in the air, a crash is the
- * bike's outline hitting the track hard where its front, back, belly or top is.
+/* The ride, as the game runs it: its tracks (levels, or the endless run's pieces one after another) and the bike as
+ * Box2D bodies and joints in the game's own engine (phys.h), built and driven the way its Lua does it:
+ * code.GameCharacter the bike: a main body with the bike's outline, two wheels on pistons, two wheel triggers and
+ * four sensors welded on; the button's speed on the ground, the turning force in the air, the
+ * turn dying down when let go, the wheels' damping, speed pads;
+ * code.Board the push down in the air, the collision tables (which part touches which platform), landing,
+ * flips, and the crashes: a hard knock where a sensor touches, the side of a ground, red saws;
+ * code.GameObject the platforms: static, or dynamic held by a stiff touch joint that its animations move
+ * frame by frame (turns set directly), or by a pivot that a touch takes away.
+ * The frame: the touch, the physics step (with its contact events), then the timers and enterFrame listeners.
*
- * The bike's parts weigh what Box2D gives them in the game (spec: 10.7 kg, 13 kg m^2), so what the game does to
- * its main body (the speed set, the push down in the air, the turning force) moves the whole bike that much. */
+ * The calculator holds the bike and the track near it: static pieces come in and go out as the bike moves (they
+ * touch nothing else), moving ones are followed all the time and their bodies made near the bike. */
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
@@ -12,33 +18,56 @@
#include "rider.h"
#include "data.h"
-#define DT (1.0f / 60)
-#define SUBSTEPS 4
-#define GRAV 294.0f /* 9.8 m/s^2 at 30 px a metre */
-#define MASS 10.73f
-#define INERTIA 11700.0f /* kg px^2 */
-#define K_SET 0.1407f /* the main body's share of the bike's weight */
-#define DOWN_AIR 4.41f /* 3.2 x 9.8 px/s on the main body each frame in the air, for the whole bike */
-#define DAMP_GROUND 0.01314f /* the wheels' damping 3, for the whole bike, a frame */
-#define ACCEL 14.0f
-#define ACCEL_BACK 30.0f
-#define VMAX 550.0f
-#define SPIN_DW (-100.0f / 13.0f * DT) /* the in-air torque, rad/s a frame */
-#define WMAX 8.7266f /* 500 degrees a second */
-#define WHEEL_R 8.4f
-#define TRIG_R 11.2f
-#define WHEEL_Y 13.3f
-#define CRASH_FB 1500.0f /* 50 N s, in kg px/s */
-#define CRASH_BOTTOM 4500.0f /* 150 */
+#define DT_MS (1000.0f / 60)
#define PI 3.14159265f
#define DEG (PI / 180)
+#define CHAR_SCALE 0.7f /* gameCharacterScale */
+#define WHEEL_X1 (-34 * CHAR_SCALE) /* startingPlatformWheel1Position, scaled in setStartingState */
+#define WHEEL_X2 (38 * CHAR_SCALE)
+#define WHEEL_Y ((37 - 36 * 0.5f) * CHAR_SCALE * CHAR_SCALE) /* (group height - wheel half height) x0.7, x0.7 again */
+#define WHEEL_R (12 * CHAR_SCALE)
+#define TRIG_R 11.2f /* wheelTriggerRadius */
+#define TRIG_DY 4 /* wheelTriggerYOffset */
+#define ACCEL 14 /* accelerateDeltaValue */
+#define ACCEL_BACK 30 /* accelerateDeltaValueWhenMovingBackwards */
+#define VMAX 550 /* maxAccelerationVelocityValue */
+#define DOWN_AIR (3.2f * 9.8f) /* additionalInAirDownwardsVelocity x gravityYForceValue, px/s a frame */
+#define DAMP_GROUND 3 /* onGroudCharacterDamping */
+#define AIR_TORQUE (-100.0f) /* inAirAccelerationTorqueValue */
+#define AIR_WMAX (-500.0f) /* inAirAccelerationMaxTorqueValue (deg/s) */
+#define AIR_DELAY 70 /* delayBetweenAccelerationAndRotation */
+#define STOP_ROT_MS 1000 /* stopBikeInAirRotationTime */
+#define STOP_ROT_END 20 /* stopBikeInAirRotationEndTimerDelay */
+#define BOOST_FRAMES 30 /* additionalBoosterDuration */
+#define BOOST_V0 550 /* initialBoosterAccelerationVelocityValue */
+#define BOOST_ADD 2000 /* additionalBoosterForwardVelocity */
+#define BOOST_VMAX 1050 /* maxAdditionalBoosterForwardVelocityValue */
+#define FIRST_FLIP 270 /* firstFlipDegreesAmount */
+#define PERFECT_MS 30 /* gameCharacterPerfectLandingErrorMargin */
+#define BODY_LAND_MS 1000 /* flipTimeToLandOnWheelsAfterBodyTouch */
+#define MAX_LANDINGS 3 /* maxPlatformLandingAmount */
+#define MAX_FORCE 10000 /* maxRealImpactForce */
+#define FRAME_DUR 16.6f /* defaultFrameDurationTime */
+#define BASE_TOP (1600 + 107) /* the ground base's top: groundBaseTopY + 107 on a 16:9 iPhone */
+#define FALL_OUT (1600 + 800) /* fallen past it, between its blocks: gone */
-static const float wheel_x[2] = {-34, 38};
-/* sensors round the body, x0.7 */
-static const float sens_top[] = {-21.35f, -12.95f, 21.35f, -12.95f, 21.35f, 0.35f, -21.35f, 0.35f};
-static const float sens_front[] = {26.95f, -3.85f, 40.95f, -3.85f, 40.95f, 10.15f, 35.35f, 10.15f, 26.95f, 1.75f};
-static const float sens_back[] = {-40.95f, -3.85f, -26.95f, -3.85f, -26.95f, 1.75f, -35.35f, 10.15f, -40.95f, 10.15f};
-static const float sens_bottom[] = {-26.95f, 1.75f, 26.95f, 1.75f, 38.15f, 12.95f, -38.15f, 12.95f};
+/* physicsObjectFilter */
+enum { CAT_BODY = 1, CAT_MAIN = 2, CAT_WHEEL = 4, CAT_TRIG = 8, CAT_SENSOR = 16, CAT_PLATFORM = 32, CAT_PICKUP = 64,
+ CAT_ANIMATED = 128 };
+#define MASK_BODY 224
+#define MASK_MAIN 64
+#define MASK_WHEEL 160
+#define MASK_TRIG 224
+#define MASK_SENSOR 224
+#define MASK_PLATFORM 61
+#define MASK_PICKUP 29
+
+/* fixture tags: the bike's parts, the ground base, then objects (16 + their slot) */
+#define TAG_BASE 14
+#define TAG_OBJ 16
+#define TAG_POLYS 40 /* an object's polygons each have their tag (static ones come and go one by one) */
+
+static rd_run *R; /* the run being stepped (the contact callbacks' world) */
uint32_t rd_rand(uint32_t *s) {
uint32_t x = *s ? *s : 0x9E3779B9u;
@@ -46,139 +75,71 @@ uint32_t rd_rand(uint32_t *s) {
return *s = x;
}
-/* ---------------------------------------------------------------- easing (Corona's) */
-static float bounce(float t) {
- if (t < 1 / 2.75f) return 7.5625f * t * t;
- if (t < 2 / 2.75f) return t -= 1.5f / 2.75f, 7.5625f * t * t + 0.75f;
- if (t < 2.5f / 2.75f) return t -= 2.25f / 2.75f, 7.5625f * t * t + 0.9375f;
- return t -= 2.625f / 2.75f, 7.5625f * t * t + 0.984375f;
-}
-static float ease(int e, float t) {
+/* ---------------------------------------------------------------- the game's easings (code.config.easings: t, b, c, d) */
+static float ease(int e, float t, float b, float c, float d) {
switch (e) {
- case 1: return t < 0.5f ? 2 * t * t : -1 + (4 - 2 * t) * t;
- case 2: return bounce(t);
- case 3: t -= 1; return t * t * (2.70158f * t + 1.70158f) + 1;
- case 4: return t * t;
- case 5: return t * (2 - t);
- case 6: return -(cosf(PI * t) - 1) / 2;
- default: return t;
- }
-}
-/* how far a list of steps has moved by time t (ms) */
-static float steps_at(const rd_step *s, int n, int loops, float t) {
- if (!n || t <= 0) return 0;
- float cycle = 0, sum = 0;
- for (int i = 0; i < n; i++) cycle += s[i].delay + s[i].ms, sum += s[i].delta;
- if (cycle <= 0) return 0;
- float done = 0;
- int k = (int)(t / cycle);
- if (loops > 0 && k >= loops) return sum * loops;
- done = sum * k, t -= cycle * k;
- for (int i = 0; i < n; i++) {
- if (t < s[i].delay) break;
- t -= s[i].delay;
- if (t < s[i].ms) return done + s[i].delta * ease(s[i].ease, t / s[i].ms);
- t -= s[i].ms, done += s[i].delta;
- }
- return done;
-}
-
-/* ---------------------------------------------------------------- the world's objects */
-
-static void add_track(rd_run *r, int track) {
- if (r->nseg == MAXSEG) { /* forget the oldest piece */
- int gone = 0;
- for (int i = 0; i < r->nlive; i++)
- if (r->live[i].seg != 0) r->live[gone] = r->live[i], (void)0, gone++;
- /* (parents of the kept ones: the same piece, so their places moved by the same count) */
- int shift = r->nlive - gone;
- for (int i = 0; i < gone; i++)
- if (r->live[i].parent >= 0) r->live[i].parent = (int16_t)(r->live[i].parent - shift);
- r->nlive = gone;
- for (int i = 0; i < r->nlive; i++) r->live[i].seg--;
- memmove(r->seg, r->seg + 1, sizeof r->seg[0] * (MAXSEG - 1));
- r->nseg--;
- }
- const rd_track *t = &rd_tracks[track];
- int s = r->nseg++;
- r->seg[s].track = (int16_t)track, r->seg[s].x = r->end_x;
- int base = r->nlive;
- for (int i = 0; i < t->n && r->nlive < MAXLIVE; i++) {
- rd_live *l = &r->live[r->nlive];
- memset(l, 0, sizeof *l);
- l->obj = (uint16_t)(t->first + i), l->seg = (uint8_t)s, l->parent = -1;
- const rd_obj *o = &rd_objs[l->obj];
- l->cx = (float)(o->cx + r->end_x), l->cy = o->cy, l->rot = o->rot * (PI / 18000);
- l->x0 = (float)(o->x0 + r->end_x), l->x1 = (float)(o->x1 + r->end_x), l->y0 = o->y0, l->y1 = o->y1;
- if (o->anim != 0xFFFF && !rd_anims[o->anim].on_touch) l->st |= ST_RUN;
- if (o->flags & F_DROP) l->st |= ST_TOUCHED;
- r->nlive++;
- }
- for (int i = base; i < r->nlive; i++) { /* grounds that move with their platform */
- const rd_obj *o = &rd_objs[r->live[i].obj];
- if (o->anim == 0xFFFF || rd_anims[o->anim].child == 0xFFFF) continue;
- int c = base + rd_anims[o->anim].child - t->first;
- if (c >= base && c < r->nlive) r->live[c].parent = (int16_t)i;
+ case 1: /* inOutQuad */
+ t = t / d * 2;
+ if (t < 1) return c / 2 * t * t + b;
+ return -c / 2 * ((t - 1) * (t - 3) - 1) + b;
+ case 2: /* outBounce */
+ t /= d;
+ if (t < 0.36363636f) return c * (7.5625f * t * t) + b;
+ if (t < 0.72727273f) return t -= 0.54545455f, c * (7.5625f * t * t + 0.75f) + b;
+ if (t < 0.90909091f) return t -= 0.81818182f, c * (7.5625f * t * t + 0.9375f) + b;
+ return t -= 0.95454545f, c * (7.5625f * t * t + 0.984375f) + b;
+ case 3: /* outBack */
+ t = t / d - 1;
+ return c * (t * t * (2.70158f * t + 1.70158f) + 1) + b;
+ case 4: t /= d; return c * t * t + b; /* inQuad */
+ case 5: t /= d; return -c * t * (t - 2) + b; /* outQuad */
+ case 6: return -c / 2 * (cosf(PI * t / d) - 1) + b; /* inOutSine */
+ default: return c * t / d + b; /* linear */
}
- r->end_x += t->width;
}
-static void endless_more(rd_run *r) {
- int g = 0;
- for (int i = 1; i < 4; i++)
- if (r->score >= endless_from[i]) g = i;
- int at = 0;
- for (int i = 0; i < g; i++) at += endless_n[i];
- uint32_t k = rd_rand(&r->seed) % endless_n[g];
- add_track(r, NLEVELS + endless_pick[at + k]);
-}
+/* ---------------------------------------------------------------- objects */
+static inline const rd_obj *O(const rd_run *r, int i) { return &rd_objs[r->live[i].obj]; }
+static inline float seg_x(const rd_run *r, int i) { return (float)r->seg[r->live[i].seg].x; }
-/* an object's pose now, from its animation and its fall */
-static void pose(rd_run *r, int i) {
- rd_live *l = &r->live[i];
- const rd_obj *o = &rd_objs[l->obj];
- int src = r->live[i].parent >= 0 ? r->live[i].parent : i;
- const rd_live *ls = &r->live[src];
- const rd_obj *os = &rd_objs[ls->obj];
- float ox = (float)r->seg[l->seg].x;
- float bx = o->cx + ox, by = o->cy, br = o->rot * (PI / 18000);
- float pcx = l->cx, pcy = l->cy, pr = l->rot;
- if (os->anim != 0xFFFF) {
- const rd_anim *a = &rd_anims[os->anim];
- const rd_step *s = &rd_steps[a->first];
- float t = (ls->st & ST_RUN) ? ls->t - a->start_delay : 0;
- float dr = steps_at(s, a->nrot, a->loops, t) * DEG;
- float dx = steps_at(s + a->nrot, a->nx, a->loops, t), dy = steps_at(s + a->nrot + a->nx, a->ny, a->loops, t);
- if (ls->st & ST_FALL) dy += 0.5f * GRAV * (ls->ft / 1000) * (ls->ft / 1000);
- float px = a->px + ox, py = a->py, c = cosf(dr), sn = sinf(dr);
- l->cx = px + c * (bx - px) - sn * (by - py) + dx;
- l->cy = py + sn * (bx - px) + c * (by - py) + dy;
- l->rot = br + dr;
- } else {
- l->cx = bx, l->cy = by, l->rot = br;
- }
- l->dx = l->cx - pcx, l->dy = l->cy - pcy, l->dr = l->rot - pr;
- /* the box: the data's, turned and moved the same way */
- if (os->anim != 0xFFFF) {
- float c = cosf(l->rot - br), sn = sinf(l->rot - br), mx = 1e9f, my = 1e9f, Mx = -1e9f, My = -1e9f;
- float xs[2] = {o->x0 + ox - bx, o->x1 + ox - bx}, ys[2] = {(float)o->y0 - by, (float)o->y1 - by};
- for (int k = 0; k < 4; k++) {
- float x = xs[k & 1], y = ys[k >> 1], X = l->cx + c * x - sn * y, Y = l->cy + sn * x + c * y;
- mx = fminf(mx, X), my = fminf(my, Y), Mx = fmaxf(Mx, X), My = fmaxf(My, Y);
+void obj_pose(const rd_run *r, int i, float *x, float *y, float *rot) {
+ const rd_live *l = &r->live[i];
+ if (l->dyn != NO_DYN) {
+ const rd_dyn *d = &r->dyn[l->dyn];
+ if (d->body) {
+ float deg;
+ ph_get(d->body, x, y, &deg);
+ *rot = deg * DEG;
+ return;
}
- l->x0 = mx, l->y0 = my, l->x1 = Mx, l->y1 = My;
+ *x = d->x, *y = d->y, *rot = d->rot * DEG;
+ return;
}
+ const rd_obj *o = O(r, i);
+ *x = o->cx + seg_x(r, i), *y = o->cy, *rot = o->rot * DEG;
}
-
-/* polygon k of an object, in the world: returns its number of points */
-int obj_poly(const rd_run *r, int i, int k, float *xy) {
+void obj_box(const rd_run *r, int i, float *x0, float *y0, float *x1, float *y1) {
+ const rd_obj *o = O(r, i);
+ float ox = seg_x(r, i);
+ *x0 = o->x0 + ox, *y0 = o->y0, *x1 = o->x1 + ox, *y1 = o->y1;
const rd_live *l = &r->live[i];
- const rd_obj *o = &rd_objs[l->obj];
- float c = cosf(l->rot), s = sinf(l->rot);
- if (o->tpl == 0xFF) { /* a gem or the finish: its box */
+ if (l->dyn == NO_DYN) return;
+ /* moved and turned: the box round its turned box */
+ float x, y, a;
+ obj_pose(r, i, &x, &y, &a);
+ float hx = (o->x1 - o->x0) * 0.5f, hy = (o->y1 - o->y0) * 0.5f, rr = sqrtf(hx * hx + hy * hy);
+ float mx = (o->x0 + o->x1) * 0.5f + ox - (o->cx + ox), my = (o->y0 + o->y1) * 0.5f - o->cy;
+ float da = a - o->rot * DEG, c = cosf(da), s = sinf(da);
+ float bx = x + c * mx - s * my, by = y + s * mx + c * my;
+ *x0 = bx - rr, *x1 = bx + rr, *y0 = by - rr, *y1 = by + rr;
+}
+
+/* a template polygon of an object in its own frame (pixels round its centre): returns its points */
+static int tpl_local(const rd_obj *o, int k, float *xy) {
+ if (o->tpl == 0xFF) {
if (k) return 0;
- float hw = o->sx / 2, hh = o->sy / 2, q[8] = {-hw, -hh, hw, -hh, hw, hh, -hw, hh};
- for (int j = 0; j < 4; j++) xy[2 * j] = l->cx + c * q[2 * j] - s * q[2 * j + 1], xy[2 * j + 1] = l->cy + s * q[2 * j] + c * q[2 * j + 1];
+ float hw = fabsf(o->sx) / 2, hh = fabsf(o->sy) / 2, q[8] = {-hw, -hh, hw, -hh, hw, hh, -hw, hh};
+ memcpy(xy, q, sizeof q);
return 4;
}
int p = tpl_poly[o->tpl] + k;
@@ -187,441 +148,1023 @@ int obj_poly(const rd_run *r, int i, int k, float *xy) {
bool flip = (o->sx < 0) != (o->sy < 0);
for (int j = 0; j < n; j++) {
int v = v0 + (flip ? n - 1 - j : j);
- float x = tpl_xy[2 * v] * 0.25f * o->sx, y = tpl_xy[2 * v + 1] * 0.25f * o->sy;
- xy[2 * j] = l->cx + c * x - s * y, xy[2 * j + 1] = l->cy + s * x + c * y;
+ xy[2 * j] = tpl_xy[2 * v] * 0.25f * o->sx, xy[2 * j + 1] = tpl_xy[2 * v + 1] * 0.25f * o->sy;
}
return n;
}
-
-/* ---------------------------------------------------------------- geometry */
-/* the point of a convex polygon (clockwise on screen) nearest to p: distance, signed (negative inside), normal out */
-static float poly_dist(const float *xy, int n, float px, float py, float *nx, float *ny) {
- float best = -1e9f, bnx = 0, bny = -1;
- bool inside = true;
- float out_d = 1e9f, onx = 0, ony = -1;
+/* the same in the world, where it is now (for drawing) */
+int obj_poly(const rd_run *r, int i, int k, float *xy) {
+ int n = tpl_local(O(r, i), k, xy);
+ if (!n) return 0;
+ float x, y, a;
+ obj_pose(r, i, &x, &y, &a);
+ float c = cosf(a), s = sinf(a);
for (int j = 0; j < n; j++) {
- float ax = xy[2 * j], ay = xy[2 * j + 1], bx = xy[2 * ((j + 1) % n)], by = xy[2 * ((j + 1) % n) + 1];
- float ex = bx - ax, ey = by - ay, len = sqrtf(ex * ex + ey * ey);
- if (len < 1e-4f) continue;
- float mx = ey / len, my = -ex / len; /* outward for clockwise-on-screen */
- float d = (px - ax) * mx + (py - ay) * my;
- if (d > best) best = d, bnx = mx, bny = my;
- if (d > 0) inside = false;
- /* the distance to the edge as a segment */
- float t = ((px - ax) * ex + (py - ay) * ey) / (len * len);
- t = t < 0 ? 0 : t > 1 ? 1 : t;
- float qx = ax + ex * t - px, qy = ay + ey * t - py, dd = sqrtf(qx * qx + qy * qy);
- if (dd < out_d) out_d = dd, onx = dd > 1e-5f ? -qx / dd : mx, ony = dd > 1e-5f ? -qy / dd : my;
- }
- if (inside) return *nx = bnx, *ny = bny, best;
- return *nx = onx, *ny = ony, out_d;
-}
-static bool polys_overlap(const float *a, int na, const float *b, int nb) {
- for (int pass = 0; pass < 2; pass++) {
- const float *p = pass ? b : a;
- int n = pass ? nb : na;
- for (int j = 0; j < n; j++) {
- float ex = p[2 * ((j + 1) % n)] - p[2 * j], ey = p[2 * ((j + 1) % n) + 1] - p[2 * j + 1];
- float mx = ey, my = -ex, amin = 1e9f, amax = -1e9f, bmin = 1e9f, bmax = -1e9f;
- for (int k = 0; k < na; k++) { float d = a[2 * k] * mx + a[2 * k + 1] * my; amin = fminf(amin, d), amax = fmaxf(amax, d); }
- for (int k = 0; k < nb; k++) { float d = b[2 * k] * mx + b[2 * k + 1] * my; bmin = fminf(bmin, d), bmax = fmaxf(bmax, d); }
- if (amax < bmin || bmax < amin) return false;
+ float px = xy[2 * j], py = xy[2 * j + 1];
+ xy[2 * j] = x + c * px - s * py, xy[2 * j + 1] = y + s * px + c * py;
+ }
+ return n;
+}
+
+static bool animated(const rd_obj *o) { return o->anim != 0xFFFF; }
+static bool dynamic(const rd_obj *o) { return animated(o) || (o->flags & F_ACTIVE); }
+
+/* ---------------------------------------------------------------- timers (Corona's, fired in the frame's enterFrame) */
+enum { TM_SET_GROUND, TM_DEATH_BEGAN, TM_DEATH_ENDED, TM_TOP_CLEAR, TM_PERFECT, TM_BODY_LAND, TM_STOP_ROT_END, TM_PIVOT };
+static void timer_add(rd_run *r, float delay, int kind, int a, int b) {
+ if (r->ntimer == MAXTIMER) return;
+ rd_timer *t = &r->timer[r->ntimer++];
+ t->at = r->ms + delay, t->kind = (uint8_t)kind, t->a = (uint16_t)a, t->b = (uint8_t)b;
+}
+static void timer_cancel(rd_run *r, int kind) {
+ for (int i = 0; i < r->ntimer; i++)
+ if (r->timer[i].kind == kind) r->timer[i] = r->timer[--r->ntimer], i--;
+}
+
+/* ---------------------------------------------------------------- the collision tables */
+static void touch_add(rd_run *r, int table, int who, int what, int d) {
+ for (int i = 0; i < r->ntouch; i++) {
+ rd_touch *t = &r->touch[i];
+ if (t->table == table && t->who == who && t->what == what) {
+ t->n = (int16_t)(t->n + d);
+ if (t->n == 0) r->touch[i] = r->touch[--r->ntouch]; /* (a count of 0 is taken out, as the game does) */
+ return;
}
}
- return true;
+ if (d == 0 || r->ntouch == MAXTOUCH) return;
+ rd_touch *t = &r->touch[r->ntouch++];
+ t->table = (uint8_t)table, t->who = (uint8_t)who, t->what = (uint16_t)what, t->n = (int16_t)d;
+}
+static int touch_sum(const rd_run *r, int table, int who) { /* who < 0: anyone */
+ int s = 0;
+ for (int i = 0; i < r->ntouch; i++)
+ if (r->touch[i].table == table && (who < 0 || r->touch[i].who == who)) s += r->touch[i].n;
+ return s;
}
-/* ---------------------------------------------------------------- the bike */
-static void to_world(const rd_bikestate *b, float lx, float ly, float *x, float *y) {
- float c = cosf(b->a), s = sinf(b->a);
- *x = b->x + c * lx - s * ly, *y = b->y + s * lx + c * ly;
+/* ---------------------------------------------------------------- the bike's state, as GameCharacter's methods */
+static ph_body *MB(rd_run *r) { return r->b.part[BP_MAIN]; }
+static bool in_air(const rd_run *r) { return !r->b.on_ground[BP_TRIG1] && !r->b.on_ground[BP_TRIG2]; }
+static float main_rot(rd_run *r) { /* the body picture's rotation: the main body's, in degrees */
+ float x, y, a;
+ ph_get(MB(r), &x, &y, &a);
+ return a;
+}
+static float lua_mod(float a, float m) { return a - floorf(a / m) * m; }
+/* getForwardSpeed: |vx / cos(rotation)| */
+static float forward_speed(rd_run *r) {
+ float vx, vy;
+ ph_vel(MB(r), &vx, &vy);
+ return fabsf(vx / cosf(lua_mod(main_rot(r), 360) * PI / 180));
+}
+/* setGround(onGround, object) */
+static void set_ground(rd_run *r, bool on, int part) {
+ rd_bikestate *b = &r->b;
+ if (!b->on_ground[part] && on && (part == BP_TRIG1 || part == BP_TRIG2)) b->landing_ms[part - BP_TRIG1] = r->ms;
+ b->on_ground[part] = on;
+}
+static void cancel_stop_rotation(rd_run *r) {
+ rd_bikestate *b = &r->b;
+ b->stop_rot = false;
+ ph_set_fixed_rot(MB(r), false);
+}
+static void stop_rotation(rd_run *r) {
+ rd_bikestate *b = &r->b;
+ cancel_stop_rotation(r);
+ b->stop_rot_ms = r->ms + DT_MS, b->stop_rot_w0 = ph_avel(MB(r)); /* (let go before this frame's step) */
+ b->stop_rot = true;
+ ph_set_fixed_rot(MB(r), true);
+}
+/* the accelerate timer's function (every frame while held; first: the call made by accelerate itself) */
+static void accel_tick(rd_run *r, bool first) {
+ rd_bikestate *b = &r->b;
+ float air_t = b->in_air_ms >= 0 ? r->ms - b->in_air_ms : 0;
+ if (!in_air(r)) {
+ if (b->boost) { b->speed = forward_speed(r); return; }
+ if (forward_speed(r) > VMAX) return;
+ if (b->accel_in_air > 0) { b->accel_in_air--, b->speed = forward_speed(r); return; }
+ b->speed += (float)b->delta;
+ if (b->speed > VMAX) b->speed = VMAX;
+ float a = lua_mod(main_rot(r), 360) * PI / 180;
+ ph_set_vel(MB(r), cosf(a) * b->speed, sinf(a) * b->speed);
+ } else if (AIR_DELAY < air_t) {
+ if (first) b->accel_in_air = 2;
+ ph_set_fixed_rot(MB(r), false);
+ if (AIR_WMAX < ph_avel(MB(r))) ph_torque(MB(r), AIR_TORQUE);
+ }
+}
+static void accelerate(rd_run *r) {
+ rd_bikestate *b = &r->b;
+ b->accelerating = true, b->accel_fresh = true;
+ b->speed = forward_speed(r);
+ accel_tick(r, true);
+}
+static void stop_accelerate(rd_run *r) {
+ rd_bikestate *b = &r->b;
+ b->accelerating = false, b->accel_in_air = 0;
+ if (!(b->on_ground[BP_TRIG1] || b->on_ground[BP_TRIG2])) stop_rotation(r);
+ else cancel_stop_rotation(r);
+}
+static void set_boost(rd_run *r, float rot) {
+ rd_bikestate *b = &r->b;
+ if (b->boost) return;
+ if (rot < 0) rot += 360;
+ b->boost = true, b->boost_frames = BOOST_FRAMES, b->boost_first = 4;
+ b->boost_rot = lua_mod(rot, 360) * PI / 180, b->boost_angle_set = false;
+}
+static bool two_wheels_landed(const rd_run *r) {
+ return (touch_sum(r, T_TOP, BP_TRIG1) > 0) + (touch_sum(r, T_TOP, BP_TRIG2) > 0) == 2;
}
-typedef struct {
- float px, py, nx, ny, depth, jn, mass;
- float rx, ry;
- float vx, vy; /* the track's own speed there */
- int16_t obj;
- uint8_t hull;
-} contact;
-#define MAXC 48
-static contact cs[MAXC];
-static int ncs;
-static float hull_impulse;
-static bool hit_enemy;
-static int touched_boost;
+/* ---------------------------------------------------------------- texts and the score */
+static void say(rd_run *r, const char *t, const char *t2) { r->text = t, r->text2 = t2, r->text_ms = 1500; }
-static bool solid(const rd_live *l) {
- const rd_obj *o = &rd_objs[l->obj];
- return (o->kind == K_GROUND || o->kind == K_PLATFORM || o->kind == K_BOOST) && !(l->st & ST_GONE);
+/* GameController.flipMade: a point waiting for the landing (levels: half a second off the time) */
+static void flip_made(rd_run *r, int n) {
+ rd_bikestate *b = &r->b;
+ b->air_flips += n, r->flips += n;
+ if (r->mode == RUN_ENDLESS) r->pending += n;
+}
+/* Board.characterLanded's end: the texts, the flips counted (a perfect landing or not) */
+static void landed_texts(rd_run *r, bool perfect) {
+ rd_bikestate *b = &r->b;
+ int n = b->air_flips;
+ if (perfect) r->perfect++;
+ if (n >= 2) {
+ int k = n > 6 ? 6 : n, kind = perfect ? 0 : 1, m = flip_ntexts[(k - 2) * 2 + kind];
+ say(r, flip_texts[k - 2][kind][rd_rand(&r->seed) % m], 0);
+ r->doubles++;
+ } else if (n == 1 && perfect) {
+ say(r, "Perfect!", 0);
+ } else if (n == 1 && b->front_flip) {
+ say(r, front_texts[rd_rand(&r->seed) % 2], 0);
+ }
+ float air = b->in_air_ms >= 0 ? r->ms - b->in_air_ms : 0;
+ if (air >= 2000 && n < 2) {
+ int k = air >= 5000 ? 3 : air >= 4000 ? 2 : air >= 3000 ? 1 : 0;
+ say(r, air_texts[k], r->text);
+ }
+ if (n > r->best_flips_jump) r->best_flips_jump = n;
+ if (n && r->mode == RUN_ENDLESS) r->landed_flips += n, r->pending_ms = 500;
+ b->air_flips = 0, b->front_flip = false;
+ b->in_air_ms = -1;
+}
+static void landing_check(rd_run *r) { /* waitForLandingOrDelay: checkPerfectLanding, mergeHudBonusScore */
+ rd_bikestate *b = &r->b;
+ bool perfect = two_wheels_landed(r) && b->in_air_ms >= 0 && fabsf(b->landing_ms[0] - b->landing_ms[1]) < PERFECT_MS &&
+ b->air_flips > 0;
+ landed_texts(r, perfect);
+}
+static void lose_bonus(rd_run *r) { /* hudResetBonusScore */
+ rd_bikestate *b = &r->b;
+ if (r->mode == RUN_ENDLESS) r->pending -= b->air_flips;
+ b->air_flips = 0, b->front_flip = false;
+}
+/* Board.characterLanded(platform, the trigger or nothing) */
+static void character_landed(rd_run *r, int obj, int trig) {
+ r->body_touch = false;
+ timer_cancel(r, TM_BODY_LAND);
+ if (trig) {
+ timer_cancel(r, TM_PERFECT);
+ if (obj >= 0) { /* GameObject.setLanded */
+ rd_live *l = &r->live[obj];
+ if (l->landed != MAX_LANDINGS && two_wheels_landed(r)) l->landed++;
+ }
+ if (two_wheels_landed(r)) landing_check(r);
+ else timer_add(r, PERFECT_MS, TM_PERFECT, obj < 0 ? 0xFFFF : obj, 0);
+ } else {
+ lose_bonus(r);
+ }
}
-static void add_contact(rd_run *r, int obj, float px, float py, float nx, float ny, float depth, bool hull) {
- if (ncs == MAXC) return;
- contact *c = &cs[ncs++];
+/* ---------------------------------------------------------------- crashing */
+static const char *crash_why;
+static void crash(rd_run *r) {
+ if (r->ended) return;
rd_bikestate *b = &r->b;
- c->px = px, c->py = py, c->nx = nx, c->ny = ny, c->depth = depth, c->jn = 0, c->hull = hull, c->obj = (int16_t)obj;
- c->rx = px - b->x, c->ry = py - b->y;
- float rn = c->rx * ny - c->ry * nx;
- c->mass = 1 / (1 / MASS + (b->fixed ? 0 : rn * rn / INERTIA));
- const rd_live *l = &r->live[obj];
- /* the track's speed at that point (moving and turning parts) */
- float w = l->dr * 60, ax = px - l->cx, ay = py - l->cy;
- c->vx = l->dx * 60 - w * ay, c->vy = l->dy * 60 + w * ax;
+ r->ended = END_CRASH, r->end_ms = 0, r->pending -= r->landed_flips + b->air_flips, r->landed_flips = 0;
+ if (r->pending < 0) r->pending = 0;
+ b->accelerating = false;
+ /* the bike in pieces, as the game breaks it in six, and sparks */
+ r->nbits = 0;
+ float c = cosf(b->a), s = sinf(b->a);
+ for (int i = 0; i < NBITS; i++) {
+ rd_bit *p = &r->bits[r->nbits++];
+ uint32_t q = rd_rand(&r->seed);
+ float ang = (q & 1023) / 1023.0f * 2 * PI, sp = 60 + (q >> 10 & 255) * 1.2f;
+ float lx = i < 6 ? (i % 3 - 1) * 26.0f * CHAR_SCALE : 0, ly = i < 6 ? (i / 3) * 12.0f * CHAR_SCALE - 4 : 0;
+ p->x = b->x + c * lx - s * ly, p->y = b->y + s * lx + c * ly;
+ p->vx = b->vx * 0.4f + cosf(ang) * sp, p->vy = b->vy * 0.4f + sinf(ang) * sp - 120;
+ p->a = b->a, p->w = ((q >> 18 & 63) - 32) * 0.4f;
+ p->c = i < 6 ? C_BODY : i < 10 ? C_WHITE : C_SPARK, p->size = i < 6 ? 12 : 2;
+ }
+ r->shake = 0.3f;
+}
+
+/* ---------------------------------------------------------------- the contact events (Board's listeners) */
+static int part_of(uint16_t tag) { return tag < BP_N + 1 ? tag - 1 : -1; } /* tags 1..9: the bike's parts */
+static int obj_of(uint16_t tag) { return tag >= TAG_OBJ ? (tag - TAG_OBJ) / TAG_POLYS : -1; }
+static inline uint16_t tag_for(int i, int k) { return (uint16_t)(TAG_OBJ + i * TAG_POLYS + k); }
+/* "the name" of an object, as gameObjectTypesPhysicsName gives it */
+enum { NM_NONE, NM_GROUND, NM_TOP, NM_BOOST, NM_ENEMY, NM_FINISH, NM_PICKUP, NM_BASE };
+static int name_of(const rd_run *r, uint16_t tag) {
+ if (tag == TAG_BASE) return NM_BASE;
+ int o = obj_of(tag);
+ if (o < 0) return NM_NONE;
+ switch (O(r, o)->kind) {
+ case K_GROUND: return NM_GROUND;
+ case K_PLATFORM: return NM_TOP;
+ case K_BOOST: return NM_BOOST;
+ case K_ENEMY: return NM_ENEMY;
+ case K_FINISH: return NM_FINISH;
+ default: return NM_PICKUP;
+ }
}
+static void obj_on_collision(rd_run *r, int o);
+static void obj_on_precollision(rd_run *r, int o);
+static void instant_death(rd_run *r) { crash_why = "deadly", crash(r); }
-/* contacts of the wheels and the bike's outline with the track near it */
-static void find_contacts(rd_run *r, int bike) {
+/* Board's "collision" listener, both phases */
+static void collision(bool began, uint16_t ta, uint16_t tb) {
+ rd_run *r = R;
rd_bikestate *b = &r->b;
- ncs = 0;
- float wx[2], wy[2];
- for (int k = 0; k < 2; k++) to_world(b, wheel_x[k], WHEEL_Y, &wx[k], &wy[k]);
- /* the outline */
- const rd_bike *bk = &rd_bikes[bike];
- float hull[8][16];
- int hn[8], nh = bk->hn > 8 ? 8 : bk->hn;
- float hx0 = 1e9f, hy0 = 1e9f, hx1 = -1e9f, hy1 = -1e9f;
- for (int h = 0; h < nh; h++) {
- int v0 = hull_poly[bk->h0 + h], n = hull_poly[bk->h0 + h + 1] - v0;
- if (n > 8) n = 8;
- hn[h] = n;
- for (int j = 0; j < n; j++) {
- to_world(b, hull_xy[2 * (v0 + j)] * 0.5f, hull_xy[2 * (v0 + j) + 1] * 0.5f, &hull[h][2 * j], &hull[h][2 * j + 1]);
- hx0 = fminf(hx0, hull[h][2 * j]), hx1 = fmaxf(hx1, hull[h][2 * j]);
- hy0 = fminf(hy0, hull[h][2 * j + 1]), hy1 = fmaxf(hy1, hull[h][2 * j + 1]);
+ int pa = part_of(ta), pb = part_of(tb);
+#define PICK(cond) ((pa >= 0 && (cond(pa))) ? pa : (pb >= 0 && (cond(pb))) ? pb : -1)
+#define IS_WHEEL(p) ((p) == BP_WHEEL1 || (p) == BP_WHEEL2)
+#define IS_TRIG(p) ((p) == BP_TRIG1 || (p) == BP_TRIG2)
+#define IS_MAIN(p) ((p) == BP_MAIN)
+#define IS_SENS(p) ((p) >= BP_FRONT)
+ int wheel = PICK(IS_WHEEL), trig = PICK(IS_TRIG), mainb = PICK(IS_MAIN);
+ int sens = -1; /* sensorFront, sensorBottom, sensorTop, sensorBack: the first found in that order */
+ for (int s = BP_FRONT; s <= BP_BACK && sens < 0; s++)
+ if (pa == s || pb == s) sens = s;
+ int na = name_of(r, ta), nb = name_of(r, tb);
+#define FIND(nm) (na == (nm) ? obj_of(ta) : nb == (nm) ? obj_of(tb) : -2)
+ int ground = FIND(NM_GROUND), top = FIND(NM_TOP), boost = FIND(NM_BOOST), enemy = FIND(NM_ENEMY);
+ int finish = FIND(NM_FINISH), pickup = FIND(NM_PICKUP);
+ bool base = na == NM_BASE || nb == NM_BASE;
+ bool g = ground != -2, t = top != -2, bo = boost != -2, en = enemy != -2;
+ if (!r->finish_passed && (wheel >= 0 || trig >= 0 || mainb >= 0) && finish != -2) {
+ r->finish_passed = true;
+ if (!r->ended) r->ended = END_FINISH, r->end_ms = 0;
+ return;
+ }
+ int oa = obj_of(ta), ob = obj_of(tb);
+ if (oa >= 0) obj_on_collision(r, oa);
+ if (ob >= 0) obj_on_collision(r, ob);
+ int d = began ? 1 : -1;
+ if (trig >= 0 && (t || bo)) touch_add(r, T_TOP, trig, t ? top : boost, d);
+ if (trig >= 0 && bo) touch_add(r, T_BOOST, trig, boost, d);
+ if (trig >= 0 && (g || base || en)) touch_add(r, T_DEADLY, trig, g ? ground : base ? 0xFFFF : enemy, d);
+ if (mainb >= 0 && (t || bo)) touch_add(r, T_BODY, 0, t ? top : boost, d);
+ if (sens >= 0 && t) touch_add(r, T_SENS, sens, top, d);
+ if (began) {
+ bool just_landed = false;
+ int n_trig = trig >= 0 ? touch_sum(r, T_TOP, trig) : -1, n_body = mainb >= 0 ? touch_sum(r, T_BODY, 0) : -1;
+ if (trig >= 0 && n_trig == 1) just_landed = in_air(r), set_ground(r, true, trig);
+ else if (wheel >= 0) just_landed = in_air(r), set_ground(r, true, wheel);
+ else if (mainb >= 0 && n_body == 1) just_landed = in_air(r), timer_cancel(r, TM_SET_GROUND), timer_add(r, 80, TM_SET_GROUND, 0, 0);
+ if (((trig >= 0 && n_trig == 0) || (mainb >= 0 && n_body == 0)) && (g || base || en)) {
+ if (r->death_check) return;
+ r->death_check = true;
+ timer_add(r, 16, TM_DEATH_BEGAN, (uint16_t)((trig >= 0 ? trig : 0xFF) | (mainb >= 0 ? 0x100 : 0) | (wheel >= 0 ? 0x200 : 0)),
+ (uint8_t)((en ? 1 : 0) | (g ? 2 : 0) | (base ? 4 : 0)));
+ return;
+ }
+ if ((trig >= 0 || mainb >= 0) && t) {
+ if (just_landed && trig >= 0) {
+ if (top >= 0 && r->live[top].landed == MAX_LANDINGS) character_landed(r, top, 0);
+ else character_landed(r, top, trig + 1);
+ } else if (trig < 0) { /* the body touched first: the flips are lost unless the wheels follow within a second */
+ if (b->air_flips > 0) {
+ timer_cancel(r, TM_BODY_LAND);
+ timer_add(r, BODY_LAND_MS, TM_BODY_LAND, top, 0);
+ r->body_touch = true;
+ }
+ } else if (r->body_touch) {
+ if (top >= 0 && r->live[top].landed == MAX_LANDINGS) character_landed(r, top, 0);
+ else character_landed(r, top, trig + 1);
+ }
+ } else if (trig >= 0 && bo) {
+ float x, y, a;
+ obj_pose(r, boost, &x, &y, &a);
+ set_boost(r, a / DEG); /* checkOnBoostLanding: setBoost(the pad's rotation) */
+ } else if (!r->ended && (wheel >= 0 || mainb >= 0) && pickup != -2) {
+ rd_live *l = &r->live[pickup];
+ if (!(l->st & ST_GONE)) l->st |= ST_GONE, r->gems++;
}
+ } else if (!r->ended && (wheel >= 0 || mainb >= 0 || trig >= 0) && (t || bo)) {
+ if (trig >= 0 && touch_sum(r, T_TOP, trig) == 0) {
+ set_ground(r, false, trig);
+ if (touch_sum(r, T_DEADLY, trig) > 0) timer_add(r, 16, TM_DEATH_ENDED, trig, 0);
+ if (touch_sum(r, T_TOP, -1) == 0) { /* off the ground: where the flips count from */
+ float rot = main_rot(r), v = rot + (360 - FIRST_FLIP);
+ b->flip_zero = v - lua_mod(v, 360), b->flip_zero_set = true;
+ b->flip_dir = 0, b->flip_very_start = v, b->flip_abs_start = rot;
+ }
+ } else if (mainb >= 0 && touch_sum(r, T_BODY, 0) == 0) {
+ timer_cancel(r, TM_SET_GROUND);
+ set_ground(r, false, BP_MAIN);
+ } else if (wheel >= 0) {
+ set_ground(r, false, wheel);
+ }
+ }
+}
+static void cb_begin(uint16_t ta, uint16_t ca, uint16_t tb, uint16_t cb) { (void)ca, (void)cb; collision(true, ta, tb); }
+static void cb_end(uint16_t ta, uint16_t ca, uint16_t tb, uint16_t cb) { (void)ca, (void)cb; collision(false, ta, tb); }
+/* Board's "preCollision": the objects hear it when the bike or a platform top is in it */
+static void cb_pre(uint16_t ta, uint16_t tb) {
+ rd_run *r = R;
+ int pa = part_of(ta), pb = part_of(tb);
+ bool bike = (pa >= 0 && pa <= BP_TRIG2) || (pb >= 0 && pb <= BP_TRIG2);
+ if (!bike && name_of(r, ta) != NM_TOP && name_of(r, tb) != NM_TOP) return;
+ int oa = obj_of(ta), ob = obj_of(tb);
+ if (oa >= 0) obj_on_precollision(r, oa);
+ if (ob >= 0) obj_on_precollision(r, ob);
+}
+/* the main body's "postCollision" (postCollisionOnBoard): a knock harder than its sensor's threshold breaks it */
+static void cb_post(uint16_t ta, uint16_t ca, uint16_t tb, uint16_t cb, float force) {
+ rd_run *r = R;
+ (void)ca, (void)cb;
+ uint16_t other;
+ if (part_of(ta) == BP_MAIN) other = tb;
+ else if (part_of(tb) == BP_MAIN) other = ta;
+ else return;
+ if (r->ended || force > MAX_FORCE) return;
+ int thr = -1, which = -1;
+ if (touch_sum(r, T_SENS, BP_TOP) > 0) thr = 0, which = BP_TOP; /* deathImpactThresholdTop */
+ else {
+ if (touch_sum(r, T_SENS, BP_FRONT) > 0) thr = 50, which = BP_FRONT;
+ if (touch_sum(r, T_SENS, BP_BOTTOM) > 0 && (thr < 0 || thr < 150)) thr = 150, which = BP_BOTTOM;
+ if (touch_sum(r, T_SENS, BP_BACK) > 0 && (thr < 0 || thr < 50)) thr = 50, which = BP_BACK;
+ }
+ if (thr < 0) return;
+ int o = obj_of(other);
+ if (o >= 0 && (O(r, o)->flags & F_SAFE)) return; /* dontDieOnCollision */
+ if (force <= (float)thr) return;
+ if ((r->top_frame >= 0 && (uint32_t)(r->top_frame + 1) < r->frame) || which != BP_TOP) {
+ timer_cancel(r, TM_TOP_CLEAR);
+ r->top_frame = -1;
+ crash_why = which == BP_TOP ? "top" : which == BP_BOTTOM ? "bottom" : "front/back";
+ crash(r); /* overTheBackGameOver */
+ } else if (r->top_frame < 0) {
+ timer_add(r, 50, TM_TOP_CLEAR, 0, 0);
+ r->top_frame = (int)r->frame;
+ }
+}
+static const ph_listener listener = {cb_begin, cb_end, cb_pre, cb_post};
+
+/* ---------------------------------------------------------------- objects in the physics world */
+static ph_fixdef plat_fix(bool anim, int tag) {
+ ph_fixdef f = {2, 0, 0, anim ? CAT_ANIMATED : CAT_PLATFORM, MASK_PLATFORM, false, (uint16_t)tag}; /* physics.json */
+ return f;
+}
+/* polygon k of a static object in the world (gems and the finish: their box): its points, 0 past the last */
+static int static_poly(const rd_run *r, int i, int k, float *xy) {
+ const rd_obj *o = O(r, i);
+ float ox = seg_x(r, i);
+ float c = cosf(o->rot * DEG), s = sinf(o->rot * DEG);
+ int n;
+ if (o->kind == K_GEM || o->kind == K_FINISH) {
+ if (k) return 0;
+ /* GamePickup.addPhysics: a sensor box, 0.6 x 1.1 of its picture; finishObject: its rectangle, not turned */
+ float f = o->kind == K_GEM ? 0.66f : 1, hw = fabsf(o->sx) * f / 2, hh = fabsf(o->sy) * f / 2;
+ float q[8] = {-hw, -hh, hw, -hh, hw, hh, -hw, hh};
+ if (o->kind == K_FINISH) c = 1, s = 0;
+ memcpy(xy, q, sizeof q), n = 4;
+ } else if (!(n = tpl_local(o, k, xy))) return 0;
+ for (int j = 0; j < n; j++) {
+ float px = xy[2 * j], py = xy[2 * j + 1];
+ xy[2 * j] = o->cx + ox + c * px - s * py, xy[2 * j + 1] = o->cy + s * px + c * py;
}
- float bx0 = fminf(fminf(wx[0], wx[1]) - TRIG_R, hx0), bx1 = fmaxf(fmaxf(wx[0], wx[1]) + TRIG_R, hx1);
- float by0 = fminf(fminf(wy[0], wy[1]) - TRIG_R, hy0), by1 = fmaxf(fmaxf(wy[0], wy[1]) + TRIG_R, hy1);
- b->wheel_down[0] = b->wheel_down[1] = 0;
+ return n;
+}
+static void static_in(rd_run *r, int i, int k, const float *xy, int n) {
+ const rd_obj *o = O(r, i);
+ ph_fixdef f;
+ if (o->kind == K_GEM || o->kind == K_FINISH) {
+ ph_fixdef q = {0, 0, 0, CAT_PICKUP, MASK_PICKUP, true, tag_for(i, k)};
+ f = q;
+ } else f = plat_fix(false, tag_for(i, k));
+ ph_poly(ph_ground(), xy, n, &f);
+}
+static void static_out(rd_run *r, int i) {
+ uint64_t *m = &r->pmask[i];
+ for (int k = 0; *m; k++)
+ if (*m >> k & 1) ph_free_tag(ph_ground(), tag_for(i, k)), *m &= ~((uint64_t)1 << k);
+}
+/* a moving object's body (GameObject.addPhysics) */
+static void dyn_in(rd_run *r, int i) {
+ rd_live *l = &r->live[i];
+ rd_dyn *d = &r->dyn[l->dyn];
+ const rd_obj *o = O(r, i);
+ bool anim = animated(o);
+ float bx = d->x, by = d->y;
+ if (anim) bx = d->tx, by = d->ty; /* (where its touch joint holds it) */
+ d->body = ph_body_new(PH_DYNAMIC, bx, by, d->rot);
+ ph_fixdef f = plat_fix(anim, tag_for(i, 0));
float xy[64];
- for (int i = 0; i < r->nlive; i++) {
- rd_live *l = &r->live[i];
- if (l->x1 < bx0 || l->x0 > bx1 || l->y1 < by0 || l->y0 > by1 || (l->st & ST_GONE)) continue;
- const rd_obj *o = &rd_objs[l->obj];
- if (o->kind == K_GEM || o->kind == K_FINISH) continue;
- for (int k = 0;; k++) {
- int n = obj_poly(r, i, k, xy);
- if (!n) break;
- if (n > 32) n = 32;
- for (int w = 0; w < 2; w++) {
- float nx, ny, d = poly_dist(xy, n, wx[w], wy[w], &nx, &ny);
- if (d >= TRIG_R) continue;
- if (o->kind == K_ENEMY) { if (d < WHEEL_R - 2) hit_enemy = true; continue; }
- if (o->kind == K_BOOST) touched_boost = i;
- if (!solid(l)) continue;
- b->wheel_down[w] = 1;
- l->st |= ST_TOUCHED;
- if (d < WHEEL_R) add_contact(r, i, wx[w] - nx * WHEEL_R, wy[w] - ny * WHEEL_R, nx, ny, WHEEL_R - d, false);
+ for (int k = 0;; k++) {
+ int n = tpl_local(o, k, xy);
+ if (!n) break;
+ ph_poly(d->body, xy, n, &f);
+ }
+ if (d->flags & DY_PIVOT) {
+ float c = cosf(d->rot * DEG), s = sinf(d->rot * DEG);
+ (void)c, (void)s;
+ d->pivot = ph_pivot(ph_ground(), d->body, o->cx + seg_x(r, i) + o->pvx, o->cy + o->pvy);
+ if (o->flags & F_REMOVE) ph_set_fixed_rot(d->body, true);
+ }
+ if (anim) {
+ ph_set_gravity(d->body, 0);
+ ph_set_fixed_rot(d->body, true);
+ d->touch = ph_touch(d->body, bx, by);
+ ph_touch_tune(d->touch, 11111, 1);
+ if (d->tx != bx || d->ty != by) ph_touch_set(d->touch, d->tx, d->ty);
+ }
+}
+static void dyn_out(rd_run *r, rd_dyn *d) {
+ if (!d->body) return;
+ float x, y, rot;
+ ph_get(d->body, &x, &y, &rot);
+ d->x = x, d->y = y, d->rot = rot;
+ ph_body_free(d->body); /* (its joints go with it) */
+ d->body = 0, d->touch = 0, d->pivot = 0;
+}
+
+/* ---------------------------------------------------------------- animations (GameObject.animateObjectProperty) */
+static void anim_listen(rd_run *r, int i, bool on) {
+ rd_live *l = &r->live[i];
+ if (l->dyn == NO_DYN) return;
+ rd_dyn *d = &r->dyn[l->dyn];
+ for (int k = 0; k < 3; k++) d->an[k].on = on && (k == 0 ? rd_anims[O(r, i)->anim].nrot : k == 1 ? rd_anims[O(r, i)->anim].nx : rd_anims[O(r, i)->anim].ny) > 0;
+}
+/* GameObject.onCollision: a touch starts (or stops) its animations */
+static void obj_on_collision(rd_run *r, int o) {
+ rd_live *l = &r->live[o];
+ if (l->dyn == NO_DYN || !animated(O(r, o))) return;
+ rd_dyn *d = &r->dyn[l->dyn];
+ const rd_anim *a = &rd_anims[O(r, o)->anim];
+ int ns[3] = {a->nrot, a->nx, a->ny};
+ for (int k = 0; k < 3; k++) {
+ rd_anst *s = &d->an[k];
+ if (!ns[k]) continue;
+ if (s->on_touch) s->on_touch = 0, s->on = 1;
+ else if (a->stop_touch && s->on) s->on = 0;
+ }
+}
+/* GameObject.onPreCollision: the pivot of a platform that falls once touched goes (after physicsActiveDelay) */
+static void obj_on_precollision(rd_run *r, int o) {
+ rd_live *l = &r->live[o];
+ if (l->dyn == NO_DYN) return;
+ rd_dyn *d = &r->dyn[l->dyn];
+ const rd_obj *ob = O(r, o);
+ if (!(d->flags & DY_PIVOT) || !(ob->flags & F_REMOVE) || d->pivot_ms >= 0) return;
+ d->pivot_ms = r->ms + (ob->delay >= 0 ? ob->delay : 0); /* (no delay: right after the step) */
+}
+static void anim_frame(rd_run *r, int i, int k) {
+ rd_dyn *d = &r->dyn[r->live[i].dyn];
+ const rd_obj *o = O(r, i);
+ const rd_anim *a = &rd_anims[o->anim];
+ rd_anst *s = &d->an[k];
+ int ns = k == 0 ? a->nrot : k == 1 ? a->nx : a->ny;
+ const rd_step *st0 = &rd_steps[a->first + (k > 0 ? a->nrot : 0) + (k > 1 ? a->nx : 0)];
+ float scale = k ? 0.5f : 1; /* the position deltas are halved */
+ const rd_step *st = &st0[s->cur];
+ int delay_f = (int)roundf(st->delay / FRAME_DUR), time_f = (int)roundf(st->ms / FRAME_DUR);
+ int state = (0 < delay_f && !s->delay_done && s->t < delay_f) ? 2 : 3; /* checkAnimate */
+ if (state == 3) s->delay_done = 1;
+ if (isnan(s->start)) s->start = k == 0 ? d->rot : k == 1 ? d->tx : d->ty;
+ if (state == 3) {
+ float tt = (float)(s->t - delay_f);
+ float v = ease(st->ease, tt, s->start, st->delta * scale, (float)time_f);
+ if (0 < tt) {
+ if (k == 1) d->tx = v;
+ else if (k == 2) d->ty = v;
+ else {
+ float ox = o->cx + seg_x(r, i), oy = o->cy, ax = ox + a->ax, ay = oy + a->ay;
+ if (ax != ox || ay != oy) {
+ float ang = (v - o->rot) * DEG, c = cosf(ang), sn = sinf(ang), dx = ox - ax, dy = oy - ay;
+ d->tx = dx * c - dy * sn + ax, d->ty = dx * sn + dy * c + ay;
+ }
+ d->rot = v;
+ if (d->body) ph_set_rot(d->body, v);
}
- for (int h = 0; h < nh; h++) {
- if (!polys_overlap(hull[h], hn[h], xy, n)) continue;
- if (o->kind == K_ENEMY) { /* (more than a touch: the game's start positions sit that close) */
- for (int j = 0; j < hn[h]; j++) {
- float nx, ny;
- if (poly_dist(xy, n, hull[h][2 * j], hull[h][2 * j + 1], &nx, &ny) < -1.5f) hit_enemy = true;
- }
- for (int j = 0; j < n; j++) {
- float nx, ny;
- if (poly_dist(hull[h], hn[h], xy[2 * j], xy[2 * j + 1], &nx, &ny) < -1.5f) hit_enemy = true;
+ }
+ }
+ if (time_f + delay_f <= s->t) {
+ s->t = 0;
+ s->cur++;
+ if (s->cur >= ns) {
+ s->cur = 0;
+ if (s->count) {
+ s->count--;
+ if (s->count == 0) s->on = 0;
+ }
+ }
+ if (k == 1) d->tx = s->end;
+ else if (k == 2) d->ty = s->end;
+ else {
+ d->rot = s->end;
+ if (d->body) ph_set_rot(d->body, s->end);
+ }
+ if (s->cur == 0) s->orig = k == 0 ? o->rot : k == 1 ? o->cx + seg_x(r, i) : o->cy;
+ else s->orig = k == 1 ? d->tx : k == 2 ? d->ty : s->end;
+ s->end = s->orig + st0[s->cur].delta * scale;
+ s->delay_done = 0, s->start = NAN;
+ }
+ s->t++;
+}
+
+/* ---------------------------------------------------------------- the world's objects: pieces of track */
+static int dyn_new(rd_run *r) {
+ for (int k = 0; k < MAXDYN; k++)
+ if (!r->dyn[k].used) return k;
+ return -1;
+}
+static void obj_free(rd_run *r, int i) {
+ rd_live *l = &r->live[i];
+ if (l->dyn != NO_DYN) dyn_out(r, &r->dyn[l->dyn]);
+ else static_out(r, i);
+ if (l->dyn != NO_DYN) r->dyn[l->dyn].used = 0;
+ /* (the collision tables forget it) */
+ for (int k = 0; k < r->ntouch; k++)
+ if (r->touch[k].what == i) r->touch[k] = r->touch[--r->ntouch], k--;
+ memset(l, 0, sizeof *l);
+}
+static void add_track(rd_run *r, int track) {
+ if (r->nseg == MAXSEG) { /* forget the oldest piece */
+ for (int i = 0; i < r->nlive; i++)
+ if ((r->live[i].st & ST_USED) && r->live[i].seg == 0) obj_free(r, i);
+ for (int i = 0; i < r->nlive; i++)
+ if (r->live[i].st & ST_USED) r->live[i].seg--;
+ memmove(r->seg, r->seg + 1, sizeof r->seg[0] * (MAXSEG - 1));
+ r->nseg--;
+ }
+ const rd_track *t = &rd_tracks[track];
+ int s = r->nseg++;
+ r->seg[s].track = (int16_t)track, r->seg[s].x = r->end_x;
+ /* canPickupBeSpawned: in the endless run, gems in every other piece */
+ r->nchunks++;
+ r->seg[s].gems = r->mode == RUN_LEVEL || r->nchunks % 2 == 0;
+ int slot = 0;
+ for (int k = 0; k < t->n; k++) {
+ const rd_obj *o = &rd_objs[t->first + k];
+ if (o->kind == K_GEM && !r->seg[s].gems) continue;
+ while (slot < MAXLIVE && (r->live[slot].st & ST_USED)) slot++;
+ if (slot == MAXLIVE) break;
+ rd_live *l = &r->live[slot];
+ memset(l, 0, sizeof *l);
+ l->obj = (uint16_t)(t->first + k), l->seg = (uint8_t)s, l->st = ST_USED, l->dyn = NO_DYN;
+ if (slot >= r->nlive) r->nlive = slot + 1;
+ if (dynamic(o)) {
+ int dk = dyn_new(r);
+ if (dk >= 0) {
+ rd_dyn *d = &r->dyn[dk];
+ memset(d, 0, sizeof *d);
+ d->used = 1, d->live = (uint16_t)slot, l->dyn = (uint8_t)dk;
+ d->x = d->tx = o->cx + r->end_x, d->y = d->ty = o->cy, d->rot = o->rot;
+ d->pivot_ms = -1, d->start_ms = -1;
+ if (animated(o)) d->flags |= DY_ANIM;
+ if (o->flags & F_PIVOT) d->flags |= DY_PIVOT;
+ if ((o->flags & F_ACTIVE) && !(o->flags & F_PIVOT) && !animated(o)) d->flags |= DY_FREE;
+ if (animated(o)) {
+ const rd_anim *a = &rd_anims[o->anim];
+ int ns[3] = {a->nrot, a->nx, a->ny};
+ float v0[3] = {o->rot, o->cx + r->end_x, o->cy};
+ int first[3] = {a->first, a->first + a->nrot, a->first + a->nrot + a->nx};
+ for (int q = 0; q < 3; q++) {
+ rd_anst *an = &d->an[q];
+ an->start = NAN, an->t = 1, an->orig = v0[q];
+ if (!ns[q]) continue;
+ an->end = v0[q] + rd_steps[first[q]].delta * (q ? 0.5f : 1);
+ an->count = a->loops == -1 ? 0 : a->loops < 0 ? (int16_t)-1000 : a->loops; /* (-1 and nil: for ever) */
+ if (a->on_touch) an->on_touch = 1;
}
- continue;
- }
- if (o->kind == K_BOOST) touched_boost = i;
- if (!solid(l)) continue;
- l->st |= ST_TOUCHED;
- /* the outline's corners in the track, and the track's corners in the outline */
- for (int j = 0; j < hn[h]; j++) {
- float nx, ny, d = poly_dist(xy, n, hull[h][2 * j], hull[h][2 * j + 1], &nx, &ny);
- if (d < 0) add_contact(r, i, hull[h][2 * j], hull[h][2 * j + 1], nx, ny, -d, true);
- }
- for (int j = 0; j < n; j++) {
- float nx, ny, d = poly_dist(hull[h], hn[h], xy[2 * j], xy[2 * j + 1], &nx, &ny);
- if (d < 0) add_contact(r, i, xy[2 * j], xy[2 * j + 1], -nx, -ny, -d, true);
}
}
}
+ slot++;
}
+ r->end_x += t->width;
+}
+static void endless_more(rd_run *r) {
+ int g = 0;
+ for (int i = 1; i < 4; i++)
+ if (r->score >= endless_from[i]) g = i;
+ int at = 0;
+ for (int i = 0; i < g; i++) at += endless_n[i];
+ uint32_t k = rd_rand(&r->seed) % endless_n[g];
+ add_track(r, NLEVELS + endless_pick[at + k]);
}
-static bool sensor_on_track(rd_run *r, const float *sens, int n) {
- float s[10], xy[64];
- for (int j = 0; j < n; j++) to_world(&r->b, sens[2 * j], sens[2 * j + 1], &s[2 * j], &s[2 * j + 1]);
- float x0 = s[0], x1 = s[0], y0 = s[1], y1 = s[1];
- for (int j = 1; j < n; j++) x0 = fminf(x0, s[2 * j]), x1 = fmaxf(x1, s[2 * j]), y0 = fminf(y0, s[2 * j + 1]), y1 = fmaxf(y1, s[2 * j + 1]);
+/* ---------------------------------------------------------------- the near track: in and out of the physics world */
+#define RESERVE 16000 /* arena bytes kept free: for the step, and the picture between steps */
+#define EMERGENCY 6000 /* short of memory: what is right round the bike still comes in above this */
+#define PROXY_BUDGET 140 /* fixtures in the physics world, at most (the tree holds B2_TREE_NODES / 2) */
+/* the bike goes 18 pixels a frame at most: what is this near comes in some frames before it can touch it; short of
+ * memory (many falling platforms and their contacts), only what is right round the bike stays */
+static bool tight;
+static bool near_box(float x0, float y0, float x1, float y1, float cx, float cy, float m) {
+ if (tight) return x1 > cx - 50 && x0 < cx + 80 && y1 > cy - 55 && y0 < cy + 55;
+ return x1 > cx - m - 80 && x0 < cx + m + 150 && y1 > cy - m - 90 && y0 < cy + m + 90;
+}
+static void stream(rd_run *r, bool all) {
+ rd_bikestate *b = &r->b;
+ tight = ph_free() < RESERVE;
+ /* the windows: the bike, and anything falling free (awake) */
+ float wx[MAXDYN + 1], wy[MAXDYN + 1];
+ int nw = 0;
+ wx[nw] = b->x, wy[nw] = b->y, nw++;
+ for (int k = 0; k < MAXDYN && !tight; k++) {
+ rd_dyn *d = &r->dyn[k];
+ if (d->used && d->body && (d->flags & DY_FREE) && ph_awake(d->body)) {
+ float x, y, a;
+ ph_get(d->body, &x, &y, &a);
+ wx[nw] = x, wy[nw] = y, nw++;
+ }
+ }
for (int i = 0; i < r->nlive; i++) {
rd_live *l = &r->live[i];
- if (l->x1 < x0 || l->x0 > x1 || l->y1 < y0 || l->y0 > y1 || !solid(l)) continue;
- if (rd_objs[l->obj].flags & F_SAFE) continue;
- for (int k = 0;; k++) {
- int m = obj_poly(r, i, k, xy);
- if (!m) break;
- if (polys_overlap(s, n, xy, m > 32 ? 32 : m)) return true;
+ if (!(l->st & ST_USED)) continue;
+ if (l->st & ST_GONE) {
+ if (l->dyn == NO_DYN) static_out(r, i);
+ continue;
+ }
+ float x0, y0, x1, y1;
+ obj_box(r, i, &x0, &y0, &x1, &y1);
+ float m = l->dyn != NO_DYN ? 60 : 0;
+ bool in = false, keep = false;
+ for (int w = 0; w < nw; w++) {
+ in |= near_box(x0, y0, x1, y1, wx[w], wy[w], m);
+ keep |= near_box(x0, y0, x1, y1, wx[w], wy[w], m + 60);
+ }
+ if (l->dyn != NO_DYN) { /* a moving object: all of it */
+ if (all) in = keep;
+ if (!(l->st & ST_IN) && in) {
+ if (ph_proxies() >= PROXY_BUDGET || ph_free() < (tight ? EMERGENCY : RESERVE)) continue;
+ dyn_in(r, i);
+ l->st |= ST_IN;
+ } else if ((l->st & ST_IN) && !keep) {
+ rd_dyn *d = &r->dyn[l->dyn];
+ if ((d->flags & DY_FREE) && ph_awake(d->body) && !tight) continue; /* (falling: kept till it rests) */
+ dyn_out(r, d);
+ l->st &= ~ST_IN;
+ }
+ continue;
+ }
+ if (!keep) { static_out(r, i); continue; }
+ /* a static one: its polygons near a window in, the others out */
+ float xy[64];
+ for (int k = 0; k < TAG_POLYS; k++) {
+ int n = static_poly(r, i, k, xy);
+ if (!n) break;
+ float a0 = xy[0], b0 = xy[1], a1 = xy[0], b1 = xy[1];
+ for (int j = 1; j < n; j++) a0 = fminf(a0, xy[2 * j]), a1 = fmaxf(a1, xy[2 * j]), b0 = fminf(b0, xy[2 * j + 1]), b1 = fmaxf(b1, xy[2 * j + 1]);
+ bool pin = false, pkeep = false;
+ for (int w = 0; w < nw; w++) {
+ pin |= near_box(a0, b0, a1, b1, wx[w], wy[w], 0);
+ pkeep |= near_box(a0, b0, a1, b1, wx[w], wy[w], 60);
+ }
+ if (all) pin = pkeep;
+ uint64_t bit = (uint64_t)1 << k;
+ if (!(r->pmask[i] & bit) && pin) {
+ if (ph_proxies() >= PROXY_BUDGET || ph_free() < (tight ? EMERGENCY : RESERVE)) continue;
+ static_in(r, i, k, xy, n);
+ r->pmask[i] |= bit;
+ } else if ((r->pmask[i] & bit) && !pkeep) {
+ ph_free_tag(ph_ground(), tag_for(i, k));
+ r->pmask[i] &= ~bit;
+ }
}
}
- return false;
+}
+/* the ground base (backgroundModule.addGroundBaseObj): blocks every 1280 pixels from the track's start, their
+ * physics 640 x 230 (pf_ground_base, not scaled to the 1280 x 460 picture); the ones round the bike */
+static void base_stream(rd_run *r) {
+ int32_t k = (int32_t)floorf(r->b.x / 1280);
+ if (k == r->base_k) return;
+ r->base_k = k;
+ ph_free_tag(ph_ground(), TAG_BASE);
+ for (int32_t j = k - 1; j <= k + 2; j++) {
+ if (j < 0) continue;
+ float x = (float)j * 1280;
+ float q[8] = {x - 320, BASE_TOP, x + 320, BASE_TOP, x + 319.5f, BASE_TOP + 228, x - 320, BASE_TOP + 230};
+ ph_fixdef f = {2, 0, 0, CAT_PLATFORM, MASK_PLATFORM, false, TAG_BASE};
+ ph_poly(ph_ground(), q, 4, &f);
+ }
}
-static void solve(rd_run *r) {
+/* ---------------------------------------------------------------- the bike's bodies (GameCharacter.setMotorPhysics) */
+static ph_body *bike_body(float x, float y) { return ph_body_new(PH_DYNAMIC, x, y, 0); }
+static void bike_poly(ph_body *b, const float *q, int n, float density, bool sensor, int cat, int mask, int part) {
+ float xy[16];
+ for (int j = 0; j < n; j++) xy[2 * j] = q[2 * j] * CHAR_SCALE, xy[2 * j + 1] = q[2 * j + 1] * CHAR_SCALE;
+ ph_fixdef f = {density, 0, 0, (uint16_t)cat, (uint16_t)mask, sensor, (uint16_t)(part + 1)};
+ ph_poly(b, xy, n, &f);
+}
+/* motor_main (physics_motors): the main body's weight and the four sensors, in the bike picture's pixels */
+static const float S_TOP[] = {30.5f, -18.5f, 30.5f, 0.5f, -30.5f, 0.5f, -30.5f, -18.5f};
+static const float S_BOTTOM[] = {38.5f, 2.5f, 54.5f, 18.5f, -54.5f, 18.5f, -38.5f, 2.5f};
+static const float S_FRONT[] = {58.5f, 14.5f, 50.5f, 14.5f, 38.5f, 2.5f, 38.5f, -5.5f, 58.5f, -5.5f};
+static const float S_BACK[] = {-38.5f, -5.5f, -38.5f, 2.5f, -50.5f, 14.5f, -58.5f, 14.5f, -58.5f, -5.5f};
+static const float M_BODY[] = {38.5f, 0.5f, 38.5f, 12.5f, -38.5f, 12.5f, -38.5f, 0.5f};
+static void bike_build(rd_run *r, float x, float y) {
rd_bikestate *b = &r->b;
- for (int it = 0; it < 6; it++) {
- for (int k = 0; k < ncs; k++) {
- contact *c = &cs[k];
- float vx = b->vx - b->w * c->ry - c->vx, vy = b->vy + b->w * c->rx - c->vy;
- float vn = vx * c->nx + vy * c->ny;
- float j = c->mass * -vn, old = c->jn; /* (no push from the overlap: that's put right below, as Box2D does) */
- c->jn = fmaxf(old + j, 0);
- j = c->jn - old;
- b->vx += j * c->nx / MASS, b->vy += j * c->ny / MASS;
- if (!b->fixed) b->w += (c->rx * c->ny - c->ry * c->nx) * j / INERTIA;
- }
+ /* built where the game builds it, at the origin (welds anchored there), then moved */
+ b->part[BP_TOP] = bike_body(0, 0), bike_poly(b->part[BP_TOP], S_TOP, 4, 2, true, CAT_SENSOR, MASK_SENSOR, BP_TOP);
+ b->part[BP_BOTTOM] = bike_body(0, 0), bike_poly(b->part[BP_BOTTOM], S_BOTTOM, 4, 0, true, CAT_SENSOR, MASK_SENSOR, BP_BOTTOM);
+ b->part[BP_FRONT] = bike_body(0, 0), bike_poly(b->part[BP_FRONT], S_FRONT, 5, 0, true, CAT_SENSOR, MASK_SENSOR, BP_FRONT);
+ b->part[BP_BACK] = bike_body(0, 0), bike_poly(b->part[BP_BACK], S_BACK, 5, 0, true, CAT_SENSOR, MASK_SENSOR, BP_BACK);
+ ph_body *m = b->part[BP_MAIN] = bike_body(0, 0);
+ const rd_bike *bk = &rd_bikes[r->bike];
+ for (int h = 0; h < bk->hn; h++) { /* motor_body_<id>: density, bounce and friction 0 */
+ int v0 = hull_poly[bk->h0 + h], n = hull_poly[bk->h0 + h + 1] - v0;
+ float q[16];
+ if (n > 8) n = 8;
+ for (int j = 0; j < n; j++) q[2 * j] = hull_xy[2 * (v0 + j)] / 64.0f, q[2 * j + 1] = hull_xy[2 * (v0 + j) + 1] / 64.0f;
+ bike_poly(m, q, n, 0, false, CAT_BODY, MASK_BODY, BP_MAIN);
+ }
+ bike_poly(m, M_BODY, 4, 3, false, CAT_MAIN, MASK_MAIN, BP_MAIN);
+ ph_fixdef wf = {6, -1, 0, CAT_WHEEL, MASK_WHEEL, false, 0}; /* wheelDensity 6, bounce 0, friction unset (0.3) */
+ b->part[BP_WHEEL1] = bike_body(WHEEL_X1, WHEEL_Y), wf.tag = BP_WHEEL1 + 1, ph_circle(b->part[BP_WHEEL1], 0, 0, WHEEL_R, &wf);
+ b->part[BP_WHEEL2] = bike_body(WHEEL_X2, WHEEL_Y), wf.tag = BP_WHEEL2 + 1, ph_circle(b->part[BP_WHEEL2], 0, 0, WHEEL_R, &wf);
+ ph_set_damping(b->part[BP_WHEEL1], DAMP_GROUND), ph_set_damping(b->part[BP_WHEEL2], DAMP_GROUND);
+ ph_set_bullet(b->part[BP_WHEEL1], true), ph_set_bullet(b->part[BP_WHEEL2], true);
+ ph_fixdef tf = {0, -1, 0, CAT_TRIG, MASK_TRIG, true, 0};
+ b->part[BP_TRIG1] = bike_body(WHEEL_X1, WHEEL_Y + TRIG_DY), tf.tag = BP_TRIG1 + 1, ph_circle(b->part[BP_TRIG1], 0, 0, TRIG_R, &tf);
+ b->part[BP_TRIG2] = bike_body(WHEEL_X2, WHEEL_Y + TRIG_DY), tf.tag = BP_TRIG2 + 1, ph_circle(b->part[BP_TRIG2], 0, 0, TRIG_R, &tf);
+ ph_set_bullet(b->part[BP_TRIG1], true), ph_set_bullet(b->part[BP_TRIG2], true);
+ ph_weld(b->part[BP_WHEEL1], b->part[BP_TRIG1], 0, 0);
+ ph_weld(b->part[BP_WHEEL2], b->part[BP_TRIG2], 0, 0);
+ ph_joint *p1 = ph_piston(m, b->part[BP_WHEEL1], WHEEL_X1, WHEEL_Y, 0, 1);
+ ph_joint *p2 = ph_piston(m, b->part[BP_WHEEL2], WHEEL_X2, WHEEL_Y, 0, 1);
+ ph_piston_limits(p1, -1, 2); /* wheelJointsRearLimits */
+ ph_piston_limits(p2, -2, 0); /* wheelJointsFrontLimits */
+ ph_weld(b->part[BP_FRONT], m, 0, 0);
+ ph_weld(b->part[BP_BOTTOM], m, 0, 0);
+ ph_weld(b->part[BP_TOP], m, 0, 0);
+ ph_weld(b->part[BP_BACK], m, 0, 0);
+ /* setPosition: everything moved by (x, y), the triggers under their wheels */
+ for (int p = 0; p < BP_N; p++) {
+ float px, py, a;
+ ph_get(b->part[p], &px, &py, &a);
+ ph_set_pos(b->part[p], px + x, py + y);
}
- for (int k = 0; k < ncs; k++)
- if (cs[k].hull) hull_impulse += cs[k].jn;
+}
+/* setRotation: the main body and the wheels turned about the main body's centre (the sensors and triggers are not) */
+static void bike_turn(rd_run *r, float rot) {
+ rd_bikestate *b = &r->b;
+ float cx, cy, a;
+ ph_get(MB(r), &cx, &cy, &a);
+ ph_set_rot(MB(r), rot);
+ float c = cosf(rot * DEG), s = sinf(rot * DEG);
+ for (int p = BP_WHEEL1; p <= BP_WHEEL2; p++) {
+ float x, y;
+ ph_get(b->part[p], &x, &y, &a);
+ float dx = x - cx, dy = y - cy;
+ ph_set_pos(b->part[p], dx * c - dy * s + cx, dx * s + dy * c + cy);
+ ph_set_rot(b->part[p], rot);
+ }
+}
+static void bike_read(rd_run *r) {
+ rd_bikestate *b = &r->b;
+ float deg;
+ ph_get(MB(r), &b->x, &b->y, &deg);
+ b->a = deg * DEG, b->w = ph_avel(MB(r)) * DEG;
+ ph_vel(MB(r), &b->vx, &b->vy);
+ for (int k = 0; k < 2; k++) ph_get(b->part[BP_WHEEL1 + k], &b->wx[k], &b->wy[k], &deg);
+ b->ground = !in_air(r);
+ if (b->x > b->max_x) b->max_x = b->x;
+ b->odo += (b->vx * cosf(b->a) + b->vy * sinf(b->a)) / 60;
}
/* ---------------------------------------------------------------- a run */
void run_start(rd_run *r, int mode, int level, int bike, int theme, uint32_t seed) {
memset(r, 0, sizeof *r);
+ R = r;
r->mode = mode, r->level = level, r->bike = bike, r->theme = theme, r->seed = seed ? seed : 1;
+ r->top_frame = -1;
+ ph_world_new();
int first = mode == RUN_LEVEL ? level : NLEVELS; /* (the endless run starts with its start piece) */
add_track(r, first);
+ if (mode == RUN_ENDLESS)
+ while (r->end_x < 2400) endless_more(r);
const rd_track *t = &rd_tracks[first];
rd_bikestate *b = &r->b;
- b->x = t->sx, b->y = t->sy;
- b->flip_start = 0;
+ b->in_air_ms = -1;
r->finish_x = mode == RUN_LEVEL ? (float)t->finish : 1e30f;
- float bottom = 0;
- for (int i = 0; i < t->n; i++) bottom = fmaxf(bottom, rd_objs[t->first + i].y0);
- r->bottom = mode == RUN_LEVEL ? bottom + 300 : 2200;
- if (mode == RUN_ENDLESS)
- while (r->end_x < b->x + 2400) endless_more(r);
- /* settle the bike on the track */
- for (int i = 0; i < r->nlive; i++) pose(r, i);
- for (int i = 0; i < 60; i++) {
- float y = b->y;
- run_step(r, false);
- b->x = t->sx, b->vx = 0, b->w *= 0.5f;
- if (fabsf(b->y - y) < 0.01f && b->ground) break;
- }
- r->ms = 0, r->ended = END_NONE, r->nbits = 0, b->trail_n = 0, b->air_ms = 0, b->speed = 0;
- b->rot_abs = b->a / DEG, b->flip_start = b->rot_abs;
+ r->bottom = FALL_OUT;
+ bike_build(r, t->sx, t->sy);
+ bike_turn(r, t->srot);
+ bike_read(r);
+ r->base_k = -99;
+ base_stream(r);
+ stream(r, false);
r->camx = b->x - 200, r->camy = b->y - 260;
}
-const char *crash_why;
-static void crash(rd_run *r) {
- if (r->ended) return;
- r->ended = END_CRASH, r->end_ms = 0, r->pending = 0, r->landed_flips = 0;
- rd_bikestate *b = &r->b;
- /* the bike in pieces, as the game breaks it in six, and sparks */
- r->nbits = 0;
- for (int i = 0; i < NBITS; i++) {
- rd_bit *p = &r->bits[r->nbits++];
- uint32_t q = rd_rand(&r->seed);
- float ang = (q & 1023) / 1023.0f * 2 * PI, sp = 60 + (q >> 10 & 255) * 1.2f;
- float lx = i < 6 ? (i % 3 - 1) * 26.0f : 0, ly = i < 6 ? (i / 3) * 12.0f - 6 : 0;
- to_world(b, lx, ly, &p->x, &p->y);
- p->vx = b->vx * 0.4f + cosf(ang) * sp, p->vy = b->vy * 0.4f + sinf(ang) * sp - 120;
- p->a = b->a, p->w = ((q >> 18 & 63) - 32) * 0.4f;
- p->c = i < 6 ? C_BODY : i < 10 ? C_WHITE : C_SPARK, p->size = i < 6 ? 12 : 2;
+/* the game starts with the first touch (Board.GameStart): the physics runs, the animations start */
+static void game_start(rd_run *r) {
+ r->b.started = true;
+ for (int k = 0; k < MAXDYN; k++) {
+ rd_dyn *d = &r->dyn[k];
+ if (!d->used || !(d->flags & DY_ANIM)) continue;
+ const rd_anim *a = &rd_anims[O(r, d->live)->anim];
+ if (a->on_touch || a->loops == 0) continue;
+ d->start_ms = r->ms + a->start_delay;
}
}
-static void say(rd_run *r, const char *t, const char *t2) {
- r->text = t, r->text2 = t2, r->text_ms = 1500;
-}
-
-static void landed(rd_run *r) {
+static void timers(rd_run *r) {
rd_bikestate *b = &r->b;
- int n = b->air_flips;
- bool perfect = n > 0 && fabsf(b->land_t[0] - b->land_t[1]) < 30;
- if (perfect) r->perfect++;
- if (n >= 2) {
- int k = n > 6 ? 6 : n, kind = perfect ? 0 : 1, m = flip_ntexts[(k - 2) * 2 + kind];
- say(r, flip_texts[k - 2][kind][rd_rand(&r->seed) % m], 0);
- r->doubles += n >= 2;
- } else if (n == 1 && perfect) {
- say(r, "Perfect!", 0);
- } else if (n == 1 && b->front_flip) {
- say(r, front_texts[rd_rand(&r->seed) % 2], 0);
- }
- if (b->air_ms >= 2000 && !(n >= 2)) {
- int k = b->air_ms >= 5000 ? 3 : b->air_ms >= 4000 ? 2 : b->air_ms >= 3000 ? 1 : 0;
- say(r, air_texts[k], r->text);
+ for (int i = 0; i < r->ntimer; i++) {
+ rd_timer t = r->timer[i];
+ if (t.at > r->ms + 0.01f) continue;
+ r->timer[i] = r->timer[--r->ntimer], i--;
+ switch (t.kind) {
+ case TM_SET_GROUND: set_ground(r, true, BP_MAIN); break;
+ case TM_DEATH_BEGAN: { /* the check 16 ms after touching the side of a ground, the ground base or a saw */
+ r->death_check = false;
+ int trig = t.a & 0xFF, mainb = t.a & 0x100, wheel = t.a & 0x200;
+ bool tr = trig != 0xFF;
+ int n_trig = tr ? touch_sum(r, T_TOP, trig) : -1, n_body = mainb ? touch_sum(r, T_BODY, 0) : -1;
+ if (t.b & 1) { if (mainb || tr || wheel) instant_death(r); }
+ else if ((tr && n_trig == 0) || (mainb && n_body == 0)) { if (t.b & 6) instant_death(r); }
+ break;
+ }
+ case TM_DEATH_ENDED: { /* left the platform while on the side of a ground: dies, or looks again next frame */
+ int n_top = touch_sum(r, T_TOP, t.a), n_dead = touch_sum(r, T_DEADLY, t.a);
+ if (n_top == 0 && n_dead > 0) instant_death(r);
+ else if (n_dead > 0) timer_add(r, 16, TM_DEATH_ENDED, t.a, 0);
+ break;
+ }
+ case TM_TOP_CLEAR: r->top_frame = -1; break;
+ case TM_PERFECT: landing_check(r); break;
+ case TM_BODY_LAND: r->body_touch = false, character_landed(r, t.a == 0xFFFF ? -1 : t.a, 0); break;
+ case TM_STOP_ROT_END: ph_set_fixed_rot(MB(r), false); break;
+ }
}
- if (n > r->best_flips_jump) r->best_flips_jump = n;
- b->air_flips = 0, b->front_flip = false;
+ if (b->accelerating && !b->accel_fresh) accel_tick(r, false); /* (its timer first fires the frame after) */
+ b->accel_fresh = false;
}
void run_step(rd_run *r, bool held) {
+ R = r;
rd_bikestate *b = &r->b;
- if (!r->ended) r->ms += 1000 * DT;
- if (r->text_ms > 0) r->text_ms -= 1000 * DT;
- /* the world moves */
- for (int i = 0; i < r->nlive; i++) {
- rd_live *l = &r->live[i];
- const rd_obj *o = &rd_objs[l->obj];
- if (o->anim != 0xFFFF) {
- const rd_anim *a = &rd_anims[o->anim];
- if ((l->st & ST_TOUCHED) && a->on_touch) l->st |= ST_RUN;
- if (l->st & ST_RUN) l->t += 1000 * DT;
- if ((o->flags & F_FALLS) && (l->st & ST_TOUCHED)) {
- if (!(l->st & ST_FALL)) {
- l->ft -= 1000 * DT; /* counts down the delay first (negative), then the fall */
- if (-l->ft >= a->fall_delay) l->st |= ST_FALL, l->ft = 0;
- } else {
- l->ft += 1000 * DT;
- if (l->ft > 4000) l->st |= ST_GONE;
- }
- }
- }
+ ph_listen(&listener);
+ if (r->text_ms > 0) r->text_ms -= DT_MS;
+ /* the touch */
+ bool was_held = b->held;
+ b->held = held;
+ if (!r->ended) {
+ if (held && !was_held) {
+ if (!b->started) game_start(r);
+ accelerate(r);
+ } else if (!held && was_held && b->started) stop_accelerate(r);
}
- for (int i = 0; i < r->nlive; i++) {
- const rd_obj *o = &rd_objs[r->live[i].obj];
- if (o->anim != 0xFFFF || r->live[i].parent >= 0 || r->ms < 20) pose(r, i);
- else r->live[i].dx = r->live[i].dy = r->live[i].dr = 0;
+ if (!b->started) { ph_listen(0); return; }
+ if (!r->ended) r->ms += DT_MS;
+ /* the physics step, with its contact events */
+ ph_step();
+ /* falling platforms let go (preCollision, after physicsActiveDelay) */
+ for (int k = 0; k < MAXDYN; k++) {
+ rd_dyn *d = &r->dyn[k];
+ if (!d->used || d->pivot_ms < 0 || d->pivot_ms > r->ms + 0.01f) continue;
+ d->flags &= (uint8_t)~DY_PIVOT, d->flags |= DY_FREE, d->pivot_ms = -1;
+ if (d->body) {
+ if (d->pivot) ph_joint_free(d->pivot), d->pivot = 0;
+ ph_set_fixed_rot(d->body, false);
+ }
}
+ /* enterFrame: the timers (the accelerate timer's tick among them) */
+ timers(r);
+ r->frame++;
if (r->ended) {
- r->end_ms += 1000 * DT;
+ r->end_ms += DT_MS;
for (int i = 0; i < r->nbits; i++) {
rd_bit *p = &r->bits[i];
- p->vy += GRAV * 1.5f * DT, p->x += p->vx * DT, p->y += p->vy * DT, p->a += p->w * DT;
+ p->vy += 294 * 1.5f * (1.0f / 60), p->x += p->vx / 60, p->y += p->vy / 60, p->a += p->w / 60;
}
- if (r->shake > 0) r->shake -= DT;
- return;
+ if (r->shake > 0) r->shake -= 1.0f / 60;
}
- bool was_ground = b->ground, was_held = b->held;
- b->held = held;
- /* the button: speed on the ground, a backflip in the air */
- float c = cosf(b->a), s = sinf(b->a);
- if (held) {
- b->fixed = false;
- if (b->ground) {
- float fwd = b->vx * c + b->vy * s;
- if (!was_held || b->speed == 0) b->speed = fmaxf(fwd, 0);
- float deg = fmodf(fmodf(b->a / DEG, 360) + 360, 360);
- bool back = b->vx < 0 && (deg < 90 || deg > 270);
- b->speed = fminf(b->speed + (back ? ACCEL_BACK : ACCEL), VMAX);
- b->vx += (c * b->speed - b->vx) * K_SET, b->vy += (s * b->speed - b->vy) * K_SET;
- } else if (b->air_ms > 70 && b->w > -WMAX) {
- b->w += SPIN_DW;
- }
- } else if (was_held && !b->ground) { /* let go in the air */
- b->fixed = true, b->ease_t = 0, b->ease_w0 = b->w;
- }
- if (b->fixed) { /* outCirc to a standstill in 1000 ms, contacts can't turn it meanwhile */
- b->ease_t += 1000 * DT;
- float t = b->ease_t / 1000 - 1;
- b->w = b->ease_t >= 1000 ? 0 : b->ease_w0 - b->ease_w0 * sqrtf(fmaxf(0, 1 - t * t));
- if (b->ease_t >= 1000 || b->ground) b->fixed = false;
- }
- if (!b->ground) b->vy += DOWN_AIR;
- else b->vx *= 1 - DAMP_GROUND, b->vy *= 1 - DAMP_GROUND;
- /* speed pads */
- if (b->boost_ms > 0) {
- b->boost_ms -= 1000 * DT;
- float bc = cosf(b->boost_dir), bs = sinf(b->boost_dir), v = b->vx * bc + b->vy * bs;
- v = fminf(fmaxf(v, 550) + 2000 * DT, 1050);
- b->vx = bc * v + (b->vx - bc * (b->vx * bc + b->vy * bs)), b->vy = bs * v + (b->vy - bs * (b->vx * bc + b->vy * bs));
- }
- /* move, a few small steps so that nothing is passed through */
- float sp = sqrtf(b->vx * b->vx + b->vy * b->vy) + fabsf(b->w) * 45;
- int n = SUBSTEPS;
- while (n < 16 && sp * DT / n > 3) n++;
- float h = DT / n;
- hull_impulse = 0, hit_enemy = false, touched_boost = -1;
- bool down[2] = {false, false};
- for (int k = 0; k < n; k++) {
- b->vy += GRAV * h;
- b->x += b->vx * h, b->y += b->vy * h, b->a += b->w * h;
- find_contacts(r, r->bike);
- down[0] |= b->wheel_down[0], down[1] |= b->wheel_down[1];
- solve(r);
- /* push out what still overlaps, turning the bike too (Box2D's position step: a fifth a step, at most 0.2 m) */
- for (int j = 0; j < ncs; j++) {
- contact *ct = &cs[j];
- if (ct->depth <= 0.15f) continue;
- float corr = fminf((ct->depth - 0.15f) * 0.5f, 6), rn = ct->rx * ct->ny - ct->ry * ct->nx;
- float k = 1 / MASS + (b->fixed ? 0 : rn * rn / INERTIA), p = corr / k / (ncs > 2 ? 2 : 1);
- b->x += ct->nx * p / MASS, b->y += ct->ny * p / MASS;
- if (!b->fixed) b->a += rn * p / INERTIA;
+ if (!r->ended) {
+ /* GameCharacter's enterFrame: the button's step by the way it goes, the wheels' damping */
+ float vx, vy;
+ ph_vel(MB(r), &vx, &vy);
+ float ang = lua_mod(roundf(main_rot(r)), 360);
+ b->delta = vx < 0 && (ang < 90 || ang > 270) ? ACCEL_BACK : ACCEL;
+ if (b->stop_rot && !b->accelerating && ((b->on_ground[BP_TRIG1] || b->on_ground[BP_TRIG2]) || b->on_ground[BP_MAIN]))
+ cancel_stop_rotation(r);
+ for (int k = BP_WHEEL1; k <= BP_WHEEL2; k++)
+ ph_set_damping(b->part[k], b->accelerating ? 0 : b->on_ground[k] ? DAMP_GROUND : 0);
+ /* Board.setDownforce: the push down in the air */
+ if (in_air(r)) {
+ ph_vel(MB(r), &vx, &vy);
+ ph_set_vel(MB(r), vx, vy + DOWN_AIR);
}
+ /* Board.trackMotor: when it left the ground, the flips */
+ if (in_air(r)) {
+ if (!b->in_air_flag || b->in_air_ms < 0) b->in_air_flag = true, b->in_air_ms = r->ms;
+ if (b->flip_zero_set) {
+ float rot = main_rot(r);
+ if (fabsf(rot - b->flip_abs_start) >= FIRST_FLIP) {
+ float r8 = rot + lua_mod(-b->flip_very_start, 360), r9 = r8 - b->flip_zero;
+ int n = abs((int)floorf(r9 / 360));
+ if (0 < n) {
+ int dir = 0 < r9 ? 1 : -1;
+ b->flip_zero = r8 - lua_mod(r8, 360);
+ if (!b->flip_dir || b->flip_dir == dir) {
+ flip_made(r, n);
+ if (dir > 0) b->front_flip = true;
+ }
+ b->flip_dir = (int8_t)dir;
+ }
+ }
+ }
+ } else b->in_air_flag = false;
}
- b->wheel_down[0] = down[0], b->wheel_down[1] = down[1];
- b->ground = down[0] || down[1];
- /* flips: degrees turned since the last one, the first counts at 270 */
- b->rot_abs = b->a / DEG;
- if (!b->ground) {
- b->air_ms += 1000 * DT;
- float d = b->rot_abs - b->flip_start;
- if (fabsf(d) >= (b->air_flips ? 360 : 270)) {
- b->air_flips++, r->flips++;
- if (d > 0) b->front_flip = true;
- /* the next one from the last whole turn passed, as the game's floored modulo does for a backflip */
- b->flip_start = d < 0 ? floorf(b->rot_abs / 360) * 360 : ceilf(b->rot_abs / 360) * 360;
- if (r->mode == RUN_ENDLESS) r->pending++;
- }
+ /* the animations (each object's listeners: rotation, x, y) */
+ for (int k = 0; k < MAXDYN; k++) {
+ rd_dyn *d = &r->dyn[k];
+ if (!d->used || !(d->flags & DY_ANIM)) continue;
+ if (d->start_ms >= 0 && d->start_ms <= r->ms + 0.01f) d->start_ms = -1, anim_listen(r, d->live, true);
+ for (int q = 0; q < 3; q++)
+ if (d->an[q].on) anim_frame(r, d->live, q);
+ if (d->touch) ph_touch_set(d->touch, d->tx, d->ty);
}
- if (b->ground) {
- for (int w = 0; w < 2; w++)
- if (down[w] && b->land_t[w] < 0) b->land_t[w] = r->ms;
- bool both = b->land_t[0] >= 0 && b->land_t[1] >= 0;
- float first = b->land_t[0] < 0 ? b->land_t[1] : b->land_t[1] < 0 ? b->land_t[0] : fminf(b->land_t[0], b->land_t[1]);
- if (b->air_ms > 0 && (both || r->ms - first > 150)) { /* down: on both wheels, or on one for a while */
- if (b->air_flips && r->mode == RUN_ENDLESS) r->landed_flips += b->air_flips, r->pending_ms = 500;
- landed(r);
- b->air_ms = 0, b->flip_start = b->rot_abs;
+ if (!r->ended) {
+ /* stopBikeRotation's listener: the turn eases out (outCirc) in a second, contacts can't turn it */
+ if (b->stop_rot) {
+ if (b->accelerating) cancel_stop_rotation(r);
+ else {
+ float t = r->ms - b->stop_rot_ms, q = t / STOP_ROT_MS - 1;
+ float w = -b->stop_rot_w0 * sqrtf(fmaxf(0, 1 - q * q)) + b->stop_rot_w0;
+ ph_set_avel(MB(r), w);
+ if (STOP_ROT_MS < t) {
+ b->stop_rot = false;
+ ph_set_fixed_rot(MB(r), true);
+ timer_add(r, STOP_ROT_END, TM_STOP_ROT_END, 0, 0);
+ }
+ }
+ }
+ /* setBoost's listener: a speed pad's push, its first 4 frames from the bike's turn */
+ if (b->boost) {
+ b->boost_frames--;
+ float vx, vy, rot = lua_mod(main_rot(r), 360) * PI / 180;
+ if (b->boost_first > 0) {
+ b->boost_first--;
+ vx = cosf(rot) * BOOST_V0, vy = sinf(rot) * BOOST_V0;
+ } else {
+ float cvx, cvy;
+ ph_vel(MB(r), &cvx, &cvy);
+ float ang = (b->boost_rot + rot) * 0.5f;
+ if (PI < fabsf(b->boost_rot - rot)) ang += PI;
+ if (!two_wheels_landed(r) && b->boost_angle_set) ang = b->boost_angle;
+ else b->boost_angle = rot, b->boost_angle_set = true;
+ float v = cvx / cosf(ang) + BOOST_ADD;
+ if (BOOST_VMAX < v) v = BOOST_VMAX;
+ vx = cosf(ang) * v, vy = sinf(ang) * v;
+ }
+ ph_set_vel(MB(r), vx, vy);
+ if (b->boost_frames == 0) b->boost = false;
}
- } else {
- if (was_ground) b->land_t[0] = b->land_t[1] = -1, b->flip_start = b->rot_abs, b->air_flips = 0, b->front_flip = false;
}
+ ph_listen(0);
+ bike_read(r);
/* landed flips count 500 ms later (the game's bonusScoreWaitTimerDelay), a crash before loses them */
- if (r->landed_flips && (r->pending_ms -= 1000 * DT) <= 0)
+ if (r->landed_flips && (r->pending_ms -= DT_MS) <= 0)
r->score += r->landed_flips, r->pending -= r->landed_flips, r->landed_flips = 0;
- /* boost pads, gems, the finish */
- if (touched_boost >= 0) b->boost_ms = 500, b->boost_dir = r->live[touched_boost].rot;
- for (int i = 0; i < r->nlive; i++) {
- rd_live *l = &r->live[i];
- const rd_obj *o = &rd_objs[l->obj];
- if (o->kind != K_GEM || (l->st & ST_GONE)) continue;
- float dx = l->cx - b->x, dy = l->cy - b->y, rr = 30 + o->sx * 0.25f;
- if (dx * dx + dy * dy < rr * rr) l->st |= ST_GONE, r->gems++;
- }
- /* crashes */
- if (hit_enemy) crash_why = "enemy", crash(r);
- if (!r->ended && hull_impulse > 0) {
- if (sensor_on_track(r, sens_top, 4)) crash_why = "top", crash(r);
- else if (hull_impulse > CRASH_FB && (sensor_on_track(r, sens_front, 5) || sensor_on_track(r, sens_back, 5))) crash_why = "front/back", crash(r);
- else if (hull_impulse > CRASH_BOTTOM && sensor_on_track(r, sens_bottom, 4)) crash_why = "bottom", crash(r);
- }
+ if (!b->ground) b->air_ms += DT_MS;
+ else b->air_ms = 0;
if (!r->ended && b->y > r->bottom) crash_why = "fell", crash(r);
#ifdef HOST
- if (r->ended == END_CRASH && r->end_ms == 0 && crash_why && getenv("CRASH")) printf("crash: %s impulse %.0f a %.1f\n", crash_why, hull_impulse, b->a / DEG);
+ if (r->ended == END_CRASH && r->end_ms == 0 && crash_why && getenv("CRASH")) printf("crash: %s a %.1f\n", crash_why, b->a / DEG);
#endif
- if (!r->ended && b->x >= r->finish_x) r->ended = END_FINISH, r->end_ms = 0;
- if (r->ended == END_CRASH) r->shake = 0.3f;
+ /* falling platforms that fell out of the world go */
+ for (int k = 0; k < MAXDYN; k++) {
+ rd_dyn *d = &r->dyn[k];
+ if (!d->used || !d->body || !(d->flags & DY_FREE)) continue;
+ float x, y, a;
+ ph_get(d->body, &x, &y, &a);
+ if (y > FALL_OUT) dyn_out(r, d), r->live[d->live].st = (uint8_t)((r->live[d->live].st | ST_GONE) & ~ST_IN);
+ }
/* the trail */
if (b->trail_n < TRAIL) b->trail_n++;
memmove(b->trail_x + 1, b->trail_x, sizeof(float) * (TRAIL - 1));
memmove(b->trail_y + 1, b->trail_y, sizeof(float) * (TRAIL - 1));
- to_world(b, -34, WHEEL_Y, &b->trail_x[0], &b->trail_y[0]);
+ b->trail_x[0] = b->wx[0], b->trail_y[0] = b->wy[0];
/* the endless run goes on */
if (r->mode == RUN_ENDLESS)
while (r->end_x < b->x + 2400) endless_more(r);
+ base_stream(r);
+ stream(r, false);
/* the camera: the bike a third in, a little below the middle */
float tx = b->x + b->vx * 0.15f - 210, ty = b->y - 250;
r->camx += (tx - r->camx) * 0.15f;
r->camy += (ty - r->camy) * 0.12f;
}
-#ifdef HOST
-void run_debug(rd_run *r) {
- find_contacts(r, r->bike);
- for (int k = 0; k < ncs; k++)
- printf(" contact obj %d hull %d p %.1f %.1f n %.2f %.2f depth %.2f\n", rd_objs[r->live[cs[k].obj].obj].tpl, cs[k].hull, cs[k].px, cs[k].py, cs[k].nx, cs[k].ny, cs[k].depth);
-}
-#endif
float run_level_time(const rd_run *r) {
float t = r->ms - r->flips * 500.0f;
return t < 0 ? 0 : t;
diff --git a/games/rider/src/main.c b/games/rider/src/main.c
index 54fa3b17..27aa6d0c 100644
--- a/games/rider/src/main.c
+++ b/games/rider/src/main.c
@@ -568,7 +568,7 @@ static void hud_levels(void) {
keyline("Arrows choose Left Right group OK ride Back menu");
}
static void draw_levels(void) {
- memset(fb, C_BG, sizeof fb);
+ draw_clear(C_BG);
for (int i = 0; i < 8; i++) {
int x = 22 + (i % 4) * 72, y = 64 + (i / 4) * 70, l = page * 8 + i;
for (int k = 0; k < 3; k++) draw_star(x + 16 + k * 16, y + 40, 6, k < sv.stars[l] ? C_GEM : C_GROUND);
@@ -623,13 +623,10 @@ static void hud_bikes(void) {
keyline(overlay == OV_WON ? "OK ride it Back keep looking" : "Arrows choose OK ride or win Back menu");
}
static void draw_bikes(void) {
- memset(fb, C_BG, sizeof fb);
+ draw_clear(C_BG);
if (bike_sel >= 0) {
- draw_bike_at(bike_sel, 80, 32, 0, 1.1f, owned(bike_sel));
- if (!owned(bike_sel))
- for (int yy = 0; yy < 64; yy++)
- for (int xx = 0; xx < 170; xx++)
- if (fb[yy][xx] != C_BG) fb[yy][xx] = C_GROUND;
+ if (owned(bike_sel)) draw_bike_at(bike_sel, 80, 32, 0, 1.1f, 1);
+ else draw_bike_shape(bike_sel, 80, 32, 0, 1.1f, C_GROUND);
}
for (int i = 0; i < 4 * COLS; i++) {
int idx = bike_scroll * COLS + i - 1;
@@ -637,16 +634,10 @@ static void draw_bikes(void) {
int x = 6 + (i % COLS) * 44, y = 68 + (i / COLS) * 38;
if (idx < 0) continue;
if (owned(idx)) draw_bike_at(idx, x + 21, y + 15, 0, 0.42f, 1);
- else {
- draw_bike_at(idx, x + 21, y + 15, 0, 0.42f, 0);
- /* not won yet: a dark shape */
- for (int yy = y; yy < y + 34 && yy < 240; yy++)
- for (int xx = x; xx < x + 42; xx++)
- if (fb[yy][xx] != C_BG) fb[yy][xx] = C_GROUND;
- }
+ else draw_bike_shape(idx, x + 21, y + 15, 0, 0.42f, C_GROUND); /* not won yet: a dark shape */
}
if (overlay == OV_WON) {
- memset(fb, C_BG, sizeof fb);
+ draw_clear(C_BG);
draw_bike_at(won_bike, 160, 116, 0, 1.3f, 1);
}
draw_flush(hud_bikes);
@@ -674,7 +665,7 @@ static void hud_colors(void) {
keyline("Arrows choose OK on/off Back menu");
}
static void draw_colors(void) {
- memset(fb, C_BG, sizeof fb);
+ draw_clear(C_BG);
draw_flush(hud_colors);
}
@@ -701,7 +692,7 @@ static void hud_help(void) {
}
static void draw_help(void) {
if (help_back == S_RIDE) draw_run(&run);
- else memset(fb, C_BG, sizeof fb);
+ else draw_clear(C_BG);
draw_flush(hud_help);
}
diff --git a/games/rider/src/phys.cpp b/games/rider/src/phys.cpp
new file mode 100644
index 00000000..5ec66916
--- /dev/null
+++ b/games/rider/src/phys.cpp
@@ -0,0 +1,336 @@
+/* Rider's physics, see phys.h: Box2D (LiquidFun 1.1.0, src/Box2D) driven the way Corona SDK's physics library does it
+ * (librtt/Rtt_LuaLibPhysics.cpp, Rtt_PhysicsWorld.cpp, Rtt_PhysicsContactListener.cpp, Rtt_DisplayObjectExtensions.cpp):
+ * the same scale, defaults, joints, step and contact events. */
+#include "phys.h"
+#include <Box2D/Collision/Shapes/b2CircleShape.h>
+#include <Box2D/Collision/Shapes/b2PolygonShape.h>
+#include <Box2D/Dynamics/Contacts/b2Contact.h>
+#include <Box2D/Dynamics/Joints/b2MouseJoint.h>
+#include <Box2D/Dynamics/Joints/b2PrismaticJoint.h>
+#include <Box2D/Dynamics/Joints/b2RevoluteJoint.h>
+#include <Box2D/Dynamics/Joints/b2WeldJoint.h>
+#include <Box2D/Dynamics/b2Body.h>
+#include <Box2D/Dynamics/b2Fixture.h>
+#include <Box2D/Dynamics/b2World.h>
+#include <new>
+#include <string.h>
+
+#ifndef PH_ARENA
+#define PH_ARENA (72 * 1024)
+#endif
+#define SCALE 30.0f /* Corona's pixels a metre */
+#define DEG 0.0174532925f
+
+/* ---------------------------------------------------------------- the arena: first fit, blocks behind 8 bytes (their size) */
+typedef struct {
+ uint32_t top, used, peak, pad;
+#ifdef B2_BLOCK_HOOK
+ int32_t dev_live[16], dev_chunks[16]; /* (tests, see below: kept in the arena, so copies of it carry them) */
+#endif
+} arena_head;
+static union {
+ uint8_t b[PH_ARENA];
+ uint64_t align;
+} arena;
+#define HEAD ((arena_head *)arena.b)
+#define FREE_BIT 1u
+
+static void *arena_alloc(int32 size, void *) {
+ uint32_t need = ((uint32_t)size + 8 + 7) & ~7u, at = sizeof(arena_head);
+ while (at < HEAD->top) {
+ uint32_t *h = (uint32_t *)(arena.b + at), sz = *h & ~FREE_BIT;
+ if (*h & FREE_BIT) {
+ /* join the free blocks after it */
+ uint32_t nx = at + sz;
+ while (nx < HEAD->top && (*(uint32_t *)(arena.b + nx) & FREE_BIT)) sz += *(uint32_t *)(arena.b + nx) & ~FREE_BIT, nx = at + sz;
+ if (nx >= HEAD->top) { HEAD->top = at; break; } /* free up to the top: give it back */
+ *h = sz | FREE_BIT;
+ if (sz >= need) {
+ if (sz - need >= 16) *(uint32_t *)(arena.b + at + need) = (sz - need) | FREE_BIT, sz = need;
+ *h = sz, HEAD->used += sz;
+ if (HEAD->used > HEAD->peak) HEAD->peak = HEAD->used;
+ return h + 2;
+ }
+ }
+ at += sz;
+ }
+ if (HEAD->top + need > PH_ARENA) return 0;
+ uint32_t *h = (uint32_t *)(arena.b + HEAD->top);
+ *h = need, HEAD->top += need, HEAD->used += need;
+ if (HEAD->used > HEAD->peak) HEAD->peak = HEAD->used;
+ return h + 2;
+}
+static void arena_free(void *p, void *) {
+ if (!p) return;
+ uint32_t *h = (uint32_t *)p - 2, sz = *h & ~FREE_BIT;
+ HEAD->used -= sz;
+ if ((uint8_t *)h + sz == arena.b + HEAD->top) HEAD->top = (uint32_t)((uint8_t *)h - arena.b);
+ else *h = sz | FREE_BIT;
+}
+
+/* ---------------------------------------------------------------- contact events, as Corona's listener hands them on */
+static const ph_listener *cbs;
+static inline uint16_t tag_of(b2Fixture *f) { return (uint16_t)(uintptr_t)f->GetUserData(); }
+struct Listener : public b2ContactListener {
+ void BeginContact(b2Contact *c) {
+ if (cbs && cbs->begin)
+ cbs->begin(tag_of(c->GetFixtureA()), c->GetFixtureA()->GetFilterData().categoryBits, tag_of(c->GetFixtureB()),
+ c->GetFixtureB()->GetFilterData().categoryBits);
+ }
+ void EndContact(b2Contact *c) {
+ if (cbs && cbs->end)
+ cbs->end(tag_of(c->GetFixtureA()), c->GetFixtureA()->GetFilterData().categoryBits, tag_of(c->GetFixtureB()),
+ c->GetFixtureB()->GetFilterData().categoryBits);
+ }
+ void PreSolve(b2Contact *c, const b2Manifold *) {
+ if (cbs && cbs->pre) cbs->pre(tag_of(c->GetFixtureA()), tag_of(c->GetFixtureB()));
+ }
+ void PostSolve(b2Contact *c, const b2ContactImpulse *impulse) {
+ if (!cbs || !cbs->post) return;
+ /* "For the contact forces, we take the maximum within each set" */
+ float force = 0;
+ for (int32 i = 0; i < c->GetManifold()->pointCount; ++i) force = b2Max(force, impulse->normalImpulses[i]);
+ cbs->post(tag_of(c->GetFixtureA()), c->GetFixtureA()->GetFilterData().categoryBits, tag_of(c->GetFixtureB()),
+ c->GetFixtureB()->GetFilterData().categoryBits, force);
+ }
+};
+
+#ifdef B2_BLOCK_HOOK
+/* the tests: Box2D's blocks counted as the calculator's 32-bit build would size them (its chunks are kept: their
+ * most at any time is what it holds) */
+#define dev_live (HEAD->dev_live)
+#define dev_chunks (HEAD->dev_chunks)
+static int dev_size(int32 host) {
+ switch (host) { /* (64-bit sizes on the left, the calculator's on the right) */
+ case 200: return 164; /* b2Body */
+ case 72: return 44; /* b2Fixture */
+ case 208: return 148; /* contacts */
+ case 272: return 208; /* b2WeldJoint */
+ case 320: return 252; /* b2PrismaticJoint */
+ case 232: return 168; /* b2MouseJoint */
+ case 288: return 228; /* b2RevoluteJoint */
+ case 160: return 152; /* b2PolygonShape */
+ case 24: return 20; /* b2CircleShape */
+ default: return host;
+ }
+}
+static void block_hook(int32 size, int32 d) {
+ static const int cls[] = {16, 32, 64, 96, 128, 160, 192, 224, 256, 320, 384, 448, 512, 640};
+ int dv = dev_size(size), k = 0;
+ while (cls[k] < dv) k++;
+ dev_live[k] += d;
+ int per = B2_CHUNK_SIZE / cls[k], need = (dev_live[k] + per - 1) / per;
+ if (need > dev_chunks[k]) dev_chunks[k] = need;
+}
+extern "C" void ph_device_classes(int *chunks) { for (int k = 0; k < 14; k++) chunks[k] = dev_chunks[k]; }
+extern "C" size_t ph_device_used(void) { /* (the blocks in use, not the chunks kept) */
+ static const int cls[] = {16, 32, 64, 96, 128, 160, 192, 224, 256, 320, 384, 448, 512, 640};
+ size_t n = 16 + 7816 - 7168 + B2_STACK_SIZE + 8 + B2_TREE_NODES * 36 + 8 + B2_CHUNK_ARRAY_INCREMENT * 8 + 8 + 512;
+ for (int k = 0; k < 14; k++) n += (size_t)dev_live[k] * cls[k];
+ return n;
+}
+extern "C" size_t ph_device_peak(void) {
+ size_t n = 16 + 7816 - 7168 + B2_STACK_SIZE + 8 + B2_TREE_NODES * 36 + 8 + B2_CHUNK_ARRAY_INCREMENT * 8 + 8 + 512; /* (+ the broadphase's buffers) */
+ for (int k = 0; k < 16; k++) n += (size_t)dev_chunks[k] * (B2_CHUNK_SIZE + 8);
+ return n;
+}
+#endif
+
+static b2World *world;
+static b2Body *ground;
+static Listener *listener;
+static union {
+ uint8_t b[sizeof(Listener)];
+ void *align;
+} listener_mem;
+
+extern "C" {
+
+void ph_world_new(void) {
+ memset(HEAD, 0, sizeof *HEAD);
+ HEAD->top = sizeof(arena_head);
+#ifdef B2_BLOCK_HOOK
+ b2_blockHook = block_hook;
+#endif
+ b2SetNumAllocs(0);
+ b2SetAllocFreeCallbacks(arena_alloc, arena_free, 0);
+ /* (no destructor: the arena is simply started again) */
+ world = new (arena_alloc(sizeof(b2World), 0)) b2World(b2Vec2(0.0f, 9.8f));
+ world->SetAllowSleeping(true);
+ listener = new (listener_mem.b) Listener();
+ world->SetContactListener(listener);
+ b2BodyDef bd;
+ ground = world->CreateBody(&bd);
+ cbs = 0;
+}
+size_t ph_used(void) { return HEAD->used; }
+/* what is free: the arena's end, its free blocks, and the free blocks in Box2D's chunks */
+#if defined(B2_BLOCK_HOOK) && defined(PH_DEVICE_ARENA)
+extern "C" size_t ph_device_used(void);
+size_t ph_free(void) { /* (tests: as the calculator would see it) */
+ size_t p = ph_device_used();
+ return p < PH_DEVICE_ARENA ? PH_DEVICE_ARENA - p : 0;
+}
+#else
+size_t ph_free(void) {
+ return PH_ARENA - HEAD->top + (HEAD->top - sizeof(arena_head) - HEAD->used) + (size_t)world->GetFreeBlockBytes();
+}
+#endif
+size_t ph_peak(void) { return HEAD->peak; }
+size_t ph_arena_size(void) { return PH_ARENA; }
+size_t ph_top(void) { return HEAD->top; }
+void *ph_arena(void) { return arena.b; }
+void *ph_scratch(size_t *n) {
+ uint32_t at = HEAD->top < sizeof(arena_head) ? (uint32_t)sizeof(arena_head) : (HEAD->top + 7) & ~7u;
+ *n = at < PH_ARENA ? PH_ARENA - at : 0;
+ return arena.b + at;
+}
+ph_body *ph_ground(void) { return (ph_body *)ground; }
+int ph_proxies(void) { return world->GetProxyCount(); }
+int ph_contacts(void) { return world->GetContactCount(); }
+int ph_bodies(void) { return world->GetBodyCount(); }
+void ph_listen(const ph_listener *l) { cbs = l; }
+
+/* Corona's CreateBody: a dynamic body, moved and turned, then given its type */
+ph_body *ph_body_new(int type, float x, float y, float rot) {
+ b2BodyDef bd;
+ bd.type = b2_dynamicBody;
+ b2Body *b = world->CreateBody(&bd);
+ b->SetTransform(b2Vec2(x / SCALE, y / SCALE), rot * DEG);
+ if (type != PH_DYNAMIC) b->SetType(type == PH_STATIC ? b2_staticBody : b2_kinematicBody);
+ return (ph_body *)b;
+}
+void ph_body_free(ph_body *b) { world->DestroyBody((b2Body *)b); }
+
+static void fixdef(b2FixtureDef *fd, const ph_fixdef *d) {
+ fd->density = d->density > 0 ? d->density : 0.01f; /* "previous default was zero, but that did odd things" */
+ fd->friction = d->friction >= 0 ? d->friction : 0.3f;
+ fd->restitution = d->bounce >= 0 ? d->bounce : 0.5f;
+ fd->isSensor = d->sensor;
+ fd->filter.categoryBits = d->cat, fd->filter.maskBits = d->mask, fd->filter.groupIndex = 0;
+ fd->userData = (void *)(uintptr_t)d->tag;
+}
+ph_fixture *ph_poly(ph_body *b, const float *xy, int n, const ph_fixdef *d) {
+ if (n < 3 || n > b2_maxPolygonVertices) return 0;
+ b2Vec2 v[b2_maxPolygonVertices];
+ for (int i = 0; i < n; i++) v[i].Set(xy[2 * i] / SCALE, xy[2 * i + 1] / SCALE);
+ b2PolygonShape s;
+ if (!s.Set(v, n)) return 0; /* Corona looks at the answer instead of asserting */
+ b2FixtureDef fd;
+ fixdef(&fd, d), fd.shape = &s;
+ return (ph_fixture *)((b2Body *)b)->CreateFixture(&fd);
+}
+ph_fixture *ph_circle(ph_body *b, float x, float y, float r, const ph_fixdef *d) {
+ b2CircleShape s;
+ s.m_radius = r / SCALE, s.m_p.Set(x / SCALE, y / SCALE);
+ b2FixtureDef fd;
+ fixdef(&fd, d), fd.shape = &s;
+ return (ph_fixture *)((b2Body *)b)->CreateFixture(&fd);
+}
+void ph_fixture_free(ph_body *b, ph_fixture *f) { ((b2Body *)b)->DestroyFixture((b2Fixture *)f); }
+void ph_free_tag(ph_body *b, uint16_t tag) {
+ b2Fixture *f = ((b2Body *)b)->GetFixtureList();
+ while (f) {
+ b2Fixture *n = f->GetNext();
+ if (tag_of(f) == tag) ((b2Body *)b)->DestroyFixture(f);
+ f = n;
+ }
+}
+
+/* ---------------------------------------------------------------- joints, as physics.newJoint makes them */
+ph_joint *ph_weld(ph_body *a, ph_body *b, float x, float y) {
+ b2WeldJointDef jd;
+ jd.Initialize((b2Body *)a, (b2Body *)b, b2Vec2(x / SCALE, y / SCALE));
+ return (ph_joint *)world->CreateJoint(&jd);
+}
+ph_joint *ph_piston(ph_body *a, ph_body *b, float x, float y, float ax, float ay) {
+ b2PrismaticJointDef jd;
+ b2Vec2 axis(ax, ay);
+ axis.Normalize();
+ jd.Initialize((b2Body *)a, (b2Body *)b, b2Vec2(x / SCALE, y / SCALE), axis);
+ return (ph_joint *)world->CreateJoint(&jd);
+}
+void ph_piston_limits(ph_joint *j, float lo, float hi) {
+ b2PrismaticJoint *p = (b2PrismaticJoint *)j;
+ p->EnableLimit(true);
+ p->SetLimits(lo / SCALE, hi / SCALE);
+}
+ph_joint *ph_pivot(ph_body *a, ph_body *b, float x, float y) {
+ b2RevoluteJointDef jd;
+ jd.Initialize((b2Body *)a, (b2Body *)b, b2Vec2(x / SCALE, y / SCALE));
+ return (ph_joint *)world->CreateJoint(&jd);
+}
+ph_joint *ph_touch(ph_body *b, float x, float y) {
+ b2MouseJointDef jd;
+ jd.bodyA = ground, jd.bodyB = (b2Body *)b;
+ jd.target.Set(x / SCALE, y / SCALE);
+ jd.maxForce = 1000.f * ((b2Body *)b)->GetMass();
+ ((b2Body *)b)->SetAwake(true);
+ return (ph_joint *)world->CreateJoint(&jd);
+}
+void ph_touch_tune(ph_joint *j, float freq, float damping) {
+ ((b2MouseJoint *)j)->SetFrequency(freq);
+ ((b2MouseJoint *)j)->SetDampingRatio(damping);
+}
+void ph_touch_set(ph_joint *j, float x, float y) { ((b2MouseJoint *)j)->SetTarget(b2Vec2(x / SCALE, y / SCALE)); }
+void ph_touch_get(const ph_joint *j, float *x, float *y) {
+ const b2Vec2 &t = ((const b2MouseJoint *)j)->GetTarget();
+ *x = t.x * SCALE, *y = t.y * SCALE;
+}
+void ph_joint_free(ph_joint *j) { world->DestroyJoint((b2Joint *)j); }
+
+/* ---------------------------------------------------------------- a body, as its display object's properties */
+void ph_get(const ph_body *b, float *x, float *y, float *rot) {
+ const b2Body *k = (const b2Body *)b;
+ *x = k->GetPosition().x * SCALE, *y = k->GetPosition().y * SCALE;
+ if (rot) *rot = k->GetAngle() / DEG;
+}
+void ph_vel(const ph_body *b, float *vx, float *vy) {
+ b2Vec2 v = ((const b2Body *)b)->GetLinearVelocity();
+ *vx = v.x * SCALE, *vy = v.y * SCALE;
+}
+float ph_avel(const ph_body *b) { return ((const b2Body *)b)->GetAngularVelocity() / DEG; }
+void ph_set_vel(ph_body *b, float vx, float vy) { ((b2Body *)b)->SetLinearVelocity(b2Vec2(vx / SCALE, vy / SCALE)); }
+void ph_set_avel(ph_body *b, float w) { ((b2Body *)b)->SetAngularVelocity(w * DEG); }
+void ph_set_pos(ph_body *b, float x, float y) { ((b2Body *)b)->SetTransform(b2Vec2(x / SCALE, y / SCALE), ((b2Body *)b)->GetAngle()); }
+void ph_set_rot(ph_body *b, float rot) { ((b2Body *)b)->SetTransform(((b2Body *)b)->GetPosition(), rot * DEG); }
+void ph_set_fixed_rot(ph_body *b, bool on) { ((b2Body *)b)->SetFixedRotation(on); }
+bool ph_fixed_rot(const ph_body *b) { return ((const b2Body *)b)->IsFixedRotation(); }
+void ph_set_damping(ph_body *b, float d) { ((b2Body *)b)->SetLinearDamping(d); }
+void ph_set_gravity(ph_body *b, float scale) { ((b2Body *)b)->SetGravityScale(scale); }
+void ph_set_bullet(ph_body *b, bool on) { ((b2Body *)b)->SetBullet(on); }
+void ph_set_sensor(ph_body *b, bool on) {
+ for (b2Fixture *f = ((b2Body *)b)->GetFixtureList(); f; f = f->GetNext()) f->SetSensor(on);
+}
+void ph_torque(ph_body *b, float t) { ((b2Body *)b)->ApplyTorque(t, true); }
+float ph_mass(const ph_body *b) { return ((const b2Body *)b)->GetMass(); }
+bool ph_awake(const ph_body *b) { return ((const b2Body *)b)->IsAwake(); }
+bool ph_bounds(const ph_body *b, float *x0, float *y0, float *x1, float *y1) {
+ const b2Body *k = (const b2Body *)b;
+ bool any = false;
+ b2AABB box;
+ for (const b2Fixture *f = k->GetFixtureList(); f; f = f->GetNext()) {
+ b2AABB a;
+ f->GetShape()->ComputeAABB(&a, k->GetTransform(), 0);
+ if (!any) box = a, any = true;
+ else box.Combine(a);
+ }
+ if (any) *x0 = box.lowerBound.x * SCALE, *y0 = box.lowerBound.y * SCALE, *x1 = box.upperBound.x * SCALE, *y1 = box.upperBound.y * SCALE;
+ return any;
+}
+
+/* Corona's frame-based step: dt = 1/fps (60, config.lua), 8 velocity and 3 position iterations */
+void ph_step(void) { world->Step(1.0f / 60, 8, 3); }
+
+/* C++ without its library: the few pieces the compiler asks for */
+#ifndef HOST
+void __cxa_pure_virtual(void) {
+ for (;;) {
+ }
+}
+#endif
+}
+#ifndef HOST
+void operator delete(void *) noexcept {}
+void operator delete(void *, unsigned int) noexcept {}
+#endif
diff --git a/games/rider/src/phys.h b/games/rider/src/phys.h
new file mode 100644
index 00000000..efe33e84
--- /dev/null
+++ b/games/rider/src/phys.h
@@ -0,0 +1,90 @@
+/* Rider's physics: the game's own engine, LiquidFun 1.1.0 (Box2D 2.3.0) as Corona SDK built it (src/Box2D), seen from
+ * C the way the game's Lua sees it through Corona: content pixels at 30 a metre, degrees turned clockwise, a step of
+ * 1/60 s with 8 velocity and 3 position iterations, gravity 9.8 m/s^2 down, bodies allowed to sleep.
+ *
+ * All of Box2D's memory is one arena (ph_arena), so a whole world can be copied away and back (tests). */
+#ifndef PHYS_H
+#define PHYS_H
+#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct ph_body ph_body;
+typedef struct ph_fixture ph_fixture;
+typedef struct ph_joint ph_joint;
+enum { PH_STATIC, PH_KINEMATIC, PH_DYNAMIC };
+
+typedef struct {
+ float density, friction, bounce; /* as Corona's addBody: density <= 0 becomes 0.01 */
+ uint16_t cat, mask;
+ bool sensor;
+ uint16_t tag; /* who it is, given back in the contact callbacks */
+} ph_fixdef;
+
+typedef struct {
+ void (*begin)(uint16_t tag_a, uint16_t cat_a, uint16_t tag_b, uint16_t cat_b);
+ void (*end)(uint16_t tag_a, uint16_t cat_a, uint16_t tag_b, uint16_t cat_b);
+ void (*pre)(uint16_t tag_a, uint16_t tag_b);
+ void (*post)(uint16_t tag_a, uint16_t cat_a, uint16_t tag_b, uint16_t cat_b, float force);
+} ph_listener;
+
+/* the arena: a fresh world, what's in use, and room for copies (tests) */
+void ph_world_new(void);
+size_t ph_used(void);
+size_t ph_free(void);
+size_t ph_peak(void);
+size_t ph_arena_size(void);
+size_t ph_top(void); /* the arena in use is [0, ph_top()) */
+void *ph_arena(void);
+void *ph_scratch(size_t *n); /* the arena's free end, for use till the next step (8-byte aligned) */
+size_t ph_device_peak(void); /* (tests: the calculator's arena at its most, from the blocks counted) */
+ph_body *ph_ground(void); /* Corona's ground body; the static track lives on it */
+int ph_proxies(void);
+int ph_contacts(void);
+int ph_bodies(void);
+void ph_listen(const ph_listener *l); /* NULL: no callbacks (while the world is built or taken apart) */
+
+ph_body *ph_body_new(int type, float x, float y, float rot);
+void ph_body_free(ph_body *b);
+ph_fixture *ph_poly(ph_body *b, const float *xy, int n, const ph_fixdef *d); /* NULL if Box2D refuses the shape */
+ph_fixture *ph_circle(ph_body *b, float x, float y, float r, const ph_fixdef *d);
+void ph_fixture_free(ph_body *b, ph_fixture *f);
+void ph_free_tag(ph_body *b, uint16_t tag); /* every fixture with that tag */
+
+ph_joint *ph_weld(ph_body *a, ph_body *b, float x, float y);
+ph_joint *ph_piston(ph_body *a, ph_body *b, float x, float y, float ax, float ay);
+void ph_piston_limits(ph_joint *j, float lo, float hi); /* pixels, and turned on */
+ph_joint *ph_pivot(ph_body *a, ph_body *b, float x, float y);
+ph_joint *ph_touch(ph_body *b, float x, float y); /* target, max force 1000 x the body's mass */
+void ph_touch_tune(ph_joint *j, float freq, float damping);
+void ph_touch_set(ph_joint *j, float x, float y);
+void ph_touch_get(const ph_joint *j, float *x, float *y);
+void ph_joint_free(ph_joint *j);
+
+void ph_get(const ph_body *b, float *x, float *y, float *rot);
+void ph_vel(const ph_body *b, float *vx, float *vy);
+float ph_avel(const ph_body *b);
+void ph_set_vel(ph_body *b, float vx, float vy);
+void ph_set_avel(ph_body *b, float w);
+void ph_set_pos(ph_body *b, float x, float y);
+void ph_set_rot(ph_body *b, float rot);
+void ph_set_fixed_rot(ph_body *b, bool on);
+bool ph_fixed_rot(const ph_body *b);
+void ph_set_damping(ph_body *b, float d);
+void ph_set_gravity(ph_body *b, float scale);
+void ph_set_bullet(ph_body *b, bool on);
+void ph_set_sensor(ph_body *b, bool on);
+void ph_torque(ph_body *b, float t);
+float ph_mass(const ph_body *b);
+bool ph_awake(const ph_body *b);
+bool ph_bounds(const ph_body *b, float *x0, float *y0, float *x1, float *y1); /* its fixtures' boxes, false if none */
+
+void ph_step(void);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/games/rider/src/rider.h b/games/rider/src/rider.h
index 4a4ed41d..f3a75ba4 100644
--- a/games/rider/src/rider.h
+++ b/games/rider/src/rider.h
@@ -4,24 +4,25 @@
#define RIDER_H
#include <stdbool.h>
#include <stdint.h>
+#include "phys.h"
/* ---------------------------------------------------------------- the data (src/data.h, tools/data.py) */
typedef struct {
uint8_t kind, tpl, flags;
uint16_t anim;
- int16_t cx, cy;
- uint16_t rot; /* 1/100 degree, clockwise */
- float sx, sy; /* negative: flipped */
+ float cx, cy, rot; /* centre, turn (degrees, clockwise) */
+ float sx, sy; /* negative: flipped */
int16_t x0, y0, x1, y1;
+ int16_t pvx, pvy; /* the pivot, from the centre */
+ int16_t delay; /* physicsActiveDelay (ms), -1 none */
} rd_obj;
typedef struct {
- uint8_t on_touch;
- int8_t loops;
- uint16_t start_delay, fall_delay;
- int16_t px, py;
+ uint8_t on_touch, stop_touch;
+ int8_t loops; /* -1 for ever, 0 only once touched */
+ uint16_t start_delay; /* ms */
+ float ax, ay; /* the anchor it turns about, from the centre */
uint16_t first;
uint8_t nrot, nx, ny;
- uint16_t child;
} rd_anim;
typedef struct {
float delta;
@@ -31,7 +32,7 @@ typedef struct {
} rd_step;
typedef struct {
uint16_t first, n, width;
- int16_t sx, sy;
+ float sx, sy, srot; /* the bike's centre and turn at the start */
uint16_t finish;
} rd_track;
typedef struct {
@@ -46,43 +47,88 @@ typedef struct {
} rd_bike;
enum { K_GROUND, K_PLATFORM, K_ENEMY, K_BOOST, K_GEM, K_FINISH };
-enum { F_SAFE = 1, F_FALLS = 2, F_DROP = 4 };
+enum { F_SAFE = 1, F_ONCOLL = 2, F_ACTIVE = 4, F_PIVOT = 8, F_REMOVE = 16 };
/* ---------------------------------------------------------------- the world */
-#define MAXLIVE 640
-#define MAXSEG 8
+#define MAXLIVE 288
+#define MAXDYN 64
+#define MAXSEG 6
typedef struct {
- uint16_t obj; /* in rd_objs */
- uint8_t seg; /* the track piece it came with */
- uint8_t st; /* ST_ bits */
- int16_t parent; /* the platform a ground moves with, or -1 */
- float t; /* its animation's clock (ms), or the time since it was touched */
- float ft; /* falling: time since it let go (ms) */
- float cx, cy, rot, dx, dy, dr; /* where it is now: centre, turn (radians), and how far it moved this frame */
- float x0, y0, x1, y1; /* bounding box now */
+ uint16_t obj; /* in rd_objs */
+ uint8_t seg; /* the track piece it came with */
+ uint8_t st; /* ST_ bits */
+ uint8_t dyn; /* its moving part (rd_dyn), or NO_DYN */
+ uint8_t landed;/* landings on it (GameObject.setLanded) */
} rd_live;
-enum { ST_RUN = 1, ST_TOUCHED = 2, ST_FALL = 4, ST_GONE = 8 };
+enum { ST_USED = 1, ST_IN = 2, ST_GONE = 4 }; /* (ST_IN: a moving object's body is in) */
+#define NO_DYN 0xFF
+
+/* an animation of one property (rotation, x or y) as GameObject.animateObjectProperty runs it, frame by frame */
+typedef struct {
+ uint8_t on; /* its enterFrame listener */
+ uint8_t on_touch; /* still waiting for a touch to start */
+ uint8_t delay_done;
+ uint8_t cur; /* the step */
+ int16_t count; /* loops left (0: for ever) */
+ int16_t t; /* frames into the step */
+ float start; /* the value the step began from (NAN: not yet) */
+ float end, orig; /* where the step ends, where the cycle began */
+} rd_anst;
+
+typedef struct {
+ uint16_t live; /* its object */
+ uint8_t used, flags; /* DY_ bits */
+ ph_body *body;
+ ph_joint *touch, *pivot;
+ float tx, ty, rot; /* the touch joint's target and the picture's turn (degrees), kept while unloaded */
+ float x, y; /* where it is now */
+ float pivot_ms; /* the pivot goes then (ms of the run), or -1 */
+ float start_ms; /* its animations start then, or -1 */
+ rd_anst an[3];
+} rd_dyn;
+enum { DY_ANIM = 1, DY_PIVOT = 2, DY_FREE = 4, DY_ALWAYS = 8 };
+
typedef struct {
int16_t track;
- int32_t x; /* where the piece begins in the world */
+ int32_t x; /* where the piece begins in the world */
+ uint8_t gems; /* its gems are out (the endless run puts them in every other piece) */
} rd_seg;
+/* the bike: Box2D bodies, as GameCharacter builds them */
+enum { BP_MAIN, BP_WHEEL1, BP_WHEEL2, BP_TRIG1, BP_TRIG2, BP_FRONT, BP_BOTTOM, BP_TOP, BP_BACK, BP_N };
+
#define TRAIL 24
typedef struct {
- float x, y, vx, vy, a, w; /* centre of the body, its speed (px/s), turn (radians, clockwise), turn speed */
- float speed; /* the button's speed (px/s) */
- bool held; /* the button, this frame */
- bool ground; /* a wheel trigger on a platform */
- bool fixed; /* let go in the air: the turn eases to nothing, contacts can't turn it */
- float ease_t, ease_w0; /* that easing: its clock (ms), the turn speed it started from */
- float air_ms; /* in the air for */
- float boost_ms; /* a speed pad's push left (ms) */
- float boost_dir;
- uint8_t wheel_down[2];
- float land_t[2]; /* when each wheel came down (ms of the run) */
- float flip_start, rot_abs;/* flips: degrees, as the game counts them */
+ ph_body *part[BP_N];
+ uint8_t on_ground[BP_N]; /* the display objects' onGround (wheels, triggers, main body) */
+ float landing_ms[2]; /* the triggers' landingTime */
+ bool started; /* the run has begun (physics runs) */
+ bool accelerating, accel_fresh, held;
+ int accel_in_air; /* accelerationStartedInAir */
+ float speed; /* the accelerate timer's speed (px/s) */
+ int delta; /* its step: 14, or 30 going backwards */
+ float in_air_ms; /* inAirStartTime, or -1 */
+ bool in_air_flag;
+ /* stopBikeRotation */
+ bool stop_rot;
+ float stop_rot_ms, stop_rot_w0;
+ /* setBoost */
+ bool boost;
+ int boost_frames, boost_first;
+ float boost_rot, boost_angle;
+ bool boost_angle_set;
+ /* flips (Board.checkFlip) */
+ bool flip_zero_set;
+ float flip_zero, flip_very_start, flip_abs_start;
+ int8_t flip_dir; /* 0 none, -1 LEFT (back), 1 RIGHT (front) */
int air_flips;
bool front_flip;
+ /* what is drawn and read */
+ float x, y, vx, vy, a, w; /* the main body: centre, speed (px/s), turn (radians, clockwise), turn speed */
+ float wx[2], wy[2]; /* the wheels */
+ bool ground; /* a trigger on a platform */
+ float max_x, odo; /* (tests: how far it got, how far it rode forward) */
+ float air_ms;
float trail_x[TRAIL], trail_y[TRAIL];
int trail_n;
} rd_bikestate;
@@ -92,6 +138,23 @@ typedef struct {
uint8_t c, size;
} rd_bit;
+/* the collision tables of Board's collision listener: who touches what, and how many times (fixtures) */
+#define MAXTOUCH 64
+typedef struct {
+ uint8_t table, who;
+ uint16_t what;
+ int16_t n;
+} rd_touch;
+enum { T_TOP, T_BOOST, T_DEADLY, T_BODY, T_SENS };
+
+#define MAXTIMER 16
+typedef struct {
+ float at; /* ms of the run */
+ uint8_t kind;
+ uint16_t a;
+ uint8_t b;
+} rd_timer;
+
enum { RUN_ENDLESS, RUN_LEVEL };
enum { END_NONE, END_CRASH, END_FINISH };
#define NBITS 40
@@ -99,23 +162,32 @@ typedef struct {
int mode, level, bike, theme;
uint32_t seed;
rd_seg seg[MAXSEG];
- int nseg;
+ int nseg, nchunks;
int32_t end_x; /* the world's right end so far */
+ int32_t base_k; /* the ground base's blocks in the physics world: round this one */
rd_live live[MAXLIVE];
- int nlive;
+ uint64_t pmask[MAXLIVE]; /* a static object's polygons in the physics world */
+ int nlive; /* slots in use up to here */
+ rd_dyn dyn[MAXDYN];
rd_bikestate b;
+ rd_touch touch[MAXTOUCH];
+ int ntouch;
+ rd_timer timer[MAXTIMER];
+ int ntimer;
float ms; /* the run's clock */
+ uint32_t frame; /* Board's frame number */
+ int top_frame; /* the top sensor's first hard knock (frame), or -1 */
+ bool death_check, finish_passed, body_touch;
int score, pending; /* flips counted, flips not counted yet (in the air, or landed less than 500 ms ago) */
- int landed_flips; /* of those, the ones landed */
- float pending_ms; /* till the landed ones count */
+ int landed_flips;
+ float pending_ms;
int flips, perfect, doubles, gems;
int best_flips_jump;
int ended; /* END_ */
- float end_ms; /* since it ended */
+ float end_ms;
float finish_x;
float bottom; /* below this is out of the world */
float camx, camy;
- /* texts over the run */
const char *text, *text2;
float text_ms;
rd_bit bits[NBITS];
@@ -128,14 +200,17 @@ void run_start(rd_run *r, int mode, int level, int bike, int theme, uint32_t see
void run_step(rd_run *r, bool held); /* one frame, 1/60 s */
float run_level_time(const rd_run *r); /* ms, flips taken off */
uint32_t rd_rand(uint32_t *s);
-void run_debug(rd_run *r); /* (tests) */
+void obj_pose(const rd_run *r, int i, float *x, float *y, float *rot); /* centre and turn (radians) now */
+void obj_box(const rd_run *r, int i, float *x0, float *y0, float *x1, float *y1);
/* ---------------------------------------------------------------- draw.c */
-extern uint8_t fb[240][320];
extern uint16_t pal[256];
void draw_theme(int theme);
+void draw_clear(uint8_t c);
void draw_run(const rd_run *r);
void draw_bike_at(int bike, float x, float y, float a, float zoom, int glow); /* in screen pixels */
+void draw_wheels_at(float x0, float y0, float x1, float y1, float zoom, int front);
+void draw_bike_shape(int bike, float x, float y, float a, float zoom, uint8_t c); /* one colour, no wheels */
void draw_flush(void (*hud)(void));
void fb_fill(int x, int y, int w, int h, uint8_t c);
void draw_gem_icon(float x, float y, float h);
diff --git a/games/rider/tests/play.c b/games/rider/tests/play.c
index e0deca0b..444ce733 100644
--- a/games/rider/tests/play.c
+++ b/games/rider/tests/play.c
@@ -94,13 +94,28 @@ static int fails;
static int flat_level(void) { /* the first Easy level starts on flat ground */
return 0;
}
+/* the whole bike moved (a test's lift into the air) */
+static void lift(rd_run *r, float dy) {
+ for (int p = 0; p < BP_N; p++) {
+ float x, y, a;
+ ph_get(r->b.part[p], &x, &y, &a);
+ ph_set_pos(r->b.part[p], x, y + dy);
+ ph_set_vel(r->b.part[p], 300, 0);
+ ph_set_avel(r->b.part[p], 0);
+ }
+}
static void test_physics(void) {
rd_run *r = &run;
run_start(r, RUN_LEVEL, flat_level(), 0, 0, 5);
- CHECK(r->b.ground, "the bike stands on the track at the start");
+ float sy = r->b.y;
+ run_step(r, false);
+ CHECK(r->b.y == sy && !r->b.started, "waits for the first touch");
+ run_step(r, true), run_step(r, false);
+ for (int i = 0; i < 90; i++) run_step(r, false);
+ CHECK(r->b.ground, "the bike stands on the track");
float y0 = r->b.y;
for (int i = 0; i < 30; i++) run_step(r, false);
- CHECK(fabsf(r->b.y - y0) < 2 && fabsf(r->b.vx) < 5, "still: it stays put (moved %.2f, vx %.2f)", r->b.y - y0, r->b.vx);
+ CHECK(fabsf(r->b.y - y0) < 2, "still: it stays put (moved %.2f)", r->b.y - y0);
/* held on the ground: the button's speed grows 14 a frame up to 550 */
run_step(r, true);
float s1 = r->b.speed;
@@ -108,25 +123,24 @@ static void test_physics(void) {
CHECK(fabsf(r->b.speed - s1 - 9 * 14) < 1, "14 px/s a frame (%.1f -> %.1f)", s1, r->b.speed);
for (int i = 0; i < 60 && r->b.ground; i++) run_step(r, true);
CHECK(r->b.speed <= 550.01f, "at most 550 px/s (%.1f)", r->b.speed);
- /* in the air: the turn grows by the torque and stops at 500 degrees a second */
- rd_bikestate *b = &r->b;
- b->y -= 2000, b->vx = 300, b->vy = 0, b->w = 0, b->ground = false, b->air_ms = 100;
- float vy0 = b->vy;
+ /* in the air: the turn grows by the torque and stops near 500 degrees a second */
run_step(r, false);
- CHECK(fabsf(b->vy - vy0 - (294.0f / 60 + 4.41f)) < 0.5f, "gravity and the game's push down in the air (%.2f)", b->vy - vy0);
- b->held = false;
+ lift(r, -3000);
+ for (int i = 0; i < 6; i++) run_step(r, false);
+ CHECK(!r->b.ground, "in the air");
for (int i = 0; i < 90; i++) run_step(r, true);
- CHECK(fabsf(b->w / 0.017453f + 500) < 10, "spin at -500 deg/s (%.1f)", b->w / 0.017453f);
+ float w = r->b.w / 0.017453f;
+ CHECK(w < -450 && w > -560, "spin at -500 deg/s (%.1f)", w);
/* let go: it eases to a stop in a second */
- run_step(r, false);
- for (int i = 0; i < 59; i++) run_step(r, false);
- CHECK(fabsf(b->w) < 0.05f, "stopped turning a second after letting go (%.3f)", b->w);
+ for (int i = 0; i < 64; i++) run_step(r, false);
+ CHECK(fabsf(r->b.w) < 0.05f, "stopped turning a second after letting go (%.3f)", r->b.w);
CHECK(r->flips >= 1, "a flip counted (%d)", r->flips);
}
/* a bot: holds on the ground, and in the air holds only while the bike leans forward of its landing */
static bool bot(const rd_run *r, int flips) {
const rd_bikestate *b = &r->b;
+ if (!b->started) return true;
if (b->ground) return true;
if (!flips) { /* lands: noses up to the way it flies */
float target = atan2f(b->vy, b->vx > 1 ? b->vx : 1) * 0.5f;
@@ -138,10 +152,11 @@ static bool bot(const rd_run *r, int flips) {
return r->b.air_ms < 1400 && (b->air_flips < flips && !(deg < -30 && deg > -120 && b->air_flips == flips - 1));
}
/* a level ridden by search: pieces of 15 frames, a few ways to hold the button in each, the furthest
- * still riding kept; returns the frames' button in path (1 held), or 0 if none got to the end */
+ * still riding kept; returns the frames' button in path (1 held), or 0 if none got to the end.
+ * A state is the run and Box2D's arena, copied away and back. */
#define SEG 15
#ifndef BEAM
-#define BEAM 12
+#define BEAM 20
#endif
#define PAT 7
static bool pat(int p, int f) {
@@ -155,50 +170,78 @@ static bool pat(int p, int f) {
default: return f >= SEG - 4;
}
}
-static rd_run beam[BEAM], next_beam[BEAM * PAT], tmp;
+typedef struct {
+ rd_run run;
+ size_t n;
+ uint8_t mem[PH_ARENA];
+} snap_t;
+static void snap_save(snap_t *s) { s->run = run, s->n = ph_top(), memcpy(s->mem, ph_arena(), s->n); }
+static void snap_load(const snap_t *s) { run = s->run, memcpy(ph_arena(), s->mem, s->n); }
+static void snap_copy(snap_t *d, const snap_t *s) { d->run = s->run, d->n = s->n, memcpy(d->mem, s->mem, s->n); }
+static snap_t beam[BEAM], next_beam[BEAM * PAT];
static uint8_t paths[BEAM][1600], next_paths[BEAM * PAT][1600];
-static float worth(const rd_run *r) { return r->mode == RUN_ENDLESS ? (r->score + r->pending) * 2000.0f + r->perfect * 300 + r->b.x : r->b.x; }
+static float worth(const rd_run *r) { /* (a loop takes the bike back over its x a while: how far it rode counts too) */
+ return r->mode == RUN_ENDLESS ? (r->score + r->pending) * 2000.0f + r->perfect * 300 + r->b.x : r->b.max_x + 0.5f * r->b.odo;
+}
static int solve_run(int mode, int level, int bike, uint32_t seed, uint8_t *out, int max_segs) {
int nb = 1;
- run_start(&beam[0], mode, level, bike, mode == RUN_LEVEL ? level / 8 : 6, seed);
+ run_start(&run, mode, level, bike, mode == RUN_LEVEL ? level / 8 : 6, seed);
+ snap_save(&beam[0]);
+ float far_x = -1e9f;
for (int sg = 0; sg < max_segs; sg++) {
int nn = 0;
for (int i = 0; i < nb; i++)
for (int p = 0; p < PAT; p++) {
- tmp = beam[i];
- for (int f = 0; f < SEG && !tmp.ended; f++) run_step(&tmp, pat(p, f));
- if (tmp.ended == END_CRASH) continue;
- if (tmp.ended == END_FINISH) {
+ snap_load(&beam[i]);
+ for (int f = 0; f < SEG && !run.ended; f++) run_step(&run, pat(p, f));
+ if (run.b.x > far_x) far_x = run.b.x;
+ if (run.ended == END_CRASH) continue;
+ if (run.ended == END_FINISH) {
memcpy(out, paths[i], (size_t)sg), out[sg] = (uint8_t)p;
return sg + 1;
}
- next_beam[nn] = tmp;
+ snap_save(&next_beam[nn]);
memcpy(next_paths[nn], paths[i], (size_t)sg), next_paths[nn][sg] = (uint8_t)p;
nn++;
}
if (!nn) {
- printf(" [died at x %.0f, %.1f s]", beam[0].b.x, beam[0].ms / 1000);
+ printf(" [died at x %.0f (furthest %.0f), %.1f s]", beam[0].run.b.x, far_x, beam[0].run.ms / 1000);
if (getenv("DIED")) {
char p[256];
- run = beam[0], draw_theme(run.theme), screen = S_RIDE, used_ok = true, overlay = 0, draw_ride();
+ snap_load(&beam[0]);
+ draw_theme(run.theme), screen = S_RIDE, used_ok = true, overlay = 0, draw_ride();
snprintf(p, sizeof p, "%s/died%02d.ppm", getenv("DIED"), level), ppm(p);
}
return 0;
}
- /* keep the furthest, a few apart */
- nb = 0;
- for (int k = 0; k < BEAM && nn; k++) {
- int best = 0;
- for (int j = 1; j < nn; j++)
- if (worth(&next_beam[j]) > worth(&next_beam[best])) best = j;
- beam[nb] = next_beam[best], memcpy(paths[nb], next_paths[best], (size_t)sg + 1), nb++;
- float bx = next_beam[best].b.x, by = next_beam[best].b.y;
- for (int j = 0; j < nn; j++)
- if (fabsf(next_beam[j].b.x - bx) < 3 && fabsf(next_beam[j].b.y - by) < 3) next_beam[j] = next_beam[--nn], memcpy(next_paths[j], next_paths[nn], (size_t)sg + 1), j--;
+ /* keep the furthest, a few apart, and only a few at each stretch of the track: slower ones, that wait for a
+ * moving platform, stay in */
+ static int order[BEAM * PAT], pick[BEAM], spare[BEAM * PAT];
+ for (int j = 0; j < nn; j++) order[j] = j;
+ for (int i = 1; i < nn; i++)
+ for (int j = i; j > 0 && worth(&next_beam[order[j - 1]].run) < worth(&next_beam[order[j]].run); j--) {
+ int t = order[j]; order[j] = order[j - 1], order[j - 1] = t;
+ }
+ int np = 0, ns = 0;
+ for (int q = 0; q < nn && np < BEAM; q++) {
+ const rd_run *c = &next_beam[order[q]].run;
+ bool near = false;
+ int same = 0;
+ for (int k = 0; k < np; k++) {
+ const rd_run *a = &next_beam[pick[k]].run;
+ near |= fabsf(a->b.x - c->b.x) < 3 && fabsf(a->b.y - c->b.y) < 3;
+ same += (int)floorf(a->b.max_x / 48) == (int)floorf(c->b.max_x / 48);
+ }
+ if (near) continue;
+ if (same >= 3) spare[ns++] = order[q];
+ else pick[np++] = order[q];
}
+ for (int q = 0; q < ns && np < BEAM; q++) pick[np++] = spare[q];
+ nb = 0;
+ for (int k = 0; k < np; k++) snap_copy(&beam[nb], &next_beam[pick[k]]), memcpy(paths[nb], next_paths[pick[k]], (size_t)sg + 1), nb++;
}
- if (mode == RUN_ENDLESS) { memcpy(out, paths[0], (size_t)max_segs); return max_segs; }
- printf(" [out of time at x %.0f]", beam[0].b.x);
+ if (mode == RUN_ENDLESS) { memcpy(out, paths[0], (size_t)max_segs); snap_load(&beam[0]); return max_segs; }
+ printf(" [out of time at x %.0f]", beam[0].run.b.x);
return 0;
}
static int solve_level(int level, uint8_t *out, int max_segs) { return solve_run(RUN_LEVEL, level, 0, 9, out, max_segs); }
@@ -399,8 +442,8 @@ int main(int argc, char **argv) {
int n = atoi(argv[4]), fl = argc > 5 ? atoi(argv[5]) : 0;
for (int i = 0; i < n && !r->ended; i++) {
run_step(r, bot(r, fl));
- if (argc > 6 && i >= atoi(argv[6]) - 12 && i <= atoi(argv[6])) run_debug(r);
if (i % 20 == 0 || (argc > 6 && i >= atoi(argv[6]) - 12 && i <= atoi(argv[6]))) printf("%4d x %7.1f y %7.1f vx %6.1f vy %6.1f a %6.1f w %6.1f g %d spd %5.1f flips %d score %d\n", i, r->b.x, r->b.y, r->b.vx, r->b.vy, r->b.a / 0.0174533f, r->b.w / 0.0174533f, r->b.ground, r->b.speed, r->flips, r->score);
+ if (getenv("MEM") && i % 20 == 0) printf(" arena used %zu top %zu peak %zu proxies %d\n", ph_used(), ph_top(), ph_peak(), ph_proxies());
}
printf("ended %d at x %.0f (finish %.0f) ms %.0f\n", r->ended, r->b.x, r->finish_x, r->ms);
if (getenv("SEGS")) print_segs(r);
@@ -410,6 +453,38 @@ int main(int argc, char **argv) {
ppm(argv[2]);
return 0;
}
+ if (argc > 4 && !strcmp(argv[1], "wait")) { /* wait LEVEL FROM TO: press, let go WAIT frames, then hold: how far */
+ int l = atoi(argv[2]);
+ for (int w = atoi(argv[3]); w <= atoi(argv[4]); w += 6) {
+ rd_run *r = &run;
+ run_start(r, RUN_LEVEL, l, 0, l / 8, 3);
+ run_step(r, true);
+ int i = 0;
+ for (; i < 60 * 30 && !r->ended; i++) run_step(r, i >= w);
+ printf("wait %3d: ended %d at x %.0f y %.0f after %.1f s\n", w, r->ended, r->b.x, r->b.y, r->ms / 1000);
+ }
+ return 0;
+ }
+ if (argc > 1 && !strcmp(argv[1], "mem")) { /* mem: the arena and the fixtures at their most, the bot in every level */
+ int maxp = 0;
+ for (int l = 0; l < NLEVELS; l++) {
+ if (getenv("LEVEL") && l != atoi(getenv("LEVEL"))) continue;
+ for (int fl = 0; fl < 2; fl++) {
+ rd_run *r = &run;
+ run_start(r, RUN_LEVEL, l, 0, l / 8, 3);
+ int mp = 0;
+ int mc = 0;
+ for (int i = 0; i < 60 * 40 && !r->ended; i++) { run_step(r, bot(r, fl)); if (i % 7 == 0) draw_run(r), draw_flush(0); if (ph_proxies() > mp) mp = ph_proxies(); if (ph_contacts() > mc) { mc = ph_contacts(); if (getenv("WHERE")) printf(" frame %d contacts %d fixtures %d bodies %d at x %.0f\n", i, mc, ph_proxies(), ph_bodies(), r->b.x); } }
+ printf(" contacts at most %d\n", mc);
+ if (mp > maxp) maxp = mp;
+ printf("level %2d bot %d: calculator %6zu bytes, %3d fixtures at most, ended %d at x %.0f\n", l, fl, ph_device_peak(), mp, r->ended, r->b.x);
+ }
+ }
+ printf("fixtures at most %d\n", maxp);
+ { extern int draw_most_cmds, draw_most_pts; printf("drawn: %d shapes, %d points at most\n", draw_most_cmds, draw_most_pts); }
+ { void ph_device_classes(int *); int ch[14]; ph_device_classes(ch); for (int k = 0; k < 14; k++) printf("%d ", ch[k]); printf("(chunks of 16 32 64 96 128 160 192 224 256 320 ...)\n"); }
+ return 0;
+ }
if (argc > 2 && !strcmp(argv[1], "solve")) { /* solve FIRST [LAST]: can the levels be ridden to their end */
static uint8_t path[1600];
int a = atoi(argv[2]), z = argc > 3 ? atoi(argv[3]) : a, ok = 0;
@@ -419,7 +494,7 @@ int main(int argc, char **argv) {
if (n) {
run_start(&run, RUN_LEVEL, l, 0, l / 8, 9);
for (int sg = 0; sg < n; sg++) for (int f = 0; f < SEG && !run.ended; f++) run_step(&run, pat(path[sg], f));
- printf(" in %.2f s, %d flips", run_level_time(&run) / 1000, run.flips);
+ printf(" in %.2f s, %d flips (stars at %.1f and %.1f s)", run_level_time(&run) / 1000, run.flips, star2[l] / 100.0f, star3[l] / 100.0f);
ok++;
}
printf("\n");
diff --git a/games/rider/tools/data.py b/games/rider/tools/data.py
index 1468cc2c..e3764dce 100644
--- a/games/rider/tools/data.py
+++ b/games/rider/tools/data.py
@@ -52,71 +52,93 @@ for n in tpl_names:
tpl_poly.append(len(poly_vert)); poly_vert.append(len(verts) // 2)
# ---------------------------------------------------------------- tracks
+# As the game builds them (code.backgroundModule, code.GameObject): every object a body at its picture's centre, turned
+# and scaled; dynamic when it moves (an animation, physicsActive or physicsActiveOnCollision), static otherwise.
EASE = ['linear', 'inOutQuad', 'outBounce', 'outBack', 'inQuad', 'outQuad', 'inOutSine']
objs, anims, steps, tracks = [], [], [], []
+BIKE_W, BIKE_H = 117 * 0.7, 37 * 0.7 # the bike's picture (GameCharacter getWidth, getHeight)
def steps_of(v):
if not v: return []
if isinstance(v, str): v = json.loads(v)
return [(float(a), int(b), EASE.index(c), int(d)) for a, b, c, d in v]
+def lua_true(v): return v is not None and v is not False # Lua: only nil and false are false
def track(path, kind):
obs, d = objects(path)
by_id = {o['id']: o for o in obs}
start, finish, first = None, None, len(objs)
kept = [o for o in obs if o['type'] in KIND or o['type'] == 'character']
- children = {}
+ parent_of = {} # animGroundChild: a ground that takes its platform's animations (copyAnimationInheritance)
for o in kept:
g = o['props'].get('animGroundChild')
- if g is not None and int(g) in by_id: children[int(g)] = o['id']
+ if g is not None and int(g) in by_id: parent_of[int(g)] = o
order = [o for o in kept if o['type'] != 'character']
# grounds first (drawn under everything), then the rest
order.sort(key=lambda o: (o['type'] != 'ground',))
- index = {o['id']: first + i for i, o in enumerate(order)}
for o in kept:
- if o['type'] == 'character': start = (o['cx'], o['cy'])
+ if o['type'] == 'character':
+ # Board: startX = x + the bike's half width, startY = y - its half height; startRotation the object's
+ raw = [r for L in d['layers'] for r in L.get('objects', []) if r.get('id') == o['id']][0]
+ start = (raw['x'] + BIKE_W / 2, raw['y'] - BIKE_H / 2, raw.get('rotation', 0))
width = d['width'] * d['tilewidth']
for o in order:
p = o['props']; k = KIND[o['type']]
flags = 0
- if truthy(p.get('dontDieOnCollision')): flags |= 1
- falls = truthy(p.get('physicsActiveOnCollision'))
- if falls: flags |= 2
- if truthy(p.get('physicsActive')): flags |= 2 | 4 # moved by physics from the start: falls at once
- falls = falls or bool(flags & 4)
- rot_s, px_s, py_s = steps_of(p.get('animRotation')), steps_of(p.get('animPositionX')), steps_of(p.get('animPositionY'))
+ if lua_true(p.get('dontDieOnCollision')): flags |= 1
+ on_coll = lua_true(p.get('physicsActiveOnCollision'))
+ pivot = lua_true(p.get('physicsPivotJoint'))
+ remove = False
+ active = lua_true(p.get('physicsActive'))
+ if on_coll: # GameObject.create: a pivot that the first touch takes away
+ if not pivot: remove = True
+ pivot = active = True
+ if on_coll: flags |= 2
+ if active: flags |= 4
+ if pivot: flags |= 8
+ if remove: flags |= 16
+ delay = p.get('physicsActiveDelay')
+ delay = -1 if delay is None else int(delay)
+ # the pivot: tools.calculateAnchorToCoords, from the picture's box on screen (turned)
+ a = math.radians(o['rot'])
+ cw = abs(o['w'] * math.cos(a)) + abs(o['h'] * math.sin(a)); ch = abs(o['w'] * math.sin(a)) + abs(o['h'] * math.cos(a))
+ pvx = (0.5 - float(p.get('physicsPivotJointAnchorX', 0.5))) * cw
+ pvy = (0.5 - float(p.get('physicsPivotJointAnchorY', 0.5))) * ch
+ src = parent_of.get(o['id'])
+ q = src['props'] if src is not None else p # the animations and their settings: its own, or its platform's
+ rot_s, px_s, py_s = steps_of(q.get('animRotation')), steps_of(q.get('animPositionX')), steps_of(q.get('animPositionY'))
anim = 0xFFFF
- parent = children.get(o['id'])
- if rot_s or px_s or py_s or falls or parent is not None:
+ if rot_s or px_s or py_s:
+ # the anchor it turns about: its own animAnchorX/Y, in its own frame, turned with it (addPhysics)
ax = float(p.get('animAnchorX', 0.5)) - 0.5; ay = float(p.get('animAnchorY', 0.5)) - 0.5
- # the pivot in the object's own frame (as drawn: y down), turned with it
- a = math.radians(o['rot']); lx, ly = ax * o['w'], ay * o['h']
- pvx, pvy = o['cx'] + math.cos(a) * lx - math.sin(a) * ly, o['cy'] + math.sin(a) * lx + math.cos(a) * ly
- loops = int(p.get('animLoops', -1))
- af = (1 if truthy(p.get('animStartOnCollision')) else 0)
+ lx, ly = ax * o['w'], ay * o['h']
+ anx, any_ = math.cos(a) * lx - math.sin(a) * ly, math.sin(a) * lx + math.cos(a) * ly
+ loops = q.get('animLoops')
+ loops = -1 if loops is None else int(loops)
anim = len(anims)
- anims.append([af, max(-1, min(100, loops)), int(p.get('animStartDelay', 0)), int(p.get('physicsActiveDelay', 0)),
- int(round(pvx)), int(round(pvy)), len(steps), len(rot_s), len(px_s), len(py_s),
- index.get(parent, 0xFFFF) if parent is not None else 0xFFFF])
+ anims.append([1 if lua_true(q.get('animStartOnCollision')) else 0, 1 if lua_true(q.get('animStopOnCollision')) else 0,
+ max(-100, min(100, loops)), int(q.get('animStartDelay', 0) or 0), ff(anx), ff(any_),
+ len(steps), len(rot_s), len(px_s), len(py_s)])
for st in rot_s + px_s + py_s: steps.append(st)
if o['type'] == 'finish': finish = o['cx']
n = o['name']
if n in tpl_index:
W, H = imgdim(n); sx, sy = o['w'] / W * (-1 if o['fh'] else 1), o['h'] / H * (-1 if o['fv'] else 1)
- pts = [q for sh in o['shapes'] if not sh['sensor'] for q in world(o, sh['pts'])]
+ pts = [q2 for sh in o['shapes'] if not sh['sensor'] for q2 in world(o, sh['pts'])]
tpl = tpl_index[n]
else:
sx, sy, tpl = o['w'], o['h'], 0xFF
hw, hh = o['w'] / 2, o['h'] / 2
pts = world(o, [(-hw, -hh), (hw, -hh), (hw, hh), (-hw, hh)])
if not pts: pts = [(o['cx'], o['cy'])]
- bb = [int(math.floor(min(q[0] for q in pts))), int(math.floor(min(q[1] for q in pts))),
- int(math.ceil(max(q[0] for q in pts))), int(math.ceil(max(q[1] for q in pts)))]
- objs.append([k, tpl, flags, anim, int(round(o['cx'])), int(round(o['cy'])), int(round(o['rot'] * 100)) % 36000,
- ff(sx), ff(sy)] + bb)
- if start is None: # the endless run's start piece: on its first platform
- x = 150.0
- tops = [q[1] for o in order if o['type'] == 'platform' for sh in o['shapes'] for q in world(o, sh['pts']) if abs(q[0] - x) < 40]
- start = (x, min(tops) - 23) if tops else (100, 1300)
- tracks.append([first, len(objs) - first, int(width), int(round(start[0])), int(round(start[1])),
+ bb = [int(math.floor(min(q2[0] for q2 in pts))), int(math.floor(min(q2[1] for q2 in pts))),
+ int(math.ceil(max(q2[0] for q2 in pts))), int(math.ceil(max(q2[1] for q2 in pts)))]
+ objs.append([k, tpl, flags, anim, ff(o['cx']), ff(o['cy']), ff(o['rot']), ff(sx), ff(sy)] + bb +
+ [int(round(pvx)), int(round(pvy)), delay])
+ if start is None:
+ # the endless run (Board.create): startX = -0.6 x 640 + 275, startY = 480 - 350, in the first piece's frame
+ # (it starts at x -320, y groundBaseTopY - 1600, groundBaseTopY = 0.525 x 1136 on a 16:9 iPhone);
+ # startRotation unset: startingCharacterRotation
+ start = (-0.6 * 640 + 275 + 320, 480 - 350 - (0.525 * 1136 - 1600), cfg['startingCharacterRotation'])
+ tracks.append([first, len(objs) - first, int(width), ff(start[0]), ff(start[1]), ff(start[2]),
int(round(finish)) if finish is not None else 0])
for l in levels: track(APP + '/data/levels/%s.json' % l, 'level')
for c in chunks: track(APP + '/data/chunks/%s.json' % c, 'chunk')
@@ -127,20 +149,22 @@ out.append('#define NTPL %d\n#define NLEVELS %d\n#define NCHUNKS %d\n#define NOB
out.append('/* the physics outlines: tpl -> polygons -> vertices (quarter pixels, around the picture\'s centre) */')
arr('uint16_t', 'tpl_poly', tpl_poly); arr('uint16_t', 'poly_vert', poly_vert); arr('int16_t', 'tpl_xy', verts)
out.append('static const char *const tpl_name[NTPL] = {' + ', '.join('"%s"' % n for n in tpl_names) + '};')
-out.append('/* kind, template, flags (1 never kills, 2 falls once touched, 4 falls from the start), animation, centre, turn\n'
- ' * (1/100 degree), scale x and y (negative: flipped), bounding box */')
+out.append('/* kind, template, flags (1 never kills, 2 falls once touched, 4 moved by physics, 8 held by a pivot, 16 the\n'
+ ' * pivot goes on a touch), animation, centre, turn (degrees), scale x and y (negative: flipped), bounding box,\n'
+ ' * pivot (from the centre), physicsActiveDelay (ms, -1 none) */')
out.append('static const rd_obj rd_objs[NOBJ] = {')
for o in objs: out.append(' {%s},' % ', '.join(str(v) for v in o))
out.append('};')
-out.append('/* start on touch, loops (-1 for ever), start delay, fall delay (ms), pivot, first step, rotation, x and y\n'
- ' * steps, the ground that moves with it */')
+out.append('/* starts on a touch, stops on a touch, loops (-1 for ever, 0 only on a touch), start delay (ms), anchor (from\n'
+ ' * the centre), first step, rotation, x and y steps */')
out.append('static const rd_anim rd_anims[%d] = {' % max(1, len(anims)))
for a in anims: out.append(' {%s},' % ', '.join(str(v) for v in a))
out.append('};')
+out.append('/* delta, time (ms), easing, delay (ms) */')
out.append('static const rd_step rd_steps[%d] = {' % max(1, len(steps)))
-for s in steps: out.append(' {%s, %d, %d, %d},' % (ff(s[0]), s[1], s[2], s[3]))
+for s_ in steps: out.append(' {%s, %d, %d, %d},' % (ff(s_[0]), s_[1], s_[2], s_[3]))
out.append('};')
-out.append('/* first object, objects, width, start, finish x */')
+out.append('/* first object, objects, width, start (centre of the bike and its turn), finish x */')
out.append('static const rd_track rd_tracks[%d] = {' % len(tracks))
for t, nm in zip(tracks, levels + chunks): out.append(' {%s}, /* %s */' % (', '.join(str(v) for v in t), nm))
out.append('};')
@@ -219,7 +243,7 @@ for c in chars:
area = sum(q[i][0] * q[(i + 1) % len(q)][1] - q[(i + 1) % len(q)][0] * q[i][1] for i in range(len(q)))
if area < 0: q.reverse()
hull_poly.append(len(hull) // 2)
- for x, y in q: hull += [int(round(x * 0.7 * 2)), int(round(y * 0.7 * 2))]
+ for x, y in q: hull += [int(round(x * 64)), int(round(y * 64))] # PhysicsEditor's pixels x64 (the game scales by 0.7)
rule, val = 0, 0
for r, k in enumerate(('unlockAtChallengeCompleted', 'unlockAtAmountDeaths', 'unlockAtHighscore', 'unlockAtAmountStars'), 1):
if k in c: rule, val = r, c[k]
@@ -231,7 +255,7 @@ out.append('/* class (common, rare, epic, special, secret), unlock rule (1 chall
out.append('static const rd_bike rd_bikes[NBIKES] = {')
for b in bike_rows: out.append(' {%s},' % ', '.join(str(v) for v in b))
out.append('};')
-arr('int8_t', 'bike_xy', outline); arr('uint16_t', 'hull_poly', hull_poly); arr('int8_t', 'hull_xy', hull)
+arr('int8_t', 'bike_xy', outline); arr('uint16_t', 'hull_poly', hull_poly); arr('int16_t', 'hull_xy', hull)
# ---------------------------------------------------------------- texts
ti = props('code.textIndicators.properties')