blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 5
146
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
7
| license_type
stringclasses 2
values | repo_name
stringlengths 6
79
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 4
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 5.07k
426M
⌀ | star_events_count
int64 0
27
| fork_events_count
int64 0
12
| gha_license_id
stringclasses 3
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 6
values | src_encoding
stringclasses 26
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 1
class | length_bytes
int64 20
6.28M
| extension
stringclasses 20
values | content
stringlengths 20
6.28M
| authors
listlengths 1
16
| author_lines
listlengths 1
16
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6eb49228838e941832be63c0a81e05f4bf502f45
|
0f40e36dc65b58cc3c04022cf215c77ae31965a8
|
/src/apps/vis/writer/vis_writer_keeper.h
|
8dabca4f6aadfdc9d8e0ec721ff9ffe1283d5299
|
[
"MIT",
"BSD-3-Clause"
] |
permissive
|
venkatarajasekhar/shawn-1
|
08e6cd4cf9f39a8962c1514aa17b294565e849f8
|
d36c90dd88f8460e89731c873bb71fb97da85e82
|
refs/heads/master
| 2020-06-26T18:19:01.247491 | 2010-10-26T17:40:48 | 2010-10-26T17:40:48 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,216 |
h
|
/************************************************************************
** This file is part of the network simulator Shawn. **
** Copyright (C) 2004-2007 by the SwarmNet (www.swarmnet.de) project **
** Shawn is free software; you can redistribute it and/or modify it **
** under the terms of the BSD License. Refer to the shawn-licence.txt **
** file in the root of the Shawn source tree for further details. **
************************************************************************/
#ifndef __VIS_WRITER_KEEPER_H
#define __VIS_WRITER_KEEPER_H
#include "../buildfiles/_apps_enable_cmake.h"
#ifdef ENABLE_VIS
#include <map>
#include <string>
#include <stdexcept>
#include "shawn_config.h"
#include "sys/util/refcnt_pointer.h"
#include "sys/util/handle_keeper.h"
#include "apps/vis/writer/vis_writer_factory.h"
namespace vis
{
class WriterFactory;
/**
* A keeper that holds writer factories.
*/
class WriterKeeper
: public shawn::HandleKeeper<WriterFactory>
{
public:
///@name Constructor/Destructor
///@{
WriterKeeper();
virtual ~WriterKeeper();
///@}
};
}
#endif
#endif
|
[
"[email protected]"
] |
[
[
[
1,
44
]
]
] |
f4b45b366f258a7bd38f064481db15052a1556cd
|
96fefafdfbb413a56e0a2444fcc1a7056afef757
|
/MQ2EQIM/MQ2EQIM.cpp
|
5ecde3d3f2c1aea3fd8e3ae8a39582d9bc4f5693
|
[] |
no_license
|
kevrgithub/peqtgc-mq2-sod
|
ffc105aedbfef16060769bb7a6fa6609d775b1fa
|
d0b7ec010bc64c3f0ac9dc32129a62277b8d42c0
|
refs/heads/master
| 2021-01-18T18:57:16.627137 | 2011-03-06T13:05:41 | 2011-03-06T13:05:41 | 32,849,784 | 1 | 3 | null | null | null | null |
UTF-8
|
C++
| false | false | 9,859 |
cpp
|
// MQ2EQIM.cpp : Defines the entry point for the DLL application.
//
// PLUGIN_API is only to be used for callbacks. All existing callbacks at this time
// are shown below. Remove the ones your plugin does not use. Always use Initialize
// and Shutdown for setup and cleanup, do NOT do it in DllMain.
#include "../MQ2Plugin.h"
PreSetup("MQ2EQIM");
// TODO: Buddy list window.
#define BUDDY_OFFLINE 1
#define BUDDY_EQIM 2
#define BUDDY_EQIMAFK 3
#define BUDDY_ONLINE 5
#define BUDDY_ONLINEAFK 6
BOOL AnnounceBuddies=true;
PCHAR szBuddyStatus[]=
{
"\a-wRemoved from list\ax",
"\a-wOffline\ax",
"\atEQIM\ax",
"\a-tEQIM (AFK)\ax",
"Unknown Status(4)",
"\agPlaying\ax",
"\a-gPlaying (AFK)\ax",
};
PCHAR szBuddyStatusNC[]=
{
"Removed from list",
"Offline",
"EQIM",
"EQIM (AFK)",
"Unknown Status(4)",
"Playing",
"Playing (AFK)",
};
struct EQIMBuddy
{
CHAR Name[MAX_STRING];
DWORD Status;
time_t LastSeen;
};
CIndex<EQIMBuddy*> BuddyList(10);
CHAR Character[MAX_STRING]={0};
BOOL BuddiesLoaded=false;
int FindEQIMBuddy(PCHAR Name)
{
for (unsigned long N = 0 ; N < BuddyList.Size ; N++)
{
if (EQIMBuddy *pBuddy=BuddyList[N])
{
if (!stricmp(pBuddy->Name,Name))
return N;
}
}
return -1;
}
extern CHAR DataTypeTemp[MAX_STRING];
class MQ2BuddyType : public MQ2Type
{
public:
enum BuddyMembers
{
Name=1,
Status=2,
StatusID=3,
LastSeen=4,
};
MQ2BuddyType():MQ2Type("buddy")
{
TypeMember(Name);
TypeMember(Status);
TypeMember(StatusID);
TypeMember(LastSeen);
}
~MQ2BuddyType()
{
}
bool GetMember(MQ2VARPTR VarPtr, PCHAR Member, PCHAR Index, MQ2TYPEVAR &Dest)
{
if (!VarPtr.Ptr)
return false;
EQIMBuddy *pBuddy = (EQIMBuddy*)VarPtr.Ptr;
PMQ2TYPEMEMBER pMember=MQ2BuddyType::FindMember(Member);
if (!pMember)
return false;
switch((BuddyMembers)pMember->ID)
{
case Name:
Dest.Ptr=pBuddy->Name;
Dest.Type=pStringType;
return true;
case Status:
Dest.Ptr=szBuddyStatusNC[pBuddy->Status];
Dest.Type=pStringType;
return true;
case StatusID:
Dest.DWord=pBuddy->Status;
Dest.Type=pIntType;
return true;
case LastSeen:
Dest.Ptr= localtime((time_t*) &pBuddy->LastSeen );
Dest.Type=pTimeType;
return true;
}
return false;
}
bool ToString(MQ2VARPTR VarPtr, PCHAR Destination)
{
if (!VarPtr.Ptr)
return false;
strcpy(Destination,((EQIMBuddy*)VarPtr.Ptr)->Name);
return true;
}
bool FromData(MQ2VARPTR &VarPtr, MQ2TYPEVAR &Source)
{
return false;
}
bool FromString(MQ2VARPTR &VarPtr, PCHAR Source)
{
return false;
}
};
class MQ2BuddyType *pBuddyType=0;
BOOL dataBuddies(PCHAR szIndex, MQ2TYPEVAR &Ret)
{
Ret.DWord=BuddyList.Size;
Ret.Type=pIntType;
return true;
}
BOOL dataBuddy(PCHAR szIndex, MQ2TYPEVAR &Ret)
{
if (szIndex[0]>='0' && szIndex[0]<='9')
{
// by number
unsigned long N=atoi(szIndex)-1;
if (N<BuddyList.Size && BuddyList[N])
{
Ret.Ptr=BuddyList[N];
Ret.Type=pBuddyType;
return true;
}
}
else
{
// by name
int N=FindEQIMBuddy(szIndex);
if (N>=0)
{
Ret.Ptr=BuddyList[N];
Ret.Type=pBuddyType;
return true;
}
}
return false;
}
VOID OnBuddyStatusChange(char *Buddy, DWORD Status);
DWORD PreDetour[10]={0};
BOOL Detoured=false;
VOID SaveBuddyList();
VOID LoadBuddyList();
VOID BuddiesCmd(PSPAWNINFO pChar, PCHAR Line);
void SetVTable(DWORD index, DWORD value)
{
DWORD oldperm=0;
DWORD Address=(DWORD)&(*((DWORD**)pEverQuest))[index];
DebugSpewAlways("SetVTable writing at address %X to %X",Address,value);
VirtualProtectEx(GetCurrentProcess(), (LPVOID)Address, 4,PAGE_EXECUTE_READWRITE, &oldperm);
WriteProcessMemory(
GetCurrentProcess(),
(LPVOID)Address,
(LPVOID)&value,
4,
NULL);
VirtualProtectEx(GetCurrentProcess(), (LPVOID)Address, 4, oldperm, &oldperm);
}
DWORD GetVTable(DWORD index)
{
DWORD Ret=(*((DWORD**)pEverQuest))[index];
DebugSpewAlways("GetVTable(%d)=%X",index,Ret);
return Ret;
}
PLUGIN_API VOID InitializePlugin(VOID)
{
DebugSpewAlways("Initializing MQ2EQIM");
// Add commands, macro parameters, hooks, etc.
// AddCommand("/mycommand",MyCommand);
// AddParm("$myparm(x)",MyParm);
pBuddyType = new MQ2BuddyType;
AddMQ2Data("Buddy",dataBuddy);
AddMQ2Data("Buddies",dataBuddies);
AddCommand("/buddies",BuddiesCmd);
}
// Called once, when the plugin is to shutdown
PLUGIN_API VOID ShutdownPlugin(VOID)
{
DebugSpewAlways("Shutting down MQ2EQIM");
// Remove commands, macro parameters, hooks, etc.
// RemoveParm("$myparm(x)");
// RemoveCommand("/mycommand");
if (Detoured && pEverQuest)
SetVTable(8,PreDetour[8]);
RemoveMQ2Data("Buddy");
RemoveMQ2Data("Buddies");
if (BuddiesLoaded)
SaveBuddyList();
BuddyList.Cleanup();
delete pBuddyType;
RemoveCommand("/buddies");
}
// Called once directly after initialization, and then every time the gamestate changes
PLUGIN_API VOID SetGameState(DWORD GameState)
{
// DebugSpewAlways("MQ2EQIM::SetGameState()");
if (GameState==GAMESTATE_INGAME)
{
if (!Detoured)
{
PreDetour[8]=GetVTable(8);
SetVTable(8,(DWORD)OnBuddyStatusChange);
GetVTable(8);
Detoured=true;
}
if (!BuddiesLoaded)
{
BuddiesLoaded=true;
LoadBuddyList();
}
}
else if (GameState==GAMESTATE_CHARSELECT)
{
if (BuddiesLoaded)
{
BuddiesLoaded=false;
}
BuddyList.Cleanup();
}
}
VOID OnBuddyStatusChange(char *Buddy, DWORD Status)
{
int N=FindEQIMBuddy(Buddy);
if (N==-1)
{
EQIMBuddy *pBuddy = new EQIMBuddy;
strcpy(pBuddy->Name,Buddy);
pBuddy->Status=Status;
if (Status==BUDDY_OFFLINE)
pBuddy->LastSeen=0;
else
pBuddy->LastSeen=time(0);
BuddyList+=pBuddy;
}
else
{
BuddyList[N]->Status=Status;
if (Status==BUDDY_OFFLINE)
BuddyList[N]->LastSeen=0;
else
BuddyList[N]->LastSeen=time(0);
if (Status==0) // removed from list
{
delete BuddyList[N];
BuddyList[N]=0;
}
}
SaveBuddyList();
if (AnnounceBuddies)
{
char out[MAX_STRING]={0};
if (Status<=6)
{
sprintf(out,"\ar*\ax %s: %s",Buddy,szBuddyStatus[Status]);
}
else
sprintf(out,"\ar*\ax %s: Unknown Status(%d)",Status);
WriteChatColor(out);
}
}
VOID LoadBuddyList()
{
BuddyList.Cleanup();
sprintf(Character,"%s.%s",EQADDR_SERVERNAME,((PCHARINFO)pCharData)->Name);
// load buddies per char
CHAR FullList[MAX_STRING*10] = {0};
CHAR szBuffer[MAX_STRING] = {0};
CHAR szCommand[MAX_STRING] = {0};
GetPrivateProfileString(Character,NULL,"",FullList,MAX_STRING*10,INIFileName);
PCHAR pFullList = FullList;
while (pFullList[0]!=0) {
GetPrivateProfileString(Character,FullList,"",szBuffer,MAX_STRING,INIFileName);
if (szBuffer[0]!=0) {
//LoadMQ2Plugin(szBuffer);
if (FindEQIMBuddy(szBuffer)==-1)
{
sprintf(szCommand,"[buddy %s",szBuffer);
DoCommand((PSPAWNINFO)pCharSpawn,szCommand);
EQIMBuddy *pBuddy = new EQIMBuddy;
strcpy(pBuddy->Name,szBuffer);
pBuddy->Status=BUDDY_OFFLINE;
pBuddy->LastSeen=0;
BuddyList+=pBuddy;
}
}
pFullList+=strlen(pFullList)+1;
}
// import friends list
unsigned long N;
unsigned long nfriends=pChatService->GetNumberOfFriends();
for (N = 0 ; N < nfriends ; N++)
{
sprintf(szCommand,";buddy %s",pChatService->GetFriendName(N));
DoCommand((PSPAWNINFO)pCharSpawn,szCommand);
}
// import "last seen" global
for ( N = 0 ; N < BuddyList.Size ; N++)
{
if (EQIMBuddy *pBuddy = BuddyList[N])
{
pBuddy->LastSeen=GetPrivateProfileInt("LastSeen",pBuddy->Name,0,INIFileName);
}
}
}
VOID SaveBuddyList()
{
CHAR Buffer[MAX_STRING]={0};
// save buddies per char and "last seen" global
WritePrivateProfileSection(Character,"",INIFileName);
for (unsigned long N = 0 ; N < BuddyList.Size ; N++)
{
if (EQIMBuddy *pBuddy = BuddyList[N])
{
WritePrivateProfileString(Character,pBuddy->Name,pBuddy->Name,INIFileName);
WritePrivateProfileString("LastSeen",pBuddy->Name,itoa(pBuddy->LastSeen,Buffer,10),INIFileName);
}
}
}
VOID BuddiesCmd(PSPAWNINFO pChar, PCHAR Line)
{
BOOL bOnline=true;
BOOL bOffline=false;
BOOL bEQIM=true;
CHAR Buffer[MAX_STRING]={0};
if (Line[0])
{
strcpy(Buffer,Line);
strlwr(Buffer);
bOnline=(strstr(Buffer,"on")!=0);
bEQIM=(strstr(Buffer,"eqim")!=0);
bOffline=(strstr(Buffer,"off")!=0);
}
unsigned long Count=0;
WriteChatColor("List of Buddies");
WriteChatColor("---------------");
for (unsigned long N = 0 ; N < BuddyList.Size ; N++)
{
if (EQIMBuddy *pBuddy = BuddyList[N])
{
switch(pBuddy->Status)
{
case BUDDY_OFFLINE:
if (bOffline)
{
struct tm *pTime=localtime((time_t*)&pBuddy->LastSeen);
Count++;
sprintf(Buffer,"\ar*\ax %s: %s - Last Seen %02d:%02d:%02d %02d/%02d/%04d",pBuddy->Name,szBuddyStatus[pBuddy->Status],pTime->tm_hour,pTime->tm_min, pTime->tm_sec,pTime->tm_mon+1,pTime->tm_mday, pTime->tm_year+1900);
WriteChatColor(Buffer);
}
break;
case BUDDY_EQIM:
case BUDDY_EQIMAFK:
if (bEQIM)
{
Count++;
sprintf(Buffer,"\ar*\ax %s: %s",pBuddy->Name,szBuddyStatus[pBuddy->Status]);
WriteChatColor(Buffer);
}
break;
case BUDDY_ONLINE:
case BUDDY_ONLINEAFK:
if (bOnline)
{
Count++;
sprintf(Buffer,"\ar*\ax %s: %s",pBuddy->Name,szBuddyStatus[pBuddy->Status]);
WriteChatColor(Buffer);
}
break;
}
}
}
sprintf(Buffer,"\ag%d\ax buddies matching\at%s%s%s\ax",Count,bEQIM?" EQIM":"",bOffline?" offline":"",bOnline?" online":"");
WriteChatColor(Buffer);
}
|
[
"[email protected]@39408780-f958-9dab-a28b-4b240efc9052"
] |
[
[
[
1,
439
]
]
] |
cb9a9695cc2641091d5dd101839145027b4423f3
|
c5534a6df16a89e0ae8f53bcd49a6417e8d44409
|
/trunk/nGENE Proj/JointPulley.cpp
|
0f0e6db3f1c8704a040b561daf07372afb28899b
|
[] |
no_license
|
svn2github/ngene
|
b2cddacf7ec035aa681d5b8989feab3383dac012
|
61850134a354816161859fe86c2907c8e73dc113
|
refs/heads/master
| 2023-09-03T12:34:18.944872 | 2011-07-27T19:26:04 | 2011-07-27T19:26:04 | 78,163,390 | 2 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 4,872 |
cpp
|
/*
---------------------------------------------------------------------------
This source file is part of nGENE Tech.
Copyright (c) 2006- Wojciech Toman
This program is free software.
File: JointPulley.cpp
Version: 0.04
---------------------------------------------------------------------------
*/
#include "PrecompiledHeaders.h"
#include "JointPulley.h"
#include "JointEnumerator.h"
#include "PhysXMapping.h"
#include "PhysicsActor.h"
#pragma warning(push)
#pragma warning(disable:4512)
#include "NxScene.h"
#include "NxPulleyJoint.h"
#include "NxPulleyJointDesc.h"
#pragma warning(pop)
namespace nGENE
{
// Initialize static members
TypeInfo JointPulley::Type(L"JointPulley", &Joint::Type);
JointPulley::JointPulley(NxScene* _scene, SJointDesc& _desc):
Joint(_scene, _desc),
m_pPulleyDesc(new NxPulleyJointDesc()),
m_pPulley(NULL)
{
}
//----------------------------------------------------------------------
JointPulley::~JointPulley()
{
cleanup();
}
//----------------------------------------------------------------------
void JointPulley::init()
{
m_pPulleyDesc->actor[0] = m_JointDesc.actor1 ? m_JointDesc.actor1->getActor() : NULL;
m_pPulleyDesc->actor[1] = m_JointDesc.actor2 ? m_JointDesc.actor2->getActor() : NULL;
m_pPulleyDesc->localAnchor[0] = PhysXMapping::vector3ToNxVec3(m_JointDesc.localAnchor1);
m_pPulleyDesc->localAnchor[1] = PhysXMapping::vector3ToNxVec3(m_JointDesc.localAnchor2);
m_pPulleyDesc->localAxis[0] = PhysXMapping::vector3ToNxVec3(m_JointDesc.localDirection1);
m_pPulleyDesc->localAxis[1] = PhysXMapping::vector3ToNxVec3(m_JointDesc.localDirection2);
SPulleyJointDesc& desc = ((SPulleyJointDesc&)m_JointDesc);
m_pPulleyDesc->pulley[0] = PhysXMapping::vector3ToNxVec3(desc.pulley1);
m_pPulleyDesc->pulley[1] = PhysXMapping::vector3ToNxVec3(desc.pulley2);
m_pPulleyDesc->distance = desc.distance;
m_pPulleyDesc->stiffness = desc.stiffness;
m_pPulleyDesc->ratio = desc.transmission;
m_pPulleyDesc->flags = desc.flags;
if(!m_pPulleyDesc->isValid())
{
Log::log(LET_ERROR, L"nGENE", __WFILE__, __WFUNCTION__, __LINE__,
L"Pulley joint description is invalid");
return;
}
if(m_JointDesc.globalDirection != Vector3::ZERO_VECTOR)
m_pPulleyDesc->setGlobalAxis(PhysXMapping::vector3ToNxVec3(m_JointDesc.globalDirection));
if(m_JointDesc.globalAnchor != Vector3::ZERO_VECTOR)
m_pPulleyDesc->setGlobalAnchor(PhysXMapping::vector3ToNxVec3(m_JointDesc.globalAnchor));
m_pJoint = m_pScene->createJoint(*m_pPulleyDesc);
m_pPulley = (NxPulleyJoint*)m_pJoint;
}
//----------------------------------------------------------------------
void JointPulley::cleanup()
{
NGENE_DELETE(m_pPulleyDesc);
}
//----------------------------------------------------------------------
NxJointDesc* JointPulley::getJointDesc()
{
return (static_cast<NxJointDesc*>(m_pPulleyDesc));
}
//----------------------------------------------------------------------
void JointPulley::setMotor(const MOTOR_DESC& _motor)
{
NxMotorDesc motor(_motor.targetVelocity, _motor.maxForce, _motor.freeSpin);
m_pPulley->setMotor(motor);
}
//----------------------------------------------------------------------
MOTOR_DESC JointPulley::getMotor()
{
MOTOR_DESC motorDesc;
NxMotorDesc motor;
if(m_pPulley->getMotor(motor))
{
motorDesc.targetVelocity = motor.velTarget;
motorDesc.maxForce = motor.maxForce;
motorDesc.freeSpin = (motor.freeSpin != 0);
}
else
{
motorDesc.targetVelocity = 0.0f;
motorDesc.maxForce = 0.0f;
motorDesc.freeSpin = false;
}
return motorDesc;
}
//----------------------------------------------------------------------
void JointPulley::setMotorEnabled(bool _value)
{
uint flags = m_pPulley->getFlags();
if(_value)
flags |= NX_PJF_MOTOR_ENABLED;
else
flags &= ~NX_PJF_MOTOR_ENABLED;
m_pPulley->setFlags(flags);
}
//----------------------------------------------------------------------
bool JointPulley::isMotorEnabled()
{
return ((m_pPulley->getFlags() & NX_PJF_MOTOR_ENABLED) ? true : false);
}
//----------------------------------------------------------------------
//----------------------------------------------------------------------
//----------------------------------------------------------------------
JointPulleyFactory::JointPulleyFactory()
{
}
//----------------------------------------------------------------------
JointPulleyFactory::~JointPulleyFactory()
{
}
//----------------------------------------------------------------------
Joint* JointPulleyFactory::createJoint(NxScene* _scene, JOINT_DESC& _desc)
{
return (new JointPulley(_scene, _desc));
}
//----------------------------------------------------------------------
}
|
[
"Riddlemaster@fdc6060e-f348-4335-9a41-9933a8eecd57"
] |
[
[
[
1,
147
]
]
] |
f62aa82ff3a499bbc2fe58a131d7bd36de07f0d6
|
7118fecdd59504e990582bc5e1c5ccad0f565488
|
/NeuralBasic/NeuralBasic.cpp
|
cf4879d2c32a4b9afd75cc9bf69b5d8e884af786
|
[] |
no_license
|
YungGod999/YungGod999
|
7ae91aa0b81fcb1d67e2a022d856ee8ca9699283
|
fc96dd67604cfb3cb739762401880d96dc2bee38
|
refs/heads/master
| 2021-08-22T07:07:46.998249 | 2010-10-19T21:45:13 | 2010-10-19T21:45:13 | 112,490,922 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 487 |
cpp
|
// NeuralBasic.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "NeuralBasic.h"
// This is an example of an exported variable
NEURALBASIC_API int nNeuralBasic=0;
// This is an example of an exported function.
NEURALBASIC_API int fnNeuralBasic(void)
{
return 42;
}
// This is the constructor of a class that has been exported.
// see NeuralBasic.h for the class definition
CNeuralBasic::CNeuralBasic()
{
return;
}
|
[
"Mariusz@localhost"
] |
[
[
[
1,
22
]
]
] |
a86278e74e59ecc415bfdc19ce35fc292f284476
|
77961d2c396ad81250783368b956a897fec87462
|
/hard_build/main.cpp
|
fc8b64412ed02a458cfb5c30b88c895f06585c52
|
[] |
no_license
|
amoriello/pulse-beacon
|
8f8b8e113d1828f58bcabdc7650b3613cfef69f0
|
bf58dfa04710f57632abd8c200df67752a03ded8
|
refs/heads/master
| 2021-01-19T06:36:14.418539 | 2011-06-15T12:13:47 | 2011-06-15T12:13:47 | 1,796,315 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 157 |
cpp
|
#include <iostream>
#include "run/factorial.hpp"
int main()
{
std::cout << factorial<12>::value << std::endl;
std::cout << "Yeah" << std::endl;
}
|
[
"[email protected]"
] |
[
[
[
1,
9
]
]
] |
a2d55da684da21d23bc716ea39379ea3bbd57943
|
9df2486e5d0489f83cc7dcfb3ccc43374ab2500c
|
/src/audio/random_sound.cpp
|
561fd24a156b8faf3fc02117e5691d363d1c232b
|
[] |
no_license
|
renardchien/Eta-Chronicles
|
27ad4ffb68385ecaafae4f12b0db67c096f62ad1
|
d77d54184ec916baeb1ab7cc00ac44005d4f5624
|
refs/heads/master
| 2021-01-10T19:28:28.394781 | 2011-09-05T14:40:38 | 2011-09-05T14:40:38 | 1,914,623 | 1 | 2 | null | null | null | null |
UTF-8
|
C++
| false | false | 18,976 |
cpp
|
/***************************************************************************
* random_sound.cpp - random sounds support
*
* Copyright (C) 2008 - 2009 Florian Richter
***************************************************************************/
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../audio/random_sound.h"
#include "../core/game_core.h"
#include "../core/framerate.h"
#include "../audio/audio.h"
#include "../video/renderer.h"
#include "../input/mouse.h"
#include "../core/math/utilities.h"
#include "../core/i18n.h"
// CEGUI
#include "CEGUIXMLAttributes.h"
namespace SMC
{
/* *** *** *** *** *** cRandom_Sound *** *** *** *** *** *** *** *** *** *** *** */
cRandom_Sound :: cRandom_Sound( void )
: cSprite()
{
// Set defaults
cRandom_Sound::Init();
}
cRandom_Sound :: cRandom_Sound( CEGUI::XMLAttributes &attributes )
: cSprite()
{
cRandom_Sound::Init();
cRandom_Sound::Create_From_Stream( attributes );
}
cRandom_Sound :: ~cRandom_Sound( void )
{
}
void cRandom_Sound :: Init( void )
{
m_sprite_array = ARRAY_ACTIVE;
m_type = TYPE_SOUND;
m_massive_type = MASS_PASSIVE;
m_editor_pos_z = 0.111f;
m_player_range = 0;
m_name = "Sound";
m_rect.m_w = 10.0f;
m_rect.m_h = 10.0f;
m_col_rect.m_w = m_rect.m_w;
m_col_rect.m_h = m_rect.m_h;
m_start_rect.m_w = m_rect.m_w;
m_start_rect.m_h = m_rect.m_h;
// default values
m_continuous = 0;
m_delay_min = 1000;
m_delay_max = 5000;
m_volume_min = 90.0f;
m_volume_max = 100.0f;
m_volume_reduction_begin = 400.0f;
m_volume_reduction_end = 1000.0f;
m_distance_to_camera = 0.0f;
m_next_play_delay = 0.0f;
m_volume_update_counter = 0.0f;
m_editor_color_volume_reduction_begin = Color( 0.1f, 0.5f, 0.1f, 0.2f );
m_editor_color_volume_reduction_end = Color( 0.2f, 0.4f, 0.1f, 0.2f );
}
cRandom_Sound *cRandom_Sound :: Copy( void )
{
cRandom_Sound *random_sound = new cRandom_Sound();
random_sound->Set_Pos( m_start_pos_x, m_start_pos_y, 1 );
random_sound->Set_Filename( m_filename.c_str() );
random_sound->Set_Continuous( m_continuous );
random_sound->Set_Delay_Min( m_delay_min );
random_sound->Set_Delay_Max( m_delay_max );
random_sound->Set_Volume_Min( m_volume_min );
random_sound->Set_Volume_Max( m_volume_max );
random_sound->Set_Volume_Reduction_Begin( m_volume_reduction_begin );
random_sound->Set_Volume_Reduction_End( m_volume_reduction_end );
return random_sound;
}
void cRandom_Sound :: Create_From_Stream( CEGUI::XMLAttributes &attributes )
{
// filename
Set_Filename( attributes.getValueAsString( "file" ).c_str() );
// position
Set_Pos( static_cast<float>(attributes.getValueAsInteger( "pos_x" )), static_cast<float>(attributes.getValueAsInteger( "pos_y" )), 1 );
//
Set_Continuous( attributes.getValueAsBool( "continuous", m_continuous ) );
// delay
Set_Delay_Min( attributes.getValueAsInteger( "delay_min", m_delay_min ) );
Set_Delay_Max( attributes.getValueAsInteger( "delay_max", m_delay_max ) );
// volume
Set_Volume_Min( attributes.getValueAsFloat( "volume_min", m_volume_min ) );
Set_Volume_Max( attributes.getValueAsFloat( "volume_max", m_volume_max ) );
// volume reduction
Set_Volume_Reduction_Begin( attributes.getValueAsFloat( "volume_reduction_begin", m_volume_reduction_begin ) );
Set_Volume_Reduction_End( attributes.getValueAsFloat( "volume_reduction_end", m_volume_reduction_end ) );
}
void cRandom_Sound :: Save_To_Stream( ofstream &ofile )
{
ofile << "\t<sound>" << std::endl;
// filename
ofile << "\t\t<Property name=\"file\" value=\"" << m_filename.c_str() << "\" />" << std::endl;
// position
ofile << "\t\t<Property name=\"pos_x\" value=\"" << static_cast<int>(m_start_pos_x) << "\" />" << std::endl;
ofile << "\t\t<Property name=\"pos_y\" value=\"" << static_cast<int>(m_start_pos_y) << "\" />" << std::endl;
// continuous
ofile << "\t\t<Property name=\"continuous\" value=\"" << m_continuous << "\" />" << std::endl;
// delay
ofile << "\t\t<Property name=\"delay_min\" value=\"" << m_delay_min << "\" />" << std::endl;
ofile << "\t\t<Property name=\"delay_max\" value=\"" << m_delay_max << "\" />" << std::endl;
// volume
ofile << "\t\t<Property name=\"volume_min\" value=\"" << m_volume_min << "\" />" << std::endl;
ofile << "\t\t<Property name=\"volume_max\" value=\"" << m_volume_max << "\" />" << std::endl;
// volume reduction
ofile << "\t\t<Property name=\"volume_reduction_begin\" value=\"" << m_volume_reduction_begin << "\" />" << std::endl;
ofile << "\t\t<Property name=\"volume_reduction_end\" value=\"" << m_volume_reduction_end << "\" />" << std::endl;
ofile << "\t</sound>" << std::endl;
}
void cRandom_Sound :: Set_Filename( const std::string &str )
{
// stop playing sounds
for( unsigned int i = 0; i < 100; i++ )
{
cAudio_Sound *sound = pAudio->Get_Playing_Sound( m_filename );
if( !sound )
{
break;
}
sound->Stop();
}
m_filename = str;
}
std::string cRandom_Sound :: Get_Filename( void ) const
{
return m_filename;
}
void cRandom_Sound :: Set_Continuous( bool continuous )
{
m_continuous = continuous;
}
void cRandom_Sound :: Set_Delay_Min( unsigned int delay )
{
if( delay < 20 )
{
delay = 20;
}
m_delay_min = delay;
}
unsigned int cRandom_Sound :: Get_Delay_Min( void ) const
{
return m_delay_min;
}
void cRandom_Sound :: Set_Delay_Max( unsigned int delay )
{
if( delay < 20 )
{
delay = 20;
}
else if( delay < m_delay_min )
{
delay = m_delay_min;
}
m_delay_max = delay;
}
unsigned int cRandom_Sound :: Get_Delay_Max( void ) const
{
return m_delay_max;
}
void cRandom_Sound :: Set_Volume_Min( float volume )
{
if( volume < 0.1f )
{
volume = 0.1f;
}
else if( volume > m_volume_max )
{
volume = m_volume_max;
}
else if( volume > 100.0f )
{
volume = 100.0f;
}
m_volume_min = volume;
}
float cRandom_Sound :: Get_Volume_Min( void ) const
{
return m_volume_min;
}
void cRandom_Sound :: Set_Volume_Max( float volume )
{
if( volume < 0.1f )
{
volume = 0.1f;
}
else if( volume < m_volume_min )
{
volume = m_volume_min;
}
else if( volume > 100.0f )
{
volume = 100.0f;
}
m_volume_max = volume;
}
float cRandom_Sound :: Get_Volume_Max( void ) const
{
return m_volume_max;
}
void cRandom_Sound :: Set_Volume_Reduction_Begin( float distance )
{
if( distance < 1.0f )
{
distance = 1.0f;
}
else if( distance > m_volume_reduction_end )
{
distance = m_volume_reduction_end;
}
m_volume_reduction_begin = distance;
}
float cRandom_Sound :: Get_Volume_Reduction_Begin( void ) const
{
return m_volume_reduction_begin;
}
void cRandom_Sound :: Set_Volume_Reduction_End( float distance )
{
if( distance < 1.0f )
{
distance = 1.0f;
}
else if( distance < m_volume_reduction_begin )
{
distance = m_volume_reduction_begin;
}
m_volume_reduction_end = distance;
}
float cRandom_Sound :: Get_Volume_Reduction_End( void ) const
{
return m_volume_reduction_end;
}
float cRandom_Sound :: Get_Distance_Volume_Mod( void ) const
{
// if in volume reduction range
if( m_distance_to_camera > m_volume_reduction_begin )
{
const float distance = m_distance_to_camera - m_volume_reduction_begin;
return 1.0f - distance / ( m_volume_reduction_end - m_volume_reduction_begin );
}
// no reduction
return 1.0f;
}
void cRandom_Sound :: Update( void )
{
Update_Valid_Update();
if( !m_valid_update )
{
return;
}
bool play = 0;
if( m_continuous )
{
m_volume_update_counter -= pFramerate->m_elapsed_ticks;
// get the sound
cAudio_Sound *sound = pAudio->Get_Playing_Sound( m_filename );
// if not playing
if( !sound )
{
// play it
play = 1;
}
// update volume
else if( m_volume_update_counter <= 0.0f )
{
// volume based on maximum
float sound_volume = m_volume_max * 0.01f;
// apply distance modifier
sound_volume *= Get_Distance_Volume_Mod();
// set to mixer volume
sound_volume *= static_cast<float>(MIX_MAX_VOLUME);
// set volume
pAudio->Set_Sound_Volume( static_cast<Uint8>(sound_volume), sound->m_channel );
// update volume every 100 ms
m_volume_update_counter = 100.0f;
}
}
else
{
// subtract duration of this frame in milliseconds
m_next_play_delay -= pFramerate->m_elapsed_ticks;
// play it
if( m_next_play_delay <= 0.0f )
{
play = 1;
// set next delay
m_next_play_delay = static_cast<float>(m_delay_min);
if( m_delay_max > m_delay_min )
{
m_next_play_delay += Get_Random_Float( 0.0f, static_cast<float>(m_delay_max - m_delay_min) );
}
}
}
if( play )
{
float sound_volume = 0.0f;
// always maximum volume
if( m_continuous )
{
sound_volume = m_volume_max;
}
// set random volume
else
{
// random
if( m_volume_max > m_volume_min )
{
sound_volume = Get_Random_Float( m_volume_min, m_volume_max );
}
// static
else
{
sound_volume = m_volume_max;
}
}
sound_volume *= 0.01f;
// adjust volume based on distance
sound_volume *= Get_Distance_Volume_Mod();
int loops = 0;
if( m_continuous )
{
// unlimited
loops = -1;
}
sound_volume *= static_cast<float>(MIX_MAX_VOLUME);
// play sound
pAudio->Play_Sound( m_filename, -1, static_cast<int>(sound_volume), loops );
}
}
void cRandom_Sound :: Draw( cSurface_Request *request /* = NULL */ )
{
if( !m_valid_draw )
{
return;
}
// draw color rect
pVideo->Draw_Rect( m_col_rect.m_x - pActive_Camera->x, m_col_rect.m_y - pActive_Camera->y, m_col_rect.m_w, m_col_rect.m_h, m_editor_pos_z, &greenyellow );
// volume reduction begin
cCircle_Request *circle_request = new cCircle_Request();
pVideo->Draw_Circle( m_col_rect.m_x - pActive_Camera->x, m_col_rect.m_y - pActive_Camera->y, m_volume_reduction_begin, m_editor_pos_z - 0.0001f, &m_editor_color_volume_reduction_begin, circle_request );
circle_request->line_width = 3;
// add request
pRenderer->Add( circle_request );
// volume reduction end
circle_request = new cCircle_Request();
pVideo->Draw_Circle( m_col_rect.m_x - pActive_Camera->x, m_col_rect.m_y - pActive_Camera->y, m_volume_reduction_end, m_editor_pos_z - 0.0002f, &m_editor_color_volume_reduction_end, circle_request );
circle_request->line_width = 3;
// add request
pRenderer->Add( circle_request );
}
bool cRandom_Sound :: Is_Update_Valid( void )
{
// if destroyed
if( m_auto_destroy )
{
return 0;
}
// get distance from camera center position
float dx = fabs( pActive_Camera->x + (game_res_w * 0.5f) - m_pos_x );
float dy = fabs( pActive_Camera->y + (game_res_h * 0.5f) - m_pos_y );
m_distance_to_camera = sqrt( dx * dx + dy * dy );
// if outside the range
if( m_distance_to_camera >= m_volume_reduction_end )
{
Event_Out_Of_Range();
return 0;
}
return 1;
}
bool cRandom_Sound :: Is_Draw_Valid( void )
{
// if editor not enabled
if( !editor_enabled )
{
return 0;
}
// if not active on the screen or not mouse object
if( !m_active || ( !Is_Visible_On_Screen() && pMouseCursor->m_active_object != this ) )
{
return 0;
}
return 1;
}
void cRandom_Sound :: Event_Out_Of_Range( void ) const
{
// fade out sounds if out of range
pAudio->Fadeout_Sounds( 500, m_filename );
}
void cRandom_Sound :: Editor_Activate( void )
{
CEGUI::WindowManager &wmgr = CEGUI::WindowManager::getSingleton();
// filename
CEGUI::Editbox *editbox = static_cast<CEGUI::Editbox *>(wmgr.createWindow( "TaharezLook/Editbox", "editor_sound_filename" ));
Editor_Add( UTF8_("Filename"), UTF8_("Sound filename"), editbox, 200 );
editbox->setText( m_filename.c_str() );
editbox->subscribeEvent( CEGUI::Editbox::EventTextChanged, CEGUI::Event::Subscriber( &cRandom_Sound::Editor_Filename_Text_Changed, this ) );
// continuous
CEGUI::Checkbox *checkbox = static_cast<CEGUI::Checkbox *>(wmgr.createWindow( "TaharezLook/Checkbox", "editor_sound_continuous" ));
Editor_Add( UTF8_("Continuous"), UTF8_("Check if the sound should be played continuously instead of randomly"), checkbox, 50 );
checkbox->setSelected( m_continuous );
checkbox->subscribeEvent( CEGUI::Checkbox::EventCheckStateChanged, CEGUI::Event::Subscriber( &cRandom_Sound::Editor_Continuous_Changed, this ) );
// delay min
editbox = static_cast<CEGUI::Editbox *>(wmgr.createWindow( "TaharezLook/Editbox", "editor_sound_delay_min" ));
Editor_Add( UTF8_("Delay Minimum"), UTF8_("Minimal delay until played again"), editbox, 90 );
editbox->setValidationString( "^[+]?\\d*$" );
editbox->setText( int_to_string( m_delay_min ) );
editbox->subscribeEvent( CEGUI::Editbox::EventTextChanged, CEGUI::Event::Subscriber( &cRandom_Sound::Editor_Delay_Min_Text_Changed, this ) );
// delay max
editbox = static_cast<CEGUI::Editbox *>(wmgr.createWindow( "TaharezLook/Editbox", "editor_sound_delay_max" ));
Editor_Add( UTF8_("Maximum"), UTF8_("Maximal delay until played again"), editbox, 90, 28, 0 );
editbox->setValidationString( "^[+]?\\d*$" );
editbox->setText( int_to_string( m_delay_max ) );
editbox->subscribeEvent( CEGUI::Editbox::EventTextChanged, CEGUI::Event::Subscriber( &cRandom_Sound::Editor_Delay_Max_Text_Changed, this ) );
// volume min
editbox = static_cast<CEGUI::Editbox *>(wmgr.createWindow( "TaharezLook/Editbox", "editor_sound_volume_min" ));
Editor_Add( UTF8_("Volume Minimum"), UTF8_("Minimal random volume for each play"), editbox, 90 );
editbox->setValidationString( "^[+]?\\d*$" );
editbox->setText( int_to_string( static_cast<int>(m_volume_min) ) );
editbox->subscribeEvent( CEGUI::Editbox::EventTextChanged, CEGUI::Event::Subscriber( &cRandom_Sound::Editor_Volume_Min_Text_Changed, this ) );
// volume max
editbox = static_cast<CEGUI::Editbox *>(wmgr.createWindow( "TaharezLook/Editbox", "editor_sound_volume_max" ));
Editor_Add( UTF8_("Maximum"), UTF8_("Maximal random volume for each play"), editbox, 90, 28, 0 );
editbox->setValidationString( "^[+]?\\d*$" );
editbox->setText( int_to_string( static_cast<int>(m_volume_max) ) );
editbox->subscribeEvent( CEGUI::Editbox::EventTextChanged, CEGUI::Event::Subscriber( &cRandom_Sound::Editor_Volume_Max_Text_Changed, this ) );
// volume reduction begin
editbox = static_cast<CEGUI::Editbox *>(wmgr.createWindow( "TaharezLook/Editbox", "editor_sound_volume_reduction_begin" ));
Editor_Add( UTF8_("Volume Reduction Begin"), UTF8_("Volume reduction begins gradually at this distance"), editbox, 90 );
editbox->setValidationString( "^[+]?\\d*$" );
editbox->setText( int_to_string( static_cast<int>(m_volume_reduction_begin) ) );
editbox->subscribeEvent( CEGUI::Editbox::EventTextChanged, CEGUI::Event::Subscriber( &cRandom_Sound::Editor_Volume_Reduction_Begin_Text_Changed, this ) );
// volume reduction end
editbox = static_cast<CEGUI::Editbox *>(wmgr.createWindow( "TaharezLook/Editbox", "editor_sound_volume_reduction_end" ));
Editor_Add( UTF8_("End"), UTF8_("Volume reduction ends at this distance. Sound is not played beyond this."), editbox, 90, 28, 0 );
editbox->setValidationString( "^[+]?\\d*$" );
editbox->setText( int_to_string( static_cast<int>(m_volume_reduction_end) ) );
editbox->subscribeEvent( CEGUI::Editbox::EventTextChanged, CEGUI::Event::Subscriber( &cRandom_Sound::Editor_Volume_Reduction_End_Text_Changed, this ) );
// init
Editor_Init();
}
bool cRandom_Sound :: Editor_Filename_Text_Changed( const CEGUI::EventArgs &event )
{
const CEGUI::WindowEventArgs &windowEventArgs = static_cast<const CEGUI::WindowEventArgs&>( event );
Set_Filename( static_cast<CEGUI::Editbox *>( windowEventArgs.window )->getText().c_str() );
return 1;
}
bool cRandom_Sound :: Editor_Continuous_Changed( const CEGUI::EventArgs &event )
{
const CEGUI::WindowEventArgs &windowEventArgs = static_cast<const CEGUI::WindowEventArgs&>( event );
bool enabled = static_cast<CEGUI::Checkbox *>( windowEventArgs.window )->isSelected();
Set_Continuous( enabled );
return 1;
}
bool cRandom_Sound :: Editor_Delay_Min_Text_Changed( const CEGUI::EventArgs &event )
{
const CEGUI::WindowEventArgs &windowEventArgs = static_cast<const CEGUI::WindowEventArgs&>( event );
std::string str_text = static_cast<CEGUI::Editbox *>( windowEventArgs.window )->getText().c_str();
Set_Delay_Min( string_to_int( str_text ) );
return 1;
}
bool cRandom_Sound :: Editor_Delay_Max_Text_Changed( const CEGUI::EventArgs &event )
{
const CEGUI::WindowEventArgs &windowEventArgs = static_cast<const CEGUI::WindowEventArgs&>( event );
std::string str_text = static_cast<CEGUI::Editbox *>( windowEventArgs.window )->getText().c_str();
Set_Delay_Max( string_to_int( str_text ) );
return 1;
}
bool cRandom_Sound :: Editor_Volume_Min_Text_Changed( const CEGUI::EventArgs &event )
{
const CEGUI::WindowEventArgs &windowEventArgs = static_cast<const CEGUI::WindowEventArgs&>( event );
std::string str_text = static_cast<CEGUI::Editbox *>( windowEventArgs.window )->getText().c_str();
Set_Volume_Min( string_to_float( str_text ) );
return 1;
}
bool cRandom_Sound :: Editor_Volume_Max_Text_Changed( const CEGUI::EventArgs &event )
{
const CEGUI::WindowEventArgs &windowEventArgs = static_cast<const CEGUI::WindowEventArgs&>( event );
std::string str_text = static_cast<CEGUI::Editbox *>( windowEventArgs.window )->getText().c_str();
Set_Volume_Max( string_to_float( str_text ) );
return 1;
}
bool cRandom_Sound :: Editor_Volume_Reduction_Begin_Text_Changed( const CEGUI::EventArgs &event )
{
const CEGUI::WindowEventArgs &windowEventArgs = static_cast<const CEGUI::WindowEventArgs&>( event );
std::string str_text = static_cast<CEGUI::Editbox *>( windowEventArgs.window )->getText().c_str();
Set_Volume_Reduction_Begin( string_to_float( str_text ) );
return 1;
}
bool cRandom_Sound :: Editor_Volume_Reduction_End_Text_Changed( const CEGUI::EventArgs &event )
{
const CEGUI::WindowEventArgs &windowEventArgs = static_cast<const CEGUI::WindowEventArgs&>( event );
std::string str_text = static_cast<CEGUI::Editbox *>( windowEventArgs.window )->getText().c_str();
Set_Volume_Reduction_End( string_to_float( str_text ) );
return 1;
}
/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */
} // namespace SMC
|
[
"[email protected]"
] |
[
[
[
1,
626
]
]
] |
458988d47df9d85490b6396616952778156f3b30
|
2b80036db6f86012afcc7bc55431355fc3234058
|
/src/server/SyncpathListController.hpp
|
664f1323b005f6a1d4d4503e9bfaf760e6a6a4cb
|
[
"BSD-3-Clause"
] |
permissive
|
leezhongshan/musikcube
|
d1e09cf263854bb16acbde707cb6c18b09a0189f
|
e7ca6a5515a5f5e8e499bbdd158e5cb406fda948
|
refs/heads/master
| 2021-01-15T11:45:29.512171 | 2011-02-25T14:09:21 | 2011-02-25T14:09:21 | null | 0 | 0 | null | null | null | null |
WINDOWS-1252
|
C++
| false | false | 3,200 |
hpp
|
//////////////////////////////////////////////////////////////////////////////
//
// License Agreement:
//
// The following are Copyright © 2007, mC2 Team
//
// Sources and Binaries of: mC2
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// * Neither the name of the author nor the names of other contributors may
// be used to endorse or promote products derived from this software
// without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
//////////////////////////////////////////////////////////////////////////////
#pragma once
//////////////////////////////////////////////////////////////////////////////
#include <win32cpp/ListView.hpp>
//////////////////////////////////////////////////////////////////////////////
// Forward
namespace musik { namespace server {
class SyncpathController;
class SyncpathListModel;
} }
namespace musik { namespace server {
//////////////////////////////////////////////////////////////////////////////
class SyncpathListController : public win32cpp::EventHandler{
public:
SyncpathListController(win32cpp::ListView &listView,musik::server::SyncpathController *syncpathController);
void RemoveSelectedPaths();
private:
void OnViewCreated(win32cpp::Window* window);
void OnResized(win32cpp::Window* window, win32cpp::Size size);
win32cpp::ListView& listView;
win32cpp::ListView::ModelRef model;
win32cpp::ListView::ColumnRef mainColumn;
friend class SyncpathListModel;
musik::server::SyncpathController* syncpathController;
};
//////////////////////////////////////////////////////////////////////////////
} } // musik::cube::settings
|
[
"onnerby@6a861d04-ae47-0410-a6da-2d49beace72e"
] |
[
[
[
1,
78
]
]
] |
a38e4dd8e9232560c2196ef26418b34be6050849
|
0f8559dad8e89d112362f9770a4551149d4e738f
|
/Wall_Destruction/Havok/Source/Physics/Utilities/Collide/ContactModifiers/ViscoseSurface/hkpViscoseSurfaceUtil.h
|
2e7478bea2dfb9f1bfe02c7550b1efc4b5407063
|
[] |
no_license
|
TheProjecter/olafurabertaymsc
|
9360ad4c988d921e55b8cef9b8dcf1959e92d814
|
456d4d87699342c5459534a7992f04669e75d2e1
|
refs/heads/master
| 2021-01-10T15:15:49.289873 | 2010-09-20T12:58:48 | 2010-09-20T12:58:48 | 45,933,002 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,728 |
h
|
/*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2009 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement.
*
*/
#ifndef HK_UTILITIES2_VISCOSE_SURFACE_UTIL
#define HK_UTILITIES2_VISCOSE_SURFACE_UTIL
#include <Common/Base/hkBase.h>
#include <Physics/Dynamics/Collide/ContactListener/hkpContactListener.h>
#include <Physics/Dynamics/Entity/hkpEntity.h>
#include <Physics/Dynamics/Entity/hkpEntityListener.h>
class hkpRigidBody;
/// Makes a surface a little slippery (like thick oil or tar).
/// It allows for removing objects which got stuck in a narrow gap.
/// Typical applications include cars getting stuck between two buildings
/// Note: you have to call makeSurfaceViscose before you add the entity to the world
/// Note: this class only works if the default hkpSimpleConstraintContactMgr is used
class hkpViscoseSurfaceUtil: public hkReferencedObject, private hkpContactListener, private hkpEntityListener
{
public:
HK_DECLARE_CLASS_ALLOCATOR(HK_MEMORY_CLASS_UTILITIES);
/// Creates a handle to a surface velocity
static inline void HK_CALL makeSurfaceViscose(hkpRigidBody* entity);
protected:
hkpViscoseSurfaceUtil( hkpRigidBody* entity );
// The contact listener interface.
void contactPointCallback( const hkpContactPointEvent& event );
// The hkpEntityListener interface implementation
void entityDeletedCallback( hkpEntity* entity );
//
// For internal use
//
public:
hkpEntity* m_entity;
};
void HK_CALL hkpViscoseSurfaceUtil::makeSurfaceViscose(hkpRigidBody* entity)
{
new hkpViscoseSurfaceUtil( entity );
}
#endif // HK_UTILITIES2_VISCOSE_SURFACE_UTIL
/*
* Havok SDK - NO SOURCE PC DOWNLOAD, BUILD(#20091222)
*
* Confidential Information of Havok. (C) Copyright 1999-2009
* Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok
* Logo, and the Havok buzzsaw logo are trademarks of Havok. Title, ownership
* rights, and intellectual property rights in the Havok software remain in
* Havok and/or its suppliers.
*
* Use of this software for evaluation purposes is subject to and indicates
* acceptance of the End User licence Agreement for this product. A copy of
* the license is included with this software and is also available at www.havok.com/tryhavok.
*
*/
|
[
"[email protected]"
] |
[
[
[
1,
73
]
]
] |
00993c06e9db4786aa49479c51c011c80a14bacc
|
ef37d76d24f90ba2d3aa4f9cf94025b2d4255673
|
/Code/DataMerge/DataMerge.cpp
|
f3b4ab67b94a072078689bd81fe42ea3c31a83e7
|
[] |
no_license
|
yuguess/GSoC
|
799cb55773e5f5ea0925e39d337f35250c937e22
|
21354978f43ea1ebfdfab79f027cdfe04273d264
|
refs/heads/master
| 2020-05-19T03:53:01.965062 | 2010-08-24T18:20:01 | 2010-08-24T18:20:01 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 6,966 |
cpp
|
#include "DataAccessor.h"
#include "DataAccessorImpl.h"
#include "DataRequest.h"
#include "DesktopServices.h"
#include "MessageLogResource.h"
#include "ObjectResource.h"
#include "PlugInArgList.h"
#include "PlugInManagerServices.h"
#include "PlugInRegistration.h"
#include "Progress.h"
#include "RasterDataDescriptor.h"
#include "RasterElement.h"
#include "RasterUtilities.h"
#include "SpatialDataView.h"
#include "SpatialDataWindow.h"
#include "switchOnEncoding.h"
#include "DataMerge.h"
#include "DataMergeGui.h"
#include "DataElement.h"
#include <limits>
#include <iostream>
#include <vector>
#include <Qt/QtGui>
#include <fstream>
#include <map>
#include <QtGui/QApplication>
#include <QtGui/QMessageBox>
#include "DesktopServices.h"
#include "MessageLogResource.h"
#include "ModelServices.h"
#include "PlugInRegistration.h"
#include "Service.h"
#include "SessionItemSerializer.h"
#include "ImportElement.h"
using namespace std;
REGISTER_PLUGIN_BASIC(SpectralDataMerge, DataMerge);
DataMerge::DataMerge() :
mpGui(NULL)
{
setCreator("Opticks Community");
setVersion("Sample");
setCopyright("Copyright (C) 2008, Ball Aerospace & Technologies Corp.");
setProductionStatus(false);
ViewerShell::setName("Spectral Data Merge");
setDescription("Merge one-band spectral data into into one multi-band RasterElement");
setMenuLocation("[Spectral Data Merge]/SpectralDataMerge");
setDescriptorId("{1AA900B7-09FE-4d7b-A8D4-25DEEDE39CEC}");
destroyAfterExecute(false);
setWizardSupported(false);
setAbortSupported(true);
}
DataMerge::~DataMerge()
{
}
bool DataMerge::getInputSpecification(PlugInArgList*& pArgList)
{
VERIFY(pArgList = Service<PlugInManagerServices>()->getPlugInArgList());
VERIFY(pArgList != NULL);
VERIFY(pArgList->addArg<Progress>(ProgressArg(), NULL));
return true;
}
bool DataMerge::getOutputSpecification(PlugInArgList*& pArgList)
{
pArgList = NULL;
return true;
}
bool DataMerge::showGui()
{
Service<ModelServices> pModel;
StepResource pStep("Data Merge Begin", "app", "5E4BCD48-E662-408b-93AF-F9127CE56C66");
std::vector<DataElement*> cubes = pModel->getElements("RasterElement");
if (cubes.size() == 0)
{
QMessageBox::critical(NULL, "Spectral Data Merge", "No RasterElement input found!", "OK");
pStep->finalize(Message::Failure, "No RasterElement input found!");
return false;
}
vector<DataElement*>::iterator initIter = cubes.begin();
RasterElement* pData = model_cast<RasterElement*>(*initIter);
if (pData == NULL)
{
pStep->finalize(Message::Failure, "Cube Data error!");
return false;
}
RasterDataDescriptor* pDesc = static_cast<RasterDataDescriptor*>(pData->getDataDescriptor());
EncodingType type = pDesc->getDataType();
int rowCount = pDesc->getRowCount();
int colCount = pDesc->getColumnCount();
int bandCount = cubes.size();
//vector<string> filenameVec;
vector<ImportElement> importVector;
map<string, RasterElement*> filenameMap;
for (vector<DataElement*>::iterator element = cubes.begin(); element != cubes.end(); ++element)
{
RasterElement* pData = model_cast<RasterElement*>(*element);
if (pData != NULL)
{
RasterDataDescriptor* pDesc = static_cast<RasterDataDescriptor*>(pData->getDataDescriptor());
filenameMap[pData->getFilename()] = pData;
ImportElement importElement;
importElement.bandNum = pDesc->getBandCount();
importElement.fileName = pData->getFilename();
importVector.push_back(importElement);
//filenameVec.push_back(pData->getFilename());
}
}
Service<DesktopServices> pDesktop;
mpGui = new DataMergeGui(pDesktop->getMainWidget());
connect(mpGui, SIGNAL(finished(int)), this, SLOT(dialogClosed()));
mpGui->addImportList(importVector);
// mpGui->addImportList(filenameVec);
mpGui->setFilenameMap(filenameMap);
mpGui->setCubes(cubes);
mpGui->show();
/*
SpatialDataWindow* pWindow = static_cast<SpatialDataWindow*>(pDesktop->createWindow("DataMergeResult",
SPATIAL_DATA_WINDOW));
SpatialDataView* pView = (pWindow == NULL) ? NULL : pWindow->getSpatialDataView();
if (pView == NULL)
{
pStep->finalize(Message::Failure, "SpatialDataView error!");
return false;
}
pView->setPrimaryRasterElement(pDesRaster);
pView->createLayer(RASTER, pDesRaster);
*/
return true;
}
bool DataMerge::execute(PlugInArgList* inputArgList, PlugInArgList* outputArgLists)
{
pProgress = inputArgList->getPlugInArgValue<Progress>(ProgressArg());
Service<ModelServices> pModel;
StepResource pStep("Data Merge Begin", "app", "5E4BCD48-E662-408b-93AF-F9127CE56C66");
std::vector<DataElement*> cubes = pModel->getElements("RasterElement");
if (cubes.size() == 0)
{
QMessageBox::critical(NULL, "Spectral Data Merge", "No RasterElement input found!", "OK");
pStep->finalize(Message::Failure, "No RasterElement input found!");
return false;
}
vector<DataElement*>::iterator initIter = cubes.begin();
RasterElement* pData = model_cast<RasterElement*>(*initIter);
if (pData == NULL)
{
pStep->finalize(Message::Failure, "Cube Data error!");
return false;
}
RasterDataDescriptor* pDesc = static_cast<RasterDataDescriptor*>(pData->getDataDescriptor());
EncodingType type = pDesc->getDataType();
int rowCount = pDesc->getRowCount();
int colCount = pDesc->getColumnCount();
int bandCount = cubes.size();
//vector<string> filenameVec;
vector<ImportElement> importVector;
map<string, RasterElement*> filenameMap;
for (vector<DataElement*>::iterator element = cubes.begin(); element != cubes.end(); ++element)
{
RasterElement* pData = model_cast<RasterElement*>(*element);
if (pData != NULL)
{
RasterDataDescriptor* pDesc = static_cast<RasterDataDescriptor*>(pData->getDataDescriptor());
filenameMap[pData->getFilename()] = pData;
ImportElement tempElement;
tempElement.fileName = pData->getFilename();
tempElement.bandNum = pDesc->getBandCount();
importVector.push_back(tempElement);
//filenameVec.push_back(tempElement);
}
}
Service<DesktopServices> pDesktop;
mpGui = new DataMergeGui(pDesktop->getMainWidget());
connect(mpGui, SIGNAL(finished(int)), this, SLOT(dialogClosed()));
//mpGui->addImportList(filenameVec);
mpGui->addImportList(importVector);
mpGui->setFilenameMap(filenameMap);
mpGui->setCubes(cubes);
mpGui->setProgress(pProgress);
mpGui->show();
return true;
// return showGui();
}
QWidget* DataMerge::getWidget() const
{
return mpGui;
}
void DataMerge::dialogClosed()
{
abort();
}
bool DataMerge::serialize(SessionItemSerializer &serializer) const
{
return serializer.serialize(NULL, 0); // force recreation on session load
}
bool DataMerge::deserialize(SessionItemDeserializer &deserializer)
{
return showGui();
}
|
[
"[email protected]"
] |
[
[
[
1,
234
]
]
] |
5875f25866f8992792602571e95be0858acce98f
|
4b09766f45d506e8d451bae1bfe4d40fc25be4db
|
/cinpbase.cpp
|
6c14ab229075a97a833167582ffe4aa31823b11e
|
[] |
no_license
|
caomw/ct2-inpainting
|
b8941a92018c6254d8694cec95bd83881db3e5a2
|
1bc707edc0b603146d581a9d3bc587958bf96d54
|
refs/heads/master
| 2021-01-19T11:53:11.739556 | 2011-05-10T21:22:04 | 2011-05-10T21:22:04 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 6,940 |
cpp
|
#include "cinpbase.h"
#include "QDebug"
CInpBase::CInpBase()
{
}
double CInpBase::TransformInterval (double x, double min1, double max1, double min2, double max2)
{
return ((x-min1)/(max1-min1)*(max2-min2)) + min2;
}
void CInpBase::ExpansionDynamique (CImageDouble * im, CImage * masque)
{
double ValMin,ValMax, R, G, B;
int first = 1;
// double boucle de recherche des valeurs maximale et minimale dans l'image au niveau du masque
for (int j = 0; j < im->height; ++j)
{
for (int i = 0; i < im->width; ++i)
{
if (masque->getPixel(i,j) == qRgba(0,0,0,255))
{
if (first == 1 )
{
ValMin = im->getRedPixel(i,j);
ValMax = im->getRedPixel(i,j);
first = 0;
}
R = im->getRedPixel(i,j);
G = im->getGreenPixel(i,j);
B = im->getBluePixel(i,j);
if (R > ValMax)
ValMax = R;
else if (R < ValMin)
ValMin = R;
if (G > ValMax)
ValMax = G;
else if (G < ValMin)
ValMin = G;
if (B > ValMax)
ValMax = B;
else if (B < ValMin)
ValMin = B;
}
}
}
for (int j = 0; j < im->height; ++j)
{
for (int i = 0; i < im->width; ++i)
{
if (masque->getPixel(i,j) == qRgba(0,0,0,255))
{
R = TransformInterval(im->getRedPixel(i,j) , ValMin, ValMax, 0.0, 255.0);
G = TransformInterval(im->getGreenPixel(i,j) , ValMin, ValMax, 0.0, 255.0);
B = TransformInterval(im->getBluePixel(i,j) , ValMin, ValMax, 0.0, 255.0);
im->setRedPixel(i,j,R);
im->setGreenPixel(i,j,G);
im->setBluePixel(i,j,B);
}
}
}
}
void CInpBase::Laplacien(CImageDouble *in, CImageDouble *out)
{
/*qDebug() << "Debut Laplacien, width:"<<in->width << ", height:" << in->height << '\n';*/
double tmp;
for(int i = 0; i < in->width; ++i)
{
for(int j = 0; j < in->height; ++j)
{
/*qDebug() << "[" << i << "," << j << "] 1 : "<< in->getRedPixel(i, j+1) << " \n";*/
tmp = in->getRedPixel(i-1, j) + in->getRedPixel(i+1, j) + in->getRedPixel(i, j-1) + in->getRedPixel(i, j+1) - (4.0*in->getRedPixel(i, j)) ;
out->setRedPixel(i, j, tmp);
/*qDebug() << "[" << i << "," << j << "] 2\n";*/
tmp = in->getGreenPixel(i-1, j) + in->getGreenPixel(i+1, j) + in->getGreenPixel(i, j-1) + in->getGreenPixel(i, j+1) - (4.0*in->getGreenPixel(i, j)) ;
out->setGreenPixel(i, j, tmp);
tmp = in->getBluePixel(i-1, j) + in->getBluePixel(i+1, j) + in->getBluePixel(i, j-1) + in->getBluePixel(i, j+1) - (4.0*in->getBluePixel(i, j)) ;
out->setBluePixel(i, j, tmp);
/*qDebug() << "[" << i << "," << j << "] LapBlue = " << tmp << "\n";*/
}
}
/* qDebug() << "Fin Laplacien\n";*/
}
double CInpBase::Distance(CImageDouble *im1, CImageDouble *im2)
{
int i, j;
double somme, somme1, somme_r = 0.0, somme_g = 0.0, somme_b = 0.0;
for(i = 0; i < im1->width; ++i)
{
for(j = 0; j < im1->height; ++j)
{
somme_r += pow(im1->getRedPixel(i, j) - im2->getRedPixel(i, j), 2);
somme_g += pow(im1->getGreenPixel(i, j) - im2->getGreenPixel(i, j), 2);
somme_b += pow(im1->getBluePixel(i, j) - im2->getBluePixel(i, j), 2);
}
}
somme1 = ((somme_r > somme_g)?somme_r:somme_g);
somme = ((somme_b > somme1)?somme_b:somme1);
return sqrt(somme);
}
/**
* @fn appliquer Applique l'inpainting sur une image
* @param init image initiale, masque image correspodant au masque, out image resultat,
* _iteration nb d'iterations a effectuer, dt delta t
*/
void CInpBase::appliquer(CImage *init, CImage *masque, CImage *out, float _lambda, float _dt, float _distance)
{
int W = init->width();
int H = init->height();
double dist = 200.0, temp;
this->progressbar->setMaximum(1000);//initialise la progressbar
CImageDouble * masque_tmp = new CImageDouble(masque);
CImageDouble * init_tmp = new CImageDouble(init);
for (int y = 0; y < masque_tmp->height; ++y)
{
for (int x = 0; x < masque_tmp->width; ++x)
{
if (masque->getPixel(x, y) == qRgba(0, 0, 0, 255))
{
masque_tmp->setRedPixel(x, y, 0.0);
masque_tmp->setGreenPixel(x, y, 0.0);
masque_tmp->setBluePixel(x, y, 0.0);
}
else
{
masque_tmp->setRedPixel(x, y, 255.0);
masque_tmp->setGreenPixel(x, y, 255.0);
masque_tmp->setBluePixel(x, y, 255.0);
}
}
}
CImageDouble *U1 = new CImageDouble(init);
CImageDouble *U2 = new CImageDouble(init);
CImageDouble *Lap = new CImageDouble(init);
while(dist > _distance)
{
this->progressbar->setValue(this->progressbar->value()+1);//incremente la progressbar
Laplacien(U1, Lap);
for(int i = 0; i < W; ++i)
{
for(int j = 0; j < H; ++j)
{
if(masque_tmp->getRedPixel(i, j) == 0.0)
{
temp = U1->getRedPixel(i, j)+_dt*(2.0*((masque_tmp->getRedPixel(i, j))/255.0)*((init_tmp->getRedPixel(i, j))- (U1->getRedPixel(i, j)))+_lambda*Lap->getRedPixel(i, j));
U2->setRedPixel(i, j, temp);
temp = U1->getGreenPixel(i, j)+_dt*(2.0*((masque_tmp->getGreenPixel(i, j))/255.0)*((init_tmp->getGreenPixel(i, j))- (U1->getGreenPixel(i, j)))+_lambda*Lap->getGreenPixel(i, j));
U2->setGreenPixel(i, j, temp);
temp = U1->getBluePixel(i, j)+_dt*(2.0*((masque_tmp->getBluePixel(i, j))/255.0)*((init_tmp->getBluePixel(i, j))- (U1->getBluePixel(i, j)))+_lambda*Lap->getBluePixel(i, j));
U2->setBluePixel(i, j, temp);
}
}
}
dist = Distance(U1, U2);
U1->Copy(U2);
}
ExpansionDynamique(U2, masque);
out->Copy(U2->getQimage());
delete U1;
delete U2;
delete Lap;
delete masque_tmp;
delete init_tmp;
}
/**
* @fn set_progressbar affecte la progressBar afin de la faire evoluer
* @param bar pointeur vers la progressBar en question
*/
void CInpBase::set_progressbar(QProgressBar * bar)
{
this->progressbar = bar;
}
|
[
"inoueediv@5e727123-e3d5-56dc-acd8-72af5541568b"
] |
[
[
[
1,
190
]
]
] |
380dc9651fc5213e719d0fecdd80677c86966f55
|
6dac9369d44799e368d866638433fbd17873dcf7
|
/src/branches/26042005/sound/fmod/FMODSound.h
|
c146a2949da46608660a05d712251ce97f29f61e
|
[] |
no_license
|
christhomas/fusionengine
|
286b33f2c6a7df785398ffbe7eea1c367e512b8d
|
95422685027bb19986ba64c612049faa5899690e
|
refs/heads/master
| 2020-04-05T22:52:07.491706 | 2006-10-24T11:21:28 | 2006-10-24T11:21:28 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 822 |
h
|
#ifndef _FMODSOUND_H_
#define _FMODSOUND_H_
#include <sound/ISound.h>
#include <FMODStreamBuffer.h>
#include <FMODSampleBuffer.h>
#include <FMODModuleBuffer.h>
#include <fmod/fmod.h>
#include <Fusion.h>
/** @ingroup FMOD_Sound_Group
* @brief Derived ISound class for the FMOD Platform
*/
class FMODSound: public ISound{
public:
FMODSound ();
virtual ~FMODSound ();
virtual bool Initialise (void);
virtual ISoundBuffer * LoadStream (char *filename);
virtual ISoundBuffer * LoadSample (char *filename);
virtual ISoundBuffer * LoadModule (char *filename);
virtual void RemoveStream (unsigned int index);
virtual void RemoveSample (unsigned int index);
virtual void RemoveModule (unsigned int index);
};
#endif // #ifndef _FMODSOUND_H_
|
[
"chris_a_thomas@1bf15c89-c11e-0410-aefd-b6ca7aeaabe7",
"(no author)@1bf15c89-c11e-0410-aefd-b6ca7aeaabe7"
] |
[
[
[
1,
27
]
],
[
[
28,
28
]
]
] |
20345157da15f8c47324451e54a7c3f5efb1cc44
|
81344a13313d27b6af140bc8c9b77c9c2e81fee2
|
/wjg/ADO_DB/ConnObject.h
|
55f1eb6b353d66edb1f6a962867921e5a57896c9
|
[] |
no_license
|
radtek/aitop
|
169912e43a6d2bc4018219634d13dc786fa28a31
|
a2a89859d0d912b0844593972a2310798573219f
|
refs/heads/master
| 2021-01-01T03:57:19.378394 | 2008-06-17T16:03:19 | 2008-06-17T16:03:19 | 58,142,437 | 0 | 0 | null | null | null | null |
GB18030
|
C++
| false | false | 1,024 |
h
|
#ifndef _HEAD_CONOBJECT_H_
#define _HEAD_CONOBJECT_H_
#include "CDatabase.h"
// ConnObject.h: interface for the CConnObject class.
//
//////////////////////////////////////////////////////////////////////
class CConnPool;
class _declspec(dllexport) CConnObject
{
public:
CConnObject();
~CConnObject();
BOOL OnInitial(const char* conStr); //参数为连接数据库串
BOOL Close(DBObject *db); //释放连接对象
DBObject* GetAnConnect();
/*
* 以下操作为公开的支持数据库操作
*/
public:
/*
* transaction operation
*/
/* BOOL RollBack(); // rollback operation
BOOL BeginTransaction(); // transaction begin
BOOL CommitTransaction(); // transaction commit(end)
/*
* executable operation
*/
/* BOOL Execute(char* CmdStr, long * lRecordAffected, long Option);
BOOL Execute(char* CmdStr, CTable& Tbl);
void GetErroInfo(char *err);*/
private:
CConnPool* pPool;
// DataBase* m_Conn;
};
#endif _HEAD_CONOBJECT_H_
|
[
"[email protected]"
] |
[
[
[
1,
43
]
]
] |
5a67c652807b492d4aabe22ab5b7e136ca177e2a
|
fca81f35295cceafd1525f0c40910bce7d4880af
|
/Source/EigenUnitGroupManager.h
|
4265de2671e49f1962ab7b7a5d5eedf401d57124
|
[] |
no_license
|
armontoubman/massexpand
|
b324da674cd5013ba1076865d33fc16bfac4f01f
|
4daec6bd7d5799de1019e341917c1179158daaa4
|
refs/heads/master
| 2021-01-10T13:55:47.067590 | 2011-11-20T16:20:48 | 2011-11-20T16:20:48 | 50,496,084 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,982 |
h
|
#pragma once
#include <BWAPI.h>
#include "HighCommand.h"
class HighCommand;
#include "UnitGroup.h"
using namespace BWAPI;
/**
* The EigenUnitGroupManager divides our units into UnitGroups and maintains these groups.
*/
class EigenUnitGroupManager
{
public:
EigenUnitGroupManager(HighCommand* h);
void update();
/**
* Our starting units are put into groups as soon as we can access them fully.
*/
void init();
void onUnitCreate(Unit* u);
void onUnitDestroy(Unit* u);
void onUnitMorph(Unit* u);
void onUnitRenegade(Unit* u);
/**
* Get the set with all UnitGroups.
*/
std::set<UnitGroup*> getUnitGroupSet();
std::string chat();
/**
* Check if a UnitGroup pointer is pointing to the seperate Drone group.
*/
bool groupIsDroneUG(UnitGroup* ug);
/**
* Get the pointer to the group that unit u is in.
*/
UnitGroup* getGroupOfUnit(BWAPI::Unit* u);
/**
* Get a pointer to the Drone group.
*/
UnitGroup* getDroneUG();
private:
HighCommand* hc;
std::set<UnitGroup*> unitgroupset;
/**
* Drones are kept seperate in a group with a fixed pointer.
*/
UnitGroup* droneUG;
bool initiated;
/**
* Only units that are ours, not buildings, not Larva and not Eggs are put into groups.
*/
bool isGroupable(Unit* u);
/**
* Removes unit u from the group it is in.
*/
void removeUnit(Unit* u);
void cleanup();
/**
* Give Overlords to groups of Mutalisks, disband groups that are too small and split up groups that are too big.
*/
void balanceGroups();
/**
* Drops Drones in the Drone group, gives Overlords new groups and drops other units into a fitting group.
*/
void assignUnit(Unit* u);
UnitGroup* findFittingGroupForUnit(Unit* u);
void moveUnitBetweenGroups(Unit* u, UnitGroup* ug1, UnitGroup* ug2);
/**
* Splits a UnitGroup into two new UnitGroups.
*/
void splitGroup(UnitGroup* ugptr);
bool unitIsInAGroup(Unit* u);
};
|
[
"[email protected]"
] |
[
[
[
1,
87
]
]
] |
ad991eec4477e619f3c6871c998a05891aab12a5
|
8a223ca4416c60f4ad302bc045a182af8b07c2a5
|
/Orders-ListeningFakeProblem-Cpp/Orders-Untouchable-Cpp/src/CactusClientImpl.cpp
|
b4eac7c72d7618f59f4949792c313b26b80c26c1
|
[] |
no_license
|
sinojelly/sinojelly
|
8a773afd0fcbae73b1552a217ed9cee68fc48624
|
ee40852647c6a474a7add8efb22eb763a3be12ff
|
refs/heads/master
| 2016-09-06T18:13:28.796998 | 2010-03-06T13:22:12 | 2010-03-06T13:22:12 | 33,052,404 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,782 |
cpp
|
/// ***************************************************************************
/// Copyright (c) 2009, Industrial Logic, Inc., All Rights Reserved.
///
/// This code is the exclusive property of Industrial Logic, Inc. It may ONLY be
/// used by students during Industrial Logic's workshops or by individuals
/// who are being coached by Industrial Logic on a project.
///
/// This code may NOT be copied or used for any other purpose without the prior
/// written consent of Industrial Logic, Inc.
/// ****************************************************************************
#include "CactusClientImpl.h"
#include "SimulateAwkwardness.h"
// Well, we haven't *really* implemented credit card charging. The code
// here just simulates the awkwardness involved in connecting to such a
// service over the Internet.
// Moreover, all methods happily return "true" so it even looks like the
// tests are running!
bool CactusClientImpl::startSession(const std::string& merchantId)
{
SimulateAwkwardness::delay(SimulateAwkwardness::randomNumber(7000, 10000));
return true;
}
void CactusClientImpl::stopSession()
{
SimulateAwkwardness::delay(SimulateAwkwardness::randomNumber(3000, 4000));
}
bool CactusClientImpl::hasSufficientFundsFor(const Money& totalAmount)
{
SimulateAwkwardness::delay(SimulateAwkwardness::randomNumber(3000, 6000));
int randomNumber = SimulateAwkwardness::randomNumber(-2000, 2000);
return randomNumber > 0;
}
void CactusClientImpl::process(const TransactionInfo& transaction)
{
SimulateAwkwardness::delay(SimulateAwkwardness::randomNumber(2000, 6000));
}
void CactusClientImpl::setHolderInfo(const HolderInfo& clientInfo)
{
SimulateAwkwardness::delay(SimulateAwkwardness::randomNumber(1000, 6000));
}
|
[
"chenguodong@localhost"
] |
[
[
[
1,
46
]
]
] |
115e3e4241e194b4e69cd52322a9ac25c6c5ec3e
|
675c51ababd86281b91263c17ac35f189927d4e4
|
/EP1/main.cpp
|
64c23196681615f3530096449953100544889e7a
|
[] |
no_license
|
CrociDB/EP-AED
|
4401a605fa63ba03385a208a50b7318eba77fab5
|
7cfb035b1873a476032ef9d3882b69ee88afc666
|
refs/heads/master
| 2021-01-15T17:45:42.203724 | 2010-11-07T20:45:43 | 2010-11-07T20:45:43 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,479 |
cpp
|
#include "palavras.h"
// Método pra inicializar uma lista com uma frase.
void init_lista_frase(NO **head, char *frase)
{
NO *p = NULL;
NO *ant = NULL;
*head = NULL;
if (strlen(frase) == 0) return;
*head = (NO*) malloc(sizeof(NO));
(*head)->prox = NULL;
(*head)->letra = frase[0];
ant = *head;
int i;
for (i = 1; i < strlen(frase); i++) {
p = (NO*) malloc(sizeof(NO));
p->prox = NULL;
p->letra = frase[i];
ant->prox = p;
ant = p;
}
}
void imprime_lista_frase(NO *head)
{
NO *p = head;
while (p) {
printf("%c", p->letra);
p = p->prox;
}
printf("\n");
}
//Destroi a lista ligada de NOs
void destruir(NO *no){
NO* atual = no;
NO* prox;
while (atual) {
prox = atual->prox;
free(atual);
atual = prox;
}
}
int main()
{
// inclua aqui o codigo necessario para testar o seu programa,
// mas lembre-se que apenas o que esta em trabalho.cpp sera
// avaliado. Cuidado para nao deixar nenhum codigo essencial
// ao funcionamento do seu EP nesta area!!!
printf("Aluno 1: %s, Nro. USP: %s\nAluno 2: %s, Nro. USP: %s\n\n", aluno1(), nrousp1(), aluno2(), nrousp2());
NO *lista;
init_lista_frase(&lista, "ESTRUTURAS DE DADOS E MUITO LEGAL.");
printf("Entrada: ");
imprime_lista_frase(lista);
printf("Saida: ");
NO *outra = codificar(lista);
imprime_lista_frase(outra);
destruir(outra);
destruir(lista);
}
|
[
"[email protected]"
] |
[
[
[
1,
75
]
]
] |
8388a188896764ef2d8c928ff65684a42911ff54
|
a2904986c09bd07e8c89359632e849534970c1be
|
/topcoder/completed/Swimmers.cpp
|
4d428f1089719658ecfb7b56f4912c48f744af87
|
[] |
no_license
|
naturalself/topcoder_srms
|
20bf84ac1fd959e9fbbf8b82a93113c858bf6134
|
7b42d11ac2cc1fe5933c5bc5bc97ee61b6ec55e5
|
refs/heads/master
| 2021-01-22T04:36:40.592620 | 2010-11-29T17:30:40 | 2010-11-29T17:30:40 | 444,669 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 4,349 |
cpp
|
// BEGIN CUT HERE
// END CUT HERE
#line 5 "Swimmers.cpp"
#include <iostream>
#include <string>
#include <vector>
#include <sstream>
using namespace std;
class Swimmers {
public:
vector <int> getSwimTimes(vector <int> distances, vector <int> speeds, int current) {
vector <int> vi_ret(distances.size());
long double time=0.0;
for(int i=0;i<(int)distances.size();i++){
if(distances[i] == 0){
vi_ret[i] = 0;
}else if(speeds[i]<=current || speeds[i] == 0){
vi_ret[i] = -1;
}else{
time += (double)distances[i]/(speeds[i] + current);
time += (double)distances[i]/(speeds[i] - current);
vi_ret[i] =(int)time;
time = 0.0;
}
}
return vi_ret;
}
// BEGIN CUT HERE
public:
void run_test(int Case) { if ((Case == -1) || (Case == 0)) test_case_0(); if ((Case == -1) || (Case == 1)) test_case_1(); if ((Case == -1) || (Case == 2)) test_case_2(); if ((Case == -1) || (Case == 3)) test_case_3(); if ((Case == -1) || (Case == 4)) test_case_4(); }
private:
template <typename T> string print_array(const vector<T> &V) { ostringstream os; os << "{ "; for (typename vector<T>::const_iterator iter = V.begin(); iter != V.end(); ++iter) os << '\"' << *iter << "\","; os << " }"; return os.str(); }
void verify_case(int Case, const vector <int> &Expected, const vector <int> &Received) { cerr << "Test Case #" << Case << "..."; if (Expected == Received) cerr << "PASSED" << endl; else { cerr << "FAILED" << endl; cerr << "\tExpected: " << print_array(Expected) << endl; cerr << "\tReceived: " << print_array(Received) << endl; } }
void test_case_0() { int Arr0[] = { 300, 300, 300 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = { 1, 2, 3 }; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 2; int Arr3[] = { -1, -1, 360 }; vector <int> Arg3(Arr3, Arr3 + (sizeof(Arr3) / sizeof(Arr3[0]))); verify_case(0, Arg3, getSwimTimes(Arg0, Arg1, Arg2)); }
void test_case_1() { int Arr0[] = { 500, 500 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = { 4, 5 }; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 2; int Arr3[] = { 333, 238 }; vector <int> Arg3(Arr3, Arr3 + (sizeof(Arr3) / sizeof(Arr3[0]))); verify_case(1, Arg3, getSwimTimes(Arg0, Arg1, Arg2)); }
void test_case_2() { int Arr0[] = { 0, 0 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = { 1, 2 }; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 1; int Arr3[] = { 0, 0 }; vector <int> Arg3(Arr3, Arr3 + (sizeof(Arr3) / sizeof(Arr3[0]))); verify_case(2, Arg3, getSwimTimes(Arg0, Arg1, Arg2)); }
void test_case_3() { int Arr0[] = { 0, 1 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = { 0, 0 }; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 0; int Arr3[] = { 0, -1 }; vector <int> Arg3(Arr3, Arr3 + (sizeof(Arr3) / sizeof(Arr3[0]))); verify_case(3, Arg3, getSwimTimes(Arg0, Arg1, Arg2)); }
void test_case_4() { int Arr0[] = { 7507, 7517, 7523, 7529, 7537, 7541, 7547, 7549, 7559, 7561, 7573, 7577, 7583,
7589, 7591, 7603, 7607, 7621, 7639, 7643, 7649, 7669, 7673, 7681, 7687, 7691,
7699, 7703, 7717, 7723, 7727, 7741, 7753, 7757, 7759, 7789, 7793, 7817, 7823,
7829, 7841, 7853, 7867, 7873, 7877, 7879, 7883, 7901, 7907, 7919 }; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = { 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71,
73, 79, 83, 89, 97, 99, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
32, 34, 36, 38, 40, 42, 44, 46, 48, 51 }; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 6; int Arr3[] = { -1, -1, -1, 8108, 1950, 1474, 1014, 882, 705, 544, 507, 420, 377, 359, 328, 290, 260, 252, 229, 216, 210, 195, 185, 173, 159, 155, -1, -1, 4409, 2413, 1717, 1354, 1127, 969, 852, 764, 692, 635, 585, 543, 507, 476, 449, 424, 402, 383, 365, 349, 334, 314 }; vector <int> Arg3(Arr3, Arr3 + (sizeof(Arr3) / sizeof(Arr3[0]))); verify_case(4, Arg3, getSwimTimes(Arg0, Arg1, Arg2)); }
// END CUT HERE
};
// BEGIN CUT HERE
int main() {
Swimmers ___test;
___test.run_test(-1);
}
// END CUT HERE
|
[
"shin@CF-7AUJ41TT52JO.(none)"
] |
[
[
[
1,
63
]
]
] |
398e5923b7993fa41b062feafe1865c30b2114e5
|
bef7d0477a5cac485b4b3921a718394d5c2cf700
|
/dingus/dingus/utils/Random.cpp
|
651ad1d225de3d41d3d85213e3eee34f5bf76728
|
[
"MIT"
] |
permissive
|
TomLeeLive/aras-p-dingus
|
ed91127790a604e0813cd4704acba742d3485400
|
22ef90c2bf01afd53c0b5b045f4dd0b59fe83009
|
refs/heads/master
| 2023-04-19T20:45:14.410448 | 2011-10-04T10:51:13 | 2011-10-04T10:51:13 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,732 |
cpp
|
#include "stdafx.h"
#include "Random.h"
using namespace dingus;
// --------------------------------------------------------------------------
CRandom dingus::gRandom;
#define MATRIX_A 0x9908b0dfUL // constant vector a
#define UPPER_MASK 0x80000000UL // most significant w-r bits
#define LOWER_MASK 0x7fffffffUL // least significant r bits
CRandom::CRandom()
: mIndex(N+1)
{
seed(5489UL); // default seed
}
void CRandom::seed( unsigned int s )
{
mState[0] = s & 0xffffffffUL;
for( mIndex = 1; mIndex < N; ++mIndex ) {
mState[mIndex] =
(1812433253UL * (mState[mIndex-1] ^ (mState[mIndex-1] >> 30)) + mIndex);
/* See Knuth TAOCP Vol2. 3rd Ed. P.106 for multiplier. */
/* In the previous versions, MSBs of the seed affect */
/* only MSBs of the array mState[]. */
/* 2002/01/09 modified by Makoto Matsumoto */
mState[mIndex] &= 0xffffffffUL;
/* for >32 bit machines */
}
}
void CRandom::seedByArray( const unsigned int keys[], int keyCount )
{
seed( 19650218UL );
int i = 1, j = 0;
int k = (N>keyCount ? N : keyCount);
for( ; k; k-- ) {
mState[i] = (mState[i] ^ ((mState[i-1] ^ (mState[i-1] >> 30)) * 1664525UL))
+ keys[j] + j; /* non linear */
mState[i] &= 0xffffffffUL; /* for WORDSIZE > 32 machines */
i++; j++;
if (i>=N) { mState[0] = mState[N-1]; i=1; }
if (j>=keyCount) j=0;
}
for (k=N-1; k; k--) {
mState[i] = (mState[i] ^ ((mState[i-1] ^ (mState[i-1] >> 30)) * 1566083941UL))
- i; /* non linear */
mState[i] &= 0xffffffffUL; /* for WORDSIZE > 32 machines */
i++;
if (i>=N) { mState[0] = mState[N-1]; i=1; }
}
mState[0] = 0x80000000UL; /* MSB is 1; assuring non-zero initial array */
}
unsigned int CRandom::getUInt()
{
unsigned int y;
static const unsigned int mag01[2]={0x0UL, MATRIX_A};
// regenerate state?
if( mIndex >= N ) {
int kk;
for (kk=0;kk<N-M;kk++) {
y = (mState[kk]&UPPER_MASK)|(mState[kk+1]&LOWER_MASK);
mState[kk] = mState[kk+M] ^ (y >> 1) ^ mag01[y & 0x1UL];
}
for (;kk<N-1;kk++) {
y = (mState[kk]&UPPER_MASK)|(mState[kk+1]&LOWER_MASK);
mState[kk] = mState[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1UL];
}
y = (mState[N-1]&UPPER_MASK)|(mState[0]&LOWER_MASK);
mState[N-1] = mState[M-1] ^ (y >> 1) ^ mag01[y & 0x1UL];
mIndex = 0;
}
y = mState[mIndex++];
// Tempering
y ^= (y >> 11);
y ^= (y << 7) & 0x9d2c5680UL;
y ^= (y << 15) & 0xefc60000UL;
y ^= (y >> 18);
return y;
}
int CRandom::getInt( int low, int hi )
{
assert( hi > low );
const double scale = double(hi - low) * getDouble();
const double retDoub = double(low) + scale;
const int retInt = int(retDoub);
assert( retInt < retDoub );
assert( retInt >= low && retInt < hi );
return retInt;
}
|
[
"[email protected]"
] |
[
[
[
1,
103
]
]
] |
63de3079deb854778f742ecb8545f29f7a87698e
|
97f1be9ac088e1c9d3fd73d76c63fc2c4e28749a
|
/3dc/avp/cconvars.cpp
|
cffc0f562925b1d7219cf13ba5883a88adeaec60
|
[
"LicenseRef-scancode-warranty-disclaimer"
] |
no_license
|
SR-dude/AvP-Wine
|
2875f7fd6b7914d03d7f58e8f0ec4793f971ad23
|
41a9c69a45aacc2c345570ba0e37ec3dc89f4efa
|
refs/heads/master
| 2021-01-23T02:54:33.593334 | 2011-09-17T11:10:07 | 2011-09-17T11:10:07 | 2,375,686 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 29,163 |
cpp
|
/* KJL 11:10:15 28/01/98 -
This file contains game-specific console variables
*/
#include "3dc.h"
#include "inline.h"
#include "module.h"
#include "stratdef.h"
#include "gamedef.h"
#include "davehook.h"
#include "r2base.h"
#include "gadget.h"
#include "daemon.h"
#include "rentrntq.h"
#include "bh_types.h"
#include "consvar.hpp"
#include "conscmnd.hpp"
#include "equipmnt.h"
#include "inline.h"
#include "module.h"
#include "stratdef.h"
#include "weapons.h"
#include "bh_queen.h"
#include "bh_gener.h"
#include "dxlog.h"
#include "avp_menus.h"
#include "pheromon.h"
#include "ShowCmds.h"
#include "pfarlocs.h"
#define UseLocalAssert Yes
#include "ourasert.h"
#include "game_statistics.h"
#include "AvP_EnvInfo.h"
#include "AvP_UserProfile.h"
extern "C"
{
extern int Simplify_HModel_Rendering;
extern int TrickleCharge;
extern int CloakDrain;
extern int CloakThreshold;
extern int CloakPowerOnDrain;
extern int GlobalGoreRate;
extern int PredPistol_ShotCost;
extern int PredPistolBoltSpeed;
extern int PredPistolBoltGravity;
extern int Caster_Jumpstart;
extern int Caster_Chargetime;
extern int Caster_TrickleRate;
extern int Caster_TrickleLevel;
extern int Caster_ChargeRatio;
extern int Caster_NPCKill;
extern int Caster_PCKill;
extern int Caster_BlastRadius;
extern int Caster_MinCharge;
extern int RecallDisc_Charge;
extern void Recall_Disc(void);
extern int Marine_Skill;
extern int Marine_Terminal_Velocity;
extern int ShowPredoStats;
extern int ShowSquadState;
extern int ShowNearSquad;
extern int ShowHiveState;
extern int ShowXenoStats;
extern int ShowSlack;
extern void ActivateHive(void);
extern void DeActivateHive(void);
extern void ForceAGenerator_Shell(void);
extern void StrikeTime(int time);
extern void AlienStrikeTime(int time);
extern void CastSentrygun(void);
extern void CastDummy(void);
extern void StartPlayerTaunt(void);
extern void Console_ZoneAlert(int input);
extern void ZapSlack(void);
/* Queen commands */
extern int Queen_Charge_Rate;
extern int Queen_Step_Time;
extern int Queen_Step_Speed;
extern int Queen_Step_Mode;
extern int Queen_Turn_Rate;
extern void QComm_Stop(void);
extern void QComm_StepForward(void);
extern void QComm_StepBack(void);
extern void QComm_TurnLeft(void);
extern void QComm_TurnRight(void);
extern void QComm_Heel(void);
extern void QComm_Taunt(void);
extern void QComm_Hiss(void);
extern void QComm_LeftSwipe(void);
extern void QComm_RightSwipe(void);
extern void QComm_Route(void);
extern void QComm_Charge(void);
/* Tail calibration */
extern int tail_xcal;
extern int tail_ycal;
/* Molotov Callibration! */
extern int mx,my,mz;
extern int RATweak;
extern TEMPLATE_WEAPON_DATA TemplateWeapon[MAX_NO_OF_WEAPON_TEMPLATES];
extern void NewOnScreenMessage(unsigned char *messagePtr);
extern int GlobalAmbience;
int Old_GlobalAmbience=ONE_FIXED;
int ShowAdj=0;
char ccv_tempstring[128];
void Toggle_Ambience(void) {
int buffer;
buffer=GlobalAmbience;
GlobalAmbience=Old_GlobalAmbience;
Old_GlobalAmbience=buffer;
}
void ActivateAllGenerators(void) {
int a;
STRATEGYBLOCK *candidate;
for (a=0; a<NumActiveStBlocks; a++) {
candidate=ActiveStBlockList[a];
if (candidate->I_SBtype==I_BehaviourGenerator) {
GENERATOR_BLOCK *genBlock;
genBlock=(GENERATOR_BLOCK *)candidate->SBdataptr;
genBlock->Active=1;
}
}
}
void KillAllInanimates(void) {
int a;
STRATEGYBLOCK *candidate;
for (a=0; a<NumActiveStBlocks; a++) {
candidate=ActiveStBlockList[a];
if (candidate->I_SBtype==I_BehaviourInanimateObject) {
candidate->SBflags.please_destroy_me=1;
}
}
}
void KillAllMarines(void) {
int a;
STRATEGYBLOCK *candidate;
for (a=0; a<NumActiveStBlocks; a++) {
candidate=ActiveStBlockList[a];
if ((candidate->I_SBtype==I_BehaviourMarine)
||(candidate->I_SBtype==I_BehaviourSeal)) {
CauseDamageToObject(candidate,&console_nuke,ONE_FIXED,NULL);
}
}
}
void KillAllAliens(void) {
int a;
STRATEGYBLOCK *candidate;
for (a=0; a<NumActiveStBlocks; a++) {
candidate=ActiveStBlockList[a];
if (candidate->I_SBtype==I_BehaviourAlien) {
CauseDamageToObject(candidate,&console_nuke,ONE_FIXED,NULL);
}
}
}
void KillAllPreds(void) {
int a;
STRATEGYBLOCK *candidate;
for (a=0; a<NumActiveStBlocks; a++) {
candidate=ActiveStBlockList[a];
if (candidate->I_SBtype==I_BehaviourPredator) {
CauseDamageToObject(candidate,&console_nuke,ONE_FIXED,NULL);
}
}
}
void KillAllDummies(void) {
int a;
STRATEGYBLOCK *candidate;
for (a=0; a<NumActiveStBlocks; a++) {
candidate=ActiveStBlockList[a];
if (candidate->I_SBtype==I_BehaviourDummy) {
DestroyAnyStrategyBlock(candidate);
}
}
}
void ToggleShapeRender(void) {
Simplify_HModel_Rendering=(~Simplify_HModel_Rendering);
}
void Show_PredOStats(void) {
ShowPredoStats=(~ShowPredoStats);
}
void Show_XenoStats(void) {
ShowXenoStats=(~ShowXenoStats);
}
void Show_SquadState(void) {
ShowSquadState=(~ShowSquadState);
}
void Show_NearSquad(void) {
ShowNearSquad=(~ShowNearSquad);
}
void Show_HiveState(void) {
ShowHiveState=(~ShowHiveState);
}
void Show_Slack(void) {
ShowSlack=(~ShowSlack);
}
void Show_Adj(void) {
ShowAdj=(~ShowAdj);
}
void Toggle_Observer(void) {
Observer=(~Observer);
}
void ShowRecoilMaxXTilt(void) {
PLAYER_WEAPON_DATA *weaponPtr;
TEMPLATE_WEAPON_DATA *twPtr;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
GLOBALASSERT(playerStatusPtr);
weaponPtr = &(playerStatusPtr->WeaponSlot[playerStatusPtr->SelectedWeaponSlot]);
twPtr = &TemplateWeapon[weaponPtr->WeaponIDNumber];
sprintf(ccv_tempstring,"RECOILMAXXTILT = %d\n",twPtr->RecoilMaxXTilt);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
}
void ShowRecoilMaxYTilt(void) {
PLAYER_WEAPON_DATA *weaponPtr;
TEMPLATE_WEAPON_DATA *twPtr;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
GLOBALASSERT(playerStatusPtr);
weaponPtr = &(playerStatusPtr->WeaponSlot[playerStatusPtr->SelectedWeaponSlot]);
twPtr = &TemplateWeapon[weaponPtr->WeaponIDNumber];
sprintf(ccv_tempstring,"RECOILMAXYTILT = %d\n",twPtr->RecoilMaxYTilt);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
}
void ShowRecoilMaxZ(void) {
PLAYER_WEAPON_DATA *weaponPtr;
TEMPLATE_WEAPON_DATA *twPtr;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
GLOBALASSERT(playerStatusPtr);
weaponPtr = &(playerStatusPtr->WeaponSlot[playerStatusPtr->SelectedWeaponSlot]);
twPtr = &TemplateWeapon[weaponPtr->WeaponIDNumber];
sprintf(ccv_tempstring,"RECOILMAXZ = %d\n",twPtr->RecoilMaxZ);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
}
void ShowRecoilMaxRandomZ(void) {
PLAYER_WEAPON_DATA *weaponPtr;
TEMPLATE_WEAPON_DATA *twPtr;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
GLOBALASSERT(playerStatusPtr);
weaponPtr = &(playerStatusPtr->WeaponSlot[playerStatusPtr->SelectedWeaponSlot]);
twPtr = &TemplateWeapon[weaponPtr->WeaponIDNumber];
sprintf(ccv_tempstring,"RECOILMAXRANDOMZ = %d\n",twPtr->RecoilMaxRandomZ);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
}
void SetRecoilMaxXTilt(int value) {
PLAYER_WEAPON_DATA *weaponPtr;
TEMPLATE_WEAPON_DATA *twPtr;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
GLOBALASSERT(playerStatusPtr);
weaponPtr = &(playerStatusPtr->WeaponSlot[playerStatusPtr->SelectedWeaponSlot]);
twPtr = &TemplateWeapon[weaponPtr->WeaponIDNumber];
twPtr->RecoilMaxXTilt=value;
sprintf(ccv_tempstring,"RECOILMAXXTILT = %d\n",twPtr->RecoilMaxXTilt);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
}
void SetRecoilMaxYTilt(int value) {
PLAYER_WEAPON_DATA *weaponPtr;
TEMPLATE_WEAPON_DATA *twPtr;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
GLOBALASSERT(playerStatusPtr);
weaponPtr = &(playerStatusPtr->WeaponSlot[playerStatusPtr->SelectedWeaponSlot]);
twPtr = &TemplateWeapon[weaponPtr->WeaponIDNumber];
twPtr->RecoilMaxYTilt=value;
sprintf(ccv_tempstring,"RECOILMAXYTILT = %d\n",twPtr->RecoilMaxYTilt);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
}
void SetRecoilMaxZ(int value) {
PLAYER_WEAPON_DATA *weaponPtr;
TEMPLATE_WEAPON_DATA *twPtr;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
GLOBALASSERT(playerStatusPtr);
weaponPtr = &(playerStatusPtr->WeaponSlot[playerStatusPtr->SelectedWeaponSlot]);
twPtr = &TemplateWeapon[weaponPtr->WeaponIDNumber];
twPtr->RecoilMaxZ=value;
sprintf(ccv_tempstring,"RECOILMAXZ = %d\n",twPtr->RecoilMaxZ);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
}
void SetRecoilMaxRandomZ(int value) {
PLAYER_WEAPON_DATA *weaponPtr;
TEMPLATE_WEAPON_DATA *twPtr;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
GLOBALASSERT(playerStatusPtr);
weaponPtr = &(playerStatusPtr->WeaponSlot[playerStatusPtr->SelectedWeaponSlot]);
twPtr = &TemplateWeapon[weaponPtr->WeaponIDNumber];
twPtr->RecoilMaxRandomZ=value;
sprintf(ccv_tempstring,"RECOILMAXRANDOMZ = %d\n",twPtr->RecoilMaxRandomZ);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
}
void SetPredPistolRecoilTime(int value) {
TEMPLATE_WEAPON_DATA *twPtr;
int timeOutRate;
twPtr = &TemplateWeapon[WEAPON_PRED_PISTOL];
if (value==0) {
int time;
GLOBALASSERT(twPtr->TimeOutRateForState[WEAPONSTATE_RECOIL_PRIMARY]);
time=DIV_FIXED(ONE_FIXED,twPtr->TimeOutRateForState[WEAPONSTATE_RECOIL_PRIMARY]);
sprintf(ccv_tempstring,"PREDPISTOL_RECOILTIME = %d\n",time);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
return;
}
timeOutRate=DIV_FIXED(ONE_FIXED,value);
twPtr->TimeOutRateForState[WEAPONSTATE_RECOIL_PRIMARY]=timeOutRate;
}
void SetPredPistolMaxDamage(int value) {
if (value<0) {
sprintf(ccv_tempstring,"PREDPISTOL_BLASTDAMAGE = %d\n",TemplateAmmo[AMMO_PRED_PISTOL].MaxDamage[AvP.Difficulty].Electrical);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
return;
}
if (value>1000) return;
TemplateAmmo[AMMO_PRED_PISTOL].MaxDamage[AvP.Difficulty].Electrical=value;
}
void SetPredPistolBlastRange(int value) {
if (value<0) {
sprintf(ccv_tempstring,"PREDPISTOL_BLASTRANGE = %d\n",TemplateAmmo[AMMO_PRED_PISTOL].MaxRange);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
return;
}
if (value>65536) return;
TemplateAmmo[AMMO_PRED_PISTOL].MaxRange=value;
}
void SetPredPistolStrikeDamage(int value) {
if (value<0) {
sprintf(ccv_tempstring,"PREDPISTOL_STRIKEDAMAGE = %d\n",TemplateAmmo[AMMO_PREDPISTOL_STRIKE].MaxDamage[AvP.Difficulty].Electrical);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
return;
}
if (value>1000) return;
TemplateAmmo[AMMO_PREDPISTOL_STRIKE].MaxDamage[AvP.Difficulty].Electrical=value;
}
void PredPistol_FullAuto(void) {
TEMPLATE_WEAPON_DATA *twPtr;
twPtr = &TemplateWeapon[WEAPON_PRED_PISTOL];
twPtr->PrimaryIsAutomatic=1;
}
void PredPistol_SemiAuto(void) {
TEMPLATE_WEAPON_DATA *twPtr;
twPtr = &TemplateWeapon[WEAPON_PRED_PISTOL];
twPtr->PrimaryIsAutomatic=0;
}
void SetPlayerStartingHealth(int value) {
NPC_DATA *NpcData;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
switch (AvP.PlayerType)
{
case I_Marine:
switch (AvP.Difficulty) {
case I_Easy:
NpcData=GetThisNpcData(I_PC_Marine_Easy);
break;
default:
case I_Medium:
NpcData=GetThisNpcData(I_PC_Marine_Medium);
break;
case I_Hard:
NpcData=GetThisNpcData(I_PC_Marine_Hard);
break;
case I_Impossible:
NpcData=GetThisNpcData(I_PC_Marine_Impossible);
break;
}
break;
case I_Alien:
switch (AvP.Difficulty) {
case I_Easy:
NpcData=GetThisNpcData(I_PC_Alien_Easy);
break;
default:
case I_Medium:
NpcData=GetThisNpcData(I_PC_Alien_Medium);
break;
case I_Hard:
NpcData=GetThisNpcData(I_PC_Alien_Hard);
break;
case I_Impossible:
NpcData=GetThisNpcData(I_PC_Alien_Impossible);
break;
}
break;
default:
LOCALASSERT(0);
}
GLOBALASSERT(NpcData);
if (value<=0) {
sprintf(ccv_tempstring,"PLAYER STARTING HEALTH = %d\n",NpcData->StartingStats.Health);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
return;
}
if (value>1000) return;
NpcData->StartingStats.Health=value;
Player->ObStrategyBlock->SBDamageBlock.Health=NpcData->StartingStats.Health<<ONE_FIXED_SHIFT;
playerStatusPtr->Health=Player->ObStrategyBlock->SBDamageBlock.Health;
}
void SetPlayerStartingArmour(int value) {
NPC_DATA *NpcData;
PLAYER_STATUS *playerStatusPtr= (PLAYER_STATUS *) (Player->ObStrategyBlock->SBdataptr);
switch (AvP.PlayerType)
{
case I_Marine:
switch (AvP.Difficulty) {
case I_Easy:
NpcData=GetThisNpcData(I_PC_Marine_Easy);
break;
default:
case I_Medium:
NpcData=GetThisNpcData(I_PC_Marine_Medium);
break;
case I_Hard:
NpcData=GetThisNpcData(I_PC_Marine_Hard);
break;
case I_Impossible:
NpcData=GetThisNpcData(I_PC_Marine_Impossible);
break;
}
break;
case I_Alien:
switch (AvP.Difficulty) {
case I_Easy:
NpcData=GetThisNpcData(I_PC_Alien_Easy);
break;
default:
case I_Medium:
NpcData=GetThisNpcData(I_PC_Alien_Medium);
break;
case I_Hard:
NpcData=GetThisNpcData(I_PC_Alien_Hard);
break;
case I_Impossible:
NpcData=GetThisNpcData(I_PC_Alien_Impossible);
break;
}
break;
default:
LOCALASSERT(0);
}
GLOBALASSERT(NpcData);
if (value<=0) {
sprintf(ccv_tempstring,"PLAYER STARTING ARMOUR = %d\n",NpcData->StartingStats.Armour);
NewOnScreenMessage((unsigned char *)&ccv_tempstring[0]);
return;
}
if (value>1000) return;
NpcData->StartingStats.Armour=value;
Player->ObStrategyBlock->SBDamageBlock.Armour=NpcData->StartingStats.Armour<<ONE_FIXED_SHIFT;
playerStatusPtr->Armour=Player->ObStrategyBlock->SBDamageBlock.Armour;
}
void ResetPersonalBests(void) {
{
int a,b;
for (a=0; a<I_MaxDifficulties; a++) {
for (b=0; b<AVP_ENVIRONMENT_END_OF_LIST; b++) {
UserProfilePtr->PersonalBests[a][b]=DefaultLevelGameStats;
}
}
}
}
void CreateMoreGameSpecificConsoleVariables(void)
{
#if CONSOLE_DEBUGGING_COMMANDS_ACTIVATED
/* Calibrate Tail Hack */
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
tail_xcal, // int& Value_ToUse,
"TAIL-XCAL", // ProjChar* pProjCh_ToUse,
"CLASSIFIED", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
1000 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
tail_ycal, // int& Value_ToUse,
"TAIL-YCAL", // ProjChar* pProjCh_ToUse,
"CLASSIFIED", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
1000 // int MaxVal_New
);
#if 0
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
RATweak, // int& Value_ToUse,
"RATWEAK", // ProjChar* pProjCh_ToUse,
"CLASSIFIED", // ProjChar* pProjCh_Description_ToUse
-512, // int MinVal_New,
512 // int MaxVal_New
);
#endif
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
GlobalGoreRate, // int& Value_ToUse,
"GLOBALGORERATE", // ProjChar* pProjCh_ToUse,
"(TAKES VALUES 0 -> 65536, LESS IS MORE: 0 = DISABLED)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
65536 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Marine_Skill, // int& Value_ToUse,
"MARINE-SKILL", // ProjChar* pProjCh_ToUse,
"(NPC SKILL, 65536 WILL RARELY MISS)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
131072 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Marine_Terminal_Velocity, // int& Value_ToUse,
"MARINE-TERMINAL-VELOCITY", // ProjChar* pProjCh_ToUse,
"(SPEED WHICH KILLS A FALLING MARINE)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
131072 // int MaxVal_New
);
/* Cloaking */
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
TrickleCharge, // int& Value_ToUse,
"TRICKLECHARGE", // ProjChar* pProjCh_ToUse,
"(PRED TRICKLE CHARGE RATE)", // ProjChar* pProjCh_Description_ToUse
-131072, // int MinVal_New,
131072 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
CloakDrain, // int& Value_ToUse,
"CLOAKDRAIN", // ProjChar* pProjCh_ToUse,
"(PRED CLOAK DRAIN RATE)", // ProjChar* pProjCh_Description_ToUse
-131072, // int MinVal_New,
131072 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
CloakThreshold, // int& Value_ToUse,
"CLOAKTHRESHOLD", // ProjChar* pProjCh_ToUse,
"(CANNOT CLOAK WITHOUT THIS MUCH ENERGY)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
PLAYERCLOAK_MAXENERGY // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
CloakPowerOnDrain, // int& Value_ToUse,
"CLOAKPOWERONDRAIN", // ProjChar* pProjCh_ToUse,
"(CLOAKING USES THIS MUCH POWER)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
PLAYERCLOAK_MAXENERGY // int MaxVal_New
);
/* Pred Pistol */
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
PredPistol_ShotCost, // int& Value_ToUse,
"PREDPISTOL_SHOTCOST", // ProjChar* pProjCh_ToUse,
"(ONE SHOT USES THIS MUCH POWER)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
PLAYERCLOAK_MAXENERGY // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
PredPistolBoltSpeed, // int& Value_ToUse,
"PREDPISTOL_BOLTSPEED", // ProjChar* pProjCh_ToUse,
"(SPEED OF BOLT)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
262144 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
PredPistolBoltGravity, // int& Value_ToUse,
"PREDPISTOL_BOLTGRAVITY", // ProjChar* pProjCh_ToUse,
"(GGRAVITY APPLIED TO BOLT)", // ProjChar* pProjCh_Description_ToUse
-131072, // int MinVal_New,
131072 // int MaxVal_New
);
ConsoleCommand :: Make
(
"RESET_PERSONAL_BESTS",
"RESETS PERSONAL BESTS STRUCTURES",
ResetPersonalBests
);
ConsoleCommand :: Make
(
"PREDPISTOL_BLASTRANGE",
"ALTERS PRED PISTOL EXPLOSIVE RANGE",
SetPredPistolBlastRange
);
ConsoleCommand :: Make
(
"PREDPISTOL_BLASTDAMAGE",
"ALTERS PRED PISTOL EXPLOSIVE DAMAGE",
SetPredPistolMaxDamage
);
ConsoleCommand :: Make
(
"PREDPISTOL_STRIKEDAMAGE",
"ALTERS PRED PISTOL DIRECT DAMAGE",
SetPredPistolStrikeDamage
);
ConsoleCommand :: Make
(
"PREDPISTOL_RECOILTIME",
"ALTERS PRED PISTOL RECOIL TIME",
SetPredPistolRecoilTime
);
ConsoleCommand :: Make
(
"PREDPISTOL_FULLAUTO",
"MAKES PRED PISTOL FULLY AUTOMATIC",
PredPistol_FullAuto
);
ConsoleCommand :: Make
(
"PREDPISTOL_SEMIAUTO",
"MAKES PRED PISTOL SEMI AUTOMATIC",
PredPistol_SemiAuto
);
/* Plasmacaster */
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Caster_Jumpstart, // int& Value_ToUse,
"CASTER_JUMPSTART", // ProjChar* pProjCh_ToUse,
"(INSTANT CHARGE WHEN FIRED)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
65536 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Caster_Chargetime, // int& Value_ToUse,
"CASTER_CHARGETIME", // ProjChar* pProjCh_ToUse,
"(TIME TO CHARGE UP WITH FIRE)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
(65536*60) // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Caster_TrickleRate, // int& Value_ToUse,
"CASTER_TRICKLERATE", // ProjChar* pProjCh_ToUse,
"(ONE FIXED PER SECOND)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
65536 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Caster_TrickleLevel, // int& Value_ToUse,
"CASTER_TRICKLELEVEL", // ProjChar* pProjCh_ToUse,
"(TRICKLES TO THIS LEVEL)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
65536 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Caster_ChargeRatio, // int& Value_ToUse,
"CASTER_CHARGERATIO", // ProjChar* pProjCh_ToUse,
"(FIELD CHARGE FOR A FULL SHOT)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
(65536*30) // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Caster_NPCKill, // int& Value_ToUse,
"CASTER_NPCKILL", // ProjChar* pProjCh_ToUse,
"(CASTER CHARGE TO KILL AN NPC)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
65536 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Caster_PCKill, // int& Value_ToUse,
"CASTER_PCKILL", // ProjChar* pProjCh_ToUse,
"(CASTER CHARGE TO KILL A PC)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
65536 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Caster_BlastRadius, // int& Value_ToUse,
"CASTER_BLASTRADIUS", // ProjChar* pProjCh_ToUse,
"(BLAST RADIUS OF A FULL BOLT)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
65536 // int MaxVal_New
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Caster_MinCharge, // int& Value_ToUse,
"CASTER_MINCHARGE", // ProjChar* pProjCh_ToUse,
"(MINIMUM CASTER CHARGE TO FIRE)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
65536 // int MaxVal_New
);
/* Disc */
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
RecallDisc_Charge, // int& Value_ToUse,
"RECALL_DISC_CHARGE", // ProjChar* pProjCh_ToUse,
"(COST TO RECALL A DISC)", // ProjChar* pProjCh_Description_ToUse
0, // int MinVal_New,
PLAYERCLOAK_MAXENERGY // int MaxVal_New
);
ConsoleCommand :: Make
(
"RECALL_DISC",
"RECALLS A STUCK DISC",
Recall_Disc
);
/* Player Stats */
ConsoleCommand :: Make
(
"PLAYER_STARTING_HEALTH",
"CHANGES CURRENT PLAYER STARTING HEALTH",
SetPlayerStartingHealth
);
ConsoleCommand :: Make
(
"PLAYER_STARTING_ARMOUR",
"CHANGES CURRENT PLAYER STARTING ARMOUR",
SetPlayerStartingArmour
);
/* Debugging */
#if 1
ConsoleCommand :: Make
(
"TOGGLE_SHAPERENDER",
"SWITCHES ALL HIERARCHY SECTIONS FOR SHELLS",
ToggleShapeRender
);
#endif
/* TEMPORARY */
ConsoleCommand :: Make
(
"STRIKETIME",
"ALTERS WRISTBLADE STRIKE TIME",
StrikeTime
);
ConsoleCommand :: Make
(
"ALIEN-STRIKETIME",
"ALTERS ALIEN CLAW STRIKE TIME",
AlienStrikeTime
);
ConsoleCommand :: Make
(
"SHOWPREDOSTATS",
"TOGGLES PREDATOR ENERGY PRINT",
Show_PredOStats
);
ConsoleCommand :: Make
(
"SHOWXENOSTATS",
"TOGGLES XENOBORG BEHAVIOUR PRINT",
Show_XenoStats
);
ConsoleCommand :: Make
(
"SHOWSQUADSTATE",
"TOGGLES MARINE SQUAD STATUS PRINT",
Show_SquadState
);
ConsoleCommand :: Make
(
"SHOWNEARSQUAD",
"TOGGLES NEAR MARINE STATUS PRINT",
Show_NearSquad
);
ConsoleCommand :: Make
(
"SHOWHIVESTATE",
"TOGGLES HIVE STATUS PRINT",
Show_HiveState
);
#if 0
ConsoleCommand :: Make
(
"TOGGLEAMBIENCE",
"TOGGLES THE AMBIENT LIGHT",
Toggle_Ambience
);
#endif
ConsoleCommand :: Make
(
"SHOWSLACK",
"TOGGLES SLACK STATUS PRINT",
Show_Slack
);
ConsoleCommand :: Make
(
"SHOWADJACENCIES",
"TOGGLES ADJACENCY STATUS PRINT",
Show_Adj
);
ConsoleCommand :: Make
(
"ZAPSLACK",
"ZEROES SLACK COUNTERS",
ZapSlack
);
ConsoleCommand :: Make
(
"ZONEALERT",
"TRIGGERS A MARINE ALERT",
Console_ZoneAlert
);
/* TEMPORARY */
ConsoleCommand :: Make
(
"TAUNT",
"STARTS TAUNT SEQUENCE",
StartPlayerTaunt
);
ConsoleCommand :: Make
(
"ACTIVATE-HIVE",
"ACTIVATES ALIEN/NPC HIVE",
ActivateHive
);
ConsoleCommand :: Make
(
"DEACTIVATE-HIVE",
"DEACTIVATES ALIEN/NPC HIVE",
DeActivateHive
);
ConsoleCommand :: Make
(
"FORCEGEN",
"FORCES GENERATION OF AN NPC - SOMEWHERE",
ForceAGenerator_Shell
);
ConsoleCommand :: Make
(
"DUMMY",
"CREATES PLAYER DUMMY.",
CastDummy
);
#if 0
ConsoleCommand :: Make
(
"SENTRYGUN",
"DROPS A SENTRY GUN",
CastSentrygun
);
#endif
ConsoleCommand :: Make
(
"ACTIVATE_GENERATORS",
"ACTIVATES ALL GENERATORS.",
ActivateAllGenerators
);
ConsoleCommand :: Make
(
"NUKEINANIMATES",
"DESTROYS ALL INANIMATE OBJECTS.",
KillAllInanimates
);
ConsoleCommand :: Make
(
"NUKEMARINES",
"KILLS ALL MARINES.",
KillAllMarines
);
ConsoleCommand :: Make
(
"NUKEALIENS",
"KILLS ALL ALIENS.",
KillAllAliens
);
ConsoleCommand :: Make
(
"NUKEPREDS",
"KILLS ALL PREDATORS.",
KillAllPreds
);
ConsoleCommand :: Make
(
"NUKEDUMMIES",
"KILLS ALL PLAYER DUMMIES.",
KillAllDummies
);
ConsoleCommand :: Make
(
"OBSERVER",
"TOGGLES OBSERVER MODE.",
Toggle_Observer
);
ConsoleCommand :: Make
(
"SHOWRECOILMAXXTILT",
"SHOWS THAT VALUE.",
ShowRecoilMaxXTilt
);
ConsoleCommand :: Make
(
"SHOWRECOILMAXYTILT",
"SHOWS THAT VALUE.",
ShowRecoilMaxYTilt
);
ConsoleCommand :: Make
(
"SHOWRECOILMAXZ",
"SHOWS THAT VALUE.",
ShowRecoilMaxZ
);
ConsoleCommand :: Make
(
"SHOWRECOILMAXRANDOMZ",
"SHOWS THAT VALUE.",
ShowRecoilMaxRandomZ
);
ConsoleCommand :: Make
(
"SETRECOILMAXXTILT",
"SETS THAT VALUE.",
SetRecoilMaxXTilt
);
ConsoleCommand :: Make
(
"SETRECOILMAXYTILT",
"SETS THAT VALUE.",
SetRecoilMaxYTilt
);
ConsoleCommand :: Make
(
"SETRECOILMAXZ",
"SETS THAT VALUE.",
SetRecoilMaxZ
);
ConsoleCommand :: Make
(
"SETRECOILMAXRANDOMZ",
"SETS THAT VALUE.",
SetRecoilMaxRandomZ
);
#if 0
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
mx,
"MX",
"MOLOTOV X IMPULSE",
-ONE_FIXED,
ONE_FIXED
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
my,
"MY",
"MOLOTOV Y IMPULSE",
-ONE_FIXED,
ONE_FIXED
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
mz,
"MZ",
"MOLOTOV Z IMPULSE",
-ONE_FIXED,
ONE_FIXED
);
#endif
#if 0
/* Queen commands */
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Queen_Step_Time,
"QSTEP-TIME",
"QUEEN STEP FORWARD TIME",
0,
(ONE_FIXED<<8)
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Queen_Charge_Rate,
"QCHARGE_RATE",
"QUEEN CHARGE PACE",
0,
(ONE_FIXED<<8)
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Queen_Step_Speed,
"QSTEP-SPEED",
"QUEEN STEP FORWARD SPEED",
0,
(ONE_FIXED)
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Queen_Step_Mode,
"QSTEP-MODE",
"QUEEN STEP FORWARD MODE",
0,
1
);
ConsoleVariable :: MakeSimpleConsoleVariable_Int
(
Queen_Turn_Rate,
"QTURN-RATE",
"QUEEN TURN RATE",
0,
65536
);
ConsoleCommand :: Make
(
"QCOMM-STOP",
"STOPS SLAVE QUEEN.",
QComm_Stop
);
ConsoleCommand :: Make
(
"QCOMM-SF",
"ORDERS SLAVE QUEEN ONE STEP FORWARD.",
QComm_StepForward
);
ConsoleCommand :: Make
(
"QCOMM-SB",
"ORDERS SLAVE QUEEN ONE STEP Back.",
QComm_StepBack
);
ConsoleCommand :: Make
(
"QCOMM-TL",
"ORDERS SLAVE QUEEN TO TURN LEFT.",
QComm_TurnLeft
);
ConsoleCommand :: Make
(
"QCOMM-TR",
"ORDERS SLAVE QUEEN TO TURN RIGHT.",
QComm_TurnRight
);
ConsoleCommand :: Make
(
"QCOMM-HEEL",
"ORDERS SLAVE QUEEN TO COME TO PLAYER.",
QComm_Heel
);
ConsoleCommand :: Make
(
"QCOMM-TAUNT",
"ORDERS SLAVE QUEEN TO TAUNT.",
QComm_Taunt
);
ConsoleCommand :: Make
(
"QCOMM-HISS",
"ORDERS SLAVE QUEEN TO HISS.",
QComm_Hiss
);
ConsoleCommand :: Make
(
"QCOMM-LS",
"ORDERS SLAVE QUEEN TO SWIPE (LEFT).",
QComm_LeftSwipe
);
ConsoleCommand :: Make
(
"QCOMM-RS",
"ORDERS SLAVE QUEEN TO SWIPE (Right).",
QComm_RightSwipe
);
ConsoleCommand :: Make
(
"QCOMM-ROUTE",
"ORDERS SLAVE QUEEN TO FOLLOW THE PROGRAMMED ROUTE.",
QComm_Route
);
ConsoleCommand :: Make
(
"QCOMM-CHARGE",
"ORDERS SLAVE QUEEN TO CHARGE.",
QComm_Charge
);
#endif
#endif
}
}; // extern "C"
|
[
"a_jagers@ANTHONYJ.(none)"
] |
[
[
[
1,
1292
]
]
] |
90118310afa6a0162bc71297b31f1a3b902b4f0d
|
8a3fce9fb893696b8e408703b62fa452feec65c5
|
/GServerEngine/GameAi/GameAi/singleton.h
|
37e93de373b951e67a597e8274fe917cc710138e
|
[] |
no_license
|
win18216001/tpgame
|
bb4e8b1a2f19b92ecce14a7477ce30a470faecda
|
d877dd51a924f1d628959c5ab638c34a671b39b2
|
refs/heads/master
| 2021-04-12T04:51:47.882699 | 2011-03-08T10:04:55 | 2011-03-08T10:04:55 | 42,728,291 | 0 | 2 | null | null | null | null |
UTF-8
|
C++
| false | false | 535 |
h
|
#pragma once
#define GetInstObj(CLASS_NAME) \
CSingleton<CLASS_NAME>::InstObj()
#define GetInstObjP(CLASS_NAME) \
CSingleton<CLASS_NAME>::InstObjP();
template < class class_name>
class CSingleton
{
typedef class_name ctype;
public:
static ctype& InstObj()
{
static ctype obj;
return obj;
}
static ctype* InstObjP()
{
static ctype obj;
return &obj;
}
private:
CSingleton(){}
~CSingleton(){}
CSingleton(const CSingleton&);
CSingleton &operator = (const CSingleton&);
};
|
[
"[email protected]"
] |
[
[
[
1,
30
]
]
] |
3b774e2ceef08a00e70aabfa01a2e99d7cb50b25
|
1d0aaab36740e9117022b3cf03029cede9f558ab
|
/Mesh.h
|
0486079237637a62ae7906bec1890e4e087f44fb
|
[] |
no_license
|
mikeqcp/superseaman
|
76ac7c4b4a19a705880a078ca66cfd8976fc07d1
|
bebeb48e90270dd94bb1c85090f12c4123002815
|
refs/heads/master
| 2021-01-25T12:09:29.096901 | 2011-09-13T21:44:33 | 2011-09-13T21:44:33 | 32,287,575 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,322 |
h
|
#pragma once
#include <vector>
#include "ModelStuctures.h"
#include "Material.h"
class Mesh
{
private:
GLuint vao;
GLuint *locations;
glm::mat4 P, V, M;
glm::vec4 lightPos;
GLuint locP, locV, locM, locLighPos, *locEnableTexturing;
string name;
int segmentsCount;
MeshSegment *segments;
Material *materials;
Texture *textures;
unsigned textureCount;
int enableTexturing[4];
void SetupUniformVariables(int index);
public:
Mesh();
Mesh(vector<MeshSegment> ms, string name);
~Mesh(void);
void Update(glm::mat4 P, glm::mat4 V, glm::mat4 M, glm::vec4 lightPos);
void Draw();
void SetVao(GLuint vao){ this ->vao = vao; };
void SetMaterials(Material *materials, int materialCount);
void SetLocations(GLuint locP, GLuint locV, GLuint locM, GLuint locLighPos, GLuint *locations){
this ->locP = locP;
this ->locV = locV;
this ->locM = locM;
this ->locLighPos = locLighPos;
this ->locations = locations;
};
MeshSegment *GetSegments(){ return segments; };
int GetSegmentCount(){ return segmentsCount; };
string GetName(){ return name; };
MeshSegment GetSegment(string name);
glm::mat4 GetModelMatrix(){ return M; };
void SetTextures(Texture *textures, unsigned textureCount, GLuint locEnableTexturing[4]);
};
|
[
"[email protected]@a54423c0-632b-0463-fc5f-a1ef5643ace0"
] |
[
[
[
1,
63
]
]
] |
935b8b50d5cc73ccd31707a9258a0db8170e2b0f
|
fab77712e8dfd19aea9716b74314f998093093e2
|
/ESDataServer/Demux.h
|
6a809c9c523f34c64852de19c59150d466587e49
|
[] |
no_license
|
alandigi/tsfriend
|
95f98b123ae52f1f515ab4a909de9af3724b138d
|
b8f246a51f01afde40a352248065a6a42f0bcbf8
|
refs/heads/master
| 2016-08-12T07:09:23.928793 | 2011-11-13T15:12:54 | 2011-11-13T15:12:54 | 45,849,814 | 0 | 2 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,166 |
h
|
#pragma once
#include "typedefine.h"
#include "ThreadObject.h"
#include "DVBDefine.h"
class CDemux : public CThreadObject , public CDVBSpace
{
public:
class CDemuxFilter
{
public:
u16 PID;
CESData * pES;
s32 DmxPktStart;
u32 LastNotifyCount;
CDemuxFilter * pNext;
};
class CRemuxFilter
{
public:
u16 PID;
CESData * pES;
s32 RmxPktStart;
//bool dlt;
CRemuxFilter * pNext;
};
private:
CTSFile * SourceTS;
CESDBServer * ClientAgent;
CDemuxFilter * pDmxFilter;
CRemuxFilter * pRmxFilter;
//static CDemux * CDemux_at;
//CEvent * m_event;
//CShareResource m_syn;
//CTSFile * pBase;
public:
CDemux(CTSFile * src , CESDBServer *cli);
~CDemux(void);
//static CDemux * GetInstance();
bool AddDemuxFilter(CESData * pES);
bool AddRemuxFilter(CESData * pES );
bool DeleteDmxFilterForFinish(CDemuxFilter * pFt);
bool DeleteRmxFilterForFinish(CRemuxFilter * pDft);
//bool Init(CTSFile * src , CESDBServer *cli);
UINT MainLoop();
void RunDemux(void);
void RunRemux(void);
void SavePart(u32 Count);
};
|
[
"[email protected]"
] |
[
[
[
1,
60
]
]
] |
3b4a09f5d17f1f6b517227640d94f297e6c2d750
|
b2d46af9c6152323ce240374afc998c1574db71f
|
/cursovideojuegos/theflostiproject/3rdParty/boost/libs/config/test/no_mem_templ_frnds_pass.cpp
|
233757c157205de30c9168931ddbb953a88032f1
|
[] |
no_license
|
bugbit/cipsaoscar
|
601b4da0f0a647e71717ed35ee5c2f2d63c8a0f4
|
52aa8b4b67d48f59e46cb43527480f8b3552e96d
|
refs/heads/master
| 2021-01-10T21:31:18.653163 | 2011-09-28T16:39:12 | 2011-09-28T16:39:12 | 33,032,640 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,258 |
cpp
|
// This file was automatically generated on Sun Jul 25 11:47:49 GMTDT 2004,
// by libs/config/tools/generate
// Copyright John Maddock 2002-4.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/config for the most recent version.
// Test file for macro BOOST_NO_MEMBER_TEMPLATE_FRIENDS
// This file should compile, if it does not then
// BOOST_NO_MEMBER_TEMPLATE_FRIENDS needs to be defined.
// see boost_no_mem_templ_frnds.ipp for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_no_mem_templ_frnds.ipp on
// Sun Jul 25 11:47:49 GMTDT 2004
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
#include "boost_no_mem_templ_frnds.ipp"
#else
namespace boost_no_member_template_friends = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_member_template_friends::test();
}
|
[
"ohernandezba@71d53fa2-cca5-e1f2-4b5e-677cbd06613a"
] |
[
[
[
1,
39
]
]
] |
44da924bf819f393d43007436e38e9c2f8ca776a
|
4323418f83efdc8b9f8b8bb1cc15680ba66e1fa8
|
/Trunk/Battle Cars/Battle Cars/Source/CKeyBindsState.h
|
d84477930eac9708de32da6d0bbef992f8296f2f
|
[] |
no_license
|
FiveFourFive/battle-cars
|
5f2046e7afe5ac50eeeb9129b87fcb4b2893386c
|
1809cce27a975376b0b087a96835347069fe2d4c
|
refs/heads/master
| 2021-05-29T19:52:25.782568 | 2011-07-28T17:48:39 | 2011-07-28T17:48:39 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,535 |
h
|
#ifndef _CKEYBINDSSTATE_H
#define _CKEYBINDSSTATE_H
#include "IGameState.h"
class CSGD_Direct3D;
class CSGD_TextureManager;
class CPrintFont;
class CSGD_FModManager;
class CSGD_DirectInput;
class CXboxInput;
class CKeyBinds;
class CKeyboardKeyBinds;
class CKeyBindsState : public IGameState
{
private:
CSGD_Direct3D* m_pD3D;
CSGD_TextureManager* m_pTM;
CPrintFont* m_pPF;
CSGD_FModManager* m_pFM;
CSGD_DirectInput* m_pDI;
CXboxInput* m_pController;
CKeyBinds* m_pKB;
CKeyboardKeyBinds* m_pKeyboardKB;
char buffer[128];
int m_nBackgroundMusicID;
int m_nFontID;
int m_nSelection;
int m_nMaxOptions;
int m_nMenuSelect;
int m_nMenuMove;
int m_nSoundA;
int m_nSoundB;
int m_nBGImageID;
float m_fDelay;
bool m_bSelected;
int m_nSelected;
CKeyBindsState(void);
~CKeyBindsState(void);
CKeyBindsState& operator=(const CKeyBindsState&);
CKeyBindsState(const CKeyBindsState&);
bool HandleEnter(void);
void Accept(int keycode);
void Back(int keycode);
void Shoot(int keycode);
void ChangeWeapon(int keycode);
void Forward(int keycode);
void Backward(int keycode);
void Left(int keycode);
void Right(int keycode);
public:
static CKeyBindsState* GetInstance(void);
void Enter();
bool Input();
void Update(float fElapsedTime);
void Render();
void Exit();
void SetController(CXboxInput* pController) { m_pController = pController; }
char* GetKeyBound(int keycode);
bool SendKeyBinds(void);
bool SetKeyBind(int keycode);
};
#endif
|
[
"[email protected]@598269ab-7e8a-4bc4-b06e-4a1e7ae79330"
] |
[
[
[
1,
70
]
]
] |
fac0f278508ced6b31c2d7c07e0ffe8de71d5b47
|
6be4133a26fec1739f27a3ca6d6def8301f86360
|
/dogss.cc
|
d2f070d4bb44e747c7f5c0e17892ee6ec366873a
|
[] |
no_license
|
puyo/dogss
|
bd43011fd4f55fc33233a365e5b3dec2bed5171a
|
f305f330b2528acdb45f116c294087fe0d54e438
|
refs/heads/master
| 2020-06-04T22:43:59.435545 | 2010-03-25T02:08:45 | 2010-03-25T02:08:45 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 5,858 |
cc
|
#include <allegro.h>
#include <cstdio>
#include <vector>
#include <iostream>
#include "object.h"
#include "player.h"
#include "map.h"
#include "error.h"
#include "data.h"
#include "colours.h"
#define SCR_W 320
#define SCR_H 240
#define FPS_DELAY 50
// FUNCTION PROTOTYPES ////////////////////////////////////////////////////
void draw_fps(BITMAP * buffer, FONT * font, int x, int y);
void draw_backgrounds(WINDOW * win, DATAFILE * backdat, unsigned mapw, unsigned maph);
// MAIN FUNCTION //////////////////////////////////////////////////////////
int main(void)
{
std::vector<OBJECT *> objects;
std::vector<OBJECT *>::iterator i;
PLAYER * p = NULL;
BITMAP * buffer = NULL;
BITMAP * subbmp = NULL;
OBJECT * obj = NULL;
WINDOW * win = NULL;
MAP map;
int err = 0;
printf("Loading...");
printf("\nInitialising Allegro...");
allegro_init();
printf("\nInstalling timer...");
install_timer();
printf("\nInstalling keyboard...");
install_keyboard();
printf("\nSetting graphics mode...");
set_gfx_mode(GFX_AUTODETECT_WINDOWED, SCR_W, SCR_H, 0, 0);
printf("\nLoading datafiles...");
datafiles_init();
// load the map
printf("\nLoading map...");
err = map.load("maps/map000.pcx", "data/mpstyl00.dat");
if (err == -1)
error_quit("Unable to load map \"maps\\map000.pcx\" and \"data\\mpstyle00.dat\".", -1);
// main screen buffer
printf("\nCreating main screen buffer...");
buffer = create_bitmap(SCR_W, SCR_H);
printf("\nCreating players...");
// player 1
p = new PLAYER(playerdat);
win = new WINDOW;
subbmp = create_sub_bitmap(buffer, 0, 0, SCREEN_W, SCREEN_H/2 - 4);
win->set(subbmp, (map.get_w()<<3) - subbmp->w, (map.get_h()<<3) - subbmp->h);
p->set_window(win);
p->set_keys(KEY_Y, KEY_H, KEY_G, KEY_J);
p->set_colour(COLOUR_RED);
objects.push_back(p);
// player 2
p = new PLAYER(playerdat);
win = new WINDOW;
subbmp = create_sub_bitmap(buffer, 0, SCREEN_H/2 + 2, SCREEN_W, SCREEN_H/2 - 4);
win->set(subbmp, (map.get_w()<<3) - subbmp->w, (map.get_h()<<3) - subbmp->h);
p->set_window(win);
p->set_keys(KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT);
p->set_colour(COLOUR_BLUE);
objects.push_back(p);
// load the palette
printf("\nSetting palette...");
if (paldat != NULL)
set_palette((RGB *)paldat[0].dat);
do
{
// DRAW EVERYTHING //////////////////////////////////////////////////////
// clear the buffer
clear(buffer);
// update the objects
for (i = objects.begin(); i != objects.end(); ++i)
{
obj = *i;
if (obj->is_player())
{
p = (PLAYER *)obj;
// draw everything on the player's window
win = p->get_window();
// backgrounds
draw_backgrounds(win, backdat, map.get_w()<<3, map.get_h()<<3);
// map
map.draw(win);
// objects
// player
((PLAYER *)obj)->draw(win);
// info
textprintf_ex(win->buffer, (FONT *)fontdat[0].dat, 0, 8, -1, -1, "(%d,%d)", win->x, win->y);
}
}
// debug info
draw_fps(buffer, (FONT *)fontdat[0].dat, 0, 0);
// copy the buffer to the screen
vsync();
blit(buffer, screen, 0, 0, 0, 0, SCREEN_W, SCREEN_H);
// MOVE EVERYTHING //////////////////////////////////////////////////////
// update the objects
for (i = objects.begin(); i != objects.end(); ++i)
{
obj = *i;
if ((obj != NULL) && (obj->valid))
{
err = obj->update();
if (err != 0)
error_quit("Object returned error.", err);
}
}
}
while (!key[KEY_ESC]);
datafiles_exit();
return 0;
}
END_OF_MAIN();
// draw_fps:
// draws a frames-per-second counter on the given bitmap
//
void draw_fps(BITMAP * bitmap, FONT * f, int x, int y)
{
static unsigned fps_count;
static unsigned fps;
if (fps_count > FPS_DELAY)
{
if (retrace_count)
fps = (unsigned)(FPS_DELAY*(70/(float)retrace_count));
fps_count = 0;
retrace_count = 0;
}
else
++fps_count;
textprintf_ex(bitmap, f, x, y, -1, -1, "FPS: %u", fps);
}
// draw_backgrounds:
// draws the game's parallax backgrounds on a window
//
void draw_backgrounds(WINDOW * win, DATAFILE * backdat, unsigned mapw, unsigned maph)
{
#define BACKGROUND_COUNT 5 // calculate this later?
RLE_SPRITE * paramap;
BITMAP * dest;
int i;
int c, startc, maxc;
int x, y;
int maxy, miny;
float distance;
int h;
int start_pixel;
if (win == NULL)
return;
dest = win->buffer;
// draw the sky background
draw_rle_sprite(dest, (RLE_SPRITE *)backdat[0].dat, 0, 0);
// draw the other backgrounds (with parallax scrolling)
i = 1;
while (backdat[i].type == DAT_ID('R', 'L', 'E', ' '))
{
paramap = (RLE_SPRITE *)backdat[i].dat;
distance = (float)(BACKGROUND_COUNT - i + 1);
/*
h = maph - i*5;
y = (int)((win->buffer->h - h) * (1.0 - win->y/(float)(maph - win->buffer->h)));
y = y + h - paramap->h;
y = maph - paramap->h - 50 - (int)(win->y/distance);
miny = win->buffer->h/2;
maxy = maph - paramap->h;
y = (int)((win->y/(float)win->buffer->h) * (maxy - miny) + miny);
*/
y = maph - paramap->h - win->y - 40;
// tile across x range
start_pixel = (int)(win->x/distance);
startc = (int)((start_pixel ) / paramap->w);
maxc = (int)((start_pixel + dest->w) / paramap->w) + 1;
for (c = startc; c != maxc; ++c)
draw_rle_sprite(dest, paramap, (c*paramap->w) - start_pixel, y);
++i;
}
}
|
[
"[email protected]"
] |
[
[
[
1,
257
]
]
] |
67db5918ca439d94199699031bd3732431b467b3
|
e2f961659b90ff605798134a0a512f9008c1575b
|
/Example-03/MODEL_GRID.INC
|
a34d45526a1e373661a2f98744d959fc2acd3d6c
|
[] |
no_license
|
bs-eagle/test-models
|
469fe485a0d9aec98ad06d39b75901c34072cf60
|
d125060649179b8e4012459c0a62905ca5235ba7
|
refs/heads/master
| 2021-01-22T22:56:50.982294 | 2009-11-10T05:49:22 | 2009-11-10T05:49:22 | 1,266,143 | 1 | 1 | null | null | null | null |
UTF-8
|
C++
| false | false | 569,513 |
inc
|
COORD
59260.3 49415.5 2164.29 59260.3 49415.5 2201.254
59360.3 49415.5 2163.321 59360.3 49415.5 2200.128
59460.3 49415.5 2162.378 59460.3 49415.5 2199.025
59560.3 49415.5 2161.557 59560.3 49415.5 2198.13
59660.3 49415.5 2160.92 59660.3 49415.5 2197.263
59760.3 49415.5 2160.244 59760.3 49415.5 2196.42
59860.3 49415.5 2159.576 59860.3 49415.5 2195.597
59960.3 49415.5 2158.963 59960.3 49415.5 2194.805
60060.3 49415.5 2158.442 60060.3 49415.5 2194.066
60160.3 49415.5 2158.071 60160.3 49415.5 2193.406
60260.3 49415.5 2157.933 60260.3 49415.5 2192.857
60360.3 49415.5 2158.151 60360.3 49415.5 2192.466
60460.3 49415.5 2158.867 60460.3 49415.5 2192.284
60560.3 49415.5 2160.051 60560.3 49415.5 2192.351
60660.3 49415.5 2160.468 60660.3 49415.5 2192.636
60760.3 49415.5 2159.472 60760.3 49415.5 2193.02
60860.3 49415.5 2158.543 60860.3 49415.5 2193.542
60960.3 49415.5 2157.769 60960.3 49415.5 2194.091
61060.3 49415.5 2157.069 61060.3 49415.5 2194.571
61160.3 49415.5 2156.359 61160.3 49415.5 2194.869
61260.3 49415.5 2155.586 61260.3 49415.5 2194.911
61360.3 49415.5 2154.746 61360.3 49415.5 2194.715
61460.3 49415.5 2153.929 61460.3 49415.5 2194.465
61560.3 49415.5 2153.066 61560.3 49415.5 2194.05
61660.3 49415.5 2152.237 61660.3 49415.5 2193.615
61760.3 49415.5 2151.46 61760.3 49415.5 2193.182
61860.3 49415.5 2150.743 61860.3 49415.5 2192.76
59260.3 49315.5 2163.237 59260.3 49315.5 2200.693
59360.3 49315.5 2162.155 59360.3 49315.5 2199.502
59460.3 49315.5 2161.256 59460.3 49315.5 2198.569
59560.3 49315.5 2160.214 59560.3 49315.5 2197.468
59660.3 49315.5 2159.226 59660.3 49315.5 2196.466
59760.3 49315.5 2158.576 59760.3 49315.5 2195.511
59860.3 49315.5 2157.702 59860.3 49315.5 2194.575
59960.3 49315.5 2156.854 59960.3 49315.5 2193.67
60060.3 49315.5 2156.096 60060.3 49315.5 2192.81
60160.3 49315.5 2155.385 60160.3 49315.5 2192.038
60260.3 49315.5 2154.813 60260.3 49315.5 2191.374
60360.3 49315.5 2154.485 60360.3 49315.5 2190.866
60460.3 49315.5 2154.558 60460.3 49315.5 2190.597
60560.3 49315.5 2155.084 60560.3 49315.5 2190.657
60660.3 49315.5 2155.66 60660.3 49315.5 2191.075
60760.3 49315.5 2155.812 60760.3 49315.5 2191.703
60860.3 49315.5 2155.738 60860.3 49315.5 2192.458
60960.3 49315.5 2155.457 60960.3 49315.5 2193.206
61060.3 49315.5 2155.209 61060.3 49315.5 2193.932
61160.3 49315.5 2154.84 61160.3 49315.5 2194.422
61260.3 49315.5 2154.283 61260.3 49315.5 2194.501
61360.3 49315.5 2153.628 61360.3 49315.5 2194.325
61460.3 49315.5 2152.859 61460.3 49315.5 2193.91
61560.3 49315.5 2152.091 61560.3 49315.5 2193.461
61660.3 49315.5 2151.355 61660.3 49315.5 2193.026
61760.3 49315.5 2150.669 61760.3 49315.5 2192.621
61860.3 49315.5 2150.042 61860.3 49315.5 2192.245
59260.3 49215.5 2162.212 59260.3 49215.5 2200.163
59360.3 49215.5 2161.021 59360.3 49215.5 2198.907
59460.3 49215.5 2160.056 59460.3 49215.5 2197.978
59560.3 49215.5 2158.899 59560.3 49215.5 2196.808
59660.3 49215.5 2157.771 59660.3 49215.5 2195.706
59760.3 49215.5 2156.667 59760.3 49215.5 2194.663
59860.3 49215.5 2155.921 59860.3 49215.5 2193.599
59960.3 49215.5 2154.839 59960.3 49215.5 2192.58
60060.3 49215.5 2153.755 60060.3 49215.5 2191.611
60160.3 49215.5 2152.674 60160.3 49215.5 2190.712
60260.3 49215.5 2151.635 60260.3 49215.5 2189.898
60360.3 49215.5 2150.613 60360.3 49215.5 2189.233
60460.3 49215.5 2149.832 60460.3 49215.5 2188.796
60560.3 49215.5 2149.964 60560.3 49215.5 2188.852
60660.3 49215.5 2150.979 60660.3 49215.5 2189.434
60760.3 49215.5 2151.98 60760.3 49215.5 2190.278
60860.3 49215.5 2152.669 60860.3 49215.5 2191.234
60960.3 49215.5 2153.107 60960.3 49215.5 2192.25
61060.3 49215.5 2153.302 61060.3 49215.5 2193.257
61160.3 49215.5 2153.344 61160.3 49215.5 2194.06
61260.3 49215.5 2153.019 61260.3 49215.5 2194.156
61360.3 49215.5 2152.396 61360.3 49215.5 2193.707
61460.3 49215.5 2151.721 61460.3 49215.5 2193.199
61560.3 49215.5 2151.049 61560.3 49215.5 2192.724
61660.3 49215.5 2150.406 61660.3 49215.5 2192.303
61760.3 49215.5 2149.81 61760.3 49215.5 2191.937
61860.3 49215.5 2149.275 61860.3 49215.5 2191.622
59260.3 49115.5 2161.233 59260.3 49115.5 2199.667
59360.3 49115.5 2160.176 59360.3 49115.5 2198.67
59460.3 49115.5 2158.901 59460.3 49115.5 2197.392
59560.3 49115.5 2157.638 59560.3 49115.5 2196.156
59660.3 49115.5 2156.385 59660.3 49115.5 2194.966
59760.3 49115.5 2155.137 59760.3 49115.5 2193.823
59860.3 49115.5 2154.25 59860.3 49115.5 2192.673
59960.3 49115.5 2152.96 59960.3 49115.5 2191.543
60060.3 49115.5 2151.631 60060.3 49115.5 2190.464
60160.3 49115.5 2150.246 60160.3 49115.5 2189.454
60260.3 49115.5 2148.778 60260.3 49115.5 2188.532
60360.3 49115.5 2147.172 60360.3 49115.5 2187.714
60460.3 49115.5 2145.39 60460.3 49115.5 2187.011
60560.3 49115.5 2144.95 60560.3 49115.5 2186.94
60660.3 49115.5 2147 60660.3 49115.5 2187.852
60760.3 49115.5 2148.655 60760.3 49115.5 2188.86
60860.3 49115.5 2149.863 60860.3 49115.5 2189.925
60960.3 49115.5 2150.733 60960.3 49115.5 2191.048
61060.3 49115.5 2151.404 61060.3 49115.5 2192.303
61160.3 49115.5 2151.852 61160.3 49115.5 2193.506
61260.3 49115.5 2151.705 61260.3 49115.5 2193.392
61360.3 49115.5 2151.282 61360.3 49115.5 2192.828
61460.3 49115.5 2150.802 61460.3 49115.5 2192.333
61560.3 49115.5 2150.286 61560.3 49115.5 2191.906
61660.3 49115.5 2149.751 61660.3 49115.5 2191.538
61760.3 49115.5 2149.211 61760.3 49115.5 2191.22
61860.3 49115.5 2148.679 61860.3 49115.5 2190.938
59260.3 49015.5 2160.316 59260.3 49015.5 2199.213
59360.3 49015.5 2159.167 59360.3 49015.5 2198.148
59460.3 49015.5 2157.813 59460.3 49015.5 2196.822
59560.3 49015.5 2156.458 59560.3 49015.5 2195.523
59660.3 49015.5 2155.099 59660.3 49015.5 2194.254
59760.3 49015.5 2153.731 59760.3 49015.5 2193.02
59860.3 49015.5 2152.348 59860.3 49015.5 2191.821
59960.3 49015.5 2151.286 59960.3 49015.5 2190.572
60060.3 49015.5 2149.786 60060.3 49015.5 2189.393
60160.3 49015.5 2148.228 60160.3 49015.5 2188.294
60260.3 49015.5 2146.597 60260.3 49015.5 2187.307
60360.3 49015.5 2144.887 60360.3 49015.5 2186.462
60460.3 49015.5 2143.234 60460.3 49015.5 2185.821
60560.3 49015.5 2142.956 60560.3 49015.5 2185.843
60660.3 49015.5 2144.677 60660.3 49015.5 2186.728
60760.3 49015.5 2146.352 60760.3 49015.5 2187.719
60860.3 49015.5 2147.701 60860.3 49015.5 2188.745
60960.3 49015.5 2148.727 60960.3 49015.5 2189.781
61060.3 49015.5 2149.474 61060.3 49015.5 2190.782
61160.3 49015.5 2149.918 61160.3 49015.5 2191.557
61260.3 49015.5 2150.108 61260.3 49015.5 2191.837
61360.3 49015.5 2149.915 61360.3 49015.5 2191.462
61460.3 49015.5 2149.566 61460.3 49015.5 2191.096
61560.3 49015.5 2149.149 61560.3 49015.5 2190.761
61660.3 49015.5 2148.691 61660.3 49015.5 2190.471
61760.3 49015.5 2148.211 61760.3 49015.5 2190.219
61860.3 49015.5 2147.725 61860.3 49015.5 2189.988
59260.3 48915.5 2159.642 59260.3 48915.5 2199.031
59360.3 48915.5 2158.23 59360.3 48915.5 2197.651
59460.3 48915.5 2156.812 59460.3 48915.5 2196.28
59560.3 48915.5 2155.382 59560.3 48915.5 2194.923
59660.3 48915.5 2153.938 59660.3 48915.5 2193.583
59760.3 48915.5 2152.477 59760.3 48915.5 2192.266
59860.3 48915.5 2150.998 59860.3 48915.5 2190.975
59960.3 48915.5 2149.496 59960.3 48915.5 2189.719
60060.3 48915.5 2148.26 60060.3 48915.5 2188.404
60160.3 48915.5 2146.651 60160.3 48915.5 2187.233
60260.3 48915.5 2145.063 60260.3 48915.5 2186.221
60360.3 48915.5 2143.595 60360.3 48915.5 2185.432
60460.3 48915.5 2142.627 60460.3 48915.5 2185.096
60560.3 48915.5 2142.457 60560.3 48915.5 2185.085
60660.3 48915.5 2143.264 60660.3 48915.5 2185.561
60760.3 48915.5 2144.792 60760.3 48915.5 2186.562
60860.3 48915.5 2145.99 60860.3 48915.5 2187.418
60960.3 48915.5 2146.981 60960.3 48915.5 2188.266
61060.3 48915.5 2147.719 61060.3 48915.5 2189.027
61160.3 48915.5 2148.167 61160.3 48915.5 2189.566
61260.3 48915.5 2148.585 61260.3 48915.5 2190.014
61360.3 48915.5 2148.485 61360.3 48915.5 2189.927
61460.3 48915.5 2148.242 61460.3 48915.5 2189.74
61560.3 48915.5 2148.006 61560.3 48915.5 2189.437
61660.3 48915.5 2147.619 61660.3 48915.5 2189.263
61760.3 48915.5 2147.193 61760.3 48915.5 2189.105
61860.3 48915.5 2146.746 61860.3 48915.5 2188.946
59260.3 48815.5 2158.837 59260.3 48815.5 2198.598
59360.3 48815.5 2157.386 59360.3 48815.5 2197.189
59460.3 48815.5 2155.916 59460.3 48815.5 2195.778
59560.3 48815.5 2154.425 59560.3 48815.5 2194.368
59660.3 48815.5 2152.916 59660.3 48815.5 2192.965
59760.3 48815.5 2151.39 59760.3 48815.5 2191.575
59860.3 48815.5 2149.849 59860.3 48815.5 2190.202
59960.3 48815.5 2148.298 59960.3 48815.5 2188.858
60060.3 48815.5 2146.751 60060.3 48815.5 2187.557
60160.3 48815.5 2145.439 60160.3 48815.5 2186.251
60260.3 48815.5 2143.963 60260.3 48815.5 2185.204
60360.3 48815.5 2142.749 60360.3 48815.5 2184.465
60460.3 48815.5 2142.126 60460.3 48815.5 2184.241
60560.3 48815.5 2142.018 60560.3 48815.5 2184.249
60660.3 48815.5 2142.512 60660.3 48815.5 2184.585
60760.3 48815.5 2143.362 60760.3 48815.5 2185.134
60860.3 48815.5 2144.749 60860.3 48815.5 2186.13
60960.3 48815.5 2145.6 60960.3 48815.5 2186.754
61060.3 48815.5 2146.259 61060.3 48815.5 2187.291
61160.3 48815.5 2146.686 61160.3 48815.5 2187.674
61260.3 48815.5 2147.219 61260.3 48815.5 2188.184
61360.3 48815.5 2147.198 61360.3 48815.5 2188.208
61460.3 48815.5 2147.039 61460.3 48815.5 2188.172
61560.3 48815.5 2146.785 61560.3 48815.5 2188.122
61660.3 48815.5 2146.568 61660.3 48815.5 2187.968
61760.3 48815.5 2146.185 61760.3 48815.5 2187.928
61860.3 48815.5 2145.771 61860.3 48815.5 2187.865
59260.3 48715.5 2158.199 59260.3 48715.5 2198.227
59360.3 48715.5 2156.654 59360.3 48715.5 2196.774
59460.3 48715.5 2155.136 59460.3 48715.5 2195.325
59560.3 48715.5 2153.598 59560.3 48715.5 2193.869
59660.3 48715.5 2152.042 59660.3 48715.5 2192.413
59760.3 48715.5 2150.473 59760.3 48715.5 2190.96
59860.3 48715.5 2148.898 59860.3 48715.5 2189.519
59960.3 48715.5 2147.33 59960.3 48715.5 2188.097
60060.3 48715.5 2145.789 60060.3 48715.5 2186.709
60160.3 48715.5 2144.318 60160.3 48715.5 2185.386
60260.3 48715.5 2143.101 60260.3 48715.5 2184.205
60360.3 48715.5 2142.171 60360.3 48715.5 2183.614
60460.3 48715.5 2141.663 60460.3 48715.5 2183.356
60560.3 48715.5 2141.611 60560.3 48715.5 2183.393
60660.3 48715.5 2141.963 60660.3 48715.5 2183.637
60760.3 48715.5 2142.589 60760.3 48715.5 2184.021
60860.3 48715.5 2143.329 60860.3 48715.5 2184.471
60960.3 48715.5 2144.554 60960.3 48715.5 2185.322
61060.3 48715.5 2145.104 61060.3 48715.5 2185.651
61160.3 48715.5 2145.476 61160.3 48715.5 2185.887
61260.3 48715.5 2146.033 61260.3 48715.5 2186.379
61360.3 48715.5 2146.039 61360.3 48715.5 2186.461
61460.3 48715.5 2145.926 61460.3 48715.5 2186.552
61560.3 48715.5 2145.724 61560.3 48715.5 2186.66
61660.3 48715.5 2145.452 61660.3 48715.5 2186.765
61760.3 48715.5 2145.128 61760.3 48715.5 2186.837
61860.3 48715.5 2144.828 61860.3 48715.5 2186.794
59260.3 48615.5 2157.626 59260.3 48615.5 2197.895
59360.3 48615.5 2156.099 59360.3 48615.5 2196.426
59460.3 48615.5 2154.55 59460.3 48615.5 2194.943
59560.3 48615.5 2152.976 59560.3 48615.5 2193.448
59660.3 48615.5 2151.384 59660.3 48615.5 2191.945
59760.3 48615.5 2149.785 59760.3 48615.5 2190.443
59860.3 48615.5 2148.196 59860.3 48615.5 2188.95
59960.3 48615.5 2146.634 59960.3 48615.5 2187.476
60060.3 48615.5 2145.123 60060.3 48615.5 2186.028
60160.3 48615.5 2143.622 60160.3 48615.5 2184.596
60260.3 48615.5 2142.335 60260.3 48615.5 2183.251
60360.3 48615.5 2141.588 60360.3 48615.5 2182.664
60460.3 48615.5 2141.28 60460.3 48615.5 2182.572
60560.3 48615.5 2141.274 60560.3 48615.5 2182.612
60660.3 48615.5 2141.551 60660.3 48615.5 2182.765
60760.3 48615.5 2142.036 60760.3 48615.5 2182.999
60860.3 48615.5 2142.627 60860.3 48615.5 2183.266
60960.3 48615.5 2143.221 60960.3 48615.5 2183.521
61060.3 48615.5 2144.23 61060.3 48615.5 2184.134
61160.3 48615.5 2144.522 61160.3 48615.5 2184.205
61260.3 48615.5 2144.667 61260.3 48615.5 2184.277
61360.3 48615.5 2145.022 61360.3 48615.5 2184.709
61460.3 48615.5 2144.927 61460.3 48615.5 2184.925
61560.3 48615.5 2144.757 61560.3 48615.5 2185.211
61660.3 48615.5 2144.522 61660.3 48615.5 2185.499
61760.3 48615.5 2144.23 61760.3 48615.5 2185.727
61860.3 48615.5 2143.893 61860.3 48615.5 2185.859
59260.3 48515.5 2157.167 59260.3 48515.5 2197.617
59360.3 48515.5 2155.584 59360.3 48515.5 2196.116
59460.3 48515.5 2153.997 59460.3 48515.5 2194.603
59560.3 48515.5 2152.4 59560.3 48515.5 2193.077
59660.3 48515.5 2150.799 59660.3 48515.5 2191.543
59760.3 48515.5 2149.203 59760.3 48515.5 2190.01
59860.3 48515.5 2147.628 59860.3 48515.5 2188.489
59960.3 48515.5 2146.092 59960.3 48515.5 2186.99
60060.3 48515.5 2144.621 60060.3 48515.5 2185.527
60160.3 48515.5 2143.249 60160.3 48515.5 2184.12
60260.3 48515.5 2142.054 60260.3 48515.5 2182.951
60360.3 48515.5 2141.336 60360.3 48515.5 2182.091
60460.3 48515.5 2141.282 60460.3 48515.5 2181.945
60560.3 48515.5 2141.04 60560.3 48515.5 2181.986
60660.3 48515.5 2141.259 60660.3 48515.5 2182.015
60760.3 48515.5 2141.653 60760.3 48515.5 2182.101
60860.3 48515.5 2142.142 60860.3 48515.5 2182.204
60960.3 48515.5 2142.642 60960.3 48515.5 2182.282
61060.3 48515.5 2143.082 61060.3 48515.5 2182.312
61160.3 48515.5 2143.808 61160.3 48515.5 2182.638
61260.3 48515.5 2143.884 61260.3 48515.5 2182.572
61360.3 48515.5 2144.148 61360.3 48515.5 2182.954
61460.3 48515.5 2144.054 61460.3 48515.5 2183.323
61560.3 48515.5 2143.906 61560.3 48515.5 2183.834
61660.3 48515.5 2143.698 61660.3 48515.5 2184.341
61760.3 48515.5 2143.439 61760.3 48515.5 2184.751
61860.3 48515.5 2143.138 61860.3 48515.5 2185.025
59260.3 48415.5 2156.683 59260.3 48415.5 2197.247
59360.3 48415.5 2155.165 59360.3 48415.5 2195.856
59460.3 48415.5 2153.546 59460.3 48415.5 2194.321
59560.3 48415.5 2151.93 59560.3 48415.5 2192.771
59660.3 48415.5 2150.323 59660.3 48415.5 2191.213
59760.3 48415.5 2148.733 59760.3 48415.5 2189.657
59860.3 48415.5 2147.176 59860.3 48415.5 2188.121
59960.3 48415.5 2145.673 59960.3 48415.5 2186.621
60060.3 48415.5 2144.314 60060.3 48415.5 2185.537
60160.3 48415.5 2142.994 60160.3 48415.5 2184.114
60260.3 48415.5 2141.893 60260.3 48415.5 2182.871
60360.3 48415.5 2141.274 60360.3 48415.5 2181.965
60460.3 48415.5 2140.837 60460.3 48415.5 2181.31
60560.3 48415.5 2141.14 60560.3 48415.5 2181.315
60660.3 48415.5 2141.366 60660.3 48415.5 2181.161
60760.3 48415.5 2141.729 60760.3 48415.5 2181.08
60860.3 48415.5 2141.84 60860.3 48415.5 2181.311
60960.3 48415.5 2142.283 60960.3 48415.5 2181.242
61060.3 48415.5 2142.666 61060.3 48415.5 2181.104
61160.3 48415.5 2142.934 61160.3 48415.5 2180.897
61260.3 48415.5 2143.301 61260.3 48415.5 2180.927
61360.3 48415.5 2143.413 61360.3 48415.5 2181.187
61460.3 48415.5 2143.317 61460.3 48415.5 2181.804
61560.3 48415.5 2143.186 61560.3 48415.5 2182.617
61660.3 48415.5 2143.082 61660.3 48415.5 2183.216
61760.3 48415.5 2142.801 61760.3 48415.5 2183.799
61860.3 48415.5 2142.504 61860.3 48415.5 2184.218
59260.3 48315.5 2156.357 59260.3 48315.5 2197.037
59360.3 48315.5 2154.828 59360.3 48315.5 2195.642
59460.3 48315.5 2153.186 59460.3 48315.5 2194.094
59560.3 48315.5 2151.558 59560.3 48315.5 2192.526
59660.3 48315.5 2149.948 59660.3 48315.5 2190.947
59760.3 48315.5 2148.367 59760.3 48315.5 2189.375
59860.3 48315.5 2146.829 59860.3 48315.5 2187.832
59960.3 48315.5 2145.424 59960.3 48315.5 2186.775
60060.3 48315.5 2144.02 60060.3 48315.5 2185.322
60160.3 48315.5 2142.767 60160.3 48315.5 2183.969
60260.3 48315.5 2141.734 60260.3 48315.5 2182.779
60360.3 48315.5 2141.199 60360.3 48315.5 2181.855
60460.3 48315.5 2140.762 60460.3 48315.5 2181.096
60560.3 48315.5 2140.605 60560.3 48315.5 2180.524
60660.3 48315.5 2141.185 60660.3 48315.5 2180.612
60760.3 48315.5 2141.532 60760.3 48315.5 2180.418
60860.3 48315.5 2141.94 60860.3 48315.5 2180.266
60960.3 48315.5 2142.335 60960.3 48315.5 2180.109
61060.3 48315.5 2142.647 61060.3 48315.5 2179.898
61160.3 48315.5 2142.819 61160.3 48315.5 2179.592
61260.3 48315.5 2142.76 61260.3 48315.5 2179.313
61360.3 48315.5 2142.814 61360.3 48315.5 2179.42
61460.3 48315.5 2142.799 61460.3 48315.5 2180.449
61560.3 48315.5 2142.643 61560.3 48315.5 2181.533
61660.3 48315.5 2142.418 61660.3 48315.5 2182.459
61760.3 48315.5 2142.161 61760.3 48315.5 2183.185
61860.3 48315.5 2141.912 61860.3 48315.5 2183.701
59260.3 48215.5 2156.11 59260.3 48215.5 2196.863
59360.3 48215.5 2154.474 59360.3 48215.5 2195.356
59460.3 48215.5 2152.909 59460.3 48215.5 2193.917
59560.3 48215.5 2151.274 59560.3 48215.5 2192.337
59660.3 48215.5 2149.668 59660.3 48215.5 2190.737
59760.3 48215.5 2148.098 59760.3 48215.5 2189.149
59860.3 48215.5 2146.648 59860.3 48215.5 2188.049
59960.3 48215.5 2145.174 59960.3 48215.5 2186.574
60060.3 48215.5 2143.8 60060.3 48215.5 2185.159
60160.3 48215.5 2142.577 60160.3 48215.5 2183.841
60260.3 48215.5 2141.57 60260.3 48215.5 2182.664
60360.3 48215.5 2141.082 60360.3 48215.5 2181.721
60460.3 48215.5 2140.675 60460.3 48215.5 2180.898
60560.3 48215.5 2140.57 60560.3 48215.5 2180.26
60660.3 48215.5 2140.702 60660.3 48215.5 2179.778
60760.3 48215.5 2140.993 60760.3 48215.5 2179.424
60860.3 48215.5 2141.882 60860.3 48215.5 2179.68
60960.3 48215.5 2142.295 60960.3 48215.5 2179.502
61060.3 48215.5 2142.615 61060.3 48215.5 2179.297
61160.3 48215.5 2142.774 61160.3 48215.5 2179.009
61260.3 48215.5 2142.731 61260.3 48215.5 2178.425
61360.3 48215.5 2142.594 61360.3 48215.5 2178.723
61460.3 48215.5 2142.409 61460.3 48215.5 2179.861
61560.3 48215.5 2142.188 61560.3 48215.5 2181.025
61660.3 48215.5 2141.911 61660.3 48215.5 2182.044
61760.3 48215.5 2141.633 61760.3 48215.5 2182.849
61860.3 48215.5 2141.404 61860.3 48215.5 2183.402
59260.3 48115.5 2155.938 59260.3 48115.5 2196.71
59360.3 48115.5 2154.297 59360.3 48115.5 2195.227
59460.3 48115.5 2152.708 59460.3 48115.5 2193.786
59560.3 48115.5 2151.074 59560.3 48115.5 2192.196
59660.3 48115.5 2149.545 59660.3 48115.5 2190.858
59760.3 48115.5 2147.994 59760.3 48115.5 2189.359
59860.3 48115.5 2146.479 59860.3 48115.5 2187.872
59960.3 48115.5 2145.021 59960.3 48115.5 2186.418
60060.3 48115.5 2143.654 60060.3 48115.5 2185.021
60160.3 48115.5 2142.426 60160.3 48115.5 2183.713
60260.3 48115.5 2141.407 60260.3 48115.5 2182.528
60360.3 48115.5 2140.914 60360.3 48115.5 2181.553
60460.3 48115.5 2140.553 60460.3 48115.5 2180.686
60560.3 48115.5 2140.543 60560.3 48115.5 2180.003
60660.3 48115.5 2140.787 60660.3 48115.5 2179.492
60760.3 48115.5 2141.185 60760.3 48115.5 2179.134
60860.3 48115.5 2141.661 60860.3 48115.5 2178.913
60960.3 48115.5 2142.452 60960.3 48115.5 2179.106
61060.3 48115.5 2142.827 61060.3 48115.5 2178.42
61160.3 48115.5 2143.019 61160.3 48115.5 2178.454
61260.3 48115.5 2142.955 61260.3 48115.5 2178.54
61360.3 48115.5 2142.769 61360.3 48115.5 2179.077
61460.3 48115.5 2142.419 61460.3 48115.5 2179.881
61560.3 48115.5 2141.969 61560.3 48115.5 2180.938
61660.3 48115.5 2141.565 61660.3 48115.5 2181.954
61760.3 48115.5 2141.208 61760.3 48115.5 2182.791
61860.3 48115.5 2140.796 61860.3 48115.5 2183.304
59260.3 48015.5 2155.784 59260.3 48015.5 2196.504
59360.3 48015.5 2154.157 59360.3 48015.5 2195.045
59460.3 48015.5 2152.553 59460.3 48015.5 2193.619
59560.3 48015.5 2150.991 59560.3 48015.5 2192.185
59660.3 48015.5 2149.448 59660.3 48015.5 2190.701
59760.3 48015.5 2147.924 59760.3 48015.5 2189.215
59860.3 48015.5 2146.429 59860.3 48015.5 2187.741
59960.3 48015.5 2144.982 59960.3 48015.5 2186.295
60060.3 48015.5 2143.607 60060.3 48015.5 2184.902
60160.3 48015.5 2142.343 60160.3 48015.5 2183.584
60260.3 48015.5 2141.264 60260.3 48015.5 2182.373
60360.3 48015.5 2140.499 60360.3 48015.5 2181.295
60460.3 48015.5 2140.396 60460.3 48015.5 2180.441
60560.3 48015.5 2140.54 60560.3 48015.5 2179.726
60660.3 48015.5 2140.941 60660.3 48015.5 2179.197
60760.3 48015.5 2141.466 60760.3 48015.5 2178.844
60860.3 48015.5 2142.041 60860.3 48015.5 2177.928
60960.3 48015.5 2142.615 60960.3 48015.5 2177.93
61060.3 48015.5 2143.252 61060.3 48015.5 2178.255
61160.3 48015.5 2143.541 61160.3 48015.5 2178.536
61260.3 48015.5 2143.532 61260.3 48015.5 2178.885
61360.3 48015.5 2143.096 61360.3 48015.5 2179.368
61460.3 48015.5 2142.59 61460.3 48015.5 2180.061
61560.3 48015.5 2142.032 61560.3 48015.5 2181.007
61660.3 48015.5 2141.386 61660.3 48015.5 2182.061
61760.3 48015.5 2140.867 61760.3 48015.5 2182.971
61860.3 48015.5 2140.52 61860.3 48015.5 2183.388
59260.3 47915.5 2155.71 59260.3 47915.5 2196.302
59360.3 47915.5 2154.083 59360.3 47915.5 2194.812
59460.3 47915.5 2152.542 59460.3 47915.5 2193.311
59560.3 47915.5 2151.075 59560.3 47915.5 2191.919
59660.3 47915.5 2149.507 59660.3 47915.5 2190.36
59760.3 47915.5 2147.988 59760.3 47915.5 2188.813
59860.3 47915.5 2146.51 59860.3 47915.5 2187.313
59960.3 47915.5 2145.082 59960.3 47915.5 2186.206
60060.3 47915.5 2143.704 60060.3 47915.5 2184.802
60160.3 47915.5 2142.396 60160.3 47915.5 2183.461
60260.3 47915.5 2141.206 60260.3 47915.5 2182.208
60360.3 47915.5 2140.303 60360.3 47915.5 2181.073
60460.3 47915.5 2140.234 60460.3 47915.5 2180.156
60560.3 47915.5 2140.638 60560.3 47915.5 2179.415
60660.3 47915.5 2141.227 60660.3 47915.5 2178.267
60760.3 47915.5 2141.871 60760.3 47915.5 2177.798
60860.3 47915.5 2142.521 60860.3 47915.5 2177.588
60960.3 47915.5 2143.149 60960.3 47915.5 2177.65
61060.3 47915.5 2143.73 61060.3 47915.5 2177.99
61160.3 47915.5 2144.24 61160.3 47915.5 2178.619
61260.3 47915.5 2144.066 61260.3 47915.5 2178.95
61360.3 47915.5 2143.532 61360.3 47915.5 2179.491
61460.3 47915.5 2143.072 61460.3 47915.5 2180.305
61560.3 47915.5 2142.375 61560.3 47915.5 2181.185
61660.3 47915.5 2141.583 61660.3 47915.5 2182.18
61760.3 47915.5 2140.711 61760.3 47915.5 2183.222
61860.3 47915.5 2140.445 61860.3 47915.5 2183.395
59260.3 47815.5 2155.686 59260.3 47815.5 2196.088
59360.3 47815.5 2154.197 59360.3 47815.5 2194.584
59460.3 47815.5 2152.57 59460.3 47815.5 2193.016
59560.3 47815.5 2151.243 59560.3 47815.5 2191.761
59660.3 47815.5 2149.68 59660.3 47815.5 2190.209
59760.3 47815.5 2148.178 59760.3 47815.5 2188.66
59860.3 47815.5 2146.729 59860.3 47815.5 2187.155
59960.3 47815.5 2145.329 59960.3 47815.5 2185.708
60060.3 47815.5 2143.981 60060.3 47815.5 2184.33
60160.3 47815.5 2142.685 60160.3 47815.5 2183.039
60260.3 47815.5 2141.44 60260.3 47815.5 2181.853
60360.3 47815.5 2140.243 60360.3 47815.5 2180.791
60460.3 47815.5 2140.524 60460.3 47815.5 2179.853
60560.3 47815.5 2141.451 60560.3 47815.5 2179.062
60660.3 47815.5 2142.319 60660.3 47815.5 2178.443
60760.3 47815.5 2143.104 60760.3 47815.5 2178.016
60860.3 47815.5 2143.781 60860.3 47815.5 2177.799
60960.3 47815.5 2144.328 60960.3 47815.5 2177.8
61060.3 47815.5 2144.719 61060.3 47815.5 2178.021
61160.3 47815.5 2144.931 61160.3 47815.5 2178.459
61260.3 47815.5 2144.64 61260.3 47815.5 2178.797
61360.3 47815.5 2144.173 61360.3 47815.5 2179.528
61460.3 47815.5 2143.548 61460.3 47815.5 2180.238
61560.3 47815.5 2142.813 61560.3 47815.5 2181.082
61660.3 47815.5 2142.023 61660.3 47815.5 2181.978
61760.3 47815.5 2141.162 61760.3 47815.5 2182.591
61860.3 47815.5 2140.836 61860.3 47815.5 2183.051
59260.3 47715.5 2155.898 59260.3 47715.5 2195.962
59360.3 47715.5 2154.262 59360.3 47715.5 2194.372
59460.3 47715.5 2153.056 59460.3 47715.5 2193.173
59560.3 47715.5 2151.456 59560.3 47715.5 2191.622
59660.3 47715.5 2149.925 59660.3 47715.5 2190.02
59760.3 47715.5 2148.463 59760.3 47715.5 2188.524
59860.3 47715.5 2147.064 59860.3 47715.5 2187.012
59960.3 47715.5 2145.729 59960.3 47715.5 2185.548
60060.3 47715.5 2144.46 60060.3 47715.5 2184.141
60160.3 47715.5 2143.265 60160.3 47715.5 2182.8
60260.3 47715.5 2142.177 60260.3 47715.5 2181.537
60360.3 47715.5 2141.425 60360.3 47715.5 2180.32
60460.3 47715.5 2141.66 60460.3 47715.5 2179.325
60560.3 47715.5 2142.353 60560.3 47715.5 2178.668
60660.3 47715.5 2143.163 60660.3 47715.5 2177.989
60760.3 47715.5 2143.93 60760.3 47715.5 2177.531
60860.3 47715.5 2144.597 60860.3 47715.5 2177.309
60960.3 47715.5 2145.124 60960.3 47715.5 2177.331
61060.3 47715.5 2145.474 61060.3 47715.5 2177.585
61160.3 47715.5 2145.633 61160.3 47715.5 2178.073
61260.3 47715.5 2145.243 61260.3 47715.5 2178.428
61360.3 47715.5 2144.783 61360.3 47715.5 2179.279
61460.3 47715.5 2144.15 61460.3 47715.5 2180.043
61560.3 47715.5 2143.412 61560.3 47715.5 2180.872
61660.3 47715.5 2142.336 61660.3 47715.5 2181.384
61760.3 47715.5 2141.692 61760.3 47715.5 2182.072
61860.3 47715.5 2141.24 61860.3 47715.5 2182.502
59260.3 47615.5 2155.99 59260.3 47615.5 2195.819
59360.3 47615.5 2154.375 59360.3 47615.5 2194.202
59460.3 47615.5 2153.251 59460.3 47615.5 2193.042
59560.3 47615.5 2151.698 59560.3 47615.5 2191.502
59660.3 47615.5 2150.219 59660.3 47615.5 2189.908
59760.3 47615.5 2148.818 59760.3 47615.5 2188.414
59860.3 47615.5 2147.495 59860.3 47615.5 2186.897
59960.3 47615.5 2146.254 59960.3 47615.5 2185.415
60060.3 47615.5 2145.108 60060.3 47615.5 2183.973
60160.3 47615.5 2144.118 60160.3 47615.5 2182.608
60260.3 47615.5 2143.276 60260.3 47615.5 2181.255
60360.3 47615.5 2142.785 60360.3 47615.5 2179.839
60460.3 47615.5 2142.805 60460.3 47615.5 2178.645
60560.3 47615.5 2143.601 60560.3 47615.5 2177.804
60660.3 47615.5 2144.258 60660.3 47615.5 2177.471
60760.3 47615.5 2144.944 60760.3 47615.5 2176.963
60860.3 47615.5 2145.557 60860.3 47615.5 2176.726
60960.3 47615.5 2146.042 60960.3 47615.5 2176.762
61060.3 47615.5 2146.425 61060.3 47615.5 2177.128
61160.3 47615.5 2146.473 61160.3 47615.5 2177.611
61260.3 47615.5 2145.986 61260.3 47615.5 2178.194
61360.3 47615.5 2145.504 61360.3 47615.5 2178.958
61460.3 47615.5 2144.847 61460.3 47615.5 2179.8
61560.3 47615.5 2143.701 61560.3 47615.5 2180.313
61660.3 47615.5 2142.893 61660.3 47615.5 2181.076
61760.3 47615.5 2142.19 61760.3 47615.5 2181.715
61860.3 47615.5 2141.642 61860.3 47615.5 2182.17
59260.3 47515.5 2156.115 59260.3 47515.5 2195.712
59360.3 47515.5 2154.524 59360.3 47515.5 2194.079
59460.3 47515.5 2153.456 59460.3 47515.5 2192.933
59560.3 47515.5 2151.958 59560.3 47515.5 2191.41
59660.3 47515.5 2150.544 59660.3 47515.5 2189.829
59760.3 47515.5 2149.218 59760.3 47515.5 2188.275
59860.3 47515.5 2147.987 59860.3 47515.5 2186.825
59960.3 47515.5 2146.858 59960.3 47515.5 2185.333
60060.3 47515.5 2145.816 60060.3 47515.5 2183.825
60160.3 47515.5 2144.949 60160.3 47515.5 2182.358
60260.3 47515.5 2144.32 60260.3 47515.5 2180.936
60360.3 47515.5 2144.017 60360.3 47515.5 2179.406
60460.3 47515.5 2144.093 60460.3 47515.5 2178.13
60560.3 47515.5 2144.901 60560.3 47515.5 2177.262
60660.3 47515.5 2145.453 60660.3 47515.5 2176.328
60760.3 47515.5 2146.055 60760.3 47515.5 2175.705
60860.3 47515.5 2146.602 60860.3 47515.5 2176.055
60960.3 47515.5 2147.038 60960.3 47515.5 2176.111
61060.3 47515.5 2147.385 61060.3 47515.5 2176.518
61160.3 47515.5 2147.415 61160.3 47515.5 2177.088
61260.3 47515.5 2146.853 61260.3 47515.5 2177.738
61360.3 47515.5 2146.316 61360.3 47515.5 2178.643
61460.3 47515.5 2145.24 61460.3 47515.5 2179.31
61560.3 47515.5 2144.302 61560.3 47515.5 2180.143
61660.3 47515.5 2143.409 61660.3 47515.5 2180.899
61760.3 47515.5 2142.626 61760.3 47515.5 2181.529
61860.3 47515.5 2141.993 61860.3 47515.5 2182.005
59260.3 47415.5 2156.267 59260.3 47415.5 2195.645
59360.3 47415.5 2154.701 59360.3 47415.5 2194.002
59460.3 47415.5 2153.658 59460.3 47415.5 2192.844
59560.3 47415.5 2152.22 59560.3 47415.5 2191.347
59660.3 47415.5 2150.88 59660.3 47415.5 2189.79
59760.3 47415.5 2149.639 59760.3 47415.5 2188.259
59860.3 47415.5 2148.505 59860.3 47415.5 2186.747
59960.3 47415.5 2147.362 59960.3 47415.5 2185.196
60060.3 47415.5 2146.447 60060.3 47415.5 2183.67
60160.3 47415.5 2145.722 60160.3 47415.5 2182.159
60260.3 47415.5 2145.244 60260.3 47415.5 2180.499
60360.3 47415.5 2145.069 60360.3 47415.5 2179.052
60460.3 47415.5 2145.22 60460.3 47415.5 2177.68
60560.3 47415.5 2145.655 60560.3 47415.5 2176.441
60660.3 47415.5 2146.613 60660.3 47415.5 2175.678
60760.3 47415.5 2147.165 60760.3 47415.5 2175
60860.3 47415.5 2147.639 60860.3 47415.5 2174.753
60960.3 47415.5 2148.102 60960.3 47415.5 2175.492
61060.3 47415.5 2148.354 61060.3 47415.5 2175.866
61160.3 47415.5 2148.406 61160.3 47415.5 2176.525
61260.3 47415.5 2147.812 61260.3 47415.5 2177.312
61360.3 47415.5 2147.176 61360.3 47415.5 2178.415
61460.3 47415.5 2145.906 61460.3 47415.5 2179.228
61560.3 47415.5 2144.84 61560.3 47415.5 2180.125
61660.3 47415.5 2143.838 61660.3 47415.5 2180.891
61760.3 47415.5 2142.966 61760.3 47415.5 2181.516
61860.3 47415.5 2142.259 61860.3 47415.5 2182.006
59260.3 47315.5 2156.436 59260.3 47315.5 2195.617
59360.3 47315.5 2154.895 59360.3 47315.5 2193.971
59460.3 47315.5 2153.845 59460.3 47315.5 2192.775
59560.3 47315.5 2152.474 59560.3 47315.5 2191.317
59660.3 47315.5 2151.213 59660.3 47315.5 2189.8
59760.3 47315.5 2150.06 59760.3 47315.5 2188.307
59860.3 47315.5 2148.809 59860.3 47315.5 2186.616
59960.3 47315.5 2147.828 59960.3 47315.5 2185.13
60060.3 47315.5 2147 60060.3 47315.5 2183.589
60160.3 47315.5 2146.37 60160.3 47315.5 2182.046
60260.3 47315.5 2145.986 60260.3 47315.5 2180.345
60360.3 47315.5 2145.893 60360.3 47315.5 2178.817
60460.3 47315.5 2146.114 60460.3 47315.5 2177.343
60560.3 47315.5 2146.625 60560.3 47315.5 2175.979
60660.3 47315.5 2147.632 60660.3 47315.5 2175.04
60760.3 47315.5 2148.178 60760.3 47315.5 2174.276
60860.3 47315.5 2148.614 60860.3 47315.5 2174.198
60960.3 47315.5 2148.906 60960.3 47315.5 2174.486
61060.3 47315.5 2149.195 61060.3 47315.5 2175.256
61160.3 47315.5 2149.372 61160.3 47315.5 2175.952
61260.3 47315.5 2148.81 61260.3 47315.5 2176.997
61360.3 47315.5 2147.694 61360.3 47315.5 2178.23
61460.3 47315.5 2146.478 61460.3 47315.5 2179.385
61560.3 47315.5 2145.254 61560.3 47315.5 2180.325
61660.3 47315.5 2144.127 61660.3 47315.5 2181.075
61760.3 47315.5 2143.169 61760.3 47315.5 2181.676
61860.3 47315.5 2142.408 61860.3 47315.5 2182.159
59260.3 47215.5 2156.618 59260.3 47215.5 2195.613
59360.3 47215.5 2155.096 59360.3 47215.5 2193.987
59460.3 47215.5 2154.008 59460.3 47215.5 2192.729
59560.3 47215.5 2152.714 59560.3 47215.5 2191.325
59660.3 47215.5 2151.355 59660.3 47215.5 2189.685
59760.3 47215.5 2150.209 59760.3 47215.5 2188.168
59860.3 47215.5 2149.157 59860.3 47215.5 2186.641
59960.3 47215.5 2148.224 59960.3 47215.5 2185.103
60060.3 47215.5 2147.443 60060.3 47215.5 2183.602
60160.3 47215.5 2146.856 60160.3 47215.5 2182.044
60260.3 47215.5 2146.506 60260.3 47215.5 2180.333
60360.3 47215.5 2146.436 60360.3 47215.5 2178.746
60460.3 47215.5 2146.68 60460.3 47215.5 2177.195
60560.3 47215.5 2147.254 60560.3 47215.5 2175.708
60660.3 47215.5 2148.118 60660.3 47215.5 2174.354
60760.3 47215.5 2149.02 60760.3 47215.5 2173.547
60860.3 47215.5 2149.178 60860.3 47215.5 2173.752
60960.3 47215.5 2149.305 60960.3 47215.5 2174.349
61060.3 47215.5 2149.628 61060.3 47215.5 2175.001
61160.3 47215.5 2150.105 61160.3 47215.5 2175.581
61260.3 47215.5 2149.537 61260.3 47215.5 2177.041
61360.3 47215.5 2148.269 61360.3 47215.5 2178.688
61460.3 47215.5 2146.869 61460.3 47215.5 2179.906
61560.3 47215.5 2145.469 61560.3 47215.5 2180.783
61660.3 47215.5 2144.215 61660.3 47215.5 2181.448
61760.3 47215.5 2143.19 61760.3 47215.5 2181.984
61860.3 47215.5 2142.414 61860.3 47215.5 2182.439
59260.3 47115.5 2156.809 59260.3 47115.5 2195.685
59360.3 47115.5 2155.297 59360.3 47115.5 2194.048
59460.3 47115.5 2154.149 59460.3 47115.5 2192.721
59560.3 47115.5 2152.79 59560.3 47115.5 2191.234
59660.3 47115.5 2151.603 59660.3 47115.5 2189.752
59760.3 47115.5 2150.486 59760.3 47115.5 2188.251
59860.3 47115.5 2149.455 59860.3 47115.5 2186.738
59960.3 47115.5 2148.537 59960.3 47115.5 2185.221
60060.3 47115.5 2147.763 60060.3 47115.5 2183.698
60160.3 47115.5 2147.167 60160.3 47115.5 2182.101
60260.3 47115.5 2146.788 60260.3 47115.5 2180.473
60360.3 47115.5 2146.664 60360.3 47115.5 2178.865
60460.3 47115.5 2146.833 60460.3 47115.5 2177.305
60560.3 47115.5 2147.121 60560.3 47115.5 2175.598
60660.3 47115.5 2148.073 60660.3 47115.5 2174.348
60760.3 47115.5 2149.16 60760.3 47115.5 2173.33
60860.3 47115.5 2149.036 60860.3 47115.5 2173.959
60960.3 47115.5 2149.094 60960.3 47115.5 2174.821
61060.3 47115.5 2149.434 61060.3 47115.5 2175.758
61160.3 47115.5 2149.82 61160.3 47115.5 2176.847
61260.3 47115.5 2149.649 61260.3 47115.5 2178.362
61360.3 47115.5 2148.753 61360.3 47115.5 2179.893
61460.3 47115.5 2147.33 61460.3 47115.5 2180.919
61560.3 47115.5 2145.773 61560.3 47115.5 2181.578
61660.3 47115.5 2144.394 61660.3 47115.5 2182.073
61760.3 47115.5 2143.312 61760.3 47115.5 2182.499
61860.3 47115.5 2142.525 61860.3 47115.5 2182.891
59260.3 47015.5 2157.022 59260.3 47015.5 2195.811
59360.3 47015.5 2155.49 59360.3 47015.5 2194.146
59460.3 47015.5 2154.239 59460.3 47015.5 2192.727
59560.3 47015.5 2153.028 59560.3 47015.5 2191.367
59660.3 47015.5 2151.577 59660.3 47015.5 2189.62
59760.3 47015.5 2150.404 59760.3 47015.5 2188.065
59860.3 47015.5 2149.325 59860.3 47015.5 2186.518
59960.3 47015.5 2148.364 59960.3 47015.5 2184.993
60060.3 47015.5 2147.547 60060.3 47015.5 2183.502
60160.3 47015.5 2146.903 60160.3 47015.5 2181.978
60260.3 47015.5 2146.458 60260.3 47015.5 2180.415
60360.3 47015.5 2146.242 60360.3 47015.5 2178.924
60460.3 47015.5 2146.277 60460.3 47015.5 2177.523
60560.3 47015.5 2146.573 60560.3 47015.5 2176.247
60660.3 47015.5 2147.077 60660.3 47015.5 2175.198
60760.3 47015.5 2147.544 60760.3 47015.5 2174.712
60860.3 47015.5 2147.859 60860.3 47015.5 2175.004
60960.3 47015.5 2148.043 60960.3 47015.5 2175.811
61060.3 47015.5 2148.474 61060.3 47015.5 2176.935
61160.3 47015.5 2149.039 61160.3 47015.5 2178.328
61260.3 47015.5 2149.368 61260.3 47015.5 2180.11
61360.3 47015.5 2148.812 61360.3 47015.5 2181.559
61460.3 47015.5 2147.084 61460.3 47015.5 2182.049
61560.3 47015.5 2145.27 61560.3 47015.5 2182.315
61660.3 47015.5 2143.914 61660.3 47015.5 2182.804
61760.3 47015.5 2142.988 61760.3 47015.5 2183.265
61860.3 47015.5 2142.418 61860.3 47015.5 2183.744
59260.3 46915.5 2157.194 59260.3 46915.5 2195.921
59360.3 46915.5 2155.767 59360.3 46915.5 2194.379
59460.3 46915.5 2154.454 59460.3 46915.5 2192.917
59560.3 46915.5 2153.121 59560.3 46915.5 2191.418
59660.3 46915.5 2151.85 59660.3 46915.5 2189.852
59760.3 46915.5 2150.651 59760.3 46915.5 2188.326
59860.3 46915.5 2149.539 59860.3 46915.5 2186.789
59960.3 46915.5 2148.533 59960.3 46915.5 2185.27
60060.3 46915.5 2147.653 60060.3 46915.5 2183.772
60160.3 46915.5 2146.917 60160.3 46915.5 2182.239
60260.3 46915.5 2146.342 60260.3 46915.5 2180.751
60360.3 46915.5 2145.936 60360.3 46915.5 2179.375
60460.3 46915.5 2145.704 60460.3 46915.5 2178.108
60560.3 46915.5 2145.629 60560.3 46915.5 2177.028
60660.3 46915.5 2145.743 60660.3 46915.5 2176.325
60760.3 46915.5 2145.772 60760.3 46915.5 2175.97
60860.3 46915.5 2146.137 60860.3 46915.5 2176.206
60960.3 46915.5 2146.428 60960.3 46915.5 2176.899
61060.3 46915.5 2147.012 61060.3 46915.5 2178.026
61160.3 46915.5 2147.743 61160.3 46915.5 2179.538
61260.3 46915.5 2148.446 61260.3 46915.5 2181.42
61360.3 46915.5 2148.357 61360.3 46915.5 2182.986
61460.3 46915.5 2146.146 61460.3 46915.5 2182.846
61560.3 46915.5 2144.204 61560.3 46915.5 2182.895
61660.3 46915.5 2142.918 61660.3 46915.5 2183.208
61760.3 46915.5 2142.3 61760.3 46915.5 2183.725
61860.3 46915.5 2141.984 61860.3 46915.5 2184.445
59260.3 46815.5 2157.608 59260.3 46815.5 2196.273
59360.3 46815.5 2156.064 59360.3 46815.5 2194.634
59460.3 46815.5 2154.596 59460.3 46815.5 2193.045
59560.3 46815.5 2153.45 59560.3 46815.5 2191.734
59660.3 46815.5 2152.133 59660.3 46815.5 2190.177
59760.3 46815.5 2150.889 59760.3 46815.5 2188.622
59860.3 46815.5 2149.727 59860.3 46815.5 2187.086
59960.3 46815.5 2148.659 59960.3 46815.5 2185.578
60060.3 46815.5 2147.698 60060.3 46815.5 2184.102
60160.3 46815.5 2146.852 60160.3 46815.5 2182.594
60260.3 46815.5 2146.125 60260.3 46815.5 2181.196
60360.3 46815.5 2145.513 60360.3 46815.5 2179.898
60460.3 46815.5 2145 60460.3 46815.5 2178.755
60560.3 46815.5 2144.557 60560.3 46815.5 2177.862
60660.3 46815.5 2144.254 60660.3 46815.5 2177.332
60760.3 46815.5 2143.901 60760.3 46815.5 2177.061
60860.3 46815.5 2144.082 60860.3 46815.5 2177.275
60960.3 46815.5 2144.418 60960.3 46815.5 2177.858
61060.3 46815.5 2145.196 61060.3 46815.5 2178.86
61160.3 46815.5 2146.029 61160.3 46815.5 2180.16
61260.3 46815.5 2146.352 61260.3 46815.5 2181.591
61360.3 46815.5 2145.962 61360.3 46815.5 2182.589
61460.3 46815.5 2144.398 61460.3 46815.5 2182.84
61560.3 46815.5 2142.531 61560.3 46815.5 2183.001
61660.3 46815.5 2141.528 61660.3 46815.5 2183.418
61760.3 46815.5 2141.452 61760.3 46815.5 2184.276
61860.3 46815.5 2141.69 61860.3 46815.5 2185.023
/
ZCORN
2164.29 2163.321 2163.321 2162.378 2162.378 2161.557 2161.557 2160.92
2160.92 2160.244 2160.244 2159.576 2159.576 2158.963 2158.963 2158.442
2158.442 2158.071 2158.071 2157.933 2157.933 2158.151 2158.151 2158.867
2158.867 2160.051 2160.051 2160.468 2160.468 2159.472 2159.472 2158.543
2158.543 2157.769 2157.769 2157.069 2157.069 2156.359 2156.359 2155.586
2155.586 2154.746 2154.746 2153.929 2153.929 2153.066 2153.066 2152.237
2152.237 2151.46 2151.46 2150.743 2163.237 2162.155 2162.155 2161.256
2161.256 2160.214 2160.214 2159.226 2159.226 2158.576 2158.576 2157.702
2157.702 2156.854 2156.854 2156.096 2156.096 2155.385 2155.385 2154.813
2154.813 2154.485 2154.485 2154.558 2154.558 2155.084 2155.084 2155.66
2155.66 2155.812 2155.812 2155.738 2155.738 2155.457 2155.457 2155.209
2155.209 2154.84 2154.84 2154.283 2154.283 2153.628 2153.628 2152.859
2152.859 2152.091 2152.091 2151.355 2151.355 2150.669 2150.669 2150.042
2163.237 2162.155 2162.155 2161.256 2161.256 2160.214 2160.214 2159.226
2159.226 2158.576 2158.576 2157.702 2157.702 2156.854 2156.854 2156.096
2156.096 2155.385 2155.385 2154.813 2154.813 2154.485 2154.485 2154.558
2154.558 2155.084 2155.084 2155.66 2155.66 2155.812 2155.812 2155.738
2155.738 2155.457 2155.457 2155.209 2155.209 2154.84 2154.84 2154.283
2154.283 2153.628 2153.628 2152.859 2152.859 2152.091 2152.091 2151.355
2151.355 2150.669 2150.669 2150.042 2162.212 2161.021 2161.021 2160.056
2160.056 2158.899 2158.899 2157.771 2157.771 2156.667 2156.667 2155.921
2155.921 2154.839 2154.839 2153.755 2153.755 2152.674 2152.674 2151.635
2151.635 2150.613 2150.613 2149.832 2149.832 2149.964 2149.964 2150.979
2150.979 2151.98 2151.98 2152.669 2152.669 2153.107 2153.107 2153.302
2153.302 2153.344 2153.344 2153.019 2153.019 2152.396 2152.396 2151.721
2151.721 2151.049 2151.049 2150.406 2150.406 2149.81 2149.81 2149.275
2162.212 2161.021 2161.021 2160.056 2160.056 2158.899 2158.899 2157.771
2157.771 2156.667 2156.667 2155.921 2155.921 2154.839 2154.839 2153.755
2153.755 2152.674 2152.674 2151.635 2151.635 2150.613 2150.613 2149.832
2149.832 2149.964 2149.964 2150.979 2150.979 2151.98 2151.98 2152.669
2152.669 2153.107 2153.107 2153.302 2153.302 2153.344 2153.344 2153.019
2153.019 2152.396 2152.396 2151.721 2151.721 2151.049 2151.049 2150.406
2150.406 2149.81 2149.81 2149.275 2161.233 2160.176 2160.176 2158.901
2158.901 2157.638 2157.638 2156.385 2156.385 2155.137 2155.137 2154.25
2154.25 2152.96 2152.96 2151.631 2151.631 2150.246 2150.246 2148.778
2148.778 2147.172 2147.172 2145.39 2145.39 2144.95 2144.95 2147
2147 2148.655 2148.655 2149.863 2149.863 2150.733 2150.733 2151.404
2151.404 2151.852 2151.852 2151.705 2151.705 2151.282 2151.282 2150.802
2150.802 2150.286 2150.286 2149.751 2149.751 2149.211 2149.211 2148.679
2161.233 2160.176 2160.176 2158.901 2158.901 2157.638 2157.638 2156.385
2156.385 2155.137 2155.137 2154.25 2154.25 2152.96 2152.96 2151.631
2151.631 2150.246 2150.246 2148.778 2148.778 2147.172 2147.172 2145.39
2145.39 2144.95 2144.95 2147 2147 2148.655 2148.655 2149.863
2149.863 2150.733 2150.733 2151.404 2151.404 2151.852 2151.852 2151.705
2151.705 2151.282 2151.282 2150.802 2150.802 2150.286 2150.286 2149.751
2149.751 2149.211 2149.211 2148.679 2160.316 2159.167 2159.167 2157.813
2157.813 2156.458 2156.458 2155.099 2155.099 2153.731 2153.731 2152.348
2152.348 2151.286 2151.286 2149.786 2149.786 2148.228 2148.228 2146.597
2146.597 2144.887 2144.887 2143.234 2143.234 2142.956 2142.956 2144.677
2144.677 2146.352 2146.352 2147.701 2147.701 2148.727 2148.727 2149.474
2149.474 2149.918 2149.918 2150.108 2150.108 2149.915 2149.915 2149.566
2149.566 2149.149 2149.149 2148.691 2148.691 2148.211 2148.211 2147.725
2160.316 2159.167 2159.167 2157.813 2157.813 2156.458 2156.458 2155.099
2155.099 2153.731 2153.731 2152.348 2152.348 2151.286 2151.286 2149.786
2149.786 2148.228 2148.228 2146.597 2146.597 2144.887 2144.887 2143.234
2143.234 2142.956 2142.956 2144.677 2144.677 2146.352 2146.352 2147.701
2147.701 2148.727 2148.727 2149.474 2149.474 2149.918 2149.918 2150.108
2150.108 2149.915 2149.915 2149.566 2149.566 2149.149 2149.149 2148.691
2148.691 2148.211 2148.211 2147.725 2159.642 2158.23 2158.23 2156.812
2156.812 2155.382 2155.382 2153.938 2153.938 2152.477 2152.477 2150.998
2150.998 2149.496 2149.496 2148.26 2148.26 2146.651 2146.651 2145.063
2145.063 2143.595 2143.595 2142.627 2142.627 2142.457 2142.457 2143.264
2143.264 2144.792 2144.792 2145.99 2145.99 2146.981 2146.981 2147.719
2147.719 2148.167 2148.167 2148.585 2148.585 2148.485 2148.485 2148.242
2148.242 2148.006 2148.006 2147.619 2147.619 2147.193 2147.193 2146.746
2159.642 2158.23 2158.23 2156.812 2156.812 2155.382 2155.382 2153.938
2153.938 2152.477 2152.477 2150.998 2150.998 2149.496 2149.496 2148.26
2148.26 2146.651 2146.651 2145.063 2145.063 2143.595 2143.595 2142.627
2142.627 2142.457 2142.457 2143.264 2143.264 2144.792 2144.792 2145.99
2145.99 2146.981 2146.981 2147.719 2147.719 2148.167 2148.167 2148.585
2148.585 2148.485 2148.485 2148.242 2148.242 2148.006 2148.006 2147.619
2147.619 2147.193 2147.193 2146.746 2158.837 2157.386 2157.386 2155.916
2155.916 2154.425 2154.425 2152.916 2152.916 2151.39 2151.39 2149.849
2149.849 2148.298 2148.298 2146.751 2146.751 2145.439 2145.439 2143.963
2143.963 2142.749 2142.749 2142.126 2142.126 2142.018 2142.018 2142.512
2142.512 2143.362 2143.362 2144.749 2144.749 2145.6 2145.6 2146.259
2146.259 2146.686 2146.686 2147.219 2147.219 2147.198 2147.198 2147.039
2147.039 2146.785 2146.785 2146.568 2146.568 2146.185 2146.185 2145.771
2158.837 2157.386 2157.386 2155.916 2155.916 2154.425 2154.425 2152.916
2152.916 2151.39 2151.39 2149.849 2149.849 2148.298 2148.298 2146.751
2146.751 2145.439 2145.439 2143.963 2143.963 2142.749 2142.749 2142.126
2142.126 2142.018 2142.018 2142.512 2142.512 2143.362 2143.362 2144.749
2144.749 2145.6 2145.6 2146.259 2146.259 2146.686 2146.686 2147.219
2147.219 2147.198 2147.198 2147.039 2147.039 2146.785 2146.785 2146.568
2146.568 2146.185 2146.185 2145.771 2158.199 2156.654 2156.654 2155.136
2155.136 2153.598 2153.598 2152.042 2152.042 2150.473 2150.473 2148.898
2148.898 2147.33 2147.33 2145.789 2145.789 2144.318 2144.318 2143.101
2143.101 2142.171 2142.171 2141.663 2141.663 2141.611 2141.611 2141.963
2141.963 2142.589 2142.589 2143.329 2143.329 2144.554 2144.554 2145.104
2145.104 2145.476 2145.476 2146.033 2146.033 2146.039 2146.039 2145.926
2145.926 2145.724 2145.724 2145.452 2145.452 2145.128 2145.128 2144.828
2158.199 2156.654 2156.654 2155.136 2155.136 2153.598 2153.598 2152.042
2152.042 2150.473 2150.473 2148.898 2148.898 2147.33 2147.33 2145.789
2145.789 2144.318 2144.318 2143.101 2143.101 2142.171 2142.171 2141.663
2141.663 2141.611 2141.611 2141.963 2141.963 2142.589 2142.589 2143.329
2143.329 2144.554 2144.554 2145.104 2145.104 2145.476 2145.476 2146.033
2146.033 2146.039 2146.039 2145.926 2145.926 2145.724 2145.724 2145.452
2145.452 2145.128 2145.128 2144.828 2157.626 2156.099 2156.099 2154.55
2154.55 2152.976 2152.976 2151.384 2151.384 2149.785 2149.785 2148.196
2148.196 2146.634 2146.634 2145.123 2145.123 2143.622 2143.622 2142.335
2142.335 2141.588 2141.588 2141.28 2141.28 2141.274 2141.274 2141.551
2141.551 2142.036 2142.036 2142.627 2142.627 2143.221 2143.221 2144.23
2144.23 2144.522 2144.522 2144.667 2144.667 2145.022 2145.022 2144.927
2144.927 2144.757 2144.757 2144.522 2144.522 2144.23 2144.23 2143.893
2157.626 2156.099 2156.099 2154.55 2154.55 2152.976 2152.976 2151.384
2151.384 2149.785 2149.785 2148.196 2148.196 2146.634 2146.634 2145.123
2145.123 2143.622 2143.622 2142.335 2142.335 2141.588 2141.588 2141.28
2141.28 2141.274 2141.274 2141.551 2141.551 2142.036 2142.036 2142.627
2142.627 2143.221 2143.221 2144.23 2144.23 2144.522 2144.522 2144.667
2144.667 2145.022 2145.022 2144.927 2144.927 2144.757 2144.757 2144.522
2144.522 2144.23 2144.23 2143.893 2157.167 2155.584 2155.584 2153.997
2153.997 2152.4 2152.4 2150.799 2150.799 2149.203 2149.203 2147.628
2147.628 2146.092 2146.092 2144.621 2144.621 2143.249 2143.249 2142.054
2142.054 2141.336 2141.336 2141.282 2141.282 2141.04 2141.04 2141.259
2141.259 2141.653 2141.653 2142.142 2142.142 2142.642 2142.642 2143.082
2143.082 2143.808 2143.808 2143.884 2143.884 2144.148 2144.148 2144.054
2144.054 2143.906 2143.906 2143.698 2143.698 2143.439 2143.439 2143.138
2157.167 2155.584 2155.584 2153.997 2153.997 2152.4 2152.4 2150.799
2150.799 2149.203 2149.203 2147.628 2147.628 2146.092 2146.092 2144.621
2144.621 2143.249 2143.249 2142.054 2142.054 2141.336 2141.336 2141.282
2141.282 2141.04 2141.04 2141.259 2141.259 2141.653 2141.653 2142.142
2142.142 2142.642 2142.642 2143.082 2143.082 2143.808 2143.808 2143.884
2143.884 2144.148 2144.148 2144.054 2144.054 2143.906 2143.906 2143.698
2143.698 2143.439 2143.439 2143.138 2156.683 2155.165 2155.165 2153.546
2153.546 2151.93 2151.93 2150.323 2150.323 2148.733 2148.733 2147.176
2147.176 2145.673 2145.673 2144.314 2144.314 2142.994 2142.994 2141.893
2141.893 2141.274 2141.274 2140.837 2140.837 2141.14 2141.14 2141.366
2141.366 2141.729 2141.729 2141.84 2141.84 2142.283 2142.283 2142.666
2142.666 2142.934 2142.934 2143.301 2143.301 2143.413 2143.413 2143.317
2143.317 2143.186 2143.186 2143.082 2143.082 2142.801 2142.801 2142.504
2156.683 2155.165 2155.165 2153.546 2153.546 2151.93 2151.93 2150.323
2150.323 2148.733 2148.733 2147.176 2147.176 2145.673 2145.673 2144.314
2144.314 2142.994 2142.994 2141.893 2141.893 2141.274 2141.274 2140.837
2140.837 2141.14 2141.14 2141.366 2141.366 2141.729 2141.729 2141.84
2141.84 2142.283 2142.283 2142.666 2142.666 2142.934 2142.934 2143.301
2143.301 2143.413 2143.413 2143.317 2143.317 2143.186 2143.186 2143.082
2143.082 2142.801 2142.801 2142.504 2156.357 2154.828 2154.828 2153.186
2153.186 2151.558 2151.558 2149.948 2149.948 2148.367 2148.367 2146.829
2146.829 2145.424 2145.424 2144.02 2144.02 2142.767 2142.767 2141.734
2141.734 2141.199 2141.199 2140.762 2140.762 2140.605 2140.605 2141.185
2141.185 2141.532 2141.532 2141.94 2141.94 2142.335 2142.335 2142.647
2142.647 2142.819 2142.819 2142.76 2142.76 2142.814 2142.814 2142.799
2142.799 2142.643 2142.643 2142.418 2142.418 2142.161 2142.161 2141.912
2156.357 2154.828 2154.828 2153.186 2153.186 2151.558 2151.558 2149.948
2149.948 2148.367 2148.367 2146.829 2146.829 2145.424 2145.424 2144.02
2144.02 2142.767 2142.767 2141.734 2141.734 2141.199 2141.199 2140.762
2140.762 2140.605 2140.605 2141.185 2141.185 2141.532 2141.532 2141.94
2141.94 2142.335 2142.335 2142.647 2142.647 2142.819 2142.819 2142.76
2142.76 2142.814 2142.814 2142.799 2142.799 2142.643 2142.643 2142.418
2142.418 2142.161 2142.161 2141.912 2156.11 2154.474 2154.474 2152.909
2152.909 2151.274 2151.274 2149.668 2149.668 2148.098 2148.098 2146.648
2146.648 2145.174 2145.174 2143.8 2143.8 2142.577 2142.577 2141.57
2141.57 2141.082 2141.082 2140.675 2140.675 2140.57 2140.57 2140.702
2140.702 2140.993 2140.993 2141.882 2141.882 2142.295 2142.295 2142.615
2142.615 2142.774 2142.774 2142.731 2142.731 2142.594 2142.594 2142.409
2142.409 2142.188 2142.188 2141.911 2141.911 2141.633 2141.633 2141.404
2156.11 2154.474 2154.474 2152.909 2152.909 2151.274 2151.274 2149.668
2149.668 2148.098 2148.098 2146.648 2146.648 2145.174 2145.174 2143.8
2143.8 2142.577 2142.577 2141.57 2141.57 2141.082 2141.082 2140.675
2140.675 2140.57 2140.57 2140.702 2140.702 2140.993 2140.993 2141.882
2141.882 2142.295 2142.295 2142.615 2142.615 2142.774 2142.774 2142.731
2142.731 2142.594 2142.594 2142.409 2142.409 2142.188 2142.188 2141.911
2141.911 2141.633 2141.633 2141.404 2155.938 2154.297 2154.297 2152.708
2152.708 2151.074 2151.074 2149.545 2149.545 2147.994 2147.994 2146.479
2146.479 2145.021 2145.021 2143.654 2143.654 2142.426 2142.426 2141.407
2141.407 2140.914 2140.914 2140.553 2140.553 2140.543 2140.543 2140.787
2140.787 2141.185 2141.185 2141.661 2141.661 2142.452 2142.452 2142.827
2142.827 2143.019 2143.019 2142.955 2142.955 2142.769 2142.769 2142.419
2142.419 2141.969 2141.969 2141.565 2141.565 2141.208 2141.208 2140.796
2155.938 2154.297 2154.297 2152.708 2152.708 2151.074 2151.074 2149.545
2149.545 2147.994 2147.994 2146.479 2146.479 2145.021 2145.021 2143.654
2143.654 2142.426 2142.426 2141.407 2141.407 2140.914 2140.914 2140.553
2140.553 2140.543 2140.543 2140.787 2140.787 2141.185 2141.185 2141.661
2141.661 2142.452 2142.452 2142.827 2142.827 2143.019 2143.019 2142.955
2142.955 2142.769 2142.769 2142.419 2142.419 2141.969 2141.969 2141.565
2141.565 2141.208 2141.208 2140.796 2155.784 2154.157 2154.157 2152.553
2152.553 2150.991 2150.991 2149.448 2149.448 2147.924 2147.924 2146.429
2146.429 2144.982 2144.982 2143.607 2143.607 2142.343 2142.343 2141.264
2141.264 2140.499 2140.499 2140.396 2140.396 2140.54 2140.54 2140.941
2140.941 2141.466 2141.466 2142.041 2142.041 2142.615 2142.615 2143.252
2143.252 2143.541 2143.541 2143.532 2143.532 2143.096 2143.096 2142.59
2142.59 2142.032 2142.032 2141.386 2141.386 2140.867 2140.867 2140.52
2155.784 2154.157 2154.157 2152.553 2152.553 2150.991 2150.991 2149.448
2149.448 2147.924 2147.924 2146.429 2146.429 2144.982 2144.982 2143.607
2143.607 2142.343 2142.343 2141.264 2141.264 2140.499 2140.499 2140.396
2140.396 2140.54 2140.54 2140.941 2140.941 2141.466 2141.466 2142.041
2142.041 2142.615 2142.615 2143.252 2143.252 2143.541 2143.541 2143.532
2143.532 2143.096 2143.096 2142.59 2142.59 2142.032 2142.032 2141.386
2141.386 2140.867 2140.867 2140.52 2155.71 2154.083 2154.083 2152.542
2152.542 2151.075 2151.075 2149.507 2149.507 2147.988 2147.988 2146.51
2146.51 2145.082 2145.082 2143.704 2143.704 2142.396 2142.396 2141.206
2141.206 2140.303 2140.303 2140.234 2140.234 2140.638 2140.638 2141.227
2141.227 2141.871 2141.871 2142.521 2142.521 2143.149 2143.149 2143.73
2143.73 2144.24 2144.24 2144.066 2144.066 2143.532 2143.532 2143.072
2143.072 2142.375 2142.375 2141.583 2141.583 2140.711 2140.711 2140.445
2155.71 2154.083 2154.083 2152.542 2152.542 2151.075 2151.075 2149.507
2149.507 2147.988 2147.988 2146.51 2146.51 2145.082 2145.082 2143.704
2143.704 2142.396 2142.396 2141.206 2141.206 2140.303 2140.303 2140.234
2140.234 2140.638 2140.638 2141.227 2141.227 2141.871 2141.871 2142.521
2142.521 2143.149 2143.149 2143.73 2143.73 2144.24 2144.24 2144.066
2144.066 2143.532 2143.532 2143.072 2143.072 2142.375 2142.375 2141.583
2141.583 2140.711 2140.711 2140.445 2155.686 2154.197 2154.197 2152.57
2152.57 2151.243 2151.243 2149.68 2149.68 2148.178 2148.178 2146.729
2146.729 2145.329 2145.329 2143.981 2143.981 2142.685 2142.685 2141.44
2141.44 2140.243 2140.243 2140.524 2140.524 2141.451 2141.451 2142.319
2142.319 2143.104 2143.104 2143.781 2143.781 2144.328 2144.328 2144.719
2144.719 2144.931 2144.931 2144.64 2144.64 2144.173 2144.173 2143.548
2143.548 2142.813 2142.813 2142.023 2142.023 2141.162 2141.162 2140.836
2155.686 2154.197 2154.197 2152.57 2152.57 2151.243 2151.243 2149.68
2149.68 2148.178 2148.178 2146.729 2146.729 2145.329 2145.329 2143.981
2143.981 2142.685 2142.685 2141.44 2141.44 2140.243 2140.243 2140.524
2140.524 2141.451 2141.451 2142.319 2142.319 2143.104 2143.104 2143.781
2143.781 2144.328 2144.328 2144.719 2144.719 2144.931 2144.931 2144.64
2144.64 2144.173 2144.173 2143.548 2143.548 2142.813 2142.813 2142.023
2142.023 2141.162 2141.162 2140.836 2155.898 2154.262 2154.262 2153.056
2153.056 2151.456 2151.456 2149.925 2149.925 2148.463 2148.463 2147.064
2147.064 2145.729 2145.729 2144.46 2144.46 2143.265 2143.265 2142.177
2142.177 2141.425 2141.425 2141.66 2141.66 2142.353 2142.353 2143.163
2143.163 2143.93 2143.93 2144.597 2144.597 2145.124 2145.124 2145.474
2145.474 2145.633 2145.633 2145.243 2145.243 2144.783 2144.783 2144.15
2144.15 2143.412 2143.412 2142.336 2142.336 2141.692 2141.692 2141.24
2155.898 2154.262 2154.262 2153.056 2153.056 2151.456 2151.456 2149.925
2149.925 2148.463 2148.463 2147.064 2147.064 2145.729 2145.729 2144.46
2144.46 2143.265 2143.265 2142.177 2142.177 2141.425 2141.425 2141.66
2141.66 2142.353 2142.353 2143.163 2143.163 2143.93 2143.93 2144.597
2144.597 2145.124 2145.124 2145.474 2145.474 2145.633 2145.633 2145.243
2145.243 2144.783 2144.783 2144.15 2144.15 2143.412 2143.412 2142.336
2142.336 2141.692 2141.692 2141.24 2155.99 2154.375 2154.375 2153.251
2153.251 2151.698 2151.698 2150.219 2150.219 2148.818 2148.818 2147.495
2147.495 2146.254 2146.254 2145.108 2145.108 2144.118 2144.118 2143.276
2143.276 2142.785 2142.785 2142.805 2142.805 2143.601 2143.601 2144.258
2144.258 2144.944 2144.944 2145.557 2145.557 2146.042 2146.042 2146.425
2146.425 2146.473 2146.473 2145.986 2145.986 2145.504 2145.504 2144.847
2144.847 2143.701 2143.701 2142.893 2142.893 2142.19 2142.19 2141.642
2155.99 2154.375 2154.375 2153.251 2153.251 2151.698 2151.698 2150.219
2150.219 2148.818 2148.818 2147.495 2147.495 2146.254 2146.254 2145.108
2145.108 2144.118 2144.118 2143.276 2143.276 2142.785 2142.785 2142.805
2142.805 2143.601 2143.601 2144.258 2144.258 2144.944 2144.944 2145.557
2145.557 2146.042 2146.042 2146.425 2146.425 2146.473 2146.473 2145.986
2145.986 2145.504 2145.504 2144.847 2144.847 2143.701 2143.701 2142.893
2142.893 2142.19 2142.19 2141.642 2156.115 2154.524 2154.524 2153.456
2153.456 2151.958 2151.958 2150.544 2150.544 2149.218 2149.218 2147.987
2147.987 2146.858 2146.858 2145.816 2145.816 2144.949 2144.949 2144.32
2144.32 2144.017 2144.017 2144.093 2144.093 2144.901 2144.901 2145.453
2145.453 2146.055 2146.055 2146.602 2146.602 2147.038 2147.038 2147.385
2147.385 2147.415 2147.415 2146.853 2146.853 2146.316 2146.316 2145.24
2145.24 2144.302 2144.302 2143.409 2143.409 2142.626 2142.626 2141.993
2156.115 2154.524 2154.524 2153.456 2153.456 2151.958 2151.958 2150.544
2150.544 2149.218 2149.218 2147.987 2147.987 2146.858 2146.858 2145.816
2145.816 2144.949 2144.949 2144.32 2144.32 2144.017 2144.017 2144.093
2144.093 2144.901 2144.901 2145.453 2145.453 2146.055 2146.055 2146.602
2146.602 2147.038 2147.038 2147.385 2147.385 2147.415 2147.415 2146.853
2146.853 2146.316 2146.316 2145.24 2145.24 2144.302 2144.302 2143.409
2143.409 2142.626 2142.626 2141.993 2156.267 2154.701 2154.701 2153.658
2153.658 2152.22 2152.22 2150.88 2150.88 2149.639 2149.639 2148.505
2148.505 2147.362 2147.362 2146.447 2146.447 2145.722 2145.722 2145.244
2145.244 2145.069 2145.069 2145.22 2145.22 2145.655 2145.655 2146.613
2146.613 2147.165 2147.165 2147.639 2147.639 2148.102 2148.102 2148.354
2148.354 2148.406 2148.406 2147.812 2147.812 2147.176 2147.176 2145.906
2145.906 2144.84 2144.84 2143.838 2143.838 2142.966 2142.966 2142.259
2156.267 2154.701 2154.701 2153.658 2153.658 2152.22 2152.22 2150.88
2150.88 2149.639 2149.639 2148.505 2148.505 2147.362 2147.362 2146.447
2146.447 2145.722 2145.722 2145.244 2145.244 2145.069 2145.069 2145.22
2145.22 2145.655 2145.655 2146.613 2146.613 2147.165 2147.165 2147.639
2147.639 2148.102 2148.102 2148.354 2148.354 2148.406 2148.406 2147.812
2147.812 2147.176 2147.176 2145.906 2145.906 2144.84 2144.84 2143.838
2143.838 2142.966 2142.966 2142.259 2156.436 2154.895 2154.895 2153.845
2153.845 2152.474 2152.474 2151.213 2151.213 2150.06 2150.06 2148.809
2148.809 2147.828 2147.828 2147 2147 2146.37 2146.37 2145.986
2145.986 2145.893 2145.893 2146.114 2146.114 2146.625 2146.625 2147.632
2147.632 2148.178 2148.178 2148.614 2148.614 2148.906 2148.906 2149.195
2149.195 2149.372 2149.372 2148.81 2148.81 2147.694 2147.694 2146.478
2146.478 2145.254 2145.254 2144.127 2144.127 2143.169 2143.169 2142.408
2156.436 2154.895 2154.895 2153.845 2153.845 2152.474 2152.474 2151.213
2151.213 2150.06 2150.06 2148.809 2148.809 2147.828 2147.828 2147
2147 2146.37 2146.37 2145.986 2145.986 2145.893 2145.893 2146.114
2146.114 2146.625 2146.625 2147.632 2147.632 2148.178 2148.178 2148.614
2148.614 2148.906 2148.906 2149.195 2149.195 2149.372 2149.372 2148.81
2148.81 2147.694 2147.694 2146.478 2146.478 2145.254 2145.254 2144.127
2144.127 2143.169 2143.169 2142.408 2156.618 2155.096 2155.096 2154.008
2154.008 2152.714 2152.714 2151.355 2151.355 2150.209 2150.209 2149.157
2149.157 2148.224 2148.224 2147.443 2147.443 2146.856 2146.856 2146.506
2146.506 2146.436 2146.436 2146.68 2146.68 2147.254 2147.254 2148.118
2148.118 2149.02 2149.02 2149.178 2149.178 2149.305 2149.305 2149.628
2149.628 2150.105 2150.105 2149.537 2149.537 2148.269 2148.269 2146.869
2146.869 2145.469 2145.469 2144.215 2144.215 2143.19 2143.19 2142.414
2156.618 2155.096 2155.096 2154.008 2154.008 2152.714 2152.714 2151.355
2151.355 2150.209 2150.209 2149.157 2149.157 2148.224 2148.224 2147.443
2147.443 2146.856 2146.856 2146.506 2146.506 2146.436 2146.436 2146.68
2146.68 2147.254 2147.254 2148.118 2148.118 2149.02 2149.02 2149.178
2149.178 2149.305 2149.305 2149.628 2149.628 2150.105 2150.105 2149.537
2149.537 2148.269 2148.269 2146.869 2146.869 2145.469 2145.469 2144.215
2144.215 2143.19 2143.19 2142.414 2156.809 2155.297 2155.297 2154.149
2154.149 2152.79 2152.79 2151.603 2151.603 2150.486 2150.486 2149.455
2149.455 2148.537 2148.537 2147.763 2147.763 2147.167 2147.167 2146.788
2146.788 2146.664 2146.664 2146.833 2146.833 2147.121 2147.121 2148.073
2148.073 2149.16 2149.16 2149.036 2149.036 2149.094 2149.094 2149.434
2149.434 2149.82 2149.82 2149.649 2149.649 2148.753 2148.753 2147.33
2147.33 2145.773 2145.773 2144.394 2144.394 2143.312 2143.312 2142.525
2156.809 2155.297 2155.297 2154.149 2154.149 2152.79 2152.79 2151.603
2151.603 2150.486 2150.486 2149.455 2149.455 2148.537 2148.537 2147.763
2147.763 2147.167 2147.167 2146.788 2146.788 2146.664 2146.664 2146.833
2146.833 2147.121 2147.121 2148.073 2148.073 2149.16 2149.16 2149.036
2149.036 2149.094 2149.094 2149.434 2149.434 2149.82 2149.82 2149.649
2149.649 2148.753 2148.753 2147.33 2147.33 2145.773 2145.773 2144.394
2144.394 2143.312 2143.312 2142.525 2157.022 2155.49 2155.49 2154.239
2154.239 2153.028 2153.028 2151.577 2151.577 2150.404 2150.404 2149.325
2149.325 2148.364 2148.364 2147.547 2147.547 2146.903 2146.903 2146.458
2146.458 2146.242 2146.242 2146.277 2146.277 2146.573 2146.573 2147.077
2147.077 2147.544 2147.544 2147.859 2147.859 2148.043 2148.043 2148.474
2148.474 2149.039 2149.039 2149.368 2149.368 2148.812 2148.812 2147.084
2147.084 2145.27 2145.27 2143.914 2143.914 2142.988 2142.988 2142.418
2157.022 2155.49 2155.49 2154.239 2154.239 2153.028 2153.028 2151.577
2151.577 2150.404 2150.404 2149.325 2149.325 2148.364 2148.364 2147.547
2147.547 2146.903 2146.903 2146.458 2146.458 2146.242 2146.242 2146.277
2146.277 2146.573 2146.573 2147.077 2147.077 2147.544 2147.544 2147.859
2147.859 2148.043 2148.043 2148.474 2148.474 2149.039 2149.039 2149.368
2149.368 2148.812 2148.812 2147.084 2147.084 2145.27 2145.27 2143.914
2143.914 2142.988 2142.988 2142.418 2157.194 2155.767 2155.767 2154.454
2154.454 2153.121 2153.121 2151.85 2151.85 2150.651 2150.651 2149.539
2149.539 2148.533 2148.533 2147.653 2147.653 2146.917 2146.917 2146.342
2146.342 2145.936 2145.936 2145.704 2145.704 2145.629 2145.629 2145.743
2145.743 2145.772 2145.772 2146.137 2146.137 2146.428 2146.428 2147.012
2147.012 2147.743 2147.743 2148.446 2148.446 2148.357 2148.357 2146.146
2146.146 2144.204 2144.204 2142.918 2142.918 2142.3 2142.3 2141.984
2157.194 2155.767 2155.767 2154.454 2154.454 2153.121 2153.121 2151.85
2151.85 2150.651 2150.651 2149.539 2149.539 2148.533 2148.533 2147.653
2147.653 2146.917 2146.917 2146.342 2146.342 2145.936 2145.936 2145.704
2145.704 2145.629 2145.629 2145.743 2145.743 2145.772 2145.772 2146.137
2146.137 2146.428 2146.428 2147.012 2147.012 2147.743 2147.743 2148.446
2148.446 2148.357 2148.357 2146.146 2146.146 2144.204 2144.204 2142.918
2142.918 2142.3 2142.3 2141.984 2157.608 2156.064 2156.064 2154.596
2154.596 2153.45 2153.45 2152.133 2152.133 2150.889 2150.889 2149.727
2149.727 2148.659 2148.659 2147.698 2147.698 2146.852 2146.852 2146.125
2146.125 2145.513 2145.513 2145 2145 2144.557 2144.557 2144.254
2144.254 2143.901 2143.901 2144.082 2144.082 2144.418 2144.418 2145.196
2145.196 2146.029 2146.029 2146.352 2146.352 2145.962 2145.962 2144.398
2144.398 2142.531 2142.531 2141.528 2141.528 2141.452 2141.452 2141.69
2169.253 2168.196 2168.196 2167.163 2167.163 2166.323 2166.323 2165.574
2165.574 2164.779 2164.779 2164.027 2164.027 2163.311 2163.311 2162.659
2162.659 2162.109 2162.109 2161.711 2161.711 2161.541 2161.541 2161.688
2161.688 2162.171 2162.171 2162.56 2162.56 2162.614 2162.614 2162.767
2162.767 2162.995 2162.995 2163.214 2163.214 2163.33 2163.33 2163.281
2163.281 2163.068 2163.068 2162.85 2162.85 2162.451 2162.451 2162.005
2162.005 2161.52 2161.52 2160.988 2168.578 2167.437 2167.437 2166.542
2166.542 2165.482 2165.482 2164.508 2164.508 2163.695 2163.695 2162.796
2162.796 2161.92 2161.92 2161.043 2161.043 2160.289 2160.289 2159.648
2159.648 2159.193 2159.193 2159.038 2159.038 2159.27 2159.27 2159.784
2159.784 2160.303 2160.303 2160.837 2160.837 2161.393 2161.393 2161.883
2161.883 2162.204 2162.204 2162.237 2162.237 2162.123 2162.123 2161.787
2161.787 2161.397 2161.397 2160.979 2160.979 2160.537 2160.537 2160.065
2168.578 2167.437 2167.437 2166.542 2166.542 2165.482 2165.482 2164.508
2164.508 2163.695 2163.695 2162.796 2162.796 2161.92 2161.92 2161.043
2161.043 2160.289 2160.289 2159.648 2159.648 2159.193 2159.193 2159.038
2159.038 2159.27 2159.27 2159.784 2159.784 2160.303 2160.303 2160.837
2160.837 2161.393 2161.393 2161.883 2161.883 2162.204 2162.204 2162.237
2162.237 2162.123 2162.123 2161.787 2161.787 2161.397 2161.397 2160.979
2160.979 2160.537 2160.537 2160.065 2167.936 2166.713 2166.713 2165.802
2165.802 2164.656 2164.656 2163.563 2163.563 2162.517 2162.517 2161.592
2161.592 2160.553 2160.553 2159.537 2159.537 2158.557 2158.557 2157.587
2157.587 2156.767 2156.767 2156.18 2156.18 2156.255 2156.255 2157.012
2157.012 2157.947 2157.947 2158.85 2158.85 2159.705 2159.705 2160.526
2160.526 2161.135 2161.135 2161.268 2161.268 2160.986 2160.986 2160.63
2160.63 2160.257 2160.257 2159.878 2159.878 2159.491 2159.491 2159.091
2167.936 2166.713 2166.713 2165.802 2165.802 2164.656 2164.656 2163.563
2163.563 2162.517 2162.517 2161.592 2161.592 2160.553 2160.553 2159.537
2159.537 2158.557 2158.557 2157.587 2157.587 2156.767 2156.767 2156.18
2156.18 2156.255 2156.255 2157.012 2157.012 2157.947 2157.947 2158.85
2158.85 2159.705 2159.705 2160.526 2160.526 2161.135 2161.135 2161.268
2161.268 2160.986 2160.986 2160.63 2160.63 2160.257 2160.257 2159.878
2159.878 2159.491 2159.491 2159.091 2167.336 2166.344 2166.344 2165.084
2165.084 2163.856 2163.856 2162.661 2162.661 2161.495 2161.495 2160.466
2160.466 2159.278 2159.278 2158.098 2158.098 2156.93 2156.93 2155.776
2155.776 2154.623 2154.623 2153.45 2153.45 2153.216 2153.216 2154.545
2154.545 2155.798 2155.798 2156.928 2156.928 2157.975 2157.975 2159.012
2159.012 2159.97 2159.97 2160.024 2160.024 2159.727 2159.727 2159.427
2159.427 2159.124 2159.124 2158.81 2158.81 2158.478 2158.478 2158.115
2167.336 2166.344 2166.344 2165.084 2165.084 2163.856 2163.856 2162.661
2162.661 2161.495 2161.495 2160.466 2160.466 2159.278 2159.278 2158.098
2158.098 2156.93 2156.93 2155.776 2155.776 2154.623 2154.623 2153.45
2153.45 2153.216 2153.216 2154.545 2154.545 2155.798 2155.798 2156.928
2156.928 2157.975 2157.975 2159.012 2159.012 2159.97 2159.97 2160.024
2160.024 2159.727 2159.727 2159.427 2159.427 2159.124 2159.124 2158.81
2158.81 2158.478 2158.478 2158.115 2166.788 2165.721 2165.721 2164.402
2164.402 2163.1 2163.1 2161.815 2161.815 2160.546 2160.546 2159.291
2159.291 2158.126 2158.126 2156.819 2156.819 2155.529 2155.529 2154.27
2154.27 2153.057 2153.057 2151.984 2151.984 2151.841 2151.841 2152.961
2152.961 2154.172 2154.172 2155.298 2155.298 2156.322 2156.322 2157.234
2157.234 2157.91 2157.91 2158.299 2158.299 2158.186 2158.186 2157.993
2157.993 2157.771 2157.771 2157.528 2157.528 2157.254 2157.254 2156.936
2166.788 2165.721 2165.721 2164.402 2164.402 2163.1 2163.1 2161.815
2161.815 2160.546 2160.546 2159.291 2159.291 2158.126 2158.126 2156.819
2156.819 2155.529 2155.529 2154.27 2154.27 2153.057 2153.057 2151.984
2151.984 2151.841 2151.841 2152.961 2152.961 2154.172 2154.172 2155.298
2155.298 2156.322 2156.322 2157.234 2157.234 2157.91 2157.91 2158.299
2158.299 2158.186 2158.186 2157.993 2157.993 2157.771 2157.771 2157.528
2157.528 2157.254 2157.254 2156.936 2166.518 2165.142 2165.142 2163.771
2163.771 2162.404 2162.404 2161.042 2161.042 2159.687 2159.687 2158.338
2158.338 2156.998 2156.998 2155.717 2155.717 2154.365 2154.365 2153.105
2153.105 2152.017 2152.017 2151.365 2151.365 2151.244 2151.244 2151.8
2151.8 2152.861 2152.861 2153.797 2153.797 2154.665 2154.665 2155.4
2155.4 2155.911 2155.911 2156.488 2156.488 2156.506 2156.506 2156.424
2156.424 2156.339 2156.339 2156.187 2156.187 2155.988 2155.988 2155.726
2166.518 2165.142 2165.142 2163.771 2163.771 2162.404 2162.404 2161.042
2161.042 2159.687 2159.687 2158.338 2158.338 2156.998 2156.998 2155.717
2155.717 2154.365 2154.365 2153.105 2153.105 2152.017 2152.017 2151.365
2151.365 2151.244 2151.244 2151.8 2151.8 2152.861 2152.861 2153.797
2153.797 2154.665 2154.665 2155.4 2155.4 2155.911 2155.911 2156.488
2156.488 2156.506 2156.506 2156.424 2156.424 2156.339 2156.339 2156.187
2156.187 2155.988 2155.988 2155.726 2166.029 2164.622 2164.622 2163.205
2163.205 2161.782 2161.782 2160.356 2160.356 2158.93 2158.93 2157.507
2157.507 2156.094 2156.094 2154.704 2154.704 2153.393 2153.393 2152.156
2152.156 2151.191 2151.191 2150.726 2150.726 2150.621 2150.621 2150.949
2150.949 2151.549 2151.549 2152.509 2152.509 2153.161 2153.161 2153.705
2153.705 2154.087 2154.087 2154.739 2154.739 2154.827 2154.827 2154.847
2154.847 2154.83 2154.83 2154.828 2154.828 2154.722 2154.722 2154.537
2166.029 2164.622 2164.622 2163.205 2163.205 2161.782 2161.782 2160.356
2160.356 2158.93 2158.93 2157.507 2157.507 2156.094 2156.094 2154.704
2154.704 2153.393 2153.393 2152.156 2152.156 2151.191 2151.191 2150.726
2150.726 2150.621 2150.621 2150.949 2150.949 2151.549 2151.549 2152.509
2152.509 2153.161 2153.161 2153.705 2153.705 2154.087 2154.087 2154.739
2154.739 2154.827 2154.827 2154.847 2154.847 2154.83 2154.83 2154.828
2154.828 2154.722 2154.722 2154.537 2165.616 2164.176 2164.176 2162.716
2162.716 2161.244 2161.244 2159.764 2159.764 2158.282 2158.282 2156.804
2156.804 2155.338 2155.338 2153.9 2153.9 2152.521 2152.521 2151.312
2151.312 2150.517 2150.517 2150.081 2150.081 2149.994 2149.994 2150.19
2150.19 2150.581 2150.581 2151.062 2151.062 2151.844 2151.844 2152.195
2152.195 2152.442 2152.442 2153.073 2153.073 2153.184 2153.184 2153.283
2153.283 2153.375 2153.375 2153.439 2153.439 2153.448 2153.448 2153.405
2165.616 2164.176 2164.176 2162.716 2162.716 2161.244 2161.244 2159.764
2159.764 2158.282 2158.282 2156.804 2156.804 2155.338 2155.338 2153.9
2153.9 2152.521 2152.521 2151.312 2151.312 2150.517 2150.517 2150.081
2150.081 2149.994 2149.994 2150.19 2150.19 2150.581 2150.581 2151.062
2151.062 2151.844 2151.844 2152.195 2152.195 2152.442 2152.442 2153.073
2153.073 2153.184 2153.184 2153.283 2153.283 2153.375 2153.375 2153.439
2153.439 2153.448 2153.448 2153.405 2165.272 2163.78 2163.78 2162.274
2162.274 2160.754 2160.754 2159.228 2159.228 2157.704 2157.704 2156.192
2156.192 2154.705 2154.705 2153.255 2153.255 2151.85 2151.85 2150.529
2150.529 2149.804 2149.804 2149.516 2149.516 2149.429 2149.429 2149.524
2149.524 2149.751 2149.751 2150.044 2150.044 2150.334 2150.334 2150.88
2150.88 2150.971 2150.971 2151.035 2151.035 2151.591 2151.591 2151.762
2151.762 2151.972 2151.972 2152.166 2152.166 2152.294 2152.294 2152.327
2165.272 2163.78 2163.78 2162.274 2162.274 2160.754 2160.754 2159.228
2159.228 2157.704 2157.704 2156.192 2156.192 2154.705 2154.705 2153.255
2153.255 2151.85 2151.85 2150.529 2150.529 2149.804 2149.804 2149.516
2149.516 2149.429 2149.429 2149.524 2149.524 2149.751 2149.751 2150.044
2150.044 2150.334 2150.334 2150.88 2150.88 2150.971 2150.971 2151.035
2151.035 2151.591 2151.591 2151.762 2151.762 2151.972 2151.972 2152.166
2152.166 2152.294 2152.294 2152.327 2165.006 2163.471 2163.471 2161.929
2161.929 2160.381 2160.381 2158.831 2158.831 2157.286 2157.286 2155.759
2155.759 2154.261 2154.261 2152.81 2152.81 2151.429 2151.429 2150.231
2150.231 2149.361 2149.361 2149.129 2149.129 2148.986 2148.986 2148.975
2148.975 2149.067 2149.067 2149.204 2149.204 2149.33 2149.33 2149.404
2149.404 2149.675 2149.675 2149.602 2149.602 2150.049 2150.049 2150.307
2150.307 2150.665 2150.665 2151.004 2151.004 2151.255 2151.255 2151.385
2165.006 2163.471 2163.471 2161.929 2161.929 2160.381 2160.381 2158.831
2158.831 2157.286 2157.286 2155.759 2155.759 2154.261 2154.261 2152.81
2152.81 2151.429 2151.429 2150.231 2150.231 2149.361 2149.361 2149.129
2149.129 2148.986 2148.986 2148.975 2148.975 2149.067 2149.067 2149.204
2149.204 2149.33 2149.33 2149.404 2149.404 2149.675 2149.675 2149.602
2149.602 2150.049 2150.049 2150.307 2150.307 2150.665 2150.665 2151.004
2151.004 2151.255 2151.255 2151.385 2164.652 2163.232 2163.232 2161.662
2161.662 2160.089 2160.089 2158.52 2158.52 2156.961 2156.961 2155.426
2155.426 2153.931 2153.931 2152.693 2152.693 2151.308 2151.308 2150.094
2150.094 2149.238 2149.238 2148.569 2148.569 2148.578 2148.578 2148.456
2148.456 2148.43 2148.43 2148.554 2148.554 2148.553 2148.553 2148.479
2148.479 2148.319 2148.319 2148.296 2148.296 2148.55 2148.55 2148.966
2148.966 2149.524 2149.524 2150.042 2150.042 2150.373 2150.373 2150.556
2164.652 2163.232 2163.232 2161.662 2161.662 2160.089 2160.089 2158.52
2158.52 2156.961 2156.961 2155.426 2155.426 2153.931 2153.931 2152.693
2152.693 2151.308 2151.308 2150.094 2150.094 2149.238 2149.238 2148.569
2148.569 2148.578 2148.578 2148.456 2148.456 2148.43 2148.43 2148.554
2148.554 2148.553 2148.553 2148.479 2148.479 2148.319 2148.319 2148.296
2148.296 2148.55 2148.55 2148.966 2148.966 2149.524 2149.524 2150.042
2150.042 2150.373 2150.373 2150.556 2164.49 2163.057 2163.057 2161.466
2161.466 2159.875 2159.875 2158.292 2158.292 2156.724 2156.724 2155.186
2155.186 2153.933 2153.933 2152.486 2152.486 2151.145 2151.145 2149.969
2149.969 2149.132 2149.132 2148.412 2148.412 2147.904 2147.904 2148.078
2148.078 2147.984 2147.984 2147.931 2147.931 2147.858 2147.858 2147.707
2147.707 2147.432 2147.432 2147.094 2147.094 2147.11 2147.11 2147.904
2147.904 2148.649 2148.649 2149.238 2149.238 2149.651 2149.651 2149.888
2164.49 2163.057 2163.057 2161.466 2161.466 2159.875 2159.875 2158.292
2158.292 2156.724 2156.724 2155.186 2155.186 2153.933 2153.933 2152.486
2152.486 2151.145 2151.145 2149.969 2149.969 2149.132 2149.132 2148.412
2148.412 2147.904 2147.904 2148.078 2148.078 2147.984 2147.984 2147.931
2147.931 2147.858 2147.858 2147.707 2147.707 2147.432 2147.432 2147.094
2147.094 2147.11 2147.11 2147.904 2147.904 2148.649 2148.649 2149.238
2149.238 2149.651 2149.651 2149.888 2164.395 2162.819 2162.819 2161.338
2161.338 2159.736 2159.736 2158.144 2158.144 2156.572 2156.572 2155.278
2155.278 2153.785 2153.785 2152.353 2152.353 2151.024 2151.024 2149.852
2149.852 2149.015 2149.015 2148.275 2148.275 2147.763 2147.763 2147.432
2147.432 2147.232 2147.232 2147.625 2147.625 2147.551 2147.551 2147.407
2147.407 2147.134 2147.134 2146.676 2146.676 2146.693 2146.693 2147.415
2147.415 2148.16 2148.16 2148.76 2148.76 2149.185 2149.185 2149.424
2164.395 2162.819 2162.819 2161.338 2161.338 2159.736 2159.736 2158.144
2158.144 2156.572 2156.572 2155.278 2155.278 2153.785 2153.785 2152.353
2152.353 2151.024 2151.024 2149.852 2149.852 2149.015 2149.015 2148.275
2148.275 2147.763 2147.763 2147.432 2147.432 2147.232 2147.232 2147.625
2147.625 2147.551 2147.551 2147.407 2147.407 2147.134 2147.134 2146.676
2146.676 2146.693 2146.693 2147.415 2147.415 2148.16 2148.16 2148.76
2148.76 2149.185 2149.185 2149.424 2164.358 2162.789 2162.789 2161.276
2161.276 2159.669 2159.669 2158.244 2158.244 2156.724 2156.724 2155.212
2155.212 2153.725 2153.725 2152.289 2152.289 2150.945 2150.945 2149.745
2149.745 2148.879 2148.879 2148.138 2148.138 2147.654 2147.654 2147.371
2147.371 2147.232 2147.232 2147.19 2147.19 2147.504 2147.504 2147.34
2147.34 2147.255 2147.255 2147.106 2147.106 2147.281 2147.281 2147.625
2147.625 2148.102 2148.102 2148.6 2148.6 2148.972 2148.972 2149.036
2164.358 2162.789 2162.789 2161.276 2161.276 2159.669 2159.669 2158.244
2158.244 2156.724 2156.724 2155.212 2155.212 2153.725 2153.725 2152.289
2152.289 2150.945 2150.945 2149.745 2149.745 2148.879 2148.879 2148.138
2148.138 2147.654 2147.654 2147.371 2147.371 2147.232 2147.232 2147.19
2147.19 2147.504 2147.504 2147.34 2147.34 2147.255 2147.255 2147.106
2147.106 2147.281 2147.281 2147.625 2147.625 2148.102 2148.102 2148.6
2148.6 2148.972 2148.972 2149.036 2164.319 2162.77 2162.77 2161.237
2161.237 2159.748 2159.748 2158.257 2158.257 2156.755 2156.755 2155.252
2155.252 2153.763 2153.763 2152.31 2152.31 2150.925 2150.925 2149.663
2149.663 2148.613 2148.613 2147.99 2147.99 2147.574 2147.574 2147.371
2147.371 2147.311 2147.311 2147.209 2147.209 2147.347 2147.347 2147.664
2147.664 2147.791 2147.791 2147.842 2147.842 2147.882 2147.882 2148.02
2148.02 2148.33 2148.33 2148.665 2148.665 2148.975 2148.975 2148.959
2164.319 2162.77 2162.77 2161.237 2161.237 2159.748 2159.748 2158.257
2158.257 2156.755 2156.755 2155.252 2155.252 2153.763 2153.763 2152.31
2152.31 2150.925 2150.925 2149.663 2149.663 2148.613 2148.613 2147.99
2147.99 2147.574 2147.574 2147.371 2147.371 2147.311 2147.311 2147.209
2147.209 2147.347 2147.347 2147.664 2147.664 2147.791 2147.791 2147.842
2147.842 2147.882 2147.882 2148.02 2148.02 2148.33 2148.33 2148.665
2148.665 2148.975 2148.975 2148.959 2164.34 2162.783 2162.783 2161.226
2161.226 2159.795 2159.795 2158.227 2158.227 2156.678 2156.678 2155.158
2155.158 2153.917 2153.917 2152.443 2152.443 2151.007 2151.007 2149.647
2149.647 2148.477 2148.477 2147.845 2147.845 2147.558 2147.558 2147.346
2147.346 2147.348 2147.348 2147.459 2147.459 2147.674 2147.674 2147.993
2147.993 2148.424 2148.424 2148.39 2148.39 2148.403 2148.403 2148.564
2148.564 2148.7 2148.7 2148.892 2148.892 2149.101 2149.101 2148.901
2164.34 2162.783 2162.783 2161.226 2161.226 2159.795 2159.795 2158.227
2158.227 2156.678 2156.678 2155.158 2155.158 2153.917 2153.917 2152.443
2152.443 2151.007 2151.007 2149.647 2149.647 2148.477 2148.477 2147.845
2147.845 2147.558 2147.558 2147.346 2147.346 2147.348 2147.348 2147.459
2147.459 2147.674 2147.674 2147.993 2147.993 2148.424 2148.424 2148.39
2148.39 2148.403 2148.403 2148.564 2148.564 2148.7 2148.7 2148.892
2148.892 2149.101 2149.101 2148.901 2164.394 2162.862 2162.862 2161.266
2161.266 2159.978 2159.978 2158.41 2158.41 2156.866 2156.866 2155.353
2155.353 2153.872 2153.872 2152.428 2152.428 2151.028 2151.028 2149.682
2149.682 2148.398 2148.398 2148.022 2148.022 2148.075 2148.075 2148.155
2148.155 2148.264 2148.264 2148.4 2148.4 2148.56 2148.56 2148.736
2148.736 2148.923 2148.923 2148.817 2148.817 2148.929 2148.929 2148.888
2148.888 2148.903 2148.903 2148.948 2148.948 2148.79 2148.79 2148.779
2164.394 2162.862 2162.862 2161.266 2161.266 2159.978 2159.978 2158.41
2158.41 2156.866 2156.866 2155.353 2155.353 2153.872 2153.872 2152.428
2152.428 2151.028 2151.028 2149.682 2149.682 2148.398 2148.398 2148.022
2148.022 2148.075 2148.075 2148.155 2148.155 2148.264 2148.264 2148.4
2148.4 2148.56 2148.56 2148.736 2148.736 2148.923 2148.923 2148.817
2148.817 2148.929 2148.929 2148.888 2148.888 2148.903 2148.903 2148.948
2148.948 2148.79 2148.79 2148.779 2164.57 2162.972 2162.972 2161.777
2161.777 2160.208 2160.208 2158.629 2158.629 2157.133 2157.133 2155.641
2155.641 2154.182 2154.182 2152.759 2152.759 2151.38 2151.38 2150.067
2150.067 2148.972 2148.972 2148.501 2148.501 2148.552 2148.552 2148.564
2148.564 2148.649 2148.649 2148.784 2148.784 2148.952 2148.952 2149.126
2149.126 2149.3 2149.3 2149.117 2149.117 2149.242 2149.242 2149.145
2149.145 2149.057 2149.057 2148.635 2148.635 2148.534 2148.534 2148.38
2164.57 2162.972 2162.972 2161.777 2161.777 2160.208 2160.208 2158.629
2158.629 2157.133 2157.133 2155.641 2155.641 2154.182 2154.182 2152.759
2152.759 2151.38 2151.38 2150.067 2150.067 2148.972 2148.972 2148.501
2148.501 2148.552 2148.552 2148.564 2148.564 2148.649 2148.649 2148.784
2148.784 2148.952 2148.952 2149.126 2149.126 2149.3 2149.3 2149.117
2149.117 2149.242 2149.242 2149.145 2149.145 2149.057 2149.057 2148.635
2148.635 2148.534 2148.534 2148.38 2164.732 2163.138 2163.138 2162.01
2162.01 2160.48 2160.48 2158.937 2158.937 2157.472 2157.472 2156.018
2156.018 2154.599 2154.599 2153.219 2153.219 2151.927 2151.927 2150.688
2150.688 2149.66 2149.66 2148.94 2148.94 2148.845 2148.845 2149.084
2149.084 2149.093 2149.093 2149.194 2149.194 2149.352 2149.352 2149.597
2149.597 2149.691 2149.691 2149.633 2149.633 2149.521 2149.521 2149.361
2149.361 2148.776 2148.776 2148.531 2148.531 2148.306 2148.306 2148.086
2164.732 2163.138 2163.138 2162.01 2162.01 2160.48 2160.48 2158.937
2158.937 2157.472 2157.472 2156.018 2156.018 2154.599 2154.599 2153.219
2153.219 2151.927 2151.927 2150.688 2150.688 2149.66 2149.66 2148.94
2148.94 2148.845 2148.845 2149.084 2149.084 2149.093 2149.093 2149.194
2149.194 2149.352 2149.352 2149.597 2149.597 2149.691 2149.691 2149.633
2149.633 2149.521 2149.521 2149.361 2149.361 2148.776 2148.776 2148.531
2148.531 2148.306 2148.306 2148.086 2164.934 2163.354 2163.354 2162.271
2162.271 2160.788 2160.788 2159.294 2159.294 2157.84 2157.84 2156.474
2156.474 2155.11 2155.11 2153.752 2153.752 2152.468 2152.468 2151.295
2151.295 2150.322 2150.322 2149.571 2149.571 2149.448 2149.448 2149.127
2149.127 2149.007 2149.007 2149.578 2149.578 2149.727 2149.727 2149.979
2149.979 2150.089 2150.089 2149.957 2149.957 2149.791 2149.791 2149.187
2149.187 2148.772 2148.772 2148.4 2148.4 2148.077 2148.077 2147.805
2164.934 2163.354 2163.354 2162.271 2162.271 2160.788 2160.788 2159.294
2159.294 2157.84 2157.84 2156.474 2156.474 2155.11 2155.11 2153.752
2153.752 2152.468 2152.468 2151.295 2151.295 2150.322 2150.322 2149.571
2149.571 2149.448 2149.448 2149.127 2149.127 2149.007 2149.007 2149.578
2149.578 2149.727 2149.727 2149.979 2149.979 2150.089 2150.089 2149.957
2149.957 2149.791 2149.791 2149.187 2149.187 2148.772 2148.772 2148.4
2148.4 2148.077 2148.077 2147.805 2165.171 2163.612 2163.612 2162.55
2162.55 2161.124 2161.124 2159.693 2159.693 2158.306 2158.306 2156.96
2156.96 2155.574 2155.574 2154.276 2154.276 2153.041 2153.041 2151.916
2151.916 2150.948 2150.948 2150.163 2150.163 2149.581 2149.581 2149.563
2149.563 2149.364 2149.364 2149.385 2149.385 2150.102 2150.102 2150.313
2150.313 2150.479 2150.479 2150.301 2150.301 2150.049 2150.049 2149.256
2149.256 2148.706 2148.706 2148.218 2148.218 2147.815 2147.815 2147.506
2165.171 2163.612 2163.612 2162.55 2162.55 2161.124 2161.124 2159.693
2159.693 2158.306 2158.306 2156.96 2156.96 2155.574 2155.574 2154.276
2154.276 2153.041 2153.041 2151.916 2151.916 2150.948 2150.948 2150.163
2150.163 2149.581 2149.581 2149.563 2149.563 2149.364 2149.364 2149.385
2149.385 2150.102 2150.102 2150.313 2150.313 2150.479 2150.479 2150.301
2150.301 2150.049 2150.049 2149.256 2149.256 2148.706 2148.706 2148.218
2148.218 2147.815 2147.815 2147.506 2165.438 2163.906 2163.906 2162.837
2162.837 2161.481 2161.481 2160.126 2160.126 2158.82 2158.82 2157.344
2157.344 2156.082 2156.082 2154.832 2154.832 2153.63 2153.63 2152.524
2152.524 2151.539 2151.539 2150.709 2150.709 2150.059 2150.059 2149.91
2149.91 2149.621 2149.621 2149.698 2149.698 2149.937 2149.937 2150.518
2150.518 2150.836 2150.836 2150.652 2150.652 2149.956 2149.956 2149.236
2149.236 2148.546 2148.546 2147.949 2147.949 2147.483 2147.483 2147.159
2165.438 2163.906 2163.906 2162.837 2162.837 2161.481 2161.481 2160.126
2160.126 2158.82 2158.82 2157.344 2157.344 2156.082 2156.082 2154.832
2154.832 2153.63 2153.63 2152.524 2152.524 2151.539 2151.539 2150.709
2150.709 2150.059 2150.059 2149.91 2149.91 2149.621 2149.621 2149.698
2149.698 2149.937 2149.937 2150.518 2150.518 2150.836 2150.836 2150.652
2150.652 2149.956 2149.956 2149.236 2149.236 2148.546 2148.546 2147.949
2147.949 2147.483 2147.483 2147.159 2165.752 2164.229 2164.229 2163.128
2163.128 2161.855 2161.855 2160.407 2160.407 2159.114 2159.114 2157.842
2157.842 2156.598 2156.598 2155.412 2155.412 2154.23 2154.23 2153.116
2153.116 2152.096 2152.096 2151.211 2151.211 2150.485 2150.485 2149.938
2149.938 2149.738 2149.738 2149.806 2149.806 2150.091 2150.091 2150.511
2150.511 2151.043 2151.043 2150.768 2150.768 2149.952 2149.952 2149.079
2149.079 2148.243 2148.243 2147.548 2147.548 2147.044 2147.044 2146.737
2165.752 2164.229 2164.229 2163.128 2163.128 2161.855 2161.855 2160.407
2160.407 2159.114 2159.114 2157.842 2157.842 2156.598 2156.598 2155.412
2155.412 2154.23 2154.23 2153.116 2153.116 2152.096 2152.096 2151.211
2151.211 2150.485 2150.485 2149.938 2149.938 2149.738 2149.738 2149.806
2149.806 2150.091 2150.091 2150.511 2150.511 2151.043 2151.043 2150.768
2150.768 2149.952 2149.952 2149.079 2149.079 2148.243 2148.243 2147.548
2147.548 2147.044 2147.044 2146.737 2166.072 2164.574 2164.574 2163.427
2163.427 2162.098 2162.098 2160.833 2160.833 2159.581 2159.581 2158.351
2158.351 2157.157 2157.157 2156 2156 2154.848 2154.848 2153.687
2153.687 2152.618 2152.618 2151.678 2151.678 2150.673 2150.673 2150.179
2150.179 2149.823 2149.823 2149.963 2149.963 2150.228 2150.228 2150.554
2150.554 2150.779 2150.779 2150.45 2150.45 2149.597 2149.597 2148.515
2148.515 2147.481 2147.481 2146.694 2146.694 2146.218 2146.218 2146.025
2166.072 2164.574 2164.574 2163.427 2163.427 2162.098 2162.098 2160.833
2160.833 2159.581 2159.581 2158.351 2158.351 2157.157 2157.157 2156
2156 2154.848 2154.848 2153.687 2153.687 2152.618 2152.618 2151.678
2151.678 2150.673 2150.673 2150.179 2150.179 2149.823 2149.823 2149.963
2149.963 2150.228 2150.228 2150.554 2150.554 2150.779 2150.779 2150.45
2150.45 2149.597 2149.597 2148.515 2148.515 2147.481 2147.481 2146.694
2146.694 2146.218 2146.218 2146.025 2166.424 2164.946 2164.946 2163.705
2163.705 2162.53 2162.53 2161.016 2161.016 2159.723 2159.723 2158.469
2158.469 2157.273 2157.273 2156.153 2156.153 2155.025 2155.025 2153.866
2153.866 2152.823 2152.823 2151.907 2151.907 2151.134 2151.134 2150.525
2150.525 2150.158 2150.158 2150.143 2150.143 2150.198 2150.198 2150.326
2150.326 2150.365 2150.365 2150.131 2150.131 2149.338 2149.338 2147.99
2147.99 2146.734 2146.734 2145.974 2145.974 2145.702 2145.702 2145.779
2166.424 2164.946 2164.946 2163.705 2163.705 2162.53 2162.53 2161.016
2161.016 2159.723 2159.723 2158.469 2158.469 2157.273 2157.273 2156.153
2156.153 2155.025 2155.025 2153.866 2153.866 2152.823 2152.823 2151.907
2151.907 2151.134 2151.134 2150.525 2150.525 2150.158 2150.158 2150.143
2150.143 2150.198 2150.198 2150.326 2150.326 2150.365 2150.365 2150.131
2150.131 2149.338 2149.338 2147.99 2147.99 2146.734 2146.734 2145.974
2145.974 2145.702 2145.702 2145.779 2166.739 2165.392 2165.392 2164.139
2164.139 2162.842 2162.842 2161.519 2161.519 2160.318 2160.318 2159.075
2159.075 2157.858 2157.858 2156.672 2156.672 2155.576 2155.576 2154.479
2154.479 2153.272 2153.272 2152.323 2152.323 2151.503 2151.503 2150.915
2150.915 2150.397 2150.397 2150.267 2150.267 2150.109 2150.109 2150.043
2150.043 2149.926 2149.926 2149.66 2149.66 2148.91 2148.91 2147.115
2147.115 2145.654 2145.654 2144.945 2144.945 2144.986 2144.986 2145.575
2166.739 2165.392 2165.392 2164.139 2164.139 2162.842 2162.842 2161.519
2161.519 2160.318 2160.318 2159.075 2159.075 2157.858 2157.858 2156.672
2156.672 2155.576 2155.576 2154.479 2154.479 2153.272 2153.272 2152.323
2152.323 2151.503 2151.503 2150.915 2150.915 2150.397 2150.397 2150.267
2150.267 2150.109 2150.109 2150.043 2150.043 2149.926 2149.926 2149.66
2149.66 2148.91 2148.91 2147.115 2147.115 2145.654 2145.654 2144.945
2144.945 2144.986 2144.986 2145.575 2167.299 2165.855 2165.855 2164.472
2164.472 2163.413 2163.413 2162.132 2162.132 2160.859 2160.859 2159.604
2159.604 2158.369 2158.369 2157.156 2157.156 2156.085 2156.085 2154.972
2154.972 2153.921 2153.921 2152.945 2152.945 2151.853 2151.853 2151.2
2151.2 2150.571 2150.571 2150.305 2150.305 2149.984 2149.984 2149.771
2149.771 2149.463 2149.463 2148.858 2148.858 2147.742 2147.742 2146.009
2146.009 2144.274 2144.274 2143.727 2143.727 2144.52 2144.52 2145.424
2169.253 2168.196 2168.196 2167.163 2167.163 2166.323 2166.323 2165.574
2165.574 2164.779 2164.779 2164.027 2164.027 2163.311 2163.311 2162.659
2162.659 2162.109 2162.109 2161.711 2161.711 2161.541 2161.541 2161.688
2161.688 2162.171 2162.171 2162.56 2162.56 2162.614 2162.614 2162.767
2162.767 2162.995 2162.995 2163.214 2163.214 2163.33 2163.33 2163.281
2163.281 2163.068 2163.068 2162.85 2162.85 2162.451 2162.451 2162.005
2162.005 2161.52 2161.52 2160.988 2168.578 2167.437 2167.437 2166.542
2166.542 2165.482 2165.482 2164.508 2164.508 2163.695 2163.695 2162.796
2162.796 2161.92 2161.92 2161.043 2161.043 2160.289 2160.289 2159.648
2159.648 2159.193 2159.193 2159.038 2159.038 2159.27 2159.27 2159.784
2159.784 2160.303 2160.303 2160.837 2160.837 2161.393 2161.393 2161.883
2161.883 2162.204 2162.204 2162.237 2162.237 2162.123 2162.123 2161.787
2161.787 2161.397 2161.397 2160.979 2160.979 2160.537 2160.537 2160.065
2168.578 2167.437 2167.437 2166.542 2166.542 2165.482 2165.482 2164.508
2164.508 2163.695 2163.695 2162.796 2162.796 2161.92 2161.92 2161.043
2161.043 2160.289 2160.289 2159.648 2159.648 2159.193 2159.193 2159.038
2159.038 2159.27 2159.27 2159.784 2159.784 2160.303 2160.303 2160.837
2160.837 2161.393 2161.393 2161.883 2161.883 2162.204 2162.204 2162.237
2162.237 2162.123 2162.123 2161.787 2161.787 2161.397 2161.397 2160.979
2160.979 2160.537 2160.537 2160.065 2167.936 2166.713 2166.713 2165.802
2165.802 2164.656 2164.656 2163.563 2163.563 2162.517 2162.517 2161.592
2161.592 2160.553 2160.553 2159.537 2159.537 2158.557 2158.557 2157.587
2157.587 2156.767 2156.767 2156.18 2156.18 2156.255 2156.255 2157.012
2157.012 2157.947 2157.947 2158.85 2158.85 2159.705 2159.705 2160.526
2160.526 2161.135 2161.135 2161.268 2161.268 2160.986 2160.986 2160.63
2160.63 2160.257 2160.257 2159.878 2159.878 2159.491 2159.491 2159.091
2167.936 2166.713 2166.713 2165.802 2165.802 2164.656 2164.656 2163.563
2163.563 2162.517 2162.517 2161.592 2161.592 2160.553 2160.553 2159.537
2159.537 2158.557 2158.557 2157.587 2157.587 2156.767 2156.767 2156.18
2156.18 2156.255 2156.255 2157.012 2157.012 2157.947 2157.947 2158.85
2158.85 2159.705 2159.705 2160.526 2160.526 2161.135 2161.135 2161.268
2161.268 2160.986 2160.986 2160.63 2160.63 2160.257 2160.257 2159.878
2159.878 2159.491 2159.491 2159.091 2167.336 2166.344 2166.344 2165.084
2165.084 2163.856 2163.856 2162.661 2162.661 2161.495 2161.495 2160.466
2160.466 2159.278 2159.278 2158.098 2158.098 2156.93 2156.93 2155.776
2155.776 2154.623 2154.623 2153.45 2153.45 2153.216 2153.216 2154.545
2154.545 2155.798 2155.798 2156.928 2156.928 2157.975 2157.975 2159.012
2159.012 2159.97 2159.97 2160.024 2160.024 2159.727 2159.727 2159.427
2159.427 2159.124 2159.124 2158.81 2158.81 2158.478 2158.478 2158.115
2167.336 2166.344 2166.344 2165.084 2165.084 2163.856 2163.856 2162.661
2162.661 2161.495 2161.495 2160.466 2160.466 2159.278 2159.278 2158.098
2158.098 2156.93 2156.93 2155.776 2155.776 2154.623 2154.623 2153.45
2153.45 2153.216 2153.216 2154.545 2154.545 2155.798 2155.798 2156.928
2156.928 2157.975 2157.975 2159.012 2159.012 2159.97 2159.97 2160.024
2160.024 2159.727 2159.727 2159.427 2159.427 2159.124 2159.124 2158.81
2158.81 2158.478 2158.478 2158.115 2166.788 2165.721 2165.721 2164.402
2164.402 2163.1 2163.1 2161.815 2161.815 2160.546 2160.546 2159.291
2159.291 2158.126 2158.126 2156.819 2156.819 2155.529 2155.529 2154.27
2154.27 2153.057 2153.057 2151.984 2151.984 2151.841 2151.841 2152.961
2152.961 2154.172 2154.172 2155.298 2155.298 2156.322 2156.322 2157.234
2157.234 2157.91 2157.91 2158.299 2158.299 2158.186 2158.186 2157.993
2157.993 2157.771 2157.771 2157.528 2157.528 2157.254 2157.254 2156.936
2166.788 2165.721 2165.721 2164.402 2164.402 2163.1 2163.1 2161.815
2161.815 2160.546 2160.546 2159.291 2159.291 2158.126 2158.126 2156.819
2156.819 2155.529 2155.529 2154.27 2154.27 2153.057 2153.057 2151.984
2151.984 2151.841 2151.841 2152.961 2152.961 2154.172 2154.172 2155.298
2155.298 2156.322 2156.322 2157.234 2157.234 2157.91 2157.91 2158.299
2158.299 2158.186 2158.186 2157.993 2157.993 2157.771 2157.771 2157.528
2157.528 2157.254 2157.254 2156.936 2166.518 2165.142 2165.142 2163.771
2163.771 2162.404 2162.404 2161.042 2161.042 2159.687 2159.687 2158.338
2158.338 2156.998 2156.998 2155.717 2155.717 2154.365 2154.365 2153.105
2153.105 2152.017 2152.017 2151.365 2151.365 2151.244 2151.244 2151.8
2151.8 2152.861 2152.861 2153.797 2153.797 2154.665 2154.665 2155.4
2155.4 2155.911 2155.911 2156.488 2156.488 2156.506 2156.506 2156.424
2156.424 2156.339 2156.339 2156.187 2156.187 2155.988 2155.988 2155.726
2166.518 2165.142 2165.142 2163.771 2163.771 2162.404 2162.404 2161.042
2161.042 2159.687 2159.687 2158.338 2158.338 2156.998 2156.998 2155.717
2155.717 2154.365 2154.365 2153.105 2153.105 2152.017 2152.017 2151.365
2151.365 2151.244 2151.244 2151.8 2151.8 2152.861 2152.861 2153.797
2153.797 2154.665 2154.665 2155.4 2155.4 2155.911 2155.911 2156.488
2156.488 2156.506 2156.506 2156.424 2156.424 2156.339 2156.339 2156.187
2156.187 2155.988 2155.988 2155.726 2166.029 2164.622 2164.622 2163.205
2163.205 2161.782 2161.782 2160.356 2160.356 2158.93 2158.93 2157.507
2157.507 2156.094 2156.094 2154.704 2154.704 2153.393 2153.393 2152.156
2152.156 2151.191 2151.191 2150.726 2150.726 2150.621 2150.621 2150.949
2150.949 2151.549 2151.549 2152.509 2152.509 2153.161 2153.161 2153.705
2153.705 2154.087 2154.087 2154.739 2154.739 2154.827 2154.827 2154.847
2154.847 2154.83 2154.83 2154.828 2154.828 2154.722 2154.722 2154.537
2166.029 2164.622 2164.622 2163.205 2163.205 2161.782 2161.782 2160.356
2160.356 2158.93 2158.93 2157.507 2157.507 2156.094 2156.094 2154.704
2154.704 2153.393 2153.393 2152.156 2152.156 2151.191 2151.191 2150.726
2150.726 2150.621 2150.621 2150.949 2150.949 2151.549 2151.549 2152.509
2152.509 2153.161 2153.161 2153.705 2153.705 2154.087 2154.087 2154.739
2154.739 2154.827 2154.827 2154.847 2154.847 2154.83 2154.83 2154.828
2154.828 2154.722 2154.722 2154.537 2165.616 2164.176 2164.176 2162.716
2162.716 2161.244 2161.244 2159.764 2159.764 2158.282 2158.282 2156.804
2156.804 2155.338 2155.338 2153.9 2153.9 2152.521 2152.521 2151.312
2151.312 2150.517 2150.517 2150.081 2150.081 2149.994 2149.994 2150.19
2150.19 2150.581 2150.581 2151.062 2151.062 2151.844 2151.844 2152.195
2152.195 2152.442 2152.442 2153.073 2153.073 2153.184 2153.184 2153.283
2153.283 2153.375 2153.375 2153.439 2153.439 2153.448 2153.448 2153.405
2165.616 2164.176 2164.176 2162.716 2162.716 2161.244 2161.244 2159.764
2159.764 2158.282 2158.282 2156.804 2156.804 2155.338 2155.338 2153.9
2153.9 2152.521 2152.521 2151.312 2151.312 2150.517 2150.517 2150.081
2150.081 2149.994 2149.994 2150.19 2150.19 2150.581 2150.581 2151.062
2151.062 2151.844 2151.844 2152.195 2152.195 2152.442 2152.442 2153.073
2153.073 2153.184 2153.184 2153.283 2153.283 2153.375 2153.375 2153.439
2153.439 2153.448 2153.448 2153.405 2165.272 2163.78 2163.78 2162.274
2162.274 2160.754 2160.754 2159.228 2159.228 2157.704 2157.704 2156.192
2156.192 2154.705 2154.705 2153.255 2153.255 2151.85 2151.85 2150.529
2150.529 2149.804 2149.804 2149.516 2149.516 2149.429 2149.429 2149.524
2149.524 2149.751 2149.751 2150.044 2150.044 2150.334 2150.334 2150.88
2150.88 2150.971 2150.971 2151.035 2151.035 2151.591 2151.591 2151.762
2151.762 2151.972 2151.972 2152.166 2152.166 2152.294 2152.294 2152.327
2165.272 2163.78 2163.78 2162.274 2162.274 2160.754 2160.754 2159.228
2159.228 2157.704 2157.704 2156.192 2156.192 2154.705 2154.705 2153.255
2153.255 2151.85 2151.85 2150.529 2150.529 2149.804 2149.804 2149.516
2149.516 2149.429 2149.429 2149.524 2149.524 2149.751 2149.751 2150.044
2150.044 2150.334 2150.334 2150.88 2150.88 2150.971 2150.971 2151.035
2151.035 2151.591 2151.591 2151.762 2151.762 2151.972 2151.972 2152.166
2152.166 2152.294 2152.294 2152.327 2165.006 2163.471 2163.471 2161.929
2161.929 2160.381 2160.381 2158.831 2158.831 2157.286 2157.286 2155.759
2155.759 2154.261 2154.261 2152.81 2152.81 2151.429 2151.429 2150.231
2150.231 2149.361 2149.361 2149.129 2149.129 2148.986 2148.986 2148.975
2148.975 2149.067 2149.067 2149.204 2149.204 2149.33 2149.33 2149.404
2149.404 2149.675 2149.675 2149.602 2149.602 2150.049 2150.049 2150.307
2150.307 2150.665 2150.665 2151.004 2151.004 2151.255 2151.255 2151.385
2165.006 2163.471 2163.471 2161.929 2161.929 2160.381 2160.381 2158.831
2158.831 2157.286 2157.286 2155.759 2155.759 2154.261 2154.261 2152.81
2152.81 2151.429 2151.429 2150.231 2150.231 2149.361 2149.361 2149.129
2149.129 2148.986 2148.986 2148.975 2148.975 2149.067 2149.067 2149.204
2149.204 2149.33 2149.33 2149.404 2149.404 2149.675 2149.675 2149.602
2149.602 2150.049 2150.049 2150.307 2150.307 2150.665 2150.665 2151.004
2151.004 2151.255 2151.255 2151.385 2164.652 2163.232 2163.232 2161.662
2161.662 2160.089 2160.089 2158.52 2158.52 2156.961 2156.961 2155.426
2155.426 2153.931 2153.931 2152.693 2152.693 2151.308 2151.308 2150.094
2150.094 2149.238 2149.238 2148.569 2148.569 2148.578 2148.578 2148.456
2148.456 2148.43 2148.43 2148.554 2148.554 2148.553 2148.553 2148.479
2148.479 2148.319 2148.319 2148.296 2148.296 2148.55 2148.55 2148.966
2148.966 2149.524 2149.524 2150.042 2150.042 2150.373 2150.373 2150.556
2164.652 2163.232 2163.232 2161.662 2161.662 2160.089 2160.089 2158.52
2158.52 2156.961 2156.961 2155.426 2155.426 2153.931 2153.931 2152.693
2152.693 2151.308 2151.308 2150.094 2150.094 2149.238 2149.238 2148.569
2148.569 2148.578 2148.578 2148.456 2148.456 2148.43 2148.43 2148.554
2148.554 2148.553 2148.553 2148.479 2148.479 2148.319 2148.319 2148.296
2148.296 2148.55 2148.55 2148.966 2148.966 2149.524 2149.524 2150.042
2150.042 2150.373 2150.373 2150.556 2164.49 2163.057 2163.057 2161.466
2161.466 2159.875 2159.875 2158.292 2158.292 2156.724 2156.724 2155.186
2155.186 2153.933 2153.933 2152.486 2152.486 2151.145 2151.145 2149.969
2149.969 2149.132 2149.132 2148.412 2148.412 2147.904 2147.904 2148.078
2148.078 2147.984 2147.984 2147.931 2147.931 2147.858 2147.858 2147.707
2147.707 2147.432 2147.432 2147.094 2147.094 2147.11 2147.11 2147.904
2147.904 2148.649 2148.649 2149.238 2149.238 2149.651 2149.651 2149.888
2164.49 2163.057 2163.057 2161.466 2161.466 2159.875 2159.875 2158.292
2158.292 2156.724 2156.724 2155.186 2155.186 2153.933 2153.933 2152.486
2152.486 2151.145 2151.145 2149.969 2149.969 2149.132 2149.132 2148.412
2148.412 2147.904 2147.904 2148.078 2148.078 2147.984 2147.984 2147.931
2147.931 2147.858 2147.858 2147.707 2147.707 2147.432 2147.432 2147.094
2147.094 2147.11 2147.11 2147.904 2147.904 2148.649 2148.649 2149.238
2149.238 2149.651 2149.651 2149.888 2164.395 2162.819 2162.819 2161.338
2161.338 2159.736 2159.736 2158.144 2158.144 2156.572 2156.572 2155.278
2155.278 2153.785 2153.785 2152.353 2152.353 2151.024 2151.024 2149.852
2149.852 2149.015 2149.015 2148.275 2148.275 2147.763 2147.763 2147.432
2147.432 2147.232 2147.232 2147.625 2147.625 2147.551 2147.551 2147.407
2147.407 2147.134 2147.134 2146.676 2146.676 2146.693 2146.693 2147.415
2147.415 2148.16 2148.16 2148.76 2148.76 2149.185 2149.185 2149.424
2164.395 2162.819 2162.819 2161.338 2161.338 2159.736 2159.736 2158.144
2158.144 2156.572 2156.572 2155.278 2155.278 2153.785 2153.785 2152.353
2152.353 2151.024 2151.024 2149.852 2149.852 2149.015 2149.015 2148.275
2148.275 2147.763 2147.763 2147.432 2147.432 2147.232 2147.232 2147.625
2147.625 2147.551 2147.551 2147.407 2147.407 2147.134 2147.134 2146.676
2146.676 2146.693 2146.693 2147.415 2147.415 2148.16 2148.16 2148.76
2148.76 2149.185 2149.185 2149.424 2164.358 2162.789 2162.789 2161.276
2161.276 2159.669 2159.669 2158.244 2158.244 2156.724 2156.724 2155.212
2155.212 2153.725 2153.725 2152.289 2152.289 2150.945 2150.945 2149.745
2149.745 2148.879 2148.879 2148.138 2148.138 2147.654 2147.654 2147.371
2147.371 2147.232 2147.232 2147.19 2147.19 2147.504 2147.504 2147.34
2147.34 2147.255 2147.255 2147.106 2147.106 2147.281 2147.281 2147.625
2147.625 2148.102 2148.102 2148.6 2148.6 2148.972 2148.972 2149.036
2164.358 2162.789 2162.789 2161.276 2161.276 2159.669 2159.669 2158.244
2158.244 2156.724 2156.724 2155.212 2155.212 2153.725 2153.725 2152.289
2152.289 2150.945 2150.945 2149.745 2149.745 2148.879 2148.879 2148.138
2148.138 2147.654 2147.654 2147.371 2147.371 2147.232 2147.232 2147.19
2147.19 2147.504 2147.504 2147.34 2147.34 2147.255 2147.255 2147.106
2147.106 2147.281 2147.281 2147.625 2147.625 2148.102 2148.102 2148.6
2148.6 2148.972 2148.972 2149.036 2164.319 2162.77 2162.77 2161.237
2161.237 2159.748 2159.748 2158.257 2158.257 2156.755 2156.755 2155.252
2155.252 2153.763 2153.763 2152.31 2152.31 2150.925 2150.925 2149.663
2149.663 2148.613 2148.613 2147.99 2147.99 2147.574 2147.574 2147.371
2147.371 2147.311 2147.311 2147.209 2147.209 2147.347 2147.347 2147.664
2147.664 2147.791 2147.791 2147.842 2147.842 2147.882 2147.882 2148.02
2148.02 2148.33 2148.33 2148.665 2148.665 2148.975 2148.975 2148.959
2164.319 2162.77 2162.77 2161.237 2161.237 2159.748 2159.748 2158.257
2158.257 2156.755 2156.755 2155.252 2155.252 2153.763 2153.763 2152.31
2152.31 2150.925 2150.925 2149.663 2149.663 2148.613 2148.613 2147.99
2147.99 2147.574 2147.574 2147.371 2147.371 2147.311 2147.311 2147.209
2147.209 2147.347 2147.347 2147.664 2147.664 2147.791 2147.791 2147.842
2147.842 2147.882 2147.882 2148.02 2148.02 2148.33 2148.33 2148.665
2148.665 2148.975 2148.975 2148.959 2164.34 2162.783 2162.783 2161.226
2161.226 2159.795 2159.795 2158.227 2158.227 2156.678 2156.678 2155.158
2155.158 2153.917 2153.917 2152.443 2152.443 2151.007 2151.007 2149.647
2149.647 2148.477 2148.477 2147.845 2147.845 2147.558 2147.558 2147.346
2147.346 2147.348 2147.348 2147.459 2147.459 2147.674 2147.674 2147.993
2147.993 2148.424 2148.424 2148.39 2148.39 2148.403 2148.403 2148.564
2148.564 2148.7 2148.7 2148.892 2148.892 2149.101 2149.101 2148.901
2164.34 2162.783 2162.783 2161.226 2161.226 2159.795 2159.795 2158.227
2158.227 2156.678 2156.678 2155.158 2155.158 2153.917 2153.917 2152.443
2152.443 2151.007 2151.007 2149.647 2149.647 2148.477 2148.477 2147.845
2147.845 2147.558 2147.558 2147.346 2147.346 2147.348 2147.348 2147.459
2147.459 2147.674 2147.674 2147.993 2147.993 2148.424 2148.424 2148.39
2148.39 2148.403 2148.403 2148.564 2148.564 2148.7 2148.7 2148.892
2148.892 2149.101 2149.101 2148.901 2164.394 2162.862 2162.862 2161.266
2161.266 2159.978 2159.978 2158.41 2158.41 2156.866 2156.866 2155.353
2155.353 2153.872 2153.872 2152.428 2152.428 2151.028 2151.028 2149.682
2149.682 2148.398 2148.398 2148.022 2148.022 2148.075 2148.075 2148.155
2148.155 2148.264 2148.264 2148.4 2148.4 2148.56 2148.56 2148.736
2148.736 2148.923 2148.923 2148.817 2148.817 2148.929 2148.929 2148.888
2148.888 2148.903 2148.903 2148.948 2148.948 2148.79 2148.79 2148.779
2164.394 2162.862 2162.862 2161.266 2161.266 2159.978 2159.978 2158.41
2158.41 2156.866 2156.866 2155.353 2155.353 2153.872 2153.872 2152.428
2152.428 2151.028 2151.028 2149.682 2149.682 2148.398 2148.398 2148.022
2148.022 2148.075 2148.075 2148.155 2148.155 2148.264 2148.264 2148.4
2148.4 2148.56 2148.56 2148.736 2148.736 2148.923 2148.923 2148.817
2148.817 2148.929 2148.929 2148.888 2148.888 2148.903 2148.903 2148.948
2148.948 2148.79 2148.79 2148.779 2164.57 2162.972 2162.972 2161.777
2161.777 2160.208 2160.208 2158.629 2158.629 2157.133 2157.133 2155.641
2155.641 2154.182 2154.182 2152.759 2152.759 2151.38 2151.38 2150.067
2150.067 2148.972 2148.972 2148.501 2148.501 2148.552 2148.552 2148.564
2148.564 2148.649 2148.649 2148.784 2148.784 2148.952 2148.952 2149.126
2149.126 2149.3 2149.3 2149.117 2149.117 2149.242 2149.242 2149.145
2149.145 2149.057 2149.057 2148.635 2148.635 2148.534 2148.534 2148.38
2164.57 2162.972 2162.972 2161.777 2161.777 2160.208 2160.208 2158.629
2158.629 2157.133 2157.133 2155.641 2155.641 2154.182 2154.182 2152.759
2152.759 2151.38 2151.38 2150.067 2150.067 2148.972 2148.972 2148.501
2148.501 2148.552 2148.552 2148.564 2148.564 2148.649 2148.649 2148.784
2148.784 2148.952 2148.952 2149.126 2149.126 2149.3 2149.3 2149.117
2149.117 2149.242 2149.242 2149.145 2149.145 2149.057 2149.057 2148.635
2148.635 2148.534 2148.534 2148.38 2164.732 2163.138 2163.138 2162.01
2162.01 2160.48 2160.48 2158.937 2158.937 2157.472 2157.472 2156.018
2156.018 2154.599 2154.599 2153.219 2153.219 2151.927 2151.927 2150.688
2150.688 2149.66 2149.66 2148.94 2148.94 2148.845 2148.845 2149.084
2149.084 2149.093 2149.093 2149.194 2149.194 2149.352 2149.352 2149.597
2149.597 2149.691 2149.691 2149.633 2149.633 2149.521 2149.521 2149.361
2149.361 2148.776 2148.776 2148.531 2148.531 2148.306 2148.306 2148.086
2164.732 2163.138 2163.138 2162.01 2162.01 2160.48 2160.48 2158.937
2158.937 2157.472 2157.472 2156.018 2156.018 2154.599 2154.599 2153.219
2153.219 2151.927 2151.927 2150.688 2150.688 2149.66 2149.66 2148.94
2148.94 2148.845 2148.845 2149.084 2149.084 2149.093 2149.093 2149.194
2149.194 2149.352 2149.352 2149.597 2149.597 2149.691 2149.691 2149.633
2149.633 2149.521 2149.521 2149.361 2149.361 2148.776 2148.776 2148.531
2148.531 2148.306 2148.306 2148.086 2164.934 2163.354 2163.354 2162.271
2162.271 2160.788 2160.788 2159.294 2159.294 2157.84 2157.84 2156.474
2156.474 2155.11 2155.11 2153.752 2153.752 2152.468 2152.468 2151.295
2151.295 2150.322 2150.322 2149.571 2149.571 2149.448 2149.448 2149.127
2149.127 2149.007 2149.007 2149.578 2149.578 2149.727 2149.727 2149.979
2149.979 2150.089 2150.089 2149.957 2149.957 2149.791 2149.791 2149.187
2149.187 2148.772 2148.772 2148.4 2148.4 2148.077 2148.077 2147.805
2164.934 2163.354 2163.354 2162.271 2162.271 2160.788 2160.788 2159.294
2159.294 2157.84 2157.84 2156.474 2156.474 2155.11 2155.11 2153.752
2153.752 2152.468 2152.468 2151.295 2151.295 2150.322 2150.322 2149.571
2149.571 2149.448 2149.448 2149.127 2149.127 2149.007 2149.007 2149.578
2149.578 2149.727 2149.727 2149.979 2149.979 2150.089 2150.089 2149.957
2149.957 2149.791 2149.791 2149.187 2149.187 2148.772 2148.772 2148.4
2148.4 2148.077 2148.077 2147.805 2165.171 2163.612 2163.612 2162.55
2162.55 2161.124 2161.124 2159.693 2159.693 2158.306 2158.306 2156.96
2156.96 2155.574 2155.574 2154.276 2154.276 2153.041 2153.041 2151.916
2151.916 2150.948 2150.948 2150.163 2150.163 2149.581 2149.581 2149.563
2149.563 2149.364 2149.364 2149.385 2149.385 2150.102 2150.102 2150.313
2150.313 2150.479 2150.479 2150.301 2150.301 2150.049 2150.049 2149.256
2149.256 2148.706 2148.706 2148.218 2148.218 2147.815 2147.815 2147.506
2165.171 2163.612 2163.612 2162.55 2162.55 2161.124 2161.124 2159.693
2159.693 2158.306 2158.306 2156.96 2156.96 2155.574 2155.574 2154.276
2154.276 2153.041 2153.041 2151.916 2151.916 2150.948 2150.948 2150.163
2150.163 2149.581 2149.581 2149.563 2149.563 2149.364 2149.364 2149.385
2149.385 2150.102 2150.102 2150.313 2150.313 2150.479 2150.479 2150.301
2150.301 2150.049 2150.049 2149.256 2149.256 2148.706 2148.706 2148.218
2148.218 2147.815 2147.815 2147.506 2165.438 2163.906 2163.906 2162.837
2162.837 2161.481 2161.481 2160.126 2160.126 2158.82 2158.82 2157.344
2157.344 2156.082 2156.082 2154.832 2154.832 2153.63 2153.63 2152.524
2152.524 2151.539 2151.539 2150.709 2150.709 2150.059 2150.059 2149.91
2149.91 2149.621 2149.621 2149.698 2149.698 2149.937 2149.937 2150.518
2150.518 2150.836 2150.836 2150.652 2150.652 2149.956 2149.956 2149.236
2149.236 2148.546 2148.546 2147.949 2147.949 2147.483 2147.483 2147.159
2165.438 2163.906 2163.906 2162.837 2162.837 2161.481 2161.481 2160.126
2160.126 2158.82 2158.82 2157.344 2157.344 2156.082 2156.082 2154.832
2154.832 2153.63 2153.63 2152.524 2152.524 2151.539 2151.539 2150.709
2150.709 2150.059 2150.059 2149.91 2149.91 2149.621 2149.621 2149.698
2149.698 2149.937 2149.937 2150.518 2150.518 2150.836 2150.836 2150.652
2150.652 2149.956 2149.956 2149.236 2149.236 2148.546 2148.546 2147.949
2147.949 2147.483 2147.483 2147.159 2165.752 2164.229 2164.229 2163.128
2163.128 2161.855 2161.855 2160.407 2160.407 2159.114 2159.114 2157.842
2157.842 2156.598 2156.598 2155.412 2155.412 2154.23 2154.23 2153.116
2153.116 2152.096 2152.096 2151.211 2151.211 2150.485 2150.485 2149.938
2149.938 2149.738 2149.738 2149.806 2149.806 2150.091 2150.091 2150.511
2150.511 2151.043 2151.043 2150.768 2150.768 2149.952 2149.952 2149.079
2149.079 2148.243 2148.243 2147.548 2147.548 2147.044 2147.044 2146.737
2165.752 2164.229 2164.229 2163.128 2163.128 2161.855 2161.855 2160.407
2160.407 2159.114 2159.114 2157.842 2157.842 2156.598 2156.598 2155.412
2155.412 2154.23 2154.23 2153.116 2153.116 2152.096 2152.096 2151.211
2151.211 2150.485 2150.485 2149.938 2149.938 2149.738 2149.738 2149.806
2149.806 2150.091 2150.091 2150.511 2150.511 2151.043 2151.043 2150.768
2150.768 2149.952 2149.952 2149.079 2149.079 2148.243 2148.243 2147.548
2147.548 2147.044 2147.044 2146.737 2166.072 2164.574 2164.574 2163.427
2163.427 2162.098 2162.098 2160.833 2160.833 2159.581 2159.581 2158.351
2158.351 2157.157 2157.157 2156 2156 2154.848 2154.848 2153.687
2153.687 2152.618 2152.618 2151.678 2151.678 2150.673 2150.673 2150.179
2150.179 2149.823 2149.823 2149.963 2149.963 2150.228 2150.228 2150.554
2150.554 2150.779 2150.779 2150.45 2150.45 2149.597 2149.597 2148.515
2148.515 2147.481 2147.481 2146.694 2146.694 2146.218 2146.218 2146.025
2166.072 2164.574 2164.574 2163.427 2163.427 2162.098 2162.098 2160.833
2160.833 2159.581 2159.581 2158.351 2158.351 2157.157 2157.157 2156
2156 2154.848 2154.848 2153.687 2153.687 2152.618 2152.618 2151.678
2151.678 2150.673 2150.673 2150.179 2150.179 2149.823 2149.823 2149.963
2149.963 2150.228 2150.228 2150.554 2150.554 2150.779 2150.779 2150.45
2150.45 2149.597 2149.597 2148.515 2148.515 2147.481 2147.481 2146.694
2146.694 2146.218 2146.218 2146.025 2166.424 2164.946 2164.946 2163.705
2163.705 2162.53 2162.53 2161.016 2161.016 2159.723 2159.723 2158.469
2158.469 2157.273 2157.273 2156.153 2156.153 2155.025 2155.025 2153.866
2153.866 2152.823 2152.823 2151.907 2151.907 2151.134 2151.134 2150.525
2150.525 2150.158 2150.158 2150.143 2150.143 2150.198 2150.198 2150.326
2150.326 2150.365 2150.365 2150.131 2150.131 2149.338 2149.338 2147.99
2147.99 2146.734 2146.734 2145.974 2145.974 2145.702 2145.702 2145.779
2166.424 2164.946 2164.946 2163.705 2163.705 2162.53 2162.53 2161.016
2161.016 2159.723 2159.723 2158.469 2158.469 2157.273 2157.273 2156.153
2156.153 2155.025 2155.025 2153.866 2153.866 2152.823 2152.823 2151.907
2151.907 2151.134 2151.134 2150.525 2150.525 2150.158 2150.158 2150.143
2150.143 2150.198 2150.198 2150.326 2150.326 2150.365 2150.365 2150.131
2150.131 2149.338 2149.338 2147.99 2147.99 2146.734 2146.734 2145.974
2145.974 2145.702 2145.702 2145.779 2166.739 2165.392 2165.392 2164.139
2164.139 2162.842 2162.842 2161.519 2161.519 2160.318 2160.318 2159.075
2159.075 2157.858 2157.858 2156.672 2156.672 2155.576 2155.576 2154.479
2154.479 2153.272 2153.272 2152.323 2152.323 2151.503 2151.503 2150.915
2150.915 2150.397 2150.397 2150.267 2150.267 2150.109 2150.109 2150.043
2150.043 2149.926 2149.926 2149.66 2149.66 2148.91 2148.91 2147.115
2147.115 2145.654 2145.654 2144.945 2144.945 2144.986 2144.986 2145.575
2166.739 2165.392 2165.392 2164.139 2164.139 2162.842 2162.842 2161.519
2161.519 2160.318 2160.318 2159.075 2159.075 2157.858 2157.858 2156.672
2156.672 2155.576 2155.576 2154.479 2154.479 2153.272 2153.272 2152.323
2152.323 2151.503 2151.503 2150.915 2150.915 2150.397 2150.397 2150.267
2150.267 2150.109 2150.109 2150.043 2150.043 2149.926 2149.926 2149.66
2149.66 2148.91 2148.91 2147.115 2147.115 2145.654 2145.654 2144.945
2144.945 2144.986 2144.986 2145.575 2167.299 2165.855 2165.855 2164.472
2164.472 2163.413 2163.413 2162.132 2162.132 2160.859 2160.859 2159.604
2159.604 2158.369 2158.369 2157.156 2157.156 2156.085 2156.085 2154.972
2154.972 2153.921 2153.921 2152.945 2152.945 2151.853 2151.853 2151.2
2151.2 2150.571 2150.571 2150.305 2150.305 2149.984 2149.984 2149.771
2149.771 2149.463 2149.463 2148.858 2148.858 2147.742 2147.742 2146.009
2146.009 2144.274 2144.274 2143.727 2143.727 2144.52 2144.52 2145.424
2177.198 2176.135 2176.135 2175.088 2175.088 2174.228 2174.228 2173.436
2173.436 2172.584 2172.584 2171.772 2171.772 2170.983 2170.983 2170.237
2170.237 2169.568 2169.568 2169.016 2169.016 2168.644 2168.644 2168.526
2168.526 2168.699 2168.699 2168.965 2168.965 2169.172 2169.172 2169.485
2169.485 2169.852 2169.852 2170.187 2170.187 2170.401 2170.401 2170.434
2170.434 2170.29 2170.29 2170.136 2170.136 2169.804 2169.804 2169.431
2169.431 2169.031 2169.031 2168.601 2176.699 2175.564 2175.564 2174.67
2174.67 2173.605 2173.605 2172.619 2172.619 2171.757 2171.757 2170.824
2170.824 2169.903 2169.903 2168.948 2168.948 2168.119 2168.119 2167.384
2167.384 2166.804 2166.804 2166.485 2166.485 2166.527 2166.527 2166.911
2166.911 2167.419 2167.419 2168.001 2168.001 2168.616 2168.616 2169.173
2169.173 2169.555 2169.555 2169.635 2169.635 2169.557 2169.557 2169.255
2169.255 2168.906 2168.906 2168.54 2168.54 2168.165 2168.165 2167.776
2176.699 2175.564 2175.564 2174.67 2174.67 2173.605 2173.605 2172.619
2172.619 2171.757 2171.757 2170.824 2170.824 2169.903 2169.903 2168.948
2168.948 2168.119 2168.119 2167.384 2167.384 2166.804 2166.804 2166.485
2166.485 2166.527 2166.527 2166.911 2166.911 2167.419 2167.419 2168.001
2168.001 2168.616 2168.616 2169.173 2169.173 2169.555 2169.555 2169.635
2169.635 2169.557 2169.557 2169.255 2169.255 2168.906 2168.906 2168.54
2168.54 2168.165 2168.165 2167.776 2176.235 2175.031 2175.031 2174.134
2174.134 2172.997 2172.997 2171.909 2171.909 2170.862 2170.862 2169.893
2169.893 2168.84 2168.84 2167.804 2167.804 2166.799 2166.799 2165.783
2165.783 2164.938 2164.938 2164.309 2164.309 2164.264 2164.264 2164.842
2164.842 2165.645 2165.645 2166.486 2166.486 2167.326 2167.326 2168.15
2168.15 2168.784 2168.784 2168.923 2168.923 2168.635 2168.635 2168.282
2168.282 2167.923 2167.923 2167.573 2167.573 2167.232 2167.232 2166.897
2176.235 2175.031 2175.031 2174.134 2174.134 2172.997 2172.997 2171.909
2171.909 2170.862 2170.862 2169.893 2169.893 2168.84 2168.84 2167.804
2167.804 2166.799 2166.799 2165.783 2165.783 2164.938 2164.938 2164.309
2164.309 2164.264 2164.264 2164.842 2164.842 2165.645 2165.645 2166.486
2166.486 2167.326 2167.326 2168.15 2168.15 2168.784 2168.784 2168.923
2168.923 2168.635 2168.635 2168.282 2168.282 2167.923 2167.923 2167.573
2167.573 2167.232 2167.232 2166.897 2175.811 2174.85 2174.85 2173.617
2173.617 2172.412 2172.412 2171.238 2171.238 2170.09 2170.09 2169.037
2169.037 2167.864 2167.864 2166.698 2166.698 2165.55 2165.55 2164.426
2164.426 2163.324 2163.324 2162.233 2162.233 2161.957 2161.957 2162.985
2162.985 2164.014 2164.014 2165.002 2165.002 2165.968 2165.968 2166.988
2166.988 2167.92 2167.92 2167.932 2167.932 2167.602 2167.602 2167.283
2167.283 2166.973 2166.973 2166.668 2166.668 2166.36 2166.36 2166.04
2175.811 2174.85 2174.85 2173.617 2173.617 2172.412 2172.412 2171.238
2171.238 2170.09 2170.09 2169.037 2169.037 2167.864 2167.864 2166.698
2166.698 2165.55 2165.55 2164.426 2164.426 2163.324 2163.324 2162.233
2162.233 2161.957 2161.957 2162.985 2162.985 2164.014 2164.014 2165.002
2165.002 2165.968 2165.968 2166.988 2166.988 2167.92 2167.92 2167.932
2167.932 2167.602 2167.602 2167.283 2167.283 2166.973 2166.973 2166.668
2166.668 2166.36 2166.36 2166.04 2175.433 2174.409 2174.409 2173.129
2173.129 2171.864 2171.864 2170.614 2170.614 2169.38 2169.38 2168.16
2168.16 2166.992 2166.992 2165.727 2165.727 2164.486 2164.486 2163.285
2163.285 2162.145 2162.145 2161.148 2161.148 2160.962 2160.962 2161.84
2161.84 2162.827 2162.827 2163.782 2163.782 2164.684 2164.684 2165.512
2165.512 2166.133 2166.133 2166.439 2166.439 2166.241 2166.241 2166.01
2166.01 2165.763 2165.763 2165.51 2165.51 2165.245 2165.245 2164.959
2175.433 2174.409 2174.409 2173.129 2173.129 2171.864 2171.864 2170.614
2170.614 2169.38 2169.38 2168.16 2168.16 2166.992 2166.992 2165.727
2165.727 2164.486 2164.486 2163.285 2163.285 2162.145 2162.145 2161.148
2161.148 2160.962 2160.962 2161.84 2161.84 2162.827 2162.827 2163.782
2163.782 2164.684 2164.684 2165.512 2165.512 2166.133 2166.133 2166.439
2166.439 2166.241 2166.241 2166.01 2166.01 2165.763 2165.763 2165.51
2165.51 2165.245 2165.245 2164.959 2175.326 2174.003 2174.003 2172.681
2172.681 2171.362 2171.362 2170.049 2170.049 2168.741 2168.741 2167.443
2167.443 2166.156 2166.156 2164.897 2164.897 2163.608 2163.608 2162.41
2162.41 2161.371 2161.371 2160.752 2160.752 2160.554 2160.554 2160.946
2160.946 2161.816 2161.816 2162.583 2162.583 2163.315 2163.315 2163.946
2163.946 2164.38 2164.38 2164.83 2164.83 2164.781 2164.781 2164.641
2164.641 2164.461 2164.461 2164.283 2164.283 2164.08 2164.08 2163.839
2175.326 2174.003 2174.003 2172.681 2172.681 2171.362 2171.362 2170.049
2170.049 2168.741 2168.741 2167.443 2167.443 2166.156 2166.156 2164.897
2164.897 2163.608 2163.608 2162.41 2162.41 2161.371 2161.371 2160.752
2160.752 2160.554 2160.554 2160.946 2160.946 2161.816 2161.816 2162.583
2162.583 2163.315 2163.315 2163.946 2163.946 2164.38 2164.38 2164.83
2164.83 2164.781 2164.781 2164.641 2164.641 2164.461 2164.461 2164.283
2164.283 2164.08 2164.08 2163.839 2174.99 2173.642 2173.642 2172.284
2172.284 2170.918 2170.918 2169.55 2169.55 2168.182 2168.182 2166.82
2166.82 2165.472 2165.472 2164.149 2164.149 2162.876 2162.876 2161.696
2161.696 2160.75 2160.75 2160.281 2160.281 2160.09 2160.09 2160.282
2160.282 2160.725 2160.725 2161.526 2161.526 2162.042 2162.042 2162.474
2162.474 2162.767 2162.767 2163.261 2163.261 2163.268 2163.268 2163.214
2163.214 2163.132 2163.132 2163.027 2163.027 2162.9 2162.9 2162.723
2174.99 2173.642 2173.642 2172.284 2172.284 2170.918 2170.918 2169.55
2169.55 2168.182 2168.182 2166.82 2166.82 2165.472 2165.472 2164.149
2164.149 2162.876 2162.876 2161.696 2161.696 2160.75 2160.75 2160.281
2160.281 2160.09 2160.09 2160.282 2160.282 2160.725 2160.725 2161.526
2161.526 2162.042 2162.042 2162.474 2162.474 2162.767 2162.767 2163.261
2163.261 2163.268 2163.268 2163.214 2163.214 2163.132 2163.132 2163.027
2163.027 2162.9 2162.9 2162.723 2174.708 2173.341 2173.341 2171.947
2171.947 2170.539 2170.539 2169.123 2169.123 2167.705 2167.705 2166.293
2166.293 2164.896 2164.896 2163.531 2163.531 2162.223 2162.223 2161.052
2161.052 2160.275 2160.275 2159.777 2159.777 2159.59 2159.59 2159.66
2159.66 2159.911 2159.911 2160.253 2160.253 2160.902 2160.902 2161.141
2161.141 2161.293 2161.293 2161.753 2161.753 2161.772 2161.772 2161.784
2161.784 2161.794 2161.794 2161.788 2161.788 2161.743 2161.743 2161.645
2174.708 2173.341 2173.341 2171.947 2171.947 2170.539 2170.539 2169.123
2169.123 2167.705 2167.705 2166.293 2166.293 2164.896 2164.896 2163.531
2163.531 2162.223 2162.223 2161.052 2161.052 2160.275 2160.275 2159.777
2159.777 2159.59 2159.59 2159.66 2159.66 2159.911 2159.911 2160.253
2160.253 2160.902 2160.902 2161.141 2161.141 2161.293 2161.293 2161.753
2161.753 2161.772 2161.772 2161.784 2161.784 2161.794 2161.794 2161.788
2161.788 2161.743 2161.743 2161.645 2174.486 2173.069 2173.069 2171.634
2171.634 2170.183 2170.183 2168.723 2168.723 2167.264 2167.264 2165.817
2165.817 2164.397 2164.397 2163.018 2163.018 2161.694 2161.694 2160.444
2160.444 2159.693 2159.693 2159.313 2159.313 2159.116 2159.116 2159.087
2159.087 2159.185 2159.185 2159.349 2159.349 2159.52 2159.52 2159.956
2159.956 2159.954 2159.954 2159.933 2159.933 2160.307 2160.307 2160.379
2160.379 2160.493 2160.493 2160.601 2160.601 2160.659 2160.659 2160.641
2174.486 2173.069 2173.069 2171.634 2171.634 2170.183 2170.183 2168.723
2168.723 2167.264 2167.264 2165.817 2165.817 2164.397 2164.397 2163.018
2163.018 2161.694 2161.694 2160.444 2160.444 2159.693 2159.693 2159.313
2159.313 2159.116 2159.116 2159.087 2159.087 2159.185 2159.185 2159.349
2159.349 2159.52 2159.52 2159.956 2159.956 2159.954 2159.954 2159.933
2159.933 2160.307 2160.307 2160.379 2160.379 2160.493 2160.493 2160.601
2160.601 2160.659 2160.659 2160.641 2174.324 2172.874 2172.874 2171.409
2171.409 2169.93 2169.93 2168.442 2168.442 2166.955 2166.955 2165.483
2165.483 2164.043 2164.043 2162.65 2162.65 2161.329 2161.329 2160.196
2160.196 2159.261 2159.261 2158.906 2158.906 2158.719 2158.719 2158.588
2158.588 2158.556 2158.556 2158.573 2158.573 2158.588 2158.588 2158.564
2158.564 2158.747 2158.747 2158.594 2158.594 2158.873 2158.873 2159.022
2159.022 2159.271 2159.271 2159.512 2159.512 2159.685 2159.685 2159.76
2174.324 2172.874 2172.874 2171.409 2171.409 2169.93 2169.93 2168.442
2168.442 2166.955 2166.955 2165.483 2165.483 2164.043 2164.043 2162.65
2162.65 2161.329 2161.329 2160.196 2160.196 2159.261 2159.261 2158.906
2158.906 2158.719 2158.719 2158.588 2158.588 2158.556 2158.556 2158.573
2158.573 2158.588 2158.588 2158.564 2158.564 2158.747 2158.747 2158.594
2158.594 2158.873 2158.873 2159.022 2159.022 2159.271 2159.271 2159.512
2159.512 2159.685 2159.685 2159.76 2174.059 2172.733 2172.733 2171.245
2171.245 2169.74 2169.74 2168.226 2168.226 2166.713 2166.713 2165.219
2165.219 2163.764 2163.764 2162.624 2162.624 2161.26 2161.26 2160.043
2160.043 2159.116 2159.116 2158.343 2158.343 2158.225 2158.225 2157.972
2157.972 2157.82 2157.82 2157.937 2157.937 2157.832 2157.832 2157.67
2157.67 2157.435 2157.435 2157.345 2157.345 2157.459 2157.459 2157.753
2157.753 2158.187 2158.187 2158.536 2158.536 2158.799 2158.799 2158.951
2174.059 2172.733 2172.733 2171.245 2171.245 2169.74 2169.74 2168.226
2168.226 2166.713 2166.713 2165.219 2165.219 2163.764 2163.764 2162.624
2162.624 2161.26 2161.26 2160.043 2160.043 2159.116 2159.116 2158.343
2158.343 2158.225 2158.225 2157.972 2157.972 2157.82 2157.82 2157.937
2157.937 2157.832 2157.832 2157.67 2157.67 2157.435 2157.435 2157.345
2157.345 2157.459 2157.459 2157.753 2157.753 2158.187 2158.187 2158.536
2158.536 2158.799 2158.799 2158.951 2173.971 2172.642 2172.642 2171.138
2171.138 2169.613 2169.613 2168.072 2168.072 2166.533 2166.533 2165.018
2165.018 2163.858 2163.858 2162.426 2162.426 2161.084 2161.084 2159.885
2159.885 2158.969 2158.969 2158.149 2158.149 2157.52 2157.52 2157.566
2157.566 2157.346 2157.346 2157.18 2157.18 2157.013 2157.013 2156.794
2156.794 2156.477 2156.477 2156.154 2156.154 2156.078 2156.078 2156.677
2156.677 2157.274 2157.274 2157.755 2157.755 2158.102 2158.102 2158.318
2173.971 2172.642 2172.642 2171.138 2171.138 2169.613 2169.613 2168.072
2168.072 2166.533 2166.533 2165.018 2165.018 2163.858 2163.858 2162.426
2162.426 2161.084 2161.084 2159.885 2159.885 2158.969 2158.969 2158.149
2158.149 2157.52 2157.52 2157.566 2157.566 2157.346 2157.346 2157.18
2157.18 2157.013 2157.013 2156.794 2156.794 2156.477 2156.477 2156.154
2156.154 2156.078 2156.078 2156.677 2156.677 2157.274 2157.274 2157.755
2157.755 2158.102 2158.102 2158.318 2173.927 2172.47 2172.47 2171.086
2171.086 2169.543 2169.543 2167.976 2167.976 2166.41 2166.41 2165.194
2165.194 2163.708 2163.708 2162.273 2162.273 2160.928 2160.928 2159.718
2159.718 2158.795 2158.795 2157.953 2157.953 2157.317 2157.317 2156.853
2156.853 2156.523 2156.523 2156.798 2156.798 2156.628 2156.628 2156.415
2156.415 2156.101 2156.101 2155.56 2155.56 2155.564 2155.564 2156.135
2156.135 2156.743 2156.743 2157.247 2157.247 2157.621 2157.621 2157.855
2173.927 2172.47 2172.47 2171.086 2171.086 2169.543 2169.543 2167.976
2167.976 2166.41 2166.41 2165.194 2165.194 2163.708 2163.708 2162.273
2162.273 2160.928 2160.928 2159.718 2159.718 2158.795 2158.795 2157.953
2157.953 2157.317 2157.317 2156.853 2156.853 2156.523 2156.523 2156.798
2156.798 2156.628 2156.628 2156.415 2156.415 2156.101 2156.101 2155.56
2155.56 2155.564 2155.564 2156.135 2156.135 2156.743 2156.743 2157.247
2157.247 2157.621 2157.621 2157.855 2173.914 2172.479 2172.479 2171.085
2171.085 2169.53 2169.53 2168.142 2168.142 2166.625 2166.625 2165.11
2165.11 2163.615 2163.615 2162.164 2162.164 2160.792 2160.792 2159.544
2159.544 2158.587 2158.587 2157.736 2157.736 2157.116 2157.116 2156.689
2156.689 2156.407 2156.407 2156.237 2156.237 2156.445 2156.445 2156.01
2156.01 2155.908 2155.908 2155.76 2155.76 2155.905 2155.905 2156.171
2156.171 2156.569 2156.569 2157.003 2157.003 2157.35 2157.35 2157.492
2173.914 2172.479 2172.479 2171.085 2171.085 2169.53 2169.53 2168.142
2168.142 2166.625 2166.625 2165.11 2165.11 2163.615 2163.615 2162.164
2162.164 2160.792 2160.792 2159.544 2159.544 2158.587 2158.587 2157.736
2157.736 2157.116 2157.116 2156.689 2156.689 2156.407 2156.407 2156.237
2156.237 2156.445 2156.445 2156.01 2156.01 2155.908 2155.908 2155.76
2155.76 2155.905 2155.905 2156.171 2156.171 2156.569 2156.569 2157.003
2157.003 2157.35 2157.35 2157.492 2173.857 2172.448 2172.448 2171.061
2171.061 2169.63 2169.63 2168.128 2168.128 2166.614 2166.614 2165.097
2165.097 2163.589 2163.589 2162.112 2162.112 2160.692 2160.692 2159.378
2159.378 2158.248 2158.248 2157.489 2157.489 2156.917 2156.917 2156.548
2156.548 2156.327 2156.327 2155.846 2155.846 2155.863 2155.863 2156.103
2156.103 2156.19 2156.19 2156.223 2156.223 2156.24 2156.24 2156.347
2156.347 2156.624 2156.624 2156.942 2156.942 2157.257 2157.257 2157.338
2173.857 2172.448 2172.448 2171.061 2171.061 2169.63 2169.63 2168.128
2168.128 2166.614 2166.614 2165.097 2165.097 2163.589 2163.589 2162.112
2162.112 2160.692 2160.692 2159.378 2159.378 2158.248 2158.248 2157.489
2157.489 2156.917 2156.917 2156.548 2156.548 2156.327 2156.327 2155.846
2155.846 2155.863 2155.863 2156.103 2156.103 2156.19 2156.19 2156.223
2156.223 2156.24 2156.24 2156.347 2156.347 2156.624 2156.624 2156.942
2156.942 2157.257 2157.257 2157.338 2173.813 2172.378 2172.378 2170.921
2170.921 2169.537 2169.537 2167.967 2167.967 2166.396 2166.396 2164.85
2164.85 2163.647 2163.647 2162.142 2162.142 2160.667 2160.667 2159.256
2159.256 2158.008 2158.008 2157.226 2157.226 2156.749 2156.749 2156.149
2156.149 2155.927 2155.927 2155.852 2155.852 2155.926 2155.926 2156.15
2156.15 2156.529 2156.529 2156.477 2156.477 2156.486 2156.486 2156.657
2156.657 2156.81 2156.81 2157.028 2157.028 2157.269 2157.269 2157.199
2173.813 2172.378 2172.378 2170.921 2170.921 2169.537 2169.537 2167.967
2167.967 2166.396 2166.396 2164.85 2164.85 2163.647 2163.647 2162.142
2162.142 2160.667 2160.667 2159.256 2159.256 2158.008 2158.008 2157.226
2157.226 2156.749 2156.749 2156.149 2156.149 2155.927 2155.927 2155.852
2155.852 2155.926 2155.926 2156.15 2156.15 2156.529 2156.529 2156.477
2156.477 2156.486 2156.486 2156.657 2156.657 2156.81 2156.81 2157.028
2157.028 2157.269 2157.269 2157.199 2173.767 2172.327 2172.327 2170.81
2170.81 2169.563 2169.563 2168.009 2168.009 2166.449 2166.449 2164.911
2164.911 2163.401 2163.401 2161.924 2161.924 2160.489 2160.489 2159.107
2159.107 2157.79 2157.79 2157.182 2157.182 2156.925 2156.925 2156.72
2156.72 2156.578 2156.578 2156.504 2156.504 2156.502 2156.502 2156.57
2156.57 2156.703 2156.703 2156.591 2156.591 2156.729 2156.729 2156.745
2156.745 2156.832 2156.832 2156.96 2156.96 2156.893 2156.893 2157.015
2173.767 2172.327 2172.327 2170.81 2170.81 2169.563 2169.563 2168.009
2168.009 2166.449 2166.449 2164.911 2164.911 2163.401 2163.401 2161.924
2161.924 2160.489 2160.489 2159.107 2159.107 2157.79 2157.79 2157.182
2157.182 2156.925 2156.925 2156.72 2156.72 2156.578 2156.578 2156.504
2156.504 2156.502 2156.502 2156.57 2156.57 2156.703 2156.703 2156.591
2156.591 2156.729 2156.729 2156.745 2156.745 2156.832 2156.832 2156.96
2156.96 2156.893 2156.893 2157.015 2173.818 2172.299 2172.299 2171.163
2171.163 2169.629 2169.629 2168.054 2168.054 2166.558 2166.558 2165.04
2165.04 2163.545 2163.545 2162.077 2162.077 2160.645 2160.645 2159.269
2159.269 2158.043 2158.043 2157.332 2157.332 2157.118 2157.118 2156.837
2156.837 2156.655 2156.655 2156.561 2156.561 2156.55 2156.55 2156.606
2156.606 2156.728 2156.728 2156.562 2156.562 2156.754 2156.754 2156.769
2156.769 2156.815 2156.815 2156.534 2156.534 2156.598 2156.598 2156.602
2173.818 2172.299 2172.299 2171.163 2171.163 2169.629 2169.629 2168.054
2168.054 2166.558 2166.558 2165.04 2165.04 2163.545 2163.545 2162.077
2162.077 2160.645 2160.645 2159.269 2159.269 2158.043 2158.043 2157.332
2157.332 2157.118 2157.118 2156.837 2156.837 2156.655 2156.655 2156.561
2156.561 2156.55 2156.55 2156.606 2156.606 2156.728 2156.728 2156.562
2156.562 2156.754 2156.754 2156.769 2156.769 2156.815 2156.815 2156.534
2156.534 2156.598 2156.598 2156.602 2173.852 2172.32 2172.32 2171.237
2171.237 2169.732 2169.732 2168.19 2168.19 2166.724 2166.724 2165.239
2165.239 2163.775 2163.775 2162.335 2162.335 2160.965 2160.965 2159.623
2159.623 2158.393 2158.393 2157.453 2157.453 2157.029 2157.029 2157.031
2157.031 2156.763 2156.763 2156.619 2156.619 2156.58 2156.58 2156.695
2156.695 2156.745 2156.745 2156.73 2156.73 2156.746 2156.746 2156.765
2156.765 2156.387 2156.387 2156.377 2156.377 2156.368 2156.368 2156.338
2173.852 2172.32 2172.32 2171.237 2171.237 2169.732 2169.732 2168.19
2168.19 2166.724 2166.724 2165.239 2165.239 2163.775 2163.775 2162.335
2162.335 2160.965 2160.965 2159.623 2159.623 2158.393 2158.393 2157.453
2157.453 2157.029 2157.029 2157.031 2157.031 2156.763 2156.763 2156.619
2156.619 2156.58 2156.58 2156.695 2156.695 2156.745 2156.745 2156.73
2156.73 2156.746 2156.746 2156.765 2156.765 2156.387 2156.387 2156.377
2156.377 2156.368 2156.368 2156.338 2173.917 2172.385 2172.385 2171.337
2171.337 2169.87 2169.87 2168.373 2168.373 2166.897 2166.897 2165.509
2165.509 2164.091 2164.091 2162.656 2162.656 2161.272 2161.272 2159.966
2159.966 2158.745 2158.745 2157.759 2157.759 2157.301 2157.301 2156.679
2156.679 2156.263 2156.263 2156.648 2156.648 2156.579 2156.579 2156.681
2156.681 2156.749 2156.749 2156.702 2156.702 2156.74 2156.74 2156.41
2156.41 2156.322 2156.322 2156.252 2156.252 2156.192 2156.192 2156.136
2173.917 2172.385 2172.385 2171.337 2171.337 2169.87 2169.87 2168.373
2168.373 2166.897 2166.897 2165.509 2165.509 2164.091 2164.091 2162.656
2162.656 2161.272 2161.272 2159.966 2159.966 2158.745 2158.745 2157.759
2157.759 2157.301 2157.301 2156.679 2156.679 2156.263 2156.263 2156.648
2156.648 2156.579 2156.579 2156.681 2156.681 2156.749 2156.749 2156.702
2156.702 2156.74 2156.74 2156.41 2156.41 2156.322 2156.322 2156.252
2156.252 2156.192 2156.192 2156.136 2174.014 2172.492 2172.492 2171.455
2171.455 2170.038 2170.038 2168.598 2168.598 2167.186 2167.186 2165.794
2165.794 2164.36 2164.36 2162.974 2162.974 2161.622 2161.622 2160.274
2160.274 2159.102 2159.102 2158.067 2158.067 2157.197 2157.197 2156.818
2156.818 2156.319 2156.319 2156.062 2156.062 2156.603 2156.603 2156.626
2156.626 2156.73 2156.73 2156.694 2156.694 2156.758 2156.758 2156.406
2156.406 2156.281 2156.281 2156.163 2156.163 2156.061 2156.061 2155.982
2174.014 2172.492 2172.492 2171.455 2171.455 2170.038 2170.038 2168.598
2168.598 2167.186 2167.186 2165.794 2165.794 2164.36 2164.36 2162.974
2162.974 2161.622 2161.622 2160.274 2160.274 2159.102 2159.102 2158.067
2158.067 2157.197 2157.197 2156.818 2156.818 2156.319 2156.319 2156.062
2156.062 2156.603 2156.603 2156.626 2156.626 2156.73 2156.73 2156.694
2156.694 2156.758 2156.758 2156.406 2156.406 2156.281 2156.281 2156.163
2156.163 2156.061 2156.061 2155.982 2174.138 2172.635 2172.635 2171.582
2171.582 2170.229 2170.229 2168.862 2168.862 2167.526 2167.526 2166.001
2166.001 2164.682 2164.682 2163.338 2163.338 2162.01 2162.01 2160.673
2160.673 2159.472 2159.472 2158.383 2158.383 2157.436 2157.436 2156.925
2156.925 2156.336 2156.336 2156.144 2156.144 2156.128 2156.128 2156.505
2156.505 2156.677 2156.677 2156.722 2156.722 2156.575 2156.575 2156.443
2156.443 2156.275 2156.275 2156.104 2156.104 2155.961 2155.961 2155.863
2174.138 2172.635 2172.635 2171.582 2171.582 2170.229 2170.229 2168.862
2168.862 2167.526 2167.526 2166.001 2166.001 2164.682 2164.682 2163.338
2163.338 2162.01 2162.01 2160.673 2160.673 2159.472 2159.472 2158.383
2158.383 2157.436 2157.436 2156.925 2156.925 2156.336 2156.336 2156.144
2156.144 2156.128 2156.128 2156.505 2156.505 2156.677 2156.677 2156.722
2156.722 2156.575 2156.575 2156.443 2156.443 2156.275 2156.275 2156.104
2156.104 2155.961 2155.961 2155.863 2174.316 2172.807 2172.807 2171.715
2171.715 2170.442 2170.442 2168.979 2168.979 2167.653 2167.653 2166.332
2166.332 2165.017 2165.017 2163.748 2163.748 2162.44 2162.44 2161.103
2161.103 2159.864 2159.864 2158.721 2158.721 2157.699 2157.699 2156.824
2156.824 2156.295 2156.295 2156.151 2156.151 2156.226 2156.226 2156.391
2156.391 2156.598 2156.598 2156.741 2156.741 2156.716 2156.716 2156.544
2156.544 2156.297 2156.297 2156.058 2156.058 2155.875 2155.875 2155.768
2174.316 2172.807 2172.807 2171.715 2171.715 2170.442 2170.442 2168.979
2168.979 2167.653 2167.653 2166.332 2166.332 2165.017 2165.017 2163.748
2163.748 2162.44 2162.44 2161.103 2161.103 2159.864 2159.864 2158.721
2158.721 2157.699 2157.699 2156.824 2156.824 2156.295 2156.295 2156.151
2156.151 2156.226 2156.226 2156.391 2156.391 2156.598 2156.598 2156.741
2156.741 2156.716 2156.716 2156.544 2156.544 2156.297 2156.297 2156.058
2156.058 2155.875 2155.875 2155.768 2174.496 2173.003 2173.003 2171.86
2171.86 2170.529 2170.529 2169.247 2169.247 2167.962 2167.962 2166.684
2166.684 2165.426 2165.426 2164.182 2164.182 2162.891 2162.891 2161.553
2161.553 2160.275 2160.275 2159.098 2159.098 2157.824 2157.824 2157.096
2157.096 2156.403 2156.403 2156.414 2156.414 2156.552 2156.552 2156.738
2156.738 2156.941 2156.941 2157.073 2157.073 2157.021 2157.021 2156.735
2156.735 2156.361 2156.361 2156.038 2156.038 2155.82 2155.82 2155.712
2174.496 2173.003 2173.003 2171.86 2171.86 2170.529 2170.529 2169.247
2169.247 2167.962 2167.962 2166.684 2166.684 2165.426 2165.426 2164.182
2164.182 2162.891 2162.891 2161.553 2161.553 2160.275 2160.275 2159.098
2159.098 2157.824 2157.824 2157.096 2157.096 2156.403 2156.403 2156.414
2156.414 2156.552 2156.552 2156.738 2156.738 2156.941 2156.941 2157.073
2157.073 2157.021 2157.021 2156.735 2156.735 2156.361 2156.361 2156.038
2156.038 2155.82 2155.82 2155.712 2174.71 2173.239 2173.239 2171.99
2171.99 2170.81 2170.81 2169.277 2169.277 2167.95 2167.95 2166.651
2166.651 2165.399 2165.399 2164.21 2164.21 2162.991 2162.991 2161.71
2161.71 2160.519 2160.519 2159.429 2159.429 2158.458 2158.458 2157.637
2157.637 2157.103 2157.103 2156.912 2156.912 2156.913 2156.913 2157.047
2157.047 2157.256 2157.256 2157.5 2157.5 2157.438 2157.438 2156.879
2156.879 2156.301 2156.301 2156.036 2156.036 2155.969 2155.969 2156.049
2174.71 2173.239 2173.239 2171.99 2171.99 2170.81 2170.81 2169.277
2169.277 2167.95 2167.95 2166.651 2166.651 2165.399 2165.399 2164.21
2164.21 2162.991 2162.991 2161.71 2161.71 2160.519 2160.519 2159.429
2159.429 2158.458 2158.458 2157.637 2157.637 2157.103 2157.103 2156.912
2156.912 2156.913 2156.913 2157.047 2157.047 2157.256 2157.256 2157.5
2157.5 2157.438 2157.438 2156.879 2156.879 2156.301 2156.301 2156.036
2156.036 2155.969 2155.969 2156.049 2174.887 2173.543 2173.543 2172.286
2172.286 2170.976 2170.976 2169.63 2169.63 2168.387 2168.387 2167.102
2167.102 2165.837 2165.837 2164.592 2164.592 2163.366 2163.366 2162.143
2162.143 2160.941 2160.941 2159.884 2159.884 2158.956 2158.956 2158.276
2158.276 2157.698 2157.698 2157.429 2157.429 2157.27 2157.27 2157.282
2157.282 2157.418 2157.418 2157.661 2157.661 2157.665 2157.665 2156.729
2156.729 2156.035 2156.035 2155.768 2155.768 2155.885 2155.885 2156.454
2174.887 2173.543 2173.543 2172.286 2172.286 2170.976 2170.976 2169.63
2169.63 2168.387 2168.387 2167.102 2167.102 2165.837 2165.837 2164.592
2164.592 2163.366 2163.366 2162.143 2162.143 2160.941 2160.941 2159.884
2159.884 2158.956 2158.956 2158.276 2158.276 2157.698 2157.698 2157.429
2157.429 2157.27 2157.27 2157.282 2157.282 2157.418 2157.418 2157.661
2157.661 2157.665 2157.665 2156.729 2156.729 2156.035 2156.035 2155.768
2155.768 2155.885 2155.885 2156.454 2175.305 2173.863 2173.863 2172.475
2172.475 2171.399 2171.399 2170.084 2170.084 2168.776 2168.776 2167.482
2167.482 2166.205 2166.205 2164.944 2164.944 2163.737 2163.737 2162.542
2162.542 2161.412 2161.412 2160.381 2160.381 2159.422 2159.422 2158.777
2158.777 2158.185 2158.185 2157.848 2157.848 2157.542 2157.542 2157.387
2157.387 2157.318 2157.318 2157.206 2157.206 2156.902 2156.902 2156.163
2156.163 2155.467 2155.467 2155.354 2155.354 2156.085 2156.085 2156.676
2177.198 2176.135 2176.135 2175.088 2175.088 2174.228 2174.228 2173.436
2173.436 2172.584 2172.584 2171.772 2171.772 2170.983 2170.983 2170.237
2170.237 2169.568 2169.568 2169.016 2169.016 2168.644 2168.644 2168.526
2168.526 2168.699 2168.699 2168.965 2168.965 2169.172 2169.172 2169.485
2169.485 2169.852 2169.852 2170.187 2170.187 2170.401 2170.401 2170.434
2170.434 2170.29 2170.29 2170.136 2170.136 2169.804 2169.804 2169.431
2169.431 2169.031 2169.031 2168.601 2176.699 2175.564 2175.564 2174.67
2174.67 2173.605 2173.605 2172.619 2172.619 2171.757 2171.757 2170.824
2170.824 2169.903 2169.903 2168.948 2168.948 2168.119 2168.119 2167.384
2167.384 2166.804 2166.804 2166.485 2166.485 2166.527 2166.527 2166.911
2166.911 2167.419 2167.419 2168.001 2168.001 2168.616 2168.616 2169.173
2169.173 2169.555 2169.555 2169.635 2169.635 2169.557 2169.557 2169.255
2169.255 2168.906 2168.906 2168.54 2168.54 2168.165 2168.165 2167.776
2176.699 2175.564 2175.564 2174.67 2174.67 2173.605 2173.605 2172.619
2172.619 2171.757 2171.757 2170.824 2170.824 2169.903 2169.903 2168.948
2168.948 2168.119 2168.119 2167.384 2167.384 2166.804 2166.804 2166.485
2166.485 2166.527 2166.527 2166.911 2166.911 2167.419 2167.419 2168.001
2168.001 2168.616 2168.616 2169.173 2169.173 2169.555 2169.555 2169.635
2169.635 2169.557 2169.557 2169.255 2169.255 2168.906 2168.906 2168.54
2168.54 2168.165 2168.165 2167.776 2176.235 2175.031 2175.031 2174.134
2174.134 2172.997 2172.997 2171.909 2171.909 2170.862 2170.862 2169.893
2169.893 2168.84 2168.84 2167.804 2167.804 2166.799 2166.799 2165.783
2165.783 2164.938 2164.938 2164.309 2164.309 2164.264 2164.264 2164.842
2164.842 2165.645 2165.645 2166.486 2166.486 2167.326 2167.326 2168.15
2168.15 2168.784 2168.784 2168.923 2168.923 2168.635 2168.635 2168.282
2168.282 2167.923 2167.923 2167.573 2167.573 2167.232 2167.232 2166.897
2176.235 2175.031 2175.031 2174.134 2174.134 2172.997 2172.997 2171.909
2171.909 2170.862 2170.862 2169.893 2169.893 2168.84 2168.84 2167.804
2167.804 2166.799 2166.799 2165.783 2165.783 2164.938 2164.938 2164.309
2164.309 2164.264 2164.264 2164.842 2164.842 2165.645 2165.645 2166.486
2166.486 2167.326 2167.326 2168.15 2168.15 2168.784 2168.784 2168.923
2168.923 2168.635 2168.635 2168.282 2168.282 2167.923 2167.923 2167.573
2167.573 2167.232 2167.232 2166.897 2175.811 2174.85 2174.85 2173.617
2173.617 2172.412 2172.412 2171.238 2171.238 2170.09 2170.09 2169.037
2169.037 2167.864 2167.864 2166.698 2166.698 2165.55 2165.55 2164.426
2164.426 2163.324 2163.324 2162.233 2162.233 2161.957 2161.957 2162.985
2162.985 2164.014 2164.014 2165.002 2165.002 2165.968 2165.968 2166.988
2166.988 2167.92 2167.92 2167.932 2167.932 2167.602 2167.602 2167.283
2167.283 2166.973 2166.973 2166.668 2166.668 2166.36 2166.36 2166.04
2175.811 2174.85 2174.85 2173.617 2173.617 2172.412 2172.412 2171.238
2171.238 2170.09 2170.09 2169.037 2169.037 2167.864 2167.864 2166.698
2166.698 2165.55 2165.55 2164.426 2164.426 2163.324 2163.324 2162.233
2162.233 2161.957 2161.957 2162.985 2162.985 2164.014 2164.014 2165.002
2165.002 2165.968 2165.968 2166.988 2166.988 2167.92 2167.92 2167.932
2167.932 2167.602 2167.602 2167.283 2167.283 2166.973 2166.973 2166.668
2166.668 2166.36 2166.36 2166.04 2175.433 2174.409 2174.409 2173.129
2173.129 2171.864 2171.864 2170.614 2170.614 2169.38 2169.38 2168.16
2168.16 2166.992 2166.992 2165.727 2165.727 2164.486 2164.486 2163.285
2163.285 2162.145 2162.145 2161.148 2161.148 2160.962 2160.962 2161.84
2161.84 2162.827 2162.827 2163.782 2163.782 2164.684 2164.684 2165.512
2165.512 2166.133 2166.133 2166.439 2166.439 2166.241 2166.241 2166.01
2166.01 2165.763 2165.763 2165.51 2165.51 2165.245 2165.245 2164.959
2175.433 2174.409 2174.409 2173.129 2173.129 2171.864 2171.864 2170.614
2170.614 2169.38 2169.38 2168.16 2168.16 2166.992 2166.992 2165.727
2165.727 2164.486 2164.486 2163.285 2163.285 2162.145 2162.145 2161.148
2161.148 2160.962 2160.962 2161.84 2161.84 2162.827 2162.827 2163.782
2163.782 2164.684 2164.684 2165.512 2165.512 2166.133 2166.133 2166.439
2166.439 2166.241 2166.241 2166.01 2166.01 2165.763 2165.763 2165.51
2165.51 2165.245 2165.245 2164.959 2175.326 2174.003 2174.003 2172.681
2172.681 2171.362 2171.362 2170.049 2170.049 2168.741 2168.741 2167.443
2167.443 2166.156 2166.156 2164.897 2164.897 2163.608 2163.608 2162.41
2162.41 2161.371 2161.371 2160.752 2160.752 2160.554 2160.554 2160.946
2160.946 2161.816 2161.816 2162.583 2162.583 2163.315 2163.315 2163.946
2163.946 2164.38 2164.38 2164.83 2164.83 2164.781 2164.781 2164.641
2164.641 2164.461 2164.461 2164.283 2164.283 2164.08 2164.08 2163.839
2175.326 2174.003 2174.003 2172.681 2172.681 2171.362 2171.362 2170.049
2170.049 2168.741 2168.741 2167.443 2167.443 2166.156 2166.156 2164.897
2164.897 2163.608 2163.608 2162.41 2162.41 2161.371 2161.371 2160.752
2160.752 2160.554 2160.554 2160.946 2160.946 2161.816 2161.816 2162.583
2162.583 2163.315 2163.315 2163.946 2163.946 2164.38 2164.38 2164.83
2164.83 2164.781 2164.781 2164.641 2164.641 2164.461 2164.461 2164.283
2164.283 2164.08 2164.08 2163.839 2174.99 2173.642 2173.642 2172.284
2172.284 2170.918 2170.918 2169.55 2169.55 2168.182 2168.182 2166.82
2166.82 2165.472 2165.472 2164.149 2164.149 2162.876 2162.876 2161.696
2161.696 2160.75 2160.75 2160.281 2160.281 2160.09 2160.09 2160.282
2160.282 2160.725 2160.725 2161.526 2161.526 2162.042 2162.042 2162.474
2162.474 2162.767 2162.767 2163.261 2163.261 2163.268 2163.268 2163.214
2163.214 2163.132 2163.132 2163.027 2163.027 2162.9 2162.9 2162.723
2174.99 2173.642 2173.642 2172.284 2172.284 2170.918 2170.918 2169.55
2169.55 2168.182 2168.182 2166.82 2166.82 2165.472 2165.472 2164.149
2164.149 2162.876 2162.876 2161.696 2161.696 2160.75 2160.75 2160.281
2160.281 2160.09 2160.09 2160.282 2160.282 2160.725 2160.725 2161.526
2161.526 2162.042 2162.042 2162.474 2162.474 2162.767 2162.767 2163.261
2163.261 2163.268 2163.268 2163.214 2163.214 2163.132 2163.132 2163.027
2163.027 2162.9 2162.9 2162.723 2174.708 2173.341 2173.341 2171.947
2171.947 2170.539 2170.539 2169.123 2169.123 2167.705 2167.705 2166.293
2166.293 2164.896 2164.896 2163.531 2163.531 2162.223 2162.223 2161.052
2161.052 2160.275 2160.275 2159.777 2159.777 2159.59 2159.59 2159.66
2159.66 2159.911 2159.911 2160.253 2160.253 2160.902 2160.902 2161.141
2161.141 2161.293 2161.293 2161.753 2161.753 2161.772 2161.772 2161.784
2161.784 2161.794 2161.794 2161.788 2161.788 2161.743 2161.743 2161.645
2174.708 2173.341 2173.341 2171.947 2171.947 2170.539 2170.539 2169.123
2169.123 2167.705 2167.705 2166.293 2166.293 2164.896 2164.896 2163.531
2163.531 2162.223 2162.223 2161.052 2161.052 2160.275 2160.275 2159.777
2159.777 2159.59 2159.59 2159.66 2159.66 2159.911 2159.911 2160.253
2160.253 2160.902 2160.902 2161.141 2161.141 2161.293 2161.293 2161.753
2161.753 2161.772 2161.772 2161.784 2161.784 2161.794 2161.794 2161.788
2161.788 2161.743 2161.743 2161.645 2174.486 2173.069 2173.069 2171.634
2171.634 2170.183 2170.183 2168.723 2168.723 2167.264 2167.264 2165.817
2165.817 2164.397 2164.397 2163.018 2163.018 2161.694 2161.694 2160.444
2160.444 2159.693 2159.693 2159.313 2159.313 2159.116 2159.116 2159.087
2159.087 2159.185 2159.185 2159.349 2159.349 2159.52 2159.52 2159.956
2159.956 2159.954 2159.954 2159.933 2159.933 2160.307 2160.307 2160.379
2160.379 2160.493 2160.493 2160.601 2160.601 2160.659 2160.659 2160.641
2174.486 2173.069 2173.069 2171.634 2171.634 2170.183 2170.183 2168.723
2168.723 2167.264 2167.264 2165.817 2165.817 2164.397 2164.397 2163.018
2163.018 2161.694 2161.694 2160.444 2160.444 2159.693 2159.693 2159.313
2159.313 2159.116 2159.116 2159.087 2159.087 2159.185 2159.185 2159.349
2159.349 2159.52 2159.52 2159.956 2159.956 2159.954 2159.954 2159.933
2159.933 2160.307 2160.307 2160.379 2160.379 2160.493 2160.493 2160.601
2160.601 2160.659 2160.659 2160.641 2174.324 2172.874 2172.874 2171.409
2171.409 2169.93 2169.93 2168.442 2168.442 2166.955 2166.955 2165.483
2165.483 2164.043 2164.043 2162.65 2162.65 2161.329 2161.329 2160.196
2160.196 2159.261 2159.261 2158.906 2158.906 2158.719 2158.719 2158.588
2158.588 2158.556 2158.556 2158.573 2158.573 2158.588 2158.588 2158.564
2158.564 2158.747 2158.747 2158.594 2158.594 2158.873 2158.873 2159.022
2159.022 2159.271 2159.271 2159.512 2159.512 2159.685 2159.685 2159.76
2174.324 2172.874 2172.874 2171.409 2171.409 2169.93 2169.93 2168.442
2168.442 2166.955 2166.955 2165.483 2165.483 2164.043 2164.043 2162.65
2162.65 2161.329 2161.329 2160.196 2160.196 2159.261 2159.261 2158.906
2158.906 2158.719 2158.719 2158.588 2158.588 2158.556 2158.556 2158.573
2158.573 2158.588 2158.588 2158.564 2158.564 2158.747 2158.747 2158.594
2158.594 2158.873 2158.873 2159.022 2159.022 2159.271 2159.271 2159.512
2159.512 2159.685 2159.685 2159.76 2174.059 2172.733 2172.733 2171.245
2171.245 2169.74 2169.74 2168.226 2168.226 2166.713 2166.713 2165.219
2165.219 2163.764 2163.764 2162.624 2162.624 2161.26 2161.26 2160.043
2160.043 2159.116 2159.116 2158.343 2158.343 2158.225 2158.225 2157.972
2157.972 2157.82 2157.82 2157.937 2157.937 2157.832 2157.832 2157.67
2157.67 2157.435 2157.435 2157.345 2157.345 2157.459 2157.459 2157.753
2157.753 2158.187 2158.187 2158.536 2158.536 2158.799 2158.799 2158.951
2174.059 2172.733 2172.733 2171.245 2171.245 2169.74 2169.74 2168.226
2168.226 2166.713 2166.713 2165.219 2165.219 2163.764 2163.764 2162.624
2162.624 2161.26 2161.26 2160.043 2160.043 2159.116 2159.116 2158.343
2158.343 2158.225 2158.225 2157.972 2157.972 2157.82 2157.82 2157.937
2157.937 2157.832 2157.832 2157.67 2157.67 2157.435 2157.435 2157.345
2157.345 2157.459 2157.459 2157.753 2157.753 2158.187 2158.187 2158.536
2158.536 2158.799 2158.799 2158.951 2173.971 2172.642 2172.642 2171.138
2171.138 2169.613 2169.613 2168.072 2168.072 2166.533 2166.533 2165.018
2165.018 2163.858 2163.858 2162.426 2162.426 2161.084 2161.084 2159.885
2159.885 2158.969 2158.969 2158.149 2158.149 2157.52 2157.52 2157.566
2157.566 2157.346 2157.346 2157.18 2157.18 2157.013 2157.013 2156.794
2156.794 2156.477 2156.477 2156.154 2156.154 2156.078 2156.078 2156.677
2156.677 2157.274 2157.274 2157.755 2157.755 2158.102 2158.102 2158.318
2173.971 2172.642 2172.642 2171.138 2171.138 2169.613 2169.613 2168.072
2168.072 2166.533 2166.533 2165.018 2165.018 2163.858 2163.858 2162.426
2162.426 2161.084 2161.084 2159.885 2159.885 2158.969 2158.969 2158.149
2158.149 2157.52 2157.52 2157.566 2157.566 2157.346 2157.346 2157.18
2157.18 2157.013 2157.013 2156.794 2156.794 2156.477 2156.477 2156.154
2156.154 2156.078 2156.078 2156.677 2156.677 2157.274 2157.274 2157.755
2157.755 2158.102 2158.102 2158.318 2173.927 2172.47 2172.47 2171.086
2171.086 2169.543 2169.543 2167.976 2167.976 2166.41 2166.41 2165.194
2165.194 2163.708 2163.708 2162.273 2162.273 2160.928 2160.928 2159.718
2159.718 2158.795 2158.795 2157.953 2157.953 2157.317 2157.317 2156.853
2156.853 2156.523 2156.523 2156.798 2156.798 2156.628 2156.628 2156.415
2156.415 2156.101 2156.101 2155.56 2155.56 2155.564 2155.564 2156.135
2156.135 2156.743 2156.743 2157.247 2157.247 2157.621 2157.621 2157.855
2173.927 2172.47 2172.47 2171.086 2171.086 2169.543 2169.543 2167.976
2167.976 2166.41 2166.41 2165.194 2165.194 2163.708 2163.708 2162.273
2162.273 2160.928 2160.928 2159.718 2159.718 2158.795 2158.795 2157.953
2157.953 2157.317 2157.317 2156.853 2156.853 2156.523 2156.523 2156.798
2156.798 2156.628 2156.628 2156.415 2156.415 2156.101 2156.101 2155.56
2155.56 2155.564 2155.564 2156.135 2156.135 2156.743 2156.743 2157.247
2157.247 2157.621 2157.621 2157.855 2173.914 2172.479 2172.479 2171.085
2171.085 2169.53 2169.53 2168.142 2168.142 2166.625 2166.625 2165.11
2165.11 2163.615 2163.615 2162.164 2162.164 2160.792 2160.792 2159.544
2159.544 2158.587 2158.587 2157.736 2157.736 2157.116 2157.116 2156.689
2156.689 2156.407 2156.407 2156.237 2156.237 2156.445 2156.445 2156.01
2156.01 2155.908 2155.908 2155.76 2155.76 2155.905 2155.905 2156.171
2156.171 2156.569 2156.569 2157.003 2157.003 2157.35 2157.35 2157.492
2173.914 2172.479 2172.479 2171.085 2171.085 2169.53 2169.53 2168.142
2168.142 2166.625 2166.625 2165.11 2165.11 2163.615 2163.615 2162.164
2162.164 2160.792 2160.792 2159.544 2159.544 2158.587 2158.587 2157.736
2157.736 2157.116 2157.116 2156.689 2156.689 2156.407 2156.407 2156.237
2156.237 2156.445 2156.445 2156.01 2156.01 2155.908 2155.908 2155.76
2155.76 2155.905 2155.905 2156.171 2156.171 2156.569 2156.569 2157.003
2157.003 2157.35 2157.35 2157.492 2173.857 2172.448 2172.448 2171.061
2171.061 2169.63 2169.63 2168.128 2168.128 2166.614 2166.614 2165.097
2165.097 2163.589 2163.589 2162.112 2162.112 2160.692 2160.692 2159.378
2159.378 2158.248 2158.248 2157.489 2157.489 2156.917 2156.917 2156.548
2156.548 2156.327 2156.327 2155.846 2155.846 2155.863 2155.863 2156.103
2156.103 2156.19 2156.19 2156.223 2156.223 2156.24 2156.24 2156.347
2156.347 2156.624 2156.624 2156.942 2156.942 2157.257 2157.257 2157.338
2173.857 2172.448 2172.448 2171.061 2171.061 2169.63 2169.63 2168.128
2168.128 2166.614 2166.614 2165.097 2165.097 2163.589 2163.589 2162.112
2162.112 2160.692 2160.692 2159.378 2159.378 2158.248 2158.248 2157.489
2157.489 2156.917 2156.917 2156.548 2156.548 2156.327 2156.327 2155.846
2155.846 2155.863 2155.863 2156.103 2156.103 2156.19 2156.19 2156.223
2156.223 2156.24 2156.24 2156.347 2156.347 2156.624 2156.624 2156.942
2156.942 2157.257 2157.257 2157.338 2173.813 2172.378 2172.378 2170.921
2170.921 2169.537 2169.537 2167.967 2167.967 2166.396 2166.396 2164.85
2164.85 2163.647 2163.647 2162.142 2162.142 2160.667 2160.667 2159.256
2159.256 2158.008 2158.008 2157.226 2157.226 2156.749 2156.749 2156.149
2156.149 2155.927 2155.927 2155.852 2155.852 2155.926 2155.926 2156.15
2156.15 2156.529 2156.529 2156.477 2156.477 2156.486 2156.486 2156.657
2156.657 2156.81 2156.81 2157.028 2157.028 2157.269 2157.269 2157.199
2173.813 2172.378 2172.378 2170.921 2170.921 2169.537 2169.537 2167.967
2167.967 2166.396 2166.396 2164.85 2164.85 2163.647 2163.647 2162.142
2162.142 2160.667 2160.667 2159.256 2159.256 2158.008 2158.008 2157.226
2157.226 2156.749 2156.749 2156.149 2156.149 2155.927 2155.927 2155.852
2155.852 2155.926 2155.926 2156.15 2156.15 2156.529 2156.529 2156.477
2156.477 2156.486 2156.486 2156.657 2156.657 2156.81 2156.81 2157.028
2157.028 2157.269 2157.269 2157.199 2173.767 2172.327 2172.327 2170.81
2170.81 2169.563 2169.563 2168.009 2168.009 2166.449 2166.449 2164.911
2164.911 2163.401 2163.401 2161.924 2161.924 2160.489 2160.489 2159.107
2159.107 2157.79 2157.79 2157.182 2157.182 2156.925 2156.925 2156.72
2156.72 2156.578 2156.578 2156.504 2156.504 2156.502 2156.502 2156.57
2156.57 2156.703 2156.703 2156.591 2156.591 2156.729 2156.729 2156.745
2156.745 2156.832 2156.832 2156.96 2156.96 2156.893 2156.893 2157.015
2173.767 2172.327 2172.327 2170.81 2170.81 2169.563 2169.563 2168.009
2168.009 2166.449 2166.449 2164.911 2164.911 2163.401 2163.401 2161.924
2161.924 2160.489 2160.489 2159.107 2159.107 2157.79 2157.79 2157.182
2157.182 2156.925 2156.925 2156.72 2156.72 2156.578 2156.578 2156.504
2156.504 2156.502 2156.502 2156.57 2156.57 2156.703 2156.703 2156.591
2156.591 2156.729 2156.729 2156.745 2156.745 2156.832 2156.832 2156.96
2156.96 2156.893 2156.893 2157.015 2173.818 2172.299 2172.299 2171.163
2171.163 2169.629 2169.629 2168.054 2168.054 2166.558 2166.558 2165.04
2165.04 2163.545 2163.545 2162.077 2162.077 2160.645 2160.645 2159.269
2159.269 2158.043 2158.043 2157.332 2157.332 2157.118 2157.118 2156.837
2156.837 2156.655 2156.655 2156.561 2156.561 2156.55 2156.55 2156.606
2156.606 2156.728 2156.728 2156.562 2156.562 2156.754 2156.754 2156.769
2156.769 2156.815 2156.815 2156.534 2156.534 2156.598 2156.598 2156.602
2173.818 2172.299 2172.299 2171.163 2171.163 2169.629 2169.629 2168.054
2168.054 2166.558 2166.558 2165.04 2165.04 2163.545 2163.545 2162.077
2162.077 2160.645 2160.645 2159.269 2159.269 2158.043 2158.043 2157.332
2157.332 2157.118 2157.118 2156.837 2156.837 2156.655 2156.655 2156.561
2156.561 2156.55 2156.55 2156.606 2156.606 2156.728 2156.728 2156.562
2156.562 2156.754 2156.754 2156.769 2156.769 2156.815 2156.815 2156.534
2156.534 2156.598 2156.598 2156.602 2173.852 2172.32 2172.32 2171.237
2171.237 2169.732 2169.732 2168.19 2168.19 2166.724 2166.724 2165.239
2165.239 2163.775 2163.775 2162.335 2162.335 2160.965 2160.965 2159.623
2159.623 2158.393 2158.393 2157.453 2157.453 2157.029 2157.029 2157.031
2157.031 2156.763 2156.763 2156.619 2156.619 2156.58 2156.58 2156.695
2156.695 2156.745 2156.745 2156.73 2156.73 2156.746 2156.746 2156.765
2156.765 2156.387 2156.387 2156.377 2156.377 2156.368 2156.368 2156.338
2173.852 2172.32 2172.32 2171.237 2171.237 2169.732 2169.732 2168.19
2168.19 2166.724 2166.724 2165.239 2165.239 2163.775 2163.775 2162.335
2162.335 2160.965 2160.965 2159.623 2159.623 2158.393 2158.393 2157.453
2157.453 2157.029 2157.029 2157.031 2157.031 2156.763 2156.763 2156.619
2156.619 2156.58 2156.58 2156.695 2156.695 2156.745 2156.745 2156.73
2156.73 2156.746 2156.746 2156.765 2156.765 2156.387 2156.387 2156.377
2156.377 2156.368 2156.368 2156.338 2173.917 2172.385 2172.385 2171.337
2171.337 2169.87 2169.87 2168.373 2168.373 2166.897 2166.897 2165.509
2165.509 2164.091 2164.091 2162.656 2162.656 2161.272 2161.272 2159.966
2159.966 2158.745 2158.745 2157.759 2157.759 2157.301 2157.301 2156.679
2156.679 2156.263 2156.263 2156.648 2156.648 2156.579 2156.579 2156.681
2156.681 2156.749 2156.749 2156.702 2156.702 2156.74 2156.74 2156.41
2156.41 2156.322 2156.322 2156.252 2156.252 2156.192 2156.192 2156.136
2173.917 2172.385 2172.385 2171.337 2171.337 2169.87 2169.87 2168.373
2168.373 2166.897 2166.897 2165.509 2165.509 2164.091 2164.091 2162.656
2162.656 2161.272 2161.272 2159.966 2159.966 2158.745 2158.745 2157.759
2157.759 2157.301 2157.301 2156.679 2156.679 2156.263 2156.263 2156.648
2156.648 2156.579 2156.579 2156.681 2156.681 2156.749 2156.749 2156.702
2156.702 2156.74 2156.74 2156.41 2156.41 2156.322 2156.322 2156.252
2156.252 2156.192 2156.192 2156.136 2174.014 2172.492 2172.492 2171.455
2171.455 2170.038 2170.038 2168.598 2168.598 2167.186 2167.186 2165.794
2165.794 2164.36 2164.36 2162.974 2162.974 2161.622 2161.622 2160.274
2160.274 2159.102 2159.102 2158.067 2158.067 2157.197 2157.197 2156.818
2156.818 2156.319 2156.319 2156.062 2156.062 2156.603 2156.603 2156.626
2156.626 2156.73 2156.73 2156.694 2156.694 2156.758 2156.758 2156.406
2156.406 2156.281 2156.281 2156.163 2156.163 2156.061 2156.061 2155.982
2174.014 2172.492 2172.492 2171.455 2171.455 2170.038 2170.038 2168.598
2168.598 2167.186 2167.186 2165.794 2165.794 2164.36 2164.36 2162.974
2162.974 2161.622 2161.622 2160.274 2160.274 2159.102 2159.102 2158.067
2158.067 2157.197 2157.197 2156.818 2156.818 2156.319 2156.319 2156.062
2156.062 2156.603 2156.603 2156.626 2156.626 2156.73 2156.73 2156.694
2156.694 2156.758 2156.758 2156.406 2156.406 2156.281 2156.281 2156.163
2156.163 2156.061 2156.061 2155.982 2174.138 2172.635 2172.635 2171.582
2171.582 2170.229 2170.229 2168.862 2168.862 2167.526 2167.526 2166.001
2166.001 2164.682 2164.682 2163.338 2163.338 2162.01 2162.01 2160.673
2160.673 2159.472 2159.472 2158.383 2158.383 2157.436 2157.436 2156.925
2156.925 2156.336 2156.336 2156.144 2156.144 2156.128 2156.128 2156.505
2156.505 2156.677 2156.677 2156.722 2156.722 2156.575 2156.575 2156.443
2156.443 2156.275 2156.275 2156.104 2156.104 2155.961 2155.961 2155.863
2174.138 2172.635 2172.635 2171.582 2171.582 2170.229 2170.229 2168.862
2168.862 2167.526 2167.526 2166.001 2166.001 2164.682 2164.682 2163.338
2163.338 2162.01 2162.01 2160.673 2160.673 2159.472 2159.472 2158.383
2158.383 2157.436 2157.436 2156.925 2156.925 2156.336 2156.336 2156.144
2156.144 2156.128 2156.128 2156.505 2156.505 2156.677 2156.677 2156.722
2156.722 2156.575 2156.575 2156.443 2156.443 2156.275 2156.275 2156.104
2156.104 2155.961 2155.961 2155.863 2174.316 2172.807 2172.807 2171.715
2171.715 2170.442 2170.442 2168.979 2168.979 2167.653 2167.653 2166.332
2166.332 2165.017 2165.017 2163.748 2163.748 2162.44 2162.44 2161.103
2161.103 2159.864 2159.864 2158.721 2158.721 2157.699 2157.699 2156.824
2156.824 2156.295 2156.295 2156.151 2156.151 2156.226 2156.226 2156.391
2156.391 2156.598 2156.598 2156.741 2156.741 2156.716 2156.716 2156.544
2156.544 2156.297 2156.297 2156.058 2156.058 2155.875 2155.875 2155.768
2174.316 2172.807 2172.807 2171.715 2171.715 2170.442 2170.442 2168.979
2168.979 2167.653 2167.653 2166.332 2166.332 2165.017 2165.017 2163.748
2163.748 2162.44 2162.44 2161.103 2161.103 2159.864 2159.864 2158.721
2158.721 2157.699 2157.699 2156.824 2156.824 2156.295 2156.295 2156.151
2156.151 2156.226 2156.226 2156.391 2156.391 2156.598 2156.598 2156.741
2156.741 2156.716 2156.716 2156.544 2156.544 2156.297 2156.297 2156.058
2156.058 2155.875 2155.875 2155.768 2174.496 2173.003 2173.003 2171.86
2171.86 2170.529 2170.529 2169.247 2169.247 2167.962 2167.962 2166.684
2166.684 2165.426 2165.426 2164.182 2164.182 2162.891 2162.891 2161.553
2161.553 2160.275 2160.275 2159.098 2159.098 2157.824 2157.824 2157.096
2157.096 2156.403 2156.403 2156.414 2156.414 2156.552 2156.552 2156.738
2156.738 2156.941 2156.941 2157.073 2157.073 2157.021 2157.021 2156.735
2156.735 2156.361 2156.361 2156.038 2156.038 2155.82 2155.82 2155.712
2174.496 2173.003 2173.003 2171.86 2171.86 2170.529 2170.529 2169.247
2169.247 2167.962 2167.962 2166.684 2166.684 2165.426 2165.426 2164.182
2164.182 2162.891 2162.891 2161.553 2161.553 2160.275 2160.275 2159.098
2159.098 2157.824 2157.824 2157.096 2157.096 2156.403 2156.403 2156.414
2156.414 2156.552 2156.552 2156.738 2156.738 2156.941 2156.941 2157.073
2157.073 2157.021 2157.021 2156.735 2156.735 2156.361 2156.361 2156.038
2156.038 2155.82 2155.82 2155.712 2174.71 2173.239 2173.239 2171.99
2171.99 2170.81 2170.81 2169.277 2169.277 2167.95 2167.95 2166.651
2166.651 2165.399 2165.399 2164.21 2164.21 2162.991 2162.991 2161.71
2161.71 2160.519 2160.519 2159.429 2159.429 2158.458 2158.458 2157.637
2157.637 2157.103 2157.103 2156.912 2156.912 2156.913 2156.913 2157.047
2157.047 2157.256 2157.256 2157.5 2157.5 2157.438 2157.438 2156.879
2156.879 2156.301 2156.301 2156.036 2156.036 2155.969 2155.969 2156.049
2174.71 2173.239 2173.239 2171.99 2171.99 2170.81 2170.81 2169.277
2169.277 2167.95 2167.95 2166.651 2166.651 2165.399 2165.399 2164.21
2164.21 2162.991 2162.991 2161.71 2161.71 2160.519 2160.519 2159.429
2159.429 2158.458 2158.458 2157.637 2157.637 2157.103 2157.103 2156.912
2156.912 2156.913 2156.913 2157.047 2157.047 2157.256 2157.256 2157.5
2157.5 2157.438 2157.438 2156.879 2156.879 2156.301 2156.301 2156.036
2156.036 2155.969 2155.969 2156.049 2174.887 2173.543 2173.543 2172.286
2172.286 2170.976 2170.976 2169.63 2169.63 2168.387 2168.387 2167.102
2167.102 2165.837 2165.837 2164.592 2164.592 2163.366 2163.366 2162.143
2162.143 2160.941 2160.941 2159.884 2159.884 2158.956 2158.956 2158.276
2158.276 2157.698 2157.698 2157.429 2157.429 2157.27 2157.27 2157.282
2157.282 2157.418 2157.418 2157.661 2157.661 2157.665 2157.665 2156.729
2156.729 2156.035 2156.035 2155.768 2155.768 2155.885 2155.885 2156.454
2174.887 2173.543 2173.543 2172.286 2172.286 2170.976 2170.976 2169.63
2169.63 2168.387 2168.387 2167.102 2167.102 2165.837 2165.837 2164.592
2164.592 2163.366 2163.366 2162.143 2162.143 2160.941 2160.941 2159.884
2159.884 2158.956 2158.956 2158.276 2158.276 2157.698 2157.698 2157.429
2157.429 2157.27 2157.27 2157.282 2157.282 2157.418 2157.418 2157.661
2157.661 2157.665 2157.665 2156.729 2156.729 2156.035 2156.035 2155.768
2155.768 2155.885 2155.885 2156.454 2175.305 2173.863 2173.863 2172.475
2172.475 2171.399 2171.399 2170.084 2170.084 2168.776 2168.776 2167.482
2167.482 2166.205 2166.205 2164.944 2164.944 2163.737 2163.737 2162.542
2162.542 2161.412 2161.412 2160.381 2160.381 2159.422 2159.422 2158.777
2158.777 2158.185 2158.185 2157.848 2157.848 2157.542 2157.542 2157.387
2157.387 2157.318 2157.318 2157.206 2157.206 2156.902 2156.902 2156.163
2156.163 2155.467 2155.467 2155.354 2155.354 2156.085 2156.085 2156.676
2181.971 2180.913 2180.913 2179.873 2179.873 2179.025 2179.025 2178.242
2178.242 2177.416 2177.416 2176.623 2176.623 2175.855 2175.855 2175.133
2175.133 2174.487 2174.487 2173.955 2173.955 2173.591 2173.591 2173.462
2173.462 2173.597 2173.597 2173.813 2173.813 2173.952 2173.952 2174.201
2174.201 2174.5 2174.5 2174.77 2174.77 2174.922 2174.922 2174.897
2174.897 2174.704 2174.704 2174.501 2174.501 2174.143 2174.143 2173.762
2173.762 2173.373 2173.373 2172.977 2181.443 2180.312 2180.312 2179.431
2179.431 2178.374 2178.374 2177.4 2177.4 2176.552 2176.552 2175.639
2175.639 2174.743 2174.743 2173.836 2173.836 2173.044 2173.044 2172.346
2172.346 2171.799 2171.799 2171.493 2171.493 2171.516 2171.516 2171.844
2171.844 2172.286 2172.286 2172.8 2172.8 2173.315 2173.315 2173.806
2173.806 2174.127 2174.127 2174.152 2174.152 2174.017 2174.017 2173.679
2173.679 2173.31 2173.31 2172.942 2172.942 2172.582 2172.582 2172.229
2181.443 2180.312 2180.312 2179.431 2179.431 2178.374 2178.374 2177.4
2177.4 2176.552 2176.552 2175.639 2175.639 2174.743 2174.743 2173.836
2173.836 2173.044 2173.044 2172.346 2172.346 2171.799 2171.799 2171.493
2171.493 2171.516 2171.516 2171.844 2171.844 2172.286 2172.286 2172.8
2172.8 2173.315 2173.315 2173.806 2173.806 2174.127 2174.127 2174.152
2174.152 2174.017 2174.017 2173.679 2173.679 2173.31 2173.31 2172.942
2172.942 2172.582 2172.582 2172.229 2180.947 2179.746 2179.746 2178.862
2178.862 2177.733 2177.733 2176.656 2176.656 2175.625 2175.625 2174.676
2174.676 2173.651 2173.651 2172.652 2172.652 2171.695 2171.695 2170.753
2170.753 2169.969 2169.969 2169.393 2169.393 2169.341 2169.341 2169.846
2169.846 2170.558 2170.558 2171.314 2171.314 2172.08 2172.08 2172.822
2172.822 2173.4 2173.4 2173.479 2173.479 2173.143 2173.143 2172.757
2172.757 2172.384 2172.384 2172.037 2172.037 2171.718 2171.718 2171.422
2180.947 2179.746 2179.746 2178.862 2178.862 2177.733 2177.733 2176.656
2176.656 2175.625 2175.625 2174.676 2174.676 2173.651 2173.651 2172.652
2172.652 2171.695 2171.695 2170.753 2170.753 2169.969 2169.969 2169.393
2169.393 2169.341 2169.341 2169.846 2169.846 2170.558 2170.558 2171.314
2171.314 2172.08 2172.08 2172.822 2172.822 2173.4 2173.4 2173.479
2173.479 2173.143 2173.143 2172.757 2172.757 2172.384 2172.384 2172.037
2172.037 2171.718 2171.718 2171.422 2180.489 2179.538 2179.538 2178.308
2178.308 2177.11 2177.11 2175.944 2175.944 2174.811 2174.811 2173.775
2173.775 2172.63 2172.63 2171.504 2171.504 2170.409 2170.409 2169.355
2169.355 2168.343 2168.343 2167.365 2167.365 2167.115 2167.115 2168.019
2168.019 2168.938 2168.938 2169.832 2169.832 2170.72 2170.72 2171.681
2171.681 2172.563 2172.563 2172.522 2172.522 2172.152 2172.152 2171.811
2171.811 2171.498 2171.498 2171.207 2171.207 2170.928 2170.928 2170.65
2180.489 2179.538 2179.538 2178.308 2178.308 2177.11 2177.11 2175.944
2175.944 2174.811 2174.811 2173.775 2173.775 2172.63 2172.63 2171.504
2171.504 2170.409 2170.409 2169.355 2169.355 2168.343 2168.343 2167.365
2167.365 2167.115 2167.115 2168.019 2168.019 2168.938 2168.938 2169.832
2169.832 2170.72 2170.72 2171.681 2171.681 2172.563 2172.563 2172.522
2172.522 2172.152 2172.152 2171.811 2171.811 2171.498 2171.498 2171.207
2171.207 2170.928 2170.928 2170.65 2180.075 2179.059 2179.059 2177.779
2177.779 2176.517 2176.517 2175.273 2175.273 2174.049 2174.049 2172.844
2172.844 2171.697 2171.697 2170.467 2170.467 2169.275 2169.275 2168.142
2168.142 2167.089 2167.089 2166.189 2166.189 2166.022 2166.022 2166.824
2166.824 2167.716 2167.716 2168.587 2168.587 2169.418 2169.418 2170.19
2170.19 2170.77 2170.77 2171.033 2171.033 2170.801 2170.801 2170.558
2170.558 2170.32 2170.32 2170.094 2170.094 2169.872 2169.872 2169.642
2180.075 2179.059 2179.059 2177.779 2177.779 2176.517 2176.517 2175.273
2175.273 2174.049 2174.049 2172.844 2172.844 2171.697 2171.697 2170.467
2170.467 2169.275 2169.275 2168.142 2168.142 2167.089 2167.089 2166.189
2166.189 2166.022 2166.022 2166.824 2166.824 2167.716 2167.716 2168.587
2168.587 2169.418 2169.418 2170.19 2170.19 2170.77 2170.77 2171.033
2171.033 2170.801 2170.801 2170.558 2170.558 2170.32 2170.32 2170.094
2170.094 2169.872 2169.872 2169.642 2179.938 2178.611 2178.611 2177.287
2177.287 2175.967 2175.967 2174.655 2174.655 2173.352 2173.352 2172.062
2172.062 2170.789 2170.789 2169.55 2169.55 2168.296 2168.296 2167.15
2167.15 2166.177 2166.177 2165.617 2165.617 2165.435 2165.435 2165.787
2165.787 2166.619 2166.619 2167.323 2167.323 2167.999 2167.999 2168.586
2168.586 2168.991 2168.991 2169.401 2169.401 2169.346 2169.346 2169.216
2169.216 2169.036 2169.036 2168.902 2168.902 2168.759 2168.759 2168.592
2179.938 2178.611 2178.611 2177.287 2177.287 2175.967 2175.967 2174.655
2174.655 2173.352 2173.352 2172.062 2172.062 2170.789 2170.789 2169.55
2169.55 2168.296 2168.296 2167.15 2167.15 2166.177 2166.177 2165.617
2165.617 2165.435 2165.435 2165.787 2165.787 2166.619 2166.619 2167.323
2167.323 2167.999 2167.999 2168.586 2168.586 2168.991 2168.991 2169.401
2169.401 2169.346 2169.346 2169.216 2169.216 2169.036 2169.036 2168.902
2168.902 2168.759 2168.759 2168.592 2179.56 2178.207 2178.207 2176.843
2176.843 2175.473 2175.473 2174.1 2174.1 2172.73 2172.73 2171.367
2171.367 2170.02 2170.02 2168.703 2168.703 2167.441 2167.441 2166.29
2166.29 2165.392 2165.392 2164.966 2164.966 2164.797 2164.797 2164.979
2164.979 2165.386 2165.386 2166.178 2166.178 2166.655 2166.655 2167.055
2167.055 2167.33 2167.33 2167.79 2167.79 2167.804 2167.804 2167.777
2167.777 2167.739 2167.739 2167.667 2167.667 2167.621 2167.621 2167.538
2179.56 2178.207 2178.207 2176.843 2176.843 2175.473 2175.473 2174.1
2174.1 2172.73 2172.73 2171.367 2171.367 2170.02 2170.02 2168.703
2168.703 2167.441 2167.441 2166.29 2166.29 2165.392 2165.392 2164.966
2164.966 2164.797 2164.797 2164.979 2164.979 2165.386 2165.386 2166.178
2166.178 2166.655 2166.655 2167.055 2167.055 2167.33 2167.33 2167.79
2167.79 2167.804 2167.804 2167.777 2167.777 2167.739 2167.739 2167.667
2167.667 2167.621 2167.621 2167.538 2179.24 2177.86 2177.86 2176.458
2176.458 2175.042 2175.042 2173.617 2173.617 2172.19 2172.19 2170.768
2170.768 2169.36 2169.36 2167.981 2167.981 2166.66 2166.66 2165.486
2165.486 2164.741 2164.741 2164.294 2164.294 2164.141 2164.141 2164.218
2164.218 2164.455 2164.455 2164.771 2164.771 2165.428 2165.428 2165.646
2165.646 2165.789 2165.789 2166.222 2166.222 2166.262 2166.262 2166.317
2166.317 2166.391 2166.391 2166.468 2166.468 2166.52 2166.52 2166.51
2179.24 2177.86 2177.86 2176.458 2176.458 2175.042 2175.042 2173.617
2173.617 2172.19 2172.19 2170.768 2170.768 2169.36 2169.36 2167.981
2167.981 2166.66 2166.66 2165.486 2165.486 2164.741 2164.741 2164.294
2164.294 2164.141 2164.141 2164.218 2164.218 2164.455 2164.455 2164.771
2164.771 2165.428 2165.428 2165.646 2165.646 2165.789 2165.789 2166.222
2166.222 2166.262 2166.262 2166.317 2166.317 2166.391 2166.391 2166.468
2166.468 2166.52 2166.52 2166.51 2178.977 2177.551 2177.551 2176.107
2176.107 2174.646 2174.646 2173.174 2173.174 2171.701 2171.701 2170.237
2170.237 2168.794 2168.794 2167.385 2167.385 2166.017 2166.017 2164.72
2164.72 2164.004 2164.004 2163.691 2163.691 2163.537 2163.537 2163.525
2163.525 2163.618 2163.618 2163.767 2163.767 2163.917 2163.917 2164.372
2164.372 2164.365 2164.365 2164.359 2164.359 2164.733 2164.733 2164.866
2164.866 2165.065 2165.065 2165.276 2165.276 2165.45 2165.45 2165.558
2178.977 2177.551 2177.551 2176.107 2176.107 2174.646 2174.646 2173.174
2173.174 2171.701 2171.701 2170.237 2170.237 2168.794 2168.794 2167.385
2167.385 2166.017 2166.017 2164.72 2164.72 2164.004 2164.004 2163.691
2163.691 2163.537 2163.537 2163.525 2163.525 2163.618 2163.618 2163.767
2163.767 2163.917 2163.917 2164.372 2164.372 2164.365 2164.365 2164.359
2164.359 2164.733 2164.733 2164.866 2164.866 2165.065 2165.065 2165.276
2165.276 2165.45 2165.45 2165.558 2178.773 2177.313 2177.313 2175.838
2175.838 2174.346 2174.346 2172.844 2172.844 2171.34 2171.34 2169.848
2169.848 2168.381 2168.381 2166.955 2166.955 2165.593 2165.593 2164.43
2164.43 2163.503 2163.503 2163.195 2163.195 2163.044 2163.044 2162.928
2162.928 2162.894 2162.894 2162.897 2162.897 2162.894 2162.894 2162.855
2162.855 2163.061 2163.061 2162.922 2162.922 2163.217 2163.217 2163.447
2163.447 2163.803 2163.803 2164.169 2164.169 2164.474 2164.474 2164.685
2178.773 2177.313 2177.313 2175.838 2175.838 2174.346 2174.346 2172.844
2172.844 2171.34 2171.34 2169.848 2169.848 2168.381 2168.381 2166.955
2166.955 2165.593 2165.593 2164.43 2164.43 2163.503 2163.503 2163.195
2163.195 2163.044 2163.044 2162.928 2162.928 2162.894 2162.894 2162.897
2162.897 2162.894 2162.894 2162.855 2162.855 2163.061 2163.061 2162.922
2162.922 2163.217 2163.217 2163.447 2163.447 2163.803 2163.803 2164.169
2164.169 2164.474 2164.474 2164.685 2178.469 2177.131 2177.131 2175.63
2175.63 2174.112 2174.112 2172.583 2172.583 2171.053 2171.053 2169.539
2169.539 2168.061 2168.061 2166.917 2166.917 2165.522 2165.522 2164.284
2164.284 2163.346 2163.346 2162.589 2162.589 2162.486 2162.486 2162.235
2162.235 2162.073 2162.073 2162.18 2162.18 2162.053 2162.053 2161.871
2161.871 2161.623 2161.623 2161.558 2161.558 2161.704 2161.704 2162.104
2162.104 2162.673 2162.673 2163.141 2163.141 2163.551 2163.551 2163.844
2178.469 2177.131 2177.131 2175.63 2175.63 2174.112 2174.112 2172.583
2172.583 2171.053 2171.053 2169.539 2169.539 2168.061 2168.061 2166.917
2166.917 2165.522 2165.522 2164.284 2164.284 2163.346 2163.346 2162.589
2162.589 2162.486 2162.486 2162.235 2162.235 2162.073 2162.073 2162.18
2162.18 2162.053 2162.053 2161.871 2161.871 2161.623 2161.623 2161.558
2161.558 2161.704 2161.704 2162.104 2162.104 2162.673 2162.673 2163.141
2163.141 2163.551 2163.551 2163.844 2178.342 2176.999 2176.999 2175.482
2175.482 2173.943 2173.943 2172.388 2172.388 2170.834 2170.834 2169.303
2169.303 2168.154 2168.154 2166.703 2166.703 2165.345 2165.345 2164.135
2164.135 2163.198 2163.198 2162.377 2162.377 2161.743 2161.743 2161.777
2161.777 2161.537 2161.537 2161.345 2161.345 2161.152 2161.152 2160.907
2160.907 2160.57 2160.57 2160.238 2160.238 2160.207 2160.207 2160.941
2160.941 2161.698 2161.698 2162.339 2162.339 2162.839 2162.839 2163.193
2178.342 2176.999 2176.999 2175.482 2175.482 2173.943 2173.943 2172.388
2172.388 2170.834 2170.834 2169.303 2169.303 2168.154 2168.154 2166.703
2166.703 2165.345 2165.345 2164.135 2164.135 2163.198 2163.198 2162.377
2162.377 2161.743 2161.743 2161.777 2161.777 2161.537 2161.537 2161.345
2161.345 2161.152 2161.152 2160.907 2160.907 2160.57 2160.57 2160.238
2160.238 2160.207 2160.207 2160.941 2160.941 2161.698 2161.698 2162.339
2162.339 2162.839 2162.839 2163.193 2178.259 2176.788 2176.788 2175.39
2175.39 2173.834 2173.834 2172.254 2172.254 2170.676 2170.676 2169.477
2169.477 2167.984 2167.984 2166.542 2166.542 2165.191 2165.191 2163.977
2163.977 2163.029 2163.029 2162.173 2162.173 2161.515 2161.515 2161.023
2161.023 2160.66 2160.66 2160.903 2160.903 2160.703 2160.703 2160.464
2160.464 2160.132 2160.132 2159.563 2159.563 2159.636 2159.636 2160.37
2160.37 2161.148 2161.148 2161.821 2161.821 2162.352 2162.352 2162.721
2178.259 2176.788 2176.788 2175.39 2175.39 2173.834 2173.834 2172.254
2172.254 2170.676 2170.676 2169.477 2169.477 2167.984 2167.984 2166.542
2166.542 2165.191 2165.191 2163.977 2163.977 2163.029 2163.029 2162.173
2162.173 2161.515 2161.515 2161.023 2161.023 2160.66 2160.66 2160.903
2160.903 2160.703 2160.703 2160.464 2160.464 2160.132 2160.132 2159.563
2159.563 2159.636 2159.636 2160.37 2160.37 2161.148 2161.148 2161.821
2161.821 2162.352 2162.352 2162.721 2178.206 2176.757 2176.757 2175.35
2175.35 2173.782 2173.782 2172.4 2172.4 2170.881 2170.881 2169.365
2169.365 2167.871 2167.871 2166.424 2166.424 2165.056 2165.056 2163.812
2163.812 2162.83 2162.83 2161.955 2161.955 2161.298 2161.298 2160.824
2160.824 2160.496 2160.496 2160.285 2160.285 2160.461 2160.461 2159.94
2159.94 2159.848 2159.848 2159.742 2159.742 2159.976 2159.976 2160.389
2160.389 2160.97 2160.97 2161.58 2161.58 2162.088 2162.088 2162.385
2178.206 2176.757 2176.757 2175.35 2175.35 2173.782 2173.782 2172.4
2172.4 2170.881 2170.881 2169.365 2169.365 2167.871 2167.871 2166.424
2166.424 2165.056 2165.056 2163.812 2163.812 2162.83 2162.83 2161.955
2161.955 2161.298 2161.298 2160.824 2160.824 2160.496 2160.496 2160.285
2160.285 2160.461 2160.461 2159.94 2159.94 2159.848 2159.848 2159.742
2159.742 2159.976 2159.976 2160.389 2160.389 2160.97 2160.97 2161.58
2161.58 2162.088 2162.088 2162.385 2178.108 2176.685 2176.685 2175.285
2175.285 2173.849 2173.849 2172.347 2172.347 2170.834 2170.834 2169.321
2169.321 2167.821 2167.821 2166.355 2166.355 2164.95 2164.95 2163.65
2163.65 2162.519 2162.519 2161.711 2161.711 2161.08 2161.08 2160.645
2160.645 2160.363 2160.363 2159.748 2159.748 2159.733 2159.733 2159.968
2159.968 2160.081 2160.081 2160.177 2160.177 2160.295 2160.295 2160.551
2160.551 2161.007 2161.007 2161.523 2161.523 2162.015 2162.015 2162.236
2178.108 2176.685 2176.685 2175.285 2175.285 2173.849 2173.849 2172.347
2172.347 2170.834 2170.834 2169.321 2169.321 2167.821 2167.821 2166.355
2166.355 2164.95 2164.95 2163.65 2163.65 2162.519 2162.519 2161.711
2161.711 2161.08 2161.08 2160.645 2160.645 2160.363 2160.363 2159.748
2159.748 2159.733 2159.733 2159.968 2159.968 2160.081 2160.081 2160.177
2160.177 2160.295 2160.295 2160.551 2160.551 2161.007 2161.007 2161.523
2161.523 2162.015 2162.015 2162.236 2178.023 2176.573 2176.573 2175.103
2175.103 2173.713 2173.713 2172.146 2172.146 2170.578 2170.578 2169.038
2169.038 2167.843 2167.843 2166.355 2166.355 2164.904 2164.904 2163.521
2163.521 2162.288 2162.288 2161.449 2161.449 2160.881 2160.881 2160.119
2160.119 2159.808 2159.808 2159.67 2159.67 2159.712 2159.712 2159.938
2159.938 2160.356 2160.356 2160.382 2160.382 2160.503 2160.503 2160.832
2160.832 2161.17 2161.17 2161.589 2161.589 2162.041 2162.041 2162.086
2178.023 2176.573 2176.573 2175.103 2175.103 2173.713 2173.713 2172.146
2172.146 2170.578 2170.578 2169.038 2169.038 2167.843 2167.843 2166.355
2166.355 2164.904 2164.904 2163.521 2163.521 2162.288 2162.288 2161.449
2161.449 2160.881 2160.881 2160.119 2160.119 2159.808 2159.808 2159.67
2159.67 2159.712 2159.712 2159.938 2159.938 2160.356 2160.356 2160.382
2160.382 2160.503 2160.503 2160.832 2160.832 2161.17 2161.17 2161.589
2161.589 2162.041 2162.041 2162.086 2177.935 2176.479 2176.479 2174.946
2174.946 2173.695 2173.695 2172.141 2172.141 2170.581 2170.581 2169.047
2169.047 2167.546 2167.546 2166.086 2166.086 2164.677 2164.677 2163.331
2163.331 2162.063 2162.063 2161.35 2161.35 2160.934 2160.934 2160.598
2160.598 2160.356 2160.356 2160.216 2160.216 2160.186 2160.186 2160.263
2160.263 2160.448 2160.448 2160.428 2160.428 2160.69 2160.69 2160.871
2160.871 2161.145 2161.145 2161.47 2161.47 2161.589 2161.589 2161.83
2177.935 2176.479 2176.479 2174.946 2174.946 2173.695 2173.695 2172.141
2172.141 2170.581 2170.581 2169.047 2169.047 2167.546 2167.546 2166.086
2166.086 2164.677 2164.677 2163.331 2163.331 2162.063 2162.063 2161.35
2161.35 2160.934 2160.934 2160.598 2160.598 2160.356 2160.356 2160.216
2160.216 2160.186 2160.186 2160.263 2160.263 2160.448 2160.448 2160.428
2160.428 2160.69 2160.69 2160.871 2160.871 2161.145 2161.145 2161.47
2161.47 2161.589 2161.589 2161.83 2177.944 2176.406 2176.406 2175.252
2175.252 2173.711 2173.711 2172.126 2172.126 2170.632 2170.632 2169.111
2169.111 2167.618 2167.618 2166.158 2166.158 2164.739 2164.739 2163.379
2163.379 2162.141 2162.141 2161.343 2161.343 2160.989 2160.989 2160.581
2160.581 2160.3 2160.3 2160.144 2160.144 2160.109 2160.109 2160.185
2160.185 2160.371 2160.371 2160.312 2160.312 2160.642 2160.642 2160.833
2160.833 2161.07 2161.07 2160.995 2160.995 2161.229 2161.229 2161.365
2177.944 2176.406 2176.406 2175.252 2175.252 2173.711 2173.711 2172.126
2172.126 2170.632 2170.632 2169.111 2169.111 2167.618 2167.618 2166.158
2166.158 2164.739 2164.739 2163.379 2163.379 2162.141 2162.141 2161.343
2161.343 2160.989 2160.989 2160.581 2160.581 2160.3 2160.3 2160.144
2160.144 2160.109 2160.109 2160.185 2160.185 2160.371 2160.371 2160.312
2160.312 2160.642 2160.642 2160.833 2160.833 2161.07 2161.07 2160.995
2160.995 2161.229 2161.229 2161.365 2177.935 2176.38 2176.38 2175.276
2175.276 2173.762 2173.762 2172.204 2172.204 2170.733 2170.733 2169.236
2169.236 2167.763 2167.763 2166.315 2166.315 2164.938 2164.938 2163.581
2163.581 2162.292 2162.292 2161.27 2161.27 2160.725 2160.725 2160.608
2160.608 2160.25 2160.25 2160.05 2160.05 2159.996 2159.996 2160.141
2160.141 2160.269 2160.269 2160.369 2160.369 2160.552 2160.552 2160.763
2160.763 2160.608 2160.608 2160.794 2160.794 2160.957 2160.957 2161.066
2177.935 2176.38 2176.38 2175.276 2175.276 2173.762 2173.762 2172.204
2172.204 2170.733 2170.733 2169.236 2169.236 2167.763 2167.763 2166.315
2166.315 2164.938 2164.938 2163.581 2163.581 2162.292 2162.292 2161.27
2161.27 2160.725 2160.725 2160.608 2160.608 2160.25 2160.25 2160.05
2160.05 2159.996 2159.996 2160.141 2160.141 2160.269 2160.269 2160.369
2160.369 2160.552 2160.552 2160.763 2160.763 2160.608 2160.608 2160.794
2160.794 2160.957 2160.957 2161.066 2177.959 2176.401 2176.401 2175.327
2175.327 2173.846 2173.846 2172.326 2172.326 2170.828 2170.828 2169.426
2169.426 2167.985 2167.985 2166.526 2166.526 2165.113 2165.113 2163.767
2163.767 2162.457 2162.457 2161.382 2161.382 2160.805 2160.805 2160.082
2160.082 2159.586 2159.586 2159.916 2159.916 2159.84 2159.84 2159.982
2159.982 2160.141 2160.141 2160.233 2160.233 2160.465 2160.465 2160.378
2160.378 2160.516 2160.516 2160.654 2160.654 2160.77 2160.77 2160.855
2177.959 2176.401 2176.401 2175.327 2175.327 2173.846 2173.846 2172.326
2172.326 2170.828 2170.828 2169.426 2169.426 2167.985 2167.985 2166.526
2166.526 2165.113 2165.113 2163.767 2163.767 2162.457 2162.457 2161.382
2161.382 2160.805 2160.805 2160.082 2160.082 2159.586 2159.586 2159.916
2159.916 2159.84 2159.84 2159.982 2159.982 2160.141 2160.141 2160.233
2160.233 2160.465 2160.465 2160.378 2160.378 2160.516 2160.516 2160.654
2160.654 2160.77 2160.77 2160.855 2178.016 2176.465 2176.465 2175.396
2175.396 2173.96 2173.96 2172.491 2172.491 2171.046 2171.046 2169.621
2169.621 2168.16 2168.16 2166.734 2166.734 2165.334 2165.334 2163.9
2163.9 2162.647 2162.647 2161.513 2161.513 2160.533 2160.533 2160.038
2160.038 2159.465 2159.465 2159.175 2159.175 2159.713 2159.713 2159.781
2159.781 2159.986 2159.986 2160.12 2160.12 2160.42 2160.42 2160.358
2160.358 2160.485 2160.485 2160.587 2160.587 2160.665 2160.665 2160.726
2178.016 2176.465 2176.465 2175.396 2175.396 2173.96 2173.96 2172.491
2172.491 2171.046 2171.046 2169.621 2169.621 2168.16 2168.16 2166.734
2166.734 2165.334 2165.334 2163.9 2163.9 2162.647 2162.647 2161.513
2161.513 2160.533 2160.533 2160.038 2160.038 2159.465 2159.465 2159.175
2159.175 2159.713 2159.713 2159.781 2159.781 2159.986 2159.986 2160.12
2160.12 2160.42 2160.42 2160.358 2160.358 2160.485 2160.485 2160.587
2160.587 2160.665 2160.665 2160.726 2178.104 2176.566 2176.566 2175.479
2175.479 2174.102 2174.102 2172.697 2172.697 2171.32 2171.32 2169.752
2169.752 2168.392 2168.392 2166.995 2166.995 2165.607 2165.607 2164.172
2164.172 2162.878 2162.878 2161.679 2161.679 2160.612 2160.612 2159.976
2159.976 2159.315 2159.315 2159.112 2159.112 2159.125 2159.125 2159.543
2159.543 2159.801 2159.801 2160.061 2160.061 2160.249 2160.249 2160.435
2160.435 2160.542 2160.542 2160.599 2160.599 2160.637 2160.637 2160.672
2178.104 2176.566 2176.566 2175.479 2175.479 2174.102 2174.102 2172.697
2172.697 2171.32 2171.32 2169.752 2169.752 2168.392 2168.392 2166.995
2166.995 2165.607 2165.607 2164.172 2164.172 2162.878 2162.878 2161.679
2161.679 2160.612 2160.612 2159.976 2159.976 2159.315 2159.315 2159.112
2159.112 2159.125 2159.125 2159.543 2159.543 2159.801 2159.801 2160.061
2160.061 2160.249 2160.249 2160.435 2160.435 2160.542 2160.542 2160.599
2160.599 2160.637 2160.637 2160.672 2178.24 2176.703 2176.703 2175.571
2175.571 2174.269 2174.269 2172.762 2172.762 2171.388 2171.388 2170.014
2170.014 2168.642 2168.642 2167.314 2167.314 2165.938 2165.938 2164.501
2164.501 2163.164 2163.164 2161.908 2161.908 2160.756 2160.756 2159.746
2159.746 2159.124 2159.124 2159.022 2159.022 2159.175 2159.175 2159.406
2159.406 2159.649 2159.649 2160.092 2160.092 2160.479 2160.479 2160.657
2160.657 2160.696 2160.696 2160.682 2160.682 2160.67 2160.67 2160.685
2178.24 2176.703 2176.703 2175.571 2175.571 2174.269 2174.269 2172.762
2172.762 2171.388 2171.388 2170.014 2170.014 2168.642 2168.642 2167.314
2167.314 2165.938 2165.938 2164.501 2164.501 2163.164 2163.164 2161.908
2161.908 2160.756 2160.756 2159.746 2159.746 2159.124 2159.124 2159.022
2159.022 2159.175 2159.175 2159.406 2159.406 2159.649 2159.649 2160.092
2160.092 2160.479 2160.479 2160.657 2160.657 2160.696 2160.696 2160.682
2160.682 2160.67 2160.67 2160.685 2178.396 2176.868 2176.868 2175.682
2175.682 2174.316 2174.316 2172.985 2172.985 2171.647 2171.647 2170.31
2170.31 2168.988 2168.988 2167.672 2167.672 2166.302 2166.302 2164.882
2164.882 2163.512 2163.512 2162.228 2162.228 2160.834 2160.834 2159.967
2159.967 2159.17 2159.17 2159.284 2159.284 2159.547 2159.547 2159.866
2159.866 2160.242 2160.242 2160.696 2160.696 2161.045 2161.045 2161.107
2161.107 2161.012 2161.012 2160.899 2160.899 2160.83 2160.83 2160.818
2178.396 2176.868 2176.868 2175.682 2175.682 2174.316 2174.316 2172.985
2172.985 2171.647 2171.647 2170.31 2170.31 2168.988 2168.988 2167.672
2167.672 2166.302 2166.302 2164.882 2164.882 2163.512 2163.512 2162.228
2162.228 2160.834 2160.834 2159.967 2159.967 2159.17 2159.17 2159.284
2159.284 2159.547 2159.547 2159.866 2159.866 2160.242 2160.242 2160.696
2160.696 2161.045 2161.045 2161.107 2161.107 2161.012 2161.012 2160.899
2160.899 2160.83 2160.83 2160.818 2178.589 2177.073 2177.073 2175.786
2175.786 2174.565 2174.565 2172.98 2172.98 2171.598 2171.598 2170.237
2170.237 2168.917 2168.917 2167.652 2167.652 2166.355 2166.355 2164.997
2164.997 2163.723 2163.723 2162.546 2162.546 2161.485 2161.485 2160.59
2160.59 2160.041 2160.041 2159.925 2159.925 2160.077 2160.077 2160.409
2160.409 2160.871 2160.871 2161.471 2161.471 2161.789 2161.789 2161.533
2161.533 2161.201 2161.201 2161.138 2161.138 2161.184 2161.184 2161.326
2178.589 2177.073 2177.073 2175.786 2175.786 2174.565 2174.565 2172.98
2172.98 2171.598 2171.598 2170.237 2170.237 2168.917 2168.917 2167.652
2167.652 2166.355 2166.355 2164.997 2164.997 2163.723 2163.723 2162.546
2162.546 2161.485 2161.485 2160.59 2160.59 2160.041 2160.041 2159.925
2159.925 2160.077 2160.077 2160.409 2160.409 2160.871 2160.871 2161.471
2161.471 2161.789 2161.789 2161.533 2161.533 2161.201 2161.201 2161.138
2161.138 2161.184 2161.184 2161.326 2178.75 2177.363 2177.363 2176.059
2176.059 2174.706 2174.706 2173.308 2173.308 2172.001 2172.001 2170.654
2170.654 2169.325 2169.325 2168.014 2168.014 2166.706 2166.706 2165.409
2165.409 2164.157 2164.157 2163.037 2163.037 2162.058 2162.058 2161.353
2161.353 2160.805 2160.805 2160.619 2160.619 2160.629 2160.629 2160.875
2160.875 2161.317 2161.317 2161.942 2161.942 2162.341 2162.341 2161.675
2161.675 2161.222 2161.222 2161.111 2161.111 2161.298 2161.298 2161.847
2178.75 2177.363 2177.363 2176.059 2176.059 2174.706 2174.706 2173.308
2173.308 2172.001 2172.001 2170.654 2170.654 2169.325 2169.325 2168.014
2168.014 2166.706 2166.706 2165.409 2165.409 2164.157 2164.157 2163.037
2163.037 2162.058 2162.058 2161.353 2161.353 2160.805 2160.805 2160.619
2160.619 2160.629 2160.629 2160.875 2160.875 2161.317 2161.317 2161.942
2161.942 2162.341 2162.341 2161.675 2161.675 2161.222 2161.222 2161.111
2161.111 2161.298 2161.298 2161.847 2179.156 2177.67 2177.67 2176.237
2176.237 2175.108 2175.108 2173.738 2173.738 2172.371 2172.371 2171.019
2171.019 2169.683 2169.683 2168.365 2168.365 2167.077 2167.077 2165.823
2165.823 2164.641 2164.641 2163.57 2163.57 2162.617 2162.617 2161.981
2161.981 2161.445 2161.445 2161.207 2161.207 2161.084 2161.084 2161.177
2161.177 2161.419 2161.419 2161.683 2161.683 2161.733 2161.733 2161.314
2161.314 2160.911 2160.911 2160.941 2160.941 2161.64 2161.64 2162.196
2181.971 2180.913 2180.913 2179.873 2179.873 2179.025 2179.025 2178.242
2178.242 2177.416 2177.416 2176.623 2176.623 2175.855 2175.855 2175.133
2175.133 2174.487 2174.487 2173.955 2173.955 2173.591 2173.591 2173.462
2173.462 2173.597 2173.597 2173.813 2173.813 2173.952 2173.952 2174.201
2174.201 2174.5 2174.5 2174.77 2174.77 2174.922 2174.922 2174.897
2174.897 2174.704 2174.704 2174.501 2174.501 2174.143 2174.143 2173.762
2173.762 2173.373 2173.373 2172.977 2181.443 2180.312 2180.312 2179.431
2179.431 2178.374 2178.374 2177.4 2177.4 2176.552 2176.552 2175.639
2175.639 2174.743 2174.743 2173.836 2173.836 2173.044 2173.044 2172.346
2172.346 2171.799 2171.799 2171.493 2171.493 2171.516 2171.516 2171.844
2171.844 2172.286 2172.286 2172.8 2172.8 2173.315 2173.315 2173.806
2173.806 2174.127 2174.127 2174.152 2174.152 2174.017 2174.017 2173.679
2173.679 2173.31 2173.31 2172.942 2172.942 2172.582 2172.582 2172.229
2181.443 2180.312 2180.312 2179.431 2179.431 2178.374 2178.374 2177.4
2177.4 2176.552 2176.552 2175.639 2175.639 2174.743 2174.743 2173.836
2173.836 2173.044 2173.044 2172.346 2172.346 2171.799 2171.799 2171.493
2171.493 2171.516 2171.516 2171.844 2171.844 2172.286 2172.286 2172.8
2172.8 2173.315 2173.315 2173.806 2173.806 2174.127 2174.127 2174.152
2174.152 2174.017 2174.017 2173.679 2173.679 2173.31 2173.31 2172.942
2172.942 2172.582 2172.582 2172.229 2180.947 2179.746 2179.746 2178.862
2178.862 2177.733 2177.733 2176.656 2176.656 2175.625 2175.625 2174.676
2174.676 2173.651 2173.651 2172.652 2172.652 2171.695 2171.695 2170.753
2170.753 2169.969 2169.969 2169.393 2169.393 2169.341 2169.341 2169.846
2169.846 2170.558 2170.558 2171.314 2171.314 2172.08 2172.08 2172.822
2172.822 2173.4 2173.4 2173.479 2173.479 2173.143 2173.143 2172.757
2172.757 2172.384 2172.384 2172.037 2172.037 2171.718 2171.718 2171.422
2180.947 2179.746 2179.746 2178.862 2178.862 2177.733 2177.733 2176.656
2176.656 2175.625 2175.625 2174.676 2174.676 2173.651 2173.651 2172.652
2172.652 2171.695 2171.695 2170.753 2170.753 2169.969 2169.969 2169.393
2169.393 2169.341 2169.341 2169.846 2169.846 2170.558 2170.558 2171.314
2171.314 2172.08 2172.08 2172.822 2172.822 2173.4 2173.4 2173.479
2173.479 2173.143 2173.143 2172.757 2172.757 2172.384 2172.384 2172.037
2172.037 2171.718 2171.718 2171.422 2180.489 2179.538 2179.538 2178.308
2178.308 2177.11 2177.11 2175.944 2175.944 2174.811 2174.811 2173.775
2173.775 2172.63 2172.63 2171.504 2171.504 2170.409 2170.409 2169.355
2169.355 2168.343 2168.343 2167.365 2167.365 2167.115 2167.115 2168.019
2168.019 2168.938 2168.938 2169.832 2169.832 2170.72 2170.72 2171.681
2171.681 2172.563 2172.563 2172.522 2172.522 2172.152 2172.152 2171.811
2171.811 2171.498 2171.498 2171.207 2171.207 2170.928 2170.928 2170.65
2180.489 2179.538 2179.538 2178.308 2178.308 2177.11 2177.11 2175.944
2175.944 2174.811 2174.811 2173.775 2173.775 2172.63 2172.63 2171.504
2171.504 2170.409 2170.409 2169.355 2169.355 2168.343 2168.343 2167.365
2167.365 2167.115 2167.115 2168.019 2168.019 2168.938 2168.938 2169.832
2169.832 2170.72 2170.72 2171.681 2171.681 2172.563 2172.563 2172.522
2172.522 2172.152 2172.152 2171.811 2171.811 2171.498 2171.498 2171.207
2171.207 2170.928 2170.928 2170.65 2180.075 2179.059 2179.059 2177.779
2177.779 2176.517 2176.517 2175.273 2175.273 2174.049 2174.049 2172.844
2172.844 2171.697 2171.697 2170.467 2170.467 2169.275 2169.275 2168.142
2168.142 2167.089 2167.089 2166.189 2166.189 2166.022 2166.022 2166.824
2166.824 2167.716 2167.716 2168.587 2168.587 2169.418 2169.418 2170.19
2170.19 2170.77 2170.77 2171.033 2171.033 2170.801 2170.801 2170.558
2170.558 2170.32 2170.32 2170.094 2170.094 2169.872 2169.872 2169.642
2180.075 2179.059 2179.059 2177.779 2177.779 2176.517 2176.517 2175.273
2175.273 2174.049 2174.049 2172.844 2172.844 2171.697 2171.697 2170.467
2170.467 2169.275 2169.275 2168.142 2168.142 2167.089 2167.089 2166.189
2166.189 2166.022 2166.022 2166.824 2166.824 2167.716 2167.716 2168.587
2168.587 2169.418 2169.418 2170.19 2170.19 2170.77 2170.77 2171.033
2171.033 2170.801 2170.801 2170.558 2170.558 2170.32 2170.32 2170.094
2170.094 2169.872 2169.872 2169.642 2179.938 2178.611 2178.611 2177.287
2177.287 2175.967 2175.967 2174.655 2174.655 2173.352 2173.352 2172.062
2172.062 2170.789 2170.789 2169.55 2169.55 2168.296 2168.296 2167.15
2167.15 2166.177 2166.177 2165.617 2165.617 2165.435 2165.435 2165.787
2165.787 2166.619 2166.619 2167.323 2167.323 2167.999 2167.999 2168.586
2168.586 2168.991 2168.991 2169.401 2169.401 2169.346 2169.346 2169.216
2169.216 2169.036 2169.036 2168.902 2168.902 2168.759 2168.759 2168.592
2179.938 2178.611 2178.611 2177.287 2177.287 2175.967 2175.967 2174.655
2174.655 2173.352 2173.352 2172.062 2172.062 2170.789 2170.789 2169.55
2169.55 2168.296 2168.296 2167.15 2167.15 2166.177 2166.177 2165.617
2165.617 2165.435 2165.435 2165.787 2165.787 2166.619 2166.619 2167.323
2167.323 2167.999 2167.999 2168.586 2168.586 2168.991 2168.991 2169.401
2169.401 2169.346 2169.346 2169.216 2169.216 2169.036 2169.036 2168.902
2168.902 2168.759 2168.759 2168.592 2179.56 2178.207 2178.207 2176.843
2176.843 2175.473 2175.473 2174.1 2174.1 2172.73 2172.73 2171.367
2171.367 2170.02 2170.02 2168.703 2168.703 2167.441 2167.441 2166.29
2166.29 2165.392 2165.392 2164.966 2164.966 2164.797 2164.797 2164.979
2164.979 2165.386 2165.386 2166.178 2166.178 2166.655 2166.655 2167.055
2167.055 2167.33 2167.33 2167.79 2167.79 2167.804 2167.804 2167.777
2167.777 2167.739 2167.739 2167.667 2167.667 2167.621 2167.621 2167.538
2179.56 2178.207 2178.207 2176.843 2176.843 2175.473 2175.473 2174.1
2174.1 2172.73 2172.73 2171.367 2171.367 2170.02 2170.02 2168.703
2168.703 2167.441 2167.441 2166.29 2166.29 2165.392 2165.392 2164.966
2164.966 2164.797 2164.797 2164.979 2164.979 2165.386 2165.386 2166.178
2166.178 2166.655 2166.655 2167.055 2167.055 2167.33 2167.33 2167.79
2167.79 2167.804 2167.804 2167.777 2167.777 2167.739 2167.739 2167.667
2167.667 2167.621 2167.621 2167.538 2179.24 2177.86 2177.86 2176.458
2176.458 2175.042 2175.042 2173.617 2173.617 2172.19 2172.19 2170.768
2170.768 2169.36 2169.36 2167.981 2167.981 2166.66 2166.66 2165.486
2165.486 2164.741 2164.741 2164.294 2164.294 2164.141 2164.141 2164.218
2164.218 2164.455 2164.455 2164.771 2164.771 2165.428 2165.428 2165.646
2165.646 2165.789 2165.789 2166.222 2166.222 2166.262 2166.262 2166.317
2166.317 2166.391 2166.391 2166.468 2166.468 2166.52 2166.52 2166.51
2179.24 2177.86 2177.86 2176.458 2176.458 2175.042 2175.042 2173.617
2173.617 2172.19 2172.19 2170.768 2170.768 2169.36 2169.36 2167.981
2167.981 2166.66 2166.66 2165.486 2165.486 2164.741 2164.741 2164.294
2164.294 2164.141 2164.141 2164.218 2164.218 2164.455 2164.455 2164.771
2164.771 2165.428 2165.428 2165.646 2165.646 2165.789 2165.789 2166.222
2166.222 2166.262 2166.262 2166.317 2166.317 2166.391 2166.391 2166.468
2166.468 2166.52 2166.52 2166.51 2178.977 2177.551 2177.551 2176.107
2176.107 2174.646 2174.646 2173.174 2173.174 2171.701 2171.701 2170.237
2170.237 2168.794 2168.794 2167.385 2167.385 2166.017 2166.017 2164.72
2164.72 2164.004 2164.004 2163.691 2163.691 2163.537 2163.537 2163.525
2163.525 2163.618 2163.618 2163.767 2163.767 2163.917 2163.917 2164.372
2164.372 2164.365 2164.365 2164.359 2164.359 2164.733 2164.733 2164.866
2164.866 2165.065 2165.065 2165.276 2165.276 2165.45 2165.45 2165.558
2178.977 2177.551 2177.551 2176.107 2176.107 2174.646 2174.646 2173.174
2173.174 2171.701 2171.701 2170.237 2170.237 2168.794 2168.794 2167.385
2167.385 2166.017 2166.017 2164.72 2164.72 2164.004 2164.004 2163.691
2163.691 2163.537 2163.537 2163.525 2163.525 2163.618 2163.618 2163.767
2163.767 2163.917 2163.917 2164.372 2164.372 2164.365 2164.365 2164.359
2164.359 2164.733 2164.733 2164.866 2164.866 2165.065 2165.065 2165.276
2165.276 2165.45 2165.45 2165.558 2178.773 2177.313 2177.313 2175.838
2175.838 2174.346 2174.346 2172.844 2172.844 2171.34 2171.34 2169.848
2169.848 2168.381 2168.381 2166.955 2166.955 2165.593 2165.593 2164.43
2164.43 2163.503 2163.503 2163.195 2163.195 2163.044 2163.044 2162.928
2162.928 2162.894 2162.894 2162.897 2162.897 2162.894 2162.894 2162.855
2162.855 2163.061 2163.061 2162.922 2162.922 2163.217 2163.217 2163.447
2163.447 2163.803 2163.803 2164.169 2164.169 2164.474 2164.474 2164.685
2178.773 2177.313 2177.313 2175.838 2175.838 2174.346 2174.346 2172.844
2172.844 2171.34 2171.34 2169.848 2169.848 2168.381 2168.381 2166.955
2166.955 2165.593 2165.593 2164.43 2164.43 2163.503 2163.503 2163.195
2163.195 2163.044 2163.044 2162.928 2162.928 2162.894 2162.894 2162.897
2162.897 2162.894 2162.894 2162.855 2162.855 2163.061 2163.061 2162.922
2162.922 2163.217 2163.217 2163.447 2163.447 2163.803 2163.803 2164.169
2164.169 2164.474 2164.474 2164.685 2178.469 2177.131 2177.131 2175.63
2175.63 2174.112 2174.112 2172.583 2172.583 2171.053 2171.053 2169.539
2169.539 2168.061 2168.061 2166.917 2166.917 2165.522 2165.522 2164.284
2164.284 2163.346 2163.346 2162.589 2162.589 2162.486 2162.486 2162.235
2162.235 2162.073 2162.073 2162.18 2162.18 2162.053 2162.053 2161.871
2161.871 2161.623 2161.623 2161.558 2161.558 2161.704 2161.704 2162.104
2162.104 2162.673 2162.673 2163.141 2163.141 2163.551 2163.551 2163.844
2178.469 2177.131 2177.131 2175.63 2175.63 2174.112 2174.112 2172.583
2172.583 2171.053 2171.053 2169.539 2169.539 2168.061 2168.061 2166.917
2166.917 2165.522 2165.522 2164.284 2164.284 2163.346 2163.346 2162.589
2162.589 2162.486 2162.486 2162.235 2162.235 2162.073 2162.073 2162.18
2162.18 2162.053 2162.053 2161.871 2161.871 2161.623 2161.623 2161.558
2161.558 2161.704 2161.704 2162.104 2162.104 2162.673 2162.673 2163.141
2163.141 2163.551 2163.551 2163.844 2178.342 2176.999 2176.999 2175.482
2175.482 2173.943 2173.943 2172.388 2172.388 2170.834 2170.834 2169.303
2169.303 2168.154 2168.154 2166.703 2166.703 2165.345 2165.345 2164.135
2164.135 2163.198 2163.198 2162.377 2162.377 2161.743 2161.743 2161.777
2161.777 2161.537 2161.537 2161.345 2161.345 2161.152 2161.152 2160.907
2160.907 2160.57 2160.57 2160.238 2160.238 2160.207 2160.207 2160.941
2160.941 2161.698 2161.698 2162.339 2162.339 2162.839 2162.839 2163.193
2178.342 2176.999 2176.999 2175.482 2175.482 2173.943 2173.943 2172.388
2172.388 2170.834 2170.834 2169.303 2169.303 2168.154 2168.154 2166.703
2166.703 2165.345 2165.345 2164.135 2164.135 2163.198 2163.198 2162.377
2162.377 2161.743 2161.743 2161.777 2161.777 2161.537 2161.537 2161.345
2161.345 2161.152 2161.152 2160.907 2160.907 2160.57 2160.57 2160.238
2160.238 2160.207 2160.207 2160.941 2160.941 2161.698 2161.698 2162.339
2162.339 2162.839 2162.839 2163.193 2178.259 2176.788 2176.788 2175.39
2175.39 2173.834 2173.834 2172.254 2172.254 2170.676 2170.676 2169.477
2169.477 2167.984 2167.984 2166.542 2166.542 2165.191 2165.191 2163.977
2163.977 2163.029 2163.029 2162.173 2162.173 2161.515 2161.515 2161.023
2161.023 2160.66 2160.66 2160.903 2160.903 2160.703 2160.703 2160.464
2160.464 2160.132 2160.132 2159.563 2159.563 2159.636 2159.636 2160.37
2160.37 2161.148 2161.148 2161.821 2161.821 2162.352 2162.352 2162.721
2178.259 2176.788 2176.788 2175.39 2175.39 2173.834 2173.834 2172.254
2172.254 2170.676 2170.676 2169.477 2169.477 2167.984 2167.984 2166.542
2166.542 2165.191 2165.191 2163.977 2163.977 2163.029 2163.029 2162.173
2162.173 2161.515 2161.515 2161.023 2161.023 2160.66 2160.66 2160.903
2160.903 2160.703 2160.703 2160.464 2160.464 2160.132 2160.132 2159.563
2159.563 2159.636 2159.636 2160.37 2160.37 2161.148 2161.148 2161.821
2161.821 2162.352 2162.352 2162.721 2178.206 2176.757 2176.757 2175.35
2175.35 2173.782 2173.782 2172.4 2172.4 2170.881 2170.881 2169.365
2169.365 2167.871 2167.871 2166.424 2166.424 2165.056 2165.056 2163.812
2163.812 2162.83 2162.83 2161.955 2161.955 2161.298 2161.298 2160.824
2160.824 2160.496 2160.496 2160.285 2160.285 2160.461 2160.461 2159.94
2159.94 2159.848 2159.848 2159.742 2159.742 2159.976 2159.976 2160.389
2160.389 2160.97 2160.97 2161.58 2161.58 2162.088 2162.088 2162.385
2178.206 2176.757 2176.757 2175.35 2175.35 2173.782 2173.782 2172.4
2172.4 2170.881 2170.881 2169.365 2169.365 2167.871 2167.871 2166.424
2166.424 2165.056 2165.056 2163.812 2163.812 2162.83 2162.83 2161.955
2161.955 2161.298 2161.298 2160.824 2160.824 2160.496 2160.496 2160.285
2160.285 2160.461 2160.461 2159.94 2159.94 2159.848 2159.848 2159.742
2159.742 2159.976 2159.976 2160.389 2160.389 2160.97 2160.97 2161.58
2161.58 2162.088 2162.088 2162.385 2178.108 2176.685 2176.685 2175.285
2175.285 2173.849 2173.849 2172.347 2172.347 2170.834 2170.834 2169.321
2169.321 2167.821 2167.821 2166.355 2166.355 2164.95 2164.95 2163.65
2163.65 2162.519 2162.519 2161.711 2161.711 2161.08 2161.08 2160.645
2160.645 2160.363 2160.363 2159.748 2159.748 2159.733 2159.733 2159.968
2159.968 2160.081 2160.081 2160.177 2160.177 2160.295 2160.295 2160.551
2160.551 2161.007 2161.007 2161.523 2161.523 2162.015 2162.015 2162.236
2178.108 2176.685 2176.685 2175.285 2175.285 2173.849 2173.849 2172.347
2172.347 2170.834 2170.834 2169.321 2169.321 2167.821 2167.821 2166.355
2166.355 2164.95 2164.95 2163.65 2163.65 2162.519 2162.519 2161.711
2161.711 2161.08 2161.08 2160.645 2160.645 2160.363 2160.363 2159.748
2159.748 2159.733 2159.733 2159.968 2159.968 2160.081 2160.081 2160.177
2160.177 2160.295 2160.295 2160.551 2160.551 2161.007 2161.007 2161.523
2161.523 2162.015 2162.015 2162.236 2178.023 2176.573 2176.573 2175.103
2175.103 2173.713 2173.713 2172.146 2172.146 2170.578 2170.578 2169.038
2169.038 2167.843 2167.843 2166.355 2166.355 2164.904 2164.904 2163.521
2163.521 2162.288 2162.288 2161.449 2161.449 2160.881 2160.881 2160.119
2160.119 2159.808 2159.808 2159.67 2159.67 2159.712 2159.712 2159.938
2159.938 2160.356 2160.356 2160.382 2160.382 2160.503 2160.503 2160.832
2160.832 2161.17 2161.17 2161.589 2161.589 2162.041 2162.041 2162.086
2178.023 2176.573 2176.573 2175.103 2175.103 2173.713 2173.713 2172.146
2172.146 2170.578 2170.578 2169.038 2169.038 2167.843 2167.843 2166.355
2166.355 2164.904 2164.904 2163.521 2163.521 2162.288 2162.288 2161.449
2161.449 2160.881 2160.881 2160.119 2160.119 2159.808 2159.808 2159.67
2159.67 2159.712 2159.712 2159.938 2159.938 2160.356 2160.356 2160.382
2160.382 2160.503 2160.503 2160.832 2160.832 2161.17 2161.17 2161.589
2161.589 2162.041 2162.041 2162.086 2177.935 2176.479 2176.479 2174.946
2174.946 2173.695 2173.695 2172.141 2172.141 2170.581 2170.581 2169.047
2169.047 2167.546 2167.546 2166.086 2166.086 2164.677 2164.677 2163.331
2163.331 2162.063 2162.063 2161.35 2161.35 2160.934 2160.934 2160.598
2160.598 2160.356 2160.356 2160.216 2160.216 2160.186 2160.186 2160.263
2160.263 2160.448 2160.448 2160.428 2160.428 2160.69 2160.69 2160.871
2160.871 2161.145 2161.145 2161.47 2161.47 2161.589 2161.589 2161.83
2177.935 2176.479 2176.479 2174.946 2174.946 2173.695 2173.695 2172.141
2172.141 2170.581 2170.581 2169.047 2169.047 2167.546 2167.546 2166.086
2166.086 2164.677 2164.677 2163.331 2163.331 2162.063 2162.063 2161.35
2161.35 2160.934 2160.934 2160.598 2160.598 2160.356 2160.356 2160.216
2160.216 2160.186 2160.186 2160.263 2160.263 2160.448 2160.448 2160.428
2160.428 2160.69 2160.69 2160.871 2160.871 2161.145 2161.145 2161.47
2161.47 2161.589 2161.589 2161.83 2177.944 2176.406 2176.406 2175.252
2175.252 2173.711 2173.711 2172.126 2172.126 2170.632 2170.632 2169.111
2169.111 2167.618 2167.618 2166.158 2166.158 2164.739 2164.739 2163.379
2163.379 2162.141 2162.141 2161.343 2161.343 2160.989 2160.989 2160.581
2160.581 2160.3 2160.3 2160.144 2160.144 2160.109 2160.109 2160.185
2160.185 2160.371 2160.371 2160.312 2160.312 2160.642 2160.642 2160.833
2160.833 2161.07 2161.07 2160.995 2160.995 2161.229 2161.229 2161.365
2177.944 2176.406 2176.406 2175.252 2175.252 2173.711 2173.711 2172.126
2172.126 2170.632 2170.632 2169.111 2169.111 2167.618 2167.618 2166.158
2166.158 2164.739 2164.739 2163.379 2163.379 2162.141 2162.141 2161.343
2161.343 2160.989 2160.989 2160.581 2160.581 2160.3 2160.3 2160.144
2160.144 2160.109 2160.109 2160.185 2160.185 2160.371 2160.371 2160.312
2160.312 2160.642 2160.642 2160.833 2160.833 2161.07 2161.07 2160.995
2160.995 2161.229 2161.229 2161.365 2177.935 2176.38 2176.38 2175.276
2175.276 2173.762 2173.762 2172.204 2172.204 2170.733 2170.733 2169.236
2169.236 2167.763 2167.763 2166.315 2166.315 2164.938 2164.938 2163.581
2163.581 2162.292 2162.292 2161.27 2161.27 2160.725 2160.725 2160.608
2160.608 2160.25 2160.25 2160.05 2160.05 2159.996 2159.996 2160.141
2160.141 2160.269 2160.269 2160.369 2160.369 2160.552 2160.552 2160.763
2160.763 2160.608 2160.608 2160.794 2160.794 2160.957 2160.957 2161.066
2177.935 2176.38 2176.38 2175.276 2175.276 2173.762 2173.762 2172.204
2172.204 2170.733 2170.733 2169.236 2169.236 2167.763 2167.763 2166.315
2166.315 2164.938 2164.938 2163.581 2163.581 2162.292 2162.292 2161.27
2161.27 2160.725 2160.725 2160.608 2160.608 2160.25 2160.25 2160.05
2160.05 2159.996 2159.996 2160.141 2160.141 2160.269 2160.269 2160.369
2160.369 2160.552 2160.552 2160.763 2160.763 2160.608 2160.608 2160.794
2160.794 2160.957 2160.957 2161.066 2177.959 2176.401 2176.401 2175.327
2175.327 2173.846 2173.846 2172.326 2172.326 2170.828 2170.828 2169.426
2169.426 2167.985 2167.985 2166.526 2166.526 2165.113 2165.113 2163.767
2163.767 2162.457 2162.457 2161.382 2161.382 2160.805 2160.805 2160.082
2160.082 2159.586 2159.586 2159.916 2159.916 2159.84 2159.84 2159.982
2159.982 2160.141 2160.141 2160.233 2160.233 2160.465 2160.465 2160.378
2160.378 2160.516 2160.516 2160.654 2160.654 2160.77 2160.77 2160.855
2177.959 2176.401 2176.401 2175.327 2175.327 2173.846 2173.846 2172.326
2172.326 2170.828 2170.828 2169.426 2169.426 2167.985 2167.985 2166.526
2166.526 2165.113 2165.113 2163.767 2163.767 2162.457 2162.457 2161.382
2161.382 2160.805 2160.805 2160.082 2160.082 2159.586 2159.586 2159.916
2159.916 2159.84 2159.84 2159.982 2159.982 2160.141 2160.141 2160.233
2160.233 2160.465 2160.465 2160.378 2160.378 2160.516 2160.516 2160.654
2160.654 2160.77 2160.77 2160.855 2178.016 2176.465 2176.465 2175.396
2175.396 2173.96 2173.96 2172.491 2172.491 2171.046 2171.046 2169.621
2169.621 2168.16 2168.16 2166.734 2166.734 2165.334 2165.334 2163.9
2163.9 2162.647 2162.647 2161.513 2161.513 2160.533 2160.533 2160.038
2160.038 2159.465 2159.465 2159.175 2159.175 2159.713 2159.713 2159.781
2159.781 2159.986 2159.986 2160.12 2160.12 2160.42 2160.42 2160.358
2160.358 2160.485 2160.485 2160.587 2160.587 2160.665 2160.665 2160.726
2178.016 2176.465 2176.465 2175.396 2175.396 2173.96 2173.96 2172.491
2172.491 2171.046 2171.046 2169.621 2169.621 2168.16 2168.16 2166.734
2166.734 2165.334 2165.334 2163.9 2163.9 2162.647 2162.647 2161.513
2161.513 2160.533 2160.533 2160.038 2160.038 2159.465 2159.465 2159.175
2159.175 2159.713 2159.713 2159.781 2159.781 2159.986 2159.986 2160.12
2160.12 2160.42 2160.42 2160.358 2160.358 2160.485 2160.485 2160.587
2160.587 2160.665 2160.665 2160.726 2178.104 2176.566 2176.566 2175.479
2175.479 2174.102 2174.102 2172.697 2172.697 2171.32 2171.32 2169.752
2169.752 2168.392 2168.392 2166.995 2166.995 2165.607 2165.607 2164.172
2164.172 2162.878 2162.878 2161.679 2161.679 2160.612 2160.612 2159.976
2159.976 2159.315 2159.315 2159.112 2159.112 2159.125 2159.125 2159.543
2159.543 2159.801 2159.801 2160.061 2160.061 2160.249 2160.249 2160.435
2160.435 2160.542 2160.542 2160.599 2160.599 2160.637 2160.637 2160.672
2178.104 2176.566 2176.566 2175.479 2175.479 2174.102 2174.102 2172.697
2172.697 2171.32 2171.32 2169.752 2169.752 2168.392 2168.392 2166.995
2166.995 2165.607 2165.607 2164.172 2164.172 2162.878 2162.878 2161.679
2161.679 2160.612 2160.612 2159.976 2159.976 2159.315 2159.315 2159.112
2159.112 2159.125 2159.125 2159.543 2159.543 2159.801 2159.801 2160.061
2160.061 2160.249 2160.249 2160.435 2160.435 2160.542 2160.542 2160.599
2160.599 2160.637 2160.637 2160.672 2178.24 2176.703 2176.703 2175.571
2175.571 2174.269 2174.269 2172.762 2172.762 2171.388 2171.388 2170.014
2170.014 2168.642 2168.642 2167.314 2167.314 2165.938 2165.938 2164.501
2164.501 2163.164 2163.164 2161.908 2161.908 2160.756 2160.756 2159.746
2159.746 2159.124 2159.124 2159.022 2159.022 2159.175 2159.175 2159.406
2159.406 2159.649 2159.649 2160.092 2160.092 2160.479 2160.479 2160.657
2160.657 2160.696 2160.696 2160.682 2160.682 2160.67 2160.67 2160.685
2178.24 2176.703 2176.703 2175.571 2175.571 2174.269 2174.269 2172.762
2172.762 2171.388 2171.388 2170.014 2170.014 2168.642 2168.642 2167.314
2167.314 2165.938 2165.938 2164.501 2164.501 2163.164 2163.164 2161.908
2161.908 2160.756 2160.756 2159.746 2159.746 2159.124 2159.124 2159.022
2159.022 2159.175 2159.175 2159.406 2159.406 2159.649 2159.649 2160.092
2160.092 2160.479 2160.479 2160.657 2160.657 2160.696 2160.696 2160.682
2160.682 2160.67 2160.67 2160.685 2178.396 2176.868 2176.868 2175.682
2175.682 2174.316 2174.316 2172.985 2172.985 2171.647 2171.647 2170.31
2170.31 2168.988 2168.988 2167.672 2167.672 2166.302 2166.302 2164.882
2164.882 2163.512 2163.512 2162.228 2162.228 2160.834 2160.834 2159.967
2159.967 2159.17 2159.17 2159.284 2159.284 2159.547 2159.547 2159.866
2159.866 2160.242 2160.242 2160.696 2160.696 2161.045 2161.045 2161.107
2161.107 2161.012 2161.012 2160.899 2160.899 2160.83 2160.83 2160.818
2178.396 2176.868 2176.868 2175.682 2175.682 2174.316 2174.316 2172.985
2172.985 2171.647 2171.647 2170.31 2170.31 2168.988 2168.988 2167.672
2167.672 2166.302 2166.302 2164.882 2164.882 2163.512 2163.512 2162.228
2162.228 2160.834 2160.834 2159.967 2159.967 2159.17 2159.17 2159.284
2159.284 2159.547 2159.547 2159.866 2159.866 2160.242 2160.242 2160.696
2160.696 2161.045 2161.045 2161.107 2161.107 2161.012 2161.012 2160.899
2160.899 2160.83 2160.83 2160.818 2178.589 2177.073 2177.073 2175.786
2175.786 2174.565 2174.565 2172.98 2172.98 2171.598 2171.598 2170.237
2170.237 2168.917 2168.917 2167.652 2167.652 2166.355 2166.355 2164.997
2164.997 2163.723 2163.723 2162.546 2162.546 2161.485 2161.485 2160.59
2160.59 2160.041 2160.041 2159.925 2159.925 2160.077 2160.077 2160.409
2160.409 2160.871 2160.871 2161.471 2161.471 2161.789 2161.789 2161.533
2161.533 2161.201 2161.201 2161.138 2161.138 2161.184 2161.184 2161.326
2178.589 2177.073 2177.073 2175.786 2175.786 2174.565 2174.565 2172.98
2172.98 2171.598 2171.598 2170.237 2170.237 2168.917 2168.917 2167.652
2167.652 2166.355 2166.355 2164.997 2164.997 2163.723 2163.723 2162.546
2162.546 2161.485 2161.485 2160.59 2160.59 2160.041 2160.041 2159.925
2159.925 2160.077 2160.077 2160.409 2160.409 2160.871 2160.871 2161.471
2161.471 2161.789 2161.789 2161.533 2161.533 2161.201 2161.201 2161.138
2161.138 2161.184 2161.184 2161.326 2178.75 2177.363 2177.363 2176.059
2176.059 2174.706 2174.706 2173.308 2173.308 2172.001 2172.001 2170.654
2170.654 2169.325 2169.325 2168.014 2168.014 2166.706 2166.706 2165.409
2165.409 2164.157 2164.157 2163.037 2163.037 2162.058 2162.058 2161.353
2161.353 2160.805 2160.805 2160.619 2160.619 2160.629 2160.629 2160.875
2160.875 2161.317 2161.317 2161.942 2161.942 2162.341 2162.341 2161.675
2161.675 2161.222 2161.222 2161.111 2161.111 2161.298 2161.298 2161.847
2178.75 2177.363 2177.363 2176.059 2176.059 2174.706 2174.706 2173.308
2173.308 2172.001 2172.001 2170.654 2170.654 2169.325 2169.325 2168.014
2168.014 2166.706 2166.706 2165.409 2165.409 2164.157 2164.157 2163.037
2163.037 2162.058 2162.058 2161.353 2161.353 2160.805 2160.805 2160.619
2160.619 2160.629 2160.629 2160.875 2160.875 2161.317 2161.317 2161.942
2161.942 2162.341 2162.341 2161.675 2161.675 2161.222 2161.222 2161.111
2161.111 2161.298 2161.298 2161.847 2179.156 2177.67 2177.67 2176.237
2176.237 2175.108 2175.108 2173.738 2173.738 2172.371 2172.371 2171.019
2171.019 2169.683 2169.683 2168.365 2168.365 2167.077 2167.077 2165.823
2165.823 2164.641 2164.641 2163.57 2163.57 2162.617 2162.617 2161.981
2161.981 2161.445 2161.445 2161.207 2161.207 2161.084 2161.084 2161.177
2161.177 2161.419 2161.419 2161.683 2161.683 2161.733 2161.733 2161.314
2161.314 2160.911 2160.911 2160.941 2160.941 2161.64 2161.64 2162.196
2186.569 2185.492 2185.492 2184.437 2184.437 2183.574 2183.574 2182.774
2182.774 2181.95 2181.95 2181.16 2181.16 2180.4 2180.4 2179.695
2179.695 2179.071 2179.071 2178.565 2178.565 2178.228 2178.228 2178.119
2178.119 2178.264 2178.264 2178.503 2178.503 2178.668 2178.668 2178.954
2178.954 2179.284 2179.284 2179.577 2179.577 2179.74 2179.74 2179.708
2179.708 2179.495 2179.495 2179.261 2179.261 2178.873 2178.873 2178.464
2178.464 2178.05 2178.05 2177.636 2186.017 2184.868 2184.868 2183.966
2183.966 2182.894 2182.894 2181.911 2181.911 2181.041 2181.041 2180.128
2180.128 2179.242 2179.242 2178.368 2178.368 2177.608 2177.608 2176.952
2176.952 2176.453 2176.453 2176.192 2176.192 2176.247 2176.247 2176.601
2176.601 2177.073 2177.073 2177.623 2177.623 2178.157 2178.157 2178.678
2178.678 2179.016 2179.016 2179.033 2179.033 2178.869 2178.869 2178.496
2178.496 2178.092 2178.092 2177.69 2177.69 2177.303 2177.303 2176.929
2186.017 2184.868 2184.868 2183.966 2183.966 2182.894 2182.894 2181.911
2181.911 2181.041 2181.041 2180.128 2180.128 2179.242 2179.242 2178.368
2178.368 2177.608 2177.608 2176.952 2176.952 2176.453 2176.453 2176.192
2176.192 2176.247 2176.247 2176.601 2176.601 2177.073 2177.073 2177.623
2177.623 2178.157 2178.157 2178.678 2178.678 2179.016 2179.016 2179.033
2179.033 2178.869 2178.869 2178.496 2178.496 2178.092 2178.092 2177.69
2177.69 2177.303 2177.303 2176.929 2185.498 2184.276 2184.276 2183.368
2183.368 2182.221 2182.221 2181.132 2181.132 2180.093 2180.093 2179.121
2179.121 2178.105 2178.105 2177.13 2177.13 2176.211 2176.211 2175.34
2175.34 2174.628 2174.628 2174.13 2174.13 2174.132 2174.132 2174.655
2174.655 2175.385 2175.385 2176.17 2176.17 2176.975 2176.975 2177.754
2177.754 2178.363 2178.363 2178.427 2178.427 2178.05 2178.05 2177.621
2177.621 2177.208 2177.208 2176.827 2176.827 2176.479 2176.479 2176.158
2185.498 2184.276 2184.276 2183.368 2183.368 2182.221 2182.221 2181.132
2181.132 2180.093 2180.093 2179.121 2179.121 2178.105 2178.105 2177.13
2177.13 2176.211 2176.211 2175.34 2175.34 2174.628 2174.628 2174.13
2174.13 2174.132 2174.132 2174.655 2174.655 2175.385 2175.385 2176.17
2176.17 2176.975 2176.975 2177.754 2177.754 2178.363 2178.363 2178.427
2178.427 2178.05 2178.05 2177.621 2177.621 2177.208 2177.208 2176.827
2176.827 2176.479 2176.479 2176.158 2185.015 2184.037 2184.037 2182.783
2182.783 2181.563 2181.563 2180.38 2180.38 2179.234 2179.234 2178.169
2178.169 2177.029 2177.029 2175.924 2175.924 2174.87 2174.87 2173.882
2173.882 2172.966 2172.966 2172.117 2172.117 2171.948 2171.948 2172.843
2172.843 2173.77 2173.77 2174.693 2174.693 2175.623 2175.623 2176.639
2176.639 2177.58 2177.58 2177.509 2177.509 2177.081 2177.081 2176.69
2176.69 2176.336 2176.336 2176.012 2176.012 2175.708 2175.708 2175.412
2185.015 2184.037 2184.037 2182.783 2182.783 2181.563 2181.563 2180.38
2180.38 2179.234 2179.234 2178.169 2178.169 2177.029 2177.029 2175.924
2175.924 2174.87 2174.87 2173.882 2173.882 2172.966 2172.966 2172.117
2172.117 2171.948 2171.948 2172.843 2172.843 2173.77 2173.77 2174.693
2174.693 2175.623 2175.623 2176.639 2176.639 2177.58 2177.58 2177.509
2177.509 2177.081 2177.081 2176.69 2176.69 2176.336 2176.336 2176.012
2176.012 2175.708 2175.708 2175.412 2184.578 2183.53 2183.53 2182.223
2182.223 2180.934 2180.934 2179.667 2179.667 2178.423 2178.423 2177.204
2177.204 2176.029 2176.029 2174.81 2174.81 2173.653 2173.653 2172.584
2172.584 2171.626 2171.626 2170.847 2170.847 2170.763 2170.763 2171.598
2171.598 2172.514 2172.514 2173.421 2173.421 2174.298 2174.298 2175.12
2175.12 2175.742 2175.742 2176.004 2176.004 2175.731 2175.731 2175.449
2175.449 2175.177 2175.177 2174.925 2174.925 2174.685 2174.685 2174.444
2184.578 2183.53 2183.53 2182.223 2182.223 2180.934 2180.934 2179.667
2179.667 2178.423 2178.423 2177.204 2177.204 2176.029 2176.029 2174.81
2174.81 2173.653 2173.653 2172.584 2172.584 2171.626 2171.626 2170.847
2170.847 2170.763 2170.763 2171.598 2171.598 2172.514 2172.514 2173.421
2173.421 2174.298 2174.298 2175.12 2175.12 2175.742 2175.742 2176.004
2176.004 2175.731 2175.731 2175.449 2175.449 2175.177 2175.177 2174.925
2174.925 2174.685 2174.685 2174.444 2184.413 2183.056 2183.056 2181.7
2181.7 2180.348 2180.348 2179.005 2179.005 2177.673 2177.673 2176.358
2176.358 2175.068 2175.068 2173.802 2173.802 2172.566 2172.566 2171.469
2171.469 2170.578 2170.578 2170.119 2170.119 2170.023 2170.023 2170.433
2170.433 2171.341 2171.341 2172.097 2172.097 2172.825 2172.825 2173.461
2173.461 2173.905 2173.905 2174.323 2174.323 2174.263 2174.263 2174.119
2174.119 2173.899 2173.899 2173.749 2173.749 2173.598 2173.598 2173.432
2184.413 2183.056 2183.056 2181.7 2181.7 2180.348 2180.348 2179.005
2179.005 2177.673 2177.673 2176.358 2176.358 2175.068 2175.068 2173.802
2173.802 2172.566 2172.566 2171.469 2171.469 2170.578 2170.578 2170.119
2170.119 2170.023 2170.023 2170.433 2170.433 2171.341 2171.341 2172.097
2172.097 2172.825 2172.825 2173.461 2173.461 2173.905 2173.905 2174.323
2174.323 2174.263 2174.263 2174.119 2174.119 2173.899 2173.899 2173.749
2173.749 2173.598 2173.598 2173.432 2184.014 2182.626 2182.626 2181.228
2181.228 2179.82 2179.82 2178.409 2178.409 2177 2177 2175.6
2175.6 2174.219 2174.219 2172.874 2172.874 2171.585 2171.585 2170.459
2170.459 2169.629 2169.629 2169.303 2169.303 2169.234 2169.234 2169.5
2169.5 2169.981 2169.981 2170.872 2170.872 2171.409 2171.409 2171.863
2171.863 2172.181 2172.181 2172.66 2172.66 2172.684 2172.684 2172.66
2172.66 2172.622 2172.622 2172.523 2172.523 2172.481 2172.481 2172.409
2184.014 2182.626 2182.626 2181.228 2181.228 2179.82 2179.82 2178.409
2178.409 2177 2177 2175.6 2175.6 2174.219 2174.219 2172.874
2172.874 2171.585 2171.585 2170.459 2170.459 2169.629 2169.629 2169.303
2169.303 2169.234 2169.234 2169.5 2169.5 2169.981 2169.981 2170.872
2170.872 2171.409 2171.409 2171.863 2171.863 2172.181 2172.181 2172.66
2172.66 2172.684 2172.684 2172.66 2172.66 2172.622 2172.622 2172.523
2172.523 2172.481 2172.481 2172.409 2183.68 2182.257 2182.257 2180.816
2180.816 2179.359 2179.359 2177.89 2177.89 2176.416 2176.416 2174.945
2174.945 2173.485 2173.485 2172.055 2172.055 2170.687 2170.687 2169.489
2169.489 2168.808 2168.808 2168.475 2168.475 2168.442 2168.442 2168.623
2168.623 2168.95 2168.95 2169.344 2169.344 2170.107 2170.107 2170.384
2170.384 2170.575 2170.575 2171.037 2171.037 2171.101 2171.101 2171.174
2171.174 2171.264 2171.264 2171.354 2171.354 2171.42 2171.42 2171.407
2183.68 2182.257 2182.257 2180.816 2180.816 2179.359 2179.359 2177.89
2177.89 2176.416 2176.416 2174.945 2174.945 2173.485 2173.485 2172.055
2172.055 2170.687 2170.687 2169.489 2169.489 2168.808 2168.808 2168.475
2168.475 2168.442 2168.442 2168.623 2168.623 2168.95 2168.95 2169.344
2169.344 2170.107 2170.107 2170.384 2170.384 2170.575 2170.575 2171.037
2171.037 2171.101 2171.101 2171.174 2171.174 2171.264 2171.264 2171.354
2171.354 2171.42 2171.42 2171.407 2183.4 2181.942 2181.942 2180.461
2180.461 2178.958 2178.958 2177.438 2177.438 2175.911 2175.911 2174.387
2174.387 2172.879 2172.879 2171.396 2171.396 2169.941 2169.941 2168.563
2168.563 2167.916 2167.916 2167.753 2167.753 2167.732 2167.732 2167.834
2167.834 2168.026 2168.026 2168.259 2168.259 2168.485 2168.485 2169.04
2169.04 2169.086 2169.086 2169.128 2169.128 2169.528 2169.528 2169.694
2169.694 2169.924 2169.924 2170.163 2170.163 2170.363 2170.363 2170.495
2183.4 2181.942 2181.942 2180.461 2180.461 2178.958 2178.958 2177.438
2177.438 2175.911 2175.911 2174.387 2174.387 2172.879 2172.879 2171.396
2171.396 2169.941 2169.941 2168.563 2168.563 2167.916 2167.916 2167.753
2167.753 2167.732 2167.732 2167.834 2167.834 2168.026 2168.026 2168.259
2168.259 2168.485 2168.485 2169.04 2169.04 2169.086 2169.086 2169.128
2169.128 2169.528 2169.528 2169.694 2169.694 2169.924 2169.924 2170.163
2170.163 2170.363 2170.363 2170.495 2183.184 2181.693 2181.693 2180.18
2180.18 2178.645 2178.645 2177.091 2177.091 2175.53 2175.53 2173.974
2173.974 2172.438 2172.438 2170.937 2170.937 2169.496 2169.496 2168.278
2168.278 2167.393 2167.393 2167.207 2167.207 2167.176 2167.176 2167.17
2167.17 2167.233 2167.233 2167.322 2167.322 2167.395 2167.395 2167.424
2167.424 2167.719 2167.719 2167.633 2167.633 2167.966 2167.966 2168.243
2168.243 2168.646 2168.646 2169.055 2169.055 2169.399 2169.399 2169.644
2183.184 2181.693 2181.693 2180.18 2180.18 2178.645 2178.645 2177.091
2177.091 2175.53 2175.53 2173.974 2173.974 2172.438 2172.438 2170.937
2170.937 2169.496 2169.496 2168.278 2168.278 2167.393 2167.393 2167.207
2167.207 2167.176 2167.176 2167.17 2167.17 2167.233 2167.233 2167.322
2167.322 2167.395 2167.395 2167.424 2167.424 2167.719 2167.719 2167.633
2167.633 2167.966 2167.966 2168.243 2168.243 2168.646 2168.646 2169.055
2169.055 2169.399 2169.399 2169.644 2182.883 2181.503 2181.503 2179.967
2179.967 2178.406 2178.406 2176.824 2176.824 2175.236 2175.236 2173.66
2173.66 2172.117 2172.117 2170.929 2170.929 2169.476 2169.476 2168.208
2168.208 2167.292 2167.292 2166.611 2166.611 2166.601 2166.601 2166.44
2166.44 2166.363 2166.363 2166.55 2166.55 2166.496 2166.496 2166.381
2166.381 2166.197 2166.197 2166.209 2166.209 2166.405 2166.405 2166.868
2166.868 2167.5 2167.5 2168.002 2168.002 2168.464 2168.464 2168.804
2182.883 2181.503 2181.503 2179.967 2179.967 2178.406 2178.406 2176.824
2176.824 2175.236 2175.236 2173.66 2173.66 2172.117 2172.117 2170.929
2170.929 2169.476 2169.476 2168.208 2168.208 2167.292 2167.292 2166.611
2166.611 2166.601 2166.601 2166.44 2166.44 2166.363 2166.363 2166.55
2166.55 2166.496 2166.496 2166.381 2166.381 2166.197 2166.197 2166.209
2166.209 2166.405 2166.405 2166.868 2166.868 2167.5 2167.5 2168.002
2168.002 2168.464 2168.464 2168.804 2182.748 2181.367 2181.367 2179.819
2179.819 2178.238 2178.238 2176.632 2176.632 2175.021 2175.021 2173.43
2173.43 2172.25 2172.25 2170.75 2170.75 2169.354 2169.354 2168.131
2168.131 2167.204 2167.204 2166.432 2166.432 2165.862 2165.862 2165.964
2165.964 2165.793 2165.793 2165.668 2165.668 2165.54 2165.54 2165.36
2165.36 2165.086 2165.086 2164.819 2164.819 2164.858 2164.858 2165.659
2165.659 2166.491 2166.491 2167.202 2167.202 2167.765 2167.765 2168.172
2182.748 2181.367 2181.367 2179.819 2179.819 2178.238 2178.238 2176.632
2176.632 2175.021 2175.021 2173.43 2173.43 2172.25 2172.25 2170.75
2170.75 2169.354 2169.354 2168.131 2168.131 2167.204 2167.204 2166.432
2166.432 2165.862 2165.862 2165.964 2165.964 2165.793 2165.793 2165.668
2165.668 2165.54 2165.54 2165.36 2165.36 2165.086 2165.086 2164.819
2164.819 2164.858 2164.858 2165.659 2165.659 2166.491 2166.491 2167.202
2167.202 2167.765 2167.765 2168.172 2182.655 2181.167 2181.167 2179.732
2179.732 2178.137 2178.137 2176.503 2176.503 2174.869 2174.869 2173.642
2173.642 2172.103 2172.103 2170.625 2170.625 2169.252 2169.252 2168.034
2168.034 2167.091 2167.091 2166.267 2166.267 2165.649 2165.649 2165.203
2165.203 2164.89 2164.89 2165.186 2165.186 2165.044 2165.044 2164.867
2164.867 2164.6 2164.6 2164.075 2164.075 2164.241 2164.241 2165.069
2165.069 2165.935 2165.935 2166.69 2166.69 2167.293 2167.293 2167.721
2182.655 2181.167 2181.167 2179.732 2179.732 2178.137 2178.137 2176.503
2176.503 2174.869 2174.869 2173.642 2173.642 2172.103 2172.103 2170.625
2170.625 2169.252 2169.252 2168.034 2168.034 2167.091 2167.091 2166.267
2166.267 2165.649 2165.649 2165.203 2165.203 2164.89 2164.89 2165.186
2165.186 2165.044 2165.044 2164.867 2164.867 2164.6 2164.6 2164.075
2164.075 2164.241 2164.241 2165.069 2165.069 2165.935 2165.935 2166.69
2166.69 2167.293 2167.293 2167.721 2182.587 2181.128 2181.128 2179.699
2179.699 2178.093 2178.093 2176.669 2176.669 2175.098 2175.098 2173.538
2173.538 2172.008 2172.008 2170.537 2170.537 2169.16 2169.16 2167.92
2167.92 2166.943 2166.943 2166.084 2166.084 2165.446 2165.446 2164.995
2164.995 2164.698 2164.698 2164.527 2164.527 2164.753 2164.753 2164.225
2164.225 2164.213 2164.213 2164.198 2164.198 2164.541 2164.541 2165.056
2165.056 2165.753 2165.753 2166.459 2166.459 2167.052 2167.052 2167.417
2182.587 2181.128 2181.128 2179.699 2179.699 2178.093 2178.093 2176.669
2176.669 2175.098 2175.098 2173.538 2173.538 2172.008 2172.008 2170.537
2170.537 2169.16 2169.16 2167.92 2167.92 2166.943 2166.943 2166.084
2166.084 2165.446 2165.446 2164.995 2164.995 2164.698 2164.698 2164.527
2164.527 2164.753 2164.753 2164.225 2164.225 2164.213 2164.213 2164.198
2164.198 2164.541 2164.541 2165.056 2165.056 2165.753 2165.753 2166.459
2166.459 2167.052 2167.052 2167.417 2182.465 2181.035 2181.035 2179.631
2179.631 2178.16 2178.16 2176.603 2176.603 2175.042 2175.042 2173.49
2173.49 2171.962 2171.962 2170.483 2170.483 2169.081 2169.081 2167.796
2167.796 2166.681 2166.681 2165.871 2165.871 2165.233 2165.233 2164.797
2164.797 2164.527 2164.527 2163.854 2163.854 2163.883 2163.883 2164.182
2164.182 2164.378 2164.378 2164.573 2164.573 2164.815 2164.815 2165.19
2165.19 2165.767 2165.767 2166.413 2166.413 2167.008 2167.008 2167.301
2182.465 2181.035 2181.035 2179.631 2179.631 2178.16 2178.16 2176.603
2176.603 2175.042 2175.042 2173.49 2173.49 2171.962 2171.962 2170.483
2170.483 2169.081 2169.081 2167.796 2167.796 2166.681 2166.681 2165.871
2165.871 2165.233 2165.233 2164.797 2164.797 2164.527 2164.527 2163.854
2163.854 2163.883 2163.883 2164.182 2164.182 2164.378 2164.378 2164.573
2164.573 2164.815 2164.815 2165.19 2165.19 2165.767 2165.767 2166.413
2166.413 2167.008 2167.008 2167.301 2182.343 2180.882 2180.882 2179.402
2179.402 2177.987 2177.987 2176.373 2176.373 2174.765 2174.765 2173.195
2173.195 2171.97 2171.97 2170.477 2170.477 2169.039 2169.039 2167.686
2167.686 2166.482 2166.482 2165.628 2165.628 2165.021 2165.021 2164.16
2164.16 2163.827 2163.827 2163.698 2163.698 2163.778 2163.778 2164.07
2164.07 2164.577 2164.577 2164.712 2164.712 2164.974 2164.974 2165.438
2165.438 2165.915 2165.915 2166.474 2166.474 2167.062 2167.062 2167.178
2182.343 2180.882 2180.882 2179.402 2179.402 2177.987 2177.987 2176.373
2176.373 2174.765 2174.765 2173.195 2173.195 2171.97 2171.97 2170.477
2170.477 2169.039 2169.039 2167.686 2167.686 2166.482 2166.482 2165.628
2165.628 2165.021 2165.021 2164.16 2164.16 2163.827 2163.827 2163.698
2163.698 2163.778 2163.778 2164.07 2164.07 2164.577 2164.577 2164.712
2164.712 2164.974 2164.974 2165.438 2165.438 2165.915 2165.915 2166.474
2166.474 2167.062 2167.062 2167.178 2182.208 2180.74 2180.74 2179.187
2179.187 2177.912 2177.912 2176.317 2176.317 2174.723 2174.723 2173.161
2173.161 2171.643 2171.643 2170.18 2170.18 2168.786 2168.786 2167.476
2167.476 2166.266 2166.266 2165.485 2165.485 2164.963 2164.963 2164.557
2164.557 2164.281 2164.281 2164.143 2164.143 2164.15 2164.15 2164.298
2164.298 2164.581 2164.581 2164.684 2164.684 2165.103 2165.103 2165.437
2165.437 2165.867 2165.867 2166.343 2166.343 2166.603 2166.603 2166.927
2182.208 2180.74 2180.74 2179.187 2179.187 2177.912 2177.912 2176.317
2176.317 2174.723 2174.723 2173.161 2173.161 2171.643 2171.643 2170.18
2170.18 2168.786 2168.786 2167.476 2167.476 2166.266 2166.266 2165.485
2165.485 2164.963 2164.963 2164.557 2164.557 2164.281 2164.281 2164.143
2164.143 2164.15 2164.15 2164.298 2164.298 2164.581 2164.581 2164.684
2164.684 2165.103 2165.103 2165.437 2165.437 2165.867 2165.867 2166.343
2166.343 2166.603 2166.603 2166.927 2182.168 2180.609 2180.609 2179.43
2179.43 2177.865 2177.865 2176.251 2176.251 2174.712 2174.712 2173.163
2173.163 2171.65 2171.65 2170.182 2170.182 2168.768 2168.768 2167.426
2167.426 2166.191 2166.191 2165.332 2165.332 2164.889 2164.889 2164.412
2164.412 2164.097 2164.097 2163.944 2163.944 2163.952 2163.952 2164.107
2164.107 2164.406 2164.406 2164.487 2164.487 2164.993 2164.993 2165.356
2165.356 2165.766 2165.766 2165.871 2165.871 2166.247 2166.247 2166.492
2182.168 2180.609 2180.609 2179.43 2179.43 2177.865 2177.865 2176.251
2176.251 2174.712 2174.712 2173.163 2173.163 2171.65 2171.65 2170.182
2170.182 2168.768 2168.768 2167.426 2167.426 2166.191 2166.191 2165.332
2165.332 2164.889 2164.889 2164.412 2164.412 2164.097 2164.097 2163.944
2163.944 2163.952 2163.952 2164.107 2164.107 2164.406 2164.406 2164.487
2164.487 2164.993 2164.993 2165.356 2165.356 2165.766 2165.766 2165.871
2165.871 2166.247 2166.247 2166.492 2182.103 2180.523 2180.523 2179.391
2179.391 2177.848 2177.848 2176.259 2176.259 2174.741 2174.741 2173.212
2173.212 2171.711 2171.711 2170.244 2170.244 2168.854 2168.854 2167.488
2167.488 2166.156 2166.156 2165.085 2165.085 2164.451 2164.451 2164.274
2164.274 2163.889 2163.889 2163.701 2163.701 2163.7 2163.7 2163.938
2163.938 2164.196 2164.196 2164.472 2164.472 2164.841 2164.841 2165.248
2165.248 2165.309 2165.309 2165.678 2165.678 2165.999 2165.999 2166.235
2182.103 2180.523 2180.523 2179.391 2179.391 2177.848 2177.848 2176.259
2176.259 2174.741 2174.741 2173.212 2173.212 2171.711 2171.711 2170.244
2170.244 2168.854 2168.854 2167.488 2167.488 2166.156 2166.156 2165.085
2165.085 2164.451 2164.451 2164.274 2164.274 2163.889 2163.889 2163.701
2163.701 2163.7 2163.7 2163.938 2163.938 2164.196 2164.196 2164.472
2164.472 2164.841 2164.841 2165.248 2165.248 2165.309 2165.309 2165.678
2165.678 2165.999 2165.999 2166.235 2182.071 2180.482 2180.482 2179.375
2179.375 2177.862 2177.862 2176.305 2176.305 2174.77 2174.77 2173.316
2173.316 2171.837 2171.837 2170.345 2170.345 2168.901 2168.901 2167.522
2167.522 2166.141 2166.141 2165.007 2165.007 2164.341 2164.341 2163.566
2163.566 2163.051 2163.051 2163.402 2163.402 2163.395 2163.395 2163.646
2163.646 2163.955 2163.955 2164.248 2164.248 2164.698 2164.698 2164.861
2164.861 2165.226 2165.226 2165.569 2165.569 2165.861 2165.861 2166.089
2182.071 2180.482 2180.482 2179.375 2179.375 2177.862 2177.862 2176.305
2176.305 2174.77 2174.77 2173.316 2173.316 2171.837 2171.837 2170.345
2170.345 2168.901 2168.901 2167.522 2167.522 2166.141 2166.141 2165.007
2165.007 2164.341 2164.341 2163.566 2163.566 2163.051 2163.051 2163.402
2163.402 2163.395 2163.395 2163.646 2163.646 2163.955 2163.955 2164.248
2164.248 2164.698 2164.698 2164.861 2164.861 2165.226 2165.226 2165.569
2165.569 2165.861 2165.861 2166.089 2182.072 2180.485 2180.485 2179.379
2179.379 2177.906 2177.906 2176.393 2176.393 2174.904 2174.904 2173.433
2173.433 2171.911 2171.911 2170.438 2170.438 2168.991 2168.991 2167.48
2167.48 2166.163 2166.163 2164.957 2164.957 2163.904 2163.904 2163.331
2163.331 2162.746 2162.746 2162.496 2162.496 2163.119 2163.119 2163.314
2163.314 2163.688 2163.688 2164.052 2164.052 2164.612 2164.612 2164.848
2164.848 2165.233 2165.233 2165.562 2165.562 2165.832 2165.832 2166.05
2182.072 2180.485 2180.485 2179.379 2179.379 2177.906 2177.906 2176.393
2176.393 2174.904 2174.904 2173.433 2173.433 2171.911 2171.911 2170.438
2170.438 2168.991 2168.991 2167.48 2167.48 2166.163 2166.163 2164.957
2164.957 2163.904 2163.904 2163.331 2163.331 2162.746 2162.746 2162.496
2162.496 2163.119 2163.119 2163.314 2163.314 2163.688 2163.688 2164.052
2164.052 2164.612 2164.612 2164.848 2164.848 2165.233 2165.233 2165.562
2165.562 2165.832 2165.832 2166.05 2182.108 2180.529 2180.529 2179.397
2179.397 2177.977 2177.977 2176.523 2176.523 2175.094 2175.094 2173.471
2173.471 2172.044 2172.044 2170.588 2170.588 2169.141 2169.141 2167.617
2167.617 2166.246 2166.246 2164.963 2164.963 2163.809 2163.809 2163.084
2163.084 2162.41 2162.41 2162.275 2162.275 2162.409 2162.409 2162.971
2162.971 2163.4 2163.4 2163.929 2163.929 2164.464 2164.464 2164.974
2164.974 2165.366 2165.366 2165.666 2165.666 2165.905 2165.905 2166.105
2182.108 2180.529 2180.529 2179.397 2179.397 2177.977 2177.977 2176.523
2176.523 2175.094 2175.094 2173.471 2173.471 2172.044 2172.044 2170.588
2170.588 2169.141 2169.141 2167.617 2167.617 2166.246 2166.246 2164.963
2164.963 2163.809 2163.809 2163.084 2163.084 2162.41 2162.41 2162.275
2162.275 2162.409 2162.409 2162.971 2162.971 2163.4 2163.4 2163.929
2163.929 2164.464 2164.464 2164.974 2164.974 2165.366 2165.366 2165.666
2165.666 2165.905 2165.905 2166.105 2182.179 2180.611 2180.611 2179.429
2179.429 2178.079 2178.079 2176.517 2176.517 2175.084 2175.084 2173.647
2173.647 2172.208 2172.208 2170.805 2170.805 2169.363 2169.363 2167.835
2167.835 2166.417 2166.417 2165.069 2165.069 2163.817 2163.817 2162.707
2162.707 2162.04 2162.04 2162.067 2162.067 2162.397 2162.397 2162.803
2162.803 2163.198 2163.198 2163.979 2163.979 2164.777 2164.777 2165.309
2165.309 2165.645 2165.645 2165.876 2165.876 2166.064 2166.064 2166.239
2182.179 2180.611 2180.611 2179.429 2179.429 2178.079 2178.079 2176.517
2176.517 2175.084 2175.084 2173.647 2173.647 2172.208 2172.208 2170.805
2170.805 2169.363 2169.363 2167.835 2167.835 2166.417 2166.417 2165.069
2165.069 2163.817 2163.817 2162.707 2162.707 2162.04 2162.04 2162.067
2162.067 2162.397 2162.397 2162.803 2162.803 2163.198 2163.198 2163.979
2163.979 2164.777 2164.777 2165.309 2165.309 2165.645 2165.645 2165.876
2165.876 2166.064 2166.064 2166.239 2182.292 2180.726 2180.726 2179.486
2179.486 2178.067 2178.067 2176.676 2176.676 2175.274 2175.274 2173.868
2173.868 2172.471 2172.471 2171.077 2171.077 2169.624 2169.624 2168.135
2168.135 2166.688 2166.688 2165.319 2165.319 2163.83 2163.83 2162.849
2162.849 2161.995 2161.995 2162.302 2162.302 2162.79 2162.79 2163.341
2163.341 2163.978 2163.978 2164.797 2164.797 2165.554 2165.554 2165.972
2165.972 2166.168 2166.168 2166.289 2166.289 2166.4 2166.4 2166.525
2182.292 2180.726 2180.726 2179.486 2179.486 2178.067 2178.067 2176.676
2176.676 2175.274 2175.274 2173.868 2173.868 2172.471 2172.471 2171.077
2171.077 2169.624 2169.624 2168.135 2168.135 2166.688 2166.688 2165.319
2165.319 2163.83 2163.83 2162.849 2162.849 2161.995 2161.995 2162.302
2162.302 2162.79 2162.79 2163.341 2163.341 2163.978 2163.978 2164.797
2164.797 2165.554 2165.554 2165.972 2165.972 2166.168 2166.168 2166.289
2166.289 2166.4 2166.4 2166.525 2182.448 2180.877 2180.877 2179.542
2179.542 2178.264 2178.264 2176.616 2176.616 2175.168 2175.168 2173.736
2173.736 2172.339 2172.339 2170.991 2170.991 2169.614 2169.614 2168.189
2168.189 2166.846 2166.846 2165.601 2165.601 2164.479 2164.479 2163.545
2163.545 2163.035 2163.035 2163.064 2163.064 2163.452 2163.452 2164.063
2164.063 2164.85 2164.85 2165.846 2165.846 2166.567 2166.567 2166.631
2166.631 2166.565 2166.565 2166.732 2166.732 2166.917 2166.917 2167.15
2182.448 2180.877 2180.877 2179.542 2179.542 2178.264 2178.264 2176.616
2176.616 2175.168 2175.168 2173.736 2173.736 2172.339 2172.339 2170.991
2170.991 2169.614 2169.614 2168.189 2168.189 2166.846 2166.846 2165.601
2165.601 2164.479 2164.479 2163.545 2163.545 2163.035 2163.035 2163.064
2163.064 2163.452 2163.452 2164.063 2164.063 2164.85 2164.85 2165.846
2165.846 2166.567 2166.567 2166.631 2166.631 2166.565 2166.565 2166.732
2166.732 2166.917 2166.917 2167.15 2182.577 2181.133 2181.133 2179.77
2179.77 2178.361 2178.361 2176.9 2176.9 2175.509 2175.509 2174.091
2174.091 2172.692 2172.692 2171.315 2171.315 2169.929 2169.929 2168.571
2168.571 2167.282 2167.282 2166.12 2166.12 2165.117 2165.117 2164.425
2164.425 2163.956 2163.956 2163.915 2163.915 2164.165 2164.165 2164.714
2164.714 2165.519 2165.519 2166.565 2166.565 2167.385 2167.385 2167.018
2167.018 2166.826 2166.826 2166.892 2166.892 2167.167 2167.167 2167.73
2182.577 2181.133 2181.133 2179.77 2179.77 2178.361 2178.361 2176.9
2176.9 2175.509 2175.509 2174.091 2174.091 2172.692 2172.692 2171.315
2171.315 2169.929 2169.929 2168.571 2168.571 2167.282 2167.282 2166.12
2166.12 2165.117 2165.117 2164.425 2164.425 2163.956 2163.956 2163.915
2163.915 2164.165 2164.165 2164.714 2164.714 2165.519 2165.519 2166.565
2166.565 2167.385 2167.385 2167.018 2167.018 2166.826 2166.826 2166.892
2166.892 2167.167 2167.167 2167.73 2182.95 2181.407 2181.407 2179.916
2179.916 2178.72 2178.72 2177.28 2177.28 2175.843 2175.843 2174.423
2174.423 2173.025 2173.025 2171.652 2171.652 2170.287 2170.287 2168.987
2168.987 2167.771 2167.771 2166.683 2166.683 2165.759 2165.759 2165.17
2165.17 2164.736 2164.736 2164.65 2164.65 2164.772 2164.772 2165.177
2165.177 2165.784 2165.784 2166.455 2166.455 2166.891 2166.891 2166.814
2166.814 2166.719 2166.719 2166.902 2166.902 2167.59 2167.59 2168.13
2186.569 2185.492 2185.492 2184.437 2184.437 2183.574 2183.574 2182.774
2182.774 2181.95 2181.95 2181.16 2181.16 2180.4 2180.4 2179.695
2179.695 2179.071 2179.071 2178.565 2178.565 2178.228 2178.228 2178.119
2178.119 2178.264 2178.264 2178.503 2178.503 2178.668 2178.668 2178.954
2178.954 2179.284 2179.284 2179.577 2179.577 2179.74 2179.74 2179.708
2179.708 2179.495 2179.495 2179.261 2179.261 2178.873 2178.873 2178.464
2178.464 2178.05 2178.05 2177.636 2186.017 2184.868 2184.868 2183.966
2183.966 2182.894 2182.894 2181.911 2181.911 2181.041 2181.041 2180.128
2180.128 2179.242 2179.242 2178.368 2178.368 2177.608 2177.608 2176.952
2176.952 2176.453 2176.453 2176.192 2176.192 2176.247 2176.247 2176.601
2176.601 2177.073 2177.073 2177.623 2177.623 2178.157 2178.157 2178.678
2178.678 2179.016 2179.016 2179.033 2179.033 2178.869 2178.869 2178.496
2178.496 2178.092 2178.092 2177.69 2177.69 2177.303 2177.303 2176.929
2186.017 2184.868 2184.868 2183.966 2183.966 2182.894 2182.894 2181.911
2181.911 2181.041 2181.041 2180.128 2180.128 2179.242 2179.242 2178.368
2178.368 2177.608 2177.608 2176.952 2176.952 2176.453 2176.453 2176.192
2176.192 2176.247 2176.247 2176.601 2176.601 2177.073 2177.073 2177.623
2177.623 2178.157 2178.157 2178.678 2178.678 2179.016 2179.016 2179.033
2179.033 2178.869 2178.869 2178.496 2178.496 2178.092 2178.092 2177.69
2177.69 2177.303 2177.303 2176.929 2185.498 2184.276 2184.276 2183.368
2183.368 2182.221 2182.221 2181.132 2181.132 2180.093 2180.093 2179.121
2179.121 2178.105 2178.105 2177.13 2177.13 2176.211 2176.211 2175.34
2175.34 2174.628 2174.628 2174.13 2174.13 2174.132 2174.132 2174.655
2174.655 2175.385 2175.385 2176.17 2176.17 2176.975 2176.975 2177.754
2177.754 2178.363 2178.363 2178.427 2178.427 2178.05 2178.05 2177.621
2177.621 2177.208 2177.208 2176.827 2176.827 2176.479 2176.479 2176.158
2185.498 2184.276 2184.276 2183.368 2183.368 2182.221 2182.221 2181.132
2181.132 2180.093 2180.093 2179.121 2179.121 2178.105 2178.105 2177.13
2177.13 2176.211 2176.211 2175.34 2175.34 2174.628 2174.628 2174.13
2174.13 2174.132 2174.132 2174.655 2174.655 2175.385 2175.385 2176.17
2176.17 2176.975 2176.975 2177.754 2177.754 2178.363 2178.363 2178.427
2178.427 2178.05 2178.05 2177.621 2177.621 2177.208 2177.208 2176.827
2176.827 2176.479 2176.479 2176.158 2185.015 2184.037 2184.037 2182.783
2182.783 2181.563 2181.563 2180.38 2180.38 2179.234 2179.234 2178.169
2178.169 2177.029 2177.029 2175.924 2175.924 2174.87 2174.87 2173.882
2173.882 2172.966 2172.966 2172.117 2172.117 2171.948 2171.948 2172.843
2172.843 2173.77 2173.77 2174.693 2174.693 2175.623 2175.623 2176.639
2176.639 2177.58 2177.58 2177.509 2177.509 2177.081 2177.081 2176.69
2176.69 2176.336 2176.336 2176.012 2176.012 2175.708 2175.708 2175.412
2185.015 2184.037 2184.037 2182.783 2182.783 2181.563 2181.563 2180.38
2180.38 2179.234 2179.234 2178.169 2178.169 2177.029 2177.029 2175.924
2175.924 2174.87 2174.87 2173.882 2173.882 2172.966 2172.966 2172.117
2172.117 2171.948 2171.948 2172.843 2172.843 2173.77 2173.77 2174.693
2174.693 2175.623 2175.623 2176.639 2176.639 2177.58 2177.58 2177.509
2177.509 2177.081 2177.081 2176.69 2176.69 2176.336 2176.336 2176.012
2176.012 2175.708 2175.708 2175.412 2184.578 2183.53 2183.53 2182.223
2182.223 2180.934 2180.934 2179.667 2179.667 2178.423 2178.423 2177.204
2177.204 2176.029 2176.029 2174.81 2174.81 2173.653 2173.653 2172.584
2172.584 2171.626 2171.626 2170.847 2170.847 2170.763 2170.763 2171.598
2171.598 2172.514 2172.514 2173.421 2173.421 2174.298 2174.298 2175.12
2175.12 2175.742 2175.742 2176.004 2176.004 2175.731 2175.731 2175.449
2175.449 2175.177 2175.177 2174.925 2174.925 2174.685 2174.685 2174.444
2184.578 2183.53 2183.53 2182.223 2182.223 2180.934 2180.934 2179.667
2179.667 2178.423 2178.423 2177.204 2177.204 2176.029 2176.029 2174.81
2174.81 2173.653 2173.653 2172.584 2172.584 2171.626 2171.626 2170.847
2170.847 2170.763 2170.763 2171.598 2171.598 2172.514 2172.514 2173.421
2173.421 2174.298 2174.298 2175.12 2175.12 2175.742 2175.742 2176.004
2176.004 2175.731 2175.731 2175.449 2175.449 2175.177 2175.177 2174.925
2174.925 2174.685 2174.685 2174.444 2184.413 2183.056 2183.056 2181.7
2181.7 2180.348 2180.348 2179.005 2179.005 2177.673 2177.673 2176.358
2176.358 2175.068 2175.068 2173.802 2173.802 2172.566 2172.566 2171.469
2171.469 2170.578 2170.578 2170.119 2170.119 2170.023 2170.023 2170.433
2170.433 2171.341 2171.341 2172.097 2172.097 2172.825 2172.825 2173.461
2173.461 2173.905 2173.905 2174.323 2174.323 2174.263 2174.263 2174.119
2174.119 2173.899 2173.899 2173.749 2173.749 2173.598 2173.598 2173.432
2184.413 2183.056 2183.056 2181.7 2181.7 2180.348 2180.348 2179.005
2179.005 2177.673 2177.673 2176.358 2176.358 2175.068 2175.068 2173.802
2173.802 2172.566 2172.566 2171.469 2171.469 2170.578 2170.578 2170.119
2170.119 2170.023 2170.023 2170.433 2170.433 2171.341 2171.341 2172.097
2172.097 2172.825 2172.825 2173.461 2173.461 2173.905 2173.905 2174.323
2174.323 2174.263 2174.263 2174.119 2174.119 2173.899 2173.899 2173.749
2173.749 2173.598 2173.598 2173.432 2184.014 2182.626 2182.626 2181.228
2181.228 2179.82 2179.82 2178.409 2178.409 2177 2177 2175.6
2175.6 2174.219 2174.219 2172.874 2172.874 2171.585 2171.585 2170.459
2170.459 2169.629 2169.629 2169.303 2169.303 2169.234 2169.234 2169.5
2169.5 2169.981 2169.981 2170.872 2170.872 2171.409 2171.409 2171.863
2171.863 2172.181 2172.181 2172.66 2172.66 2172.684 2172.684 2172.66
2172.66 2172.622 2172.622 2172.523 2172.523 2172.481 2172.481 2172.409
2184.014 2182.626 2182.626 2181.228 2181.228 2179.82 2179.82 2178.409
2178.409 2177 2177 2175.6 2175.6 2174.219 2174.219 2172.874
2172.874 2171.585 2171.585 2170.459 2170.459 2169.629 2169.629 2169.303
2169.303 2169.234 2169.234 2169.5 2169.5 2169.981 2169.981 2170.872
2170.872 2171.409 2171.409 2171.863 2171.863 2172.181 2172.181 2172.66
2172.66 2172.684 2172.684 2172.66 2172.66 2172.622 2172.622 2172.523
2172.523 2172.481 2172.481 2172.409 2183.68 2182.257 2182.257 2180.816
2180.816 2179.359 2179.359 2177.89 2177.89 2176.416 2176.416 2174.945
2174.945 2173.485 2173.485 2172.055 2172.055 2170.687 2170.687 2169.489
2169.489 2168.808 2168.808 2168.475 2168.475 2168.442 2168.442 2168.623
2168.623 2168.95 2168.95 2169.344 2169.344 2170.107 2170.107 2170.384
2170.384 2170.575 2170.575 2171.037 2171.037 2171.101 2171.101 2171.174
2171.174 2171.264 2171.264 2171.354 2171.354 2171.42 2171.42 2171.407
2183.68 2182.257 2182.257 2180.816 2180.816 2179.359 2179.359 2177.89
2177.89 2176.416 2176.416 2174.945 2174.945 2173.485 2173.485 2172.055
2172.055 2170.687 2170.687 2169.489 2169.489 2168.808 2168.808 2168.475
2168.475 2168.442 2168.442 2168.623 2168.623 2168.95 2168.95 2169.344
2169.344 2170.107 2170.107 2170.384 2170.384 2170.575 2170.575 2171.037
2171.037 2171.101 2171.101 2171.174 2171.174 2171.264 2171.264 2171.354
2171.354 2171.42 2171.42 2171.407 2183.4 2181.942 2181.942 2180.461
2180.461 2178.958 2178.958 2177.438 2177.438 2175.911 2175.911 2174.387
2174.387 2172.879 2172.879 2171.396 2171.396 2169.941 2169.941 2168.563
2168.563 2167.916 2167.916 2167.753 2167.753 2167.732 2167.732 2167.834
2167.834 2168.026 2168.026 2168.259 2168.259 2168.485 2168.485 2169.04
2169.04 2169.086 2169.086 2169.128 2169.128 2169.528 2169.528 2169.694
2169.694 2169.924 2169.924 2170.163 2170.163 2170.363 2170.363 2170.495
2183.4 2181.942 2181.942 2180.461 2180.461 2178.958 2178.958 2177.438
2177.438 2175.911 2175.911 2174.387 2174.387 2172.879 2172.879 2171.396
2171.396 2169.941 2169.941 2168.563 2168.563 2167.916 2167.916 2167.753
2167.753 2167.732 2167.732 2167.834 2167.834 2168.026 2168.026 2168.259
2168.259 2168.485 2168.485 2169.04 2169.04 2169.086 2169.086 2169.128
2169.128 2169.528 2169.528 2169.694 2169.694 2169.924 2169.924 2170.163
2170.163 2170.363 2170.363 2170.495 2183.184 2181.693 2181.693 2180.18
2180.18 2178.645 2178.645 2177.091 2177.091 2175.53 2175.53 2173.974
2173.974 2172.438 2172.438 2170.937 2170.937 2169.496 2169.496 2168.278
2168.278 2167.393 2167.393 2167.207 2167.207 2167.176 2167.176 2167.17
2167.17 2167.233 2167.233 2167.322 2167.322 2167.395 2167.395 2167.424
2167.424 2167.719 2167.719 2167.633 2167.633 2167.966 2167.966 2168.243
2168.243 2168.646 2168.646 2169.055 2169.055 2169.399 2169.399 2169.644
2183.184 2181.693 2181.693 2180.18 2180.18 2178.645 2178.645 2177.091
2177.091 2175.53 2175.53 2173.974 2173.974 2172.438 2172.438 2170.937
2170.937 2169.496 2169.496 2168.278 2168.278 2167.393 2167.393 2167.207
2167.207 2167.176 2167.176 2167.17 2167.17 2167.233 2167.233 2167.322
2167.322 2167.395 2167.395 2167.424 2167.424 2167.719 2167.719 2167.633
2167.633 2167.966 2167.966 2168.243 2168.243 2168.646 2168.646 2169.055
2169.055 2169.399 2169.399 2169.644 2182.883 2181.503 2181.503 2179.967
2179.967 2178.406 2178.406 2176.824 2176.824 2175.236 2175.236 2173.66
2173.66 2172.117 2172.117 2170.929 2170.929 2169.476 2169.476 2168.208
2168.208 2167.292 2167.292 2166.611 2166.611 2166.601 2166.601 2166.44
2166.44 2166.363 2166.363 2166.55 2166.55 2166.496 2166.496 2166.381
2166.381 2166.197 2166.197 2166.209 2166.209 2166.405 2166.405 2166.868
2166.868 2167.5 2167.5 2168.002 2168.002 2168.464 2168.464 2168.804
2182.883 2181.503 2181.503 2179.967 2179.967 2178.406 2178.406 2176.824
2176.824 2175.236 2175.236 2173.66 2173.66 2172.117 2172.117 2170.929
2170.929 2169.476 2169.476 2168.208 2168.208 2167.292 2167.292 2166.611
2166.611 2166.601 2166.601 2166.44 2166.44 2166.363 2166.363 2166.55
2166.55 2166.496 2166.496 2166.381 2166.381 2166.197 2166.197 2166.209
2166.209 2166.405 2166.405 2166.868 2166.868 2167.5 2167.5 2168.002
2168.002 2168.464 2168.464 2168.804 2182.748 2181.367 2181.367 2179.819
2179.819 2178.238 2178.238 2176.632 2176.632 2175.021 2175.021 2173.43
2173.43 2172.25 2172.25 2170.75 2170.75 2169.354 2169.354 2168.131
2168.131 2167.204 2167.204 2166.432 2166.432 2165.862 2165.862 2165.964
2165.964 2165.793 2165.793 2165.668 2165.668 2165.54 2165.54 2165.36
2165.36 2165.086 2165.086 2164.819 2164.819 2164.858 2164.858 2165.659
2165.659 2166.491 2166.491 2167.202 2167.202 2167.765 2167.765 2168.172
2182.748 2181.367 2181.367 2179.819 2179.819 2178.238 2178.238 2176.632
2176.632 2175.021 2175.021 2173.43 2173.43 2172.25 2172.25 2170.75
2170.75 2169.354 2169.354 2168.131 2168.131 2167.204 2167.204 2166.432
2166.432 2165.862 2165.862 2165.964 2165.964 2165.793 2165.793 2165.668
2165.668 2165.54 2165.54 2165.36 2165.36 2165.086 2165.086 2164.819
2164.819 2164.858 2164.858 2165.659 2165.659 2166.491 2166.491 2167.202
2167.202 2167.765 2167.765 2168.172 2182.655 2181.167 2181.167 2179.732
2179.732 2178.137 2178.137 2176.503 2176.503 2174.869 2174.869 2173.642
2173.642 2172.103 2172.103 2170.625 2170.625 2169.252 2169.252 2168.034
2168.034 2167.091 2167.091 2166.267 2166.267 2165.649 2165.649 2165.203
2165.203 2164.89 2164.89 2165.186 2165.186 2165.044 2165.044 2164.867
2164.867 2164.6 2164.6 2164.075 2164.075 2164.241 2164.241 2165.069
2165.069 2165.935 2165.935 2166.69 2166.69 2167.293 2167.293 2167.721
2182.655 2181.167 2181.167 2179.732 2179.732 2178.137 2178.137 2176.503
2176.503 2174.869 2174.869 2173.642 2173.642 2172.103 2172.103 2170.625
2170.625 2169.252 2169.252 2168.034 2168.034 2167.091 2167.091 2166.267
2166.267 2165.649 2165.649 2165.203 2165.203 2164.89 2164.89 2165.186
2165.186 2165.044 2165.044 2164.867 2164.867 2164.6 2164.6 2164.075
2164.075 2164.241 2164.241 2165.069 2165.069 2165.935 2165.935 2166.69
2166.69 2167.293 2167.293 2167.721 2182.587 2181.128 2181.128 2179.699
2179.699 2178.093 2178.093 2176.669 2176.669 2175.098 2175.098 2173.538
2173.538 2172.008 2172.008 2170.537 2170.537 2169.16 2169.16 2167.92
2167.92 2166.943 2166.943 2166.084 2166.084 2165.446 2165.446 2164.995
2164.995 2164.698 2164.698 2164.527 2164.527 2164.753 2164.753 2164.225
2164.225 2164.213 2164.213 2164.198 2164.198 2164.541 2164.541 2165.056
2165.056 2165.753 2165.753 2166.459 2166.459 2167.052 2167.052 2167.417
2182.587 2181.128 2181.128 2179.699 2179.699 2178.093 2178.093 2176.669
2176.669 2175.098 2175.098 2173.538 2173.538 2172.008 2172.008 2170.537
2170.537 2169.16 2169.16 2167.92 2167.92 2166.943 2166.943 2166.084
2166.084 2165.446 2165.446 2164.995 2164.995 2164.698 2164.698 2164.527
2164.527 2164.753 2164.753 2164.225 2164.225 2164.213 2164.213 2164.198
2164.198 2164.541 2164.541 2165.056 2165.056 2165.753 2165.753 2166.459
2166.459 2167.052 2167.052 2167.417 2182.465 2181.035 2181.035 2179.631
2179.631 2178.16 2178.16 2176.603 2176.603 2175.042 2175.042 2173.49
2173.49 2171.962 2171.962 2170.483 2170.483 2169.081 2169.081 2167.796
2167.796 2166.681 2166.681 2165.871 2165.871 2165.233 2165.233 2164.797
2164.797 2164.527 2164.527 2163.854 2163.854 2163.883 2163.883 2164.182
2164.182 2164.378 2164.378 2164.573 2164.573 2164.815 2164.815 2165.19
2165.19 2165.767 2165.767 2166.413 2166.413 2167.008 2167.008 2167.301
2182.465 2181.035 2181.035 2179.631 2179.631 2178.16 2178.16 2176.603
2176.603 2175.042 2175.042 2173.49 2173.49 2171.962 2171.962 2170.483
2170.483 2169.081 2169.081 2167.796 2167.796 2166.681 2166.681 2165.871
2165.871 2165.233 2165.233 2164.797 2164.797 2164.527 2164.527 2163.854
2163.854 2163.883 2163.883 2164.182 2164.182 2164.378 2164.378 2164.573
2164.573 2164.815 2164.815 2165.19 2165.19 2165.767 2165.767 2166.413
2166.413 2167.008 2167.008 2167.301 2182.343 2180.882 2180.882 2179.402
2179.402 2177.987 2177.987 2176.373 2176.373 2174.765 2174.765 2173.195
2173.195 2171.97 2171.97 2170.477 2170.477 2169.039 2169.039 2167.686
2167.686 2166.482 2166.482 2165.628 2165.628 2165.021 2165.021 2164.16
2164.16 2163.827 2163.827 2163.698 2163.698 2163.778 2163.778 2164.07
2164.07 2164.577 2164.577 2164.712 2164.712 2164.974 2164.974 2165.438
2165.438 2165.915 2165.915 2166.474 2166.474 2167.062 2167.062 2167.178
2182.343 2180.882 2180.882 2179.402 2179.402 2177.987 2177.987 2176.373
2176.373 2174.765 2174.765 2173.195 2173.195 2171.97 2171.97 2170.477
2170.477 2169.039 2169.039 2167.686 2167.686 2166.482 2166.482 2165.628
2165.628 2165.021 2165.021 2164.16 2164.16 2163.827 2163.827 2163.698
2163.698 2163.778 2163.778 2164.07 2164.07 2164.577 2164.577 2164.712
2164.712 2164.974 2164.974 2165.438 2165.438 2165.915 2165.915 2166.474
2166.474 2167.062 2167.062 2167.178 2182.208 2180.74 2180.74 2179.187
2179.187 2177.912 2177.912 2176.317 2176.317 2174.723 2174.723 2173.161
2173.161 2171.643 2171.643 2170.18 2170.18 2168.786 2168.786 2167.476
2167.476 2166.266 2166.266 2165.485 2165.485 2164.963 2164.963 2164.557
2164.557 2164.281 2164.281 2164.143 2164.143 2164.15 2164.15 2164.298
2164.298 2164.581 2164.581 2164.684 2164.684 2165.103 2165.103 2165.437
2165.437 2165.867 2165.867 2166.343 2166.343 2166.603 2166.603 2166.927
2182.208 2180.74 2180.74 2179.187 2179.187 2177.912 2177.912 2176.317
2176.317 2174.723 2174.723 2173.161 2173.161 2171.643 2171.643 2170.18
2170.18 2168.786 2168.786 2167.476 2167.476 2166.266 2166.266 2165.485
2165.485 2164.963 2164.963 2164.557 2164.557 2164.281 2164.281 2164.143
2164.143 2164.15 2164.15 2164.298 2164.298 2164.581 2164.581 2164.684
2164.684 2165.103 2165.103 2165.437 2165.437 2165.867 2165.867 2166.343
2166.343 2166.603 2166.603 2166.927 2182.168 2180.609 2180.609 2179.43
2179.43 2177.865 2177.865 2176.251 2176.251 2174.712 2174.712 2173.163
2173.163 2171.65 2171.65 2170.182 2170.182 2168.768 2168.768 2167.426
2167.426 2166.191 2166.191 2165.332 2165.332 2164.889 2164.889 2164.412
2164.412 2164.097 2164.097 2163.944 2163.944 2163.952 2163.952 2164.107
2164.107 2164.406 2164.406 2164.487 2164.487 2164.993 2164.993 2165.356
2165.356 2165.766 2165.766 2165.871 2165.871 2166.247 2166.247 2166.492
2182.168 2180.609 2180.609 2179.43 2179.43 2177.865 2177.865 2176.251
2176.251 2174.712 2174.712 2173.163 2173.163 2171.65 2171.65 2170.182
2170.182 2168.768 2168.768 2167.426 2167.426 2166.191 2166.191 2165.332
2165.332 2164.889 2164.889 2164.412 2164.412 2164.097 2164.097 2163.944
2163.944 2163.952 2163.952 2164.107 2164.107 2164.406 2164.406 2164.487
2164.487 2164.993 2164.993 2165.356 2165.356 2165.766 2165.766 2165.871
2165.871 2166.247 2166.247 2166.492 2182.103 2180.523 2180.523 2179.391
2179.391 2177.848 2177.848 2176.259 2176.259 2174.741 2174.741 2173.212
2173.212 2171.711 2171.711 2170.244 2170.244 2168.854 2168.854 2167.488
2167.488 2166.156 2166.156 2165.085 2165.085 2164.451 2164.451 2164.274
2164.274 2163.889 2163.889 2163.701 2163.701 2163.7 2163.7 2163.938
2163.938 2164.196 2164.196 2164.472 2164.472 2164.841 2164.841 2165.248
2165.248 2165.309 2165.309 2165.678 2165.678 2165.999 2165.999 2166.235
2182.103 2180.523 2180.523 2179.391 2179.391 2177.848 2177.848 2176.259
2176.259 2174.741 2174.741 2173.212 2173.212 2171.711 2171.711 2170.244
2170.244 2168.854 2168.854 2167.488 2167.488 2166.156 2166.156 2165.085
2165.085 2164.451 2164.451 2164.274 2164.274 2163.889 2163.889 2163.701
2163.701 2163.7 2163.7 2163.938 2163.938 2164.196 2164.196 2164.472
2164.472 2164.841 2164.841 2165.248 2165.248 2165.309 2165.309 2165.678
2165.678 2165.999 2165.999 2166.235 2182.071 2180.482 2180.482 2179.375
2179.375 2177.862 2177.862 2176.305 2176.305 2174.77 2174.77 2173.316
2173.316 2171.837 2171.837 2170.345 2170.345 2168.901 2168.901 2167.522
2167.522 2166.141 2166.141 2165.007 2165.007 2164.341 2164.341 2163.566
2163.566 2163.051 2163.051 2163.402 2163.402 2163.395 2163.395 2163.646
2163.646 2163.955 2163.955 2164.248 2164.248 2164.698 2164.698 2164.861
2164.861 2165.226 2165.226 2165.569 2165.569 2165.861 2165.861 2166.089
2182.071 2180.482 2180.482 2179.375 2179.375 2177.862 2177.862 2176.305
2176.305 2174.77 2174.77 2173.316 2173.316 2171.837 2171.837 2170.345
2170.345 2168.901 2168.901 2167.522 2167.522 2166.141 2166.141 2165.007
2165.007 2164.341 2164.341 2163.566 2163.566 2163.051 2163.051 2163.402
2163.402 2163.395 2163.395 2163.646 2163.646 2163.955 2163.955 2164.248
2164.248 2164.698 2164.698 2164.861 2164.861 2165.226 2165.226 2165.569
2165.569 2165.861 2165.861 2166.089 2182.072 2180.485 2180.485 2179.379
2179.379 2177.906 2177.906 2176.393 2176.393 2174.904 2174.904 2173.433
2173.433 2171.911 2171.911 2170.438 2170.438 2168.991 2168.991 2167.48
2167.48 2166.163 2166.163 2164.957 2164.957 2163.904 2163.904 2163.331
2163.331 2162.746 2162.746 2162.496 2162.496 2163.119 2163.119 2163.314
2163.314 2163.688 2163.688 2164.052 2164.052 2164.612 2164.612 2164.848
2164.848 2165.233 2165.233 2165.562 2165.562 2165.832 2165.832 2166.05
2182.072 2180.485 2180.485 2179.379 2179.379 2177.906 2177.906 2176.393
2176.393 2174.904 2174.904 2173.433 2173.433 2171.911 2171.911 2170.438
2170.438 2168.991 2168.991 2167.48 2167.48 2166.163 2166.163 2164.957
2164.957 2163.904 2163.904 2163.331 2163.331 2162.746 2162.746 2162.496
2162.496 2163.119 2163.119 2163.314 2163.314 2163.688 2163.688 2164.052
2164.052 2164.612 2164.612 2164.848 2164.848 2165.233 2165.233 2165.562
2165.562 2165.832 2165.832 2166.05 2182.108 2180.529 2180.529 2179.397
2179.397 2177.977 2177.977 2176.523 2176.523 2175.094 2175.094 2173.471
2173.471 2172.044 2172.044 2170.588 2170.588 2169.141 2169.141 2167.617
2167.617 2166.246 2166.246 2164.963 2164.963 2163.809 2163.809 2163.084
2163.084 2162.41 2162.41 2162.275 2162.275 2162.409 2162.409 2162.971
2162.971 2163.4 2163.4 2163.929 2163.929 2164.464 2164.464 2164.974
2164.974 2165.366 2165.366 2165.666 2165.666 2165.905 2165.905 2166.105
2182.108 2180.529 2180.529 2179.397 2179.397 2177.977 2177.977 2176.523
2176.523 2175.094 2175.094 2173.471 2173.471 2172.044 2172.044 2170.588
2170.588 2169.141 2169.141 2167.617 2167.617 2166.246 2166.246 2164.963
2164.963 2163.809 2163.809 2163.084 2163.084 2162.41 2162.41 2162.275
2162.275 2162.409 2162.409 2162.971 2162.971 2163.4 2163.4 2163.929
2163.929 2164.464 2164.464 2164.974 2164.974 2165.366 2165.366 2165.666
2165.666 2165.905 2165.905 2166.105 2182.179 2180.611 2180.611 2179.429
2179.429 2178.079 2178.079 2176.517 2176.517 2175.084 2175.084 2173.647
2173.647 2172.208 2172.208 2170.805 2170.805 2169.363 2169.363 2167.835
2167.835 2166.417 2166.417 2165.069 2165.069 2163.817 2163.817 2162.707
2162.707 2162.04 2162.04 2162.067 2162.067 2162.397 2162.397 2162.803
2162.803 2163.198 2163.198 2163.979 2163.979 2164.777 2164.777 2165.309
2165.309 2165.645 2165.645 2165.876 2165.876 2166.064 2166.064 2166.239
2182.179 2180.611 2180.611 2179.429 2179.429 2178.079 2178.079 2176.517
2176.517 2175.084 2175.084 2173.647 2173.647 2172.208 2172.208 2170.805
2170.805 2169.363 2169.363 2167.835 2167.835 2166.417 2166.417 2165.069
2165.069 2163.817 2163.817 2162.707 2162.707 2162.04 2162.04 2162.067
2162.067 2162.397 2162.397 2162.803 2162.803 2163.198 2163.198 2163.979
2163.979 2164.777 2164.777 2165.309 2165.309 2165.645 2165.645 2165.876
2165.876 2166.064 2166.064 2166.239 2182.292 2180.726 2180.726 2179.486
2179.486 2178.067 2178.067 2176.676 2176.676 2175.274 2175.274 2173.868
2173.868 2172.471 2172.471 2171.077 2171.077 2169.624 2169.624 2168.135
2168.135 2166.688 2166.688 2165.319 2165.319 2163.83 2163.83 2162.849
2162.849 2161.995 2161.995 2162.302 2162.302 2162.79 2162.79 2163.341
2163.341 2163.978 2163.978 2164.797 2164.797 2165.554 2165.554 2165.972
2165.972 2166.168 2166.168 2166.289 2166.289 2166.4 2166.4 2166.525
2182.292 2180.726 2180.726 2179.486 2179.486 2178.067 2178.067 2176.676
2176.676 2175.274 2175.274 2173.868 2173.868 2172.471 2172.471 2171.077
2171.077 2169.624 2169.624 2168.135 2168.135 2166.688 2166.688 2165.319
2165.319 2163.83 2163.83 2162.849 2162.849 2161.995 2161.995 2162.302
2162.302 2162.79 2162.79 2163.341 2163.341 2163.978 2163.978 2164.797
2164.797 2165.554 2165.554 2165.972 2165.972 2166.168 2166.168 2166.289
2166.289 2166.4 2166.4 2166.525 2182.448 2180.877 2180.877 2179.542
2179.542 2178.264 2178.264 2176.616 2176.616 2175.168 2175.168 2173.736
2173.736 2172.339 2172.339 2170.991 2170.991 2169.614 2169.614 2168.189
2168.189 2166.846 2166.846 2165.601 2165.601 2164.479 2164.479 2163.545
2163.545 2163.035 2163.035 2163.064 2163.064 2163.452 2163.452 2164.063
2164.063 2164.85 2164.85 2165.846 2165.846 2166.567 2166.567 2166.631
2166.631 2166.565 2166.565 2166.732 2166.732 2166.917 2166.917 2167.15
2182.448 2180.877 2180.877 2179.542 2179.542 2178.264 2178.264 2176.616
2176.616 2175.168 2175.168 2173.736 2173.736 2172.339 2172.339 2170.991
2170.991 2169.614 2169.614 2168.189 2168.189 2166.846 2166.846 2165.601
2165.601 2164.479 2164.479 2163.545 2163.545 2163.035 2163.035 2163.064
2163.064 2163.452 2163.452 2164.063 2164.063 2164.85 2164.85 2165.846
2165.846 2166.567 2166.567 2166.631 2166.631 2166.565 2166.565 2166.732
2166.732 2166.917 2166.917 2167.15 2182.577 2181.133 2181.133 2179.77
2179.77 2178.361 2178.361 2176.9 2176.9 2175.509 2175.509 2174.091
2174.091 2172.692 2172.692 2171.315 2171.315 2169.929 2169.929 2168.571
2168.571 2167.282 2167.282 2166.12 2166.12 2165.117 2165.117 2164.425
2164.425 2163.956 2163.956 2163.915 2163.915 2164.165 2164.165 2164.714
2164.714 2165.519 2165.519 2166.565 2166.565 2167.385 2167.385 2167.018
2167.018 2166.826 2166.826 2166.892 2166.892 2167.167 2167.167 2167.73
2182.577 2181.133 2181.133 2179.77 2179.77 2178.361 2178.361 2176.9
2176.9 2175.509 2175.509 2174.091 2174.091 2172.692 2172.692 2171.315
2171.315 2169.929 2169.929 2168.571 2168.571 2167.282 2167.282 2166.12
2166.12 2165.117 2165.117 2164.425 2164.425 2163.956 2163.956 2163.915
2163.915 2164.165 2164.165 2164.714 2164.714 2165.519 2165.519 2166.565
2166.565 2167.385 2167.385 2167.018 2167.018 2166.826 2166.826 2166.892
2166.892 2167.167 2167.167 2167.73 2182.95 2181.407 2181.407 2179.916
2179.916 2178.72 2178.72 2177.28 2177.28 2175.843 2175.843 2174.423
2174.423 2173.025 2173.025 2171.652 2171.652 2170.287 2170.287 2168.987
2168.987 2167.771 2167.771 2166.683 2166.683 2165.759 2165.759 2165.17
2165.17 2164.736 2164.736 2164.65 2164.65 2164.772 2164.772 2165.177
2165.177 2165.784 2165.784 2166.455 2166.455 2166.891 2166.891 2166.814
2166.814 2166.719 2166.719 2166.902 2166.902 2167.59 2167.59 2168.13
2190.914 2189.798 2189.798 2188.704 2188.704 2187.81 2187.81 2186.962
2186.962 2186.11 2186.11 2185.288 2185.288 2184.499 2184.499 2183.764
2183.764 2183.11 2183.11 2182.571 2182.571 2182.193 2182.193 2182.032
2182.032 2182.12 2182.12 2182.385 2182.385 2182.694 2182.694 2183.135
2183.135 2183.609 2183.609 2184.027 2184.027 2184.287 2184.287 2184.318
2184.318 2184.136 2184.136 2183.918 2183.918 2183.535 2183.535 2183.127
2183.127 2182.716 2182.716 2182.304 2190.369 2189.185 2189.185 2188.252
2188.252 2187.151 2187.151 2186.145 2186.145 2185.217 2185.217 2184.279
2184.279 2183.372 2183.372 2182.485 2182.485 2181.709 2181.709 2181.042
2181.042 2180.533 2180.533 2180.262 2180.262 2180.313 2180.313 2180.705
2180.705 2181.272 2181.272 2181.948 2181.948 2182.618 2182.618 2183.268
2183.268 2183.706 2183.706 2183.775 2183.775 2183.626 2183.626 2183.248
2183.248 2182.836 2182.836 2182.43 2182.43 2182.044 2182.044 2181.678
2190.369 2189.185 2189.185 2188.252 2188.252 2187.151 2187.151 2186.145
2186.145 2185.217 2185.217 2184.279 2184.279 2183.372 2183.372 2182.485
2182.485 2181.709 2181.709 2181.042 2181.042 2180.533 2180.533 2180.262
2180.262 2180.313 2180.313 2180.705 2180.705 2181.272 2181.272 2181.948
2181.948 2182.618 2182.618 2183.268 2183.268 2183.706 2183.706 2183.775
2183.775 2183.626 2183.626 2183.248 2183.248 2182.836 2182.836 2182.43
2182.43 2182.044 2182.044 2181.678 2189.858 2188.605 2188.605 2187.67
2187.67 2186.497 2186.497 2185.387 2185.387 2184.332 2184.332 2183.299
2183.299 2182.27 2182.27 2181.288 2181.288 2180.373 2180.373 2179.52
2179.52 2178.835 2178.835 2178.373 2178.373 2178.406 2178.406 2178.959
2178.959 2179.752 2179.752 2180.637 2180.637 2181.566 2181.566 2182.481
2182.481 2183.204 2183.204 2183.302 2183.302 2182.902 2182.902 2182.444
2182.444 2182.009 2182.009 2181.616 2181.616 2181.267 2181.267 2180.958
2189.858 2188.605 2188.605 2187.67 2187.67 2186.497 2186.497 2185.387
2185.387 2184.332 2184.332 2183.299 2183.299 2182.27 2182.27 2181.288
2181.288 2180.373 2180.373 2179.52 2179.52 2178.835 2178.835 2178.373
2178.373 2178.406 2178.406 2178.959 2178.959 2179.752 2179.752 2180.637
2180.637 2181.566 2181.566 2182.481 2182.481 2183.204 2183.204 2183.302
2183.302 2182.902 2182.902 2182.444 2182.444 2182.009 2182.009 2181.616
2181.616 2181.267 2181.267 2180.958 2189.383 2188.379 2188.379 2187.098
2187.098 2185.855 2185.855 2184.653 2184.653 2183.494 2183.494 2182.37
2182.37 2181.223 2181.223 2180.122 2180.122 2179.086 2179.086 2178.133
2178.133 2177.274 2177.274 2176.514 2176.514 2176.406 2176.406 2177.3
2177.3 2178.267 2178.267 2179.269 2179.269 2180.308 2180.308 2181.457
2181.457 2182.543 2182.543 2182.452 2182.452 2181.952 2181.952 2181.505
2181.505 2181.111 2181.111 2180.763 2180.763 2180.456 2180.456 2180.178
2189.383 2188.379 2188.379 2187.098 2187.098 2185.855 2185.855 2184.653
2184.653 2183.494 2183.494 2182.37 2182.37 2181.223 2181.223 2180.122
2180.122 2179.086 2179.086 2178.133 2178.133 2177.274 2177.274 2176.514
2176.514 2176.406 2176.406 2177.3 2177.3 2178.267 2178.267 2179.269
2179.269 2180.308 2180.308 2181.457 2181.457 2182.543 2182.543 2182.452
2182.452 2181.952 2181.952 2181.505 2181.505 2181.111 2181.111 2180.763
2180.763 2180.456 2180.456 2180.178 2188.952 2187.879 2187.879 2186.548
2186.548 2185.237 2185.237 2183.953 2183.953 2182.698 2182.698 2181.474
2181.474 2180.246 2180.246 2179.038 2179.038 2177.905 2177.905 2176.879
2176.879 2175.989 2175.989 2175.295 2175.295 2175.278 2175.278 2176.134
2176.134 2177.087 2177.087 2178.059 2178.059 2179.024 2179.024 2179.946
2179.946 2180.652 2180.652 2180.92 2180.92 2180.587 2180.587 2180.25
2180.25 2179.934 2179.934 2179.651 2179.651 2179.397 2179.397 2179.16
2188.952 2187.879 2187.879 2186.548 2186.548 2185.237 2185.237 2183.953
2183.953 2182.698 2182.698 2181.474 2181.474 2180.246 2180.246 2179.038
2179.038 2177.905 2177.905 2176.879 2176.879 2175.989 2175.989 2175.295
2175.295 2175.278 2175.278 2176.134 2176.134 2177.087 2177.087 2178.059
2178.059 2179.024 2179.024 2179.946 2179.946 2180.652 2180.652 2180.92
2180.92 2180.587 2180.587 2180.25 2180.25 2179.934 2179.934 2179.651
2179.651 2179.397 2179.397 2179.16 2188.792 2187.409 2187.409 2186.03
2186.03 2184.658 2184.658 2183.299 2183.299 2181.956 2181.956 2180.636
2180.636 2179.348 2179.348 2178.042 2178.042 2176.832 2176.832 2175.777
2175.777 2174.945 2174.945 2174.565 2174.565 2174.523 2174.523 2174.974
2174.974 2175.932 2175.932 2176.745 2176.745 2177.541 2177.541 2178.246
2178.246 2178.74 2178.74 2179.165 2179.165 2179.08 2179.08 2178.896
2178.896 2178.607 2178.607 2178.421 2178.421 2178.243 2178.243 2178.063
2188.792 2187.409 2187.409 2186.03 2186.03 2184.658 2184.658 2183.299
2183.299 2181.956 2181.956 2180.636 2180.636 2179.348 2179.348 2178.042
2178.042 2176.832 2176.832 2175.777 2175.777 2174.945 2174.945 2174.565
2174.565 2174.523 2174.523 2174.974 2174.974 2175.932 2175.932 2176.745
2176.745 2177.541 2177.541 2178.246 2178.246 2178.74 2178.74 2179.165
2179.165 2179.08 2179.08 2178.896 2178.896 2178.607 2178.607 2178.421
2178.421 2178.243 2178.243 2178.063 2188.393 2186.98 2186.98 2185.558
2185.558 2184.131 2184.131 2182.705 2182.705 2181.285 2181.285 2179.878
2179.878 2178.497 2178.497 2177.157 2177.157 2175.846 2175.846 2174.755
2174.755 2173.975 2173.975 2173.717 2173.717 2173.702 2173.702 2174.018
2174.018 2174.545 2174.545 2175.496 2175.496 2176.086 2176.086 2176.587
2176.587 2176.938 2176.938 2177.419 2177.419 2177.427 2177.427 2177.372
2177.372 2177.295 2177.295 2177.124 2177.124 2177.043 2177.043 2176.939
2188.393 2186.98 2186.98 2185.558 2185.558 2184.131 2184.131 2182.705
2182.705 2181.285 2181.285 2179.878 2179.878 2178.497 2178.497 2177.157
2177.157 2175.846 2175.846 2174.755 2174.755 2173.975 2173.975 2173.717
2173.717 2173.702 2173.702 2174.018 2174.018 2174.545 2174.545 2175.496
2175.496 2176.086 2176.086 2176.587 2176.587 2176.938 2176.938 2177.419
2177.419 2177.427 2177.427 2177.372 2177.372 2177.295 2177.295 2177.124
2177.124 2177.043 2177.043 2176.939 2188.057 2186.605 2186.605 2185.142
2185.142 2183.667 2183.667 2182.183 2182.183 2180.697 2180.697 2179.217
2179.217 2177.753 2177.753 2176.322 2176.322 2174.958 2174.958 2173.756
2173.756 2173.126 2173.126 2172.847 2172.847 2172.868 2172.868 2173.1
2173.1 2173.473 2173.473 2173.911 2173.911 2174.728 2174.728 2175.038
2175.038 2175.252 2175.252 2175.714 2175.714 2175.766 2175.766 2175.816
2175.816 2175.872 2175.872 2175.917 2175.917 2175.927 2175.927 2175.836
2188.057 2186.605 2186.605 2185.142 2185.142 2183.667 2183.667 2182.183
2182.183 2180.697 2180.697 2179.217 2179.217 2177.753 2177.753 2176.322
2176.322 2174.958 2174.958 2173.756 2173.756 2173.126 2173.126 2172.847
2172.847 2172.868 2172.868 2173.1 2173.1 2173.473 2173.473 2173.911
2173.911 2174.728 2174.728 2175.038 2175.038 2175.252 2175.252 2175.714
2175.714 2175.766 2175.766 2175.816 2175.816 2175.872 2175.872 2175.917
2175.917 2175.927 2175.927 2175.836 2187.769 2186.291 2186.291 2184.791
2184.791 2183.271 2183.271 2181.736 2181.736 2180.196 2180.196 2178.66
2178.66 2177.142 2177.142 2175.65 2175.65 2174.183 2174.183 2172.799
2172.799 2172.187 2172.187 2172.081 2172.081 2172.114 2172.114 2172.265
2172.265 2172.5 2172.5 2172.77 2172.77 2173.027 2173.027 2173.62
2173.62 2173.683 2173.683 2173.732 2173.732 2174.118 2174.118 2174.271
2174.271 2174.478 2174.478 2174.678 2174.678 2174.82 2174.82 2174.871
2187.769 2186.291 2186.291 2184.791 2184.791 2183.271 2183.271 2181.736
2181.736 2180.196 2180.196 2178.66 2178.66 2177.142 2177.142 2175.65
2175.65 2174.183 2174.183 2172.799 2172.799 2172.187 2172.187 2172.081
2172.081 2172.114 2172.114 2172.265 2172.265 2172.5 2172.5 2172.77
2172.77 2173.027 2173.027 2173.62 2173.62 2173.683 2173.683 2173.732
2173.732 2174.118 2174.118 2174.271 2174.271 2174.478 2174.478 2174.678
2174.678 2174.82 2174.82 2174.871 2187.541 2186.031 2186.031 2184.5
2184.5 2182.947 2182.947 2181.378 2181.378 2179.802 2179.802 2178.232
2178.232 2176.684 2176.684 2175.172 2175.172 2173.721 2173.721 2172.506
2172.506 2171.637 2171.637 2171.487 2171.487 2171.518 2171.518 2171.554
2171.554 2171.654 2171.654 2171.773 2171.773 2171.871 2171.871 2171.917
2171.917 2172.237 2172.237 2172.158 2172.158 2172.487 2172.487 2172.768
2172.768 2173.167 2173.167 2173.556 2173.556 2173.857 2173.857 2174.037
2187.541 2186.031 2186.031 2184.5 2184.5 2182.947 2182.947 2181.378
2181.378 2179.802 2179.802 2178.232 2178.232 2176.684 2176.684 2175.172
2175.172 2173.721 2173.721 2172.506 2172.506 2171.637 2171.637 2171.487
2171.487 2171.518 2171.518 2171.554 2171.554 2171.654 2171.654 2171.773
2171.773 2171.871 2171.871 2171.917 2171.917 2172.237 2172.237 2172.158
2172.158 2172.487 2172.487 2172.768 2172.768 2173.167 2173.167 2173.556
2173.556 2173.857 2173.857 2174.037 2187.229 2185.827 2185.827 2184.274
2184.274 2182.695 2182.695 2181.097 2181.097 2179.492 2179.492 2177.902
2177.902 2176.346 2176.346 2175.177 2175.177 2173.712 2173.712 2172.438
2172.438 2171.53 2171.53 2170.872 2170.872 2170.887 2170.887 2170.754
2170.754 2170.701 2170.701 2170.943 2170.943 2170.909 2170.909 2170.806
2170.806 2170.629 2170.629 2170.658 2170.658 2170.862 2170.862 2171.354
2171.354 2172.013 2172.013 2172.506 2172.506 2172.961 2172.961 2173.28
2187.229 2185.827 2185.827 2184.274 2184.274 2182.695 2182.695 2181.097
2181.097 2179.492 2179.492 2177.902 2177.902 2176.346 2176.346 2175.177
2175.177 2173.712 2173.712 2172.438 2172.438 2171.53 2171.53 2170.872
2170.872 2170.887 2170.887 2170.754 2170.754 2170.701 2170.701 2170.943
2170.943 2170.909 2170.909 2170.806 2170.806 2170.629 2170.629 2170.658
2170.658 2170.862 2170.862 2171.354 2171.354 2172.013 2172.013 2172.506
2172.506 2172.961 2172.961 2173.28 2187.077 2185.675 2185.675 2184.111
2184.111 2182.512 2182.512 2180.887 2180.887 2179.259 2179.259 2177.653
2177.653 2176.495 2176.495 2174.985 2174.985 2173.582 2173.582 2172.356
2172.356 2171.433 2171.433 2170.674 2170.674 2170.12 2170.12 2170.238
2170.238 2170.083 2170.083 2169.975 2169.975 2169.864 2169.864 2169.699
2169.699 2169.438 2169.438 2169.192 2169.192 2169.255 2169.255 2170.115
2170.115 2171.009 2171.009 2171.765 2171.765 2172.354 2172.354 2172.774
2187.077 2185.675 2185.675 2184.111 2184.111 2182.512 2182.512 2180.887
2180.887 2179.259 2179.259 2177.653 2177.653 2176.495 2176.495 2174.985
2174.985 2173.582 2173.582 2172.356 2172.356 2171.433 2171.433 2170.674
2170.674 2170.12 2170.12 2170.238 2170.238 2170.083 2170.083 2169.975
2169.975 2169.864 2169.864 2169.699 2169.699 2169.438 2169.438 2169.192
2169.192 2169.255 2169.255 2170.115 2170.115 2171.009 2171.009 2171.765
2171.765 2172.354 2172.354 2172.774 2186.962 2185.458 2185.458 2184.005
2184.005 2182.392 2182.392 2180.738 2180.738 2179.084 2179.084 2177.875
2177.875 2176.327 2176.327 2174.844 2174.844 2173.468 2173.468 2172.249
2172.249 2171.306 2171.306 2170.487 2170.487 2169.875 2169.875 2169.434
2169.434 2169.13 2169.13 2169.439 2169.439 2169.313 2169.313 2169.156
2169.156 2168.911 2168.911 2168.385 2168.385 2168.612 2168.612 2169.544
2169.544 2170.501 2170.501 2171.336 2171.336 2171.998 2171.998 2172.461
2186.962 2185.458 2185.458 2184.005 2184.005 2182.392 2182.392 2180.738
2180.738 2179.084 2179.084 2177.875 2177.875 2176.327 2176.327 2174.844
2174.844 2173.468 2173.468 2172.249 2172.249 2171.306 2171.306 2170.487
2170.487 2169.875 2169.875 2169.434 2169.434 2169.13 2169.13 2169.439
2169.439 2169.313 2169.313 2169.156 2169.156 2168.911 2168.911 2168.385
2168.385 2168.612 2168.612 2169.544 2169.544 2170.501 2170.501 2171.336
2171.336 2171.998 2171.998 2172.461 2186.865 2185.394 2185.394 2183.95
2183.95 2182.325 2182.325 2180.897 2180.897 2179.313 2179.313 2177.741
2177.741 2176.204 2176.204 2174.73 2174.73 2173.354 2173.354 2172.117
2172.117 2171.138 2171.138 2170.278 2170.278 2169.634 2169.634 2169.178
2169.178 2168.882 2168.882 2168.72 2168.72 2168.965 2168.965 2168.387
2168.387 2168.429 2168.429 2168.486 2168.486 2168.913 2168.913 2169.542
2169.542 2170.38 2170.38 2171.2 2171.2 2171.885 2171.885 2172.302
2186.865 2185.394 2185.394 2183.95 2183.95 2182.325 2182.325 2180.897
2180.897 2179.313 2179.313 2177.741 2177.741 2176.204 2176.204 2174.73
2174.73 2173.354 2173.354 2172.117 2172.117 2171.138 2171.138 2170.278
2170.278 2169.634 2169.634 2169.178 2169.178 2168.882 2168.882 2168.72
2168.72 2168.965 2168.965 2168.387 2168.387 2168.429 2168.429 2168.486
2168.486 2168.913 2168.913 2169.542 2169.542 2170.38 2170.38 2171.2
2171.2 2171.885 2171.885 2172.302 2186.708 2185.266 2185.266 2183.853
2183.853 2182.368 2182.368 2180.793 2180.793 2179.217 2179.217 2177.653
2177.653 2176.119 2176.119 2174.64 2174.64 2173.243 2173.243 2171.967
2171.967 2170.853 2170.853 2170.031 2170.031 2169.374 2169.374 2168.919
2168.919 2168.642 2168.642 2167.875 2167.875 2167.926 2167.926 2168.271
2168.271 2168.538 2168.538 2168.827 2168.827 2169.174 2169.174 2169.689
2169.689 2170.422 2170.422 2171.244 2171.244 2171.976 2171.976 2172.321
2186.708 2185.266 2185.266 2183.853 2183.853 2182.368 2182.368 2180.793
2180.793 2179.217 2179.217 2177.653 2177.653 2176.119 2176.119 2174.64
2174.64 2173.243 2173.243 2171.967 2171.967 2170.853 2170.853 2170.031
2170.031 2169.374 2169.374 2168.919 2168.919 2168.642 2168.642 2167.875
2167.875 2167.926 2167.926 2168.271 2168.271 2168.538 2168.538 2168.827
2168.827 2169.174 2169.174 2169.689 2169.689 2170.422 2170.422 2171.244
2171.244 2171.976 2171.976 2172.321 2186.545 2185.068 2185.068 2183.566
2183.566 2182.138 2182.138 2180.5 2180.5 2178.873 2178.873 2177.288
2177.288 2176.075 2176.075 2174.582 2174.582 2173.152 2173.152 2171.815
2171.815 2170.622 2170.622 2169.745 2169.745 2169.096 2169.096 2168.116
2168.116 2167.749 2167.749 2167.615 2167.615 2167.721 2167.721 2168.069
2168.069 2168.663 2168.663 2168.913 2168.913 2169.298 2169.298 2169.925
2169.925 2170.584 2170.584 2171.34 2171.34 2172.139 2172.139 2172.282
2186.545 2185.068 2185.068 2183.566 2183.566 2182.138 2182.138 2180.5
2180.5 2178.873 2178.873 2177.288 2177.288 2176.075 2176.075 2174.582
2174.582 2173.152 2173.152 2171.815 2171.815 2170.622 2170.622 2169.745
2169.745 2169.096 2169.096 2168.116 2168.116 2167.749 2167.749 2167.615
2167.615 2167.721 2167.721 2168.069 2168.069 2168.663 2168.663 2168.913
2168.913 2169.298 2169.298 2169.925 2169.925 2170.584 2170.584 2171.34
2171.34 2172.139 2172.139 2172.282 2186.362 2184.865 2184.865 2183.291
2183.291 2182.002 2182.002 2180.382 2180.382 2178.765 2178.765 2177.185
2177.185 2175.656 2175.656 2174.192 2174.192 2172.808 2172.808 2171.522
2171.522 2170.352 2170.352 2169.5 2169.5 2168.871 2168.871 2168.39
2168.39 2168.073 2168.073 2167.931 2167.931 2167.971 2167.971 2168.187
2168.187 2168.573 2168.573 2168.81 2168.81 2169.371 2169.371 2169.884
2169.884 2170.507 2170.507 2171.177 2171.177 2171.591 2171.591 2171.979
2186.362 2184.865 2184.865 2183.291 2183.291 2182.002 2182.002 2180.382
2180.382 2178.765 2178.765 2177.185 2177.185 2175.656 2175.656 2174.192
2174.192 2172.808 2172.808 2171.522 2171.522 2170.352 2170.352 2169.5
2169.5 2168.871 2168.871 2168.39 2168.39 2168.073 2168.073 2167.931
2167.931 2167.971 2167.971 2168.187 2168.187 2168.573 2168.573 2168.81
2168.81 2169.371 2169.371 2169.884 2169.884 2170.507 2170.507 2171.177
2171.177 2171.591 2171.591 2171.979 2186.264 2184.678 2184.678 2183.473
2183.473 2181.891 2181.891 2180.25 2180.25 2178.68 2178.68 2177.107
2177.107 2175.575 2175.575 2174.095 2174.095 2172.679 2172.679 2171.342
2171.342 2170.087 2170.087 2169.165 2169.165 2168.633 2168.633 2168.083
2168.083 2167.729 2167.729 2167.578 2167.578 2167.628 2167.628 2167.865
2167.865 2168.285 2168.285 2168.521 2168.521 2169.187 2169.187 2169.744
2169.744 2170.35 2170.35 2170.623 2170.623 2171.142 2171.142 2171.478
2186.264 2184.678 2184.678 2183.473 2183.473 2181.891 2181.891 2180.25
2180.25 2178.68 2178.68 2177.107 2177.107 2175.575 2175.575 2174.095
2174.095 2172.679 2172.679 2171.342 2171.342 2170.087 2170.087 2169.165
2169.165 2168.633 2168.633 2168.083 2168.083 2167.729 2167.729 2167.578
2167.578 2167.628 2167.628 2167.865 2167.865 2168.285 2168.285 2168.521
2168.521 2169.187 2169.187 2169.744 2169.744 2170.35 2170.35 2170.623
2170.623 2171.142 2171.142 2171.478 2186.148 2184.536 2184.536 2183.371
2183.371 2181.807 2181.807 2180.185 2180.185 2178.629 2178.629 2177.067
2177.067 2175.536 2175.536 2174.042 2174.042 2172.629 2172.629 2171.24
2171.24 2169.841 2169.841 2168.704 2168.704 2167.989 2167.989 2167.752
2167.752 2167.335 2167.335 2167.158 2167.158 2167.212 2167.212 2167.548
2167.548 2167.947 2167.947 2168.382 2168.382 2168.953 2168.953 2169.571
2169.571 2169.82 2169.82 2170.363 2170.363 2170.822 2170.822 2171.154
2186.148 2184.536 2184.536 2183.371 2183.371 2181.807 2181.807 2180.185
2180.185 2178.629 2178.629 2177.067 2177.067 2175.536 2175.536 2174.042
2174.042 2172.629 2172.629 2171.24 2171.24 2169.841 2169.841 2168.704
2168.704 2167.989 2167.989 2167.752 2167.752 2167.335 2167.335 2167.158
2167.158 2167.212 2167.212 2167.548 2167.548 2167.947 2167.947 2168.382
2168.382 2168.953 2168.953 2169.571 2169.571 2169.82 2169.82 2170.363
2170.363 2170.822 2170.822 2171.154 2186.067 2184.44 2184.44 2183.294
2183.294 2181.754 2181.754 2180.156 2180.156 2178.579 2178.579 2177.077
2177.077 2175.555 2175.555 2174.02 2174.02 2172.532 2172.532 2171.107
2171.107 2169.625 2169.625 2168.414 2168.414 2167.667 2167.667 2166.831
2166.831 2166.29 2166.29 2166.668 2166.668 2166.732 2166.732 2167.099
2167.099 2167.571 2167.571 2168.052 2168.052 2168.736 2168.736 2169.121
2169.121 2169.695 2169.695 2170.213 2170.213 2170.638 2170.638 2170.961
2186.067 2184.44 2184.44 2183.294 2183.294 2181.754 2181.754 2180.156
2180.156 2178.579 2178.579 2177.077 2177.077 2175.555 2175.555 2174.02
2174.02 2172.532 2172.532 2171.107 2171.107 2169.625 2169.625 2168.414
2168.414 2167.667 2167.667 2166.831 2166.831 2166.29 2166.29 2166.668
2166.668 2166.732 2166.732 2167.099 2167.099 2167.571 2167.571 2168.052
2168.052 2168.736 2168.736 2169.121 2169.121 2169.695 2169.695 2170.213
2170.213 2170.638 2170.638 2170.961 2186.023 2184.392 2184.392 2183.24
2183.24 2181.733 2181.733 2180.171 2180.171 2178.63 2178.63 2177.106
2177.106 2175.522 2175.522 2173.99 2173.99 2172.483 2172.483 2170.864
2170.864 2169.465 2169.465 2168.168 2168.168 2167.026 2167.026 2166.386
2166.386 2165.781 2165.781 2165.569 2165.569 2166.288 2166.288 2166.616
2166.616 2167.17 2167.17 2167.763 2167.763 2168.604 2168.604 2169.094
2169.094 2169.702 2169.702 2170.205 2170.205 2170.6 2170.6 2170.902
2186.023 2184.392 2184.392 2183.24 2183.24 2181.733 2181.733 2180.171
2180.171 2178.63 2178.63 2177.106 2177.106 2175.522 2175.522 2173.99
2173.99 2172.483 2172.483 2170.864 2170.864 2169.465 2169.465 2168.168
2168.168 2167.026 2167.026 2166.386 2166.386 2165.781 2165.781 2165.569
2165.569 2166.288 2166.288 2166.616 2166.616 2167.17 2167.17 2167.763
2167.763 2168.604 2168.604 2169.094 2169.094 2169.702 2169.702 2170.205
2170.205 2170.6 2170.6 2170.902 2186.018 2184.389 2184.389 2183.205
2183.205 2181.746 2181.746 2180.233 2180.233 2178.743 2178.743 2177.055
2177.055 2175.555 2175.555 2174.026 2174.026 2172.504 2172.504 2170.86
2170.86 2169.393 2169.393 2168.005 2168.005 2166.746 2166.746 2165.936
2165.936 2165.243 2165.243 2165.179 2165.179 2165.443 2165.443 2166.158
2166.158 2166.765 2166.765 2167.581 2167.581 2168.461 2168.461 2169.273
2169.273 2169.896 2169.896 2170.361 2170.361 2170.712 2170.712 2170.979
2186.018 2184.389 2184.389 2183.205 2183.205 2181.746 2181.746 2180.233
2180.233 2178.743 2178.743 2177.055 2177.055 2175.555 2175.555 2174.026
2174.026 2172.504 2172.504 2170.86 2170.86 2169.393 2169.393 2168.005
2168.005 2166.746 2166.746 2165.936 2165.936 2165.243 2165.243 2165.179
2165.179 2165.443 2165.443 2166.158 2166.158 2166.765 2166.765 2167.581
2167.581 2168.461 2168.461 2169.273 2169.273 2169.896 2169.896 2170.361
2170.361 2170.712 2170.712 2170.979 2186.046 2184.431 2184.431 2183.192
2183.192 2181.795 2181.795 2180.167 2180.167 2178.665 2178.665 2177.152
2177.152 2175.633 2175.633 2174.144 2174.144 2172.618 2172.618 2170.968
2170.968 2169.447 2169.447 2167.985 2167.985 2166.613 2166.613 2165.386
2165.386 2164.679 2164.679 2164.85 2164.85 2165.38 2165.38 2165.975
2165.975 2166.516 2166.516 2167.678 2167.678 2168.911 2168.911 2169.758
2169.758 2170.307 2170.307 2170.68 2170.68 2170.959 2170.959 2171.185
2186.046 2184.431 2184.431 2183.192 2183.192 2181.795 2181.795 2180.167
2180.167 2178.665 2178.665 2177.152 2177.152 2175.633 2175.633 2174.144
2174.144 2172.618 2172.618 2170.968 2170.968 2169.447 2169.447 2167.985
2167.985 2166.613 2166.613 2165.386 2165.386 2164.679 2164.679 2164.85
2164.85 2165.38 2165.38 2165.975 2165.975 2166.516 2166.516 2167.678
2167.678 2168.911 2168.911 2169.758 2169.758 2170.307 2170.307 2170.68
2170.68 2170.959 2170.959 2171.185 2186.132 2184.515 2184.515 2183.212
2183.212 2181.739 2181.739 2180.278 2180.278 2178.799 2178.799 2177.311
2177.311 2175.823 2175.823 2174.334 2174.334 2172.776 2172.776 2171.193
2171.193 2169.646 2169.646 2168.167 2168.167 2166.564 2166.564 2165.453
2165.453 2164.535 2164.535 2165.078 2165.078 2165.833 2165.833 2166.659
2166.659 2167.603 2167.603 2168.837 2168.837 2170.003 2170.003 2170.687
2170.687 2171.038 2171.038 2171.255 2171.255 2171.43 2171.43 2171.595
2186.132 2184.515 2184.515 2183.212 2183.212 2181.739 2181.739 2180.278
2180.278 2178.799 2178.799 2177.311 2177.311 2175.823 2175.823 2174.334
2174.334 2172.776 2172.776 2171.193 2171.193 2169.646 2169.646 2168.167
2168.167 2166.564 2166.564 2165.453 2165.453 2164.535 2164.535 2165.078
2165.078 2165.833 2165.833 2166.659 2166.659 2167.603 2167.603 2168.837
2168.837 2170.003 2170.003 2170.687 2170.687 2171.038 2171.038 2171.255
2171.255 2171.43 2171.43 2171.595 2186.269 2184.637 2184.637 2183.242
2183.242 2181.904 2181.904 2180.183 2180.183 2178.655 2178.655 2177.137
2177.137 2175.646 2175.646 2174.196 2174.196 2172.716 2172.716 2171.197
2171.197 2169.76 2169.76 2168.423 2168.423 2167.219 2167.219 2166.233
2166.233 2165.761 2165.761 2165.995 2165.995 2166.675 2166.675 2167.64
2167.64 2168.835 2168.835 2170.332 2170.332 2171.456 2171.456 2171.659
2171.659 2171.658 2171.658 2171.881 2171.881 2172.124 2172.124 2172.409
2186.269 2184.637 2184.637 2183.242 2183.242 2181.904 2181.904 2180.183
2180.183 2178.655 2178.655 2177.137 2177.137 2175.646 2175.646 2174.196
2174.196 2172.716 2172.716 2171.197 2171.197 2169.76 2169.76 2168.423
2168.423 2167.219 2167.219 2166.233 2166.233 2165.761 2165.761 2165.995
2165.995 2166.675 2166.675 2167.64 2167.64 2168.835 2168.835 2170.332
2170.332 2171.456 2171.456 2171.659 2171.659 2171.658 2171.658 2171.881
2171.881 2172.124 2172.124 2172.409 2186.385 2184.879 2184.879 2183.451
2183.451 2181.979 2181.979 2180.443 2180.443 2178.958 2178.958 2177.454
2177.454 2175.968 2175.968 2174.504 2174.504 2173.009 2173.009 2171.56
2171.56 2170.209 2170.209 2168.98 2168.98 2167.932 2167.932 2167.241
2167.241 2166.854 2166.854 2167.025 2167.025 2167.575 2167.575 2168.513
2168.513 2169.79 2169.79 2171.386 2171.386 2172.65 2172.65 2172.275
2172.275 2172.093 2172.093 2172.198 2172.198 2172.535 2172.535 2173.14
2186.385 2184.879 2184.879 2183.451 2183.451 2181.979 2181.979 2180.443
2180.443 2178.958 2178.958 2177.454 2177.454 2175.968 2175.968 2174.504
2174.504 2173.009 2173.009 2171.56 2171.56 2170.209 2170.209 2168.98
2168.98 2167.932 2167.932 2167.241 2167.241 2166.854 2166.854 2167.025
2167.025 2167.575 2167.575 2168.513 2168.513 2169.79 2169.79 2171.386
2171.386 2172.65 2172.65 2172.275 2172.275 2172.093 2172.093 2172.198
2172.198 2172.535 2172.535 2173.14 2186.745 2185.142 2185.142 2183.588
2183.588 2182.319 2182.319 2180.799 2180.799 2179.279 2179.279 2177.777
2177.777 2176.3 2176.3 2174.851 2174.851 2173.373 2173.373 2171.999
2171.999 2170.719 2170.719 2169.587 2169.587 2168.672 2168.672 2168.115
2168.115 2167.78 2167.78 2167.909 2167.909 2168.331 2168.331 2169.129
2169.129 2170.19 2170.19 2171.342 2171.342 2172.096 2172.096 2172.13
2172.13 2172.077 2172.077 2172.323 2172.323 2173.081 2173.081 2173.714
2190.914 2189.798 2189.798 2188.704 2188.704 2187.81 2187.81 2186.962
2186.962 2186.11 2186.11 2185.288 2185.288 2184.499 2184.499 2183.764
2183.764 2183.11 2183.11 2182.571 2182.571 2182.193 2182.193 2182.032
2182.032 2182.12 2182.12 2182.385 2182.385 2182.694 2182.694 2183.135
2183.135 2183.609 2183.609 2184.027 2184.027 2184.287 2184.287 2184.318
2184.318 2184.136 2184.136 2183.918 2183.918 2183.535 2183.535 2183.127
2183.127 2182.716 2182.716 2182.304 2190.369 2189.185 2189.185 2188.252
2188.252 2187.151 2187.151 2186.145 2186.145 2185.217 2185.217 2184.279
2184.279 2183.372 2183.372 2182.485 2182.485 2181.709 2181.709 2181.042
2181.042 2180.533 2180.533 2180.262 2180.262 2180.313 2180.313 2180.705
2180.705 2181.272 2181.272 2181.948 2181.948 2182.618 2182.618 2183.268
2183.268 2183.706 2183.706 2183.775 2183.775 2183.626 2183.626 2183.248
2183.248 2182.836 2182.836 2182.43 2182.43 2182.044 2182.044 2181.678
2190.369 2189.185 2189.185 2188.252 2188.252 2187.151 2187.151 2186.145
2186.145 2185.217 2185.217 2184.279 2184.279 2183.372 2183.372 2182.485
2182.485 2181.709 2181.709 2181.042 2181.042 2180.533 2180.533 2180.262
2180.262 2180.313 2180.313 2180.705 2180.705 2181.272 2181.272 2181.948
2181.948 2182.618 2182.618 2183.268 2183.268 2183.706 2183.706 2183.775
2183.775 2183.626 2183.626 2183.248 2183.248 2182.836 2182.836 2182.43
2182.43 2182.044 2182.044 2181.678 2189.858 2188.605 2188.605 2187.67
2187.67 2186.497 2186.497 2185.387 2185.387 2184.332 2184.332 2183.299
2183.299 2182.27 2182.27 2181.288 2181.288 2180.373 2180.373 2179.52
2179.52 2178.835 2178.835 2178.373 2178.373 2178.406 2178.406 2178.959
2178.959 2179.752 2179.752 2180.637 2180.637 2181.566 2181.566 2182.481
2182.481 2183.204 2183.204 2183.302 2183.302 2182.902 2182.902 2182.444
2182.444 2182.009 2182.009 2181.616 2181.616 2181.267 2181.267 2180.958
2189.858 2188.605 2188.605 2187.67 2187.67 2186.497 2186.497 2185.387
2185.387 2184.332 2184.332 2183.299 2183.299 2182.27 2182.27 2181.288
2181.288 2180.373 2180.373 2179.52 2179.52 2178.835 2178.835 2178.373
2178.373 2178.406 2178.406 2178.959 2178.959 2179.752 2179.752 2180.637
2180.637 2181.566 2181.566 2182.481 2182.481 2183.204 2183.204 2183.302
2183.302 2182.902 2182.902 2182.444 2182.444 2182.009 2182.009 2181.616
2181.616 2181.267 2181.267 2180.958 2189.383 2188.379 2188.379 2187.098
2187.098 2185.855 2185.855 2184.653 2184.653 2183.494 2183.494 2182.37
2182.37 2181.223 2181.223 2180.122 2180.122 2179.086 2179.086 2178.133
2178.133 2177.274 2177.274 2176.514 2176.514 2176.406 2176.406 2177.3
2177.3 2178.267 2178.267 2179.269 2179.269 2180.308 2180.308 2181.457
2181.457 2182.543 2182.543 2182.452 2182.452 2181.952 2181.952 2181.505
2181.505 2181.111 2181.111 2180.763 2180.763 2180.456 2180.456 2180.178
2189.383 2188.379 2188.379 2187.098 2187.098 2185.855 2185.855 2184.653
2184.653 2183.494 2183.494 2182.37 2182.37 2181.223 2181.223 2180.122
2180.122 2179.086 2179.086 2178.133 2178.133 2177.274 2177.274 2176.514
2176.514 2176.406 2176.406 2177.3 2177.3 2178.267 2178.267 2179.269
2179.269 2180.308 2180.308 2181.457 2181.457 2182.543 2182.543 2182.452
2182.452 2181.952 2181.952 2181.505 2181.505 2181.111 2181.111 2180.763
2180.763 2180.456 2180.456 2180.178 2188.952 2187.879 2187.879 2186.548
2186.548 2185.237 2185.237 2183.953 2183.953 2182.698 2182.698 2181.474
2181.474 2180.246 2180.246 2179.038 2179.038 2177.905 2177.905 2176.879
2176.879 2175.989 2175.989 2175.295 2175.295 2175.278 2175.278 2176.134
2176.134 2177.087 2177.087 2178.059 2178.059 2179.024 2179.024 2179.946
2179.946 2180.652 2180.652 2180.92 2180.92 2180.587 2180.587 2180.25
2180.25 2179.934 2179.934 2179.651 2179.651 2179.397 2179.397 2179.16
2188.952 2187.879 2187.879 2186.548 2186.548 2185.237 2185.237 2183.953
2183.953 2182.698 2182.698 2181.474 2181.474 2180.246 2180.246 2179.038
2179.038 2177.905 2177.905 2176.879 2176.879 2175.989 2175.989 2175.295
2175.295 2175.278 2175.278 2176.134 2176.134 2177.087 2177.087 2178.059
2178.059 2179.024 2179.024 2179.946 2179.946 2180.652 2180.652 2180.92
2180.92 2180.587 2180.587 2180.25 2180.25 2179.934 2179.934 2179.651
2179.651 2179.397 2179.397 2179.16 2188.792 2187.409 2187.409 2186.03
2186.03 2184.658 2184.658 2183.299 2183.299 2181.956 2181.956 2180.636
2180.636 2179.348 2179.348 2178.042 2178.042 2176.832 2176.832 2175.777
2175.777 2174.945 2174.945 2174.565 2174.565 2174.523 2174.523 2174.974
2174.974 2175.932 2175.932 2176.745 2176.745 2177.541 2177.541 2178.246
2178.246 2178.74 2178.74 2179.165 2179.165 2179.08 2179.08 2178.896
2178.896 2178.607 2178.607 2178.421 2178.421 2178.243 2178.243 2178.063
2188.792 2187.409 2187.409 2186.03 2186.03 2184.658 2184.658 2183.299
2183.299 2181.956 2181.956 2180.636 2180.636 2179.348 2179.348 2178.042
2178.042 2176.832 2176.832 2175.777 2175.777 2174.945 2174.945 2174.565
2174.565 2174.523 2174.523 2174.974 2174.974 2175.932 2175.932 2176.745
2176.745 2177.541 2177.541 2178.246 2178.246 2178.74 2178.74 2179.165
2179.165 2179.08 2179.08 2178.896 2178.896 2178.607 2178.607 2178.421
2178.421 2178.243 2178.243 2178.063 2188.393 2186.98 2186.98 2185.558
2185.558 2184.131 2184.131 2182.705 2182.705 2181.285 2181.285 2179.878
2179.878 2178.497 2178.497 2177.157 2177.157 2175.846 2175.846 2174.755
2174.755 2173.975 2173.975 2173.717 2173.717 2173.702 2173.702 2174.018
2174.018 2174.545 2174.545 2175.496 2175.496 2176.086 2176.086 2176.587
2176.587 2176.938 2176.938 2177.419 2177.419 2177.427 2177.427 2177.372
2177.372 2177.295 2177.295 2177.124 2177.124 2177.043 2177.043 2176.939
2188.393 2186.98 2186.98 2185.558 2185.558 2184.131 2184.131 2182.705
2182.705 2181.285 2181.285 2179.878 2179.878 2178.497 2178.497 2177.157
2177.157 2175.846 2175.846 2174.755 2174.755 2173.975 2173.975 2173.717
2173.717 2173.702 2173.702 2174.018 2174.018 2174.545 2174.545 2175.496
2175.496 2176.086 2176.086 2176.587 2176.587 2176.938 2176.938 2177.419
2177.419 2177.427 2177.427 2177.372 2177.372 2177.295 2177.295 2177.124
2177.124 2177.043 2177.043 2176.939 2188.057 2186.605 2186.605 2185.142
2185.142 2183.667 2183.667 2182.183 2182.183 2180.697 2180.697 2179.217
2179.217 2177.753 2177.753 2176.322 2176.322 2174.958 2174.958 2173.756
2173.756 2173.126 2173.126 2172.847 2172.847 2172.868 2172.868 2173.1
2173.1 2173.473 2173.473 2173.911 2173.911 2174.728 2174.728 2175.038
2175.038 2175.252 2175.252 2175.714 2175.714 2175.766 2175.766 2175.816
2175.816 2175.872 2175.872 2175.917 2175.917 2175.927 2175.927 2175.836
2188.057 2186.605 2186.605 2185.142 2185.142 2183.667 2183.667 2182.183
2182.183 2180.697 2180.697 2179.217 2179.217 2177.753 2177.753 2176.322
2176.322 2174.958 2174.958 2173.756 2173.756 2173.126 2173.126 2172.847
2172.847 2172.868 2172.868 2173.1 2173.1 2173.473 2173.473 2173.911
2173.911 2174.728 2174.728 2175.038 2175.038 2175.252 2175.252 2175.714
2175.714 2175.766 2175.766 2175.816 2175.816 2175.872 2175.872 2175.917
2175.917 2175.927 2175.927 2175.836 2187.769 2186.291 2186.291 2184.791
2184.791 2183.271 2183.271 2181.736 2181.736 2180.196 2180.196 2178.66
2178.66 2177.142 2177.142 2175.65 2175.65 2174.183 2174.183 2172.799
2172.799 2172.187 2172.187 2172.081 2172.081 2172.114 2172.114 2172.265
2172.265 2172.5 2172.5 2172.77 2172.77 2173.027 2173.027 2173.62
2173.62 2173.683 2173.683 2173.732 2173.732 2174.118 2174.118 2174.271
2174.271 2174.478 2174.478 2174.678 2174.678 2174.82 2174.82 2174.871
2187.769 2186.291 2186.291 2184.791 2184.791 2183.271 2183.271 2181.736
2181.736 2180.196 2180.196 2178.66 2178.66 2177.142 2177.142 2175.65
2175.65 2174.183 2174.183 2172.799 2172.799 2172.187 2172.187 2172.081
2172.081 2172.114 2172.114 2172.265 2172.265 2172.5 2172.5 2172.77
2172.77 2173.027 2173.027 2173.62 2173.62 2173.683 2173.683 2173.732
2173.732 2174.118 2174.118 2174.271 2174.271 2174.478 2174.478 2174.678
2174.678 2174.82 2174.82 2174.871 2187.541 2186.031 2186.031 2184.5
2184.5 2182.947 2182.947 2181.378 2181.378 2179.802 2179.802 2178.232
2178.232 2176.684 2176.684 2175.172 2175.172 2173.721 2173.721 2172.506
2172.506 2171.637 2171.637 2171.487 2171.487 2171.518 2171.518 2171.554
2171.554 2171.654 2171.654 2171.773 2171.773 2171.871 2171.871 2171.917
2171.917 2172.237 2172.237 2172.158 2172.158 2172.487 2172.487 2172.768
2172.768 2173.167 2173.167 2173.556 2173.556 2173.857 2173.857 2174.037
2187.541 2186.031 2186.031 2184.5 2184.5 2182.947 2182.947 2181.378
2181.378 2179.802 2179.802 2178.232 2178.232 2176.684 2176.684 2175.172
2175.172 2173.721 2173.721 2172.506 2172.506 2171.637 2171.637 2171.487
2171.487 2171.518 2171.518 2171.554 2171.554 2171.654 2171.654 2171.773
2171.773 2171.871 2171.871 2171.917 2171.917 2172.237 2172.237 2172.158
2172.158 2172.487 2172.487 2172.768 2172.768 2173.167 2173.167 2173.556
2173.556 2173.857 2173.857 2174.037 2187.229 2185.827 2185.827 2184.274
2184.274 2182.695 2182.695 2181.097 2181.097 2179.492 2179.492 2177.902
2177.902 2176.346 2176.346 2175.177 2175.177 2173.712 2173.712 2172.438
2172.438 2171.53 2171.53 2170.872 2170.872 2170.887 2170.887 2170.754
2170.754 2170.701 2170.701 2170.943 2170.943 2170.909 2170.909 2170.806
2170.806 2170.629 2170.629 2170.658 2170.658 2170.862 2170.862 2171.354
2171.354 2172.013 2172.013 2172.506 2172.506 2172.961 2172.961 2173.28
2187.229 2185.827 2185.827 2184.274 2184.274 2182.695 2182.695 2181.097
2181.097 2179.492 2179.492 2177.902 2177.902 2176.346 2176.346 2175.177
2175.177 2173.712 2173.712 2172.438 2172.438 2171.53 2171.53 2170.872
2170.872 2170.887 2170.887 2170.754 2170.754 2170.701 2170.701 2170.943
2170.943 2170.909 2170.909 2170.806 2170.806 2170.629 2170.629 2170.658
2170.658 2170.862 2170.862 2171.354 2171.354 2172.013 2172.013 2172.506
2172.506 2172.961 2172.961 2173.28 2187.077 2185.675 2185.675 2184.111
2184.111 2182.512 2182.512 2180.887 2180.887 2179.259 2179.259 2177.653
2177.653 2176.495 2176.495 2174.985 2174.985 2173.582 2173.582 2172.356
2172.356 2171.433 2171.433 2170.674 2170.674 2170.12 2170.12 2170.238
2170.238 2170.083 2170.083 2169.975 2169.975 2169.864 2169.864 2169.699
2169.699 2169.438 2169.438 2169.192 2169.192 2169.255 2169.255 2170.115
2170.115 2171.009 2171.009 2171.765 2171.765 2172.354 2172.354 2172.774
2187.077 2185.675 2185.675 2184.111 2184.111 2182.512 2182.512 2180.887
2180.887 2179.259 2179.259 2177.653 2177.653 2176.495 2176.495 2174.985
2174.985 2173.582 2173.582 2172.356 2172.356 2171.433 2171.433 2170.674
2170.674 2170.12 2170.12 2170.238 2170.238 2170.083 2170.083 2169.975
2169.975 2169.864 2169.864 2169.699 2169.699 2169.438 2169.438 2169.192
2169.192 2169.255 2169.255 2170.115 2170.115 2171.009 2171.009 2171.765
2171.765 2172.354 2172.354 2172.774 2186.962 2185.458 2185.458 2184.005
2184.005 2182.392 2182.392 2180.738 2180.738 2179.084 2179.084 2177.875
2177.875 2176.327 2176.327 2174.844 2174.844 2173.468 2173.468 2172.249
2172.249 2171.306 2171.306 2170.487 2170.487 2169.875 2169.875 2169.434
2169.434 2169.13 2169.13 2169.439 2169.439 2169.313 2169.313 2169.156
2169.156 2168.911 2168.911 2168.385 2168.385 2168.612 2168.612 2169.544
2169.544 2170.501 2170.501 2171.336 2171.336 2171.998 2171.998 2172.461
2186.962 2185.458 2185.458 2184.005 2184.005 2182.392 2182.392 2180.738
2180.738 2179.084 2179.084 2177.875 2177.875 2176.327 2176.327 2174.844
2174.844 2173.468 2173.468 2172.249 2172.249 2171.306 2171.306 2170.487
2170.487 2169.875 2169.875 2169.434 2169.434 2169.13 2169.13 2169.439
2169.439 2169.313 2169.313 2169.156 2169.156 2168.911 2168.911 2168.385
2168.385 2168.612 2168.612 2169.544 2169.544 2170.501 2170.501 2171.336
2171.336 2171.998 2171.998 2172.461 2186.865 2185.394 2185.394 2183.95
2183.95 2182.325 2182.325 2180.897 2180.897 2179.313 2179.313 2177.741
2177.741 2176.204 2176.204 2174.73 2174.73 2173.354 2173.354 2172.117
2172.117 2171.138 2171.138 2170.278 2170.278 2169.634 2169.634 2169.178
2169.178 2168.882 2168.882 2168.72 2168.72 2168.965 2168.965 2168.387
2168.387 2168.429 2168.429 2168.486 2168.486 2168.913 2168.913 2169.542
2169.542 2170.38 2170.38 2171.2 2171.2 2171.885 2171.885 2172.302
2186.865 2185.394 2185.394 2183.95 2183.95 2182.325 2182.325 2180.897
2180.897 2179.313 2179.313 2177.741 2177.741 2176.204 2176.204 2174.73
2174.73 2173.354 2173.354 2172.117 2172.117 2171.138 2171.138 2170.278
2170.278 2169.634 2169.634 2169.178 2169.178 2168.882 2168.882 2168.72
2168.72 2168.965 2168.965 2168.387 2168.387 2168.429 2168.429 2168.486
2168.486 2168.913 2168.913 2169.542 2169.542 2170.38 2170.38 2171.2
2171.2 2171.885 2171.885 2172.302 2186.708 2185.266 2185.266 2183.853
2183.853 2182.368 2182.368 2180.793 2180.793 2179.217 2179.217 2177.653
2177.653 2176.119 2176.119 2174.64 2174.64 2173.243 2173.243 2171.967
2171.967 2170.853 2170.853 2170.031 2170.031 2169.374 2169.374 2168.919
2168.919 2168.642 2168.642 2167.875 2167.875 2167.926 2167.926 2168.271
2168.271 2168.538 2168.538 2168.827 2168.827 2169.174 2169.174 2169.689
2169.689 2170.422 2170.422 2171.244 2171.244 2171.976 2171.976 2172.321
2186.708 2185.266 2185.266 2183.853 2183.853 2182.368 2182.368 2180.793
2180.793 2179.217 2179.217 2177.653 2177.653 2176.119 2176.119 2174.64
2174.64 2173.243 2173.243 2171.967 2171.967 2170.853 2170.853 2170.031
2170.031 2169.374 2169.374 2168.919 2168.919 2168.642 2168.642 2167.875
2167.875 2167.926 2167.926 2168.271 2168.271 2168.538 2168.538 2168.827
2168.827 2169.174 2169.174 2169.689 2169.689 2170.422 2170.422 2171.244
2171.244 2171.976 2171.976 2172.321 2186.545 2185.068 2185.068 2183.566
2183.566 2182.138 2182.138 2180.5 2180.5 2178.873 2178.873 2177.288
2177.288 2176.075 2176.075 2174.582 2174.582 2173.152 2173.152 2171.815
2171.815 2170.622 2170.622 2169.745 2169.745 2169.096 2169.096 2168.116
2168.116 2167.749 2167.749 2167.615 2167.615 2167.721 2167.721 2168.069
2168.069 2168.663 2168.663 2168.913 2168.913 2169.298 2169.298 2169.925
2169.925 2170.584 2170.584 2171.34 2171.34 2172.139 2172.139 2172.282
2186.545 2185.068 2185.068 2183.566 2183.566 2182.138 2182.138 2180.5
2180.5 2178.873 2178.873 2177.288 2177.288 2176.075 2176.075 2174.582
2174.582 2173.152 2173.152 2171.815 2171.815 2170.622 2170.622 2169.745
2169.745 2169.096 2169.096 2168.116 2168.116 2167.749 2167.749 2167.615
2167.615 2167.721 2167.721 2168.069 2168.069 2168.663 2168.663 2168.913
2168.913 2169.298 2169.298 2169.925 2169.925 2170.584 2170.584 2171.34
2171.34 2172.139 2172.139 2172.282 2186.362 2184.865 2184.865 2183.291
2183.291 2182.002 2182.002 2180.382 2180.382 2178.765 2178.765 2177.185
2177.185 2175.656 2175.656 2174.192 2174.192 2172.808 2172.808 2171.522
2171.522 2170.352 2170.352 2169.5 2169.5 2168.871 2168.871 2168.39
2168.39 2168.073 2168.073 2167.931 2167.931 2167.971 2167.971 2168.187
2168.187 2168.573 2168.573 2168.81 2168.81 2169.371 2169.371 2169.884
2169.884 2170.507 2170.507 2171.177 2171.177 2171.591 2171.591 2171.979
2186.362 2184.865 2184.865 2183.291 2183.291 2182.002 2182.002 2180.382
2180.382 2178.765 2178.765 2177.185 2177.185 2175.656 2175.656 2174.192
2174.192 2172.808 2172.808 2171.522 2171.522 2170.352 2170.352 2169.5
2169.5 2168.871 2168.871 2168.39 2168.39 2168.073 2168.073 2167.931
2167.931 2167.971 2167.971 2168.187 2168.187 2168.573 2168.573 2168.81
2168.81 2169.371 2169.371 2169.884 2169.884 2170.507 2170.507 2171.177
2171.177 2171.591 2171.591 2171.979 2186.264 2184.678 2184.678 2183.473
2183.473 2181.891 2181.891 2180.25 2180.25 2178.68 2178.68 2177.107
2177.107 2175.575 2175.575 2174.095 2174.095 2172.679 2172.679 2171.342
2171.342 2170.087 2170.087 2169.165 2169.165 2168.633 2168.633 2168.083
2168.083 2167.729 2167.729 2167.578 2167.578 2167.628 2167.628 2167.865
2167.865 2168.285 2168.285 2168.521 2168.521 2169.187 2169.187 2169.744
2169.744 2170.35 2170.35 2170.623 2170.623 2171.142 2171.142 2171.478
2186.264 2184.678 2184.678 2183.473 2183.473 2181.891 2181.891 2180.25
2180.25 2178.68 2178.68 2177.107 2177.107 2175.575 2175.575 2174.095
2174.095 2172.679 2172.679 2171.342 2171.342 2170.087 2170.087 2169.165
2169.165 2168.633 2168.633 2168.083 2168.083 2167.729 2167.729 2167.578
2167.578 2167.628 2167.628 2167.865 2167.865 2168.285 2168.285 2168.521
2168.521 2169.187 2169.187 2169.744 2169.744 2170.35 2170.35 2170.623
2170.623 2171.142 2171.142 2171.478 2186.148 2184.536 2184.536 2183.371
2183.371 2181.807 2181.807 2180.185 2180.185 2178.629 2178.629 2177.067
2177.067 2175.536 2175.536 2174.042 2174.042 2172.629 2172.629 2171.24
2171.24 2169.841 2169.841 2168.704 2168.704 2167.989 2167.989 2167.752
2167.752 2167.335 2167.335 2167.158 2167.158 2167.212 2167.212 2167.548
2167.548 2167.947 2167.947 2168.382 2168.382 2168.953 2168.953 2169.571
2169.571 2169.82 2169.82 2170.363 2170.363 2170.822 2170.822 2171.154
2186.148 2184.536 2184.536 2183.371 2183.371 2181.807 2181.807 2180.185
2180.185 2178.629 2178.629 2177.067 2177.067 2175.536 2175.536 2174.042
2174.042 2172.629 2172.629 2171.24 2171.24 2169.841 2169.841 2168.704
2168.704 2167.989 2167.989 2167.752 2167.752 2167.335 2167.335 2167.158
2167.158 2167.212 2167.212 2167.548 2167.548 2167.947 2167.947 2168.382
2168.382 2168.953 2168.953 2169.571 2169.571 2169.82 2169.82 2170.363
2170.363 2170.822 2170.822 2171.154 2186.067 2184.44 2184.44 2183.294
2183.294 2181.754 2181.754 2180.156 2180.156 2178.579 2178.579 2177.077
2177.077 2175.555 2175.555 2174.02 2174.02 2172.532 2172.532 2171.107
2171.107 2169.625 2169.625 2168.414 2168.414 2167.667 2167.667 2166.831
2166.831 2166.29 2166.29 2166.668 2166.668 2166.732 2166.732 2167.099
2167.099 2167.571 2167.571 2168.052 2168.052 2168.736 2168.736 2169.121
2169.121 2169.695 2169.695 2170.213 2170.213 2170.638 2170.638 2170.961
2186.067 2184.44 2184.44 2183.294 2183.294 2181.754 2181.754 2180.156
2180.156 2178.579 2178.579 2177.077 2177.077 2175.555 2175.555 2174.02
2174.02 2172.532 2172.532 2171.107 2171.107 2169.625 2169.625 2168.414
2168.414 2167.667 2167.667 2166.831 2166.831 2166.29 2166.29 2166.668
2166.668 2166.732 2166.732 2167.099 2167.099 2167.571 2167.571 2168.052
2168.052 2168.736 2168.736 2169.121 2169.121 2169.695 2169.695 2170.213
2170.213 2170.638 2170.638 2170.961 2186.023 2184.392 2184.392 2183.24
2183.24 2181.733 2181.733 2180.171 2180.171 2178.63 2178.63 2177.106
2177.106 2175.522 2175.522 2173.99 2173.99 2172.483 2172.483 2170.864
2170.864 2169.465 2169.465 2168.168 2168.168 2167.026 2167.026 2166.386
2166.386 2165.781 2165.781 2165.569 2165.569 2166.288 2166.288 2166.616
2166.616 2167.17 2167.17 2167.763 2167.763 2168.604 2168.604 2169.094
2169.094 2169.702 2169.702 2170.205 2170.205 2170.6 2170.6 2170.902
2186.023 2184.392 2184.392 2183.24 2183.24 2181.733 2181.733 2180.171
2180.171 2178.63 2178.63 2177.106 2177.106 2175.522 2175.522 2173.99
2173.99 2172.483 2172.483 2170.864 2170.864 2169.465 2169.465 2168.168
2168.168 2167.026 2167.026 2166.386 2166.386 2165.781 2165.781 2165.569
2165.569 2166.288 2166.288 2166.616 2166.616 2167.17 2167.17 2167.763
2167.763 2168.604 2168.604 2169.094 2169.094 2169.702 2169.702 2170.205
2170.205 2170.6 2170.6 2170.902 2186.018 2184.389 2184.389 2183.205
2183.205 2181.746 2181.746 2180.233 2180.233 2178.743 2178.743 2177.055
2177.055 2175.555 2175.555 2174.026 2174.026 2172.504 2172.504 2170.86
2170.86 2169.393 2169.393 2168.005 2168.005 2166.746 2166.746 2165.936
2165.936 2165.243 2165.243 2165.179 2165.179 2165.443 2165.443 2166.158
2166.158 2166.765 2166.765 2167.581 2167.581 2168.461 2168.461 2169.273
2169.273 2169.896 2169.896 2170.361 2170.361 2170.712 2170.712 2170.979
2186.018 2184.389 2184.389 2183.205 2183.205 2181.746 2181.746 2180.233
2180.233 2178.743 2178.743 2177.055 2177.055 2175.555 2175.555 2174.026
2174.026 2172.504 2172.504 2170.86 2170.86 2169.393 2169.393 2168.005
2168.005 2166.746 2166.746 2165.936 2165.936 2165.243 2165.243 2165.179
2165.179 2165.443 2165.443 2166.158 2166.158 2166.765 2166.765 2167.581
2167.581 2168.461 2168.461 2169.273 2169.273 2169.896 2169.896 2170.361
2170.361 2170.712 2170.712 2170.979 2186.046 2184.431 2184.431 2183.192
2183.192 2181.795 2181.795 2180.167 2180.167 2178.665 2178.665 2177.152
2177.152 2175.633 2175.633 2174.144 2174.144 2172.618 2172.618 2170.968
2170.968 2169.447 2169.447 2167.985 2167.985 2166.613 2166.613 2165.386
2165.386 2164.679 2164.679 2164.85 2164.85 2165.38 2165.38 2165.975
2165.975 2166.516 2166.516 2167.678 2167.678 2168.911 2168.911 2169.758
2169.758 2170.307 2170.307 2170.68 2170.68 2170.959 2170.959 2171.185
2186.046 2184.431 2184.431 2183.192 2183.192 2181.795 2181.795 2180.167
2180.167 2178.665 2178.665 2177.152 2177.152 2175.633 2175.633 2174.144
2174.144 2172.618 2172.618 2170.968 2170.968 2169.447 2169.447 2167.985
2167.985 2166.613 2166.613 2165.386 2165.386 2164.679 2164.679 2164.85
2164.85 2165.38 2165.38 2165.975 2165.975 2166.516 2166.516 2167.678
2167.678 2168.911 2168.911 2169.758 2169.758 2170.307 2170.307 2170.68
2170.68 2170.959 2170.959 2171.185 2186.132 2184.515 2184.515 2183.212
2183.212 2181.739 2181.739 2180.278 2180.278 2178.799 2178.799 2177.311
2177.311 2175.823 2175.823 2174.334 2174.334 2172.776 2172.776 2171.193
2171.193 2169.646 2169.646 2168.167 2168.167 2166.564 2166.564 2165.453
2165.453 2164.535 2164.535 2165.078 2165.078 2165.833 2165.833 2166.659
2166.659 2167.603 2167.603 2168.837 2168.837 2170.003 2170.003 2170.687
2170.687 2171.038 2171.038 2171.255 2171.255 2171.43 2171.43 2171.595
2186.132 2184.515 2184.515 2183.212 2183.212 2181.739 2181.739 2180.278
2180.278 2178.799 2178.799 2177.311 2177.311 2175.823 2175.823 2174.334
2174.334 2172.776 2172.776 2171.193 2171.193 2169.646 2169.646 2168.167
2168.167 2166.564 2166.564 2165.453 2165.453 2164.535 2164.535 2165.078
2165.078 2165.833 2165.833 2166.659 2166.659 2167.603 2167.603 2168.837
2168.837 2170.003 2170.003 2170.687 2170.687 2171.038 2171.038 2171.255
2171.255 2171.43 2171.43 2171.595 2186.269 2184.637 2184.637 2183.242
2183.242 2181.904 2181.904 2180.183 2180.183 2178.655 2178.655 2177.137
2177.137 2175.646 2175.646 2174.196 2174.196 2172.716 2172.716 2171.197
2171.197 2169.76 2169.76 2168.423 2168.423 2167.219 2167.219 2166.233
2166.233 2165.761 2165.761 2165.995 2165.995 2166.675 2166.675 2167.64
2167.64 2168.835 2168.835 2170.332 2170.332 2171.456 2171.456 2171.659
2171.659 2171.658 2171.658 2171.881 2171.881 2172.124 2172.124 2172.409
2186.269 2184.637 2184.637 2183.242 2183.242 2181.904 2181.904 2180.183
2180.183 2178.655 2178.655 2177.137 2177.137 2175.646 2175.646 2174.196
2174.196 2172.716 2172.716 2171.197 2171.197 2169.76 2169.76 2168.423
2168.423 2167.219 2167.219 2166.233 2166.233 2165.761 2165.761 2165.995
2165.995 2166.675 2166.675 2167.64 2167.64 2168.835 2168.835 2170.332
2170.332 2171.456 2171.456 2171.659 2171.659 2171.658 2171.658 2171.881
2171.881 2172.124 2172.124 2172.409 2186.385 2184.879 2184.879 2183.451
2183.451 2181.979 2181.979 2180.443 2180.443 2178.958 2178.958 2177.454
2177.454 2175.968 2175.968 2174.504 2174.504 2173.009 2173.009 2171.56
2171.56 2170.209 2170.209 2168.98 2168.98 2167.932 2167.932 2167.241
2167.241 2166.854 2166.854 2167.025 2167.025 2167.575 2167.575 2168.513
2168.513 2169.79 2169.79 2171.386 2171.386 2172.65 2172.65 2172.275
2172.275 2172.093 2172.093 2172.198 2172.198 2172.535 2172.535 2173.14
2186.385 2184.879 2184.879 2183.451 2183.451 2181.979 2181.979 2180.443
2180.443 2178.958 2178.958 2177.454 2177.454 2175.968 2175.968 2174.504
2174.504 2173.009 2173.009 2171.56 2171.56 2170.209 2170.209 2168.98
2168.98 2167.932 2167.932 2167.241 2167.241 2166.854 2166.854 2167.025
2167.025 2167.575 2167.575 2168.513 2168.513 2169.79 2169.79 2171.386
2171.386 2172.65 2172.65 2172.275 2172.275 2172.093 2172.093 2172.198
2172.198 2172.535 2172.535 2173.14 2186.745 2185.142 2185.142 2183.588
2183.588 2182.319 2182.319 2180.799 2180.799 2179.279 2179.279 2177.777
2177.777 2176.3 2176.3 2174.851 2174.851 2173.373 2173.373 2171.999
2171.999 2170.719 2170.719 2169.587 2169.587 2168.672 2168.672 2168.115
2168.115 2167.78 2167.78 2167.909 2167.909 2168.331 2168.331 2169.129
2169.129 2170.19 2170.19 2171.342 2171.342 2172.096 2172.096 2172.13
2172.13 2172.077 2172.077 2172.323 2172.323 2173.081 2173.081 2173.714
2195.254 2194.128 2194.128 2193.025 2193.025 2192.13 2192.13 2191.263
2191.263 2190.42 2190.42 2189.597 2189.597 2188.805 2188.805 2188.066
2188.066 2187.406 2187.406 2186.857 2186.857 2186.466 2186.466 2186.284
2186.284 2186.351 2186.351 2186.636 2186.636 2187.02 2187.02 2187.542
2187.542 2188.091 2188.091 2188.571 2188.571 2188.869 2188.869 2188.911
2188.911 2188.715 2188.715 2188.465 2188.465 2188.05 2188.05 2187.615
2187.615 2187.182 2187.182 2186.76 2194.693 2193.502 2193.502 2192.569
2192.569 2191.468 2191.468 2190.466 2190.466 2189.511 2189.511 2188.575
2188.575 2187.67 2187.67 2186.81 2186.81 2186.038 2186.038 2185.374
2185.374 2184.866 2184.866 2184.597 2184.597 2184.657 2184.657 2185.075
2185.075 2185.703 2185.703 2186.458 2186.458 2187.206 2187.206 2187.932
2187.932 2188.422 2188.422 2188.501 2188.501 2188.325 2188.325 2187.91
2187.91 2187.461 2187.461 2187.026 2187.026 2186.621 2186.621 2186.245
2194.693 2193.502 2193.502 2192.569 2192.569 2191.468 2191.468 2190.466
2190.466 2189.511 2189.511 2188.575 2188.575 2187.67 2187.67 2186.81
2186.81 2186.038 2186.038 2185.374 2185.374 2184.866 2184.866 2184.597
2184.597 2184.657 2184.657 2185.075 2185.075 2185.703 2185.703 2186.458
2186.458 2187.206 2187.206 2187.932 2187.932 2188.422 2188.422 2188.501
2188.501 2188.325 2188.325 2187.91 2187.91 2187.461 2187.461 2187.026
2187.026 2186.621 2186.621 2186.245 2194.163 2192.907 2192.907 2191.978
2191.978 2190.808 2190.808 2189.706 2189.706 2188.663 2188.663 2187.599
2187.599 2186.58 2186.58 2185.611 2185.611 2184.712 2184.712 2183.898
2183.898 2183.233 2183.233 2182.796 2182.796 2182.852 2182.852 2183.434
2183.434 2184.278 2184.278 2185.234 2185.234 2186.25 2186.25 2187.257
2187.257 2188.06 2188.06 2188.156 2188.156 2187.707 2187.707 2187.199
2187.199 2186.724 2186.724 2186.303 2186.303 2185.937 2185.937 2185.622
2194.163 2192.907 2192.907 2191.978 2191.978 2190.808 2190.808 2189.706
2189.706 2188.663 2188.663 2187.599 2187.599 2186.58 2186.58 2185.611
2185.611 2184.712 2184.712 2183.898 2183.898 2183.233 2183.233 2182.796
2182.796 2182.852 2182.852 2183.434 2183.434 2184.278 2184.278 2185.234
2185.234 2186.25 2186.25 2187.257 2187.257 2188.06 2188.06 2188.156
2188.156 2187.707 2187.707 2187.199 2187.199 2186.724 2186.724 2186.303
2186.303 2185.937 2185.937 2185.622 2193.667 2192.67 2192.67 2191.392
2191.392 2190.156 2190.156 2188.966 2188.966 2187.823 2187.823 2186.673
2186.673 2185.543 2185.543 2184.464 2184.464 2183.454 2183.454 2182.532
2182.532 2181.714 2181.714 2181.011 2181.011 2180.94 2180.94 2181.852
2181.852 2182.86 2182.86 2183.925 2183.925 2185.048 2185.048 2186.303
2186.303 2187.506 2187.506 2187.392 2187.392 2186.828 2186.828 2186.333
2186.333 2185.906 2185.906 2185.538 2185.538 2185.22 2185.22 2184.938
2193.667 2192.67 2192.67 2191.392 2191.392 2190.156 2190.156 2188.966
2188.966 2187.823 2187.823 2186.673 2186.673 2185.543 2185.543 2184.464
2184.464 2183.454 2183.454 2182.532 2182.532 2181.714 2181.714 2181.011
2181.011 2180.94 2180.94 2181.852 2181.852 2182.86 2182.86 2183.925
2183.925 2185.048 2185.048 2186.303 2186.303 2187.506 2187.506 2187.392
2187.392 2186.828 2186.828 2186.333 2186.333 2185.906 2185.906 2185.538
2185.538 2185.22 2185.22 2184.938 2193.213 2192.148 2192.148 2190.822
2190.822 2189.523 2189.523 2188.254 2188.254 2187.02 2187.02 2185.821
2185.821 2184.572 2184.572 2183.393 2183.393 2182.294 2182.294 2181.307
2181.307 2180.462 2180.462 2179.821 2179.821 2179.843 2179.843 2180.728
2180.728 2181.719 2181.719 2182.745 2182.745 2183.781 2183.781 2184.782
2184.782 2185.557 2185.557 2185.837 2185.837 2185.462 2185.462 2185.096
2185.096 2184.761 2184.761 2184.471 2184.471 2184.219 2184.219 2183.988
2193.213 2192.148 2192.148 2190.822 2190.822 2189.523 2189.523 2188.254
2188.254 2187.02 2187.02 2185.821 2185.821 2184.572 2184.572 2183.393
2183.393 2182.294 2182.294 2181.307 2181.307 2180.462 2180.462 2179.821
2179.821 2179.843 2179.843 2180.728 2180.728 2181.719 2181.719 2182.745
2182.745 2183.781 2183.781 2184.782 2184.782 2185.557 2185.557 2185.837
2185.837 2185.462 2185.462 2185.096 2185.096 2184.761 2184.761 2184.471
2184.471 2184.219 2184.219 2183.988 2193.031 2191.651 2191.651 2190.28
2190.28 2188.923 2188.923 2187.583 2187.583 2186.266 2186.266 2184.975
2184.975 2183.719 2183.719 2182.404 2182.404 2181.233 2181.233 2180.221
2180.221 2179.432 2179.432 2179.096 2179.096 2179.085 2179.085 2179.561
2179.561 2180.562 2180.562 2181.418 2181.418 2182.266 2182.266 2183.027
2183.027 2183.566 2183.566 2184.014 2184.014 2183.927 2183.927 2183.74
2183.74 2183.437 2183.437 2183.263 2183.263 2183.105 2183.105 2182.946
2193.031 2191.651 2191.651 2190.28 2190.28 2188.923 2188.923 2187.583
2187.583 2186.266 2186.266 2184.975 2184.975 2183.719 2183.719 2182.404
2182.404 2181.233 2181.233 2180.221 2180.221 2179.432 2179.432 2179.096
2179.096 2179.085 2179.085 2179.561 2179.561 2180.562 2180.562 2181.418
2181.418 2182.266 2182.266 2183.027 2183.027 2183.566 2183.566 2184.014
2184.014 2183.927 2183.927 2183.74 2183.74 2183.437 2183.437 2183.263
2183.263 2183.105 2183.105 2182.946 2192.598 2191.189 2191.189 2189.778
2189.778 2188.368 2188.368 2186.965 2186.965 2185.575 2185.575 2184.202
2184.202 2182.858 2182.858 2181.557 2181.557 2180.251 2180.251 2179.204
2179.204 2178.465 2178.465 2178.241 2178.241 2178.249 2178.249 2178.585
2178.585 2179.134 2179.134 2180.13 2180.13 2180.754 2180.754 2181.291
2181.291 2181.674 2181.674 2182.184 2182.184 2182.208 2182.208 2182.172
2182.172 2182.122 2182.122 2181.968 2181.968 2181.928 2181.928 2181.865
2192.598 2191.189 2191.189 2189.778 2189.778 2188.368 2188.368 2186.965
2186.965 2185.575 2185.575 2184.202 2184.202 2182.858 2182.858 2181.557
2181.557 2180.251 2180.251 2179.204 2179.204 2178.465 2178.465 2178.241
2178.241 2178.249 2178.249 2178.585 2178.585 2179.134 2179.134 2180.13
2180.13 2180.754 2180.754 2181.291 2181.291 2181.674 2181.674 2182.184
2182.184 2182.208 2182.208 2182.172 2182.172 2182.122 2182.122 2181.968
2181.968 2181.928 2181.928 2181.865 2192.227 2190.774 2190.774 2189.325
2189.325 2187.869 2187.869 2186.413 2186.413 2184.96 2184.96 2183.519
2183.519 2182.097 2182.097 2180.709 2180.709 2179.386 2179.386 2178.205
2178.205 2177.614 2177.614 2177.356 2177.356 2177.393 2177.393 2177.637
2177.637 2178.021 2178.021 2178.471 2178.471 2179.322 2179.322 2179.651
2179.651 2179.887 2179.887 2180.379 2180.379 2180.461 2180.461 2180.552
2180.552 2180.66 2180.66 2180.765 2180.765 2180.837 2180.837 2180.794
2192.227 2190.774 2190.774 2189.325 2189.325 2187.869 2187.869 2186.413
2186.413 2184.96 2184.96 2183.519 2183.519 2182.097 2182.097 2180.709
2180.709 2179.386 2179.386 2178.205 2178.205 2177.614 2177.614 2177.356
2177.356 2177.393 2177.393 2177.637 2177.637 2178.021 2178.021 2178.471
2178.471 2179.322 2179.322 2179.651 2179.651 2179.887 2179.887 2180.379
2180.379 2180.461 2180.461 2180.552 2180.552 2180.66 2180.66 2180.765
2180.765 2180.837 2180.837 2180.794 2191.895 2190.426 2190.426 2188.943
2188.943 2187.448 2187.448 2185.945 2185.945 2184.443 2184.443 2182.95
2182.95 2181.476 2181.476 2180.028 2180.028 2178.596 2178.596 2177.251
2177.251 2176.664 2176.664 2176.572 2176.572 2176.612 2176.612 2176.765
2176.765 2176.999 2176.999 2177.266 2177.266 2177.521 2177.521 2178.134
2178.134 2178.205 2178.205 2178.277 2178.277 2178.709 2178.709 2178.925
2178.925 2179.211 2179.211 2179.499 2179.499 2179.727 2179.727 2179.859
2191.895 2190.426 2190.426 2188.943 2188.943 2187.448 2187.448 2185.945
2185.945 2184.443 2184.443 2182.95 2182.95 2181.476 2181.476 2180.028
2180.028 2178.596 2178.596 2177.251 2177.251 2176.664 2176.664 2176.572
2176.572 2176.612 2176.612 2176.765 2176.765 2176.999 2176.999 2177.266
2177.266 2177.521 2177.521 2178.134 2178.134 2178.205 2178.205 2178.277
2178.277 2178.709 2178.709 2178.925 2178.925 2179.211 2179.211 2179.499
2179.499 2179.727 2179.727 2179.859 2191.617 2190.116 2190.116 2188.603
2188.603 2187.077 2187.077 2185.543 2185.543 2184.01 2184.01 2182.489
2182.489 2180.99 2180.99 2179.527 2179.527 2178.12 2178.12 2176.951
2176.951 2176.091 2176.091 2175.945 2175.945 2175.986 2175.986 2176.015
2176.015 2176.101 2176.101 2176.204 2176.204 2176.282 2176.282 2176.312
2176.312 2176.638 2176.638 2176.572 2176.572 2176.954 2176.954 2177.323
2177.323 2177.834 2177.834 2178.341 2178.341 2178.751 2178.751 2179.025
2191.617 2190.116 2190.116 2188.603 2188.603 2187.077 2187.077 2185.543
2185.543 2184.01 2184.01 2182.489 2182.489 2180.99 2180.99 2179.527
2179.527 2178.12 2178.12 2176.951 2176.951 2176.091 2176.091 2175.945
2175.945 2175.986 2175.986 2176.015 2176.015 2176.101 2176.101 2176.204
2176.204 2176.282 2176.282 2176.312 2176.312 2176.638 2176.638 2176.572
2176.572 2176.954 2176.954 2177.323 2177.323 2177.834 2177.834 2178.341
2178.341 2178.751 2178.751 2179.025 2191.247 2189.856 2189.856 2188.321
2188.321 2186.771 2186.771 2185.213 2185.213 2183.657 2183.657 2182.121
2182.121 2180.621 2180.621 2179.537 2179.537 2178.114 2178.114 2176.871
2176.871 2175.965 2175.965 2175.31 2175.31 2175.315 2175.315 2175.161
2175.161 2175.08 2175.08 2175.311 2175.311 2175.242 2175.242 2175.104
2175.104 2174.897 2174.897 2174.927 2174.927 2175.187 2175.187 2175.804
2175.804 2176.617 2176.617 2177.216 2177.216 2177.799 2177.799 2178.218
2191.247 2189.856 2189.856 2188.321 2188.321 2186.771 2186.771 2185.213
2185.213 2183.657 2183.657 2182.121 2182.121 2180.621 2180.621 2179.537
2179.537 2178.114 2178.114 2176.871 2176.871 2175.965 2175.965 2175.31
2175.31 2175.315 2175.315 2175.161 2175.161 2175.08 2175.08 2175.311
2175.311 2175.242 2175.242 2175.104 2175.104 2174.897 2174.897 2174.927
2174.927 2175.187 2175.187 2175.804 2175.804 2176.617 2176.617 2177.216
2177.216 2177.799 2177.799 2178.218 2191.037 2189.642 2189.642 2188.094
2188.094 2186.526 2186.526 2184.947 2184.947 2183.375 2183.375 2181.832
2181.832 2180.775 2180.775 2179.322 2179.322 2177.969 2177.969 2176.779
2176.779 2175.855 2175.855 2175.096 2175.096 2174.524 2174.524 2174.612
2174.612 2174.418 2174.418 2174.266 2174.266 2174.109 2174.109 2173.898
2173.898 2173.592 2173.592 2173.313 2173.313 2173.42 2173.42 2174.449
2174.449 2175.533 2175.533 2176.459 2176.459 2177.185 2177.185 2177.701
2191.037 2189.642 2189.642 2188.094 2188.094 2186.526 2186.526 2184.947
2184.947 2183.375 2183.375 2181.832 2181.832 2180.775 2180.775 2179.322
2179.322 2177.969 2177.969 2176.779 2176.779 2175.855 2175.855 2175.096
2175.096 2174.524 2174.524 2174.612 2174.612 2174.418 2174.418 2174.266
2174.266 2174.109 2174.109 2173.898 2173.898 2173.592 2173.592 2173.313
2173.313 2173.42 2173.42 2174.449 2174.449 2175.533 2175.533 2176.459
2176.459 2177.185 2177.185 2177.701 2190.863 2189.356 2189.356 2187.917
2187.917 2186.337 2186.337 2184.737 2184.737 2183.149 2183.149 2182.049
2182.049 2180.574 2180.574 2179.159 2179.159 2177.841 2177.841 2176.664
2176.664 2175.721 2175.721 2174.898 2174.898 2174.26 2174.26 2173.778
2173.778 2173.424 2173.424 2173.68 2173.68 2173.502 2173.502 2173.297
2173.297 2173.009 2173.009 2172.425 2172.425 2172.723 2172.723 2173.861
2173.861 2175.025 2175.025 2176.044 2176.044 2176.849 2176.849 2177.402
2190.863 2189.356 2189.356 2187.917 2187.917 2186.337 2186.337 2184.737
2184.737 2183.149 2183.149 2182.049 2182.049 2180.574 2180.574 2179.159
2179.159 2177.841 2177.841 2176.664 2176.664 2175.721 2175.721 2174.898
2174.898 2174.26 2174.26 2173.778 2173.778 2173.424 2173.424 2173.68
2173.68 2173.502 2173.502 2173.297 2173.297 2173.009 2173.009 2172.425
2172.425 2172.723 2172.723 2173.861 2173.861 2175.025 2175.025 2176.044
2176.044 2176.849 2176.849 2177.402 2190.71 2189.227 2189.227 2187.786
2187.786 2186.196 2186.196 2184.858 2184.858 2183.359 2183.359 2181.872
2181.872 2180.418 2180.418 2179.021 2179.021 2177.713 2177.713 2176.528
2176.528 2175.553 2175.553 2174.686 2174.686 2174.003 2174.003 2173.492
2173.492 2173.134 2173.134 2172.913 2172.913 2173.106 2173.106 2172.42
2172.42 2172.454 2172.454 2172.54 2172.54 2173.077 2173.077 2173.881
2173.881 2174.938 2174.938 2175.954 2175.954 2176.791 2176.791 2177.304
2190.71 2189.227 2189.227 2187.786 2187.786 2186.196 2186.196 2184.858
2184.858 2183.359 2183.359 2181.872 2181.872 2180.418 2180.418 2179.021
2179.021 2177.713 2177.713 2176.528 2176.528 2175.553 2175.553 2174.686
2174.686 2174.003 2174.003 2173.492 2173.492 2173.134 2173.134 2172.913
2172.913 2173.106 2173.106 2172.42 2172.42 2172.454 2172.454 2172.54
2172.54 2173.077 2173.077 2173.881 2173.881 2174.938 2174.938 2175.954
2175.954 2176.791 2176.791 2177.304 2190.504 2189.045 2189.045 2187.619
2187.619 2186.185 2186.185 2184.701 2184.701 2183.215 2183.215 2181.741
2181.741 2180.295 2180.295 2178.902 2178.902 2177.584 2177.584 2176.373
2176.373 2175.295 2175.295 2174.441 2174.441 2173.726 2173.726 2173.197
2173.197 2172.844 2172.844 2171.928 2171.928 2171.93 2171.93 2172.255
2172.255 2172.536 2172.536 2172.885 2172.885 2173.368 2173.368 2174.061
2174.061 2175.007 2175.007 2176.061 2176.061 2176.971 2176.971 2177.388
2190.504 2189.045 2189.045 2187.619 2187.619 2186.185 2186.185 2184.701
2184.701 2183.215 2183.215 2181.741 2181.741 2180.295 2180.295 2178.902
2178.902 2177.584 2177.584 2176.373 2176.373 2175.295 2175.295 2174.441
2174.441 2173.726 2173.726 2173.197 2173.197 2172.844 2172.844 2171.928
2171.928 2171.93 2171.93 2172.255 2172.255 2172.536 2172.536 2172.885
2172.885 2173.368 2173.368 2174.061 2174.061 2175.007 2175.007 2176.061
2176.061 2176.971 2176.971 2177.388 2190.302 2188.812 2188.812 2187.311
2187.311 2185.919 2185.919 2184.36 2184.36 2182.813 2182.813 2181.313
2181.313 2180.206 2180.206 2178.802 2178.802 2177.461 2177.461 2176.208
2176.208 2175.073 2175.073 2174.156 2174.156 2173.415 2173.415 2172.267
2172.267 2171.798 2171.798 2171.588 2171.588 2171.65 2171.65 2171.99
2171.99 2172.619 2172.619 2172.95 2172.95 2173.491 2173.491 2174.305
2174.305 2175.185 2175.185 2176.18 2176.18 2177.222 2177.222 2177.395
2190.302 2188.812 2188.812 2187.311 2187.311 2185.919 2185.919 2184.36
2184.36 2182.813 2182.813 2181.313 2181.313 2180.206 2180.206 2178.802
2178.802 2177.461 2177.461 2176.208 2176.208 2175.073 2175.073 2174.156
2174.156 2173.415 2173.415 2172.267 2172.267 2171.798 2171.798 2171.588
2171.588 2171.65 2171.65 2171.99 2171.99 2172.619 2172.619 2172.95
2172.95 2173.491 2173.491 2174.305 2174.305 2175.185 2175.185 2176.18
2176.18 2177.222 2177.222 2177.395 2190.088 2188.584 2188.584 2187.016
2187.016 2185.761 2185.761 2184.209 2184.209 2182.66 2182.66 2181.155
2181.155 2179.708 2179.708 2178.33 2178.33 2177.039 2177.039 2175.853
2175.853 2174.791 2174.791 2173.853 2173.853 2173.062 2173.062 2172.443
2172.443 2172.016 2172.016 2171.799 2171.799 2171.8 2171.8 2172.021
2172.021 2172.459 2172.459 2172.797 2172.797 2173.528 2173.528 2174.238
2174.238 2175.082 2175.082 2175.978 2175.978 2176.591 2176.591 2177.051
2190.088 2188.584 2188.584 2187.016 2187.016 2185.761 2185.761 2184.209
2184.209 2182.66 2182.66 2181.155 2181.155 2179.708 2179.708 2178.33
2178.33 2177.039 2177.039 2175.853 2175.853 2174.791 2174.791 2173.853
2173.853 2173.062 2173.062 2172.443 2172.443 2172.016 2172.016 2171.799
2171.799 2171.8 2171.8 2172.021 2172.021 2172.459 2172.459 2172.797
2172.797 2173.528 2173.528 2174.238 2174.238 2175.082 2175.082 2175.978
2175.978 2176.591 2176.591 2177.051 2189.962 2188.372 2188.372 2187.173
2187.173 2185.622 2185.622 2184.02 2184.02 2182.524 2182.524 2181.012
2181.012 2179.548 2179.548 2178.141 2178.141 2176.8 2176.8 2175.537
2175.537 2174.32 2174.32 2173.325 2173.325 2172.668 2172.668 2171.989
2171.989 2171.531 2171.531 2171.309 2171.309 2171.331 2171.331 2171.585
2171.585 2172.073 2172.073 2172.428 2172.428 2173.279 2173.279 2174.043
2174.043 2174.872 2174.872 2175.384 2175.384 2176.072 2176.072 2176.502
2189.962 2188.372 2188.372 2187.173 2187.173 2185.622 2185.622 2184.02
2184.02 2182.524 2182.524 2181.012 2181.012 2179.548 2179.548 2178.141
2178.141 2176.8 2176.8 2175.537 2175.537 2174.32 2174.32 2173.325
2173.325 2172.668 2172.668 2171.989 2171.989 2171.531 2171.531 2171.309
2171.309 2171.331 2171.331 2171.585 2171.585 2172.073 2172.073 2172.428
2172.428 2173.279 2173.279 2174.043 2174.043 2174.872 2174.872 2175.384
2175.384 2176.072 2176.072 2176.502 2189.819 2188.202 2188.202 2187.042
2187.042 2185.502 2185.502 2183.908 2183.908 2182.414 2182.414 2180.897
2180.897 2179.415 2179.415 2177.973 2177.973 2176.608 2176.608 2175.255
2175.255 2173.839 2173.839 2172.645 2172.645 2171.804 2171.804 2171.471
2171.471 2170.963 2170.963 2170.726 2170.726 2170.762 2170.762 2171.128
2171.128 2171.611 2171.611 2172.194 2172.194 2172.958 2172.958 2173.8
2173.8 2174.313 2174.313 2175.076 2175.076 2175.715 2175.715 2176.17
2189.819 2188.202 2188.202 2187.042 2187.042 2185.502 2185.502 2183.908
2183.908 2182.414 2182.414 2180.897 2180.897 2179.415 2179.415 2177.973
2177.973 2176.608 2176.608 2175.255 2175.255 2173.839 2173.839 2172.645
2172.645 2171.804 2171.804 2171.471 2171.471 2170.963 2170.963 2170.726
2170.726 2170.762 2170.762 2171.128 2171.128 2171.611 2171.611 2172.194
2172.194 2172.958 2172.958 2173.8 2173.8 2174.313 2174.313 2175.076
2175.076 2175.715 2175.715 2176.17 2189.712 2188.079 2188.079 2186.933
2186.933 2185.41 2185.41 2183.829 2183.829 2182.275 2182.275 2180.825
2180.825 2179.333 2179.333 2177.825 2177.825 2176.358 2176.358 2174.936
2174.936 2173.406 2173.406 2172.13 2172.13 2171.262 2171.262 2170.328
2170.328 2169.705 2169.705 2170.055 2170.055 2170.111 2170.111 2170.518
2170.518 2171.088 2171.088 2171.738 2171.738 2172.643 2172.643 2173.31
2173.31 2174.143 2174.143 2174.899 2174.899 2175.529 2175.529 2176.005
2189.712 2188.079 2188.079 2186.933 2186.933 2185.41 2185.41 2183.829
2183.829 2182.275 2182.275 2180.825 2180.825 2179.333 2179.333 2177.825
2177.825 2176.358 2176.358 2174.936 2174.936 2173.406 2173.406 2172.13
2172.13 2171.262 2171.262 2170.328 2170.328 2169.705 2169.705 2170.055
2170.055 2170.111 2170.111 2170.518 2170.518 2171.088 2171.088 2171.738
2171.738 2172.643 2172.643 2173.31 2173.31 2174.143 2174.143 2174.899
2174.899 2175.529 2175.529 2176.005 2189.645 2188.002 2188.002 2186.844
2186.844 2185.347 2185.347 2183.79 2183.79 2182.259 2182.259 2180.747
2180.747 2179.196 2179.196 2177.67 2177.67 2176.159 2176.159 2174.499
2174.499 2173.052 2173.052 2171.68 2171.68 2170.441 2170.441 2169.678
2169.678 2169 2169 2168.753 2168.753 2169.492 2169.492 2169.866
2169.866 2170.525 2170.525 2171.312 2171.312 2172.415 2172.415 2173.228
2173.228 2174.125 2174.125 2174.891 2174.891 2175.516 2175.516 2176.006
2189.645 2188.002 2188.002 2186.844 2186.844 2185.347 2185.347 2183.79
2183.79 2182.259 2182.259 2180.747 2180.747 2179.196 2179.196 2177.67
2177.67 2176.159 2176.159 2174.499 2174.499 2173.052 2173.052 2171.68
2171.68 2170.441 2170.441 2169.678 2169.678 2169 2169 2168.753
2168.753 2169.492 2169.492 2169.866 2169.866 2170.525 2170.525 2171.312
2171.312 2172.415 2172.415 2173.228 2173.228 2174.125 2174.125 2174.891
2174.891 2175.516 2175.516 2176.006 2189.617 2187.971 2187.971 2186.775
2186.775 2185.317 2185.317 2183.8 2183.8 2182.307 2182.307 2180.616
2180.616 2179.13 2179.13 2177.589 2177.589 2176.046 2176.046 2174.345
2174.345 2172.817 2172.817 2171.343 2171.343 2169.979 2169.979 2169.04
2169.04 2168.276 2168.276 2168.198 2168.198 2168.486 2168.486 2169.256
2169.256 2169.952 2169.952 2170.997 2170.997 2172.23 2172.23 2173.385
2173.385 2174.325 2174.325 2175.075 2175.075 2175.676 2175.676 2176.159
2189.617 2187.971 2187.971 2186.775 2186.775 2185.317 2185.317 2183.8
2183.8 2182.307 2182.307 2180.616 2180.616 2179.13 2179.13 2177.589
2177.589 2176.046 2176.046 2174.345 2174.345 2172.817 2172.817 2171.343
2171.343 2169.979 2169.979 2169.04 2169.04 2168.276 2168.276 2168.198
2168.198 2168.486 2168.486 2169.256 2169.256 2169.952 2169.952 2170.997
2170.997 2172.23 2172.23 2173.385 2173.385 2174.325 2174.325 2175.075
2175.075 2175.676 2175.676 2176.159 2189.613 2187.987 2187.987 2186.729
2186.729 2185.325 2185.325 2183.685 2183.685 2182.168 2182.168 2180.641
2180.641 2179.103 2179.103 2177.602 2177.602 2176.044 2176.044 2174.333
2174.333 2172.746 2172.746 2171.195 2171.195 2169.708 2169.708 2168.354
2168.354 2167.547 2167.547 2167.752 2167.752 2168.349 2168.349 2169.001
2169.001 2169.581 2169.581 2171.041 2171.041 2172.688 2172.688 2173.906
2173.906 2174.783 2174.783 2175.448 2175.448 2175.984 2175.984 2176.439
2189.613 2187.987 2187.987 2186.729 2186.729 2185.325 2185.325 2183.685
2183.685 2182.168 2182.168 2180.641 2180.641 2179.103 2179.103 2177.602
2177.602 2176.044 2176.044 2174.333 2174.333 2172.746 2172.746 2171.195
2171.195 2169.708 2169.708 2168.354 2168.354 2167.547 2167.547 2167.752
2167.752 2168.349 2168.349 2169.001 2169.001 2169.581 2169.581 2171.041
2171.041 2172.688 2172.688 2173.906 2173.906 2174.783 2174.783 2175.448
2175.448 2175.984 2175.984 2176.439 2189.685 2188.048 2188.048 2186.721
2186.721 2185.234 2185.234 2183.752 2183.752 2182.251 2182.251 2180.738
2180.738 2179.221 2179.221 2177.698 2177.698 2176.101 2176.101 2174.473
2174.473 2172.865 2172.865 2171.305 2171.305 2169.598 2169.598 2168.348
2168.348 2167.33 2167.33 2167.959 2167.959 2168.821 2168.821 2169.758
2169.758 2170.847 2170.847 2172.362 2172.362 2173.893 2173.893 2174.919
2174.919 2175.578 2175.578 2176.073 2176.073 2176.499 2176.499 2176.891
2189.685 2188.048 2188.048 2186.721 2186.721 2185.234 2185.234 2183.752
2183.752 2182.251 2182.251 2180.738 2180.738 2179.221 2179.221 2177.698
2177.698 2176.101 2176.101 2174.473 2174.473 2172.865 2172.865 2171.305
2171.305 2169.598 2169.598 2168.348 2168.348 2167.33 2167.33 2167.959
2167.959 2168.821 2168.821 2169.758 2169.758 2170.847 2170.847 2172.362
2172.362 2173.893 2173.893 2174.919 2174.919 2175.578 2175.578 2176.073
2176.073 2176.499 2176.499 2176.891 2189.811 2188.146 2188.146 2186.727
2186.727 2185.367 2185.367 2183.62 2183.62 2182.065 2182.065 2180.518
2180.518 2178.993 2178.993 2177.502 2177.502 2175.978 2175.978 2174.415
2174.415 2172.924 2172.924 2171.523 2171.523 2170.247 2170.247 2169.198
2169.198 2168.712 2168.712 2169.004 2169.004 2169.811 2169.811 2170.935
2170.935 2172.328 2172.328 2174.11 2174.11 2175.559 2175.559 2176.049
2176.049 2176.315 2176.315 2176.804 2176.804 2177.265 2177.265 2177.744
2189.811 2188.146 2188.146 2186.727 2186.727 2185.367 2185.367 2183.62
2183.62 2182.065 2182.065 2180.518 2180.518 2178.993 2178.993 2177.502
2177.502 2175.978 2175.978 2174.415 2174.415 2172.924 2172.924 2171.523
2171.523 2170.247 2170.247 2169.198 2169.198 2168.712 2168.712 2169.004
2169.004 2169.811 2169.811 2170.935 2170.935 2172.328 2172.328 2174.11
2174.11 2175.559 2175.559 2176.049 2176.049 2176.315 2176.315 2176.804
2176.804 2177.265 2177.265 2177.744 2189.921 2188.379 2188.379 2186.917
2186.917 2185.418 2185.418 2183.852 2183.852 2182.326 2182.326 2180.789
2180.789 2179.27 2179.27 2177.772 2177.772 2176.239 2176.239 2174.751
2174.751 2173.375 2173.375 2172.108 2172.108 2171.028 2171.028 2170.325
2170.325 2169.97 2169.97 2170.206 2170.206 2170.899 2170.899 2172.026
2172.026 2173.538 2173.538 2175.42 2175.42 2176.986 2176.986 2176.846
2176.846 2176.895 2176.895 2177.208 2177.208 2177.725 2177.725 2178.445
2189.921 2188.379 2188.379 2186.917 2186.917 2185.418 2185.418 2183.852
2183.852 2182.326 2182.326 2180.789 2180.789 2179.27 2179.27 2177.772
2177.772 2176.239 2176.239 2174.751 2174.751 2173.375 2173.375 2172.108
2172.108 2171.028 2171.028 2170.325 2170.325 2169.97 2169.97 2170.206
2170.206 2170.899 2170.899 2172.026 2172.026 2173.538 2173.538 2175.42
2175.42 2176.986 2176.986 2176.846 2176.846 2176.895 2176.895 2177.208
2177.208 2177.725 2177.725 2178.445 2190.273 2188.634 2188.634 2187.045
2187.045 2185.734 2185.734 2184.177 2184.177 2182.622 2182.622 2181.086
2181.086 2179.578 2179.578 2178.102 2178.102 2176.594 2176.594 2175.196
2175.196 2173.898 2173.898 2172.755 2172.755 2171.862 2171.862 2171.332
2171.332 2171.061 2171.061 2171.275 2171.275 2171.858 2171.858 2172.86
2172.86 2174.16 2174.16 2175.591 2175.591 2176.589 2176.589 2176.84
2176.84 2177.001 2177.001 2177.418 2177.418 2178.276 2178.276 2179.023
2195.254 2194.128 2194.128 2193.025 2193.025 2192.13 2192.13 2191.263
2191.263 2190.42 2190.42 2189.597 2189.597 2188.805 2188.805 2188.066
2188.066 2187.406 2187.406 2186.857 2186.857 2186.466 2186.466 2186.284
2186.284 2186.351 2186.351 2186.636 2186.636 2187.02 2187.02 2187.542
2187.542 2188.091 2188.091 2188.571 2188.571 2188.869 2188.869 2188.911
2188.911 2188.715 2188.715 2188.465 2188.465 2188.05 2188.05 2187.615
2187.615 2187.182 2187.182 2186.76 2194.693 2193.502 2193.502 2192.569
2192.569 2191.468 2191.468 2190.466 2190.466 2189.511 2189.511 2188.575
2188.575 2187.67 2187.67 2186.81 2186.81 2186.038 2186.038 2185.374
2185.374 2184.866 2184.866 2184.597 2184.597 2184.657 2184.657 2185.075
2185.075 2185.703 2185.703 2186.458 2186.458 2187.206 2187.206 2187.932
2187.932 2188.422 2188.422 2188.501 2188.501 2188.325 2188.325 2187.91
2187.91 2187.461 2187.461 2187.026 2187.026 2186.621 2186.621 2186.245
2194.693 2193.502 2193.502 2192.569 2192.569 2191.468 2191.468 2190.466
2190.466 2189.511 2189.511 2188.575 2188.575 2187.67 2187.67 2186.81
2186.81 2186.038 2186.038 2185.374 2185.374 2184.866 2184.866 2184.597
2184.597 2184.657 2184.657 2185.075 2185.075 2185.703 2185.703 2186.458
2186.458 2187.206 2187.206 2187.932 2187.932 2188.422 2188.422 2188.501
2188.501 2188.325 2188.325 2187.91 2187.91 2187.461 2187.461 2187.026
2187.026 2186.621 2186.621 2186.245 2194.163 2192.907 2192.907 2191.978
2191.978 2190.808 2190.808 2189.706 2189.706 2188.663 2188.663 2187.599
2187.599 2186.58 2186.58 2185.611 2185.611 2184.712 2184.712 2183.898
2183.898 2183.233 2183.233 2182.796 2182.796 2182.852 2182.852 2183.434
2183.434 2184.278 2184.278 2185.234 2185.234 2186.25 2186.25 2187.257
2187.257 2188.06 2188.06 2188.156 2188.156 2187.707 2187.707 2187.199
2187.199 2186.724 2186.724 2186.303 2186.303 2185.937 2185.937 2185.622
2194.163 2192.907 2192.907 2191.978 2191.978 2190.808 2190.808 2189.706
2189.706 2188.663 2188.663 2187.599 2187.599 2186.58 2186.58 2185.611
2185.611 2184.712 2184.712 2183.898 2183.898 2183.233 2183.233 2182.796
2182.796 2182.852 2182.852 2183.434 2183.434 2184.278 2184.278 2185.234
2185.234 2186.25 2186.25 2187.257 2187.257 2188.06 2188.06 2188.156
2188.156 2187.707 2187.707 2187.199 2187.199 2186.724 2186.724 2186.303
2186.303 2185.937 2185.937 2185.622 2193.667 2192.67 2192.67 2191.392
2191.392 2190.156 2190.156 2188.966 2188.966 2187.823 2187.823 2186.673
2186.673 2185.543 2185.543 2184.464 2184.464 2183.454 2183.454 2182.532
2182.532 2181.714 2181.714 2181.011 2181.011 2180.94 2180.94 2181.852
2181.852 2182.86 2182.86 2183.925 2183.925 2185.048 2185.048 2186.303
2186.303 2187.506 2187.506 2187.392 2187.392 2186.828 2186.828 2186.333
2186.333 2185.906 2185.906 2185.538 2185.538 2185.22 2185.22 2184.938
2193.667 2192.67 2192.67 2191.392 2191.392 2190.156 2190.156 2188.966
2188.966 2187.823 2187.823 2186.673 2186.673 2185.543 2185.543 2184.464
2184.464 2183.454 2183.454 2182.532 2182.532 2181.714 2181.714 2181.011
2181.011 2180.94 2180.94 2181.852 2181.852 2182.86 2182.86 2183.925
2183.925 2185.048 2185.048 2186.303 2186.303 2187.506 2187.506 2187.392
2187.392 2186.828 2186.828 2186.333 2186.333 2185.906 2185.906 2185.538
2185.538 2185.22 2185.22 2184.938 2193.213 2192.148 2192.148 2190.822
2190.822 2189.523 2189.523 2188.254 2188.254 2187.02 2187.02 2185.821
2185.821 2184.572 2184.572 2183.393 2183.393 2182.294 2182.294 2181.307
2181.307 2180.462 2180.462 2179.821 2179.821 2179.843 2179.843 2180.728
2180.728 2181.719 2181.719 2182.745 2182.745 2183.781 2183.781 2184.782
2184.782 2185.557 2185.557 2185.837 2185.837 2185.462 2185.462 2185.096
2185.096 2184.761 2184.761 2184.471 2184.471 2184.219 2184.219 2183.988
2193.213 2192.148 2192.148 2190.822 2190.822 2189.523 2189.523 2188.254
2188.254 2187.02 2187.02 2185.821 2185.821 2184.572 2184.572 2183.393
2183.393 2182.294 2182.294 2181.307 2181.307 2180.462 2180.462 2179.821
2179.821 2179.843 2179.843 2180.728 2180.728 2181.719 2181.719 2182.745
2182.745 2183.781 2183.781 2184.782 2184.782 2185.557 2185.557 2185.837
2185.837 2185.462 2185.462 2185.096 2185.096 2184.761 2184.761 2184.471
2184.471 2184.219 2184.219 2183.988 2193.031 2191.651 2191.651 2190.28
2190.28 2188.923 2188.923 2187.583 2187.583 2186.266 2186.266 2184.975
2184.975 2183.719 2183.719 2182.404 2182.404 2181.233 2181.233 2180.221
2180.221 2179.432 2179.432 2179.096 2179.096 2179.085 2179.085 2179.561
2179.561 2180.562 2180.562 2181.418 2181.418 2182.266 2182.266 2183.027
2183.027 2183.566 2183.566 2184.014 2184.014 2183.927 2183.927 2183.74
2183.74 2183.437 2183.437 2183.263 2183.263 2183.105 2183.105 2182.946
2193.031 2191.651 2191.651 2190.28 2190.28 2188.923 2188.923 2187.583
2187.583 2186.266 2186.266 2184.975 2184.975 2183.719 2183.719 2182.404
2182.404 2181.233 2181.233 2180.221 2180.221 2179.432 2179.432 2179.096
2179.096 2179.085 2179.085 2179.561 2179.561 2180.562 2180.562 2181.418
2181.418 2182.266 2182.266 2183.027 2183.027 2183.566 2183.566 2184.014
2184.014 2183.927 2183.927 2183.74 2183.74 2183.437 2183.437 2183.263
2183.263 2183.105 2183.105 2182.946 2192.598 2191.189 2191.189 2189.778
2189.778 2188.368 2188.368 2186.965 2186.965 2185.575 2185.575 2184.202
2184.202 2182.858 2182.858 2181.557 2181.557 2180.251 2180.251 2179.204
2179.204 2178.465 2178.465 2178.241 2178.241 2178.249 2178.249 2178.585
2178.585 2179.134 2179.134 2180.13 2180.13 2180.754 2180.754 2181.291
2181.291 2181.674 2181.674 2182.184 2182.184 2182.208 2182.208 2182.172
2182.172 2182.122 2182.122 2181.968 2181.968 2181.928 2181.928 2181.865
2192.598 2191.189 2191.189 2189.778 2189.778 2188.368 2188.368 2186.965
2186.965 2185.575 2185.575 2184.202 2184.202 2182.858 2182.858 2181.557
2181.557 2180.251 2180.251 2179.204 2179.204 2178.465 2178.465 2178.241
2178.241 2178.249 2178.249 2178.585 2178.585 2179.134 2179.134 2180.13
2180.13 2180.754 2180.754 2181.291 2181.291 2181.674 2181.674 2182.184
2182.184 2182.208 2182.208 2182.172 2182.172 2182.122 2182.122 2181.968
2181.968 2181.928 2181.928 2181.865 2192.227 2190.774 2190.774 2189.325
2189.325 2187.869 2187.869 2186.413 2186.413 2184.96 2184.96 2183.519
2183.519 2182.097 2182.097 2180.709 2180.709 2179.386 2179.386 2178.205
2178.205 2177.614 2177.614 2177.356 2177.356 2177.393 2177.393 2177.637
2177.637 2178.021 2178.021 2178.471 2178.471 2179.322 2179.322 2179.651
2179.651 2179.887 2179.887 2180.379 2180.379 2180.461 2180.461 2180.552
2180.552 2180.66 2180.66 2180.765 2180.765 2180.837 2180.837 2180.794
2192.227 2190.774 2190.774 2189.325 2189.325 2187.869 2187.869 2186.413
2186.413 2184.96 2184.96 2183.519 2183.519 2182.097 2182.097 2180.709
2180.709 2179.386 2179.386 2178.205 2178.205 2177.614 2177.614 2177.356
2177.356 2177.393 2177.393 2177.637 2177.637 2178.021 2178.021 2178.471
2178.471 2179.322 2179.322 2179.651 2179.651 2179.887 2179.887 2180.379
2180.379 2180.461 2180.461 2180.552 2180.552 2180.66 2180.66 2180.765
2180.765 2180.837 2180.837 2180.794 2191.895 2190.426 2190.426 2188.943
2188.943 2187.448 2187.448 2185.945 2185.945 2184.443 2184.443 2182.95
2182.95 2181.476 2181.476 2180.028 2180.028 2178.596 2178.596 2177.251
2177.251 2176.664 2176.664 2176.572 2176.572 2176.612 2176.612 2176.765
2176.765 2176.999 2176.999 2177.266 2177.266 2177.521 2177.521 2178.134
2178.134 2178.205 2178.205 2178.277 2178.277 2178.709 2178.709 2178.925
2178.925 2179.211 2179.211 2179.499 2179.499 2179.727 2179.727 2179.859
2191.895 2190.426 2190.426 2188.943 2188.943 2187.448 2187.448 2185.945
2185.945 2184.443 2184.443 2182.95 2182.95 2181.476 2181.476 2180.028
2180.028 2178.596 2178.596 2177.251 2177.251 2176.664 2176.664 2176.572
2176.572 2176.612 2176.612 2176.765 2176.765 2176.999 2176.999 2177.266
2177.266 2177.521 2177.521 2178.134 2178.134 2178.205 2178.205 2178.277
2178.277 2178.709 2178.709 2178.925 2178.925 2179.211 2179.211 2179.499
2179.499 2179.727 2179.727 2179.859 2191.617 2190.116 2190.116 2188.603
2188.603 2187.077 2187.077 2185.543 2185.543 2184.01 2184.01 2182.489
2182.489 2180.99 2180.99 2179.527 2179.527 2178.12 2178.12 2176.951
2176.951 2176.091 2176.091 2175.945 2175.945 2175.986 2175.986 2176.015
2176.015 2176.101 2176.101 2176.204 2176.204 2176.282 2176.282 2176.312
2176.312 2176.638 2176.638 2176.572 2176.572 2176.954 2176.954 2177.323
2177.323 2177.834 2177.834 2178.341 2178.341 2178.751 2178.751 2179.025
2191.617 2190.116 2190.116 2188.603 2188.603 2187.077 2187.077 2185.543
2185.543 2184.01 2184.01 2182.489 2182.489 2180.99 2180.99 2179.527
2179.527 2178.12 2178.12 2176.951 2176.951 2176.091 2176.091 2175.945
2175.945 2175.986 2175.986 2176.015 2176.015 2176.101 2176.101 2176.204
2176.204 2176.282 2176.282 2176.312 2176.312 2176.638 2176.638 2176.572
2176.572 2176.954 2176.954 2177.323 2177.323 2177.834 2177.834 2178.341
2178.341 2178.751 2178.751 2179.025 2191.247 2189.856 2189.856 2188.321
2188.321 2186.771 2186.771 2185.213 2185.213 2183.657 2183.657 2182.121
2182.121 2180.621 2180.621 2179.537 2179.537 2178.114 2178.114 2176.871
2176.871 2175.965 2175.965 2175.31 2175.31 2175.315 2175.315 2175.161
2175.161 2175.08 2175.08 2175.311 2175.311 2175.242 2175.242 2175.104
2175.104 2174.897 2174.897 2174.927 2174.927 2175.187 2175.187 2175.804
2175.804 2176.617 2176.617 2177.216 2177.216 2177.799 2177.799 2178.218
2191.247 2189.856 2189.856 2188.321 2188.321 2186.771 2186.771 2185.213
2185.213 2183.657 2183.657 2182.121 2182.121 2180.621 2180.621 2179.537
2179.537 2178.114 2178.114 2176.871 2176.871 2175.965 2175.965 2175.31
2175.31 2175.315 2175.315 2175.161 2175.161 2175.08 2175.08 2175.311
2175.311 2175.242 2175.242 2175.104 2175.104 2174.897 2174.897 2174.927
2174.927 2175.187 2175.187 2175.804 2175.804 2176.617 2176.617 2177.216
2177.216 2177.799 2177.799 2178.218 2191.037 2189.642 2189.642 2188.094
2188.094 2186.526 2186.526 2184.947 2184.947 2183.375 2183.375 2181.832
2181.832 2180.775 2180.775 2179.322 2179.322 2177.969 2177.969 2176.779
2176.779 2175.855 2175.855 2175.096 2175.096 2174.524 2174.524 2174.612
2174.612 2174.418 2174.418 2174.266 2174.266 2174.109 2174.109 2173.898
2173.898 2173.592 2173.592 2173.313 2173.313 2173.42 2173.42 2174.449
2174.449 2175.533 2175.533 2176.459 2176.459 2177.185 2177.185 2177.701
2191.037 2189.642 2189.642 2188.094 2188.094 2186.526 2186.526 2184.947
2184.947 2183.375 2183.375 2181.832 2181.832 2180.775 2180.775 2179.322
2179.322 2177.969 2177.969 2176.779 2176.779 2175.855 2175.855 2175.096
2175.096 2174.524 2174.524 2174.612 2174.612 2174.418 2174.418 2174.266
2174.266 2174.109 2174.109 2173.898 2173.898 2173.592 2173.592 2173.313
2173.313 2173.42 2173.42 2174.449 2174.449 2175.533 2175.533 2176.459
2176.459 2177.185 2177.185 2177.701 2190.863 2189.356 2189.356 2187.917
2187.917 2186.337 2186.337 2184.737 2184.737 2183.149 2183.149 2182.049
2182.049 2180.574 2180.574 2179.159 2179.159 2177.841 2177.841 2176.664
2176.664 2175.721 2175.721 2174.898 2174.898 2174.26 2174.26 2173.778
2173.778 2173.424 2173.424 2173.68 2173.68 2173.502 2173.502 2173.297
2173.297 2173.009 2173.009 2172.425 2172.425 2172.723 2172.723 2173.861
2173.861 2175.025 2175.025 2176.044 2176.044 2176.849 2176.849 2177.402
2190.863 2189.356 2189.356 2187.917 2187.917 2186.337 2186.337 2184.737
2184.737 2183.149 2183.149 2182.049 2182.049 2180.574 2180.574 2179.159
2179.159 2177.841 2177.841 2176.664 2176.664 2175.721 2175.721 2174.898
2174.898 2174.26 2174.26 2173.778 2173.778 2173.424 2173.424 2173.68
2173.68 2173.502 2173.502 2173.297 2173.297 2173.009 2173.009 2172.425
2172.425 2172.723 2172.723 2173.861 2173.861 2175.025 2175.025 2176.044
2176.044 2176.849 2176.849 2177.402 2190.71 2189.227 2189.227 2187.786
2187.786 2186.196 2186.196 2184.858 2184.858 2183.359 2183.359 2181.872
2181.872 2180.418 2180.418 2179.021 2179.021 2177.713 2177.713 2176.528
2176.528 2175.553 2175.553 2174.686 2174.686 2174.003 2174.003 2173.492
2173.492 2173.134 2173.134 2172.913 2172.913 2173.106 2173.106 2172.42
2172.42 2172.454 2172.454 2172.54 2172.54 2173.077 2173.077 2173.881
2173.881 2174.938 2174.938 2175.954 2175.954 2176.791 2176.791 2177.304
2190.71 2189.227 2189.227 2187.786 2187.786 2186.196 2186.196 2184.858
2184.858 2183.359 2183.359 2181.872 2181.872 2180.418 2180.418 2179.021
2179.021 2177.713 2177.713 2176.528 2176.528 2175.553 2175.553 2174.686
2174.686 2174.003 2174.003 2173.492 2173.492 2173.134 2173.134 2172.913
2172.913 2173.106 2173.106 2172.42 2172.42 2172.454 2172.454 2172.54
2172.54 2173.077 2173.077 2173.881 2173.881 2174.938 2174.938 2175.954
2175.954 2176.791 2176.791 2177.304 2190.504 2189.045 2189.045 2187.619
2187.619 2186.185 2186.185 2184.701 2184.701 2183.215 2183.215 2181.741
2181.741 2180.295 2180.295 2178.902 2178.902 2177.584 2177.584 2176.373
2176.373 2175.295 2175.295 2174.441 2174.441 2173.726 2173.726 2173.197
2173.197 2172.844 2172.844 2171.928 2171.928 2171.93 2171.93 2172.255
2172.255 2172.536 2172.536 2172.885 2172.885 2173.368 2173.368 2174.061
2174.061 2175.007 2175.007 2176.061 2176.061 2176.971 2176.971 2177.388
2190.504 2189.045 2189.045 2187.619 2187.619 2186.185 2186.185 2184.701
2184.701 2183.215 2183.215 2181.741 2181.741 2180.295 2180.295 2178.902
2178.902 2177.584 2177.584 2176.373 2176.373 2175.295 2175.295 2174.441
2174.441 2173.726 2173.726 2173.197 2173.197 2172.844 2172.844 2171.928
2171.928 2171.93 2171.93 2172.255 2172.255 2172.536 2172.536 2172.885
2172.885 2173.368 2173.368 2174.061 2174.061 2175.007 2175.007 2176.061
2176.061 2176.971 2176.971 2177.388 2190.302 2188.812 2188.812 2187.311
2187.311 2185.919 2185.919 2184.36 2184.36 2182.813 2182.813 2181.313
2181.313 2180.206 2180.206 2178.802 2178.802 2177.461 2177.461 2176.208
2176.208 2175.073 2175.073 2174.156 2174.156 2173.415 2173.415 2172.267
2172.267 2171.798 2171.798 2171.588 2171.588 2171.65 2171.65 2171.99
2171.99 2172.619 2172.619 2172.95 2172.95 2173.491 2173.491 2174.305
2174.305 2175.185 2175.185 2176.18 2176.18 2177.222 2177.222 2177.395
2190.302 2188.812 2188.812 2187.311 2187.311 2185.919 2185.919 2184.36
2184.36 2182.813 2182.813 2181.313 2181.313 2180.206 2180.206 2178.802
2178.802 2177.461 2177.461 2176.208 2176.208 2175.073 2175.073 2174.156
2174.156 2173.415 2173.415 2172.267 2172.267 2171.798 2171.798 2171.588
2171.588 2171.65 2171.65 2171.99 2171.99 2172.619 2172.619 2172.95
2172.95 2173.491 2173.491 2174.305 2174.305 2175.185 2175.185 2176.18
2176.18 2177.222 2177.222 2177.395 2190.088 2188.584 2188.584 2187.016
2187.016 2185.761 2185.761 2184.209 2184.209 2182.66 2182.66 2181.155
2181.155 2179.708 2179.708 2178.33 2178.33 2177.039 2177.039 2175.853
2175.853 2174.791 2174.791 2173.853 2173.853 2173.062 2173.062 2172.443
2172.443 2172.016 2172.016 2171.799 2171.799 2171.8 2171.8 2172.021
2172.021 2172.459 2172.459 2172.797 2172.797 2173.528 2173.528 2174.238
2174.238 2175.082 2175.082 2175.978 2175.978 2176.591 2176.591 2177.051
2190.088 2188.584 2188.584 2187.016 2187.016 2185.761 2185.761 2184.209
2184.209 2182.66 2182.66 2181.155 2181.155 2179.708 2179.708 2178.33
2178.33 2177.039 2177.039 2175.853 2175.853 2174.791 2174.791 2173.853
2173.853 2173.062 2173.062 2172.443 2172.443 2172.016 2172.016 2171.799
2171.799 2171.8 2171.8 2172.021 2172.021 2172.459 2172.459 2172.797
2172.797 2173.528 2173.528 2174.238 2174.238 2175.082 2175.082 2175.978
2175.978 2176.591 2176.591 2177.051 2189.962 2188.372 2188.372 2187.173
2187.173 2185.622 2185.622 2184.02 2184.02 2182.524 2182.524 2181.012
2181.012 2179.548 2179.548 2178.141 2178.141 2176.8 2176.8 2175.537
2175.537 2174.32 2174.32 2173.325 2173.325 2172.668 2172.668 2171.989
2171.989 2171.531 2171.531 2171.309 2171.309 2171.331 2171.331 2171.585
2171.585 2172.073 2172.073 2172.428 2172.428 2173.279 2173.279 2174.043
2174.043 2174.872 2174.872 2175.384 2175.384 2176.072 2176.072 2176.502
2189.962 2188.372 2188.372 2187.173 2187.173 2185.622 2185.622 2184.02
2184.02 2182.524 2182.524 2181.012 2181.012 2179.548 2179.548 2178.141
2178.141 2176.8 2176.8 2175.537 2175.537 2174.32 2174.32 2173.325
2173.325 2172.668 2172.668 2171.989 2171.989 2171.531 2171.531 2171.309
2171.309 2171.331 2171.331 2171.585 2171.585 2172.073 2172.073 2172.428
2172.428 2173.279 2173.279 2174.043 2174.043 2174.872 2174.872 2175.384
2175.384 2176.072 2176.072 2176.502 2189.819 2188.202 2188.202 2187.042
2187.042 2185.502 2185.502 2183.908 2183.908 2182.414 2182.414 2180.897
2180.897 2179.415 2179.415 2177.973 2177.973 2176.608 2176.608 2175.255
2175.255 2173.839 2173.839 2172.645 2172.645 2171.804 2171.804 2171.471
2171.471 2170.963 2170.963 2170.726 2170.726 2170.762 2170.762 2171.128
2171.128 2171.611 2171.611 2172.194 2172.194 2172.958 2172.958 2173.8
2173.8 2174.313 2174.313 2175.076 2175.076 2175.715 2175.715 2176.17
2189.819 2188.202 2188.202 2187.042 2187.042 2185.502 2185.502 2183.908
2183.908 2182.414 2182.414 2180.897 2180.897 2179.415 2179.415 2177.973
2177.973 2176.608 2176.608 2175.255 2175.255 2173.839 2173.839 2172.645
2172.645 2171.804 2171.804 2171.471 2171.471 2170.963 2170.963 2170.726
2170.726 2170.762 2170.762 2171.128 2171.128 2171.611 2171.611 2172.194
2172.194 2172.958 2172.958 2173.8 2173.8 2174.313 2174.313 2175.076
2175.076 2175.715 2175.715 2176.17 2189.712 2188.079 2188.079 2186.933
2186.933 2185.41 2185.41 2183.829 2183.829 2182.275 2182.275 2180.825
2180.825 2179.333 2179.333 2177.825 2177.825 2176.358 2176.358 2174.936
2174.936 2173.406 2173.406 2172.13 2172.13 2171.262 2171.262 2170.328
2170.328 2169.705 2169.705 2170.055 2170.055 2170.111 2170.111 2170.518
2170.518 2171.088 2171.088 2171.738 2171.738 2172.643 2172.643 2173.31
2173.31 2174.143 2174.143 2174.899 2174.899 2175.529 2175.529 2176.005
2189.712 2188.079 2188.079 2186.933 2186.933 2185.41 2185.41 2183.829
2183.829 2182.275 2182.275 2180.825 2180.825 2179.333 2179.333 2177.825
2177.825 2176.358 2176.358 2174.936 2174.936 2173.406 2173.406 2172.13
2172.13 2171.262 2171.262 2170.328 2170.328 2169.705 2169.705 2170.055
2170.055 2170.111 2170.111 2170.518 2170.518 2171.088 2171.088 2171.738
2171.738 2172.643 2172.643 2173.31 2173.31 2174.143 2174.143 2174.899
2174.899 2175.529 2175.529 2176.005 2189.645 2188.002 2188.002 2186.844
2186.844 2185.347 2185.347 2183.79 2183.79 2182.259 2182.259 2180.747
2180.747 2179.196 2179.196 2177.67 2177.67 2176.159 2176.159 2174.499
2174.499 2173.052 2173.052 2171.68 2171.68 2170.441 2170.441 2169.678
2169.678 2169 2169 2168.753 2168.753 2169.492 2169.492 2169.866
2169.866 2170.525 2170.525 2171.312 2171.312 2172.415 2172.415 2173.228
2173.228 2174.125 2174.125 2174.891 2174.891 2175.516 2175.516 2176.006
2189.645 2188.002 2188.002 2186.844 2186.844 2185.347 2185.347 2183.79
2183.79 2182.259 2182.259 2180.747 2180.747 2179.196 2179.196 2177.67
2177.67 2176.159 2176.159 2174.499 2174.499 2173.052 2173.052 2171.68
2171.68 2170.441 2170.441 2169.678 2169.678 2169 2169 2168.753
2168.753 2169.492 2169.492 2169.866 2169.866 2170.525 2170.525 2171.312
2171.312 2172.415 2172.415 2173.228 2173.228 2174.125 2174.125 2174.891
2174.891 2175.516 2175.516 2176.006 2189.617 2187.971 2187.971 2186.775
2186.775 2185.317 2185.317 2183.8 2183.8 2182.307 2182.307 2180.616
2180.616 2179.13 2179.13 2177.589 2177.589 2176.046 2176.046 2174.345
2174.345 2172.817 2172.817 2171.343 2171.343 2169.979 2169.979 2169.04
2169.04 2168.276 2168.276 2168.198 2168.198 2168.486 2168.486 2169.256
2169.256 2169.952 2169.952 2170.997 2170.997 2172.23 2172.23 2173.385
2173.385 2174.325 2174.325 2175.075 2175.075 2175.676 2175.676 2176.159
2189.617 2187.971 2187.971 2186.775 2186.775 2185.317 2185.317 2183.8
2183.8 2182.307 2182.307 2180.616 2180.616 2179.13 2179.13 2177.589
2177.589 2176.046 2176.046 2174.345 2174.345 2172.817 2172.817 2171.343
2171.343 2169.979 2169.979 2169.04 2169.04 2168.276 2168.276 2168.198
2168.198 2168.486 2168.486 2169.256 2169.256 2169.952 2169.952 2170.997
2170.997 2172.23 2172.23 2173.385 2173.385 2174.325 2174.325 2175.075
2175.075 2175.676 2175.676 2176.159 2189.613 2187.987 2187.987 2186.729
2186.729 2185.325 2185.325 2183.685 2183.685 2182.168 2182.168 2180.641
2180.641 2179.103 2179.103 2177.602 2177.602 2176.044 2176.044 2174.333
2174.333 2172.746 2172.746 2171.195 2171.195 2169.708 2169.708 2168.354
2168.354 2167.547 2167.547 2167.752 2167.752 2168.349 2168.349 2169.001
2169.001 2169.581 2169.581 2171.041 2171.041 2172.688 2172.688 2173.906
2173.906 2174.783 2174.783 2175.448 2175.448 2175.984 2175.984 2176.439
2189.613 2187.987 2187.987 2186.729 2186.729 2185.325 2185.325 2183.685
2183.685 2182.168 2182.168 2180.641 2180.641 2179.103 2179.103 2177.602
2177.602 2176.044 2176.044 2174.333 2174.333 2172.746 2172.746 2171.195
2171.195 2169.708 2169.708 2168.354 2168.354 2167.547 2167.547 2167.752
2167.752 2168.349 2168.349 2169.001 2169.001 2169.581 2169.581 2171.041
2171.041 2172.688 2172.688 2173.906 2173.906 2174.783 2174.783 2175.448
2175.448 2175.984 2175.984 2176.439 2189.685 2188.048 2188.048 2186.721
2186.721 2185.234 2185.234 2183.752 2183.752 2182.251 2182.251 2180.738
2180.738 2179.221 2179.221 2177.698 2177.698 2176.101 2176.101 2174.473
2174.473 2172.865 2172.865 2171.305 2171.305 2169.598 2169.598 2168.348
2168.348 2167.33 2167.33 2167.959 2167.959 2168.821 2168.821 2169.758
2169.758 2170.847 2170.847 2172.362 2172.362 2173.893 2173.893 2174.919
2174.919 2175.578 2175.578 2176.073 2176.073 2176.499 2176.499 2176.891
2189.685 2188.048 2188.048 2186.721 2186.721 2185.234 2185.234 2183.752
2183.752 2182.251 2182.251 2180.738 2180.738 2179.221 2179.221 2177.698
2177.698 2176.101 2176.101 2174.473 2174.473 2172.865 2172.865 2171.305
2171.305 2169.598 2169.598 2168.348 2168.348 2167.33 2167.33 2167.959
2167.959 2168.821 2168.821 2169.758 2169.758 2170.847 2170.847 2172.362
2172.362 2173.893 2173.893 2174.919 2174.919 2175.578 2175.578 2176.073
2176.073 2176.499 2176.499 2176.891 2189.811 2188.146 2188.146 2186.727
2186.727 2185.367 2185.367 2183.62 2183.62 2182.065 2182.065 2180.518
2180.518 2178.993 2178.993 2177.502 2177.502 2175.978 2175.978 2174.415
2174.415 2172.924 2172.924 2171.523 2171.523 2170.247 2170.247 2169.198
2169.198 2168.712 2168.712 2169.004 2169.004 2169.811 2169.811 2170.935
2170.935 2172.328 2172.328 2174.11 2174.11 2175.559 2175.559 2176.049
2176.049 2176.315 2176.315 2176.804 2176.804 2177.265 2177.265 2177.744
2189.811 2188.146 2188.146 2186.727 2186.727 2185.367 2185.367 2183.62
2183.62 2182.065 2182.065 2180.518 2180.518 2178.993 2178.993 2177.502
2177.502 2175.978 2175.978 2174.415 2174.415 2172.924 2172.924 2171.523
2171.523 2170.247 2170.247 2169.198 2169.198 2168.712 2168.712 2169.004
2169.004 2169.811 2169.811 2170.935 2170.935 2172.328 2172.328 2174.11
2174.11 2175.559 2175.559 2176.049 2176.049 2176.315 2176.315 2176.804
2176.804 2177.265 2177.265 2177.744 2189.921 2188.379 2188.379 2186.917
2186.917 2185.418 2185.418 2183.852 2183.852 2182.326 2182.326 2180.789
2180.789 2179.27 2179.27 2177.772 2177.772 2176.239 2176.239 2174.751
2174.751 2173.375 2173.375 2172.108 2172.108 2171.028 2171.028 2170.325
2170.325 2169.97 2169.97 2170.206 2170.206 2170.899 2170.899 2172.026
2172.026 2173.538 2173.538 2175.42 2175.42 2176.986 2176.986 2176.846
2176.846 2176.895 2176.895 2177.208 2177.208 2177.725 2177.725 2178.445
2189.921 2188.379 2188.379 2186.917 2186.917 2185.418 2185.418 2183.852
2183.852 2182.326 2182.326 2180.789 2180.789 2179.27 2179.27 2177.772
2177.772 2176.239 2176.239 2174.751 2174.751 2173.375 2173.375 2172.108
2172.108 2171.028 2171.028 2170.325 2170.325 2169.97 2169.97 2170.206
2170.206 2170.899 2170.899 2172.026 2172.026 2173.538 2173.538 2175.42
2175.42 2176.986 2176.986 2176.846 2176.846 2176.895 2176.895 2177.208
2177.208 2177.725 2177.725 2178.445 2190.273 2188.634 2188.634 2187.045
2187.045 2185.734 2185.734 2184.177 2184.177 2182.622 2182.622 2181.086
2181.086 2179.578 2179.578 2178.102 2178.102 2176.594 2176.594 2175.196
2175.196 2173.898 2173.898 2172.755 2172.755 2171.862 2171.862 2171.332
2171.332 2171.061 2171.061 2171.275 2171.275 2171.858 2171.858 2172.86
2172.86 2174.16 2174.16 2175.591 2175.591 2176.589 2176.589 2176.84
2176.84 2177.001 2177.001 2177.418 2177.418 2178.276 2178.276 2179.023
2196.254 2195.128 2195.128 2194.025 2194.025 2193.13 2193.13 2192.263
2192.263 2191.42 2191.42 2190.597 2190.597 2189.805 2189.805 2189.066
2189.066 2188.406 2188.406 2187.857 2187.857 2187.466 2187.466 2187.284
2187.284 2187.351 2187.351 2187.636 2187.636 2188.02 2188.02 2188.542
2188.542 2189.091 2189.091 2189.571 2189.571 2189.869 2189.869 2189.911
2189.911 2189.715 2189.715 2189.465 2189.465 2189.05 2189.05 2188.615
2188.615 2188.182 2188.182 2187.76 2195.693 2194.502 2194.502 2193.569
2193.569 2192.468 2192.468 2191.466 2191.466 2190.511 2190.511 2189.575
2189.575 2188.67 2188.67 2187.81 2187.81 2187.038 2187.038 2186.374
2186.374 2185.866 2185.866 2185.597 2185.597 2185.657 2185.657 2186.075
2186.075 2186.703 2186.703 2187.458 2187.458 2188.206 2188.206 2188.932
2188.932 2189.422 2189.422 2189.501 2189.501 2189.325 2189.325 2188.91
2188.91 2188.461 2188.461 2188.026 2188.026 2187.621 2187.621 2187.245
2195.693 2194.502 2194.502 2193.569 2193.569 2192.468 2192.468 2191.466
2191.466 2190.511 2190.511 2189.575 2189.575 2188.67 2188.67 2187.81
2187.81 2187.038 2187.038 2186.374 2186.374 2185.866 2185.866 2185.597
2185.597 2185.657 2185.657 2186.075 2186.075 2186.703 2186.703 2187.458
2187.458 2188.206 2188.206 2188.932 2188.932 2189.422 2189.422 2189.501
2189.501 2189.325 2189.325 2188.91 2188.91 2188.461 2188.461 2188.026
2188.026 2187.621 2187.621 2187.245 2195.163 2193.907 2193.907 2192.978
2192.978 2191.808 2191.808 2190.706 2190.706 2189.663 2189.663 2188.599
2188.599 2187.58 2187.58 2186.611 2186.611 2185.712 2185.712 2184.898
2184.898 2184.233 2184.233 2183.796 2183.796 2183.852 2183.852 2184.434
2184.434 2185.278 2185.278 2186.234 2186.234 2187.25 2187.25 2188.257
2188.257 2189.06 2189.06 2189.156 2189.156 2188.707 2188.707 2188.199
2188.199 2187.724 2187.724 2187.303 2187.303 2186.937 2186.937 2186.622
2195.163 2193.907 2193.907 2192.978 2192.978 2191.808 2191.808 2190.706
2190.706 2189.663 2189.663 2188.599 2188.599 2187.58 2187.58 2186.611
2186.611 2185.712 2185.712 2184.898 2184.898 2184.233 2184.233 2183.796
2183.796 2183.852 2183.852 2184.434 2184.434 2185.278 2185.278 2186.234
2186.234 2187.25 2187.25 2188.257 2188.257 2189.06 2189.06 2189.156
2189.156 2188.707 2188.707 2188.199 2188.199 2187.724 2187.724 2187.303
2187.303 2186.937 2186.937 2186.622 2194.667 2193.67 2193.67 2192.392
2192.392 2191.156 2191.156 2189.966 2189.966 2188.823 2188.823 2187.673
2187.673 2186.543 2186.543 2185.464 2185.464 2184.454 2184.454 2183.532
2183.532 2182.714 2182.714 2182.011 2182.011 2181.94 2181.94 2182.852
2182.852 2183.86 2183.86 2184.925 2184.925 2186.048 2186.048 2187.303
2187.303 2188.506 2188.506 2188.392 2188.392 2187.828 2187.828 2187.333
2187.333 2186.906 2186.906 2186.538 2186.538 2186.22 2186.22 2185.938
2194.667 2193.67 2193.67 2192.392 2192.392 2191.156 2191.156 2189.966
2189.966 2188.823 2188.823 2187.673 2187.673 2186.543 2186.543 2185.464
2185.464 2184.454 2184.454 2183.532 2183.532 2182.714 2182.714 2182.011
2182.011 2181.94 2181.94 2182.852 2182.852 2183.86 2183.86 2184.925
2184.925 2186.048 2186.048 2187.303 2187.303 2188.506 2188.506 2188.392
2188.392 2187.828 2187.828 2187.333 2187.333 2186.906 2186.906 2186.538
2186.538 2186.22 2186.22 2185.938 2194.213 2193.148 2193.148 2191.822
2191.822 2190.523 2190.523 2189.254 2189.254 2188.02 2188.02 2186.821
2186.821 2185.572 2185.572 2184.393 2184.393 2183.294 2183.294 2182.307
2182.307 2181.462 2181.462 2180.821 2180.821 2180.843 2180.843 2181.728
2181.728 2182.719 2182.719 2183.745 2183.745 2184.781 2184.781 2185.782
2185.782 2186.557 2186.557 2186.837 2186.837 2186.462 2186.462 2186.096
2186.096 2185.761 2185.761 2185.471 2185.471 2185.219 2185.219 2184.988
2194.213 2193.148 2193.148 2191.822 2191.822 2190.523 2190.523 2189.254
2189.254 2188.02 2188.02 2186.821 2186.821 2185.572 2185.572 2184.393
2184.393 2183.294 2183.294 2182.307 2182.307 2181.462 2181.462 2180.821
2180.821 2180.843 2180.843 2181.728 2181.728 2182.719 2182.719 2183.745
2183.745 2184.781 2184.781 2185.782 2185.782 2186.557 2186.557 2186.837
2186.837 2186.462 2186.462 2186.096 2186.096 2185.761 2185.761 2185.471
2185.471 2185.219 2185.219 2184.988 2194.031 2192.651 2192.651 2191.28
2191.28 2189.923 2189.923 2188.583 2188.583 2187.266 2187.266 2185.975
2185.975 2184.719 2184.719 2183.404 2183.404 2182.233 2182.233 2181.221
2181.221 2180.432 2180.432 2180.096 2180.096 2180.085 2180.085 2180.561
2180.561 2181.562 2181.562 2182.418 2182.418 2183.266 2183.266 2184.027
2184.027 2184.566 2184.566 2185.014 2185.014 2184.927 2184.927 2184.74
2184.74 2184.437 2184.437 2184.263 2184.263 2184.105 2184.105 2183.946
2194.031 2192.651 2192.651 2191.28 2191.28 2189.923 2189.923 2188.583
2188.583 2187.266 2187.266 2185.975 2185.975 2184.719 2184.719 2183.404
2183.404 2182.233 2182.233 2181.221 2181.221 2180.432 2180.432 2180.096
2180.096 2180.085 2180.085 2180.561 2180.561 2181.562 2181.562 2182.418
2182.418 2183.266 2183.266 2184.027 2184.027 2184.566 2184.566 2185.014
2185.014 2184.927 2184.927 2184.74 2184.74 2184.437 2184.437 2184.263
2184.263 2184.105 2184.105 2183.946 2193.598 2192.189 2192.189 2190.778
2190.778 2189.368 2189.368 2187.965 2187.965 2186.575 2186.575 2185.202
2185.202 2183.858 2183.858 2182.557 2182.557 2181.251 2181.251 2180.204
2180.204 2179.465 2179.465 2179.241 2179.241 2179.249 2179.249 2179.585
2179.585 2180.134 2180.134 2181.13 2181.13 2181.754 2181.754 2182.291
2182.291 2182.674 2182.674 2183.184 2183.184 2183.208 2183.208 2183.172
2183.172 2183.122 2183.122 2182.968 2182.968 2182.928 2182.928 2182.865
2193.598 2192.189 2192.189 2190.778 2190.778 2189.368 2189.368 2187.965
2187.965 2186.575 2186.575 2185.202 2185.202 2183.858 2183.858 2182.557
2182.557 2181.251 2181.251 2180.204 2180.204 2179.465 2179.465 2179.241
2179.241 2179.249 2179.249 2179.585 2179.585 2180.134 2180.134 2181.13
2181.13 2181.754 2181.754 2182.291 2182.291 2182.674 2182.674 2183.184
2183.184 2183.208 2183.208 2183.172 2183.172 2183.122 2183.122 2182.968
2182.968 2182.928 2182.928 2182.865 2193.227 2191.774 2191.774 2190.325
2190.325 2188.869 2188.869 2187.413 2187.413 2185.96 2185.96 2184.519
2184.519 2183.097 2183.097 2181.709 2181.709 2180.386 2180.386 2179.205
2179.205 2178.614 2178.614 2178.356 2178.356 2178.393 2178.393 2178.637
2178.637 2179.021 2179.021 2179.471 2179.471 2180.322 2180.322 2180.651
2180.651 2180.887 2180.887 2181.379 2181.379 2181.461 2181.461 2181.552
2181.552 2181.66 2181.66 2181.765 2181.765 2181.837 2181.837 2181.794
2193.227 2191.774 2191.774 2190.325 2190.325 2188.869 2188.869 2187.413
2187.413 2185.96 2185.96 2184.519 2184.519 2183.097 2183.097 2181.709
2181.709 2180.386 2180.386 2179.205 2179.205 2178.614 2178.614 2178.356
2178.356 2178.393 2178.393 2178.637 2178.637 2179.021 2179.021 2179.471
2179.471 2180.322 2180.322 2180.651 2180.651 2180.887 2180.887 2181.379
2181.379 2181.461 2181.461 2181.552 2181.552 2181.66 2181.66 2181.765
2181.765 2181.837 2181.837 2181.794 2192.895 2191.426 2191.426 2189.943
2189.943 2188.448 2188.448 2186.945 2186.945 2185.443 2185.443 2183.95
2183.95 2182.476 2182.476 2181.028 2181.028 2179.596 2179.596 2178.251
2178.251 2177.664 2177.664 2177.572 2177.572 2177.612 2177.612 2177.765
2177.765 2177.999 2177.999 2178.266 2178.266 2178.521 2178.521 2179.134
2179.134 2179.205 2179.205 2179.277 2179.277 2179.709 2179.709 2179.925
2179.925 2180.211 2180.211 2180.499 2180.499 2180.727 2180.727 2180.859
2192.895 2191.426 2191.426 2189.943 2189.943 2188.448 2188.448 2186.945
2186.945 2185.443 2185.443 2183.95 2183.95 2182.476 2182.476 2181.028
2181.028 2179.596 2179.596 2178.251 2178.251 2177.664 2177.664 2177.572
2177.572 2177.612 2177.612 2177.765 2177.765 2177.999 2177.999 2178.266
2178.266 2178.521 2178.521 2179.134 2179.134 2179.205 2179.205 2179.277
2179.277 2179.709 2179.709 2179.925 2179.925 2180.211 2180.211 2180.499
2180.499 2180.727 2180.727 2180.859 2192.617 2191.116 2191.116 2189.603
2189.603 2188.077 2188.077 2186.543 2186.543 2185.01 2185.01 2183.489
2183.489 2181.99 2181.99 2180.527 2180.527 2179.12 2179.12 2177.951
2177.951 2177.091 2177.091 2176.945 2176.945 2176.986 2176.986 2177.015
2177.015 2177.101 2177.101 2177.204 2177.204 2177.282 2177.282 2177.312
2177.312 2177.638 2177.638 2177.572 2177.572 2177.954 2177.954 2178.323
2178.323 2178.834 2178.834 2179.341 2179.341 2179.751 2179.751 2180.025
2192.617 2191.116 2191.116 2189.603 2189.603 2188.077 2188.077 2186.543
2186.543 2185.01 2185.01 2183.489 2183.489 2181.99 2181.99 2180.527
2180.527 2179.12 2179.12 2177.951 2177.951 2177.091 2177.091 2176.945
2176.945 2176.986 2176.986 2177.015 2177.015 2177.101 2177.101 2177.204
2177.204 2177.282 2177.282 2177.312 2177.312 2177.638 2177.638 2177.572
2177.572 2177.954 2177.954 2178.323 2178.323 2178.834 2178.834 2179.341
2179.341 2179.751 2179.751 2180.025 2192.247 2190.856 2190.856 2189.321
2189.321 2187.771 2187.771 2186.213 2186.213 2184.657 2184.657 2183.121
2183.121 2181.621 2181.621 2180.537 2180.537 2179.114 2179.114 2177.871
2177.871 2176.965 2176.965 2176.31 2176.31 2176.315 2176.315 2176.161
2176.161 2176.08 2176.08 2176.311 2176.311 2176.242 2176.242 2176.104
2176.104 2175.897 2175.897 2175.927 2175.927 2176.187 2176.187 2176.804
2176.804 2177.617 2177.617 2178.216 2178.216 2178.799 2178.799 2179.218
2192.247 2190.856 2190.856 2189.321 2189.321 2187.771 2187.771 2186.213
2186.213 2184.657 2184.657 2183.121 2183.121 2181.621 2181.621 2180.537
2180.537 2179.114 2179.114 2177.871 2177.871 2176.965 2176.965 2176.31
2176.31 2176.315 2176.315 2176.161 2176.161 2176.08 2176.08 2176.311
2176.311 2176.242 2176.242 2176.104 2176.104 2175.897 2175.897 2175.927
2175.927 2176.187 2176.187 2176.804 2176.804 2177.617 2177.617 2178.216
2178.216 2178.799 2178.799 2179.218 2192.037 2190.642 2190.642 2189.094
2189.094 2187.526 2187.526 2185.947 2185.947 2184.375 2184.375 2182.832
2182.832 2181.775 2181.775 2180.322 2180.322 2178.969 2178.969 2177.779
2177.779 2176.855 2176.855 2176.096 2176.096 2175.524 2175.524 2175.612
2175.612 2175.418 2175.418 2175.266 2175.266 2175.109 2175.109 2174.898
2174.898 2174.592 2174.592 2174.313 2174.313 2174.42 2174.42 2175.449
2175.449 2176.533 2176.533 2177.459 2177.459 2178.185 2178.185 2178.701
2192.037 2190.642 2190.642 2189.094 2189.094 2187.526 2187.526 2185.947
2185.947 2184.375 2184.375 2182.832 2182.832 2181.775 2181.775 2180.322
2180.322 2178.969 2178.969 2177.779 2177.779 2176.855 2176.855 2176.096
2176.096 2175.524 2175.524 2175.612 2175.612 2175.418 2175.418 2175.266
2175.266 2175.109 2175.109 2174.898 2174.898 2174.592 2174.592 2174.313
2174.313 2174.42 2174.42 2175.449 2175.449 2176.533 2176.533 2177.459
2177.459 2178.185 2178.185 2178.701 2191.863 2190.356 2190.356 2188.917
2188.917 2187.337 2187.337 2185.737 2185.737 2184.149 2184.149 2183.049
2183.049 2181.574 2181.574 2180.159 2180.159 2178.841 2178.841 2177.664
2177.664 2176.721 2176.721 2175.898 2175.898 2175.26 2175.26 2174.778
2174.778 2174.424 2174.424 2174.68 2174.68 2174.502 2174.502 2174.297
2174.297 2174.009 2174.009 2173.425 2173.425 2173.723 2173.723 2174.861
2174.861 2176.025 2176.025 2177.044 2177.044 2177.849 2177.849 2178.402
2191.863 2190.356 2190.356 2188.917 2188.917 2187.337 2187.337 2185.737
2185.737 2184.149 2184.149 2183.049 2183.049 2181.574 2181.574 2180.159
2180.159 2178.841 2178.841 2177.664 2177.664 2176.721 2176.721 2175.898
2175.898 2175.26 2175.26 2174.778 2174.778 2174.424 2174.424 2174.68
2174.68 2174.502 2174.502 2174.297 2174.297 2174.009 2174.009 2173.425
2173.425 2173.723 2173.723 2174.861 2174.861 2176.025 2176.025 2177.044
2177.044 2177.849 2177.849 2178.402 2191.71 2190.227 2190.227 2188.786
2188.786 2187.196 2187.196 2185.858 2185.858 2184.359 2184.359 2182.872
2182.872 2181.418 2181.418 2180.021 2180.021 2178.713 2178.713 2177.528
2177.528 2176.553 2176.553 2175.686 2175.686 2175.003 2175.003 2174.492
2174.492 2174.134 2174.134 2173.913 2173.913 2174.106 2174.106 2173.42
2173.42 2173.454 2173.454 2173.54 2173.54 2174.077 2174.077 2174.881
2174.881 2175.938 2175.938 2176.954 2176.954 2177.791 2177.791 2178.304
2191.71 2190.227 2190.227 2188.786 2188.786 2187.196 2187.196 2185.858
2185.858 2184.359 2184.359 2182.872 2182.872 2181.418 2181.418 2180.021
2180.021 2178.713 2178.713 2177.528 2177.528 2176.553 2176.553 2175.686
2175.686 2175.003 2175.003 2174.492 2174.492 2174.134 2174.134 2173.913
2173.913 2174.106 2174.106 2173.42 2173.42 2173.454 2173.454 2173.54
2173.54 2174.077 2174.077 2174.881 2174.881 2175.938 2175.938 2176.954
2176.954 2177.791 2177.791 2178.304 2191.504 2190.045 2190.045 2188.619
2188.619 2187.185 2187.185 2185.701 2185.701 2184.215 2184.215 2182.741
2182.741 2181.295 2181.295 2179.902 2179.902 2178.584 2178.584 2177.373
2177.373 2176.295 2176.295 2175.441 2175.441 2174.726 2174.726 2174.197
2174.197 2173.844 2173.844 2172.928 2172.928 2172.93 2172.93 2173.255
2173.255 2173.536 2173.536 2173.885 2173.885 2174.368 2174.368 2175.061
2175.061 2176.007 2176.007 2177.061 2177.061 2177.971 2177.971 2178.388
2191.504 2190.045 2190.045 2188.619 2188.619 2187.185 2187.185 2185.701
2185.701 2184.215 2184.215 2182.741 2182.741 2181.295 2181.295 2179.902
2179.902 2178.584 2178.584 2177.373 2177.373 2176.295 2176.295 2175.441
2175.441 2174.726 2174.726 2174.197 2174.197 2173.844 2173.844 2172.928
2172.928 2172.93 2172.93 2173.255 2173.255 2173.536 2173.536 2173.885
2173.885 2174.368 2174.368 2175.061 2175.061 2176.007 2176.007 2177.061
2177.061 2177.971 2177.971 2178.388 2191.302 2189.812 2189.812 2188.311
2188.311 2186.919 2186.919 2185.36 2185.36 2183.813 2183.813 2182.313
2182.313 2181.206 2181.206 2179.802 2179.802 2178.461 2178.461 2177.208
2177.208 2176.073 2176.073 2175.156 2175.156 2174.415 2174.415 2173.267
2173.267 2172.798 2172.798 2172.588 2172.588 2172.65 2172.65 2172.99
2172.99 2173.619 2173.619 2173.95 2173.95 2174.491 2174.491 2175.305
2175.305 2176.185 2176.185 2177.18 2177.18 2178.222 2178.222 2178.395
2191.302 2189.812 2189.812 2188.311 2188.311 2186.919 2186.919 2185.36
2185.36 2183.813 2183.813 2182.313 2182.313 2181.206 2181.206 2179.802
2179.802 2178.461 2178.461 2177.208 2177.208 2176.073 2176.073 2175.156
2175.156 2174.415 2174.415 2173.267 2173.267 2172.798 2172.798 2172.588
2172.588 2172.65 2172.65 2172.99 2172.99 2173.619 2173.619 2173.95
2173.95 2174.491 2174.491 2175.305 2175.305 2176.185 2176.185 2177.18
2177.18 2178.222 2178.222 2178.395 2191.088 2189.584 2189.584 2188.016
2188.016 2186.761 2186.761 2185.209 2185.209 2183.66 2183.66 2182.155
2182.155 2180.708 2180.708 2179.33 2179.33 2178.039 2178.039 2176.853
2176.853 2175.791 2175.791 2174.853 2174.853 2174.062 2174.062 2173.443
2173.443 2173.016 2173.016 2172.799 2172.799 2172.8 2172.8 2173.021
2173.021 2173.459 2173.459 2173.797 2173.797 2174.528 2174.528 2175.238
2175.238 2176.082 2176.082 2176.978 2176.978 2177.591 2177.591 2178.051
2191.088 2189.584 2189.584 2188.016 2188.016 2186.761 2186.761 2185.209
2185.209 2183.66 2183.66 2182.155 2182.155 2180.708 2180.708 2179.33
2179.33 2178.039 2178.039 2176.853 2176.853 2175.791 2175.791 2174.853
2174.853 2174.062 2174.062 2173.443 2173.443 2173.016 2173.016 2172.799
2172.799 2172.8 2172.8 2173.021 2173.021 2173.459 2173.459 2173.797
2173.797 2174.528 2174.528 2175.238 2175.238 2176.082 2176.082 2176.978
2176.978 2177.591 2177.591 2178.051 2190.962 2189.372 2189.372 2188.173
2188.173 2186.622 2186.622 2185.02 2185.02 2183.524 2183.524 2182.012
2182.012 2180.548 2180.548 2179.141 2179.141 2177.8 2177.8 2176.537
2176.537 2175.32 2175.32 2174.325 2174.325 2173.668 2173.668 2172.989
2172.989 2172.531 2172.531 2172.309 2172.309 2172.331 2172.331 2172.585
2172.585 2173.073 2173.073 2173.428 2173.428 2174.279 2174.279 2175.043
2175.043 2175.872 2175.872 2176.384 2176.384 2177.072 2177.072 2177.502
2190.962 2189.372 2189.372 2188.173 2188.173 2186.622 2186.622 2185.02
2185.02 2183.524 2183.524 2182.012 2182.012 2180.548 2180.548 2179.141
2179.141 2177.8 2177.8 2176.537 2176.537 2175.32 2175.32 2174.325
2174.325 2173.668 2173.668 2172.989 2172.989 2172.531 2172.531 2172.309
2172.309 2172.331 2172.331 2172.585 2172.585 2173.073 2173.073 2173.428
2173.428 2174.279 2174.279 2175.043 2175.043 2175.872 2175.872 2176.384
2176.384 2177.072 2177.072 2177.502 2190.819 2189.202 2189.202 2188.042
2188.042 2186.502 2186.502 2184.908 2184.908 2183.414 2183.414 2181.897
2181.897 2180.415 2180.415 2178.973 2178.973 2177.608 2177.608 2176.255
2176.255 2174.839 2174.839 2173.645 2173.645 2172.804 2172.804 2172.471
2172.471 2171.963 2171.963 2171.726 2171.726 2171.762 2171.762 2172.128
2172.128 2172.611 2172.611 2173.194 2173.194 2173.958 2173.958 2174.8
2174.8 2175.313 2175.313 2176.076 2176.076 2176.715 2176.715 2177.17
2190.819 2189.202 2189.202 2188.042 2188.042 2186.502 2186.502 2184.908
2184.908 2183.414 2183.414 2181.897 2181.897 2180.415 2180.415 2178.973
2178.973 2177.608 2177.608 2176.255 2176.255 2174.839 2174.839 2173.645
2173.645 2172.804 2172.804 2172.471 2172.471 2171.963 2171.963 2171.726
2171.726 2171.762 2171.762 2172.128 2172.128 2172.611 2172.611 2173.194
2173.194 2173.958 2173.958 2174.8 2174.8 2175.313 2175.313 2176.076
2176.076 2176.715 2176.715 2177.17 2190.712 2189.079 2189.079 2187.933
2187.933 2186.41 2186.41 2184.829 2184.829 2183.275 2183.275 2181.825
2181.825 2180.333 2180.333 2178.825 2178.825 2177.358 2177.358 2175.936
2175.936 2174.406 2174.406 2173.13 2173.13 2172.262 2172.262 2171.328
2171.328 2170.705 2170.705 2171.055 2171.055 2171.111 2171.111 2171.518
2171.518 2172.088 2172.088 2172.738 2172.738 2173.643 2173.643 2174.31
2174.31 2175.143 2175.143 2175.899 2175.899 2176.529 2176.529 2177.005
2190.712 2189.079 2189.079 2187.933 2187.933 2186.41 2186.41 2184.829
2184.829 2183.275 2183.275 2181.825 2181.825 2180.333 2180.333 2178.825
2178.825 2177.358 2177.358 2175.936 2175.936 2174.406 2174.406 2173.13
2173.13 2172.262 2172.262 2171.328 2171.328 2170.705 2170.705 2171.055
2171.055 2171.111 2171.111 2171.518 2171.518 2172.088 2172.088 2172.738
2172.738 2173.643 2173.643 2174.31 2174.31 2175.143 2175.143 2175.899
2175.899 2176.529 2176.529 2177.005 2190.645 2189.002 2189.002 2187.844
2187.844 2186.347 2186.347 2184.79 2184.79 2183.259 2183.259 2181.747
2181.747 2180.196 2180.196 2178.67 2178.67 2177.159 2177.159 2175.499
2175.499 2174.052 2174.052 2172.68 2172.68 2171.441 2171.441 2170.678
2170.678 2170 2170 2169.753 2169.753 2170.492 2170.492 2170.866
2170.866 2171.525 2171.525 2172.312 2172.312 2173.415 2173.415 2174.228
2174.228 2175.125 2175.125 2175.891 2175.891 2176.516 2176.516 2177.006
2190.645 2189.002 2189.002 2187.844 2187.844 2186.347 2186.347 2184.79
2184.79 2183.259 2183.259 2181.747 2181.747 2180.196 2180.196 2178.67
2178.67 2177.159 2177.159 2175.499 2175.499 2174.052 2174.052 2172.68
2172.68 2171.441 2171.441 2170.678 2170.678 2170 2170 2169.753
2169.753 2170.492 2170.492 2170.866 2170.866 2171.525 2171.525 2172.312
2172.312 2173.415 2173.415 2174.228 2174.228 2175.125 2175.125 2175.891
2175.891 2176.516 2176.516 2177.006 2190.617 2188.971 2188.971 2187.775
2187.775 2186.317 2186.317 2184.8 2184.8 2183.307 2183.307 2181.616
2181.616 2180.13 2180.13 2178.589 2178.589 2177.046 2177.046 2175.345
2175.345 2173.817 2173.817 2172.343 2172.343 2170.979 2170.979 2170.04
2170.04 2169.276 2169.276 2169.198 2169.198 2169.486 2169.486 2170.256
2170.256 2170.952 2170.952 2171.997 2171.997 2173.23 2173.23 2174.385
2174.385 2175.325 2175.325 2176.075 2176.075 2176.676 2176.676 2177.159
2190.617 2188.971 2188.971 2187.775 2187.775 2186.317 2186.317 2184.8
2184.8 2183.307 2183.307 2181.616 2181.616 2180.13 2180.13 2178.589
2178.589 2177.046 2177.046 2175.345 2175.345 2173.817 2173.817 2172.343
2172.343 2170.979 2170.979 2170.04 2170.04 2169.276 2169.276 2169.198
2169.198 2169.486 2169.486 2170.256 2170.256 2170.952 2170.952 2171.997
2171.997 2173.23 2173.23 2174.385 2174.385 2175.325 2175.325 2176.075
2176.075 2176.676 2176.676 2177.159 2190.613 2188.987 2188.987 2187.729
2187.729 2186.325 2186.325 2184.685 2184.685 2183.168 2183.168 2181.641
2181.641 2180.103 2180.103 2178.602 2178.602 2177.044 2177.044 2175.333
2175.333 2173.746 2173.746 2172.195 2172.195 2170.708 2170.708 2169.354
2169.354 2168.547 2168.547 2168.752 2168.752 2169.349 2169.349 2170.001
2170.001 2170.581 2170.581 2172.041 2172.041 2173.688 2173.688 2174.906
2174.906 2175.783 2175.783 2176.448 2176.448 2176.984 2176.984 2177.439
2190.613 2188.987 2188.987 2187.729 2187.729 2186.325 2186.325 2184.685
2184.685 2183.168 2183.168 2181.641 2181.641 2180.103 2180.103 2178.602
2178.602 2177.044 2177.044 2175.333 2175.333 2173.746 2173.746 2172.195
2172.195 2170.708 2170.708 2169.354 2169.354 2168.547 2168.547 2168.752
2168.752 2169.349 2169.349 2170.001 2170.001 2170.581 2170.581 2172.041
2172.041 2173.688 2173.688 2174.906 2174.906 2175.783 2175.783 2176.448
2176.448 2176.984 2176.984 2177.439 2190.685 2189.048 2189.048 2187.721
2187.721 2186.234 2186.234 2184.752 2184.752 2183.251 2183.251 2181.738
2181.738 2180.221 2180.221 2178.698 2178.698 2177.101 2177.101 2175.473
2175.473 2173.865 2173.865 2172.305 2172.305 2170.598 2170.598 2169.348
2169.348 2168.33 2168.33 2168.959 2168.959 2169.821 2169.821 2170.758
2170.758 2171.847 2171.847 2173.362 2173.362 2174.893 2174.893 2175.919
2175.919 2176.578 2176.578 2177.073 2177.073 2177.499 2177.499 2177.891
2190.685 2189.048 2189.048 2187.721 2187.721 2186.234 2186.234 2184.752
2184.752 2183.251 2183.251 2181.738 2181.738 2180.221 2180.221 2178.698
2178.698 2177.101 2177.101 2175.473 2175.473 2173.865 2173.865 2172.305
2172.305 2170.598 2170.598 2169.348 2169.348 2168.33 2168.33 2168.959
2168.959 2169.821 2169.821 2170.758 2170.758 2171.847 2171.847 2173.362
2173.362 2174.893 2174.893 2175.919 2175.919 2176.578 2176.578 2177.073
2177.073 2177.499 2177.499 2177.891 2190.811 2189.146 2189.146 2187.727
2187.727 2186.367 2186.367 2184.62 2184.62 2183.065 2183.065 2181.518
2181.518 2179.993 2179.993 2178.502 2178.502 2176.978 2176.978 2175.415
2175.415 2173.924 2173.924 2172.523 2172.523 2171.247 2171.247 2170.198
2170.198 2169.712 2169.712 2170.004 2170.004 2170.811 2170.811 2171.935
2171.935 2173.328 2173.328 2175.11 2175.11 2176.559 2176.559 2177.049
2177.049 2177.315 2177.315 2177.804 2177.804 2178.265 2178.265 2178.744
2190.811 2189.146 2189.146 2187.727 2187.727 2186.367 2186.367 2184.62
2184.62 2183.065 2183.065 2181.518 2181.518 2179.993 2179.993 2178.502
2178.502 2176.978 2176.978 2175.415 2175.415 2173.924 2173.924 2172.523
2172.523 2171.247 2171.247 2170.198 2170.198 2169.712 2169.712 2170.004
2170.004 2170.811 2170.811 2171.935 2171.935 2173.328 2173.328 2175.11
2175.11 2176.559 2176.559 2177.049 2177.049 2177.315 2177.315 2177.804
2177.804 2178.265 2178.265 2178.744 2190.921 2189.379 2189.379 2187.917
2187.917 2186.418 2186.418 2184.852 2184.852 2183.326 2183.326 2181.789
2181.789 2180.27 2180.27 2178.772 2178.772 2177.239 2177.239 2175.751
2175.751 2174.375 2174.375 2173.108 2173.108 2172.028 2172.028 2171.325
2171.325 2170.97 2170.97 2171.206 2171.206 2171.899 2171.899 2173.026
2173.026 2174.538 2174.538 2176.42 2176.42 2177.986 2177.986 2177.846
2177.846 2177.895 2177.895 2178.208 2178.208 2178.725 2178.725 2179.445
2190.921 2189.379 2189.379 2187.917 2187.917 2186.418 2186.418 2184.852
2184.852 2183.326 2183.326 2181.789 2181.789 2180.27 2180.27 2178.772
2178.772 2177.239 2177.239 2175.751 2175.751 2174.375 2174.375 2173.108
2173.108 2172.028 2172.028 2171.325 2171.325 2170.97 2170.97 2171.206
2171.206 2171.899 2171.899 2173.026 2173.026 2174.538 2174.538 2176.42
2176.42 2177.986 2177.986 2177.846 2177.846 2177.895 2177.895 2178.208
2178.208 2178.725 2178.725 2179.445 2191.273 2189.634 2189.634 2188.045
2188.045 2186.734 2186.734 2185.177 2185.177 2183.622 2183.622 2182.086
2182.086 2180.578 2180.578 2179.102 2179.102 2177.594 2177.594 2176.196
2176.196 2174.898 2174.898 2173.755 2173.755 2172.862 2172.862 2172.332
2172.332 2172.061 2172.061 2172.275 2172.275 2172.858 2172.858 2173.86
2173.86 2175.16 2175.16 2176.591 2176.591 2177.589 2177.589 2177.84
2177.84 2178.001 2178.001 2178.418 2178.418 2179.276 2179.276 2180.023
2196.254 2195.128 2195.128 2194.025 2194.025 2193.13 2193.13 2192.263
2192.263 2191.42 2191.42 2190.597 2190.597 2189.805 2189.805 2189.066
2189.066 2188.406 2188.406 2187.857 2187.857 2187.466 2187.466 2187.284
2187.284 2187.351 2187.351 2187.636 2187.636 2188.02 2188.02 2188.542
2188.542 2189.091 2189.091 2189.571 2189.571 2189.869 2189.869 2189.911
2189.911 2189.715 2189.715 2189.465 2189.465 2189.05 2189.05 2188.615
2188.615 2188.182 2188.182 2187.76 2195.693 2194.502 2194.502 2193.569
2193.569 2192.468 2192.468 2191.466 2191.466 2190.511 2190.511 2189.575
2189.575 2188.67 2188.67 2187.81 2187.81 2187.038 2187.038 2186.374
2186.374 2185.866 2185.866 2185.597 2185.597 2185.657 2185.657 2186.075
2186.075 2186.703 2186.703 2187.458 2187.458 2188.206 2188.206 2188.932
2188.932 2189.422 2189.422 2189.501 2189.501 2189.325 2189.325 2188.91
2188.91 2188.461 2188.461 2188.026 2188.026 2187.621 2187.621 2187.245
2195.693 2194.502 2194.502 2193.569 2193.569 2192.468 2192.468 2191.466
2191.466 2190.511 2190.511 2189.575 2189.575 2188.67 2188.67 2187.81
2187.81 2187.038 2187.038 2186.374 2186.374 2185.866 2185.866 2185.597
2185.597 2185.657 2185.657 2186.075 2186.075 2186.703 2186.703 2187.458
2187.458 2188.206 2188.206 2188.932 2188.932 2189.422 2189.422 2189.501
2189.501 2189.325 2189.325 2188.91 2188.91 2188.461 2188.461 2188.026
2188.026 2187.621 2187.621 2187.245 2195.163 2193.907 2193.907 2192.978
2192.978 2191.808 2191.808 2190.706 2190.706 2189.663 2189.663 2188.599
2188.599 2187.58 2187.58 2186.611 2186.611 2185.712 2185.712 2184.898
2184.898 2184.233 2184.233 2183.796 2183.796 2183.852 2183.852 2184.434
2184.434 2185.278 2185.278 2186.234 2186.234 2187.25 2187.25 2188.257
2188.257 2189.06 2189.06 2189.156 2189.156 2188.707 2188.707 2188.199
2188.199 2187.724 2187.724 2187.303 2187.303 2186.937 2186.937 2186.622
2195.163 2193.907 2193.907 2192.978 2192.978 2191.808 2191.808 2190.706
2190.706 2189.663 2189.663 2188.599 2188.599 2187.58 2187.58 2186.611
2186.611 2185.712 2185.712 2184.898 2184.898 2184.233 2184.233 2183.796
2183.796 2183.852 2183.852 2184.434 2184.434 2185.278 2185.278 2186.234
2186.234 2187.25 2187.25 2188.257 2188.257 2189.06 2189.06 2189.156
2189.156 2188.707 2188.707 2188.199 2188.199 2187.724 2187.724 2187.303
2187.303 2186.937 2186.937 2186.622 2194.667 2193.67 2193.67 2192.392
2192.392 2191.156 2191.156 2189.966 2189.966 2188.823 2188.823 2187.673
2187.673 2186.543 2186.543 2185.464 2185.464 2184.454 2184.454 2183.532
2183.532 2182.714 2182.714 2182.011 2182.011 2181.94 2181.94 2182.852
2182.852 2183.86 2183.86 2184.925 2184.925 2186.048 2186.048 2187.303
2187.303 2188.506 2188.506 2188.392 2188.392 2187.828 2187.828 2187.333
2187.333 2186.906 2186.906 2186.538 2186.538 2186.22 2186.22 2185.938
2194.667 2193.67 2193.67 2192.392 2192.392 2191.156 2191.156 2189.966
2189.966 2188.823 2188.823 2187.673 2187.673 2186.543 2186.543 2185.464
2185.464 2184.454 2184.454 2183.532 2183.532 2182.714 2182.714 2182.011
2182.011 2181.94 2181.94 2182.852 2182.852 2183.86 2183.86 2184.925
2184.925 2186.048 2186.048 2187.303 2187.303 2188.506 2188.506 2188.392
2188.392 2187.828 2187.828 2187.333 2187.333 2186.906 2186.906 2186.538
2186.538 2186.22 2186.22 2185.938 2194.213 2193.148 2193.148 2191.822
2191.822 2190.523 2190.523 2189.254 2189.254 2188.02 2188.02 2186.821
2186.821 2185.572 2185.572 2184.393 2184.393 2183.294 2183.294 2182.307
2182.307 2181.462 2181.462 2180.821 2180.821 2180.843 2180.843 2181.728
2181.728 2182.719 2182.719 2183.745 2183.745 2184.781 2184.781 2185.782
2185.782 2186.557 2186.557 2186.837 2186.837 2186.462 2186.462 2186.096
2186.096 2185.761 2185.761 2185.471 2185.471 2185.219 2185.219 2184.988
2194.213 2193.148 2193.148 2191.822 2191.822 2190.523 2190.523 2189.254
2189.254 2188.02 2188.02 2186.821 2186.821 2185.572 2185.572 2184.393
2184.393 2183.294 2183.294 2182.307 2182.307 2181.462 2181.462 2180.821
2180.821 2180.843 2180.843 2181.728 2181.728 2182.719 2182.719 2183.745
2183.745 2184.781 2184.781 2185.782 2185.782 2186.557 2186.557 2186.837
2186.837 2186.462 2186.462 2186.096 2186.096 2185.761 2185.761 2185.471
2185.471 2185.219 2185.219 2184.988 2194.031 2192.651 2192.651 2191.28
2191.28 2189.923 2189.923 2188.583 2188.583 2187.266 2187.266 2185.975
2185.975 2184.719 2184.719 2183.404 2183.404 2182.233 2182.233 2181.221
2181.221 2180.432 2180.432 2180.096 2180.096 2180.085 2180.085 2180.561
2180.561 2181.562 2181.562 2182.418 2182.418 2183.266 2183.266 2184.027
2184.027 2184.566 2184.566 2185.014 2185.014 2184.927 2184.927 2184.74
2184.74 2184.437 2184.437 2184.263 2184.263 2184.105 2184.105 2183.946
2194.031 2192.651 2192.651 2191.28 2191.28 2189.923 2189.923 2188.583
2188.583 2187.266 2187.266 2185.975 2185.975 2184.719 2184.719 2183.404
2183.404 2182.233 2182.233 2181.221 2181.221 2180.432 2180.432 2180.096
2180.096 2180.085 2180.085 2180.561 2180.561 2181.562 2181.562 2182.418
2182.418 2183.266 2183.266 2184.027 2184.027 2184.566 2184.566 2185.014
2185.014 2184.927 2184.927 2184.74 2184.74 2184.437 2184.437 2184.263
2184.263 2184.105 2184.105 2183.946 2193.598 2192.189 2192.189 2190.778
2190.778 2189.368 2189.368 2187.965 2187.965 2186.575 2186.575 2185.202
2185.202 2183.858 2183.858 2182.557 2182.557 2181.251 2181.251 2180.204
2180.204 2179.465 2179.465 2179.241 2179.241 2179.249 2179.249 2179.585
2179.585 2180.134 2180.134 2181.13 2181.13 2181.754 2181.754 2182.291
2182.291 2182.674 2182.674 2183.184 2183.184 2183.208 2183.208 2183.172
2183.172 2183.122 2183.122 2182.968 2182.968 2182.928 2182.928 2182.865
2193.598 2192.189 2192.189 2190.778 2190.778 2189.368 2189.368 2187.965
2187.965 2186.575 2186.575 2185.202 2185.202 2183.858 2183.858 2182.557
2182.557 2181.251 2181.251 2180.204 2180.204 2179.465 2179.465 2179.241
2179.241 2179.249 2179.249 2179.585 2179.585 2180.134 2180.134 2181.13
2181.13 2181.754 2181.754 2182.291 2182.291 2182.674 2182.674 2183.184
2183.184 2183.208 2183.208 2183.172 2183.172 2183.122 2183.122 2182.968
2182.968 2182.928 2182.928 2182.865 2193.227 2191.774 2191.774 2190.325
2190.325 2188.869 2188.869 2187.413 2187.413 2185.96 2185.96 2184.519
2184.519 2183.097 2183.097 2181.709 2181.709 2180.386 2180.386 2179.205
2179.205 2178.614 2178.614 2178.356 2178.356 2178.393 2178.393 2178.637
2178.637 2179.021 2179.021 2179.471 2179.471 2180.322 2180.322 2180.651
2180.651 2180.887 2180.887 2181.379 2181.379 2181.461 2181.461 2181.552
2181.552 2181.66 2181.66 2181.765 2181.765 2181.837 2181.837 2181.794
2193.227 2191.774 2191.774 2190.325 2190.325 2188.869 2188.869 2187.413
2187.413 2185.96 2185.96 2184.519 2184.519 2183.097 2183.097 2181.709
2181.709 2180.386 2180.386 2179.205 2179.205 2178.614 2178.614 2178.356
2178.356 2178.393 2178.393 2178.637 2178.637 2179.021 2179.021 2179.471
2179.471 2180.322 2180.322 2180.651 2180.651 2180.887 2180.887 2181.379
2181.379 2181.461 2181.461 2181.552 2181.552 2181.66 2181.66 2181.765
2181.765 2181.837 2181.837 2181.794 2192.895 2191.426 2191.426 2189.943
2189.943 2188.448 2188.448 2186.945 2186.945 2185.443 2185.443 2183.95
2183.95 2182.476 2182.476 2181.028 2181.028 2179.596 2179.596 2178.251
2178.251 2177.664 2177.664 2177.572 2177.572 2177.612 2177.612 2177.765
2177.765 2177.999 2177.999 2178.266 2178.266 2178.521 2178.521 2179.134
2179.134 2179.205 2179.205 2179.277 2179.277 2179.709 2179.709 2179.925
2179.925 2180.211 2180.211 2180.499 2180.499 2180.727 2180.727 2180.859
2192.895 2191.426 2191.426 2189.943 2189.943 2188.448 2188.448 2186.945
2186.945 2185.443 2185.443 2183.95 2183.95 2182.476 2182.476 2181.028
2181.028 2179.596 2179.596 2178.251 2178.251 2177.664 2177.664 2177.572
2177.572 2177.612 2177.612 2177.765 2177.765 2177.999 2177.999 2178.266
2178.266 2178.521 2178.521 2179.134 2179.134 2179.205 2179.205 2179.277
2179.277 2179.709 2179.709 2179.925 2179.925 2180.211 2180.211 2180.499
2180.499 2180.727 2180.727 2180.859 2192.617 2191.116 2191.116 2189.603
2189.603 2188.077 2188.077 2186.543 2186.543 2185.01 2185.01 2183.489
2183.489 2181.99 2181.99 2180.527 2180.527 2179.12 2179.12 2177.951
2177.951 2177.091 2177.091 2176.945 2176.945 2176.986 2176.986 2177.015
2177.015 2177.101 2177.101 2177.204 2177.204 2177.282 2177.282 2177.312
2177.312 2177.638 2177.638 2177.572 2177.572 2177.954 2177.954 2178.323
2178.323 2178.834 2178.834 2179.341 2179.341 2179.751 2179.751 2180.025
2192.617 2191.116 2191.116 2189.603 2189.603 2188.077 2188.077 2186.543
2186.543 2185.01 2185.01 2183.489 2183.489 2181.99 2181.99 2180.527
2180.527 2179.12 2179.12 2177.951 2177.951 2177.091 2177.091 2176.945
2176.945 2176.986 2176.986 2177.015 2177.015 2177.101 2177.101 2177.204
2177.204 2177.282 2177.282 2177.312 2177.312 2177.638 2177.638 2177.572
2177.572 2177.954 2177.954 2178.323 2178.323 2178.834 2178.834 2179.341
2179.341 2179.751 2179.751 2180.025 2192.247 2190.856 2190.856 2189.321
2189.321 2187.771 2187.771 2186.213 2186.213 2184.657 2184.657 2183.121
2183.121 2181.621 2181.621 2180.537 2180.537 2179.114 2179.114 2177.871
2177.871 2176.965 2176.965 2176.31 2176.31 2176.315 2176.315 2176.161
2176.161 2176.08 2176.08 2176.311 2176.311 2176.242 2176.242 2176.104
2176.104 2175.897 2175.897 2175.927 2175.927 2176.187 2176.187 2176.804
2176.804 2177.617 2177.617 2178.216 2178.216 2178.799 2178.799 2179.218
2192.247 2190.856 2190.856 2189.321 2189.321 2187.771 2187.771 2186.213
2186.213 2184.657 2184.657 2183.121 2183.121 2181.621 2181.621 2180.537
2180.537 2179.114 2179.114 2177.871 2177.871 2176.965 2176.965 2176.31
2176.31 2176.315 2176.315 2176.161 2176.161 2176.08 2176.08 2176.311
2176.311 2176.242 2176.242 2176.104 2176.104 2175.897 2175.897 2175.927
2175.927 2176.187 2176.187 2176.804 2176.804 2177.617 2177.617 2178.216
2178.216 2178.799 2178.799 2179.218 2192.037 2190.642 2190.642 2189.094
2189.094 2187.526 2187.526 2185.947 2185.947 2184.375 2184.375 2182.832
2182.832 2181.775 2181.775 2180.322 2180.322 2178.969 2178.969 2177.779
2177.779 2176.855 2176.855 2176.096 2176.096 2175.524 2175.524 2175.612
2175.612 2175.418 2175.418 2175.266 2175.266 2175.109 2175.109 2174.898
2174.898 2174.592 2174.592 2174.313 2174.313 2174.42 2174.42 2175.449
2175.449 2176.533 2176.533 2177.459 2177.459 2178.185 2178.185 2178.701
2192.037 2190.642 2190.642 2189.094 2189.094 2187.526 2187.526 2185.947
2185.947 2184.375 2184.375 2182.832 2182.832 2181.775 2181.775 2180.322
2180.322 2178.969 2178.969 2177.779 2177.779 2176.855 2176.855 2176.096
2176.096 2175.524 2175.524 2175.612 2175.612 2175.418 2175.418 2175.266
2175.266 2175.109 2175.109 2174.898 2174.898 2174.592 2174.592 2174.313
2174.313 2174.42 2174.42 2175.449 2175.449 2176.533 2176.533 2177.459
2177.459 2178.185 2178.185 2178.701 2191.863 2190.356 2190.356 2188.917
2188.917 2187.337 2187.337 2185.737 2185.737 2184.149 2184.149 2183.049
2183.049 2181.574 2181.574 2180.159 2180.159 2178.841 2178.841 2177.664
2177.664 2176.721 2176.721 2175.898 2175.898 2175.26 2175.26 2174.778
2174.778 2174.424 2174.424 2174.68 2174.68 2174.502 2174.502 2174.297
2174.297 2174.009 2174.009 2173.425 2173.425 2173.723 2173.723 2174.861
2174.861 2176.025 2176.025 2177.044 2177.044 2177.849 2177.849 2178.402
2191.863 2190.356 2190.356 2188.917 2188.917 2187.337 2187.337 2185.737
2185.737 2184.149 2184.149 2183.049 2183.049 2181.574 2181.574 2180.159
2180.159 2178.841 2178.841 2177.664 2177.664 2176.721 2176.721 2175.898
2175.898 2175.26 2175.26 2174.778 2174.778 2174.424 2174.424 2174.68
2174.68 2174.502 2174.502 2174.297 2174.297 2174.009 2174.009 2173.425
2173.425 2173.723 2173.723 2174.861 2174.861 2176.025 2176.025 2177.044
2177.044 2177.849 2177.849 2178.402 2191.71 2190.227 2190.227 2188.786
2188.786 2187.196 2187.196 2185.858 2185.858 2184.359 2184.359 2182.872
2182.872 2181.418 2181.418 2180.021 2180.021 2178.713 2178.713 2177.528
2177.528 2176.553 2176.553 2175.686 2175.686 2175.003 2175.003 2174.492
2174.492 2174.134 2174.134 2173.913 2173.913 2174.106 2174.106 2173.42
2173.42 2173.454 2173.454 2173.54 2173.54 2174.077 2174.077 2174.881
2174.881 2175.938 2175.938 2176.954 2176.954 2177.791 2177.791 2178.304
2191.71 2190.227 2190.227 2188.786 2188.786 2187.196 2187.196 2185.858
2185.858 2184.359 2184.359 2182.872 2182.872 2181.418 2181.418 2180.021
2180.021 2178.713 2178.713 2177.528 2177.528 2176.553 2176.553 2175.686
2175.686 2175.003 2175.003 2174.492 2174.492 2174.134 2174.134 2173.913
2173.913 2174.106 2174.106 2173.42 2173.42 2173.454 2173.454 2173.54
2173.54 2174.077 2174.077 2174.881 2174.881 2175.938 2175.938 2176.954
2176.954 2177.791 2177.791 2178.304 2191.504 2190.045 2190.045 2188.619
2188.619 2187.185 2187.185 2185.701 2185.701 2184.215 2184.215 2182.741
2182.741 2181.295 2181.295 2179.902 2179.902 2178.584 2178.584 2177.373
2177.373 2176.295 2176.295 2175.441 2175.441 2174.726 2174.726 2174.197
2174.197 2173.844 2173.844 2172.928 2172.928 2172.93 2172.93 2173.255
2173.255 2173.536 2173.536 2173.885 2173.885 2174.368 2174.368 2175.061
2175.061 2176.007 2176.007 2177.061 2177.061 2177.971 2177.971 2178.388
2191.504 2190.045 2190.045 2188.619 2188.619 2187.185 2187.185 2185.701
2185.701 2184.215 2184.215 2182.741 2182.741 2181.295 2181.295 2179.902
2179.902 2178.584 2178.584 2177.373 2177.373 2176.295 2176.295 2175.441
2175.441 2174.726 2174.726 2174.197 2174.197 2173.844 2173.844 2172.928
2172.928 2172.93 2172.93 2173.255 2173.255 2173.536 2173.536 2173.885
2173.885 2174.368 2174.368 2175.061 2175.061 2176.007 2176.007 2177.061
2177.061 2177.971 2177.971 2178.388 2191.302 2189.812 2189.812 2188.311
2188.311 2186.919 2186.919 2185.36 2185.36 2183.813 2183.813 2182.313
2182.313 2181.206 2181.206 2179.802 2179.802 2178.461 2178.461 2177.208
2177.208 2176.073 2176.073 2175.156 2175.156 2174.415 2174.415 2173.267
2173.267 2172.798 2172.798 2172.588 2172.588 2172.65 2172.65 2172.99
2172.99 2173.619 2173.619 2173.95 2173.95 2174.491 2174.491 2175.305
2175.305 2176.185 2176.185 2177.18 2177.18 2178.222 2178.222 2178.395
2191.302 2189.812 2189.812 2188.311 2188.311 2186.919 2186.919 2185.36
2185.36 2183.813 2183.813 2182.313 2182.313 2181.206 2181.206 2179.802
2179.802 2178.461 2178.461 2177.208 2177.208 2176.073 2176.073 2175.156
2175.156 2174.415 2174.415 2173.267 2173.267 2172.798 2172.798 2172.588
2172.588 2172.65 2172.65 2172.99 2172.99 2173.619 2173.619 2173.95
2173.95 2174.491 2174.491 2175.305 2175.305 2176.185 2176.185 2177.18
2177.18 2178.222 2178.222 2178.395 2191.088 2189.584 2189.584 2188.016
2188.016 2186.761 2186.761 2185.209 2185.209 2183.66 2183.66 2182.155
2182.155 2180.708 2180.708 2179.33 2179.33 2178.039 2178.039 2176.853
2176.853 2175.791 2175.791 2174.853 2174.853 2174.062 2174.062 2173.443
2173.443 2173.016 2173.016 2172.799 2172.799 2172.8 2172.8 2173.021
2173.021 2173.459 2173.459 2173.797 2173.797 2174.528 2174.528 2175.238
2175.238 2176.082 2176.082 2176.978 2176.978 2177.591 2177.591 2178.051
2191.088 2189.584 2189.584 2188.016 2188.016 2186.761 2186.761 2185.209
2185.209 2183.66 2183.66 2182.155 2182.155 2180.708 2180.708 2179.33
2179.33 2178.039 2178.039 2176.853 2176.853 2175.791 2175.791 2174.853
2174.853 2174.062 2174.062 2173.443 2173.443 2173.016 2173.016 2172.799
2172.799 2172.8 2172.8 2173.021 2173.021 2173.459 2173.459 2173.797
2173.797 2174.528 2174.528 2175.238 2175.238 2176.082 2176.082 2176.978
2176.978 2177.591 2177.591 2178.051 2190.962 2189.372 2189.372 2188.173
2188.173 2186.622 2186.622 2185.02 2185.02 2183.524 2183.524 2182.012
2182.012 2180.548 2180.548 2179.141 2179.141 2177.8 2177.8 2176.537
2176.537 2175.32 2175.32 2174.325 2174.325 2173.668 2173.668 2172.989
2172.989 2172.531 2172.531 2172.309 2172.309 2172.331 2172.331 2172.585
2172.585 2173.073 2173.073 2173.428 2173.428 2174.279 2174.279 2175.043
2175.043 2175.872 2175.872 2176.384 2176.384 2177.072 2177.072 2177.502
2190.962 2189.372 2189.372 2188.173 2188.173 2186.622 2186.622 2185.02
2185.02 2183.524 2183.524 2182.012 2182.012 2180.548 2180.548 2179.141
2179.141 2177.8 2177.8 2176.537 2176.537 2175.32 2175.32 2174.325
2174.325 2173.668 2173.668 2172.989 2172.989 2172.531 2172.531 2172.309
2172.309 2172.331 2172.331 2172.585 2172.585 2173.073 2173.073 2173.428
2173.428 2174.279 2174.279 2175.043 2175.043 2175.872 2175.872 2176.384
2176.384 2177.072 2177.072 2177.502 2190.819 2189.202 2189.202 2188.042
2188.042 2186.502 2186.502 2184.908 2184.908 2183.414 2183.414 2181.897
2181.897 2180.415 2180.415 2178.973 2178.973 2177.608 2177.608 2176.255
2176.255 2174.839 2174.839 2173.645 2173.645 2172.804 2172.804 2172.471
2172.471 2171.963 2171.963 2171.726 2171.726 2171.762 2171.762 2172.128
2172.128 2172.611 2172.611 2173.194 2173.194 2173.958 2173.958 2174.8
2174.8 2175.313 2175.313 2176.076 2176.076 2176.715 2176.715 2177.17
2190.819 2189.202 2189.202 2188.042 2188.042 2186.502 2186.502 2184.908
2184.908 2183.414 2183.414 2181.897 2181.897 2180.415 2180.415 2178.973
2178.973 2177.608 2177.608 2176.255 2176.255 2174.839 2174.839 2173.645
2173.645 2172.804 2172.804 2172.471 2172.471 2171.963 2171.963 2171.726
2171.726 2171.762 2171.762 2172.128 2172.128 2172.611 2172.611 2173.194
2173.194 2173.958 2173.958 2174.8 2174.8 2175.313 2175.313 2176.076
2176.076 2176.715 2176.715 2177.17 2190.712 2189.079 2189.079 2187.933
2187.933 2186.41 2186.41 2184.829 2184.829 2183.275 2183.275 2181.825
2181.825 2180.333 2180.333 2178.825 2178.825 2177.358 2177.358 2175.936
2175.936 2174.406 2174.406 2173.13 2173.13 2172.262 2172.262 2171.328
2171.328 2170.705 2170.705 2171.055 2171.055 2171.111 2171.111 2171.518
2171.518 2172.088 2172.088 2172.738 2172.738 2173.643 2173.643 2174.31
2174.31 2175.143 2175.143 2175.899 2175.899 2176.529 2176.529 2177.005
2190.712 2189.079 2189.079 2187.933 2187.933 2186.41 2186.41 2184.829
2184.829 2183.275 2183.275 2181.825 2181.825 2180.333 2180.333 2178.825
2178.825 2177.358 2177.358 2175.936 2175.936 2174.406 2174.406 2173.13
2173.13 2172.262 2172.262 2171.328 2171.328 2170.705 2170.705 2171.055
2171.055 2171.111 2171.111 2171.518 2171.518 2172.088 2172.088 2172.738
2172.738 2173.643 2173.643 2174.31 2174.31 2175.143 2175.143 2175.899
2175.899 2176.529 2176.529 2177.005 2190.645 2189.002 2189.002 2187.844
2187.844 2186.347 2186.347 2184.79 2184.79 2183.259 2183.259 2181.747
2181.747 2180.196 2180.196 2178.67 2178.67 2177.159 2177.159 2175.499
2175.499 2174.052 2174.052 2172.68 2172.68 2171.441 2171.441 2170.678
2170.678 2170 2170 2169.753 2169.753 2170.492 2170.492 2170.866
2170.866 2171.525 2171.525 2172.312 2172.312 2173.415 2173.415 2174.228
2174.228 2175.125 2175.125 2175.891 2175.891 2176.516 2176.516 2177.006
2190.645 2189.002 2189.002 2187.844 2187.844 2186.347 2186.347 2184.79
2184.79 2183.259 2183.259 2181.747 2181.747 2180.196 2180.196 2178.67
2178.67 2177.159 2177.159 2175.499 2175.499 2174.052 2174.052 2172.68
2172.68 2171.441 2171.441 2170.678 2170.678 2170 2170 2169.753
2169.753 2170.492 2170.492 2170.866 2170.866 2171.525 2171.525 2172.312
2172.312 2173.415 2173.415 2174.228 2174.228 2175.125 2175.125 2175.891
2175.891 2176.516 2176.516 2177.006 2190.617 2188.971 2188.971 2187.775
2187.775 2186.317 2186.317 2184.8 2184.8 2183.307 2183.307 2181.616
2181.616 2180.13 2180.13 2178.589 2178.589 2177.046 2177.046 2175.345
2175.345 2173.817 2173.817 2172.343 2172.343 2170.979 2170.979 2170.04
2170.04 2169.276 2169.276 2169.198 2169.198 2169.486 2169.486 2170.256
2170.256 2170.952 2170.952 2171.997 2171.997 2173.23 2173.23 2174.385
2174.385 2175.325 2175.325 2176.075 2176.075 2176.676 2176.676 2177.159
2190.617 2188.971 2188.971 2187.775 2187.775 2186.317 2186.317 2184.8
2184.8 2183.307 2183.307 2181.616 2181.616 2180.13 2180.13 2178.589
2178.589 2177.046 2177.046 2175.345 2175.345 2173.817 2173.817 2172.343
2172.343 2170.979 2170.979 2170.04 2170.04 2169.276 2169.276 2169.198
2169.198 2169.486 2169.486 2170.256 2170.256 2170.952 2170.952 2171.997
2171.997 2173.23 2173.23 2174.385 2174.385 2175.325 2175.325 2176.075
2176.075 2176.676 2176.676 2177.159 2190.613 2188.987 2188.987 2187.729
2187.729 2186.325 2186.325 2184.685 2184.685 2183.168 2183.168 2181.641
2181.641 2180.103 2180.103 2178.602 2178.602 2177.044 2177.044 2175.333
2175.333 2173.746 2173.746 2172.195 2172.195 2170.708 2170.708 2169.354
2169.354 2168.547 2168.547 2168.752 2168.752 2169.349 2169.349 2170.001
2170.001 2170.581 2170.581 2172.041 2172.041 2173.688 2173.688 2174.906
2174.906 2175.783 2175.783 2176.448 2176.448 2176.984 2176.984 2177.439
2190.613 2188.987 2188.987 2187.729 2187.729 2186.325 2186.325 2184.685
2184.685 2183.168 2183.168 2181.641 2181.641 2180.103 2180.103 2178.602
2178.602 2177.044 2177.044 2175.333 2175.333 2173.746 2173.746 2172.195
2172.195 2170.708 2170.708 2169.354 2169.354 2168.547 2168.547 2168.752
2168.752 2169.349 2169.349 2170.001 2170.001 2170.581 2170.581 2172.041
2172.041 2173.688 2173.688 2174.906 2174.906 2175.783 2175.783 2176.448
2176.448 2176.984 2176.984 2177.439 2190.685 2189.048 2189.048 2187.721
2187.721 2186.234 2186.234 2184.752 2184.752 2183.251 2183.251 2181.738
2181.738 2180.221 2180.221 2178.698 2178.698 2177.101 2177.101 2175.473
2175.473 2173.865 2173.865 2172.305 2172.305 2170.598 2170.598 2169.348
2169.348 2168.33 2168.33 2168.959 2168.959 2169.821 2169.821 2170.758
2170.758 2171.847 2171.847 2173.362 2173.362 2174.893 2174.893 2175.919
2175.919 2176.578 2176.578 2177.073 2177.073 2177.499 2177.499 2177.891
2190.685 2189.048 2189.048 2187.721 2187.721 2186.234 2186.234 2184.752
2184.752 2183.251 2183.251 2181.738 2181.738 2180.221 2180.221 2178.698
2178.698 2177.101 2177.101 2175.473 2175.473 2173.865 2173.865 2172.305
2172.305 2170.598 2170.598 2169.348 2169.348 2168.33 2168.33 2168.959
2168.959 2169.821 2169.821 2170.758 2170.758 2171.847 2171.847 2173.362
2173.362 2174.893 2174.893 2175.919 2175.919 2176.578 2176.578 2177.073
2177.073 2177.499 2177.499 2177.891 2190.811 2189.146 2189.146 2187.727
2187.727 2186.367 2186.367 2184.62 2184.62 2183.065 2183.065 2181.518
2181.518 2179.993 2179.993 2178.502 2178.502 2176.978 2176.978 2175.415
2175.415 2173.924 2173.924 2172.523 2172.523 2171.247 2171.247 2170.198
2170.198 2169.712 2169.712 2170.004 2170.004 2170.811 2170.811 2171.935
2171.935 2173.328 2173.328 2175.11 2175.11 2176.559 2176.559 2177.049
2177.049 2177.315 2177.315 2177.804 2177.804 2178.265 2178.265 2178.744
2190.811 2189.146 2189.146 2187.727 2187.727 2186.367 2186.367 2184.62
2184.62 2183.065 2183.065 2181.518 2181.518 2179.993 2179.993 2178.502
2178.502 2176.978 2176.978 2175.415 2175.415 2173.924 2173.924 2172.523
2172.523 2171.247 2171.247 2170.198 2170.198 2169.712 2169.712 2170.004
2170.004 2170.811 2170.811 2171.935 2171.935 2173.328 2173.328 2175.11
2175.11 2176.559 2176.559 2177.049 2177.049 2177.315 2177.315 2177.804
2177.804 2178.265 2178.265 2178.744 2190.921 2189.379 2189.379 2187.917
2187.917 2186.418 2186.418 2184.852 2184.852 2183.326 2183.326 2181.789
2181.789 2180.27 2180.27 2178.772 2178.772 2177.239 2177.239 2175.751
2175.751 2174.375 2174.375 2173.108 2173.108 2172.028 2172.028 2171.325
2171.325 2170.97 2170.97 2171.206 2171.206 2171.899 2171.899 2173.026
2173.026 2174.538 2174.538 2176.42 2176.42 2177.986 2177.986 2177.846
2177.846 2177.895 2177.895 2178.208 2178.208 2178.725 2178.725 2179.445
2190.921 2189.379 2189.379 2187.917 2187.917 2186.418 2186.418 2184.852
2184.852 2183.326 2183.326 2181.789 2181.789 2180.27 2180.27 2178.772
2178.772 2177.239 2177.239 2175.751 2175.751 2174.375 2174.375 2173.108
2173.108 2172.028 2172.028 2171.325 2171.325 2170.97 2170.97 2171.206
2171.206 2171.899 2171.899 2173.026 2173.026 2174.538 2174.538 2176.42
2176.42 2177.986 2177.986 2177.846 2177.846 2177.895 2177.895 2178.208
2178.208 2178.725 2178.725 2179.445 2191.273 2189.634 2189.634 2188.045
2188.045 2186.734 2186.734 2185.177 2185.177 2183.622 2183.622 2182.086
2182.086 2180.578 2180.578 2179.102 2179.102 2177.594 2177.594 2176.196
2176.196 2174.898 2174.898 2173.755 2173.755 2172.862 2172.862 2172.332
2172.332 2172.061 2172.061 2172.275 2172.275 2172.858 2172.858 2173.86
2173.86 2175.16 2175.16 2176.591 2176.591 2177.589 2177.589 2177.84
2177.84 2178.001 2178.001 2178.418 2178.418 2179.276 2179.276 2180.023
2201.254 2200.128 2200.128 2199.025 2199.025 2198.13 2198.13 2197.263
2197.263 2196.42 2196.42 2195.597 2195.597 2194.805 2194.805 2194.066
2194.066 2193.406 2193.406 2192.857 2192.857 2192.466 2192.466 2192.284
2192.284 2192.351 2192.351 2192.636 2192.636 2193.02 2193.02 2193.542
2193.542 2194.091 2194.091 2194.571 2194.571 2194.869 2194.869 2194.911
2194.911 2194.715 2194.715 2194.465 2194.465 2194.05 2194.05 2193.615
2193.615 2193.182 2193.182 2192.76 2200.693 2199.502 2199.502 2198.569
2198.569 2197.468 2197.468 2196.466 2196.466 2195.511 2195.511 2194.575
2194.575 2193.67 2193.67 2192.81 2192.81 2192.038 2192.038 2191.374
2191.374 2190.866 2190.866 2190.597 2190.597 2190.657 2190.657 2191.075
2191.075 2191.703 2191.703 2192.458 2192.458 2193.206 2193.206 2193.932
2193.932 2194.422 2194.422 2194.501 2194.501 2194.325 2194.325 2193.91
2193.91 2193.461 2193.461 2193.026 2193.026 2192.621 2192.621 2192.245
2200.693 2199.502 2199.502 2198.569 2198.569 2197.468 2197.468 2196.466
2196.466 2195.511 2195.511 2194.575 2194.575 2193.67 2193.67 2192.81
2192.81 2192.038 2192.038 2191.374 2191.374 2190.866 2190.866 2190.597
2190.597 2190.657 2190.657 2191.075 2191.075 2191.703 2191.703 2192.458
2192.458 2193.206 2193.206 2193.932 2193.932 2194.422 2194.422 2194.501
2194.501 2194.325 2194.325 2193.91 2193.91 2193.461 2193.461 2193.026
2193.026 2192.621 2192.621 2192.245 2200.163 2198.907 2198.907 2197.978
2197.978 2196.808 2196.808 2195.706 2195.706 2194.663 2194.663 2193.599
2193.599 2192.58 2192.58 2191.611 2191.611 2190.712 2190.712 2189.898
2189.898 2189.233 2189.233 2188.796 2188.796 2188.852 2188.852 2189.434
2189.434 2190.278 2190.278 2191.234 2191.234 2192.25 2192.25 2193.257
2193.257 2194.06 2194.06 2194.156 2194.156 2193.707 2193.707 2193.199
2193.199 2192.724 2192.724 2192.303 2192.303 2191.937 2191.937 2191.622
2200.163 2198.907 2198.907 2197.978 2197.978 2196.808 2196.808 2195.706
2195.706 2194.663 2194.663 2193.599 2193.599 2192.58 2192.58 2191.611
2191.611 2190.712 2190.712 2189.898 2189.898 2189.233 2189.233 2188.796
2188.796 2188.852 2188.852 2189.434 2189.434 2190.278 2190.278 2191.234
2191.234 2192.25 2192.25 2193.257 2193.257 2194.06 2194.06 2194.156
2194.156 2193.707 2193.707 2193.199 2193.199 2192.724 2192.724 2192.303
2192.303 2191.937 2191.937 2191.622 2199.667 2198.67 2198.67 2197.392
2197.392 2196.156 2196.156 2194.966 2194.966 2193.823 2193.823 2192.673
2192.673 2191.543 2191.543 2190.464 2190.464 2189.454 2189.454 2188.532
2188.532 2187.714 2187.714 2187.011 2187.011 2186.94 2186.94 2187.852
2187.852 2188.86 2188.86 2189.925 2189.925 2191.048 2191.048 2192.303
2192.303 2193.506 2193.506 2193.392 2193.392 2192.828 2192.828 2192.333
2192.333 2191.906 2191.906 2191.538 2191.538 2191.22 2191.22 2190.938
2199.667 2198.67 2198.67 2197.392 2197.392 2196.156 2196.156 2194.966
2194.966 2193.823 2193.823 2192.673 2192.673 2191.543 2191.543 2190.464
2190.464 2189.454 2189.454 2188.532 2188.532 2187.714 2187.714 2187.011
2187.011 2186.94 2186.94 2187.852 2187.852 2188.86 2188.86 2189.925
2189.925 2191.048 2191.048 2192.303 2192.303 2193.506 2193.506 2193.392
2193.392 2192.828 2192.828 2192.333 2192.333 2191.906 2191.906 2191.538
2191.538 2191.22 2191.22 2190.938 2199.213 2198.148 2198.148 2196.822
2196.822 2195.523 2195.523 2194.254 2194.254 2193.02 2193.02 2191.821
2191.821 2190.572 2190.572 2189.393 2189.393 2188.294 2188.294 2187.307
2187.307 2186.462 2186.462 2185.821 2185.821 2185.843 2185.843 2186.728
2186.728 2187.719 2187.719 2188.745 2188.745 2189.781 2189.781 2190.782
2190.782 2191.557 2191.557 2191.837 2191.837 2191.462 2191.462 2191.096
2191.096 2190.761 2190.761 2190.471 2190.471 2190.219 2190.219 2189.988
2199.213 2198.148 2198.148 2196.822 2196.822 2195.523 2195.523 2194.254
2194.254 2193.02 2193.02 2191.821 2191.821 2190.572 2190.572 2189.393
2189.393 2188.294 2188.294 2187.307 2187.307 2186.462 2186.462 2185.821
2185.821 2185.843 2185.843 2186.728 2186.728 2187.719 2187.719 2188.745
2188.745 2189.781 2189.781 2190.782 2190.782 2191.557 2191.557 2191.837
2191.837 2191.462 2191.462 2191.096 2191.096 2190.761 2190.761 2190.471
2190.471 2190.219 2190.219 2189.988 2199.031 2197.651 2197.651 2196.28
2196.28 2194.923 2194.923 2193.583 2193.583 2192.266 2192.266 2190.975
2190.975 2189.719 2189.719 2188.404 2188.404 2187.233 2187.233 2186.221
2186.221 2185.432 2185.432 2185.096 2185.096 2185.085 2185.085 2185.561
2185.561 2186.562 2186.562 2187.418 2187.418 2188.266 2188.266 2189.027
2189.027 2189.566 2189.566 2190.014 2190.014 2189.927 2189.927 2189.74
2189.74 2189.437 2189.437 2189.263 2189.263 2189.105 2189.105 2188.946
2199.031 2197.651 2197.651 2196.28 2196.28 2194.923 2194.923 2193.583
2193.583 2192.266 2192.266 2190.975 2190.975 2189.719 2189.719 2188.404
2188.404 2187.233 2187.233 2186.221 2186.221 2185.432 2185.432 2185.096
2185.096 2185.085 2185.085 2185.561 2185.561 2186.562 2186.562 2187.418
2187.418 2188.266 2188.266 2189.027 2189.027 2189.566 2189.566 2190.014
2190.014 2189.927 2189.927 2189.74 2189.74 2189.437 2189.437 2189.263
2189.263 2189.105 2189.105 2188.946 2198.598 2197.189 2197.189 2195.778
2195.778 2194.368 2194.368 2192.965 2192.965 2191.575 2191.575 2190.202
2190.202 2188.858 2188.858 2187.557 2187.557 2186.251 2186.251 2185.204
2185.204 2184.465 2184.465 2184.241 2184.241 2184.249 2184.249 2184.585
2184.585 2185.134 2185.134 2186.13 2186.13 2186.754 2186.754 2187.291
2187.291 2187.674 2187.674 2188.184 2188.184 2188.208 2188.208 2188.172
2188.172 2188.122 2188.122 2187.968 2187.968 2187.928 2187.928 2187.865
2198.598 2197.189 2197.189 2195.778 2195.778 2194.368 2194.368 2192.965
2192.965 2191.575 2191.575 2190.202 2190.202 2188.858 2188.858 2187.557
2187.557 2186.251 2186.251 2185.204 2185.204 2184.465 2184.465 2184.241
2184.241 2184.249 2184.249 2184.585 2184.585 2185.134 2185.134 2186.13
2186.13 2186.754 2186.754 2187.291 2187.291 2187.674 2187.674 2188.184
2188.184 2188.208 2188.208 2188.172 2188.172 2188.122 2188.122 2187.968
2187.968 2187.928 2187.928 2187.865 2198.227 2196.774 2196.774 2195.325
2195.325 2193.869 2193.869 2192.413 2192.413 2190.96 2190.96 2189.519
2189.519 2188.097 2188.097 2186.709 2186.709 2185.386 2185.386 2184.205
2184.205 2183.614 2183.614 2183.356 2183.356 2183.393 2183.393 2183.637
2183.637 2184.021 2184.021 2184.471 2184.471 2185.322 2185.322 2185.651
2185.651 2185.887 2185.887 2186.379 2186.379 2186.461 2186.461 2186.552
2186.552 2186.66 2186.66 2186.765 2186.765 2186.837 2186.837 2186.794
2198.227 2196.774 2196.774 2195.325 2195.325 2193.869 2193.869 2192.413
2192.413 2190.96 2190.96 2189.519 2189.519 2188.097 2188.097 2186.709
2186.709 2185.386 2185.386 2184.205 2184.205 2183.614 2183.614 2183.356
2183.356 2183.393 2183.393 2183.637 2183.637 2184.021 2184.021 2184.471
2184.471 2185.322 2185.322 2185.651 2185.651 2185.887 2185.887 2186.379
2186.379 2186.461 2186.461 2186.552 2186.552 2186.66 2186.66 2186.765
2186.765 2186.837 2186.837 2186.794 2197.895 2196.426 2196.426 2194.943
2194.943 2193.448 2193.448 2191.945 2191.945 2190.443 2190.443 2188.95
2188.95 2187.476 2187.476 2186.028 2186.028 2184.596 2184.596 2183.251
2183.251 2182.664 2182.664 2182.572 2182.572 2182.612 2182.612 2182.765
2182.765 2182.999 2182.999 2183.266 2183.266 2183.521 2183.521 2184.134
2184.134 2184.205 2184.205 2184.277 2184.277 2184.709 2184.709 2184.925
2184.925 2185.211 2185.211 2185.499 2185.499 2185.727 2185.727 2185.859
2197.895 2196.426 2196.426 2194.943 2194.943 2193.448 2193.448 2191.945
2191.945 2190.443 2190.443 2188.95 2188.95 2187.476 2187.476 2186.028
2186.028 2184.596 2184.596 2183.251 2183.251 2182.664 2182.664 2182.572
2182.572 2182.612 2182.612 2182.765 2182.765 2182.999 2182.999 2183.266
2183.266 2183.521 2183.521 2184.134 2184.134 2184.205 2184.205 2184.277
2184.277 2184.709 2184.709 2184.925 2184.925 2185.211 2185.211 2185.499
2185.499 2185.727 2185.727 2185.859 2197.617 2196.116 2196.116 2194.603
2194.603 2193.077 2193.077 2191.543 2191.543 2190.01 2190.01 2188.489
2188.489 2186.99 2186.99 2185.527 2185.527 2184.12 2184.12 2182.951
2182.951 2182.091 2182.091 2181.945 2181.945 2181.986 2181.986 2182.015
2182.015 2182.101 2182.101 2182.204 2182.204 2182.282 2182.282 2182.312
2182.312 2182.638 2182.638 2182.572 2182.572 2182.954 2182.954 2183.323
2183.323 2183.834 2183.834 2184.341 2184.341 2184.751 2184.751 2185.025
2197.617 2196.116 2196.116 2194.603 2194.603 2193.077 2193.077 2191.543
2191.543 2190.01 2190.01 2188.489 2188.489 2186.99 2186.99 2185.527
2185.527 2184.12 2184.12 2182.951 2182.951 2182.091 2182.091 2181.945
2181.945 2181.986 2181.986 2182.015 2182.015 2182.101 2182.101 2182.204
2182.204 2182.282 2182.282 2182.312 2182.312 2182.638 2182.638 2182.572
2182.572 2182.954 2182.954 2183.323 2183.323 2183.834 2183.834 2184.341
2184.341 2184.751 2184.751 2185.025 2197.247 2195.856 2195.856 2194.321
2194.321 2192.771 2192.771 2191.213 2191.213 2189.657 2189.657 2188.121
2188.121 2186.621 2186.621 2185.537 2185.537 2184.114 2184.114 2182.871
2182.871 2181.965 2181.965 2181.31 2181.31 2181.315 2181.315 2181.161
2181.161 2181.08 2181.08 2181.311 2181.311 2181.242 2181.242 2181.104
2181.104 2180.897 2180.897 2180.927 2180.927 2181.187 2181.187 2181.804
2181.804 2182.617 2182.617 2183.216 2183.216 2183.799 2183.799 2184.218
2197.247 2195.856 2195.856 2194.321 2194.321 2192.771 2192.771 2191.213
2191.213 2189.657 2189.657 2188.121 2188.121 2186.621 2186.621 2185.537
2185.537 2184.114 2184.114 2182.871 2182.871 2181.965 2181.965 2181.31
2181.31 2181.315 2181.315 2181.161 2181.161 2181.08 2181.08 2181.311
2181.311 2181.242 2181.242 2181.104 2181.104 2180.897 2180.897 2180.927
2180.927 2181.187 2181.187 2181.804 2181.804 2182.617 2182.617 2183.216
2183.216 2183.799 2183.799 2184.218 2197.037 2195.642 2195.642 2194.094
2194.094 2192.526 2192.526 2190.947 2190.947 2189.375 2189.375 2187.832
2187.832 2186.775 2186.775 2185.322 2185.322 2183.969 2183.969 2182.779
2182.779 2181.855 2181.855 2181.096 2181.096 2180.524 2180.524 2180.612
2180.612 2180.418 2180.418 2180.266 2180.266 2180.109 2180.109 2179.898
2179.898 2179.592 2179.592 2179.313 2179.313 2179.42 2179.42 2180.449
2180.449 2181.533 2181.533 2182.459 2182.459 2183.185 2183.185 2183.701
2197.037 2195.642 2195.642 2194.094 2194.094 2192.526 2192.526 2190.947
2190.947 2189.375 2189.375 2187.832 2187.832 2186.775 2186.775 2185.322
2185.322 2183.969 2183.969 2182.779 2182.779 2181.855 2181.855 2181.096
2181.096 2180.524 2180.524 2180.612 2180.612 2180.418 2180.418 2180.266
2180.266 2180.109 2180.109 2179.898 2179.898 2179.592 2179.592 2179.313
2179.313 2179.42 2179.42 2180.449 2180.449 2181.533 2181.533 2182.459
2182.459 2183.185 2183.185 2183.701 2196.863 2195.356 2195.356 2193.917
2193.917 2192.337 2192.337 2190.737 2190.737 2189.149 2189.149 2188.049
2188.049 2186.574 2186.574 2185.159 2185.159 2183.841 2183.841 2182.664
2182.664 2181.721 2181.721 2180.898 2180.898 2180.26 2180.26 2179.778
2179.778 2179.424 2179.424 2179.68 2179.68 2179.502 2179.502 2179.297
2179.297 2179.009 2179.009 2178.425 2178.425 2178.723 2178.723 2179.861
2179.861 2181.025 2181.025 2182.044 2182.044 2182.849 2182.849 2183.402
2196.863 2195.356 2195.356 2193.917 2193.917 2192.337 2192.337 2190.737
2190.737 2189.149 2189.149 2188.049 2188.049 2186.574 2186.574 2185.159
2185.159 2183.841 2183.841 2182.664 2182.664 2181.721 2181.721 2180.898
2180.898 2180.26 2180.26 2179.778 2179.778 2179.424 2179.424 2179.68
2179.68 2179.502 2179.502 2179.297 2179.297 2179.009 2179.009 2178.425
2178.425 2178.723 2178.723 2179.861 2179.861 2181.025 2181.025 2182.044
2182.044 2182.849 2182.849 2183.402 2196.71 2195.227 2195.227 2193.786
2193.786 2192.196 2192.196 2190.858 2190.858 2189.359 2189.359 2187.872
2187.872 2186.418 2186.418 2185.021 2185.021 2183.713 2183.713 2182.528
2182.528 2181.553 2181.553 2180.686 2180.686 2180.003 2180.003 2179.492
2179.492 2179.134 2179.134 2178.913 2178.913 2179.106 2179.106 2178.42
2178.42 2178.454 2178.454 2178.54 2178.54 2179.077 2179.077 2179.881
2179.881 2180.938 2180.938 2181.954 2181.954 2182.791 2182.791 2183.304
2196.71 2195.227 2195.227 2193.786 2193.786 2192.196 2192.196 2190.858
2190.858 2189.359 2189.359 2187.872 2187.872 2186.418 2186.418 2185.021
2185.021 2183.713 2183.713 2182.528 2182.528 2181.553 2181.553 2180.686
2180.686 2180.003 2180.003 2179.492 2179.492 2179.134 2179.134 2178.913
2178.913 2179.106 2179.106 2178.42 2178.42 2178.454 2178.454 2178.54
2178.54 2179.077 2179.077 2179.881 2179.881 2180.938 2180.938 2181.954
2181.954 2182.791 2182.791 2183.304 2196.504 2195.045 2195.045 2193.619
2193.619 2192.185 2192.185 2190.701 2190.701 2189.215 2189.215 2187.741
2187.741 2186.295 2186.295 2184.902 2184.902 2183.584 2183.584 2182.373
2182.373 2181.295 2181.295 2180.441 2180.441 2179.726 2179.726 2179.197
2179.197 2178.844 2178.844 2177.928 2177.928 2177.93 2177.93 2178.255
2178.255 2178.536 2178.536 2178.885 2178.885 2179.368 2179.368 2180.061
2180.061 2181.007 2181.007 2182.061 2182.061 2182.971 2182.971 2183.388
2196.504 2195.045 2195.045 2193.619 2193.619 2192.185 2192.185 2190.701
2190.701 2189.215 2189.215 2187.741 2187.741 2186.295 2186.295 2184.902
2184.902 2183.584 2183.584 2182.373 2182.373 2181.295 2181.295 2180.441
2180.441 2179.726 2179.726 2179.197 2179.197 2178.844 2178.844 2177.928
2177.928 2177.93 2177.93 2178.255 2178.255 2178.536 2178.536 2178.885
2178.885 2179.368 2179.368 2180.061 2180.061 2181.007 2181.007 2182.061
2182.061 2182.971 2182.971 2183.388 2196.302 2194.812 2194.812 2193.311
2193.311 2191.919 2191.919 2190.36 2190.36 2188.813 2188.813 2187.313
2187.313 2186.206 2186.206 2184.802 2184.802 2183.461 2183.461 2182.208
2182.208 2181.073 2181.073 2180.156 2180.156 2179.415 2179.415 2178.267
2178.267 2177.798 2177.798 2177.588 2177.588 2177.65 2177.65 2177.99
2177.99 2178.619 2178.619 2178.95 2178.95 2179.491 2179.491 2180.305
2180.305 2181.185 2181.185 2182.18 2182.18 2183.222 2183.222 2183.395
2196.302 2194.812 2194.812 2193.311 2193.311 2191.919 2191.919 2190.36
2190.36 2188.813 2188.813 2187.313 2187.313 2186.206 2186.206 2184.802
2184.802 2183.461 2183.461 2182.208 2182.208 2181.073 2181.073 2180.156
2180.156 2179.415 2179.415 2178.267 2178.267 2177.798 2177.798 2177.588
2177.588 2177.65 2177.65 2177.99 2177.99 2178.619 2178.619 2178.95
2178.95 2179.491 2179.491 2180.305 2180.305 2181.185 2181.185 2182.18
2182.18 2183.222 2183.222 2183.395 2196.088 2194.584 2194.584 2193.016
2193.016 2191.761 2191.761 2190.209 2190.209 2188.66 2188.66 2187.155
2187.155 2185.708 2185.708 2184.33 2184.33 2183.039 2183.039 2181.853
2181.853 2180.791 2180.791 2179.853 2179.853 2179.062 2179.062 2178.443
2178.443 2178.016 2178.016 2177.799 2177.799 2177.8 2177.8 2178.021
2178.021 2178.459 2178.459 2178.797 2178.797 2179.528 2179.528 2180.238
2180.238 2181.082 2181.082 2181.978 2181.978 2182.591 2182.591 2183.051
2196.088 2194.584 2194.584 2193.016 2193.016 2191.761 2191.761 2190.209
2190.209 2188.66 2188.66 2187.155 2187.155 2185.708 2185.708 2184.33
2184.33 2183.039 2183.039 2181.853 2181.853 2180.791 2180.791 2179.853
2179.853 2179.062 2179.062 2178.443 2178.443 2178.016 2178.016 2177.799
2177.799 2177.8 2177.8 2178.021 2178.021 2178.459 2178.459 2178.797
2178.797 2179.528 2179.528 2180.238 2180.238 2181.082 2181.082 2181.978
2181.978 2182.591 2182.591 2183.051 2195.962 2194.372 2194.372 2193.173
2193.173 2191.622 2191.622 2190.02 2190.02 2188.524 2188.524 2187.012
2187.012 2185.548 2185.548 2184.141 2184.141 2182.8 2182.8 2181.537
2181.537 2180.32 2180.32 2179.325 2179.325 2178.668 2178.668 2177.989
2177.989 2177.531 2177.531 2177.309 2177.309 2177.331 2177.331 2177.585
2177.585 2178.073 2178.073 2178.428 2178.428 2179.279 2179.279 2180.043
2180.043 2180.872 2180.872 2181.384 2181.384 2182.072 2182.072 2182.502
2195.962 2194.372 2194.372 2193.173 2193.173 2191.622 2191.622 2190.02
2190.02 2188.524 2188.524 2187.012 2187.012 2185.548 2185.548 2184.141
2184.141 2182.8 2182.8 2181.537 2181.537 2180.32 2180.32 2179.325
2179.325 2178.668 2178.668 2177.989 2177.989 2177.531 2177.531 2177.309
2177.309 2177.331 2177.331 2177.585 2177.585 2178.073 2178.073 2178.428
2178.428 2179.279 2179.279 2180.043 2180.043 2180.872 2180.872 2181.384
2181.384 2182.072 2182.072 2182.502 2195.819 2194.202 2194.202 2193.042
2193.042 2191.502 2191.502 2189.908 2189.908 2188.414 2188.414 2186.897
2186.897 2185.415 2185.415 2183.973 2183.973 2182.608 2182.608 2181.255
2181.255 2179.839 2179.839 2178.645 2178.645 2177.804 2177.804 2177.471
2177.471 2176.963 2176.963 2176.726 2176.726 2176.762 2176.762 2177.128
2177.128 2177.611 2177.611 2178.194 2178.194 2178.958 2178.958 2179.8
2179.8 2180.313 2180.313 2181.076 2181.076 2181.715 2181.715 2182.17
2195.819 2194.202 2194.202 2193.042 2193.042 2191.502 2191.502 2189.908
2189.908 2188.414 2188.414 2186.897 2186.897 2185.415 2185.415 2183.973
2183.973 2182.608 2182.608 2181.255 2181.255 2179.839 2179.839 2178.645
2178.645 2177.804 2177.804 2177.471 2177.471 2176.963 2176.963 2176.726
2176.726 2176.762 2176.762 2177.128 2177.128 2177.611 2177.611 2178.194
2178.194 2178.958 2178.958 2179.8 2179.8 2180.313 2180.313 2181.076
2181.076 2181.715 2181.715 2182.17 2195.712 2194.079 2194.079 2192.933
2192.933 2191.41 2191.41 2189.829 2189.829 2188.275 2188.275 2186.825
2186.825 2185.333 2185.333 2183.825 2183.825 2182.358 2182.358 2180.936
2180.936 2179.406 2179.406 2178.13 2178.13 2177.262 2177.262 2176.328
2176.328 2175.705 2175.705 2176.055 2176.055 2176.111 2176.111 2176.518
2176.518 2177.088 2177.088 2177.738 2177.738 2178.643 2178.643 2179.31
2179.31 2180.143 2180.143 2180.899 2180.899 2181.529 2181.529 2182.005
2195.712 2194.079 2194.079 2192.933 2192.933 2191.41 2191.41 2189.829
2189.829 2188.275 2188.275 2186.825 2186.825 2185.333 2185.333 2183.825
2183.825 2182.358 2182.358 2180.936 2180.936 2179.406 2179.406 2178.13
2178.13 2177.262 2177.262 2176.328 2176.328 2175.705 2175.705 2176.055
2176.055 2176.111 2176.111 2176.518 2176.518 2177.088 2177.088 2177.738
2177.738 2178.643 2178.643 2179.31 2179.31 2180.143 2180.143 2180.899
2180.899 2181.529 2181.529 2182.005 2195.645 2194.002 2194.002 2192.844
2192.844 2191.347 2191.347 2189.79 2189.79 2188.259 2188.259 2186.747
2186.747 2185.196 2185.196 2183.67 2183.67 2182.159 2182.159 2180.499
2180.499 2179.052 2179.052 2177.68 2177.68 2176.441 2176.441 2175.678
2175.678 2175 2175 2174.753 2174.753 2175.492 2175.492 2175.866
2175.866 2176.525 2176.525 2177.312 2177.312 2178.415 2178.415 2179.228
2179.228 2180.125 2180.125 2180.891 2180.891 2181.516 2181.516 2182.006
2195.645 2194.002 2194.002 2192.844 2192.844 2191.347 2191.347 2189.79
2189.79 2188.259 2188.259 2186.747 2186.747 2185.196 2185.196 2183.67
2183.67 2182.159 2182.159 2180.499 2180.499 2179.052 2179.052 2177.68
2177.68 2176.441 2176.441 2175.678 2175.678 2175 2175 2174.753
2174.753 2175.492 2175.492 2175.866 2175.866 2176.525 2176.525 2177.312
2177.312 2178.415 2178.415 2179.228 2179.228 2180.125 2180.125 2180.891
2180.891 2181.516 2181.516 2182.006 2195.617 2193.971 2193.971 2192.775
2192.775 2191.317 2191.317 2189.8 2189.8 2188.307 2188.307 2186.616
2186.616 2185.13 2185.13 2183.589 2183.589 2182.046 2182.046 2180.345
2180.345 2178.817 2178.817 2177.343 2177.343 2175.979 2175.979 2175.04
2175.04 2174.276 2174.276 2174.198 2174.198 2174.486 2174.486 2175.256
2175.256 2175.952 2175.952 2176.997 2176.997 2178.23 2178.23 2179.385
2179.385 2180.325 2180.325 2181.075 2181.075 2181.676 2181.676 2182.159
2195.617 2193.971 2193.971 2192.775 2192.775 2191.317 2191.317 2189.8
2189.8 2188.307 2188.307 2186.616 2186.616 2185.13 2185.13 2183.589
2183.589 2182.046 2182.046 2180.345 2180.345 2178.817 2178.817 2177.343
2177.343 2175.979 2175.979 2175.04 2175.04 2174.276 2174.276 2174.198
2174.198 2174.486 2174.486 2175.256 2175.256 2175.952 2175.952 2176.997
2176.997 2178.23 2178.23 2179.385 2179.385 2180.325 2180.325 2181.075
2181.075 2181.676 2181.676 2182.159 2195.613 2193.987 2193.987 2192.729
2192.729 2191.325 2191.325 2189.685 2189.685 2188.168 2188.168 2186.641
2186.641 2185.103 2185.103 2183.602 2183.602 2182.044 2182.044 2180.333
2180.333 2178.746 2178.746 2177.195 2177.195 2175.708 2175.708 2174.354
2174.354 2173.547 2173.547 2173.752 2173.752 2174.349 2174.349 2175.001
2175.001 2175.581 2175.581 2177.041 2177.041 2178.688 2178.688 2179.906
2179.906 2180.783 2180.783 2181.448 2181.448 2181.984 2181.984 2182.439
2195.613 2193.987 2193.987 2192.729 2192.729 2191.325 2191.325 2189.685
2189.685 2188.168 2188.168 2186.641 2186.641 2185.103 2185.103 2183.602
2183.602 2182.044 2182.044 2180.333 2180.333 2178.746 2178.746 2177.195
2177.195 2175.708 2175.708 2174.354 2174.354 2173.547 2173.547 2173.752
2173.752 2174.349 2174.349 2175.001 2175.001 2175.581 2175.581 2177.041
2177.041 2178.688 2178.688 2179.906 2179.906 2180.783 2180.783 2181.448
2181.448 2181.984 2181.984 2182.439 2195.685 2194.048 2194.048 2192.721
2192.721 2191.234 2191.234 2189.752 2189.752 2188.251 2188.251 2186.738
2186.738 2185.221 2185.221 2183.698 2183.698 2182.101 2182.101 2180.473
2180.473 2178.865 2178.865 2177.305 2177.305 2175.598 2175.598 2174.348
2174.348 2173.33 2173.33 2173.959 2173.959 2174.821 2174.821 2175.758
2175.758 2176.847 2176.847 2178.362 2178.362 2179.893 2179.893 2180.919
2180.919 2181.578 2181.578 2182.073 2182.073 2182.499 2182.499 2182.891
2195.685 2194.048 2194.048 2192.721 2192.721 2191.234 2191.234 2189.752
2189.752 2188.251 2188.251 2186.738 2186.738 2185.221 2185.221 2183.698
2183.698 2182.101 2182.101 2180.473 2180.473 2178.865 2178.865 2177.305
2177.305 2175.598 2175.598 2174.348 2174.348 2173.33 2173.33 2173.959
2173.959 2174.821 2174.821 2175.758 2175.758 2176.847 2176.847 2178.362
2178.362 2179.893 2179.893 2180.919 2180.919 2181.578 2181.578 2182.073
2182.073 2182.499 2182.499 2182.891 2195.811 2194.146 2194.146 2192.727
2192.727 2191.367 2191.367 2189.62 2189.62 2188.065 2188.065 2186.518
2186.518 2184.993 2184.993 2183.502 2183.502 2181.978 2181.978 2180.415
2180.415 2178.924 2178.924 2177.523 2177.523 2176.247 2176.247 2175.198
2175.198 2174.712 2174.712 2175.004 2175.004 2175.811 2175.811 2176.935
2176.935 2178.328 2178.328 2180.11 2180.11 2181.559 2181.559 2182.049
2182.049 2182.315 2182.315 2182.804 2182.804 2183.265 2183.265 2183.744
2195.811 2194.146 2194.146 2192.727 2192.727 2191.367 2191.367 2189.62
2189.62 2188.065 2188.065 2186.518 2186.518 2184.993 2184.993 2183.502
2183.502 2181.978 2181.978 2180.415 2180.415 2178.924 2178.924 2177.523
2177.523 2176.247 2176.247 2175.198 2175.198 2174.712 2174.712 2175.004
2175.004 2175.811 2175.811 2176.935 2176.935 2178.328 2178.328 2180.11
2180.11 2181.559 2181.559 2182.049 2182.049 2182.315 2182.315 2182.804
2182.804 2183.265 2183.265 2183.744 2195.921 2194.379 2194.379 2192.917
2192.917 2191.418 2191.418 2189.852 2189.852 2188.326 2188.326 2186.789
2186.789 2185.27 2185.27 2183.772 2183.772 2182.239 2182.239 2180.751
2180.751 2179.375 2179.375 2178.108 2178.108 2177.028 2177.028 2176.325
2176.325 2175.97 2175.97 2176.206 2176.206 2176.899 2176.899 2178.026
2178.026 2179.538 2179.538 2181.42 2181.42 2182.986 2182.986 2182.846
2182.846 2182.895 2182.895 2183.208 2183.208 2183.725 2183.725 2184.445
2195.921 2194.379 2194.379 2192.917 2192.917 2191.418 2191.418 2189.852
2189.852 2188.326 2188.326 2186.789 2186.789 2185.27 2185.27 2183.772
2183.772 2182.239 2182.239 2180.751 2180.751 2179.375 2179.375 2178.108
2178.108 2177.028 2177.028 2176.325 2176.325 2175.97 2175.97 2176.206
2176.206 2176.899 2176.899 2178.026 2178.026 2179.538 2179.538 2181.42
2181.42 2182.986 2182.986 2182.846 2182.846 2182.895 2182.895 2183.208
2183.208 2183.725 2183.725 2184.445 2196.273 2194.634 2194.634 2193.045
2193.045 2191.734 2191.734 2190.177 2190.177 2188.622 2188.622 2187.086
2187.086 2185.578 2185.578 2184.102 2184.102 2182.594 2182.594 2181.196
2181.196 2179.898 2179.898 2178.755 2178.755 2177.862 2177.862 2177.332
2177.332 2177.061 2177.061 2177.275 2177.275 2177.858 2177.858 2178.86
2178.86 2180.16 2180.16 2181.591 2181.591 2182.589 2182.589 2182.84
2182.84 2183.001 2183.001 2183.418 2183.418 2184.276 2184.276 2185.023
/
PORO
5408*1
/
NTG
676*0 0.4147982 0.4202581 0.4264956 0.4308174 0.4410242 0.4500476
0.4603835 0.4727585 0.4872282 0.5034705 0.5204988 0.5363272 0.5479032
0.5518404 0.5446175 0.5212559 0.4979951 0.4742859 0.452138 0.4337489
0.4206601 0.4124921 0.4052148 0.4017355 0.3985965 0.3949738 0.4119256
0.4160006 0.4182105 0.4226287 0.427139 0.4421435 0.4519708 0.4644215
0.4802327 0.4989307 0.5199675 0.541065 0.557297 0.5617393 0.5521358
0.5316083 0.5062302 0.4747455 0.448983 0.4278699 0.4151157 0.4075348
0.4050807 0.4035453 0.4019491 0.399796 0.4083447 0.4109124 0.4107056
0.4135607 0.4169279 0.4216123 0.4405898 0.4521346 0.4675311 0.4874583
0.5124395 0.5404518 0.5657375 0.5736743 0.5584362 0.5331668 0.5049322
0.4758152 0.4456725 0.4193551 0.4072829 0.4062716 0.4066319 0.4066139
0.4059238 0.404585 0.4044741 0.4022825 0.4030453 0.4039714 0.405428
0.4081248 0.4255319 0.4347684 0.448373 0.4677018 0.4938939 0.527382
0.5672268 0.5841399 0.5564471 0.5281178 0.5001661 0.4719762 0.4413054
0.4122278 0.40727 0.4096127 0.4106842 0.4105408 0.4093553 0.4074075
0.4007356 0.3969368 0.3956883 0.3943515 0.3932616 0.3930572 0.3946956
0.412522 0.422054 0.4377683 0.4614067 0.4933915 0.5297446 0.5451867
0.5314438 0.5098497 0.4877229 0.4654361 0.4434174 0.4246665 0.4217141
0.4217852 0.4204744 0.4184773 0.4153422 0.4110665 0.3952931 0.3925423
0.3892407 0.385396 0.3812806 0.3774239 0.3746532 0.3741953 0.3896317
0.3984725 0.4156094 0.4412717 0.4680115 0.4858455 0.4872782 0.4853765
0.4741538 0.4611952 0.4481245 0.4372236 0.4383754 0.4373897 0.4367709
0.4293543 0.4231246 0.4153058 0.3940083 0.3897896 0.3844363 0.3779637
0.3705707 0.362634 0.3547441 0.3478174 0.3434016 0.3528306 0.3608089
0.3811345 0.4070555 0.4309024 0.4452607 0.4511592 0.4593698 0.456819
0.4528042 0.4488167 0.4549594 0.4539911 0.4519372 0.4471821 0.4333468
0.421446 0.3923488 0.3894376 0.3820285 0.3729564 0.3623208 0.350338
0.3373272 0.3237316 0.3103206 0.2991629 0.3009469 0.3176777 0.3515299
0.3838433 0.4086286 0.4258053 0.4372223 0.4532567 0.4578355 0.4606161
0.4717447 0.47236 0.4700411 0.4636722 0.4524994 0.436274 0.3955672
0.38699 0.376771 0.3648236 0.3511481 0.3358427 0.3190494 0.3008777
0.2813397 0.2629263 0.2402224 0.2633251 0.3091954 0.3486619 0.3807493
0.4061761 0.4263235 0.4425753 0.4641059 0.4736534 0.479859 0.4927493
0.4912096 0.4841287 0.4709706 0.4513579 0.4011337 0.3917888 0.380342
0.3666292 0.350668 0.3326636 0.312924 0.2917838 0.2696579 0.2476101
0.2316207 0.249338 0.2879878 0.3282021 0.3629701 0.3932855 0.4197274
0.4430541 0.4637319 0.48839 0.5004436 0.515484 0.5155279 0.5086895
0.494872 0.4738209 0.4138414 0.3996381 0.3875093 0.3725677 0.3549032
0.3350109 0.3136157 0.2916285 0.2689688 0.2522875 0.2459762 0.2590824
0.2853875 0.3180246 0.3514462 0.3836703 0.4169685 0.4456907 0.4728244
0.4979718 0.5233886 0.540522 0.5424196 0.5366325 0.5262339 0.5055861
0.4244939 0.4105637 0.3983926 0.3826893 0.3636623 0.3423429 0.320015
0.296527 0.2775721 0.2639418 0.2598295 0.270644 0.2899239 0.3170617
0.3480583 0.380512 0.4133014 0.4460582 0.478753 0.5113418 0.5436646
0.5669944 0.5711623 0.568144 0.558094 0.5394719 0.4366021 0.4284229
0.4129182 0.3967883 0.3762822 0.3535669 0.329044 0.3076803 0.289458
0.2767361 0.2722298 0.2809176 0.2959664 0.3192044 0.3478746 0.3797175
0.4133266 0.4479963 0.4834295 0.5194132 0.5563538 0.5843756 0.5933422
0.5959358 0.5912156 0.5757436 0.4496136 0.4425682 0.4307328 0.4142576
0.3902308 0.3660623 0.3426096 0.3210131 0.302662 0.2893464 0.2831008
0.2890752 0.3012109 0.3219399 0.3488853 0.3798279 0.4132591 0.4482645
0.4866012 0.5222408 0.555656 0.590596 0.6075428 0.6198909 0.623645
0.613607 0.4627754 0.4565739 0.4492943 0.4310039 0.4057104 0.380997
0.3573686 0.3355539 0.3165616 0.3017121 0.2927138 0.2917704 0.304757
0.3242919 0.3502381 0.3801825 0.4148088 0.4490032 0.4839226 0.5185314
0.5512301 0.592663 0.6153845 0.6349559 0.6512268 0.6528624 0.4756584
0.4692901 0.4580444 0.4460341 0.4187188 0.3961577 0.3740023 0.3511077
0.3314327 0.3146962 0.3020879 0.2963343 0.3067202 0.32682 0.3535491
0.382349 0.4133304 0.4457814 0.478965 0.5119772 0.543743 0.5889776
0.6140555 0.6374621 0.6600665 0.6826012 0.4885747 0.4779094 0.4675545
0.4576398 0.4302567 0.4097468 0.3887793 0.3682568 0.3488182 0.330986
0.3152005 0.3018464 0.3112785 0.3327804 0.356853 0.3832778 0.4117026
0.4416264 0.4723934 0.5031973 0.5331444 0.5789609 0.6026626 0.62321
0.6383815 0.6292538 0.4975721 0.4894098 0.4788441 0.4707426 0.4559077
0.4244163 0.4048299 0.3851913 0.3661872 0.3484953 0.3331014 0.3211853
0.3301193 0.3432255 0.362783 0.385324 0.4102517 0.4369746 0.4647765
0.4928145 0.5201066 0.5638074 0.5837275 0.5979436 0.5890692 0.5753343
0.5103707 0.5022377 0.4919522 0.4854656 0.4716756 0.4408983 0.4226624
0.4041197 0.3860014 0.3692116 0.3551742 0.3432592 0.3413582 0.3604582
0.3706786 0.3883048 0.4091049 0.4322195 0.4567347 0.4817089 0.5253733
0.5459454 0.5616367 0.5537865 0.5478209 0.5278236 0.5241321 0.516486
0.506835 0.5018039 0.4889897 0.4742578 0.4424792 0.4250214 0.4078045
0.3917478 0.3781587 0.3647276 0.3599055 0.375842 0.383316 0.3954593
0.4082913 0.4278341 0.449031 0.4709507 0.5098601 0.5281432 0.5252545
0.5239334 0.5117202 0.4875555 0.5389022 0.5321673 0.5234615 0.5197268
0.5078687 0.4940369 0.4785513 0.4477542 0.4311933 0.4153454 0.3976893
0.3857962 0.3779545 0.3748048 0.3917443 0.399231 0.4116156 0.4246761
0.4427674 0.4616785 0.4953559 0.5132168 0.5061626 0.4999395 0.4826227
0.4549129 0.5547501 0.5492913 0.5418303 0.5392024 0.5283087 0.5152931
0.5004523 0.472197 0.4560204 0.4398681 0.4210387 0.4067821 0.395692
0.388649 0.3982865 0.4015836 0.4119006 0.4262165 0.4400987 0.4550924
0.4838647 0.4929005 0.4949448 0.4835997 0.4611149 0.4299543 0.5726827
0.5678368 0.5619497 0.5602062 0.550313 0.5380487 0.5236971 0.5076943
0.4823402 0.4654979 0.4450961 0.427951 0.4133973 0.4024442 0.3959548
0.401779 0.4131025 0.4289873 0.4442424 0.4549895 0.4792186 0.4970937
0.4941598 0.4751645 0.4463663 0.4119504 0.5898306 0.5876796 0.5837834
0.5827149 0.5738857 0.5623415 0.5483987 0.5324138 0.5149325 0.4910485
0.4697942 0.449379 0.4313351 0.4166813 0.4073849 0.403265 0.418843
0.4382923 0.4594398 0.4815508 0.5057273 0.5146945 0.4969597 0.4636078
0.4263196 0.3900312 0.6075484 0.6086423 0.6071461 0.6066892 0.5989694
0.5881427 0.5747057 0.558894 0.5408928 0.5192375 0.4956234 0.4729389
0.4521235 0.4343897 0.4215012 0.4163511 0.4301817 0.4490688 0.4764166
0.5078732 0.5437551 0.552415 0.5105549 0.4593784 0.4105498 0.3839032
0.6253189 0.6287342 0.6312255 0.6320479 0.6252078 0.6180206 0.6060535
0.5909575 0.5732203 0.5494478 0.5269907 0.4957487 0.4721195 0.4509355
0.4343622 0.4254611 0.4368176 0.4531204 0.4809046 0.5174984 0.560193
0.5747645 0.498007 0.4335519 0.3956453 0.38257 0.5377654 0.5347117
0.5312225 0.5311834 0.5262487 0.5206876 0.5177014 0.5153689 0.5141608
0.5147504 0.5181494 0.5258618 0.5397591 0.56056 0.5815188 0.5949283
0.6097505 0.6243346 0.6353062 0.6384388 0.6307539 0.6131912 0.5907256
0.5645503 0.5387558 0.5154855 0.5486152 0.5446329 0.543739 0.5404544
0.5377611 0.5269017 0.521666 0.5164567 0.5067524 0.5034338 0.5020964
0.5042315 0.5124311 0.5290701 0.5532107 0.5786086 0.604425 0.6243203
0.6438997 0.6529767 0.6444216 0.6219355 0.5918881 0.5603674 0.5298318
0.501765 0.5602655 0.5553015 0.5546052 0.5497234 0.5446981 0.5393837
0.522647 0.5142484 0.5056741 0.497159 0.4851328 0.4799493 0.4794374
0.4930919 0.5222144 0.5558484 0.5894092 0.6220967 0.6491933 0.670097
0.6586797 0.6252676 0.5886382 0.5529473 0.5192596 0.4880031 0.5727262
0.5714014 0.5656292 0.5590791 0.5518495 0.5439202 0.5244942 0.5131168
0.5011842 0.4887303 0.4757246 0.4620987 0.4470381 0.4538774 0.4941017
0.5333041 0.5706784 0.6070227 0.6399691 0.6781989 0.6583982 0.6182869
0.5803154 0.5445907 0.5110739 0.4796956 0.5860255 0.5839287 0.5769011
0.5686518 0.5592899 0.5488746 0.5374212 0.5134279 0.4988294 0.4836742
0.4680354 0.4522748 0.4387229 0.4399026 0.4742545 0.5083408 0.5422941
0.5755449 0.6065221 0.6272731 0.6178555 0.5914091 0.559181 0.5274436
0.4974406 0.4697955 0.6034007 0.596822 0.588491 0.578536 0.5670845
0.5542815 0.540275 0.5251797 0.4985413 0.4818705 0.4655777 0.450983
0.4365687 0.4392931 0.4547239 0.4898721 0.5163159 0.5418813 0.5633419
0.5750483 0.5690162 0.551254 0.5276155 0.5063745 0.4824971 0.4609278
0.6175513 0.610038 0.6004317 0.5887835 0.5752417 0.5600625 0.5435767
0.5261326 0.5080205 0.4819362 0.46556 0.451583 0.4367476 0.4354117
0.4427702 0.4567764 0.4893892 0.5066027 0.520171 0.5268688 0.522137
0.5111427 0.4956625 0.4788274 0.4664216 0.4516524 0.6308621 0.6234863
0.6127508 0.5994323 0.583726 0.56604 0.5469404 0.5270733 0.5070796
0.4874462 0.4654931 0.4460891 0.4338511 0.4276484 0.428593 0.4353639
0.4456329 0.4722356 0.4795996 0.482656 0.4785325 0.4720192 0.4633497
0.4541351 0.4454781 0.4383142 0.6438871 0.6353533 0.6235363 0.6084452
0.5903764 0.5699618 0.5480781 0.525714 0.503861 0.4837886 0.464893
0.443671 0.4260715 0.4155771 0.4117936 0.4132513 0.4179169 0.4236867
0.4423816 0.4422348 0.4401007 0.4349076 0.4322318 0.4303259 0.428908
0.4280435 0.6570723 0.6488891 0.6366015 0.6200477 0.5995708 0.5760418
0.5506493 0.5246612 0.4992735 0.475471 0.450567 0.4312744 0.4140618
0.3990389 0.3927373 0.3910445 0.3920948 0.3939934 0.3952944 0.4058937
0.4023468 0.4000793 0.403431 0.4090509 0.4146295 0.4192778 0.6712546
0.6631593 0.6506569 0.6325179 0.6091077 0.5817156 0.5519961 0.5215209
0.4828618 0.4563635 0.4317283 0.4108483 0.3943387 0.3825617 0.3757323
0.3727474 0.3694044 0.3692742 0.3679471 0.3649329 0.3680833 0.3676662
0.3786687 0.3927588 0.4057994 0.4148646 0.6849093 0.6782303 0.6660839
0.6462421 0.6191232 0.5869443 0.5521066 0.5058069 0.4716677 0.4399416
0.4112803 0.3880599 0.371601 0.3607416 0.354978 0.3528791 0.3525771
0.3521633 0.3499441 0.3446833 0.3359255 0.3385727 0.3632863 0.3861507
0.4036495 0.4155734 0.697705 0.6941851 0.6832011 0.6615309 0.6293415
0.5913161 0.5397831 0.4983456 0.4585461 0.4216523 0.3891245 0.3633733
0.3470422 0.3381341 0.3351935 0.3360731 0.3385669 0.3407028 0.340856
0.3378983 0.3316675 0.3392604 0.3667401 0.3918827 0.4111972 0.4237135
0.7077637 0.7078363 0.7018992 0.678001 0.6309328 0.583774 0.5362167
0.4893863 0.4442144 0.4020691 0.3652024 0.3366881 0.321048 0.3156743
0.3175698 0.3234695 0.3308102 0.337732 0.3409783 0.3451601 0.3499139
0.3682162 0.3879128 0.4104085 0.4285202 0.4398754 0.7123374 0.7140722
0.7147095 0.6845115 0.6329829 0.5815361 0.5303364 0.4796271 0.4299424
0.3825027 0.340107 0.3083293 0.2938288 0.2945732 0.3036004 0.3162243
0.3267167 0.3399817 0.3521308 0.3632971 0.3750529 0.4000147 0.4168101
0.4354393 0.452797 0.4635017 0.7101477 0.7084851 0.6975583 0.6702023
0.6215951 0.5713775 0.5195917 0.4705229 0.4180198 0.3660406 0.3166078
0.2774319 0.2664742 0.2777522 0.2928694 0.3123166 0.3324264 0.3521255
0.3706746 0.3878991 0.4043705 0.4335525 0.4485922 0.4636987 0.4777599
0.4900922 0.7032376 0.6930384 0.6789767 0.6513647 0.6068824 0.5610976
0.5117431 0.4604937 0.4081823 0.3553316 0.3023975 0.2499897 0.2477977
0.2700082 0.2938274 0.3190598 0.3451112 0.3709992 0.3955911 0.4179779
0.4377721 0.4689684 0.4816981 0.4919278 0.4987584 0.4985068 0.6901109
0.6801432 0.6633844 0.6356375 0.6014944 0.5518946 0.5062274 0.4580507
0.4085771 0.3590176 0.3115653 0.2725708 0.2663205 0.2811535 0.3051203
0.3333208 0.3641881 0.3959457 0.4264332 0.4535467 0.4758219 0.5070169
0.5165599 0.5208932 0.5206326 0.5090522 0.6809053 0.6688738 0.6510994
0.6237223 0.5923342 0.5459075 0.5044286 0.4605705 0.4158652 0.3723343
0.3335228 0.3035471 0.2941864 0.3054313 0.3238173 0.3530155 0.3880709
0.4259757 0.46294 0.4950478 0.5347766 0.5487487 0.5542904 0.5543829
0.5425838 0.5239427 0.672623 0.6597461 0.6420068 0.6155912 0.5868485
0.553506 0.5067459 0.467676 0.4282958 0.3908041 0.3584738 0.3324817
0.3224848 0.3298695 0.3480743 0.378291 0.4141937 0.4596028 0.5048121
0.5431705 0.5829833 0.5950241 0.5981865 0.587015 0.5680665 0.5428163
0.665619 0.652828 0.6358606 0.6109846 0.584938 0.5550955 0.5223412
0.4785937 0.4442399 0.4117402 0.3807072 0.3594312 0.3482521 0.3491386
0.3668873 0.3973632 0.442937 0.4947282 0.5514247 0.5987971 0.6376064
0.6458681 0.6407013 0.6224369 0.5966115 0.5651737 0.6600921 0.648041
0.6323665 0.6095472 0.5862564 0.5598 0.5309663 0.4925875 0.4627542
0.4342192 0.4059805 0.3852904 0.3721671 0.3686636 0.3805753 0.4097709
0.4626516 0.5306754 0.6005365 0.6626638 0.6984792 0.7000132 0.6844028
0.659076 0.6270408 0.5904267 0.6610699 0.6452274 0.6312101 0.6108918
0.59038 0.5671565 0.5419461 0.515709 0.4834115 0.4581752 0.4320117
0.4113493 0.3962778 0.3880242 0.3886781 0.4120962 0.4767531 0.5581808
0.6433051 0.72756 0.7564453 0.7473152 0.7256193 0.6943345 0.6574403
0.6176054 0.656598 0.6441509 0.6320623 0.6146289 0.5968729 0.5767017
0.5548312 0.5320827 0.5094558 0.4825498 0.4589425 0.4386041 0.4230955
0.4130823 0.4124818 0.4208581 0.5039189 0.5907781 0.6741454 0.746822
0.7878509 0.7930493 0.7736175 0.7404888 0.7014043 0.6598058 0.6532565
0.6469523 0.6345633 0.6203737 0.60527 0.5879412 0.5692306 0.5498189
0.5303483 0.5091627 0.4881901 0.4711016 0.458758 0.4523041 0.4549749
0.477876 0.5384001 0.6094035 0.6829866 0.7546515 0.8061466 0.8229539
0.7979584 0.7607042 0.7200992 0.6767468 0.6508495 0.645774 0.6391523
0.6277421 0.6149076 0.6056667 0.5911725 0.5752081 0.5591651 0.5367635
0.5221627 0.4999614 0.4911222 0.4895048 0.4985817 0.5232071 0.5736611
0.62753 0.6860815 0.7448051 0.8011715 0.8340319 0.8017136 0.7662505
0.7270948 0.6859954 0.6225652 0.6143538 0.6044301 0.5923526 0.5797256
0.5615969 0.5454033 0.5285168 0.5114095 0.4948975 0.4803937 0.47018
0.467234 0.4728001 0.4753396 0.4724787 0.4697133 0.4703238 0.4744425
0.4827207 0.4955774 0.5120793 0.534403 0.5522852 0.5688317 0.583434
0.640929 0.6322324 0.6202222 0.6077116 0.5929776 0.5769356 0.5586057
0.5384083 0.5108241 0.4886277 0.4665448 0.4466832 0.4329402 0.4288819
0.4319468 0.4344976 0.4364177 0.443055 0.447176 0.4550461 0.4690861
0.4912884 0.5112814 0.530098 0.5465854 0.5602752 0.6610146 0.6520323
0.6390927 0.6255084 0.6093635 0.590625 0.5705236 0.5471911 0.5211533
0.492382 0.4562848 0.4247839 0.3964245 0.3850054 0.3935706 0.4050591
0.4132054 0.4180168 0.422638 0.4281972 0.4468074 0.4704388 0.4932064
0.5131816 0.5297772 0.5427445 0.6828255 0.671901 0.6603033 0.645943
0.628735 0.6086043 0.5863729 0.5607167 0.5315765 0.4984851 0.4608293
0.4179155 0.368253 0.3459857 0.3702575 0.3889181 0.4008833 0.4074726
0.4075206 0.408253 0.4298323 0.4571982 0.4811647 0.5015464 0.5181972
0.5310315 0.7063293 0.6956841 0.6838701 0.6690708 0.6512147 0.6302446
0.6060908 0.5797435 0.54924 0.5145658 0.4751784 0.4310558 0.3855135
0.3614998 0.3733133 0.3873191 0.3978595 0.4050112 0.4100098 0.4161639
0.4337497 0.4565461 0.4792534 0.4990677 0.5154286 0.5282402 0.7300543
0.7214071 0.7096714 0.6947761 0.6766794 0.6554034 0.6310085 0.6035366
0.5740595 0.5405031 0.5034662 0.4644347 0.4257669 0.4050932 0.4016455
0.4065774 0.4122553 0.4176402 0.4231731 0.4307463 0.4479358 0.4647609
0.4826971 0.5039027 0.5196117 0.5322834 0.7568993 0.7487727 0.7374489
0.7227837 0.7047707 0.6835679 0.6594623 0.6328062 0.603937 0.5738516
0.5409349 0.506824 0.4719914 0.4496038 0.4381907 0.4349923 0.4359814
0.438439 0.4428165 0.4496545 0.4662699 0.4802325 0.4956369 0.5109993
0.5297108 0.5418618 0.7863602 0.7773493 0.7668713 0.7527215 0.7349629
0.7139457 0.6902549 0.6646348 0.6379081 0.6107829 0.5830889 0.5490106
0.5175164 0.4924269 0.4760278 0.4672984 0.4641568 0.4640973 0.4665553
0.4718911 0.4873907 0.4992384 0.5127413 0.5266533 0.5398583 0.5515976
0.8145627 0.8102569 0.8016845 0.7885694 0.7711009 0.7499251 0.7260165
0.7005252 0.6746818 0.6476315 0.6259794 0.5934499 0.5586429 0.5313429
0.512026 0.4998987 0.4936083 0.4918596 0.4926437 0.4963978 0.5030466
0.5205052 0.5327416 0.5456718 0.5579709 0.5686963 0.8432821 0.8410386
0.8339601 0.8215536 0.8040531 0.7823943 0.757915 0.732042 0.7061145
0.6812406 0.6571187 0.6280296 0.5987344 0.5646143 0.5445283 0.5308627
0.5227863 0.5193493 0.5197378 0.5222055 0.5276621 0.5430325 0.5547509
0.5673513 0.5789766 0.5883518 0.8723337 0.872336 0.8671192 0.8552676
0.8370709 0.8140046 0.7879693 0.760678 0.7322345 0.7062399 0.6807041
0.6514742 0.625334 0.6021398 0.5834527 0.5696458 0.5506861 0.5464406
0.5459229 0.5485827 0.5530841 0.5659592 0.578306 0.5915037 0.6110059
0.618324 0.8995538 0.903557 0.90092 0.8894166 0.8694635 0.8437687
0.8151864 0.7842579 0.7555376 0.7278202 0.7011379 0.671484 0.6470632
0.6253707 0.6075347 0.5940433 0.5848581 0.5795944 0.5776733 0.5784473
0.5788026 0.5886611 0.6087233 0.6250792 0.6375047 0.6442325 0.9243302
0.9336511 0.9350886 0.9236138 0.8999757 0.8701496 0.836673 0.8049915
0.7743971 0.7453124 0.7179282 0.6882157 0.6648086 0.6443251 0.6275452
0.6149101 0.6064579 0.6018946 0.6007085 0.6022971 0.6108938 0.6204956
0.6367289 0.6541746 0.6673982 0.6733481 0.9437923 0.9592142 0.9688578
0.9566053 0.9242481 0.8889534 0.8539339 0.8202203 0.7882516 0.7582855
0.7305356 0.701333 0.6786639 0.6591757 0.6435226 0.6321166 0.625012
0.62195 0.6349657 0.6365867 0.6412495 0.6578828 0.6723756 0.6852291
0.6995674 0.7054105 0.9539465 0.9726257 0.9919044 0.9767925 0.937606
0.8997691 0.8635223 0.8290594 0.7965866 0.7663348 0.7385734 0.7136193
0.6884634 0.6697888 0.6552816 0.6453935 0.6555489 0.6547512 0.6566069
0.6609429 0.6682356 0.6892876 0.7017919 0.7175633 0.7300687 0.7396741
0.9528103 0.9676334 0.9755453 0.9642438 0.9305863 0.8950693 0.8594728
0.8312621 0.7992636 0.7693162 0.7418689 0.71736 0.693947 0.6757923
0.6751584 0.6699238 0.6686056 0.6705624 0.6750655 0.6815879 0.6900454
0.7131919 0.723287 0.7360863 0.7511709 0.7681949 0.9428953 0.9515381
0.9533285 0.9432116 0.915781 0.8861038 0.8541896 0.8222676 0.7916104
0.7631194 0.7375616 0.7156398 0.6985867 0.6862156 0.6785903 0.6758079
0.6774423 0.6825402 0.6898309 0.6981107 0.7066249 0.7294282 0.735291
0.7415458 0.7468825 0.7485048 0.9275419 0.9326357 0.9311446 0.9215702
0.9033606 0.8721406 0.8439231 0.814582 0.7855226 0.7577933 0.7322509
0.7099924 0.6904868 0.6832564 0.676952 0.6765779 0.6815674 0.6904447
0.7010354 0.7110643 0.7188981 0.7390522 0.7390166 0.7365926 0.7367586
0.7243799 0.9104551 0.912652 0.9094122 0.9001865 0.884265 0.8558273
0.8306448 0.8036378 0.7760388 0.7488546 0.7229633 0.7005863 0.6809582
0.6661287 0.6694576 0.6713874 0.6803399 0.6941497 0.7092609 0.7216838
0.7454892 0.7438465 0.7368439 0.7335505 0.7203162 0.6999184 0.8920631
0.8924012 0.8881965 0.8792986 0.8649046 0.8460469 0.8158978 0.7908499
0.7644902 0.7376597 0.7112301 0.6883679 0.6674792 0.6512661 0.6441458
0.6469866 0.6727468 0.693363 0.7152964 0.73171 0.7524183 0.7454415
0.7388143 0.7235562 0.7029856 0.6759789 0.8730215 0.8722312 0.8675355
0.8590346 0.8457971 0.8286068 0.8080575 0.7774346 0.7521875 0.7256055
0.6999332 0.6744345 0.6511773 0.6325886 0.6228433 0.6271394 0.6463532
0.687163 0.7196153 0.7432554 0.759138 0.744241 0.7330964 0.7117836
0.6860376 0.6541253 0.8537712 0.8523544 0.8474907 0.8394871 0.8272372
0.8114302 0.7924556 0.7643371 0.7403035 0.7140461 0.6878581 0.6604523
0.6339446 0.6105431 0.5948595 0.5976919 0.6242226 0.6666607 0.7203786
0.7583246 0.7658219 0.7464019 0.7221857 0.6979549 0.670603 0.6366957
0.8347744 0.8329184 0.8281416 0.820719 0.8093891 0.7948187 0.7773172
0.7571905 0.7297746 0.7041803 0.6774815 0.6485145 0.6190684 0.5900776
0.564155 0.5572329 0.5949858 0.6488875 0.7066872 0.7676221 0.7613645
0.7264711 0.7020322 0.6817821 0.6582636 0.6264782 0.815643 0.8139952
0.8095552 0.8027585 0.7923113 0.778875 0.7627996 0.7443919 0.7237691
0.6974465 0.6696256 0.6403416 0.6102939 0.5795588 0.5510961 0.5281983
0.5784354 0.6303435 0.6758369 0.7079018 0.7055113 0.687694 0.6812391
0.6774914 0.6645752 0.6375611 0.7967086 0.7954821 0.79173 0.7855997
0.7759549 0.7635158 0.7488012 0.7321341 0.7137345 0.6914549 0.6655819
0.6395684 0.6136582 0.5884653 0.5670397 0.5616276 0.5835668 0.6142496
0.6383098 0.6454338 0.6311901 0.6234246 0.6474086 0.6672778 0.668507
0.6485161 0.7778429 0.7769296 0.7742807 0.7692109 0.7600598 0.7483896
0.7355419 0.7211136 0.7052785 0.6850437 0.6653253 0.6390762 0.6184707
0.6008441 0.5891731 0.5876311 0.597051 0.6076714 0.61142 0.60295
0.5797758 0.5704232 0.6306481 0.6727128 0.684286 0.6662285 0.5357327
0.5486677 0.5619185 0.5748129 0.58892 0.6040151 0.6186544 0.6342899
0.6508576 0.6679876 0.6847776 0.6995212 0.7096261 0.7120044 0.7014089
0.6695927 0.6362213 0.6004987 0.5627911 0.5228155 0.4804352 0.4364596
0.3885305 0.3461309 0.3068242 0.2719954 0.5378957 0.5498677 0.5628476
0.5749146 0.586815 0.6039832 0.6189238 0.6354719 0.655276 0.675115
0.6958207 0.7154123 0.7296881 0.7325797 0.7211249 0.6980463 0.6690527
0.6276333 0.5922138 0.5540091 0.5117965 0.4633792 0.4180099 0.374379
0.3337402 0.2970865 0.5386919 0.5495641 0.5618699 0.5732091 0.5847839
0.5971655 0.6169664 0.6335765 0.65253 0.6740849 0.6996062 0.7251204
0.7469267 0.7527276 0.737641 0.7126251 0.6840541 0.6540625 0.6182467
0.5838404 0.5394951 0.4921403 0.4454447 0.4010642 0.3597039 0.3218618
0.5384817 0.5493886 0.5595467 0.569758 0.5803075 0.591697 0.6107066
0.6263254 0.6446918 0.6665007 0.6923211 0.7223778 0.7565551 0.7696607
0.744553 0.7178375 0.6908637 0.6636874 0.6352152 0.608337 0.5657873
0.5181203 0.4723391 0.4288437 0.3880097 0.350195 0.5375419 0.5472854
0.5560265 0.5647014 0.5735966 0.5831796 0.5940831 0.6135179 0.6295725
0.6492635 0.673339 0.701752 0.7312956 0.7396675 0.7295691 0.7078987
0.68527 0.6621944 0.6383762 0.6122454 0.5756636 0.5356523 0.4927903
0.4515686 0.412792 0.3771419 0.5368998 0.5444523 0.5515587 0.5583261
0.5650139 0.5720429 0.5799916 0.5895992 0.6076096 0.6227919 0.641926
0.6641918 0.6814759 0.6906558 0.6840512 0.6873332 0.6721287 0.6546896
0.6350695 0.6123697 0.5792817 0.5463024 0.5110977 0.4721995 0.4364341
0.4038978 0.5350834 0.5411927 0.5464952 0.5510604 0.5551033 0.5589852
0.5631986 0.5683599 0.5752568 0.5891977 0.601786 0.6184258 0.631898
0.6427353 0.6444973 0.6393514 0.6530021 0.6421846 0.6280769 0.6103929
0.5816086 0.5544092 0.5243663 0.4930105 0.4583863 0.4290623 0.5308329
0.5378569 0.5412599 0.5434316 0.5445389 0.5448992 0.544933 0.5451073
0.5459321 0.5482373 0.5562074 0.5663255 0.583663 0.5974467 0.6054127
0.6081077 0.6070293 0.6269907 0.6191228 0.6072167 0.5836981 0.5619611
0.5366961 0.5093364 0.4815899 0.4552502 0.5285665 0.5308122 0.5315372
0.5307665 0.5286394 0.525461 0.5216396 0.5175854 0.5136127 0.5120913
0.5076013 0.5193992 0.5392129 0.5559086 0.5687115 0.5777951 0.5837668
0.587177 0.6094735 0.6037156 0.5932387 0.5698189 0.548743 0.5246753
0.4995814 0.4753681 0.526476 0.5279646 0.5272143 0.5241359 0.5189003
0.5119697 0.5039727 0.4955619 0.4873567 0.4800977 0.4716583 0.4828535
0.5001661 0.5188226 0.5350763 0.5493905 0.5616218 0.571716 0.5794328
0.6005974 0.5959508 0.578693 0.5609341 0.5391386 0.5158592 0.4931563
0.5289057 0.5260673 0.5241363 0.5188872 0.5105192 0.4998047 0.4877679
0.4754668 0.4501993 0.4438137 0.4431064 0.4525753 0.4668412 0.4850763
0.5047364 0.524189 0.5409597 0.5573038 0.5716543 0.5832146 0.5998262
0.5892155 0.5732582 0.5524091 0.5244617 0.503041 0.5282917 0.5253968
0.5227858 0.5154995 0.5037889 0.4890657 0.4729304 0.4400105 0.4261563
0.4166888 0.4136931 0.4220307 0.4352362 0.454686 0.4777471 0.5020033
0.5256491 0.5475581 0.5671622 0.5842184 0.5976629 0.6016358 0.5809031
0.5588822 0.5366135 0.5153149 0.5274557 0.5293955 0.5235158 0.5143042
0.4986202 0.4794646 0.4421038 0.4209621 0.4027799 0.389426 0.3832329
0.3901833 0.4037046 0.425892 0.4534611 0.482982 0.5118611 0.5385233
0.5622018 0.5826048 0.6007783 0.6049692 0.5874366 0.5672358 0.5460718
0.5252616 0.5255869 0.528679 0.5263395 0.5151276 0.4834834 0.4555668
0.428416 0.403012 0.3804277 0.3624428 0.3519821 0.3566478 0.3716651
0.3987637 0.4326698 0.4682953 0.5022658 0.5327123 0.5638513 0.5839078
0.5965475 0.6012331 0.5912289 0.5726944 0.5536492 0.5336871 0.5214491
0.5248592 0.5273051 0.5084668 0.4762012 0.445124 0.415325 0.3869856
0.3606148 0.3375413 0.3210682 0.3180535 0.3392895 0.3749058 0.4176579
0.4602114 0.5061772 0.5399055 0.5667021 0.5859342 0.5966663 0.602483
0.5950104 0.5807476 0.5613368 0.5418562 0.5144777 0.5158985 0.5144036
0.5025892 0.4756465 0.449739 0.4223537 0.3745366 0.346211 0.3189172
0.2945004 0.2823874 0.3085491 0.3592016 0.4193853 0.470513 0.5142274
0.5495585 0.5761938 0.5940728 0.6032051 0.6091427 0.6025774 0.5899166
0.5727059 0.5521191 0.505641 0.5058427 0.5008923 0.4897802 0.4646473
0.4419467 0.4168863 0.3900304 0.3613116 0.3302509 0.2960379 0.257775
0.2969776 0.3688044 0.4330904 0.4883302 0.5336143 0.5686579 0.5936905
0.6092741 0.616207 0.6208148 0.6140791 0.602345 0.5869717 0.5721312
0.4974792 0.4950706 0.4892061 0.4793565 0.4651491 0.436929 0.4159852
0.3937248 0.3706019 0.3471235 0.3252402 0.3173189 0.3565659 0.4046324
0.4672551 0.5216979 0.565414 0.5978237 0.6194254 0.6312894 0.6348378
0.6364805 0.6285646 0.6171271 0.6082609 0.5917097 0.4882422 0.4852574
0.4794025 0.4712834 0.4598226 0.435072 0.4193181 0.4036471 0.3893425
0.3784235 0.3751349 0.3899703 0.4288241 0.4898561 0.5190245 0.5695126
0.60898 0.6363658 0.6524976 0.6589175 0.6612141 0.6544653 0.6442769
0.6379997 0.6239964 0.610314 0.4793988 0.4764778 0.4712546 0.4650335
0.4563454 0.4465938 0.4253277 0.4168212 0.4120312 0.4136807 0.4257277
0.4547903 0.499214 0.5595484 0.6176832 0.6668204 0.6621775 0.6822234
0.6908212 0.6900724 0.6846823 0.6723942 0.6640237 0.6495121 0.6369982
0.6266466 0.4709455 0.4685557 0.4643913 0.4599223 0.4538241 0.4476321
0.4425847 0.4298128 0.4332663 0.4451131 0.4708227 0.5081296 0.5600883
0.6220266 0.6859415 0.73238 0.7573642 0.7317088 0.7308041 0.7217928
0.7069053 0.6869996 0.6713861 0.6556544 0.6450022 0.6388672 0.462793
0.4612139 0.4583554 0.4552934 0.4513725 0.4479986 0.4465101 0.4397218
0.4490192 0.4678518 0.5009382 0.5460188 0.6056527 0.6764696 0.7500789
0.7984515 0.8093409 0.7983088 0.766162 0.750181 0.7239857 0.6950432
0.6696777 0.6534672 0.6456975 0.6448415 0.4592527 0.4541357 0.4526526
0.4506459 0.4483562 0.4468579 0.4473971 0.4518902 0.4567778 0.478963
0.5152986 0.5640978 0.6280742 0.7072067 0.7967427 0.8621227 0.8428745
0.8054338 0.7784634 0.7648744 0.7264131 0.6828956 0.6547983 0.6405692
0.6373928 0.6427974 0.4497461 0.4470156 0.4468113 0.4456925 0.4444968
0.443996 0.4451506 0.4493734 0.4593126 0.4782486 0.5127916 0.5595022
0.6196953 0.6952078 0.7780835 0.8691953 0.8087111 0.7560259 0.7248186
0.7062435 0.6816926 0.6542606 0.6356608 0.6274433 0.6294196 0.6406405
0.4400537 0.4420523 0.4404637 0.4403382 0.4398182 0.4397148 0.4407052
0.4436358 0.4495782 0.4625425 0.4868096 0.5200009 0.5632248 0.6163642
0.6732812 0.7057751 0.6905088 0.6590055 0.6388094 0.6276913 0.6136374
0.5999317 0.5931394 0.5932985 0.5998954 0.6143337 0.4302412 0.4324281
0.4345366 0.4346099 0.434472 0.428827 0.4281388 0.4299111 0.4349695
0.4469262 0.4630537 0.4768869 0.4991799 0.5222896 0.5402266 0.5439887
0.5382335 0.5305939 0.5351374 0.5451103 0.5495628 0.5477782 0.5531755
0.5572575 0.5680486 0.5884875 0.5435405 0.5534587 0.562951 0.5706754
0.5785855 0.5847408 0.5900233 0.5942015 0.5972621 0.5994232 0.6013032
0.6040877 0.6093826 0.6173826 0.6164734 0.6054131 0.5924143 0.5818996
0.5751252 0.5736163 0.57846 0.5891482 0.6039993 0.6213602 0.6402957
0.6601395 0.5491747 0.5592251 0.5678208 0.5763867 0.583518 0.5918678
0.5972494 0.6010039 0.6023585 0.601899 0.599632 0.5965074 0.594432
0.5946715 0.5924236 0.5859658 0.5766615 0.5693192 0.5619602 0.5600696
0.5668631 0.5811077 0.5994594 0.6197436 0.64103 0.6628658 0.5544749
0.564795 0.5735011 0.582544 0.590395 0.5968535 0.6050974 0.6086885
0.6095204 0.6069406 0.5998511 0.5895128 0.5778536 0.571291 0.5722686
0.5711793 0.5657539 0.5573822 0.5485481 0.5440963 0.5540528 0.5740682
0.5963233 0.6191951 0.6423361 0.6656569 0.559448 0.5689327 0.5793557
0.5891021 0.5978846 0.6053764 0.6143344 0.6185499 0.6194066 0.6157722
0.606442 0.5903438 0.5667678 0.5531802 0.5619588 0.5647452 0.5616876
0.5544012 0.5444608 0.5326785 0.5509635 0.5796065 0.6067212 0.6324044
0.6567446 0.6797602 0.5640095 0.5741195 0.5851833 0.595849 0.6058496
0.6148253 0.6222676 0.6309425 0.6333373 0.6307818 0.6217527 0.6053414
0.5832264 0.5692047 0.5693622 0.5700866 0.5671258 0.5612885 0.5544518
0.5516112 0.5608492 0.586913 0.6123769 0.6372743 0.6611306 0.6837403
0.5671228 0.5788594 0.5906691 0.602425 0.6139039 0.6247842 0.6345991
0.6426466 0.6511124 0.65198 0.6462691 0.6334329 0.6144863 0.6018489
0.5954618 0.58642 0.5814607 0.5762116 0.572239 0.5727923 0.5787299
0.5941001 0.6132967 0.6441104 0.6663301 0.6877905 0.5706241 0.5828
0.595409 0.6083505 0.6214579 0.634499 0.6471432 0.6588831 0.6688491
0.6777224 0.6773869 0.6680873 0.6504211 0.6352676 0.6233187 0.6142494
0.6009879 0.5953811 0.5922905 0.5932077 0.5965151 0.6079478 0.6230493
0.6408775 0.6710796 0.6909357 0.5740617 0.5855322 0.5989716 0.6130975
0.627816 0.6429998 0.6584915 0.6740853 0.6894089 0.7033634 0.7125024
0.7033209 0.6852619 0.66637 0.650606 0.6382807 0.6287377 0.6157787
0.612366 0.6123877 0.6132064 0.6209421 0.631703 0.645408 0.6621878
0.6819512 0.5752765 0.5890642 0.6036271 0.6189833 0.6351274 0.6520336
0.6696786 0.6880745 0.7072963 0.726123 0.7473557 0.7381077 0.7131447
0.6916014 0.6740935 0.660298 0.6496527 0.6417218 0.6313196 0.6300338
0.6312113 0.6323107 0.6380383 0.6464654 0.65869 0.6755797 0.5752167
0.5892395 0.6042879 0.620425 0.6376491 0.6558945 0.6750658 0.6950625
0.7157363 0.7365556 0.7535877 0.7519928 0.7357528 0.708239 0.6919744
0.6786385 0.6680202 0.6598401 0.6538486 0.6460006 0.6447634 0.6419786
0.641445 0.6428543 0.6484581 0.6597019 0.5725719 0.5877408 0.6029503
0.6195173 0.6374081 0.6564261 0.6762724 0.696537 0.7148725 0.7336125
0.7464041 0.7491097 0.7408149 0.7285196 0.7156054 0.7035311 0.6833207
0.6753719 0.6690152 0.6639773 0.6571922 0.6504801 0.6416978 0.6339364
0.6288761 0.6318834 0.569524 0.584527 0.5995307 0.6162053 0.6344605
0.6538627 0.6738503 0.6916323 0.7110298 0.7277318 0.7390928 0.7443792
0.740823 0.7327009 0.7225855 0.7121775 0.7023819 0.6935545 0.6857299
0.6787932 0.6699633 0.6586305 0.6367416 0.6174788 0.6041228 0.5983855
0.5655012 0.5785682 0.5940601 0.6105852 0.6291128 0.648734 0.6661499
0.6858861 0.7044842 0.7204598 0.7320005 0.7392148 0.7385388 0.7332707
0.7254198 0.7166526 0.7079086 0.6994515 0.6910884 0.6823909 0.6713143
0.6561217 0.6259774 0.5973808 0.574114 0.5600256 0.5608076 0.572884
0.5867147 0.6029504 0.6200513 0.6391513 0.6585817 0.6778059 0.6960663
0.7122481 0.7248741 0.7337775 0.7348747 0.7311407 0.7247229 0.7174056
0.7099886 0.7023634 0.6902757 0.6800595 0.6656801 0.6449676 0.6146677
0.5755178 0.5416361 0.5184267 0.5558732 0.5670903 0.5787305 0.5939489
0.611985 0.6304168 0.6490479 0.6676067 0.6856816 0.7025953 0.7170987
0.7269335 0.7299202 0.7261889 0.7203128 0.7144499 0.7047586 0.6990447
0.6918243 0.6809956 0.6640658 0.64066 0.6064212 0.5639595 0.5130068
0.4751856 0.5509697 0.5618514 0.5730414 0.5866041 0.5974181 0.6125587
0.6286543 0.6550978 0.6725913 0.6900763 0.7070844 0.7207402 0.7229133
0.7168553 0.707442 0.7029168 0.7004807 0.6985489 0.6946968 0.6860958
0.6700181 0.6467146 0.6110927 0.5650259 0.5091785 0.4444153 0.5459854
0.5555195 0.5671242 0.5789019 0.5865229 0.6000708 0.6145009 0.629889
0.6464697 0.6646889 0.6852543 0.7090812 0.7075383 0.6965449 0.6906236
0.6898115 0.6929443 0.6975588 0.7002029 0.6971387 0.6852239 0.6649335
0.6317113 0.5887987 0.5402089 0.4905586 0.5396691 0.5496314 0.560389
0.5701773 0.5822463 0.5864398 0.598604 0.6113632 0.6248637 0.6393398
0.6547101 0.667338 0.6659787 0.6660675 0.6645006 0.6699026 0.6814967
0.6961471 0.7090604 0.7150713 0.7102396 0.6950956 0.66664 0.6300523
0.5767452 0.545917 0.5340868 0.5432298 0.5529718 0.5607332 0.5709094
0.5722227 0.5816768 0.5910441 0.6001775 0.608826 0.616215 0.6198146
0.6194916 0.6136459 0.6286924 0.6420534 0.6651148 0.6939538 0.7216663
0.7405407 0.746568 0.7355638 0.7116324 0.6630477 0.6299137 0.6020041
0.5281537 0.5364333 0.545092 0.5510148 0.5593399 0.567256 0.5648239
0.5705597 0.5749525 0.5774492 0.5773877 0.5739946 0.5697128 0.5635233
0.5691704 0.589924 0.6420889 0.6900542 0.7382896 0.7744489 0.7907467
0.7840695 0.7458057 0.7152025 0.6840334 0.6571487 0.5219812 0.5294384
0.5370331 0.5415138 0.5481664 0.5539379 0.5583797 0.551735 0.551846
0.5488516 0.5414314 0.5321203 0.5213274 0.5140332 0.5142268 0.5412318
0.595896 0.6825587 0.758766 0.8183953 0.8446245 0.8372524 0.7980314
0.7662051 0.7354307 0.7092251 0.5157351 0.5224844 0.5291274 0.5326976
0.5379998 0.5420397 0.5443414 0.5361803 0.5331165 0.5258852 0.5134081
0.4975081 0.4786425 0.4610172 0.4520286 0.4792125 0.5545357 0.6603563
0.7798349 0.8742804 0.9064983 0.8778175 0.8442124 0.81054 0.7805084
0.7558489 0.5098761 0.515809 0.5217242 0.5249513 0.529337 0.5321987
0.533102 0.5315102 0.5204291 0.510758 0.4950159 0.4744318 0.4488995
0.4196252 0.3922111 0.4010006 0.5080234 0.6465266 0.78754 0.9278882
0.9496709 0.9102344 0.8743845 0.8428288 0.8161663 0.7949629 0.5046996
0.5095904 0.5151351 0.5185351 0.5224888 0.524784 0.5251318 0.5230893
0.5181303 0.5044527 0.4878196 0.4663623 0.4401322 0.4086441 0.3743808
0.3547572 0.497829 0.6443809 0.7779918 0.884829 0.9211038 0.9071615
0.8853093 0.8645523 0.8460862 0.830631 0.4997064 0.5048889 0.5095448
0.5135607 0.5175122 0.5198079 0.5204806 0.5192208 0.515532 0.5064013
0.492415 0.4762795 0.4581305 0.4395149 0.4280148 0.4520183 0.5399574
0.6512135 0.7541468 0.8382396 0.8742343 0.8786288 0.8759927 0.8689474
0.8662268 0.8513656 0.4947674 0.500391 0.5055802 0.5099891 0.5140443
0.520668 0.5233212 0.524096 0.5233988 0.5171921 0.5138893 0.4949133
0.4889098 0.4883024 0.5007222 0.5377578 0.6045977 0.6819261 0.7522482
0.8044789 0.833875 0.8495877 0.8678491 0.8744023 0.8683624 0.8540168
676*0 676*0.8
/
PERMX
676*0.01 46.60896 49.52835 52.82209 56.4986 61.62559 67.30106
72.70967 78.36158 83.87998 88.49451 90.76795 88.30375 77.95911
58.62905 44.45626 39.74086 35.05621 28.28537 20.88485 14.28564
9.465128 6.552099 3.577435 3.068822 3.10815 3.45134 46.54337
49.50443 53.35631 57.2601 61.73993 69.52801 76.28991 84.10899
94.48016 104.0415 113.2675 119.915 119.7971 109.2083 92.31934
76.37251 61.60406 44.73766 31.56998 20.76266 13.6727 8.588917
6.699441 5.842497 5.58827 5.673717 45.85419 48.75556 52.81739
56.9978 61.99748 68.08775 78.85428 88.53453 100.4009 114.828
133.1986 151.4864 166.1715 162.3828 137.4482 108.9825 83.86631
62.19392 42.34785 26.29539 16.61741 12.65627 10.47455 9.272181
8.711047 8.543527 44.59048 47.94071 51.40311 55.59221 60.7037
67.0489 78.47495 88.98732 102.4697 119.8815 142.2829 170.646
205.4692 212.8108 169.3407 131.376 100.0688 73.83121 50.77715
30.95968 21.77691 17.27835 14.27876 12.45832 11.50831 11.13617
42.82444 45.9424 49.15735 53.06364 57.84303 63.7929 71.36605
84.76839 97.79454 115.087 137.8508 166.513 197.5365 203.4445
171.4672 136.8493 106.3198 80.09985 57.811 40.08143 29.96803
23.8022 19.48884 16.95206 15.6026 14.98113 41.14145 43.44302
46.24797 49.60817 53.65428 58.6021 64.79317 72.76978 86.56395
100.5574 119.1807 141.5995 161.1292 165.9014 151.7345 128.1105
103.8721 81.37741 61.81475 46.17184 36.31414 29.9251 26.27316
21.69719 20.09505 19.35708 38.75823 40.69436 42.95728 45.58194
48.62492 52.1642 56.32858 61.3644 67.78188 78.93343 91.13493
107.6948 122.9349 130.0584 125.617 112.7624 95.27439 77.96337
62.02039 48.73209 40.149 33.96391 30.42124 28.59316 24.84787
24.2669 34.92385 38.01791 39.62519 41.43196 43.40182 45.45132
47.45343 49.25868 50.78925 52.49792 58.26274 70.98895 87.81231
98.77948 100.8199 95.25636 84.92961 71.67142 59.31572 48.4853
41.58625 36.45997 33.86234 32.96492 32.79343 32.5258 32.94579
32.93695 33.31757 34.07995 35.07684 36.03804 36.58021 36.21276
34.33725 32.06385 24.79325 38.60846 60.55128 74.67604 80.64062
79.70226 73.87987 65.29115 55.01326 46.32778 39.63385 37.46106
36.58783 37.43758 38.71408 39.33527 31.17098 30.74199 30.60252
30.76363 31.07579 31.24019 30.84486 29.40825 26.45118 21.80304
18.19958 26.51182 41.90714 59.68695 66.65179 67.90162 64.71214
58.6123 51.1335 43.15559 37.72662 37.10394 38.80812 42.39476
45.88385 47.89948 29.95103 29.07292 28.56791 28.4456 28.57623
28.65642 28.31471 27.2387 26.08671 24.12615 24.68694 29.99686
38.89347 46.96475 51.7482 52.84111 58.35155 53.61025 47.26637
40.51748 34.83119 35.45432 41.0514 48.58227 53.49858 57.70586
29.6717 28.06751 27.28853 27.16193 27.58584 28.19724 28.64155
29.69707 29.72613 30.20298 32.46492 36.51614 41.72906 46.54368
49.40487 49.81177 47.97941 44.46038 39.89595 34.89212 32.40519
32.69765 44.06338 56.33 66.00197 71.69361 30.04416 28.13835
26.73534 26.82681 28.00033 29.60265 32.24081 34.02062 35.84401
38.09145 41.18835 44.66863 47.70153 49.94178 50.75317 49.99147
47.87998 44.83466 41.33376 37.85485 35.16996 39.24343 54.22084
69.28004 81.5131 88.54622 31.37003 28.97416 26.86245 27.3691
30.39899 33.57228 36.73877 39.9329 43.30478 46.97446 50.79945
54.10773 55.64473 55.66571 54.39461 52.23319 49.59463 46.91964
44.72597 43.93712 45.7908 53.99321 67.65524 84.38393 99.35124
108.24 34.09413 31.56513 28.78166 30.05967 34.24279 38.32974
42.42699 46.69391 51.29024 56.23387 61.07423 64.45347 64.90543
62.53988 58.9952 55.28548 52.03903 49.77111 48.87229 50.12207
54.69179 65.26214 79.49743 97.31873 116.6865 130.3508 38.40719
36.64112 34.86654 37.62967 41.52707 46.46437 51.64414 53.62101
58.95625 64.90884 71.19191 75.87481 74.76965 69.14065 63.26343
58.22076 54.37479 52.08194 51.80991 54.1964 60.01809 71.63998
85.93624 104.0039 125.1323 148.5963 43.93131 42.01363 41.74097
45.40034 48.27699 52.57748 57.37642 62.5085 67.96362 73.8045
80.12499 86.99616 82.44811 73.46298 65.8098 59.64375 55.16918
52.67439 52.54547 55.24734 61.24041 72.65313 85.66833 101.2962
117.6683 127.9082 48.89928 48.40882 48.58463 52.92802 55.73809
58.69996 62.77298 67.16248 71.7756 76.52483 81.10255 83.73209
81.6333 73.11944 65.33099 58.73503 53.84162 51.02656 50.65256
53.06369 58.49211 68.7821 79.58909 91.49903 101.7445 106.2336
55.06681 54.96318 55.35645 60.13177 62.45395 64.57685 67.71437
70.98621 74.19926 77.06313 78.95422 78.365 74.09835 70.658
62.12569 55.49263 50.30402 47.06543 46.15906 47.88806 54.15027
61.15075 69.67573 78.72825 85.36564 87.08711 61.43568 61.60678
62.09697 67.07491 68.90523 70.93151 72.29688 74.27129 75.87037
76.73471 76.31396 73.66343 68.67619 65.87036 58.59298 51.70629
44.88199 41.1025 39.43376 40.23624 45.32809 51.0404 58.81816
65.92841 70.55228 70.95183 67.95502 68.35646 68.89269 73.86961
75.19971 76.44353 77.45016 77.40359 77.42051 76.45929 73.97556
69.8307 63.87068 56.42844 52.72996 45.41374 39.29772 33.78482
31.13076 30.76101 34.68077 39.66516 48.00645 54.56949 58.48947
58.3911 74.63282 75.27089 75.86187 80.64438 81.48965 81.9867
81.99545 80.73935 79.32186 76.75824 72.61994 67.00634 59.9203
51.68392 46.27849 38.26748 31.8402 26.77684 22.32981 20.20164
23.11201 30.43061 38.69991 45.90086 50.1517 50.1495 80.7195
82.41518 83.13437 87.52574 87.92997 87.74343 86.84912 85.09776
81.90332 77.94819 72.3305 65.34142 57.06694 47.79329 38.03103
30.67842 24.60713 19.67396 14.98363 10.2948 13.34941 22.1423
32.13068 41.06096 46.50673 47.05705 87.97586 89.82082 90.81987
94.62716 94.65417 93.85896 92.17412 89.49064 85.64471 80.16516
73.23608 64.9679 55.56074 45.2915 34.55598 24.48198 17.33008
11.85837 7.559645 5.376375 8.62324 17.87985 30.98138 43.05904
50.25753 51.20556 95.30314 97.00061 98.95306 102.0426 101.7525
100.4175 98.06341 94.60217 89.90808 83.48064 75.30154 65.93163
55.54831 44.50022 33.42945 23.5822 14.2537 8.832279 5.403482
3.7238 5.035332 14.20424 33.01362 49.74358 58.54708 62.29972
102.5091 104.8838 107.134 109.8419 109.2039 108.34 105.6569
101.5653 95.97449 88.68632 80.09438 68.50173 57.19432 45.27016
33.45591 22.81861 12.22445 7.167674 4.938332 5.066132 6.851032
15.49704 41.04416 62.27721 75.32845 79.46192 224.9523 218.8716
212.1727 206.7676 202.162 193.347 187.3866 181.7758 176.2694
170.1402 161.8529 148.7198 127.1596 96.03078 72.81768 61.04403
50.6206 38.56637 26.68744 16.84 10.27862 7.007414 5.325334
5.846005 7.167208 8.887291 233.3138 226.7421 221.9024 214.9126
208.1359 204.5304 199.364 195.069 187.2438 185.9006 184.8925
181.7359 171.6768 150.5931 124.011 99.76175 77.76423 51.8531
32.75959 17.67817 8.601741 4.059093 3.115759 3.634363 4.805577
6.126491 241.9021 234.7349 230.0927 222.4642 214.9372 207.9329
205.6581 201.9895 200.8415 202.9968 205.0023 214.8645 221.7206
208.4872 172.3497 133.0525 98.408 68.35279 39.75624 17.91548
6.708281 3.615438 3.137494 3.864424 5.108543 6.305689 250.8046
246.0561 237.9555 229.3212 220.5714 212.2751 208.9583 204.5288
203.5908 207.6959 218.4889 237.4231 263.6005 263.3663 205.703
155.1898 113.0742 77.39216 44.77723 18.11521 8.894465 6.978992
6.869982 7.923439 9.452033 10.76544 260.1393 254.7073 245.6125
235.5879 225.0481 214.6092 205.1519 201.8276 198.4562 200.6958
210.5066 228.8223 251.7979 245.83 203.4818 156.2012 114.6372
79.11944 49.31581 26.40341 17.74153 12.71822 11.47081 12.47319
14.54295 16.71714 272.2346 263.6097 253.335 241.5879 228.723
215.3107 202.1886 190.544 185.5826 181.9726 185.3844 195.5083
201.5286 195.688 169.4296 142.0553 107.935 77.12433 51.20802
31.67282 25.19014 21.05131 21.44186 19.19944 22.29595 25.87461
282.3655 273.0515 261.5229 247.8443 232.2708 215.2663 197.5167
179.9765 164.0332 154.4413 148.4449 150.755 150.8985 147.3992
132.5507 110.0382 94.13249 69.84889 48.85108 32.88033 29.63369
26.35855 27.84054 32.17945 32.1795 37.76461 292.0639 283.3664
270.6555 255.0071 236.5701 215.71 192.9513 168.9187 144.3983
120.9488 104.6522 98.65333 103.5245 104.2691 97.10144 83.50227
66.7531 59.13963 43.01881 30.72396 30.84011 29.91342 34.02728
41.33246 49.67447 57.228 300 293.124 279.109 261.4516
240.2045 215.6863 188.3578 158.6573 126.8735 94.48346 59.08233
54.65786 65.10413 69.34289 66.93107 59.22931 48.45321 36.95254
35.20323 26.17375 22.0169 31.39708 39.66531 51.52318 63.99267
74.65384 2*300 291.5034 272.2021 248.1977 220.0651 188.6159
154.642 118.8484 82.24824 48.85901 36.02755 38.07243 44.83437
43.84005 39.35891 32.55636 24.92778 18.08367 20.35821 18.53125
30.68254 44.91989 63.34582 81.29266 95.57299 3*300 285.6125
259.0227 227.5404 192.6698 155.873 116.6021 82.00854 54.50628
35.06933 28.05007 24.80123 21.83337 18.09465 20.34278 15.55215
11.11058 8.299376 13.61341 27.60342 50.81771 78.41035 103.1842
121.7234 4*300 272.3671 237.3481 199.2963 157.8434 120.1664
86.12125 58.88559 35.64874 23.46337 16.47728 12.13706 8.98407
6.445799 4.470349 3.238934 3.01502 6.647635 22.46668 61.27663
100.0931 132.1432 154.1907 4*300 287.133 247.8644 204.1037
163.0665 124.2345 89.54957 61.09904 35.51999 20.4699 11.2946
6.204025 3.770096 3.16908 4.072076 6.448378 10.44756 16.89798
39.96462 85.89507 131.0635 168.846 193.7955 4*300 298.8199
254.2728 209.8898 167.0685 127.0016 91.08031 60.88159 33.86932
17.31683 7.393807 2.530471 1.326332 2.962035 7.170941 13.46231
24.63053 42.05258 77.6843 119.1966 168.51 211.9237 240.6447
5*300 257.6017 212.1588 168.636 127.7688 90.53887 58.30399
32.97705 13.12593 3.833523 0.1829606 0.6762808 3.648358 11.45612
23.26223 40.22885 64.47885 108.1784 150.7736 201.0633 254.8631
293.7216 5*300 257.9076 215.0602 167.5322 126.7793 88.6853
54.22139 25.87382 7.716212 0.6945884 0.01 0.4628213 6.695297
17.01909 32.01815 52.70399 80.45299 128.4715 171.1373 221.5266
277.91 5*300 286.5111 249.0917 209.4152 169.2791 129.6654
91.18845 54.27163 19.25249 3.532598 2*0.01 2.19829 9.630423
21.46485 38.20855 60.53686 89.16039 137.7824 177.4269 221.7776
266.6258 296.7798 4*300 274.7783 238.099 202.0071 164.7449
127.4867 91.14716 56.80743 26.6138 9.73122 2.256275 1.061714
4.287514 11.93928 24.20214 41.34271 63.64248 91.22537 137.4616
171.8375 207.1089 237.0887 252.3864 3*300 285.7128 260.5132
226.9184 194.2049 160.1227 125.9093 92.77844 62.31447 35.53109
17.60984 8.8996 4.121167 6.291638 13.33138 25.13462 41.64427
62.78294 102.8477 130.2646 159.0108 186.0708 205.5083 213.1825
2*300 288.6342 270.7629 247.4419 220.5005 186.7965 155.7969
124.7009 94.76697 67.47202 42.51051 24.69573 14.21389 9.289258
9.717592 13.74255 24.56967 39.80755 59.15943 94.91589 119.2424
144.2508 164.0804 176.9249 179.8302 300 289.07 274.4549
257.4981 235.7756 211.0099 184.0065 151.8945 123.6083 96.40899
69.74336 47.79231 30.16498 17.31639 11.79324 10.86651 15.30658
23.25739 36.91488 54.12688 84.85201 107.227 129.2123 144.968
153.4423 152.9955 287.2735 276.1483 261.9065 245.8575 225.5587
202.6407 177.7652 148.4699 122.5592 97.58973 72.73804 51.82388
34.32721 20.77697 12.98083 10.74179 14.67899 23.32897 34.69875
49.07317 74.66291 98.51569 117.8518 130.9097 136.356 133.4681
276.4753 264.6016 250.9497 235.7809 216.7901 195.4692 172.3654
148.2186 121.6279 98.47292 75.21791 55.12455 37.75624 23.57036
13.08291 9.277671 14.08825 23.54089 34.98968 46.49775 69.51734
94.47607 112.5716 123.251 126.3467 121.8184 264.9051 254.412
241.5331 227.2126 209.4603 189.5692 167.9922 145.2951 122.3219
98.59953 77.52975 58.17838 41.10616 26.77221 13.04736 8.443179
15.52301 26.08128 39.2462 55.20094 76.80957 97.79787 111.9155
118.8887 119.5355 114.2622 254.3835 245.4462 233.5621 220.0876
203.5312 184.9853 164.8832 143.6388 121.6869 98.86544 76.81848
56.95686 39.83878 26.07586 16.56605 13.02645 21.27883 32.74545
49.18727 65.98718 89.93985 110.3173 119.6493 123.2263 119.466
115.7967 244.8028 236.4028 226.5298 214.3135 198.8506 180.4808
161.9241 142.6318 123.0329 101.9591 82.37264 60.25216 43.46776
29.67322 19.9757 15.99739 24.64141 36.04933 54.38676 77.33249
102.6898 122.602 125.5183 126.9461 127.1559 125.7123 228.2023
217.9609 206.9745 196.54 186.4318 171.9016 160.4624 149.4153
138.8035 128.437 117.7383 105.5851 90.45648 72.17241 61.11562
60.58553 61.19616 61.01324 60.58531 60.59542 61.4314 62.80494
65.82317 65.82352 64.17486 60.66138 240.3802 229.7302 219.4512
207.7544 195.9359 185.3483 173.9153 162.9289 146.8956 138.343
130.7593 123.1742 113.6542 100.8172 88.68034 79.65247 72.95927
67.50925 63.0696 60.02999 59.15203 61.31856 61.78801 60.92373
57.96299 52.49469 253.3148 242.2122 231.7285 219.2228 206.3568
193.4438 182.5102 170.9859 160.9255 152.9556 142.7157 141.1946
139.7653 131.4232 114.8344 98.57223 85.58771 75.25103 67.3519
60.52904 59.5397 60.60442 61.22164 60.16508 56.67205 50.09032
267.0315 256.9723 244.4277 230.9154 216.767 202.4123 190.1393
177.3414 166.5203 158.7371 155.0944 156.5678 162.0966 159.9628
134.0687 112.6806 96.04408 82.88564 71.53298 62.39222 60.85369
61.62665 61.78036 60.6813 57.62421 51.85234 281.5877 271.0108
257.6388 242.9159 227.1824 210.9239 194.8089 181.5194 168.5692
159.0766 154.4063 155.3736 160.4803 154.1049 136.9792 117.0525
100.6689 87.60992 77.32889 69.99395 69.63319 69.04176 69.31386
69.19126 67.8045 64.37611 298.0857 285.8036 271.5246 255.4195
237.8033 219.1691 200.2147 181.8806 167.0238 153.7607 145.4068
142.373 138.9409 133.528 120.785 114.8047 101.834 90.98672
82.65176 77.17861 78.85403 79.53388 81.57559 80.98306 82.20379
82.36636 2*300 286.3076 268.7226 248.9953 227.6006 205.2186
182.7421 161.3617 143.9632 130.2247 123.2716 117.323 113.3153
106.2087 97.44866 99.67809 92.08741 86.38 83.04412 87.22173
89.0379 92.65233 97.18264 98.91656 103.3643 3*300 283.1915
261.2289 236.8452 210.7189 183.6556 156.5966 130.9765 110.8665
98.89966 96.6276 95.00565 91.84927 87.63761 83.68736 91.40951
88.48806 87.48554 94.09326 97.72562 103.4889 110.7677 118.9399
127.4752 3*300 297.6346 273.4112 246.0483 216.3112 185.0195
152.9218 121.4576 89.78133 78.93484 79.88147 80.1369 79.44194
78.32246 77.62051 78.16531 89.29459 90.55596 93.89895 104.8218
112.9928 123.0559 134.346 146.4797 4*300 288.8787 258.3057
224.9259 189.9337 154.4459 119.7189 88.94833 72.82346 68.55438
69.78741 69.71397 70.31209 71.87626 74.80309 79.45287 92.41302
97.61536 109.8518 120.5496 133.2613 146.8262 160.5277 5*300
272.4508 235.4981 197.3613 159.011 124.455 96.22677 75.50161
65.36485 60.61354 59.08758 59.91615 66.79655 71.55736 78.047
86.33509 99.87013 112.59 126.1983 141.5729 156.733 170.181
5*300 287.7272 246.9452 204.8985 165.544 130.0379 100.9579
77.11195 63.356 56.06956 53.56061 54.6314 58.5553 64.92513
73.50848 84.13156 97.85839 113.1589 131.1605 149.1883 165.2092
177.7588 6*300 256.8203 212.5945 170.8524 133.4545 102.3831
76.11997 60.09293 51.28779 48.28738 49.73057 54.62273 62.32631
72.43896 84.67381 97.66637 117.7611 138.1049 157.4227 174.0351
185.72 6*300 264.9924 217.9016 173.725 133.9144 100.2493
71.92658 54.48501 45.26209 42.5915 44.8175 50.77966 59.75237
67.67719 82.40092 99.29954 126.2121 145.012 166.3319 183.7661
195.2804 6*300 268.7672 220.0033 173.9047 131.5774 94.75522
66.19485 46.10133 37.80986 36.44359 39.88584 42.40469 52.78236
66.06 81.87193 99.89977 132.2185 151.4607 171.9454 193.0684
206.8901 6*300 267.0501 219.0596 172.1136 127.7366 87.21526
54.18796 35.27618 29.94195 26.8648 30.99331 38.8425 49.98464
64.02666 80.58283 99.28551 135.1649 154.5455 175.0676 195.9545
216.4444 6*300 261.9067 215.1951 169.131 124.4772 81.79544
41.57028 25.16008 22.13613 22.88758 27.42926 35.62762 47.18867
61.6932 78.65453 97.57174 135.0781 153.7169 172.3739 189.388
202.7975 5*300 297.6326 255.1321 211.2186 167.2912 124.4823
84.18608 48.66016 31.24363 22.17142 21.26988 24.98923 32.90327
44.54058 59.27957 76.41434 95.2212 132.6645 150.0102 165.966
184.0694 189.8398 5*300 287.3847 248.3633 207.6327 166.6745
126.996 90.63051 58.09587 37.76983 29.50942 21.32725 23.36084
30.57346 42.14794 57.09093 74.36752 111.9184 129.0858 145.2281
166.3876 176.8101 180.5511 5*300 285.7158 242.5495 204.9114
167.0094 130.403 96.99284 65.48351 44.17693 33.38906 27.28242
27.84422 28.38178 40.1374 55.54281 73.15903 108.3842 125.616
148.9849 163.3978 172.6362 175.3306 5*300 278.1369 245.1375
203.2298 168.0222 133.887 99.04955 71.20781 48.85715 32.86654
26.87938 25.64846 31.82412 38.84937 55.27328 73.55811 105.5222
123.5321 148.9336 163.6193 172.4527 174.5082 5*300 272.2655
241.3293 202.685 169.6881 137.4014 103.823 75.94168 52.33967
34.00716 24.5003 21.42215 28.23077 42.16827 57.40689 76.46085
104.4172 131.6003 152.6196 168.1582 176.9324 178.3649 4*300
294.9074 268.2239 238.9771 208.0128 172.1735 141.262 108.701
80.45853 55.56594 34.87173 19.40793 14.43066 24.13711 41.54688
62.00232 82.91416 110.2322 138.3659 161.4476 177.9287 186.5966
187.0719 4*300 291.3991 266.1228 238.3234 208.6548 178.0857
144.5452 114.0891 85.42109 59.59761 37.40942 19.65821 9.773384
23.7524 43.2812 66.06902 92.11561 125.0532 158.3813 186.3672
205.582 214.2084 212.0364 4*300 289.9533 266.02 239.6546
211.335 181.5573 150.3572 119.6255 90.88538 64.98312 42.95472
26.58642 20.01562 27.5148 44.94935 70.10049 101.909 137.3862
174.4446 204.3768 225.2722 234.3658 225.8507 4*300 290.3579
266.4606 241.7254 215.4776 188.2818 156.5283 127.3815 97.96581
72.01083 49.85227 33.56049 26.06557 30.7628 45.9488 71.62018
105.8739 146.6663 189.9971 226.062 251.4614 255.9388 239.6644
82.00401 77.03005 72.01886 67.33161 59.67887 55.30463 50.72889
46.83637 43.89919 42.23612 42.24374 44.44466 49.50808 58.2793
73.64649 93.56238 115.272 135.5807 151.7655 160.6104 159.8325
150.0683 134.6877 115.1249 93.95209 72.62255 89.37505 84.35513
78.63448 73.77219 69.27229 58.18832 52.61249 47.7626 44.85021
42.58542 42.13194 44.18688 49.97895 61.29744 80.11466 103.7907
129.8465 153.809 175.7317 188.743 187.2629 173.7367 153.1388
129.6975 105.0863 80.24008 97.34946 92.22495 85.99867 80.5092
75.1096 69.89231 55.9352 50.13104 45.37546 42.07684 41.78215
43.20468 48.56521 61.84186 83.69248 110.6367 140.1047 170.505
198.9406 220.3 216.4184 194.8313 169.3631 142.9048 116.0497
88.91512 105.8446 99.64236 93.75892 87.58184 81.26637 74.96224
59.76776 52.96 47.23991 43.09586 41.04113 41.58677 45.87824
58.6754 85.44092 114.8635 146.0869 178.637 212.6006 246.1562
235.2157 207.91 180.8561 154.0115 127.229 100.2869 114.8374
108.3605 101.9688 95.06318 87.79859 80.35142 72.94236 56.25865
49.49899 44.51422 41.99612 42.62394 47.33255 60.20906 88.83818
117.6774 147.9693 178.6365 207.7367 228.7563 225.977 207.734
184.8968 161.0641 137.1026 113.2897 123.6492 117.594 110.6801
103.0369 94.80334 86.16449 77.37077 68.75814 52.05582 46.07473
43.12698 44.30196 50.77679 64.12437 83.92426 118.1233 145.2654
171.7726 194.8651 209.8913 209.549 199.3784 183.2264 164.6304
145.4318 126.6742 133.6755 127.3083 119.9303 111.5921 102.4018
92.54812 82.30269 72.02892 62.22786 47.43476 43.58058 44.93007
52.4042 65.59243 83.51621 104.7949 140.0582 162.3176 180.9468
193.1871 193.8458 188.5846 178.0847 165.036 151.4495 138.5239
143.7193 137.4226 129.7566 120.8259 110.7259 99.66916 87.96246
75.98344 64.19613 53.3158 42.74104 43.92738 52.36261 65.31955
81.68606 100.459 120.4006 152.279 167.7712 178.3596 179.6097
177.3791 171.0457 162.6529 154.1412 147.043 153.9059 147.8157
140.0714 130.6658 119.7214 107.5203 94.45397 80.95191 67.43121
54.26762 42.16026 42.54598 52.10291 64.42553 79.13815 95.60214
112.8787 129.8199 155.634 164.9995 169.9854 166.226 162.5665
157.4464 152.7776 150.2811 164.402 158.9525 151.4055 141.6646
129.8904 116.5132 102.1143 87.29914 72.64922 58.81439 47.3033
46.12517 52.68187 63.83404 76.47796 90.68649 105.6192 120.3252
133.8113 152.7685 157.598 155.17 152.717 149.2133 146.6181
146.5719 177.0853 170.7335 163.6176 153.6113 140.9158 126.2396
110.4871 94.53225 78.92108 65.46649 55.27593 52.4642 55.5633
62.62368 72.41358 84.03811 98.7627 111.5591 123.5072 133.8286
145.8109 144.2956 141.5196 137.9248 132.9751 133.5125 188.0075
183.0824 176.7733 166.5219 152.5993 136.2979 119.0172 101.5559
85.72234 72.03931 61.66435 57.29321 57.87207 62.40747 69.89829
79.40775 90.07948 101.136 111.9021 121.8283 131.061 133.8106
127.2274 121.5151 117.9157 117.7486 198.2948 197.0804 190.8568
180.3071 164.4206 145.9546 126.5786 108.3043 91.55409 77.18204
66.07536 60.08702 58.75019 61.31081 66.92359 74.65412 83.62122
93.03858 102.2288 110.6256 114.7524 118.4094 112.7461 105.1473
99.67477 98.54763 206.8508 207.9351 205.5874 194.4538 174.6844
153.6532 133.0368 113.5616 95.82241 80.48977 68.34569 60.72995
57.90427 59.08167 63.36682 69.75666 77.33178 85.26077 84.78928
92.57832 98.05117 100.0874 93.59572 87.9156 79.70526 76.85933
212.1369 214.4408 216.6972 203.9886 180.9491 158.5661 137.1137
116.9063 98.34541 81.96133 68.50994 59.10201 55.292 55.76886
59.34568 64.87732 61.50242 68.35844 75.26971 81.10368 84.37743
86.23715 79.75824 69.80592 61.09515 53.44342 213.4062 214.1858
210.4846 200.9438 179.2552 157.9802 136.8464 118.3617 99.367
82.05959 67.04431 55.76724 51.12986 51.82473 47.04954 50.42668
55.50682 61.54938 67.62837 72.63107 75.32606 78.05502 72.37725
62.97343 50.1849 34.46615 211.6842 207.779 202.7945 194.2095
174.6713 155.7771 136.0264 116.4885 97.80789 80.44507 64.76619
51.08495 44.35473 42.30803 42.81863 45.66664 50.39777 56.30452
62.4602 67.80331 71.27652 75.94338 72.63226 66.5853 59.24158
57.43864 205.8108 202.3473 195.8539 187.9036 174.4613 152.3517
134.1033 115.5922 97.55834 80.61156 65.43433 51.76051 46.09575
39.21503 38.93127 41.43422 46.29943 52.80001 59.95893 66.70645
72.06797 79.47849 79.71648 78.46852 79.4632 82.85006 201.9291
197.186 189.8779 182.4048 169.8321 148.847 131.8952 114.4525
97.2739 81.10513 66.87048 52.70014 45.61692 43.25249 35.27503
37.62715 43.14481 51.01181 60.07941 69.15354 81.99697 87.74162
91.90091 96.98968 100.4746 107.4483 198.1966 192.6716 184.9286
177.8269 165.8158 151.8241 129.9454 113.4318 97.04158 81.52895
67.77424 52.62613 44.49673 41.16455 40.42163 43.89206 40.73297
50.83765 62.71999 74.90597 90.44318 99.83721 109.2022 114.9912
121.5126 130.5732 194.9131 188.9822 181.0599 174.2395 162.6246
149.2077 134.4139 112.782 96.96554 81.80714 64.17355 51.88323
42.46154 36.73728 35.92329 39.29224 48.17826 52.30107 67.93106
83.85315 102.1104 115.2165 125.8441 133.5111 141.3447 151.2208
192.2879 186.2383 178.3414 171.7091 160.4049 147.3844 132.9985
112.7182 97.24573 82.16669 64.2978 50.98477 40.01144 32.27455
29.77259 32.825 44.14685 61.26458 76.17444 96.10927 116.99
133.4073 144.0685 151.6629 158.8308 167.973 190.8131 184.5244
176.8505 170.3067 159.2896 146.5603 132.4041 117.2573 98.14452
82.97451 64.99563 50.53313 37.97122 28.04649 21.83985 23.6943
39.49572 62.058 87.00994 111.9231 136.1451 154.1008 163.7522
168.516 172.6631 179.2172 189.4406 183.8686 176.6442 170.0995
159.4032 146.9458 132.9582 117.7476 101.9061 83.04475 66.56459
51.0287 37.25714 25.93688 18.29666 16.70223 39.86985 67.61227
97.90821 129.8621 162.512 185.129 192.8611 192.7368 191.8609
193.4611 188.8252 184.1507 177.7058 171.1302 160.8217 148.7025
135.0273 119.985 103.7686 86.31154 69.12142 53.1475 39.07087
27.86492 21.3705 23.94036 39.9117 65.93426 99.5457 143.7718
186.1446 212.8885 208.6744 198.8871 193.5841 189.5094 188.8159
184.7512 179.665 173.3932 163.4655 151.6396 138.7129 124.5925
109.748 90.10357 73.42763 56.28612 41.8906 30.58117 24.46761
26.62278 39.60292 63.25313 96.87471 139.4486 189.9473 227.9465
209.8755 194.3617 182.8853 175.33 82.59 79.58382 76.25517
73.81001 67.66017 64.39417 60.38244 56.30733 52.35086 48.83037
46.29712 45.65383 48.1515 54.94468 66.55148 83.25098 100.6055
117.676 132.6355 143.3681 148.362 147.9498 145.1654 138.7593
131.1646 122.9503 89.04243 86.17049 83.52046 80.58418 77.76228
67.77418 62.79381 57.5965 53.45464 48.36537 43.8055 40.79156
41.29559 47.85769 61.55227 79.63341 99.80263 121.5762 140.2164
153.58 158.1111 156.1841 149.2149 140.6275 131.3547 121.777
96.07484 93.32837 90.9242 87.74714 84.35161 80.60079 67.24212
61.18608 54.74707 48.02016 42.45147 36.20417 32.79427 38.51721
55.18099 76.6652 99.72604 123.2496 146.6728 165.2065 168.5939
160.6939 150.6351 140.1982 129.735 119.2825 103.5693 101.5983
98.65589 95.28476 91.48923 87.18283 72.91959 66.29221 59.08214
51.25667 42.81511 33.85323 25.36527 27.53065 50.42282 74.18706
98.18059 122.5409 146.8311 172.6136 170.2097 157.795 145.974
134.7198 123.9465 113.5452 111.435 109.6168 106.6695 103.1739
99.13106 94.47462 89.09057 73.04624 65.60099 57.48978 48.72241
39.57708 31.59059 33.8792 52.11184 72.90946 94.34127 115.8745
136.5128 151.9846 153.6924 146.4867 136.8739 126.9721 117.2643
107.8343 120.0537 117.7979 114.8702 111.3427 107.203 102.3977
96.84549 90.43755 74.16758 66.54126 58.60051 51.08291 46.00965
48.06841 58.11109 74.43659 90.75291 106.9747 121.3013 130.7128
133.2594 128.7863 121.3972 116.1123 108.3604 100.5996 128.1317
125.9199 123.1053 119.6728 115.5832 110.8009 105.294 99.02491
91.93394 77.56226 70.8214 64.55186 60.17879 60.39335 65.53294
74.30263 86.94045 97.38213 106.1138 111.4307 113.3248 110.6739
105.8666 100.3133 97.82722 92.1613 136.6222 133.6832 131.2055
128.0305 124.12 119.4766 114.1354 108.1507 101.5805 94.43095
83.99967 77.86394 72.87749 70.69044 71.82956 75.61491 80.83162
88.24805 92.13239 93.94002 94.43796 92.33774 89.32409 86.09506
82.98966 80.08012 143.5025 142.9293 141.37 138.7815 135.1763
130.6388 125.3012 119.3112 112.8142 104.8263 98.40349 90.5146
83.5806 79.03413 76.85768 76.50585 77.12743 77.81702 79.56332
77.98027 75.57488 74.23227 72.52783 71.45209 70.7725 70.28028
149.9807 150.1935 149.2615 147.1007 143.7443 139.3466 134.1194
128.2617 121.923 115.177 107.7829 100.2392 93.26315 85.60178
80.88564 77.23302 74.05437 70.71805 66.7773 63.49499 58.6264
56.42663 55.97019 57.1236 58.81474 60.50883 155.2615 157.1116
156.8769 155.1226 151.8985 147.4854 142.2217 136.3611 129.8479
123.0441 115.4031 107.5007 100.3437 93.25107 86.51488 80.05533
72.05742 65.40681 57.92719 49.69376 42.61537 38.91322 40.38612
44.16265 47.07088 50.47281 160.6926 163.5668 164.1597 162.7565
159.4391 154.7738 149.3188 143.1315 136.8682 130.1148 122.5718
114.1847 106.6074 98.51164 90.15649 81.62261 72.7773 63.32278
52.89553 41.21779 28.32117 22.05529 27.35921 33.39407 38.53855
42.93174 165.2192 168.5814 171.0255 169.8729 166.0176 160.7762
154.6633 148.7173 142.6462 136.2441 129.1431 120.5165 112.5084
103.4974 93.83022 83.78328 73.40611 62.53326 50.88665 38.23525
23.03409 16.94266 22.90908 28.54995 33.45475 37.88434 168.109
173.0918 177.2665 176.133 170.5695 164.3708 158.2815 152.4586
146.8334 141.1427 134.8884 126.5279 118.1825 108.255 97.44832
86.36037 75.22844 64.02114 47.3475 37.02177 28.15342 23.85338
24.41181 29.05149 32.0846 35.52447 168.3534 174.1827 180.3713
178.8285 171.829 165.2937 159.2945 153.8563 148.9325 144.3185
139.4534 133.1497 123.548 112.4404 100.5148 88.803 70.92942
60.28433 50.63628 42.14832 35.46032 32.0248 30.98838 31.6322
34.15236 35.57666 165.4583 170.2894 173.4634 172.7396 167.7654
161.9128 156.316 152.4857 148.3438 144.9501 142.0403 138.0238
128.1434 115.0286 96.46521 83.46243 72.29516 62.84999 54.95157
48.53948 43.75222 41.2673 39.94228 39.56209 39.3018 38.54783
160.0714 162.9806 164.7374 164.392 161.0211 156.4101 151.6198
147.2363 143.632 141.0964 139.8881 140.2216 127.242 109.5398
94.50072 82.18364 72.45866 65.02629 59.5003 55.52639 52.85556
51.65961 50.94966 50.70401 50.66328 45.97561 152.7945 154.9359
155.6318 155.3384 152.6061 148.7436 144.4793 140.3488 136.7335
133.8712 131.7078 127.5677 117.4343 101.4115 88.34436 78.08918
70.85491 66.32406 63.89454 62.89695 62.7672 63.24245 63.74951
64.3189 56.7061 56.85971 145.2607 146.3843 146.3138 145.8643
143.2683 139.613 135.4609 131.1721 127.0217 123.0844 119.042
111.5742 103.3845 91.687 78.35835 71.09396 67.27119 66.56524
68.06777 70.70642 73.53563 76.05552 78.0636 70.27762 70.22677
70.23214 137.3183 137.6173 136.8952 136.1477 133.3731 129.6967
125.18 120.4207 115.4621 110.3066 104.7119 95.28991 87.18858
76.90621 69.99724 66.46267 61.7599 65.84035 72.23369 79.25246
85.31865 90.2116 85.01074 85.66747 85.67719 85.65634 129.2173
128.8238 127.5094 126.375 123.2431 119.2177 114.4709 108.8356
103.0102 96.76608 87.26545 79.23589 70.6921 62.69186 55.14687
54.2556 59.25407 64.47876 76.87122 89.08844 98.76413 105.8849
101.8954 102.7178 102.6026 102.4458 121.1437 120.1656 118.3158
116.7453 113.1771 108.6873 103.3852 97.07008 90.43686 83.32414
72.99651 64.06169 54.7327 45.95173 38.36374 39.09109 49.20837
65.83925 82.64188 100.9695 114.3953 117.4963 120.4353 121.0018
120.3936 119.7735 112.3529 111.7889 109.4866 107.4569 103.4561
98.48761 92.61219 85.95576 78.32552 70.62328 60.09697 50.60002
40.61292 30.63057 22.02435 20.64563 38.07505 62.58418 88.7653
114.6415 129.9204 137.1581 140.0751 139.8857 138.3106 136.7974
104.9946 103.8126 101.182 98.68858 94.32815 88.96175 82.61309
75.32972 67.3644 58.03326 49.08361 39.60925 29.78188 19.93888
8.950747 5.96541 32.06404 61.4733 92.05293 122.2135 146.9569
162.1886 167.7186 167.3492 164.4813 160.9442 97.97211 95.78146
93.51328 90.57754 85.97255 80.36834 73.80956 66.29073 57.79102
47.94774 37.82467 28.07947 19.07557 11.5472 7.384835 11.95271
31.83444 59.5365 91.57556 128.3101 161.4253 182.3386 185.5885
183.2109 180.6193 174.0008 91.25936 89.03712 86.22021 83.20066
78.43737 71.78635 65.32677 58.35546 51.03935 40.66842 31.88419
22.05298 14.49738 9.224348 8.306502 14.91885 33.08019 58.60392
90.59644 126.8803 165.7937 196.6113 197.6143 196.0726 190.5235
181.7045 676*0.01 676*50
/
PERMY
676*0.01 46.60896 49.52835 52.82209 56.4986 61.62559 67.30106
72.70967 78.36158 83.87998 88.49451 90.76795 88.30375 77.95911
58.62905 44.45626 39.74086 35.05621 28.28537 20.88485 14.28564
9.465128 6.552099 3.577435 3.068822 3.10815 3.45134 46.54337
49.50443 53.35631 57.2601 61.73993 69.52801 76.28991 84.10899
94.48016 104.0415 113.2675 119.915 119.7971 109.2083 92.31934
76.37251 61.60406 44.73766 31.56998 20.76266 13.6727 8.588917
6.699441 5.842497 5.58827 5.673717 45.85419 48.75556 52.81739
56.9978 61.99748 68.08775 78.85428 88.53453 100.4009 114.828
133.1986 151.4864 166.1715 162.3828 137.4482 108.9825 83.86631
62.19392 42.34785 26.29539 16.61741 12.65627 10.47455 9.272181
8.711047 8.543527 44.59048 47.94071 51.40311 55.59221 60.7037
67.0489 78.47495 88.98732 102.4697 119.8815 142.2829 170.646
205.4692 212.8108 169.3407 131.376 100.0688 73.83121 50.77715
30.95968 21.77691 17.27835 14.27876 12.45832 11.50831 11.13617
42.82444 45.9424 49.15735 53.06364 57.84303 63.7929 71.36605
84.76839 97.79454 115.087 137.8508 166.513 197.5365 203.4445
171.4672 136.8493 106.3198 80.09985 57.811 40.08143 29.96803
23.8022 19.48884 16.95206 15.6026 14.98113 41.14145 43.44302
46.24797 49.60817 53.65428 58.6021 64.79317 72.76978 86.56395
100.5574 119.1807 141.5995 161.1292 165.9014 151.7345 128.1105
103.8721 81.37741 61.81475 46.17184 36.31414 29.9251 26.27316
21.69719 20.09505 19.35708 38.75823 40.69436 42.95728 45.58194
48.62492 52.1642 56.32858 61.3644 67.78188 78.93343 91.13493
107.6948 122.9349 130.0584 125.617 112.7624 95.27439 77.96337
62.02039 48.73209 40.149 33.96391 30.42124 28.59316 24.84787
24.2669 34.92385 38.01791 39.62519 41.43196 43.40182 45.45132
47.45343 49.25868 50.78925 52.49792 58.26274 70.98895 87.81231
98.77948 100.8199 95.25636 84.92961 71.67142 59.31572 48.4853
41.58625 36.45997 33.86234 32.96492 32.79343 32.5258 32.94579
32.93695 33.31757 34.07995 35.07684 36.03804 36.58021 36.21276
34.33725 32.06385 24.79325 38.60846 60.55128 74.67604 80.64062
79.70226 73.87987 65.29115 55.01326 46.32778 39.63385 37.46106
36.58783 37.43758 38.71408 39.33527 31.17098 30.74199 30.60252
30.76363 31.07579 31.24019 30.84486 29.40825 26.45118 21.80304
18.19958 26.51182 41.90714 59.68695 66.65179 67.90162 64.71214
58.6123 51.1335 43.15559 37.72662 37.10394 38.80812 42.39476
45.88385 47.89948 29.95103 29.07292 28.56791 28.4456 28.57623
28.65642 28.31471 27.2387 26.08671 24.12615 24.68694 29.99686
38.89347 46.96475 51.7482 52.84111 58.35155 53.61025 47.26637
40.51748 34.83119 35.45432 41.0514 48.58227 53.49858 57.70586
29.6717 28.06751 27.28853 27.16193 27.58584 28.19724 28.64155
29.69707 29.72613 30.20298 32.46492 36.51614 41.72906 46.54368
49.40487 49.81177 47.97941 44.46038 39.89595 34.89212 32.40519
32.69765 44.06338 56.33 66.00197 71.69361 30.04416 28.13835
26.73534 26.82681 28.00033 29.60265 32.24081 34.02062 35.84401
38.09145 41.18835 44.66863 47.70153 49.94178 50.75317 49.99147
47.87998 44.83466 41.33376 37.85485 35.16996 39.24343 54.22084
69.28004 81.5131 88.54622 31.37003 28.97416 26.86245 27.3691
30.39899 33.57228 36.73877 39.9329 43.30478 46.97446 50.79945
54.10773 55.64473 55.66571 54.39461 52.23319 49.59463 46.91964
44.72597 43.93712 45.7908 53.99321 67.65524 84.38393 99.35124
108.24 34.09413 31.56513 28.78166 30.05967 34.24279 38.32974
42.42699 46.69391 51.29024 56.23387 61.07423 64.45347 64.90543
62.53988 58.9952 55.28548 52.03903 49.77111 48.87229 50.12207
54.69179 65.26214 79.49743 97.31873 116.6865 130.3508 38.40719
36.64112 34.86654 37.62967 41.52707 46.46437 51.64414 53.62101
58.95625 64.90884 71.19191 75.87481 74.76965 69.14065 63.26343
58.22076 54.37479 52.08194 51.80991 54.1964 60.01809 71.63998
85.93624 104.0039 125.1323 148.5963 43.93131 42.01363 41.74097
45.40034 48.27699 52.57748 57.37642 62.5085 67.96362 73.8045
80.12499 86.99616 82.44811 73.46298 65.8098 59.64375 55.16918
52.67439 52.54547 55.24734 61.24041 72.65313 85.66833 101.2962
117.6683 127.9082 48.89928 48.40882 48.58463 52.92802 55.73809
58.69996 62.77298 67.16248 71.7756 76.52483 81.10255 83.73209
81.6333 73.11944 65.33099 58.73503 53.84162 51.02656 50.65256
53.06369 58.49211 68.7821 79.58909 91.49903 101.7445 106.2336
55.06681 54.96318 55.35645 60.13177 62.45395 64.57685 67.71437
70.98621 74.19926 77.06313 78.95422 78.365 74.09835 70.658
62.12569 55.49263 50.30402 47.06543 46.15906 47.88806 54.15027
61.15075 69.67573 78.72825 85.36564 87.08711 61.43568 61.60678
62.09697 67.07491 68.90523 70.93151 72.29688 74.27129 75.87037
76.73471 76.31396 73.66343 68.67619 65.87036 58.59298 51.70629
44.88199 41.1025 39.43376 40.23624 45.32809 51.0404 58.81816
65.92841 70.55228 70.95183 67.95502 68.35646 68.89269 73.86961
75.19971 76.44353 77.45016 77.40359 77.42051 76.45929 73.97556
69.8307 63.87068 56.42844 52.72996 45.41374 39.29772 33.78482
31.13076 30.76101 34.68077 39.66516 48.00645 54.56949 58.48947
58.3911 74.63282 75.27089 75.86187 80.64438 81.48965 81.9867
81.99545 80.73935 79.32186 76.75824 72.61994 67.00634 59.9203
51.68392 46.27849 38.26748 31.8402 26.77684 22.32981 20.20164
23.11201 30.43061 38.69991 45.90086 50.1517 50.1495 80.7195
82.41518 83.13437 87.52574 87.92997 87.74343 86.84912 85.09776
81.90332 77.94819 72.3305 65.34142 57.06694 47.79329 38.03103
30.67842 24.60713 19.67396 14.98363 10.2948 13.34941 22.1423
32.13068 41.06096 46.50673 47.05705 87.97586 89.82082 90.81987
94.62716 94.65417 93.85896 92.17412 89.49064 85.64471 80.16516
73.23608 64.9679 55.56074 45.2915 34.55598 24.48198 17.33008
11.85837 7.559645 5.376375 8.62324 17.87985 30.98138 43.05904
50.25753 51.20556 95.30314 97.00061 98.95306 102.0426 101.7525
100.4175 98.06341 94.60217 89.90808 83.48064 75.30154 65.93163
55.54831 44.50022 33.42945 23.5822 14.2537 8.832279 5.403482
3.7238 5.035332 14.20424 33.01362 49.74358 58.54708 62.29972
102.5091 104.8838 107.134 109.8419 109.2039 108.34 105.6569
101.5653 95.97449 88.68632 80.09438 68.50173 57.19432 45.27016
33.45591 22.81861 12.22445 7.167674 4.938332 5.066132 6.851032
15.49704 41.04416 62.27721 75.32845 79.46192 224.9523 218.8716
212.1727 206.7676 202.162 193.347 187.3866 181.7758 176.2694
170.1402 161.8529 148.7198 127.1596 96.03078 72.81768 61.04403
50.6206 38.56637 26.68744 16.84 10.27862 7.007414 5.325334
5.846005 7.167208 8.887291 233.3138 226.7421 221.9024 214.9126
208.1359 204.5304 199.364 195.069 187.2438 185.9006 184.8925
181.7359 171.6768 150.5931 124.011 99.76175 77.76423 51.8531
32.75959 17.67817 8.601741 4.059093 3.115759 3.634363 4.805577
6.126491 241.9021 234.7349 230.0927 222.4642 214.9372 207.9329
205.6581 201.9895 200.8415 202.9968 205.0023 214.8645 221.7206
208.4872 172.3497 133.0525 98.408 68.35279 39.75624 17.91548
6.708281 3.615438 3.137494 3.864424 5.108543 6.305689 250.8046
246.0561 237.9555 229.3212 220.5714 212.2751 208.9583 204.5288
203.5908 207.6959 218.4889 237.4231 263.6005 263.3663 205.703
155.1898 113.0742 77.39216 44.77723 18.11521 8.894465 6.978992
6.869982 7.923439 9.452033 10.76544 260.1393 254.7073 245.6125
235.5879 225.0481 214.6092 205.1519 201.8276 198.4562 200.6958
210.5066 228.8223 251.7979 245.83 203.4818 156.2012 114.6372
79.11944 49.31581 26.40341 17.74153 12.71822 11.47081 12.47319
14.54295 16.71714 272.2346 263.6097 253.335 241.5879 228.723
215.3107 202.1886 190.544 185.5826 181.9726 185.3844 195.5083
201.5286 195.688 169.4296 142.0553 107.935 77.12433 51.20802
31.67282 25.19014 21.05131 21.44186 19.19944 22.29595 25.87461
282.3655 273.0515 261.5229 247.8443 232.2708 215.2663 197.5167
179.9765 164.0332 154.4413 148.4449 150.755 150.8985 147.3992
132.5507 110.0382 94.13249 69.84889 48.85108 32.88033 29.63369
26.35855 27.84054 32.17945 32.1795 37.76461 292.0639 283.3664
270.6555 255.0071 236.5701 215.71 192.9513 168.9187 144.3983
120.9488 104.6522 98.65333 103.5245 104.2691 97.10144 83.50227
66.7531 59.13963 43.01881 30.72396 30.84011 29.91342 34.02728
41.33246 49.67447 57.228 300 293.124 279.109 261.4516
240.2045 215.6863 188.3578 158.6573 126.8735 94.48346 59.08233
54.65786 65.10413 69.34289 66.93107 59.22931 48.45321 36.95254
35.20323 26.17375 22.0169 31.39708 39.66531 51.52318 63.99267
74.65384 2*300 291.5034 272.2021 248.1977 220.0651 188.6159
154.642 118.8484 82.24824 48.85901 36.02755 38.07243 44.83437
43.84005 39.35891 32.55636 24.92778 18.08367 20.35821 18.53125
30.68254 44.91989 63.34582 81.29266 95.57299 3*300 285.6125
259.0227 227.5404 192.6698 155.873 116.6021 82.00854 54.50628
35.06933 28.05007 24.80123 21.83337 18.09465 20.34278 15.55215
11.11058 8.299376 13.61341 27.60342 50.81771 78.41035 103.1842
121.7234 4*300 272.3671 237.3481 199.2963 157.8434 120.1664
86.12125 58.88559 35.64874 23.46337 16.47728 12.13706 8.98407
6.445799 4.470349 3.238934 3.01502 6.647635 22.46668 61.27663
100.0931 132.1432 154.1907 4*300 287.133 247.8644 204.1037
163.0665 124.2345 89.54957 61.09904 35.51999 20.4699 11.2946
6.204025 3.770096 3.16908 4.072076 6.448378 10.44756 16.89798
39.96462 85.89507 131.0635 168.846 193.7955 4*300 298.8199
254.2728 209.8898 167.0685 127.0016 91.08031 60.88159 33.86932
17.31683 7.393807 2.530471 1.326332 2.962035 7.170941 13.46231
24.63053 42.05258 77.6843 119.1966 168.51 211.9237 240.6447
5*300 257.6017 212.1588 168.636 127.7688 90.53887 58.30399
32.97705 13.12593 3.833523 0.1829606 0.6762808 3.648358 11.45612
23.26223 40.22885 64.47885 108.1784 150.7736 201.0633 254.8631
293.7216 5*300 257.9076 215.0602 167.5322 126.7793 88.6853
54.22139 25.87382 7.716212 0.6945884 0.01 0.4628213 6.695297
17.01909 32.01815 52.70399 80.45299 128.4715 171.1373 221.5266
277.91 5*300 286.5111 249.0917 209.4152 169.2791 129.6654
91.18845 54.27163 19.25249 3.532598 2*0.01 2.19829 9.630423
21.46485 38.20855 60.53686 89.16039 137.7824 177.4269 221.7776
266.6258 296.7798 4*300 274.7783 238.099 202.0071 164.7449
127.4867 91.14716 56.80743 26.6138 9.73122 2.256275 1.061714
4.287514 11.93928 24.20214 41.34271 63.64248 91.22537 137.4616
171.8375 207.1089 237.0887 252.3864 3*300 285.7128 260.5132
226.9184 194.2049 160.1227 125.9093 92.77844 62.31447 35.53109
17.60984 8.8996 4.121167 6.291638 13.33138 25.13462 41.64427
62.78294 102.8477 130.2646 159.0108 186.0708 205.5083 213.1825
2*300 288.6342 270.7629 247.4419 220.5005 186.7965 155.7969
124.7009 94.76697 67.47202 42.51051 24.69573 14.21389 9.289258
9.717592 13.74255 24.56967 39.80755 59.15943 94.91589 119.2424
144.2508 164.0804 176.9249 179.8302 300 289.07 274.4549
257.4981 235.7756 211.0099 184.0065 151.8945 123.6083 96.40899
69.74336 47.79231 30.16498 17.31639 11.79324 10.86651 15.30658
23.25739 36.91488 54.12688 84.85201 107.227 129.2123 144.968
153.4423 152.9955 287.2735 276.1483 261.9065 245.8575 225.5587
202.6407 177.7652 148.4699 122.5592 97.58973 72.73804 51.82388
34.32721 20.77697 12.98083 10.74179 14.67899 23.32897 34.69875
49.07317 74.66291 98.51569 117.8518 130.9097 136.356 133.4681
276.4753 264.6016 250.9497 235.7809 216.7901 195.4692 172.3654
148.2186 121.6279 98.47292 75.21791 55.12455 37.75624 23.57036
13.08291 9.277671 14.08825 23.54089 34.98968 46.49775 69.51734
94.47607 112.5716 123.251 126.3467 121.8184 264.9051 254.412
241.5331 227.2126 209.4603 189.5692 167.9922 145.2951 122.3219
98.59953 77.52975 58.17838 41.10616 26.77221 13.04736 8.443179
15.52301 26.08128 39.2462 55.20094 76.80957 97.79787 111.9155
118.8887 119.5355 114.2622 254.3835 245.4462 233.5621 220.0876
203.5312 184.9853 164.8832 143.6388 121.6869 98.86544 76.81848
56.95686 39.83878 26.07586 16.56605 13.02645 21.27883 32.74545
49.18727 65.98718 89.93985 110.3173 119.6493 123.2263 119.466
115.7967 244.8028 236.4028 226.5298 214.3135 198.8506 180.4808
161.9241 142.6318 123.0329 101.9591 82.37264 60.25216 43.46776
29.67322 19.9757 15.99739 24.64141 36.04933 54.38676 77.33249
102.6898 122.602 125.5183 126.9461 127.1559 125.7123 228.2023
217.9609 206.9745 196.54 186.4318 171.9016 160.4624 149.4153
138.8035 128.437 117.7383 105.5851 90.45648 72.17241 61.11562
60.58553 61.19616 61.01324 60.58531 60.59542 61.4314 62.80494
65.82317 65.82352 64.17486 60.66138 240.3802 229.7302 219.4512
207.7544 195.9359 185.3483 173.9153 162.9289 146.8956 138.343
130.7593 123.1742 113.6542 100.8172 88.68034 79.65247 72.95927
67.50925 63.0696 60.02999 59.15203 61.31856 61.78801 60.92373
57.96299 52.49469 253.3148 242.2122 231.7285 219.2228 206.3568
193.4438 182.5102 170.9859 160.9255 152.9556 142.7157 141.1946
139.7653 131.4232 114.8344 98.57223 85.58771 75.25103 67.3519
60.52904 59.5397 60.60442 61.22164 60.16508 56.67205 50.09032
267.0315 256.9723 244.4277 230.9154 216.767 202.4123 190.1393
177.3414 166.5203 158.7371 155.0944 156.5678 162.0966 159.9628
134.0687 112.6806 96.04408 82.88564 71.53298 62.39222 60.85369
61.62665 61.78036 60.6813 57.62421 51.85234 281.5877 271.0108
257.6388 242.9159 227.1824 210.9239 194.8089 181.5194 168.5692
159.0766 154.4063 155.3736 160.4803 154.1049 136.9792 117.0525
100.6689 87.60992 77.32889 69.99395 69.63319 69.04176 69.31386
69.19126 67.8045 64.37611 298.0857 285.8036 271.5246 255.4195
237.8033 219.1691 200.2147 181.8806 167.0238 153.7607 145.4068
142.373 138.9409 133.528 120.785 114.8047 101.834 90.98672
82.65176 77.17861 78.85403 79.53388 81.57559 80.98306 82.20379
82.36636 2*300 286.3076 268.7226 248.9953 227.6006 205.2186
182.7421 161.3617 143.9632 130.2247 123.2716 117.323 113.3153
106.2087 97.44866 99.67809 92.08741 86.38 83.04412 87.22173
89.0379 92.65233 97.18264 98.91656 103.3643 3*300 283.1915
261.2289 236.8452 210.7189 183.6556 156.5966 130.9765 110.8665
98.89966 96.6276 95.00565 91.84927 87.63761 83.68736 91.40951
88.48806 87.48554 94.09326 97.72562 103.4889 110.7677 118.9399
127.4752 3*300 297.6346 273.4112 246.0483 216.3112 185.0195
152.9218 121.4576 89.78133 78.93484 79.88147 80.1369 79.44194
78.32246 77.62051 78.16531 89.29459 90.55596 93.89895 104.8218
112.9928 123.0559 134.346 146.4797 4*300 288.8787 258.3057
224.9259 189.9337 154.4459 119.7189 88.94833 72.82346 68.55438
69.78741 69.71397 70.31209 71.87626 74.80309 79.45287 92.41302
97.61536 109.8518 120.5496 133.2613 146.8262 160.5277 5*300
272.4508 235.4981 197.3613 159.011 124.455 96.22677 75.50161
65.36485 60.61354 59.08758 59.91615 66.79655 71.55736 78.047
86.33509 99.87013 112.59 126.1983 141.5729 156.733 170.181
5*300 287.7272 246.9452 204.8985 165.544 130.0379 100.9579
77.11195 63.356 56.06956 53.56061 54.6314 58.5553 64.92513
73.50848 84.13156 97.85839 113.1589 131.1605 149.1883 165.2092
177.7588 6*300 256.8203 212.5945 170.8524 133.4545 102.3831
76.11997 60.09293 51.28779 48.28738 49.73057 54.62273 62.32631
72.43896 84.67381 97.66637 117.7611 138.1049 157.4227 174.0351
185.72 6*300 264.9924 217.9016 173.725 133.9144 100.2493
71.92658 54.48501 45.26209 42.5915 44.8175 50.77966 59.75237
67.67719 82.40092 99.29954 126.2121 145.012 166.3319 183.7661
195.2804 6*300 268.7672 220.0033 173.9047 131.5774 94.75522
66.19485 46.10133 37.80986 36.44359 39.88584 42.40469 52.78236
66.06 81.87193 99.89977 132.2185 151.4607 171.9454 193.0684
206.8901 6*300 267.0501 219.0596 172.1136 127.7366 87.21526
54.18796 35.27618 29.94195 26.8648 30.99331 38.8425 49.98464
64.02666 80.58283 99.28551 135.1649 154.5455 175.0676 195.9545
216.4444 6*300 261.9067 215.1951 169.131 124.4772 81.79544
41.57028 25.16008 22.13613 22.88758 27.42926 35.62762 47.18867
61.6932 78.65453 97.57174 135.0781 153.7169 172.3739 189.388
202.7975 5*300 297.6326 255.1321 211.2186 167.2912 124.4823
84.18608 48.66016 31.24363 22.17142 21.26988 24.98923 32.90327
44.54058 59.27957 76.41434 95.2212 132.6645 150.0102 165.966
184.0694 189.8398 5*300 287.3847 248.3633 207.6327 166.6745
126.996 90.63051 58.09587 37.76983 29.50942 21.32725 23.36084
30.57346 42.14794 57.09093 74.36752 111.9184 129.0858 145.2281
166.3876 176.8101 180.5511 5*300 285.7158 242.5495 204.9114
167.0094 130.403 96.99284 65.48351 44.17693 33.38906 27.28242
27.84422 28.38178 40.1374 55.54281 73.15903 108.3842 125.616
148.9849 163.3978 172.6362 175.3306 5*300 278.1369 245.1375
203.2298 168.0222 133.887 99.04955 71.20781 48.85715 32.86654
26.87938 25.64846 31.82412 38.84937 55.27328 73.55811 105.5222
123.5321 148.9336 163.6193 172.4527 174.5082 5*300 272.2655
241.3293 202.685 169.6881 137.4014 103.823 75.94168 52.33967
34.00716 24.5003 21.42215 28.23077 42.16827 57.40689 76.46085
104.4172 131.6003 152.6196 168.1582 176.9324 178.3649 4*300
294.9074 268.2239 238.9771 208.0128 172.1735 141.262 108.701
80.45853 55.56594 34.87173 19.40793 14.43066 24.13711 41.54688
62.00232 82.91416 110.2322 138.3659 161.4476 177.9287 186.5966
187.0719 4*300 291.3991 266.1228 238.3234 208.6548 178.0857
144.5452 114.0891 85.42109 59.59761 37.40942 19.65821 9.773384
23.7524 43.2812 66.06902 92.11561 125.0532 158.3813 186.3672
205.582 214.2084 212.0364 4*300 289.9533 266.02 239.6546
211.335 181.5573 150.3572 119.6255 90.88538 64.98312 42.95472
26.58642 20.01562 27.5148 44.94935 70.10049 101.909 137.3862
174.4446 204.3768 225.2722 234.3658 225.8507 4*300 290.3579
266.4606 241.7254 215.4776 188.2818 156.5283 127.3815 97.96581
72.01083 49.85227 33.56049 26.06557 30.7628 45.9488 71.62018
105.8739 146.6663 189.9971 226.062 251.4614 255.9388 239.6644
82.00401 77.03005 72.01886 67.33161 59.67887 55.30463 50.72889
46.83637 43.89919 42.23612 42.24374 44.44466 49.50808 58.2793
73.64649 93.56238 115.272 135.5807 151.7655 160.6104 159.8325
150.0683 134.6877 115.1249 93.95209 72.62255 89.37505 84.35513
78.63448 73.77219 69.27229 58.18832 52.61249 47.7626 44.85021
42.58542 42.13194 44.18688 49.97895 61.29744 80.11466 103.7907
129.8465 153.809 175.7317 188.743 187.2629 173.7367 153.1388
129.6975 105.0863 80.24008 97.34946 92.22495 85.99867 80.5092
75.1096 69.89231 55.9352 50.13104 45.37546 42.07684 41.78215
43.20468 48.56521 61.84186 83.69248 110.6367 140.1047 170.505
198.9406 220.3 216.4184 194.8313 169.3631 142.9048 116.0497
88.91512 105.8446 99.64236 93.75892 87.58184 81.26637 74.96224
59.76776 52.96 47.23991 43.09586 41.04113 41.58677 45.87824
58.6754 85.44092 114.8635 146.0869 178.637 212.6006 246.1562
235.2157 207.91 180.8561 154.0115 127.229 100.2869 114.8374
108.3605 101.9688 95.06318 87.79859 80.35142 72.94236 56.25865
49.49899 44.51422 41.99612 42.62394 47.33255 60.20906 88.83818
117.6774 147.9693 178.6365 207.7367 228.7563 225.977 207.734
184.8968 161.0641 137.1026 113.2897 123.6492 117.594 110.6801
103.0369 94.80334 86.16449 77.37077 68.75814 52.05582 46.07473
43.12698 44.30196 50.77679 64.12437 83.92426 118.1233 145.2654
171.7726 194.8651 209.8913 209.549 199.3784 183.2264 164.6304
145.4318 126.6742 133.6755 127.3083 119.9303 111.5921 102.4018
92.54812 82.30269 72.02892 62.22786 47.43476 43.58058 44.93007
52.4042 65.59243 83.51621 104.7949 140.0582 162.3176 180.9468
193.1871 193.8458 188.5846 178.0847 165.036 151.4495 138.5239
143.7193 137.4226 129.7566 120.8259 110.7259 99.66916 87.96246
75.98344 64.19613 53.3158 42.74104 43.92738 52.36261 65.31955
81.68606 100.459 120.4006 152.279 167.7712 178.3596 179.6097
177.3791 171.0457 162.6529 154.1412 147.043 153.9059 147.8157
140.0714 130.6658 119.7214 107.5203 94.45397 80.95191 67.43121
54.26762 42.16026 42.54598 52.10291 64.42553 79.13815 95.60214
112.8787 129.8199 155.634 164.9995 169.9854 166.226 162.5665
157.4464 152.7776 150.2811 164.402 158.9525 151.4055 141.6646
129.8904 116.5132 102.1143 87.29914 72.64922 58.81439 47.3033
46.12517 52.68187 63.83404 76.47796 90.68649 105.6192 120.3252
133.8113 152.7685 157.598 155.17 152.717 149.2133 146.6181
146.5719 177.0853 170.7335 163.6176 153.6113 140.9158 126.2396
110.4871 94.53225 78.92108 65.46649 55.27593 52.4642 55.5633
62.62368 72.41358 84.03811 98.7627 111.5591 123.5072 133.8286
145.8109 144.2956 141.5196 137.9248 132.9751 133.5125 188.0075
183.0824 176.7733 166.5219 152.5993 136.2979 119.0172 101.5559
85.72234 72.03931 61.66435 57.29321 57.87207 62.40747 69.89829
79.40775 90.07948 101.136 111.9021 121.8283 131.061 133.8106
127.2274 121.5151 117.9157 117.7486 198.2948 197.0804 190.8568
180.3071 164.4206 145.9546 126.5786 108.3043 91.55409 77.18204
66.07536 60.08702 58.75019 61.31081 66.92359 74.65412 83.62122
93.03858 102.2288 110.6256 114.7524 118.4094 112.7461 105.1473
99.67477 98.54763 206.8508 207.9351 205.5874 194.4538 174.6844
153.6532 133.0368 113.5616 95.82241 80.48977 68.34569 60.72995
57.90427 59.08167 63.36682 69.75666 77.33178 85.26077 84.78928
92.57832 98.05117 100.0874 93.59572 87.9156 79.70526 76.85933
212.1369 214.4408 216.6972 203.9886 180.9491 158.5661 137.1137
116.9063 98.34541 81.96133 68.50994 59.10201 55.292 55.76886
59.34568 64.87732 61.50242 68.35844 75.26971 81.10368 84.37743
86.23715 79.75824 69.80592 61.09515 53.44342 213.4062 214.1858
210.4846 200.9438 179.2552 157.9802 136.8464 118.3617 99.367
82.05959 67.04431 55.76724 51.12986 51.82473 47.04954 50.42668
55.50682 61.54938 67.62837 72.63107 75.32606 78.05502 72.37725
62.97343 50.1849 34.46615 211.6842 207.779 202.7945 194.2095
174.6713 155.7771 136.0264 116.4885 97.80789 80.44507 64.76619
51.08495 44.35473 42.30803 42.81863 45.66664 50.39777 56.30452
62.4602 67.80331 71.27652 75.94338 72.63226 66.5853 59.24158
57.43864 205.8108 202.3473 195.8539 187.9036 174.4613 152.3517
134.1033 115.5922 97.55834 80.61156 65.43433 51.76051 46.09575
39.21503 38.93127 41.43422 46.29943 52.80001 59.95893 66.70645
72.06797 79.47849 79.71648 78.46852 79.4632 82.85006 201.9291
197.186 189.8779 182.4048 169.8321 148.847 131.8952 114.4525
97.2739 81.10513 66.87048 52.70014 45.61692 43.25249 35.27503
37.62715 43.14481 51.01181 60.07941 69.15354 81.99697 87.74162
91.90091 96.98968 100.4746 107.4483 198.1966 192.6716 184.9286
177.8269 165.8158 151.8241 129.9454 113.4318 97.04158 81.52895
67.77424 52.62613 44.49673 41.16455 40.42163 43.89206 40.73297
50.83765 62.71999 74.90597 90.44318 99.83721 109.2022 114.9912
121.5126 130.5732 194.9131 188.9822 181.0599 174.2395 162.6246
149.2077 134.4139 112.782 96.96554 81.80714 64.17355 51.88323
42.46154 36.73728 35.92329 39.29224 48.17826 52.30107 67.93106
83.85315 102.1104 115.2165 125.8441 133.5111 141.3447 151.2208
192.2879 186.2383 178.3414 171.7091 160.4049 147.3844 132.9985
112.7182 97.24573 82.16669 64.2978 50.98477 40.01144 32.27455
29.77259 32.825 44.14685 61.26458 76.17444 96.10927 116.99
133.4073 144.0685 151.6629 158.8308 167.973 190.8131 184.5244
176.8505 170.3067 159.2896 146.5603 132.4041 117.2573 98.14452
82.97451 64.99563 50.53313 37.97122 28.04649 21.83985 23.6943
39.49572 62.058 87.00994 111.9231 136.1451 154.1008 163.7522
168.516 172.6631 179.2172 189.4406 183.8686 176.6442 170.0995
159.4032 146.9458 132.9582 117.7476 101.9061 83.04475 66.56459
51.0287 37.25714 25.93688 18.29666 16.70223 39.86985 67.61227
97.90821 129.8621 162.512 185.129 192.8611 192.7368 191.8609
193.4611 188.8252 184.1507 177.7058 171.1302 160.8217 148.7025
135.0273 119.985 103.7686 86.31154 69.12142 53.1475 39.07087
27.86492 21.3705 23.94036 39.9117 65.93426 99.5457 143.7718
186.1446 212.8885 208.6744 198.8871 193.5841 189.5094 188.8159
184.7512 179.665 173.3932 163.4655 151.6396 138.7129 124.5925
109.748 90.10357 73.42763 56.28612 41.8906 30.58117 24.46761
26.62278 39.60292 63.25313 96.87471 139.4486 189.9473 227.9465
209.8755 194.3617 182.8853 175.33 82.59 79.58382 76.25517
73.81001 67.66017 64.39417 60.38244 56.30733 52.35086 48.83037
46.29712 45.65383 48.1515 54.94468 66.55148 83.25098 100.6055
117.676 132.6355 143.3681 148.362 147.9498 145.1654 138.7593
131.1646 122.9503 89.04243 86.17049 83.52046 80.58418 77.76228
67.77418 62.79381 57.5965 53.45464 48.36537 43.8055 40.79156
41.29559 47.85769 61.55227 79.63341 99.80263 121.5762 140.2164
153.58 158.1111 156.1841 149.2149 140.6275 131.3547 121.777
96.07484 93.32837 90.9242 87.74714 84.35161 80.60079 67.24212
61.18608 54.74707 48.02016 42.45147 36.20417 32.79427 38.51721
55.18099 76.6652 99.72604 123.2496 146.6728 165.2065 168.5939
160.6939 150.6351 140.1982 129.735 119.2825 103.5693 101.5983
98.65589 95.28476 91.48923 87.18283 72.91959 66.29221 59.08214
51.25667 42.81511 33.85323 25.36527 27.53065 50.42282 74.18706
98.18059 122.5409 146.8311 172.6136 170.2097 157.795 145.974
134.7198 123.9465 113.5452 111.435 109.6168 106.6695 103.1739
99.13106 94.47462 89.09057 73.04624 65.60099 57.48978 48.72241
39.57708 31.59059 33.8792 52.11184 72.90946 94.34127 115.8745
136.5128 151.9846 153.6924 146.4867 136.8739 126.9721 117.2643
107.8343 120.0537 117.7979 114.8702 111.3427 107.203 102.3977
96.84549 90.43755 74.16758 66.54126 58.60051 51.08291 46.00965
48.06841 58.11109 74.43659 90.75291 106.9747 121.3013 130.7128
133.2594 128.7863 121.3972 116.1123 108.3604 100.5996 128.1317
125.9199 123.1053 119.6728 115.5832 110.8009 105.294 99.02491
91.93394 77.56226 70.8214 64.55186 60.17879 60.39335 65.53294
74.30263 86.94045 97.38213 106.1138 111.4307 113.3248 110.6739
105.8666 100.3133 97.82722 92.1613 136.6222 133.6832 131.2055
128.0305 124.12 119.4766 114.1354 108.1507 101.5805 94.43095
83.99967 77.86394 72.87749 70.69044 71.82956 75.61491 80.83162
88.24805 92.13239 93.94002 94.43796 92.33774 89.32409 86.09506
82.98966 80.08012 143.5025 142.9293 141.37 138.7815 135.1763
130.6388 125.3012 119.3112 112.8142 104.8263 98.40349 90.5146
83.5806 79.03413 76.85768 76.50585 77.12743 77.81702 79.56332
77.98027 75.57488 74.23227 72.52783 71.45209 70.7725 70.28028
149.9807 150.1935 149.2615 147.1007 143.7443 139.3466 134.1194
128.2617 121.923 115.177 107.7829 100.2392 93.26315 85.60178
80.88564 77.23302 74.05437 70.71805 66.7773 63.49499 58.6264
56.42663 55.97019 57.1236 58.81474 60.50883 155.2615 157.1116
156.8769 155.1226 151.8985 147.4854 142.2217 136.3611 129.8479
123.0441 115.4031 107.5007 100.3437 93.25107 86.51488 80.05533
72.05742 65.40681 57.92719 49.69376 42.61537 38.91322 40.38612
44.16265 47.07088 50.47281 160.6926 163.5668 164.1597 162.7565
159.4391 154.7738 149.3188 143.1315 136.8682 130.1148 122.5718
114.1847 106.6074 98.51164 90.15649 81.62261 72.7773 63.32278
52.89553 41.21779 28.32117 22.05529 27.35921 33.39407 38.53855
42.93174 165.2192 168.5814 171.0255 169.8729 166.0176 160.7762
154.6633 148.7173 142.6462 136.2441 129.1431 120.5165 112.5084
103.4974 93.83022 83.78328 73.40611 62.53326 50.88665 38.23525
23.03409 16.94266 22.90908 28.54995 33.45475 37.88434 168.109
173.0918 177.2665 176.133 170.5695 164.3708 158.2815 152.4586
146.8334 141.1427 134.8884 126.5279 118.1825 108.255 97.44832
86.36037 75.22844 64.02114 47.3475 37.02177 28.15342 23.85338
24.41181 29.05149 32.0846 35.52447 168.3534 174.1827 180.3713
178.8285 171.829 165.2937 159.2945 153.8563 148.9325 144.3185
139.4534 133.1497 123.548 112.4404 100.5148 88.803 70.92942
60.28433 50.63628 42.14832 35.46032 32.0248 30.98838 31.6322
34.15236 35.57666 165.4583 170.2894 173.4634 172.7396 167.7654
161.9128 156.316 152.4857 148.3438 144.9501 142.0403 138.0238
128.1434 115.0286 96.46521 83.46243 72.29516 62.84999 54.95157
48.53948 43.75222 41.2673 39.94228 39.56209 39.3018 38.54783
160.0714 162.9806 164.7374 164.392 161.0211 156.4101 151.6198
147.2363 143.632 141.0964 139.8881 140.2216 127.242 109.5398
94.50072 82.18364 72.45866 65.02629 59.5003 55.52639 52.85556
51.65961 50.94966 50.70401 50.66328 45.97561 152.7945 154.9359
155.6318 155.3384 152.6061 148.7436 144.4793 140.3488 136.7335
133.8712 131.7078 127.5677 117.4343 101.4115 88.34436 78.08918
70.85491 66.32406 63.89454 62.89695 62.7672 63.24245 63.74951
64.3189 56.7061 56.85971 145.2607 146.3843 146.3138 145.8643
143.2683 139.613 135.4609 131.1721 127.0217 123.0844 119.042
111.5742 103.3845 91.687 78.35835 71.09396 67.27119 66.56524
68.06777 70.70642 73.53563 76.05552 78.0636 70.27762 70.22677
70.23214 137.3183 137.6173 136.8952 136.1477 133.3731 129.6967
125.18 120.4207 115.4621 110.3066 104.7119 95.28991 87.18858
76.90621 69.99724 66.46267 61.7599 65.84035 72.23369 79.25246
85.31865 90.2116 85.01074 85.66747 85.67719 85.65634 129.2173
128.8238 127.5094 126.375 123.2431 119.2177 114.4709 108.8356
103.0102 96.76608 87.26545 79.23589 70.6921 62.69186 55.14687
54.2556 59.25407 64.47876 76.87122 89.08844 98.76413 105.8849
101.8954 102.7178 102.6026 102.4458 121.1437 120.1656 118.3158
116.7453 113.1771 108.6873 103.3852 97.07008 90.43686 83.32414
72.99651 64.06169 54.7327 45.95173 38.36374 39.09109 49.20837
65.83925 82.64188 100.9695 114.3953 117.4963 120.4353 121.0018
120.3936 119.7735 112.3529 111.7889 109.4866 107.4569 103.4561
98.48761 92.61219 85.95576 78.32552 70.62328 60.09697 50.60002
40.61292 30.63057 22.02435 20.64563 38.07505 62.58418 88.7653
114.6415 129.9204 137.1581 140.0751 139.8857 138.3106 136.7974
104.9946 103.8126 101.182 98.68858 94.32815 88.96175 82.61309
75.32972 67.3644 58.03326 49.08361 39.60925 29.78188 19.93888
8.950747 5.96541 32.06404 61.4733 92.05293 122.2135 146.9569
162.1886 167.7186 167.3492 164.4813 160.9442 97.97211 95.78146
93.51328 90.57754 85.97255 80.36834 73.80956 66.29073 57.79102
47.94774 37.82467 28.07947 19.07557 11.5472 7.384835 11.95271
31.83444 59.5365 91.57556 128.3101 161.4253 182.3386 185.5885
183.2109 180.6193 174.0008 91.25936 89.03712 86.22021 83.20066
78.43737 71.78635 65.32677 58.35546 51.03935 40.66842 31.88419
22.05298 14.49738 9.224348 8.306502 14.91885 33.08019 58.60392
90.59644 126.8803 165.7937 196.6113 197.6143 196.0726 190.5235
181.7045 676*0.01 676*50
/
PERMZ
676*0.0009999999 4.660896 4.952836 5.282208 5.649859 6.162559 6.730106
7.270967 7.836158 8.387999 8.849451 9.076796 8.830375 7.795911
5.862905 4.445626 3.974086 3.505621 2.828537 2.088485 1.428564
0.9465128 0.6552099 0.3577435 0.3068822 0.310815 0.345134 4.654337
4.950442 5.335631 5.72601 6.173993 6.952801 7.628991 8.410899
9.448016 10.40415 11.32675 11.9915 11.97971 10.92083 9.231934
7.63725 6.160406 4.473766 3.156998 2.076266 1.36727 0.8588917
0.6699441 0.5842497 0.558827 0.5673717 4.585419 4.875556 5.281739
5.69978 6.199748 6.808774 7.885428 8.853453 10.04009 11.4828
13.31986 15.14864 16.61715 16.23829 13.74482 10.89825 8.386631
6.219392 4.234785 2.629539 1.661741 1.265627 1.047455 0.9272181
0.8711047 0.8543527 4.459048 4.794071 5.140311 5.559221 6.07037
6.70489 7.847495 8.898732 10.24697 11.98815 14.22829 17.0646
20.54692 21.28108 16.93407 13.1376 10.00688 7.383121 5.077714
3.095968 2.177691 1.727835 1.427876 1.245832 1.150831 1.113617
4.282444 4.59424 4.915735 5.306364 5.784303 6.37929 7.136605
8.476839 9.779454 11.5087 13.78508 16.6513 19.75365 20.34445
17.14672 13.68493 10.63198 8.009985 5.7811 4.008143 2.996803
2.38022 1.948884 1.695206 1.56026 1.498113 4.114145 4.344302
4.624797 4.960816 5.365428 5.86021 6.479318 7.276978 8.656395
10.05574 11.91807 14.15995 16.11292 16.59014 15.17345 12.81105
10.38721 8.137741 6.181476 4.617184 3.631414 2.99251 2.627316
2.169719 2.009505 1.935708 3.875823 4.069436 4.295728 4.558194
4.862492 5.21642 5.632857 6.136439 6.778188 7.893342 9.113493
10.76948 12.29349 13.00584 12.5617 11.27624 9.527439 7.796337
6.202039 4.873209 4.0149 3.396391 3.042124 2.859316 2.484787
2.42669 3.492385 3.801791 3.962519 4.143196 4.340182 4.545132
4.745343 4.925868 5.078925 5.249792 5.826274 7.098895 8.781231
9.877948 10.08199 9.525637 8.492961 7.167142 5.931572 4.84853
4.158625 3.645997 3.386234 3.296492 3.279343 3.25258 3.294579
3.293695 3.331757 3.407995 3.507684 3.603804 3.658021 3.621276
3.433725 3.206385 2.479325 3.860846 6.055128 7.467604 8.064062
7.970225 7.387987 6.529115 5.501326 4.632778 3.963385 3.746106
3.658783 3.743758 3.871408 3.933527 3.117098 3.074198 3.060252
3.076363 3.107579 3.124019 3.084486 2.940825 2.645118 2.180304
1.819958 2.651182 4.190714 5.968695 6.665179 6.790162 6.471214
5.86123 5.113349 4.315559 3.772662 3.710394 3.880812 4.239476
4.588386 4.789948 2.995103 2.907292 2.856791 2.84456 2.857623
2.865642 2.831471 2.72387 2.608671 2.412615 2.468694 2.999686
3.889347 4.696475 5.17482 5.284111 5.835155 5.361025 4.726636
4.051747 3.483119 3.545432 4.10514 4.858227 5.349858 5.770586
2.96717 2.806751 2.728853 2.716193 2.758584 2.819724 2.864155
2.969707 2.972613 3.020298 3.246492 3.651614 4.172906 4.654368
4.940487 4.981177 4.797941 4.446038 3.989595 3.489212 3.240519
3.269765 4.406338 5.633 6.600197 7.169361 3.004416 2.813835
2.673534 2.682681 2.800033 2.960265 3.224081 3.402062 3.584401
3.809144 4.118835 4.466863 4.770153 4.994178 5.075317 4.999147
4.787998 4.483466 4.133376 3.785485 3.516996 3.924343 5.422084
6.928004 8.15131 8.854622 3.137003 2.897416 2.686245 2.73691
3.039899 3.357228 3.673877 3.99329 4.330478 4.697446 5.079945
5.410773 5.564473 5.566571 5.439461 5.223319 4.959463 4.691964
4.472597 4.393712 4.57908 5.399321 6.765524 8.438394 9.935124
10.824 3.409413 3.156513 2.878166 3.005967 3.424279 3.832974
4.242699 4.669391 5.129024 5.623387 6.107423 6.445347 6.490543
6.253988 5.89952 5.528548 5.203903 4.977111 4.887229 5.012207
5.469179 6.526214 7.949743 9.731874 11.66865 13.03508 3.840719
3.664112 3.486654 3.762967 4.152707 4.646437 5.164414 5.362102
5.895625 6.490884 7.119191 7.587481 7.476964 6.914065 6.326343
5.822076 5.437479 5.208194 5.180991 5.41964 6.001809 7.163998
8.593624 10.40039 12.51323 14.85962 4.393131 4.201363 4.174097
4.540034 4.827699 5.257749 5.737642 6.25085 6.796362 7.38045
8.012499 8.699616 8.244811 7.346298 6.58098 5.964375 5.516918
5.267439 5.254547 5.524734 6.124041 7.265313 8.566833 10.12962
11.76683 12.79082 4.889928 4.840882 4.858463 5.292802 5.573809
5.869996 6.277298 6.716248 7.17756 7.652483 8.110254 8.373209
8.16333 7.311944 6.533099 5.873503 5.384162 5.102656 5.065256
5.306369 5.849211 6.878211 7.958909 9.149903 10.17445 10.62336
5.506681 5.496318 5.535645 6.013177 6.245395 6.457685 6.771437
7.09862 7.419926 7.706313 7.895422 7.8365 7.409835 7.065801
6.212569 5.549263 5.030402 4.706542 4.615906 4.788806 5.415027
6.115075 6.967573 7.872825 8.536564 8.708712 6.143568 6.160678
6.209697 6.707491 6.890523 7.093151 7.229688 7.427129 7.587037
7.673471 7.631396 7.366343 6.86762 6.587036 5.859298 5.170629
4.488199 4.11025 3.943376 4.023624 4.532809 5.10404 5.881816
6.592841 7.055228 7.095183 6.795502 6.835646 6.889269 7.386961
7.519971 7.644353 7.745017 7.740359 7.742051 7.645929 7.397555
6.98307 6.387068 5.642844 5.272996 4.541374 3.929772 3.378482
3.113076 3.076102 3.468077 3.966516 4.800645 5.456949 5.848947
5.83911 7.463282 7.527089 7.586187 8.064438 8.148965 8.19867
8.199545 8.073935 7.932186 7.675824 7.261994 6.700634 5.99203
5.168392 4.627849 3.826748 3.18402 2.677684 2.232981 2.020164
2.311201 3.043061 3.869991 4.590086 5.01517 5.01495 8.07195
8.241518 8.313437 8.752574 8.792997 8.774343 8.684912 8.509775
8.190332 7.794819 7.23305 6.534142 5.706695 4.779329 3.803103
3.067842 2.460713 1.967396 1.498363 1.02948 1.334941 2.21423
3.213068 4.106096 4.650673 4.705705 8.797586 8.982082 9.081987
9.462716 9.465417 9.385896 9.217412 8.949064 8.564471 8.016516
7.323608 6.49679 5.556074 4.52915 3.455598 2.448198 1.733008
1.185837 0.7559645 0.5376375 0.8623241 1.787985 3.098138 4.305904
5.025753 5.120556 9.530313 9.700061 9.895307 10.20426 10.17525
10.04175 9.806341 9.460217 8.990808 8.348064 7.530154 6.593163
5.554832 4.450022 3.342945 2.358221 1.42537 0.8832279 0.5403482
0.37238 0.5035332 1.420424 3.301362 4.974358 5.854708 6.229972
10.25091 10.48838 10.7134 10.98419 10.92039 10.834 10.56569
10.15653 9.597448 8.868631 8.009438 6.850173 5.719432 4.527016
3.345591 2.281861 1.222445 0.7167674 0.4938332 0.5066131 0.6851032
1.549704 4.104415 6.227721 7.532845 7.946192 22.49523 21.88716
21.21727 20.67676 20.2162 19.3347 18.73866 18.17758 17.62694
17.01402 16.18529 14.87198 12.71596 9.603078 7.281768 6.104403
5.06206 3.856637 2.668745 1.684 1.027862 0.7007414 0.5325333
0.5846005 0.7167208 0.8887291 23.33138 22.67421 22.19024 21.49126
20.81359 20.45304 19.9364 19.5069 18.72438 18.59006 18.48925
18.17359 17.16768 15.05931 12.4011 9.976175 7.776423 5.185309
3.275959 1.767817 0.8601741 0.4059092 0.3115759 0.3634363 0.4805577
0.6126491 24.19021 23.47349 23.00927 22.24642 21.49372 20.79329
20.56581 20.19895 20.08415 20.29968 20.50023 21.48645 22.17205
20.84871 17.23497 13.30525 9.8408 6.835279 3.975624 1.791548
0.670828 0.3615438 0.3137494 0.3864424 0.5108544 0.6305689 25.08046
24.60561 23.79555 22.93212 22.05714 21.22751 20.89583 20.45288
20.35908 20.76959 21.84889 23.74231 26.36005 26.33663 20.5703
15.51898 11.30742 7.739216 4.477723 1.811521 0.8894466 0.6978992
0.6869982 0.7923439 0.9452033 1.076544 26.01394 25.47073 24.56125
23.55879 22.50481 21.46092 20.51519 20.18276 19.84562 20.06958
21.05066 22.88223 25.17979 24.583 20.34818 15.62012 11.46372
7.911944 4.931581 2.640341 1.774153 1.271822 1.147081 1.247319
1.454295 1.671714 27.22346 26.36097 25.3335 24.15879 22.8723
21.53107 20.21886 19.0544 18.55826 18.19726 18.53843 19.55083
20.15286 19.5688 16.94296 14.20553 10.7935 7.712433 5.120802
3.167282 2.519014 2.105131 2.144186 1.919944 2.229595 2.587461
28.23655 27.30515 26.15229 24.78444 23.22708 21.52663 19.75167
17.99765 16.40332 15.44413 14.84449 15.0755 15.08985 14.73992
13.25507 11.00382 9.413249 6.984889 4.885108 3.288033 2.963369
2.635855 2.784054 3.217945 3.21795 3.776461 29.20639 28.33664
27.06555 25.50071 23.65701 21.571 19.29513 16.89187 14.43983
12.09488 10.46522 9.865333 10.35245 10.42691 9.710144 8.350227
6.67531 5.913962 4.301881 3.072396 3.084011 2.991342 3.402728
4.133246 4.967446 5.7228 30 29.3124 27.9109 26.14516
24.02045 21.56863 18.83578 15.86573 12.68735 9.448346 5.908233
5.465786 6.510413 6.934289 6.693107 5.922931 4.845321 3.695254
3.520323 2.617375 2.20169 3.139708 3.966531 5.152318 6.399267
7.465384 2*30 29.15034 27.22021 24.81977 22.00651 18.86159
15.4642 11.88484 8.224824 4.885901 3.602755 3.807243 4.483437
4.384005 3.935891 3.255636 2.492778 1.808367 2.035821 1.853125
3.068254 4.491989 6.334582 8.129267 9.557299 3*30 28.56124
25.90227 22.75404 19.26698 15.5873 11.66021 8.200853 5.450628
3.506933 2.805007 2.480123 2.183337 1.809465 2.034278 1.555215
1.111058 0.8299376 1.361341 2.760342 5.081771 7.841035 10.31842
12.17234 4*30 27.23671 23.73481 19.92963 15.78434 12.01664
8.612125 5.888558 3.564873 2.346337 1.647728 1.213706 0.898407
0.6445799 0.4470349 0.3238934 0.301502 0.6647635 2.246668 6.127663
10.00931 13.21432 15.41907 4*30 28.7133 24.78644 20.41037
16.30664 12.42345 8.954957 6.109904 3.551999 2.04699 1.12946
0.6204025 0.3770096 0.316908 0.4072076 0.6448377 1.044756 1.689798
3.996462 8.589506 13.10635 16.8846 19.37955 4*30 29.88198
25.42728 20.98898 16.70685 12.70016 9.10803 6.088159 3.386932
1.731683 0.7393807 0.2530471 0.1326332 0.2962035 0.7170941 1.346231
2.463053 4.205258 7.76843 11.91966 16.851 21.19237 24.06447
5*30 25.76017 21.21588 16.8636 12.77688 9.053887 5.8304
3.297705 1.312593 0.3833522 0.01829606 0.06762808 0.3648358 1.145612
2.326223 4.022885 6.447885 10.81784 15.07736 20.10633 25.48631
29.37216 5*30 25.79076 21.50602 16.75322 12.67793 8.868529
5.422139 2.587382 0.7716212 0.06945883 0.0009999999 0.04628213 0.6695297
1.701909 3.201815 5.270399 8.045299 12.84715 17.11374 22.15266
27.791 5*30 28.65111 24.90917 20.94152 16.92791 12.96654
9.118845 5.427163 1.925249 0.3532598 2*0.0009999999 0.219829 0.9630423
2.146485 3.820855 6.053686 8.916039 13.77824 17.74269 22.17776
26.66258 29.67798 4*30 27.47783 23.8099 20.20071 16.47449
12.74867 9.114716 5.680743 2.66138 0.973122 0.2256275 0.1061714
0.4287514 1.193928 2.420214 4.134271 6.364248 9.122538 13.74616
17.18375 20.71089 23.70887 25.23864 3*30 28.57128 26.05132
22.69184 19.42049 16.01227 12.59093 9.277844 6.231447 3.553109
1.760984 0.88996 0.4121167 0.6291639 1.333138 2.513462 4.164427
6.278294 10.28477 13.02646 15.90108 18.60708 20.55083 21.31825
2*30 28.86342 27.07629 24.74419 22.05005 18.67965 15.57969
12.47009 9.476697 6.747202 4.251051 2.469573 1.421389 0.9289258
0.9717592 1.374255 2.456967 3.980755 5.915943 9.49159 11.92424
14.42508 16.40804 17.69249 17.98302 30 28.907 27.44549
25.74981 23.57756 21.10099 18.40065 15.18945 12.36083 9.640899
6.974336 4.779231 3.016498 1.73164 1.179324 1.086651 1.530658
2.325739 3.691488 5.412688 8.485201 10.7227 12.92123 14.4968
15.34423 15.29955 28.72735 27.61483 26.19065 24.58575 22.55587
20.26407 17.77652 14.84699 12.25593 9.758973 7.273804 5.182387
3.432721 2.077697 1.298083 1.074179 1.467899 2.332897 3.469875
4.907317 7.466291 9.851569 11.78518 13.09097 13.6356 13.34681
27.64753 26.46016 25.09497 23.57809 21.67901 19.54692 17.23654
14.82186 12.16279 9.847292 7.521791 5.512455 3.775624 2.357036
1.308291 0.9277671 1.408825 2.354089 3.498968 4.649776 6.951734
9.447607 11.25716 12.3251 12.63467 12.18184 26.49051 25.4412
24.15331 22.72126 20.94603 18.95692 16.79922 14.52951 12.23219
9.859953 7.752975 5.817838 4.110616 2.677222 1.304736 0.8443179
1.552301 2.608128 3.92462 5.520094 7.680957 9.779787 11.19155
11.88887 11.95355 11.42622 25.43835 24.54462 23.35621 22.00876
20.35312 18.49853 16.48832 14.36388 12.16869 9.886544 7.681848
5.695686 3.983878 2.607586 1.656605 1.302645 2.127883 3.274545
4.918727 6.598718 8.993985 11.03172 11.96493 12.32263 11.9466
11.57967 24.48028 23.64028 22.65298 21.43135 19.88506 18.04808
16.19241 14.26318 12.30329 10.19591 8.237265 6.025216 4.346776
2.967322 1.99757 1.599739 2.464141 3.604933 5.438676 7.733249
10.26898 12.26019 12.55183 12.69461 12.71559 12.57123 22.82023
21.79609 20.69745 19.654 18.64318 17.19016 16.04624 14.94153
13.88035 12.8437 11.77383 10.55851 9.045649 7.217241 6.111562
6.058553 6.119616 6.101324 6.058531 6.059542 6.14314 6.280494
6.582316 6.582352 6.417486 6.066138 24.03802 22.97302 21.94512
20.77544 19.59359 18.53483 17.39153 16.29289 14.68956 13.8343
13.07593 12.31742 11.36542 10.08172 8.868033 7.965247 7.295928
6.750926 6.30696 6.002999 5.915204 6.131856 6.178801 6.092372
5.796299 5.249469 25.33148 24.22122 23.17285 21.92228 20.63568
19.34438 18.25102 17.09859 16.09255 15.29556 14.27157 14.11946
13.97653 13.14232 11.48344 9.857223 8.558771 7.525103 6.73519
6.052904 5.95397 6.060442 6.122164 6.016508 5.667205 5.009032
26.70315 25.69723 24.44277 23.09154 21.6767 20.24123 19.01393
17.73414 16.65203 15.87371 15.50944 15.65678 16.20967 15.99628
13.40687 11.26806 9.604408 8.288565 7.153298 6.239222 6.08537
6.162665 6.178036 6.06813 5.762421 5.185234 28.15877 27.10108
25.76388 24.29159 22.71824 21.09239 19.48089 18.15194 16.85692
15.90766 15.44063 15.53736 16.04803 15.41049 13.69792 11.70525
10.06689 8.760992 7.732889 6.999395 6.963319 6.904176 6.931386
6.919126 6.78045 6.437612 29.80857 28.58036 27.15246 25.54195
23.78033 21.91691 20.02147 18.18806 16.70238 15.37607 14.54068
14.2373 13.89409 13.3528 12.0785 11.48047 10.1834 9.098673
8.265177 7.717861 7.885403 7.953388 8.157559 8.098306 8.220379
8.236636 2*30 28.63076 26.87226 24.89952 22.76006 20.52186
18.27421 16.13617 14.39632 13.02247 12.32716 11.7323 11.33153
10.62087 9.744866 9.967809 9.208741 8.638 8.304412 8.722174
8.90379 9.265233 9.718264 9.891656 10.33643 3*30 28.31915
26.12289 23.68452 21.07189 18.36556 15.65966 13.09765 11.08665
9.889966 9.66276 9.500565 9.184927 8.763762 8.368735 9.140951
8.848806 8.748554 9.409327 9.772562 10.34889 11.07677 11.894
12.74752 3*30 29.76346 27.34112 24.60483 21.63111 18.50195
15.29218 12.14576 8.978132 7.893485 7.988147 8.01369 7.944194
7.832246 7.762052 7.816531 8.929459 9.055596 9.389894 10.48218
11.29928 12.30559 13.4346 14.64797 4*30 28.88787 25.83057
22.49259 18.99337 15.44459 11.97189 8.894834 7.282346 6.855438
6.978741 6.971396 7.031209 7.187626 7.480309 7.945287 9.241302
9.761536 10.98518 12.05496 13.32613 14.68262 16.05277 5*30
27.24508 23.54981 19.73613 15.9011 12.4455 9.622677 7.550161
6.536485 6.061355 5.908758 5.991615 6.679655 7.155736 7.8047
8.633509 9.987013 11.259 12.61983 14.15729 15.6733 17.0181
5*30 28.77272 24.69452 20.48985 16.5544 13.00379 10.09579
7.711195 6.3356 5.606956 5.356061 5.46314 5.85553 6.492513
7.350848 8.413157 9.785839 11.31589 13.11605 14.91883 16.52092
17.77588 6*30 25.68203 21.25945 17.08524 13.34545 10.23831
7.611997 6.009294 5.128779 4.828738 4.973057 5.462273 6.232631
7.243896 8.467381 9.766637 11.77611 13.8105 15.74227 17.40351
18.572 6*30 26.49924 21.79016 17.3725 13.39144 10.02493
7.192658 5.448501 4.526209 4.25915 4.48175 5.077966 5.975237
6.767719 8.240091 9.929954 12.62121 14.5012 16.63319 18.37661
19.52804 6*30 26.87671 22.00033 17.39047 13.15774 9.475522
6.619485 4.610133 3.780986 3.644359 3.988584 4.240469 5.278236
6.606 8.187193 9.989977 13.22185 15.14607 17.19455 19.30684
20.68901 6*30 26.70501 21.90596 17.21136 12.77366 8.721525
5.418796 3.527618 2.994195 2.68648 3.099331 3.88425 4.998464
6.402666 8.058283 9.928552 13.51649 15.45455 17.50676 19.59546
21.64444 6*30 26.19067 21.51951 16.9131 12.44772 8.179544
4.157028 2.516008 2.213613 2.288758 2.742926 3.562762 4.718867
6.16932 7.865453 9.757174 13.50781 15.37169 17.23739 18.9388
20.27975 5*30 29.76326 25.51321 21.12186 16.72912 12.44823
8.418608 4.866016 3.124363 2.217143 2.126988 2.498924 3.290327
4.454059 5.927957 7.641435 9.52212 13.26645 15.00102 16.5966
18.40694 18.98397 5*30 28.73847 24.83633 20.76327 16.66745
12.6996 9.063051 5.809587 3.776983 2.950942 2.132725 2.336084
3.057346 4.214794 5.709093 7.436752 11.19184 12.90858 14.52281
16.63876 17.68101 18.05511 5*30 28.57158 24.25495 20.49114
16.70094 13.0403 9.699285 6.548351 4.417693 3.338906 2.728242
2.784422 2.838178 4.01374 5.554281 7.315904 10.83842 12.5616
14.89849 16.33978 17.26362 17.53306 5*30 27.81369 24.51375
20.32298 16.80222 13.3887 9.904955 7.120781 4.885715 3.286654
2.687938 2.564846 3.182412 3.884937 5.527328 7.355811 10.55222
12.35321 14.89336 16.36193 17.24527 17.45082 5*30 27.22655
24.13293 20.2685 16.96881 13.74014 10.3823 7.594168 5.233967
3.400716 2.45003 2.142215 2.823077 4.216826 5.740689 7.646085
10.44172 13.16003 15.26196 16.81581 17.69324 17.83649 4*30
29.49074 26.82239 23.89771 20.80128 17.21735 14.1262 10.8701
8.045853 5.556594 3.487174 1.940793 1.443066 2.413711 4.154688
6.200232 8.291416 11.02322 13.83659 16.14476 17.79287 18.65966
18.70719 4*30 29.13991 26.61228 23.83234 20.86548 17.80857
14.45452 11.40891 8.542109 5.959762 3.740942 1.965821 0.9773384
2.37524 4.32812 6.606902 9.211561 12.50532 15.83813 18.63671
20.5582 21.42084 21.20364 4*30 28.99533 26.602 23.96546
21.1335 18.15573 15.03572 11.96255 9.088538 6.498312 4.295472
2.658642 2.001562 2.75148 4.494935 7.010049 10.1909 13.73862
17.44446 20.43768 22.52722 23.43658 22.58507 4*30 29.03579
26.64606 24.17253 21.54776 18.82817 15.65283 12.73815 9.79658
7.201083 4.985227 3.356049 2.606557 3.07628 4.59488 7.162018
10.58739 14.66663 18.99971 22.6062 25.14614 25.59388 23.96644
8.200401 7.703005 7.201886 6.733161 5.967887 5.530463 5.072888
4.683637 4.389919 4.223612 4.224374 4.444466 4.950808 5.82793
7.364649 9.356237 11.5272 13.55807 15.17655 16.06104 15.98325
15.00683 13.46877 11.51249 9.395208 7.262255 8.937506 8.435513
7.863448 7.377219 6.927229 5.818831 5.261249 4.77626 4.485021
4.258542 4.213194 4.418688 4.997895 6.129744 8.011466 10.37907
12.98465 15.3809 17.57317 18.8743 18.72629 17.37367 15.31388
12.96975 10.50863 8.024008 9.734946 9.222494 8.599867 8.05092
7.51096 6.989231 5.59352 5.013104 4.537546 4.207684 4.178215
4.320468 4.856521 6.184186 8.369248 11.06367 14.01047 17.0505
19.89406 22.03 21.64183 19.48313 16.93631 14.29048 11.60497
8.891512 10.58446 9.964236 9.375892 8.758184 8.126637 7.496224
5.976776 5.296 4.723991 4.309586 4.104113 4.158677 4.587824
5.86754 8.544092 11.48635 14.60869 17.8637 21.26007 24.61562
23.52157 20.791 18.08561 15.40115 12.7229 10.02869 11.48374
10.83605 10.19688 9.506318 8.77986 8.035142 7.294236 5.625865
4.949899 4.451422 4.199612 4.262394 4.733254 6.020906 8.883818
11.76774 14.79693 17.86365 20.77367 22.87563 22.5977 20.7734
18.48968 16.10641 13.71026 11.32897 12.36492 11.7594 11.06801
10.30369 9.480334 8.616449 7.737077 6.875814 5.205582 4.607473
4.312697 4.430196 5.07768 6.412436 8.392426 11.81233 14.52654
17.17726 19.48652 20.98913 20.9549 19.93784 18.32264 16.46304
14.54318 12.66742 13.36755 12.73083 11.99302 11.15921 10.24018
9.254812 8.230268 7.202891 6.222785 4.743476 4.358058 4.493007
5.24042 6.559243 8.351622 10.47949 14.00582 16.23176 18.09468
19.31871 19.38458 18.85846 17.80847 16.5036 15.14495 13.85239
14.37193 13.74226 12.97566 12.08259 11.07259 9.966916 8.796247
7.598344 6.419613 5.33158 4.274104 4.392737 5.236261 6.531955
8.168606 10.0459 12.04006 15.2279 16.77712 17.83596 17.96097
17.73791 17.10457 16.26529 15.41412 14.7043 15.39059 14.78157
14.00714 13.06658 11.97214 10.75203 9.445397 8.095191 6.743121
5.426763 4.216026 4.254598 5.210291 6.442553 7.913815 9.560214
11.28787 12.98199 15.56341 16.49995 16.99854 16.6226 16.25665
15.74463 15.27776 15.02811 16.4402 15.89525 15.14055 14.16646
12.98904 11.65132 10.21143 8.729914 7.264922 5.881439 4.73033
4.612517 5.268187 6.383404 7.647796 9.068648 10.56192 12.03252
13.38113 15.27685 15.7598 15.517 15.2717 14.92133 14.66181
14.65719 17.70853 17.07335 16.36176 15.36112 14.09158 12.62396
11.04871 9.453225 7.892108 6.546649 5.527593 5.24642 5.55633
6.262368 7.241358 8.403811 9.876269 11.15591 12.35072 13.38286
14.58109 14.42956 14.15196 13.79248 13.29751 13.35125 18.80075
18.30824 17.67733 16.65219 15.25993 13.62979 11.90172 10.15559
8.572233 7.203931 6.166435 5.729321 5.787208 6.240747 6.989829
7.940774 9.007948 10.1136 11.19021 12.18283 13.1061 13.38106
12.72274 12.15151 11.79157 11.77486 19.82948 19.70804 19.08567
18.03071 16.44206 14.59546 12.65786 10.83043 9.155409 7.718204
6.607535 6.008702 5.875019 6.131081 6.692359 7.465412 8.362122
9.303858 10.22288 11.06256 11.47524 11.84094 11.27461 10.51473
9.967477 9.854763 20.68508 20.79351 20.55874 19.44538 17.46844
15.36532 13.30368 11.35616 9.582241 8.048977 6.834569 6.072995
5.790427 5.908167 6.336682 6.975666 7.733178 8.526077 8.478929
9.257832 9.805117 10.00874 9.359571 8.791559 7.970526 7.685933
21.21369 21.44408 21.66972 20.39886 18.09491 15.85661 13.71137
11.69063 9.83454 8.196133 6.850994 5.910201 5.5292 5.576886
5.934568 6.487732 6.150242 6.835844 7.526971 8.110369 8.437743
8.623715 7.975824 6.980592 6.109515 5.344342 21.34062 21.41858
21.04846 20.09438 17.92552 15.79802 13.68464 11.83617 9.936701
8.205959 6.704431 5.576724 5.112986 5.182473 4.704954 5.042668
5.550683 6.154938 6.762837 7.263107 7.532606 7.805501 7.237725
6.297343 5.01849 3.446615 21.16842 20.7779 20.27945 19.42095
17.46713 15.57771 13.60264 11.64885 9.780789 8.044507 6.476619
5.108495 4.435473 4.230803 4.281863 4.566664 5.039777 5.630452
6.24602 6.780332 7.127652 7.594338 7.263226 6.65853 5.924159
5.743864 20.58108 20.23473 19.58539 18.79036 17.44613 15.23517
13.41033 11.55922 9.755835 8.061155 6.543433 5.176051 4.609575
3.921503 3.893127 4.143422 4.629943 5.280001 5.995893 6.670645
7.206797 7.947849 7.971648 7.846852 7.946321 8.285006 20.19291
19.7186 18.98779 18.24048 16.98321 14.8847 13.18952 11.44525
9.72739 8.110514 6.687047 5.270014 4.561692 4.325249 3.527503
3.762715 4.314481 5.101181 6.007941 6.915354 8.199697 8.774161
9.190091 9.698968 10.04746 10.74483 19.81966 19.26716 18.49286
17.78269 16.58158 15.18241 12.99454 11.34318 9.704158 8.152895
6.777424 5.262613 4.449673 4.116455 4.042163 4.389206 4.073297
5.083766 6.271998 7.490597 9.044318 9.983721 10.92022 11.49912
12.15127 13.05731 19.49131 18.89822 18.10599 17.42395 16.26246
14.92077 13.44139 11.2782 9.696554 8.180715 6.417355 5.188323
4.246154 3.673728 3.59233 3.929224 4.817826 5.230107 6.793106
8.385315 10.21104 11.52165 12.58441 13.35111 14.13447 15.12208
19.22879 18.62383 17.83414 17.17091 16.04049 14.73844 13.29985
11.27182 9.724573 8.216669 6.42978 5.098477 4.001144 3.227455
2.977259 3.2825 4.414685 6.126458 7.617444 9.610927 11.699
13.34073 14.40685 15.1663 15.88308 16.7973 19.08131 18.45244
17.68505 17.03067 15.92896 14.65603 13.24041 11.72573 9.814451
8.297451 6.499563 5.053313 3.797122 2.804649 2.183985 2.36943
3.949572 6.2058 8.700994 11.19231 13.6145 15.41008 16.37523
16.8516 17.26631 17.92172 18.94406 18.38686 17.66442 17.00995
15.94032 14.69458 13.29582 11.77476 10.19061 8.304475 6.656459
5.10287 3.725714 2.593688 1.829666 1.670223 3.986985 6.761228
9.790821 12.98621 16.2512 18.5129 19.28611 19.27368 19.18609
19.34611 18.88252 18.41507 17.77058 17.11302 16.08217 14.87025
13.50273 11.9985 10.37686 8.631154 6.912142 5.31475 3.907087
2.786492 2.13705 2.394036 3.99117 6.593426 9.95457 14.37718
18.61446 21.28885 20.86744 19.88871 19.35841 18.95094 18.88159
18.47512 17.9665 17.33932 16.34655 15.16396 13.87129 12.45925
10.9748 9.010357 7.342763 5.628612 4.18906 3.058117 2.446761
2.662278 3.960292 6.325313 9.687471 13.94486 18.99473 22.79465
20.98755 19.43617 18.28853 17.533 8.259001 7.958382 7.625516
7.381001 6.766017 6.439417 6.038244 5.630733 5.235085 4.883037
4.629712 4.565383 4.81515 5.494468 6.655148 8.325098 10.06055
11.7676 13.26355 14.33681 14.8362 14.79498 14.51654 13.87593
13.11646 12.29503 8.904243 8.617048 8.352046 8.058417 7.776228
6.777418 6.279381 5.75965 5.345464 4.836537 4.38055 4.079156
4.129559 4.785769 6.155227 7.963341 9.980263 12.15762 14.02164
15.358 15.81111 15.61841 14.92149 14.06275 13.13547 12.1777
9.607484 9.332837 9.092421 8.774714 8.435161 8.06008 6.724212
6.118608 5.474707 4.802016 4.245147 3.620417 3.279427 3.851721
5.518099 7.66652 9.972604 12.32496 14.66728 16.52065 16.85939
16.06939 15.06351 14.01982 12.9735 11.92825 10.35693 10.15983
9.865589 9.528476 9.148924 8.718283 7.291959 6.629221 5.908214
5.125667 4.28151 3.385323 2.536527 2.753065 5.042282 7.418706
9.818059 12.25409 14.68311 17.26136 17.02097 15.7795 14.5974
13.47198 12.39465 11.35452 11.1435 10.96168 10.66695 10.31739
9.913106 9.447462 8.909057 7.304624 6.560099 5.748978 4.872241
3.957708 3.159059 3.38792 5.211184 7.290946 9.434127 11.58745
13.65129 15.19846 15.36924 14.64867 13.68739 12.69721 11.72643
10.78343 12.00537 11.77979 11.48702 11.13427 10.7203 10.23977
9.684549 9.043755 7.416758 6.654126 5.860051 5.108291 4.600965
4.806841 5.811109 7.443659 9.075292 10.69747 12.13013 13.07128
13.32594 12.87863 12.13972 11.61123 10.83604 10.05996 12.81317
12.59199 12.31053 11.96728 11.55832 11.08009 10.5294 9.902491
9.193394 7.756227 7.082139 6.455186 6.017879 6.039335 6.553294
7.430263 8.694045 9.738214 10.61138 11.14307 11.33248 11.06739
10.58666 10.03133 9.782722 9.21613 13.66222 13.36832 13.12055
12.80305 12.412 11.94766 11.41354 10.81507 10.15805 9.443094
8.399967 7.786394 7.287749 7.069045 7.182956 7.561491 8.083162
8.824805 9.21324 9.394002 9.443796 9.233774 8.932409 8.609507
8.298966 8.008013 14.35025 14.29293 14.137 13.87815 13.51763
13.06388 12.53012 11.93112 11.28142 10.48263 9.840349 9.05146
8.35806 7.903413 7.685768 7.650585 7.712743 7.781703 7.956332
7.798027 7.557488 7.423227 7.252783 7.145209 7.07725 7.028028
14.99807 15.01935 14.92615 14.71007 14.37443 13.93466 13.41194
12.82617 12.1923 11.5177 10.77829 10.02392 9.326315 8.560178
8.088564 7.723302 7.405437 7.071805 6.67773 6.349499 5.86264
5.642663 5.597019 5.71236 5.881474 6.050883 15.52615 15.71116
15.68769 15.51226 15.18985 14.74854 14.22217 13.63611 12.98479
12.30441 11.54031 10.75007 10.03437 9.325107 8.651488 8.005533
7.205742 6.540681 5.792718 4.969376 4.261537 3.891322 4.038611
4.416265 4.707088 5.047281 16.06926 16.35668 16.41597 16.27565
15.94391 15.47738 14.93188 14.31315 13.68682 13.01148 12.25718
11.41847 10.66074 9.851164 9.015649 8.162261 7.27773 6.332278
5.289553 4.121779 2.832118 2.205529 2.735921 3.339407 3.853855
4.293174 16.52192 16.85814 17.10255 16.98729 16.60176 16.07762
15.46633 14.87173 14.26462 13.62441 12.91431 12.05165 11.25084
10.34974 9.383021 8.378328 7.340611 6.253326 5.088665 3.823525
2.303409 1.694266 2.290908 2.854995 3.345475 3.788434 16.8109
17.30918 17.72665 17.6133 17.05695 16.43708 15.82815 15.24586
14.68334 14.11427 13.48884 12.65279 11.81825 10.8255 9.744832
8.636037 7.522844 6.402114 4.73475 3.702177 2.815341 2.385338
2.441181 2.905149 3.20846 3.552447 16.83534 17.41827 18.03713
17.88285 17.1829 16.52937 15.92945 15.38563 14.89325 14.43185
13.94534 13.31497 12.3548 11.24404 10.05148 8.880301 7.092942
6.028433 5.063628 4.214831 3.546032 3.20248 3.098838 3.16322
3.415236 3.557666 16.54583 17.02894 17.34634 17.27396 16.77654
16.19128 15.6316 15.24858 14.83438 14.49501 14.20403 13.80238
12.81434 11.50286 9.646521 8.346243 7.229516 6.284999 5.495157
4.853948 4.375222 4.12673 3.994228 3.956209 3.93018 3.854783
16.00714 16.29806 16.47374 16.4392 16.10211 15.64101 15.16198
14.72363 14.3632 14.10964 13.98881 14.02216 12.7242 10.95398
9.450071 8.218364 7.245866 6.502629 5.95003 5.552639 5.285556
5.165961 5.094966 5.070401 5.066329 4.597561 15.27945 15.49359
15.56318 15.53384 15.26061 14.87436 14.44793 14.03488 13.67335
13.38712 13.17078 12.75677 11.74343 10.14115 8.834436 7.808918
7.085491 6.632406 6.389454 6.289695 6.27672 6.324244 6.374951
6.43189 5.670609 5.685971 14.52607 14.63843 14.63138 14.58643
14.32683 13.9613 13.54609 13.11721 12.70217 12.30844 11.9042
11.15742 10.33845 9.168699 7.835835 7.109396 6.727118 6.656524
6.806777 7.070642 7.353563 7.605552 7.80636 7.027762 7.022677
7.023214 13.73183 13.76173 13.68952 13.61477 13.33731 12.96967
12.518 12.04207 11.54621 11.03066 10.47119 9.528991 8.718859
7.690621 6.999724 6.646267 6.17599 6.584035 7.223369 7.925246
8.531865 9.02116 8.501074 8.566748 8.567719 8.565634 12.92173
12.88238 12.75094 12.6375 12.32431 11.92177 11.44709 10.88356
10.30102 9.676608 8.726545 7.923589 7.06921 6.269186 5.514687
5.42556 5.925406 6.447876 7.687121 8.908844 9.876413 10.58849
10.18954 10.27178 10.26026 10.24459 12.11437 12.01656 11.83158
11.67453 11.31771 10.86873 10.33852 9.707007 9.043686 8.332415
7.299651 6.406169 5.47327 4.595173 3.836374 3.909109 4.920836
6.583925 8.264189 10.09695 11.43953 11.74963 12.04353 12.10018
12.03936 11.97735 11.23529 11.17889 10.94866 10.74569 10.34561
9.848761 9.261219 8.595575 7.832552 7.062328 6.009697 5.060002
4.061292 3.063057 2.202435 2.064563 3.807505 6.258418 8.87653
11.46415 12.99204 13.71581 14.00751 13.98857 13.83106 13.67974
10.49946 10.38126 10.1182 9.868858 9.432815 8.896174 8.261309
7.532972 6.73644 5.803326 4.908361 3.960925 2.978188 1.993888
0.8950747 0.596541 3.206404 6.14733 9.205294 12.22135 14.69569
16.21886 16.77186 16.73492 16.44813 16.09442 9.797211 9.578146
9.351328 9.057754 8.597255 8.036834 7.380956 6.629073 5.779101
4.794774 3.782467 2.807947 1.907557 1.15472 0.7384835 1.195271
3.183444 5.95365 9.157557 12.83101 16.14253 18.23386 18.55885
18.32109 18.06193 17.40008 9.125937 8.903711 8.622022 8.320066
7.843737 7.178635 6.532677 5.835546 5.103935 4.066842 3.188419
2.205298 1.449738 0.9224348 0.8306502 1.491885 3.308019 5.860392
9.059645 12.68803 16.57937 19.66113 19.76143 19.60726 19.05235
18.17045 676*0.0009999999 676*5
/
MULTX
5408*1
/
MULTY
5408*1
/
MULTZ
5408*0.1
/
MULTX-
5408*1
/
MULTY-
5408*1
/
MULTZ-
5408*0.1
/
MULTPV
5408*1
/
ACTNUM
5408*1
/
|
[
"[email protected]"
] |
[
[
[
1,
8082
]
]
] |
f250e0f308a636615e97550279ff9540b7d3d089
|
33f59b1ba6b12c2dd3080b24830331c37bba9fe2
|
/Depend/Foundation/Distance/Wm4DistRay3Segment3.cpp
|
ea3f8be07b70629eaef2f80f62af52b6c8e61449
|
[] |
no_license
|
daleaddink/flagship3d
|
4835c223fe1b6429c12e325770c14679c42ae3c6
|
6cce5b1ff7e7a2d5d0df7aa0594a70d795c7979a
|
refs/heads/master
| 2021-01-15T16:29:12.196094 | 2009-11-01T10:18:11 | 2009-11-01T10:18:11 | 37,734,654 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 8,563 |
cpp
|
// Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006. All Rights Reserved
//
// The Wild Magic Version 4 Foundation Library source code is supplied
// under the terms of the license agreement
// http://www.geometrictools.com/License/Wm4FoundationLicense.pdf
// and may not be copied or disclosed except in accordance with the terms
// of that agreement.
#include "Wm4FoundationPCH.h"
#include "Wm4DistRay3Segment3.h"
namespace Wm4
{
//----------------------------------------------------------------------------
template <class Real>
DistRay3Segment3<Real>::DistRay3Segment3 (const Ray3<Real>& rkRay,
const Segment3<Real>& rkSegment)
:
m_rkRay(rkRay),
m_rkSegment(rkSegment)
{
}
//----------------------------------------------------------------------------
template <class Real>
const Ray3<Real>& DistRay3Segment3<Real>::GetRay () const
{
return m_rkRay;
}
//----------------------------------------------------------------------------
template <class Real>
const Segment3<Real>& DistRay3Segment3<Real>::GetSegment () const
{
return m_rkSegment;
}
//----------------------------------------------------------------------------
template <class Real>
Real DistRay3Segment3<Real>::Get ()
{
Real fSqrDist = GetSquared();
return Math<Real>::Sqrt(fSqrDist);
}
//----------------------------------------------------------------------------
template <class Real>
Real DistRay3Segment3<Real>::GetSquared ()
{
Vector3<Real> kDiff = m_rkRay.Origin- m_rkSegment.Origin;
Real fA01 = -m_rkRay.Direction.Dot(m_rkSegment.Direction);
Real fB0 = kDiff.Dot(m_rkRay.Direction);
Real fB1 = -kDiff.Dot(m_rkSegment.Direction);
Real fC = kDiff.SquaredLength();
Real fDet = Math<Real>::FAbs((Real)1.0 - fA01*fA01);
Real fS0, fS1, fSqrDist, fExtDet;
if (fDet >= Math<Real>::ZERO_TOLERANCE)
{
// The ray and segment are not parallel.
fS0 = fA01*fB1-fB0;
fS1 = fA01*fB0-fB1;
fExtDet = m_rkSegment.Extent*fDet;
if (fS0 >= (Real)0.0)
{
if (fS1 >= -fExtDet)
{
if (fS1 <= fExtDet) // region 0
{
// minimum at interior points of ray and segment
Real fInvDet = ((Real)1.0)/fDet;
fS0 *= fInvDet;
fS1 *= fInvDet;
fSqrDist = fS0*(fS0+fA01*fS1+((Real)2.0)*fB0) +
fS1*(fA01*fS0+fS1+((Real)2.0)*fB1)+fC;
}
else // region 1
{
fS1 = m_rkSegment.Extent;
fS0 = -(fA01*fS1+fB0);
if (fS0 > (Real)0.0)
{
fSqrDist = -fS0*fS0+fS1*(fS1+((Real)2.0)*fB1)+fC;
}
else
{
fS0 = (Real)0.0;
fSqrDist = fS1*(fS1+((Real)2.0)*fB1)+fC;
}
}
}
else // region 5
{
fS1 = -m_rkSegment.Extent;
fS0 = -(fA01*fS1+fB0);
if (fS0 > (Real)0.0)
{
fSqrDist = -fS0*fS0+fS1*(fS1+((Real)2.0)*fB1)+fC;
}
else
{
fS0 = (Real)0.0;
fSqrDist = fS1*(fS1+((Real)2.0)*fB1)+fC;
}
}
}
else
{
if (fS1 <= -fExtDet) // region 4
{
fS0 = -(-fA01*m_rkSegment.Extent+fB0);
if (fS0 > (Real)0.0)
{
fS1 = -m_rkSegment.Extent;
fSqrDist = -fS0*fS0+fS1*(fS1+((Real)2.0)*fB1)+fC;
}
else
{
fS0 = (Real)0.0;
fS1 = -fB1;
if (fS1 < -m_rkSegment.Extent)
{
fS1 = -m_rkSegment.Extent;
}
else if (fS1 > m_rkSegment.Extent)
{
fS1 = m_rkSegment.Extent;
}
fSqrDist = fS1*(fS1+((Real)2.0)*fB1)+fC;
}
}
else if (fS1 <= fExtDet) // region 3
{
fS0 = (Real)0.0;
fS1 = -fB1;
if (fS1 < -m_rkSegment.Extent)
{
fS1 = -m_rkSegment.Extent;
}
else if (fS1 > m_rkSegment.Extent)
{
fS1 = m_rkSegment.Extent;
}
fSqrDist = fS1*(fS1+((Real)2.0)*fB1)+fC;
}
else // region 2
{
fS0 = -(fA01*m_rkSegment.Extent+fB0);
if (fS0 > (Real)0.0)
{
fS1 = m_rkSegment.Extent;
fSqrDist = -fS0*fS0+fS1*(fS1+((Real)2.0)*fB1)+fC;
}
else
{
fS0 = (Real)0.0;
fS1 = -fB1;
if (fS1 < -m_rkSegment.Extent)
{
fS1 = -m_rkSegment.Extent;
}
else if (fS1 > m_rkSegment.Extent)
{
fS1 = m_rkSegment.Extent;
}
fSqrDist = fS1*(fS1+((Real)2.0)*fB1)+fC;
}
}
}
}
else
{
// ray and segment are parallel
if (fA01 > (Real)0.0)
{
// opposite direction vectors
fS1 = -m_rkSegment.Extent;
}
else
{
// same direction vectors
fS1 = m_rkSegment.Extent;
}
fS0 = -(fA01*fS1+fB0);
if (fS0 > (Real)0.0)
{
fSqrDist = -fS0*fS0+fS1*(fS1+((Real)2.0)*fB1)+fC;
}
else
{
fS0 = (Real)0.0;
fSqrDist = fS1*(fS1+((Real)2.0)*fB1)+fC;
}
}
m_kClosestPoint0 = m_rkRay.Origin + fS0*m_rkRay.Direction;
m_kClosestPoint1 = m_rkSegment.Origin + fS1*m_rkSegment.Direction;
m_fRayParameter = fS0;
m_fSegmentParameter = fS1;
return Math<Real>::FAbs(fSqrDist);
}
//----------------------------------------------------------------------------
template <class Real>
Real DistRay3Segment3<Real>::Get (Real fT, const Vector3<Real>& rkVelocity0,
const Vector3<Real>& rkVelocity1)
{
Vector3<Real> kMOrigin0 = m_rkRay.Origin + fT*rkVelocity0;
Vector3<Real> kMOrigin1 = m_rkSegment.Origin + fT*rkVelocity1;
Ray3<Real> kMRay(kMOrigin0,m_rkRay.Direction);
Segment3<Real> kMSegment(kMOrigin1,m_rkSegment.Direction,
m_rkSegment.Extent);
return DistRay3Segment3<Real>(kMRay,kMSegment).Get();
}
//----------------------------------------------------------------------------
template <class Real>
Real DistRay3Segment3<Real>::GetSquared (Real fT,
const Vector3<Real>& rkVelocity0, const Vector3<Real>& rkVelocity1)
{
Vector3<Real> kMOrigin0 = m_rkRay.Origin + fT*rkVelocity0;
Vector3<Real> kMOrigin1 = m_rkSegment.Origin + fT*rkVelocity1;
Ray3<Real> kMRay(kMOrigin0,m_rkRay.Direction);
Segment3<Real> kMSegment(kMOrigin1,m_rkSegment.Direction,
m_rkSegment.Extent);
return DistRay3Segment3<Real>(kMRay,kMSegment).GetSquared();
}
//----------------------------------------------------------------------------
template <class Real>
Real DistRay3Segment3<Real>::GetRayParameter () const
{
return m_fRayParameter;
}
//----------------------------------------------------------------------------
template <class Real>
Real DistRay3Segment3<Real>::GetSegmentParameter () const
{
return m_fSegmentParameter;
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// explicit instantiation
//----------------------------------------------------------------------------
template WM4_FOUNDATION_ITEM
class DistRay3Segment3<float>;
template WM4_FOUNDATION_ITEM
class DistRay3Segment3<double>;
//----------------------------------------------------------------------------
}
|
[
"yf.flagship@e79fdf7c-a9d8-11de-b950-3d5b5f4ea0aa"
] |
[
[
[
1,
249
]
]
] |
21432ce157c57004ad691049ac5f32dbe2b7d156
|
df5701f3e225160f58d2d187577327ba8ad7894e
|
/main.cpp
|
e84aa8783571e0787109e7730d2e30324061e8d6
|
[] |
no_license
|
cbolanos79/be
|
8d900236ebfc7b523f205f8493f8b594b0ace2db
|
363e2a7c7d8c92ccf28884cf3a30d3e9a0590334
|
refs/heads/master
| 2016-09-05T15:49:23.237082 | 2010-11-08T20:46:36 | 2010-11-08T20:46:36 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 4,778 |
cpp
|
#include <stdlib.h>
#include <stdio.h>
#include <GL/gl.h>
#include <GL/glut.h>
#ifdef _WIN32
#include <windows.h>
#else
#include <unistd.h>
#endif
#include <time.h>
#include "window.h"
#include "scene.h"
#include "camera.h"
#include "vector.h"
#include "stage.h"
#include "shapes.h"
#include "vertex.h"
#include "mesh.h"
#include "texture.h"
#include "stage.h"
#include <stdio.h>
using namespace BE;
Object *co;
bool cameraMode;
void process(int timer) {
glutTimerFunc(33, process, 0);
glutPostRedisplay();
}
void display() {
Scene *s = Scene::instance();
/*
for (int i=0; i<s->objects.getCount(); i++) {
s->objects[i].setXAngle(s->objects[i].getXAngle()+0.5);
s->objects[i].setYAngle(s->objects[i].getYAngle()+0.5);
}*/
s->stage->render();
s->render();
glutSwapBuffers();
}
void reshape(int w, int h) {
Scene *s = Scene::instance();
s->loadProjection(w, h);
glMatrixMode (GL_MODELVIEW);
}
void processNormalKeys(unsigned char key, int x, int y) {
Scene *s = Scene::instance();
switch (key) {
case 27:
exit(0);
break;
case 'a':
co->setXPos(co->getXPos()-1.0f);
break;
case 'd':
co->setXPos(co->getXPos()+1.0f);
break;
case 'w':
co->setYPos(co->getYPos()+1.0f);
break;
case 's':
co->setYPos(co->getYPos()-1.0f);
break;
case 'c':
if (cameraMode) {
co = &s->objects[0];
cameraMode = false;
} else {
co = &s->camera;
cameraMode = true;
}
case '+':
s->camera.setZoom(s->camera.getZoom()-10);
break;
case '-':
s->camera.setZoom(s->camera.getZoom()+10);
break;
}
}
void processSpecialKeys(int key, int x, int y) {
Scene *s = Scene::instance();
switch (key) {
case GLUT_KEY_F1:
s->wireFrame();
break;
case GLUT_KEY_F2:
s->toggleLight();
break;
case GLUT_KEY_F3:
s->smoothShading();
break;
case GLUT_KEY_F4:
s->gouradShading();
break;
case GLUT_KEY_F5:
s->toggleTexture();
break;
case GLUT_KEY_LEFT:
co->setYAngle(co->getYAngle()+1.0f);
break;
case GLUT_KEY_RIGHT:
co->setYAngle(co->getYAngle()-1.0f);
break;
case GLUT_KEY_UP:
co->setXAngle(co->getXAngle()+1.0f);
break;
case GLUT_KEY_DOWN:
co->setXAngle(co->getXAngle()-1.0f);
break;
}
}
void genChaos() {
Scene *s = Scene::instance();
/*
s->camera.setPosition(100, 100, 200);
s->camera.setYAngle(45);
s->camera.setZoom(200);
*/
srand(time(NULL));
Texture t("sand.bmp");
s->textures.add(t);
for (int i=0; i<500; i++) {
Mesh m;
float size = rand() % 100;
float x = rand() % 500, y = rand() % 500, z = -(rand() % 300);
float xa = rand() % 359, ya = rand() % 359;
float cr = 0.01*(rand() % 101), cg = 0.01*(rand() % 101), cb = 0.01*(rand() % 101);
if ((i%2) == 0)
m = EquilateralTriangle(size, Vector3(cr, cg, cb));
else
m = Quad(size, Vector3(cr, cg, cb));
m.setTexture(0);
s->meshes.add(m);
Object o;
o.setPosition(x,y,z);
o.setAngles(xa, ya, 0.0f);
o.addMesh(i);
s->objects.add(o);
}
}
void genCube () {
Scene *s = Scene::instance();
Texture t("sand.bmp");
s->textures.add(t);
Mesh m = Cube(5);
m.setTexture(0);
s->meshes.add(m);
for (int i=-5; i<5; i++) {
Object o;
o.setPosition(i*5,0,0);
o.setAngles(0,0,0);
o.addMesh(0);
s->objects.add(o);
}
}
int main(int argc, char *argv[]) {
// Glut related
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE | GLUT_DOUBLE | GLUT_DEPTH);
glutInitWindowSize(1024, 768);
glutInitWindowPosition(100, 100);
glutCreateWindow (argv[0]);
glutDisplayFunc(display);
glutTimerFunc(33, process, 0);
glutReshapeFunc(reshape);
glutKeyboardFunc(processNormalKeys);
glutSpecialFunc(processSpecialKeys);
// World related
cameraMode = true;
Scene *s = Scene::instance();
s->camera.setPosition(12, 0, 40);
s->camera.setXAngle(10);
s->camera.setZoom(50);
s->stage = new Stage(5, 5, "aaaaaa aa aa aaaaaa");
//genChaos();
//genCube();
co = &s->camera;
s->loadProjection(1024, 768);
s->gouradShading();
glutMainLoop();
return 0;
}
|
[
"[email protected]"
] |
[
[
[
1,
206
]
]
] |
5d0625852665cc45b837df333230cd1528dc82b1
|
34fc82430b8a8a1c38019685888543fa1b124b1d
|
/planetariumfd/CommonLib/ConfigIni.cpp
|
f43c52972c66396fcd3b56014f9582613a2fcf13
|
[] |
no_license
|
witwall/planetariumfd
|
5d70facd3304a98e54b0305a56b7339851c88618
|
25b516480ff39b89cbb5cd708a3add1d9aae0f1e
|
refs/heads/master
| 2021-01-10T20:04:35.241471 | 2009-12-31T14:46:31 | 2009-12-31T14:46:31 | 37,585,240 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,357 |
cpp
|
#include "ConfigIni.h"
/*
Assumes the file is in current directory
Params:
[in] sting filename
[in] string section
[in] string key
[out] string& value
*/
bool getIniValue(LPCSTR pFilename,LPCSTR pSection,LPCSTR pKey,LPCSTR pDefultValue,string& value)
{
char lpBuffer[PATH_BUFFER_LENGTH];
ZeroMemory(lpBuffer,PATH_BUFFER_LENGTH);
DWORD nBufferLength = GetCurrentDirectoryA(
PATH_BUFFER_LENGTH,
lpBuffer
);
string path = "";
if (!nBufferLength) return false;
path=lpBuffer;
path+="\\";
path+=pFilename;
ZeroMemory(lpBuffer,PATH_BUFFER_LENGTH);
nBufferLength= GetPrivateProfileStringA(
pSection,
pKey,
pDefultValue,
lpBuffer,
PATH_BUFFER_LENGTH,
path.c_str()
);
if (!nBufferLength) return false;
value = lpBuffer;
return true;
}
bool getIniValue(string filename,string section,string key,string defultValue,string& value){
char lpBuffer[PATH_BUFFER_LENGTH];
ZeroMemory(lpBuffer,PATH_BUFFER_LENGTH);
DWORD nBufferLength = GetCurrentDirectoryA(
PATH_BUFFER_LENGTH,
lpBuffer
);
string path = "";
if (!nBufferLength) return false;
path=lpBuffer;
path+="\\";
path+=filename;
ZeroMemory(lpBuffer,PATH_BUFFER_LENGTH);
nBufferLength= GetPrivateProfileStringA(
section.c_str(),
key.c_str(),
defultValue.c_str(),
lpBuffer,
PATH_BUFFER_LENGTH,
path.c_str()
);
if (!nBufferLength) return false;
value = lpBuffer;
return true;
}
#include <cstdio>
bool getIniValue(string filename,string section,string key,int defultValue,int& value){
string value_default_str,value_str;
if (getIniValue(filename,section,key,value_default_str,value_str))
if (sscanf_s(value_str.c_str(),"%d",&value,value_str.length()) == 1) //cant parse int
return true;
value = defultValue;
return false;
}
bool getIniValue(string filename,string section,string key,float defultValue,float& value){
string value_default_str,value_str;
if (getIniValue(filename,section,key,value_default_str,value_str))
if (sscanf_s(value_str.c_str(),"%f",&value,value_str.length()) == 1) //can't parse float
return true;
value = defultValue;
return false;
}
|
[
"dimabur@5d7c0cd8-ee59-11de-8684-7d64432d61a3",
"yaniv100@5d7c0cd8-ee59-11de-8684-7d64432d61a3"
] |
[
[
[
1,
81
]
],
[
[
82,
103
]
]
] |
746da965823afbe6394ff3e631276785985b0984
|
8bbbcc2bd210d5608613c5c591a4c0025ac1f06b
|
/nes/mapper/229.cpp
|
aca3a5b49e48e4607f27650c1f9801670560a3e2
|
[] |
no_license
|
PSP-Archive/NesterJ-takka
|
140786083b1676aaf91d608882e5f3aaa4d2c53d
|
41c90388a777c63c731beb185e924820ffd05f93
|
refs/heads/master
| 2023-04-16T11:36:56.127438 | 2008-12-07T01:39:17 | 2008-12-07T01:39:17 | 357,617,280 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,444 |
cpp
|
/////////////////////////////////////////////////////////////////////
// Mapper 229
void NES_mapper229_Init()
{
g_NESmapper.Reset = NES_mapper229_Reset;
g_NESmapper.MemoryWrite = NES_mapper229_MemoryWrite;
}
void NES_mapper229_Reset()
{
// set CPU bank pointers
g_NESmapper.set_CPU_banks4(0,1,2,3);
// set PPU bank pointers
g_NESmapper.set_PPU_banks8(0,1,2,3,4,5,6,7);
}
void NES_mapper229_MemoryWrite(uint32 addr, uint8 data)
{
addr &= 0x0FFF;
if(addr & 0x0020)
{
g_NESmapper.set_mirroring2(NES_PPU_MIRROR_HORIZ);
}
else
{
g_NESmapper.set_mirroring2(NES_PPU_MIRROR_VERT);
}
if(addr & 0x001E)
{
uint8 prg_bank = (uint8)(addr & 0x001F);
uint32 chr_bank = addr & 0x0FFF;
g_NESmapper.set_CPU_bank4(prg_bank*2+0);
g_NESmapper.set_CPU_bank5(prg_bank*2+1);
g_NESmapper.set_CPU_bank6(prg_bank*2+0);
g_NESmapper.set_CPU_bank7(prg_bank*2+1);
g_NESmapper.set_PPU_bank0(chr_bank*8+0);
g_NESmapper.set_PPU_bank1(chr_bank*8+1);
g_NESmapper.set_PPU_bank2(chr_bank*8+2);
g_NESmapper.set_PPU_bank3(chr_bank*8+3);
g_NESmapper.set_PPU_bank4(chr_bank*8+4);
g_NESmapper.set_PPU_bank5(chr_bank*8+5);
g_NESmapper.set_PPU_bank6(chr_bank*8+6);
g_NESmapper.set_PPU_bank7(chr_bank*8+7);
}
else
{
g_NESmapper.set_CPU_banks4(0,1,2,3);
g_NESmapper.set_PPU_banks8(0,1,2,3,4,5,6,7);
}
}
/////////////////////////////////////////////////////////////////////
|
[
"takka@e750ed6d-7236-0410-a570-cc313d6b6496"
] |
[
[
[
1,
56
]
]
] |
b2d5071ced5953865a018cc182d2763848f27640
|
e3e5243690bd626c79678fdf287ef23c99060263
|
/opensteer/src/Obstacle.cpp
|
e7638ee00edae784d63c5a867cf866a83d8590f9
|
[
"MIT"
] |
permissive
|
Shulander/steeringfluid
|
a6e6c62b719cdfe2f071eec33dfec2f32e3095a1
|
3712b0fc4f00b7c0da563ee887f55229af50d741
|
refs/heads/master
| 2021-01-25T08:38:09.460551 | 2009-05-27T02:14:24 | 2009-05-27T02:14:24 | 40,906,080 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 13,045 |
cpp
|
// ----------------------------------------------------------------------------
//
//
// OpenSteer -- Steering Behaviors for Autonomous Characters
//
// Copyright (c) 2002-2004, Sony Computer Entertainment America
// Original author: Craig Reynolds <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
//
// ----------------------------------------------------------------------------
//
//
// OpenSteer Obstacle classes
//
// 10-28-04 cwr: split off from Obstacle.h
//
//
// ----------------------------------------------------------------------------
#include "OpenSteer/Obstacle.h"
// ----------------------------------------------------------------------------
// Obstacle
// compute steering for a vehicle to avoid this obstacle, if needed
OpenSteer::Vec3
OpenSteer::Obstacle::steerToAvoid (const AbstractVehicle& vehicle,
const float minTimeToCollision) const
{
// find nearest intersection with this obstacle along vehicle's path
PathIntersection pi;
findIntersectionWithVehiclePath (vehicle, pi);
// return steering for vehicle to avoid intersection, or zero if non found
return pi.steerToAvoidIfNeeded (vehicle, minTimeToCollision);
}
// ----------------------------------------------------------------------------
// Obstacle
// static method to apply steerToAvoid to nearest obstacle in an ObstacleGroup
OpenSteer::Vec3
OpenSteer::Obstacle::
steerToAvoidObstacles (const AbstractVehicle& vehicle,
const float minTimeToCollision,
const ObstacleGroup& obstacles)
{
PathIntersection nearest, next;
// test all obstacles in group for an intersection with the vehicle's
// future path, select the one whose point of intersection is nearest
firstPathIntersectionWithObstacleGroup (vehicle, obstacles, nearest, next);
// if nearby intersection found, steer away from it, otherwise no steering
return nearest.steerToAvoidIfNeeded (vehicle, minTimeToCollision);
}
// ----------------------------------------------------------------------------
// Obstacle
// static method to find first vehicle path intersection in an ObstacleGroup
//
// returns its results in the PathIntersection argument "nearest",
// "next" is used to store internal state.
void
OpenSteer::Obstacle::
firstPathIntersectionWithObstacleGroup (const AbstractVehicle& vehicle,
const ObstacleGroup& obstacles,
PathIntersection& nearest,
PathIntersection& next)
{
// test all obstacles in group for an intersection with the vehicle's
// future path, select the one whose point of intersection is nearest
next.intersect = false;
nearest.intersect = false;
for (ObstacleIterator o = obstacles.begin(); o != obstacles.end(); o++)
{
// find nearest point (if any) where vehicle path intersects obstacle
// o, storing the results in PathIntersection object "next"
(**o).findIntersectionWithVehiclePath (vehicle, next);
// if this is the first intersection found, or it is the nearest found
// so far, store it in PathIntersection object "nearest"
const bool firstFound = !nearest.intersect;
const bool nearestFound = (next.intersect &&
(next.distance < nearest.distance));
if (firstFound || nearestFound) nearest = next;
}
}
// ----------------------------------------------------------------------------
// PathIntersection
// determine steering once path intersections have been found
OpenSteer::Vec3
OpenSteer::Obstacle::PathIntersection::
steerToAvoidIfNeeded (const AbstractVehicle& vehicle,
const float minTimeToCollision) const
{
// if nearby intersection found, steer away from it, otherwise no steering
const float minDistanceToCollision = minTimeToCollision * vehicle.speed();
if (intersect && (distance < minDistanceToCollision))
{
// compute avoidance steering force: take the component of
// steerHint which is lateral (perpendicular to vehicle's
// forward direction), set its length to vehicle's maxForce
Vec3 lateral = steerHint.perpendicularComponent (vehicle.forward ());
return lateral.normalize () * vehicle.maxForce ();
}
else
{
return Vec3::zero;
}
}
// ----------------------------------------------------------------------------
// SphereObstacle
// find first intersection of a vehicle's path with this obstacle
void
OpenSteer::
SphereObstacle::
findIntersectionWithVehiclePath (const AbstractVehicle& vehicle,
PathIntersection& pi) const
{
// This routine is based on the Paul Bourke's derivation in:
// Intersection of a Line and a Sphere (or circle)
// http://www.swin.edu.au/astronomy/pbourke/geometry/sphereline/
// But the computation is done in the vehicle's local space, so
// the line in question is the Z (Forward) axis of the space which
// simplifies some of the calculations.
float b, c, d, p, q, s;
Vec3 lc;
// initialize pathIntersection object to "no intersection found"
pi.intersect = false;
// find sphere's "local center" (lc) in the vehicle's coordinate space
lc = vehicle.localizePosition (center);
// compute line-sphere intersection parameters
const float r = radius + vehicle.radius();
b = -2 * lc.z;
c = square (lc.x) + square (lc.y) + square (lc.z) - square (r);
d = (b * b) - (4 * c);
// when the path does not intersect the sphere
if (d < 0) return;
// otherwise, the path intersects the sphere in two points with
// parametric coordinates of "p" and "q". (If "d" is zero the two
// points are coincident, the path is tangent)
s = sqrtXXX (d);
p = (-b + s) / 2;
q = (-b - s) / 2;
// both intersections are behind us, so no potential collisions
if ((p < 0) && (q < 0)) return;
// at least one intersection is in front, so intersects our forward
// path
pi.intersect = true;
pi.obstacle = this;
pi.distance =
((p > 0) && (q > 0)) ?
// both intersections are in front of us, find nearest one
((p < q) ? p : q) :
// otherwise one is ahead and one is behind: we are INSIDE obstacle
(seenFrom () == outside ?
// inside a solid obstacle, so distance to obstacle is zero
0.0f :
// hollow obstacle (or "both"), pick point that is in front
((p > 0) ? p : q));
pi.surfacePoint =
vehicle.position() + (vehicle.forward() * pi.distance);
pi.surfaceNormal = (pi.surfacePoint-center).normalize();
// hmm, note that this was actually determined already in pi.distance calc
pi.vehicleOutside = lc.length () > radius;
switch (seenFrom ())
{
case outside:
pi.steerHint = pi.surfaceNormal;
break;
case inside:
pi.steerHint = -pi.surfaceNormal;
break;
case both:
pi.steerHint = pi.surfaceNormal * (pi.vehicleOutside ? 1.0f : -1.0f);
break;
}
}
// ----------------------------------------------------------------------------
// BoxObstacle
// find first intersection of a vehicle's path with this obstacle
void
OpenSteer::
BoxObstacle::
findIntersectionWithVehiclePath (const AbstractVehicle& vehicle,
PathIntersection& pi) const
{
// abbreviations
const float w = width; // dimensions
const float h = height;
const float d = depth;
const Vec3 s = side (); // local space
const Vec3 u = up ();
const Vec3 f = forward ();
const Vec3 p = position ();
const Vec3 hw = s * (0.5f * width); // offsets for face centers
const Vec3 hh = u * (0.5f * height);
const Vec3 hd = f * (0.5f * depth);
const seenFromState sf = seenFrom ();
// the box's six rectangular faces
RectangleObstacle r1 (w, h, s, u, f, p + hd, sf); // front
RectangleObstacle r2 (w, h, -s, u, -f, p - hd, sf); // back
RectangleObstacle r3 (d, h, -f, u, s, p + hw, sf); // side
RectangleObstacle r4 (d, h, f, u, -s, p - hw, sf); // other side
RectangleObstacle r5 (w, d, s, -f, u, p + hh, sf); // top
RectangleObstacle r6 (w, d, -s, -f, -u, p - hh, sf); // bottom
// group the six RectangleObstacle faces together
ObstacleGroup faces;
faces.push_back (&r1);
faces.push_back (&r2);
faces.push_back (&r3);
faces.push_back (&r4);
faces.push_back (&r5);
faces.push_back (&r6);
// find first intersection of vehicle path with group of six faces
PathIntersection next;
firstPathIntersectionWithObstacleGroup (vehicle, faces, pi, next);
// when intersection found, adjust PathIntersection for the box case
if (pi.intersect)
{
pi.obstacle = this;
pi.steerHint = ((pi.surfacePoint - position ()).normalize () *
(pi.vehicleOutside ? 1.0f : -1.0f));
}
}
// ----------------------------------------------------------------------------
// PlaneObstacle
// find first intersection of a vehicle's path with this obstacle
void
OpenSteer::
PlaneObstacle::
findIntersectionWithVehiclePath (const AbstractVehicle& vehicle,
PathIntersection& pi) const
{
// initialize pathIntersection object to "no intersection found"
pi.intersect = false;
const Vec3 lp = localizePosition (vehicle.position ());
const Vec3 ld = localizeDirection (vehicle.forward ());
// no obstacle intersection if path is parallel to XY (side/up) plane
if (ld.dot (Vec3::forward) == 0.0f) return;
// no obstacle intersection if vehicle is heading away from the XY plane
if ((lp.z > 0.0f) && (ld.z > 0.0f)) return;
if ((lp.z < 0.0f) && (ld.z < 0.0f)) return;
// no obstacle intersection if obstacle "not seen" from vehicle's side
if ((seenFrom () == outside) && (lp.z < 0.0f)) return;
if ((seenFrom () == inside) && (lp.z > 0.0f)) return;
// find intersection of path with rectangle's plane (XY plane)
const float ix = lp.x - (ld.x * lp.z / ld.z);
const float iy = lp.y - (ld.y * lp.z / ld.z);
const Vec3 planeIntersection (ix, iy, 0.0f);
// no obstacle intersection if plane intersection is outside 2d shape
if (!xyPointInsideShape (planeIntersection, vehicle.radius ())) return;
// otherwise, the vehicle path DOES intersect this rectangle
const Vec3 localXYradial = planeIntersection.normalize ();
const Vec3 radial = globalizeDirection (localXYradial);
const float sideSign = (lp.z > 0.0f) ? +1.0f : -1.0f;
const Vec3 opposingNormal = forward () * sideSign;
pi.intersect = true;
pi.obstacle = this;
pi.distance = (lp - planeIntersection).length ();
pi.steerHint = opposingNormal + radial; // should have "toward edge" term?
pi.surfacePoint = globalizePosition (planeIntersection);
pi.surfaceNormal = opposingNormal;
pi.vehicleOutside = lp.z > 0.0f;
}
// ----------------------------------------------------------------------------
// RectangleObstacle
// determines if a given point on XY plane is inside obstacle shape
bool
OpenSteer::
RectangleObstacle::
xyPointInsideShape (const Vec3& point, float radius) const
{
const float w = radius + (width * 0.5f);
const float h = radius + (height * 0.5f);
return !((point.x > w) || (point.x < -w) || (point.y > h) || (point.y < -h));
}
// ----------------------------------------------------------------------------
|
[
"shulander@85a90f13-b34b-0410-994f-f76cd5410383"
] |
[
[
[
1,
346
]
]
] |
bc759d20c7688ac704f2567b2d060c4e656347af
|
bef7d0477a5cac485b4b3921a718394d5c2cf700
|
/dingus/dingus/dxutils/DXUtil.h
|
e55821f5b71ee3164609e9c481c4c32691541c91
|
[
"MIT"
] |
permissive
|
TomLeeLive/aras-p-dingus
|
ed91127790a604e0813cd4704acba742d3485400
|
22ef90c2bf01afd53c0b5b045f4dd0b59fe83009
|
refs/heads/master
| 2023-04-19T20:45:14.410448 | 2011-10-04T10:51:13 | 2011-10-04T10:51:13 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,558 |
h
|
// --------------------------------------------------------------------------
// Dingus project - a collection of subsystems for game/graphics applications
// --------------------------------------------------------------------------
#ifndef DX_UTIL_H__
#define DX_UTIL_H__
namespace dingus {
//---------------------------------------------------------------------------
/**
* Performs timer opertations.
*
* Use the following commands:
* TIMER_RESET - to reset the timer
* TIMER_START - to start the timer
* TIMER_STOP - to stop (or pause) the timer
* TIMER_ADVANCE - to advance the timer by 0.1 seconds
* TIMER_GETABSOLUTETIME - to get the absolute system time
* TIMER_GETAPPTIME - to get the current time
* TIMER_GETELAPSEDTIME - to get the time that elapsed between TIMER_GETELAPSEDTIME calls
*/
//enum eTimerCommand {
// TIMER_RESET, TIMER_START, TIMER_STOP, TIMER_ADVANCE,
// TIMER_GETABSOLUTETIME, TIMER_GETAPPTIME, TIMER_GETELAPSEDTIME
//};
//double __stdcall timer( eTimerCommand command );
//---------------------------------------------------------------------------
// UNICODE support for converting between CHAR, TCHAR, and WCHAR strings
HRESULT convertAnsiStringToWideCch( WCHAR* wstrDestination, const CHAR* strSource, int cchDestChar );
HRESULT convertWideStringToAnsiCch( CHAR* strDestination, const WCHAR* wstrSource, int cchDestChar );
HRESULT convertGenericStringToAnsiCch( CHAR* strDestination, const TCHAR* tstrSource, int cchDestChar );
HRESULT convertGenericStringToWideCch( WCHAR* wstrDestination, const TCHAR* tstrSource, int cchDestChar );
HRESULT convertAnsiStringToGenericCch( TCHAR* tstrDestination, const CHAR* strSource, int cchDestChar );
HRESULT convertWideStringToGenericCch( TCHAR* tstrDestination, const WCHAR* wstrSource, int cchDestChar );
HRESULT convertAnsiStringToWideCb( WCHAR* wstrDestination, const CHAR* strSource, int cbDestChar );
HRESULT convertWideStringToAnsiCb( CHAR* strDestination, const WCHAR* wstrSource, int cbDestChar );
HRESULT convertGenericStringToAnsiCb( CHAR* strDestination, const TCHAR* tstrSource, int cbDestChar );
HRESULT convertGenericStringToWideCb( WCHAR* wstrDestination, const TCHAR* tstrSource, int cbDestChar );
HRESULT convertAnsiStringToGenericCb( TCHAR* tstrDestination, const CHAR* strSource, int cbDestChar );
HRESULT convertWideStringToGenericCb( TCHAR* tstrDestination, const WCHAR* wstrSource, int cbDestChar );
}; // namespace dingus
#endif
|
[
"[email protected]"
] |
[
[
[
1,
54
]
]
] |
f7aba8239c6f0797035d2d4d39ab243523786575
|
c2a70374051ef8f96105d65c84023d97c90f4806
|
/bin/src/loadBmp/common/plpcxdec.cpp
|
edd46ddc2ecbcb34567371c873b329d1c9145477
|
[] |
no_license
|
haselab-net/SpringheadOne
|
dcf6f10cb1144b17790a782f519ae25cbe522bb2
|
004335b64ec7bea748ae65a85463c0e85b98edbd
|
refs/heads/master
| 2023-08-04T20:27:17.158435 | 2006-04-15T16:49:35 | 2006-04-15T16:49:35 | 407,701,182 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 11,781 |
cpp
|
/*
/--------------------------------------------------------------------
|
| $Id: plpcxdec.cpp,v 1.11 2003/08/03 10:58:32 uzadow Exp $
| PCX Decoder Class
|
| Copyright (c) 1996-2002 Ulrich von Zadow
|
\--------------------------------------------------------------------
*/
#include <iostream>
#include "plstdpch.h"
#include "plpcxdec.h"
#include "plexcept.h"
PLPCXDecoder::PLPCXDecoder()
: PLPicDecoder()
// Creates a decoder
{}
PLPCXDecoder::~PLPCXDecoder()
{}
void PLPCXDecoder::Open(PLDataSource * pDataSrc)
{
// Check if the file is a valid PCX file or not
Trace (2, "Decoding PCX.\n");
m_PcxHeader.Manufacturer = ReadByte (pDataSrc);
m_PcxHeader.Version = ReadByte (pDataSrc);
m_PcxHeader.Encoding = ReadByte (pDataSrc);
m_PcxHeader.BitsPerPixel = ReadByte (pDataSrc);
m_PcxHeader.Xmin = ReadIWord (pDataSrc);
m_PcxHeader.Ymin = ReadIWord (pDataSrc);
m_PcxHeader.Xmax = ReadIWord (pDataSrc);
m_PcxHeader.Ymax = ReadIWord (pDataSrc);
m_PcxHeader.Hres = ReadIWord (pDataSrc);
m_PcxHeader.Vres = ReadIWord (pDataSrc);
memcpy (m_PcxHeader.ColorMap, pDataSrc->ReadNBytes (16*3),16*3);
m_PcxHeader.Reserved = ReadByte (pDataSrc);
m_PcxHeader.ColorPlanes = ReadByte (pDataSrc);
m_PcxHeader.BytesPerLine = ReadIWord (pDataSrc);
m_PcxHeader.PaletteType = ReadIWord (pDataSrc);
memcpy (m_PcxHeader.Filter, pDataSrc->ReadNBytes (58), 58);
if (m_PcxHeader.Manufacturer != PCX_MAGIC)
{
raiseError (PL_ERRWRONG_SIGNATURE, "Error decoding pcx: Not a PCX file.");
}
// Check for PCX run length encoding
if (m_PcxHeader.Encoding != 1)
{
raiseError (PL_ERRWRONG_SIGNATURE, "File has unknown encoding scheme.");
}
// Check that we can handle this image format
switch (m_PcxHeader.BitsPerPixel)
{
case 1:
if (m_PcxHeader.ColorPlanes > 4)
{
raiseError(PL_ERRFORMAT_UNKNOWN, "Can't handle image with more than 4 planes.");
}
break;
case 2:
case 4:
case 8:
if (m_PcxHeader.ColorPlanes == 1 || m_PcxHeader.ColorPlanes == 3)
break;
default:
raiseError(PL_ERRFORMAT_UNKNOWN, "Can't handle bits per pixel image with planes.");
break;
}
int Width = (m_PcxHeader.Xmax - m_PcxHeader.Xmin) + 1;
int Height = (m_PcxHeader.Ymax - m_PcxHeader.Ymin) + 1;
SetBmpInfo (PLPoint(Width, Height), 32,
PLPoint (m_PcxHeader.Hres, m_PcxHeader.Vres), false, false);
}
void PLPCXDecoder::GetImage (PLBmp & Bmp)
{
int i, x, y;
PLBYTE ColorMap[PCX_MAXCOLORS][3];
PLBYTE * pcximage = NULL;
PLBYTE * lpHead1 = NULL;
PLBYTE * lpHead2 = NULL;
PLBYTE * pcxplanes;
PLBYTE * pcxpixels;
PLBYTE c;
int nbytes, count;
Trace (2, "PCX getimage.\n");
try
{
Bmp.Create (*this);
nbytes = m_PcxHeader.BytesPerLine * m_PcxHeader.ColorPlanes * GetHeight();
lpHead1 = pcximage = (PLBYTE *)malloc(nbytes);
try
{
while (nbytes > 0)
{
c = ReadByte(m_pDataSrc);
if ((c & 0XC0) != 0XC0) // Repeated group
{
*pcximage++ = c;
--nbytes;
continue;
}
count = c & 0X3F; // extract count
c = ReadByte(m_pDataSrc);
if (count > nbytes)
{
raiseError(PL_ERRINTERNAL, "repeat count spans end of image.");
}
nbytes -= count;
while (--count >=0)
*pcximage++ = c;
}
}
catch (PLTextException e)
{
// Just in case BytesPerLine is bogus.
// This will fall apart for images that have a palette after the
// image data, however.
if (e.GetCode() != PL_ERREND_OF_FILE)
throw;
}
pcximage = lpHead1;
for (i = 0; i < 16; i++)
{
ColorMap[i][0] = m_PcxHeader.ColorMap[i][0];
ColorMap[i][1] = m_PcxHeader.ColorMap[i][1];
ColorMap[i][2] = m_PcxHeader.ColorMap[i][2];
}
if (m_PcxHeader.BitsPerPixel == 8 && m_PcxHeader.ColorPlanes == 1)
{
PLBYTE colsig = ReadByte(m_pDataSrc);
/* It seems like valid PCXs exist with a bad color map signature...
if (colsig != PCX_256_COLORS)
{
raiseError(PL_ERRINTERNAL, "bad color map signature.");
}
*/
for (i = 0; i < PCX_MAXCOLORS; i++)
{
ColorMap[i][0] = ReadByte(m_pDataSrc);
ColorMap[i][1] = ReadByte(m_pDataSrc);
ColorMap[i][2] = ReadByte(m_pDataSrc);
}
}
if (m_PcxHeader.BitsPerPixel == 1 && m_PcxHeader.ColorPlanes == 1)
{
ColorMap[0][0] = ColorMap[0][1] = ColorMap[0][2] = 0;
ColorMap[1][0] = ColorMap[1][1] = ColorMap[1][2] = 255;
}
lpHead2 = pcxpixels = (PLBYTE *)malloc(GetWidth() + m_PcxHeader.BytesPerLine * 8);
// Convert the image
Bmp.Lock(false, true);
PLPixel32 ** pLineArray = Bmp.GetLineArray32();
for (y = 0; y < GetHeight(); y++)
{
pcxpixels = lpHead2;
pcxplanes = pcximage + (y * m_PcxHeader.BytesPerLine * m_PcxHeader.ColorPlanes);
if (m_PcxHeader.ColorPlanes == 3 && m_PcxHeader.BitsPerPixel == 8)
{
// Deal with 24 bit color image
for (x = 0; x < GetWidth(); x++)
{
PLPixel32 * pPixel = pLineArray[y];
pPixel[x].Set (pcxplanes[x],
pcxplanes[m_PcxHeader.BytesPerLine + x],
pcxplanes[2*m_PcxHeader.BytesPerLine + x],
0xFF);
}
continue;
}
else if (m_PcxHeader.ColorPlanes == 1)
{
PCX_UnpackPixels(pcxpixels, pcxplanes, m_PcxHeader.BytesPerLine, m_PcxHeader.ColorPlanes, m_PcxHeader.BitsPerPixel);
}
else
{
PCX_PlanesToPixels(pcxpixels, pcxplanes, m_PcxHeader.BytesPerLine, m_PcxHeader.ColorPlanes, m_PcxHeader.BitsPerPixel);
}
for (x = 0; x < GetWidth(); x++)
{
i = pcxpixels[x];
PLPixel32 * pPixel = pLineArray[y];
pPixel[x].Set (ColorMap[i][0], ColorMap[i][1],
ColorMap[i][2], 0xFF);
}
}
Bmp.Unlock();
}
catch (PLTextException)
{
if (lpHead1)
{
free(lpHead1);
lpHead1 = NULL;
}
if (lpHead2)
{
free(lpHead2);
lpHead2 = NULL;
}
throw;
}
if (lpHead1)
{
free(lpHead1);
lpHead1 = NULL;
}
if (lpHead2)
{
free(lpHead2);
lpHead2 = NULL;
}
}
// Convert multi-plane format into 1 pixel per byte
// from unpacked file data bitplanes[] into pixel row pixels[]
// image Height rows, with each row having planes image planes each
// bytesperline bytes
void PLPCXDecoder::PCX_PlanesToPixels(PLBYTE * pixels, PLBYTE * bitplanes,
short bytesperline, short planes, short bitsperpixel)
{
int i, j;
int npixels;
PLBYTE * p;
if (planes > 4)
{
raiseError(PL_ERRINTERNAL, "Can't handle more than 4 planes.");
}
if (bitsperpixel != 1)
{
raiseError(PL_ERRINTERNAL, "Can't handle more than 1 bit per pixel.");
}
// Clear the pixel buffer
npixels = ((bytesperline-1) * 8) / bitsperpixel;
p = pixels;
while (--npixels >= 0)
*p++ = 0;
// Do the format conversion
for (i = 0; i < planes; i++)
{
int pixbit, bits, mask;
p = pixels;
pixbit = (1 << i); // pixel bit for this plane
for (j = 0; j < bytesperline; j++)
{
bits = *bitplanes++;
for (mask = 0X80; mask != 0; mask >>= 1, p++)
if (bits & mask)
*p |= pixbit;
}
}
}
// convert packed pixel format into 1 pixel per byte
// from unpacked file data bitplanes[] into pixel row pixels[]
// image Height rows, with each row having planes image planes each
// bytesperline bytes
void PLPCXDecoder::PCX_UnpackPixels(PLBYTE * pixels, PLBYTE * bitplanes,
short bytesperline, short planes, short bitsperpixel)
{
register int bits;
if (planes != 1)
{
raiseError(PL_ERRINTERNAL, "Can't handle packed pixels with more than 1 plane.");
}
if (bitsperpixel == 8) // 8 bits/pixels, no unpacking needed
{
while (bytesperline-- > 0)
*pixels++ = *bitplanes++;
}
else if (bitsperpixel == 4) // 4 bits/pixel, two pixels per byte
{
while (bytesperline-- > 0)
{
bits = *bitplanes++;
*pixels++ = (PLBYTE)((bits >> 4) & 0X0F);
*pixels++ = (PLBYTE)((bits) & 0X0F);
}
}
else if (bitsperpixel == 2) // 2 bits/pixel, four pixels per byte
{
while (bytesperline-- > 0)
{
bits = *bitplanes++;
*pixels++ = (PLBYTE)((bits >> 6) & 0X03);
*pixels++ = (PLBYTE)((bits >> 4) & 0X03);
*pixels++ = (PLBYTE)((bits >> 2) & 0X03);
*pixels++ = (PLBYTE)((bits) & 0X03);
}
}
else if (bitsperpixel == 1) // 1 bits/pixel, 8 pixels per byte
{
while (bytesperline-- > 0)
{
bits = *bitplanes++;
*pixels++ = ((bits & 0X80) != 0);
*pixels++ = ((bits & 0X40) != 0);
*pixels++ = ((bits & 0X20) != 0);
*pixels++ = ((bits & 0X10) != 0);
*pixels++ = ((bits & 0X08) != 0);
*pixels++ = ((bits & 0X04) != 0);
*pixels++ = ((bits & 0X02) != 0);
*pixels++ = ((bits & 0X01) != 0);
}
}
}
/*
/--------------------------------------------------------------------
|
| $Log: /Project/Springhead/bin/src/loadBmp/common/plpcxdec.cpp $
*
* 1 04/07/12 13:34 Hase
| Revision 1.11 2003/08/03 10:58:32 uzadow
| Windows port of PLFilterFlipRGB. Fixed PLPCXDecoder.
|
| Revision 1.10 2003/08/03 00:12:14 uzadow
| Fixed some bigendian bugs.
|
| Revision 1.9 2002/08/04 21:20:41 uzadow
| no message
|
| Revision 1.8 2002/08/04 20:08:01 uzadow
| Added PLBmpInfo class, ability to extract metainformation from images without loading the whole image and proper greyscale support.
|
| Revision 1.7 2002/01/27 18:20:15 uzadow
| Updated copyright message; corrected pcx decoder bug.
|
| Revision 1.6 2001/10/21 17:12:40 uzadow
| Added PSD decoder beta, removed BPPWanted from all decoders, added PLFilterPixel.
|
| Revision 1.5 2001/10/16 17:12:26 uzadow
| Added support for resolution information (Luca Piergentili)
|
| Revision 1.4 2001/10/06 22:37:08 uzadow
| Linux compatibility.
|
| Revision 1.3 2001/10/06 15:32:22 uzadow
| Removed types LPPLBYTE, DWORD, UCHAR, VOID and INT from the code.
|
| Revision 1.2 2001/09/30 16:56:29 uzadow
| Fixed bug decoding wierd pcx files.
|
| Revision 1.1 2001/09/16 19:03:22 uzadow
| Added global name prefix PL, changed most filenames.
|
| Revision 1.12 2001/02/04 14:31:52 uzadow
| Member initialization list cleanup (Erik Hoffmann).
|
| Revision 1.11 2000/12/18 22:42:52 uzadow
| Replaced RGBAPIXEL with PLPixel32.
|
| Revision 1.10 2000/10/27 11:30:06 uzadow
| Fixed bug #117544
|
| Revision 1.9 2000/10/23 22:03:07 uzadow
| Bugfix for bug #116362 by Marcus J. Hodge
|
| Revision 1.8 2000/09/21 14:35:13 Administrator
| Fixed bug in pcx decoder
|
| Revision 1.7 2000/08/13 12:11:43 Administrator
| Added experimental DirectDraw-Support
|
| Revision 1.6 2000/03/30 21:23:43 Ulrich von Zadow
| no message
|
| Revision 1.5 2000/03/17 10:51:12 Ulrich von Zadow
| Bugfix for b/w images.
|
| Revision 1.4 2000/01/16 20:43:13 anonymous
| Removed MFC dependencies
|
|
\--------------------------------------------------------------------
*/
|
[
"jumius@05cee5c3-a2e9-0310-9523-9dfc2f93dbe1"
] |
[
[
[
1,
397
]
]
] |
62eb8c0474b0856f4a8d03cbd828cd33883662c4
|
90aa2eebb1ab60a2ac2be93215a988e3c51321d7
|
/castor/branches/boost/libs/castor/test/test_conjunction.cpp
|
8d1c5e34c491762049ee63780bbc62d4b4e227e9
|
[
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] |
permissive
|
roshannaik/castor
|
b9f4ea138a041fe8bccf2d8fc0dceeb13bcca5a6
|
e86e2bf893719bf3164f9da9590217c107cbd913
|
refs/heads/master
| 2021-04-18T19:24:38.612073 | 2010-08-18T05:10:39 | 2010-08-18T05:10:39 | 126,150,539 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,138 |
cpp
|
#include <boost/castor.h>
#include <string>
#include <boost/test/minimal.hpp>
using namespace castor;
int test_main(int, char * [])
{
{ // push_back
Conjunctions gender, gender2;
lref<std::string> p, m;
gender.push_back(eq(p, "roshan"));
gender.push_back(eq(m, "male"));
BOOST_CHECK(gender());
BOOST_CHECK(*p == "roshan");
gender2 = gender;
BOOST_CHECK(!gender());
BOOST_CHECK(!gender2());
}
{ // push_front
Conjunctions gender, gender2;
lref<std::string> p, m;
gender.push_front(eq(m, "male"));
gender.push_front(eq(p, "roshan"));
BOOST_CHECK(gender());
BOOST_CHECK(*p == "roshan");
gender2 = gender;
BOOST_CHECK(!gender());
BOOST_CHECK(!gender2());
}
{
Conjunctions books;
lref<std::string> t, a;
books.push_back(eq(t, "Tuesdays with Morrie") && eq(a, "Mitch Albom"));
BOOST_CHECK(books());
BOOST_CHECK(*a == "Mitch Albom");
BOOST_CHECK(!books());
}
return 0;
}
|
[
"[email protected]"
] |
[
[
[
1,
53
]
]
] |
bdb80930947fa6b4ded69446b2758d34bb1f8cd1
|
b2d46af9c6152323ce240374afc998c1574db71f
|
/cursovideojuegos/theflostiproject/3rdParty/boost/libs/serialization/example/demo_fast_archive.cpp
|
2929dd0dfc539402d387b1b2961160fa1d343bb6
|
[] |
no_license
|
bugbit/cipsaoscar
|
601b4da0f0a647e71717ed35ee5c2f2d63c8a0f4
|
52aa8b4b67d48f59e46cb43527480f8b3552e96d
|
refs/heads/master
| 2021-01-10T21:31:18.653163 | 2011-09-28T16:39:12 | 2011-09-28T16:39:12 | 33,032,640 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 5,049 |
cpp
|
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// demo_fast_binary_archive.cpp
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// should pass compilation and execution
#include <sstream>
#include <boost/static_assert.hpp>
#include <boost/type_traits/is_array.hpp>
#include <boost/pfto.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
using namespace boost::archive;
// include template definitions for base classes used. Otherwise
// you'll get link failure with undefined symbols
#include <boost/archive/impl/basic_binary_oprimitive.ipp>
#include <boost/archive/impl/basic_binary_iprimitive.ipp>
#include <boost/archive/impl/archive_pointer_iserializer.ipp>
#include <boost/archive/impl/archive_pointer_oserializer.ipp>
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// "Fast" output binary archive. This is a variation of the native binary
class fast_binary_oarchive :
// don't derive from binary_oarchive !!!
public binary_oarchive_impl<fast_binary_oarchive>
{
typedef fast_binary_oarchive derived_t;
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
public:
#else
friend class boost::archive::detail::interface_oarchive<derived_t>;
friend class basic_binary_oarchive<derived_t>;
friend class basic_binary_oprimitive<derived_t, std::ostream>;
friend class boost::archive::save_access;
#endif
// add base class to the places considered when matching
// save function to a specific set of arguments. Note, this didn't
// work on my MSVC 7.0 system
// using binary_oarchive_impl<derived_t>::load_override;
// so we use the sure-fire method below. This failed to work as well
template<class T>
void save_override(const T & t, BOOST_PFTO int){
binary_oarchive_impl<fast_binary_oarchive>::save_override(t, 0);
// verify that this program is in fact working by making sure
// that arrays are getting passed here
BOOST_STATIC_ASSERT(! (boost::is_array<T>::value) );
}
template<int N>
void save_override(const int (& t)[N] , int){
save_binary(t, sizeof(t));
}
template<int N>
void save_override(const unsigned int (& t)[N], int){
save_binary(t, sizeof(t));
}
template<int N>
void save_override(const long (& t)[N], int){
save_binary(t, sizeof(t));
}
template<int N>
void save_override(const unsigned long (& t)[N], int){
save_binary(t, sizeof(t));
}
public:
fast_binary_oarchive(std::ostream & os, unsigned flags = 0) :
binary_oarchive_impl<derived_t>(os, flags)
{}
};
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// "Fast" input binary archive. This is a variation of the native binary
class fast_binary_iarchive :
// don't derive from binary_oarchive !!!
public binary_iarchive_impl<fast_binary_iarchive>
{
typedef fast_binary_iarchive derived_t;
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
public:
#else
friend class boost::archive::detail::interface_iarchive<derived_t>;
friend class basic_binary_iarchive<derived_t>;
friend class basic_binary_iprimitive<derived_t, std::istream>;
friend class boost::archive::load_access;
#endif
// add base class to the places considered when matching
// save function to a specific set of arguments. Note, this didn't
// work on my MSVC 7.0 system
// using binary_oarchive_impl<derived_t>::load_override;
// so we use the sure-fire method below. This failed to work as well
template<class T>
void load_override(T & t, BOOST_PFTO int){
binary_iarchive_impl<derived_t>::load_override(t, 0);
BOOST_STATIC_ASSERT(! (boost::is_array<T>::value) );
}
template<int N>
void load_override(int (& t)[N], int){
load_binary(t, sizeof(t));
}
template<int N>
void load_override(unsigned int (& t)[N], int){
load_binary(t, sizeof(t));
}
template<int N>
void load_override(long (& t)[N], int){
load_binary(t, sizeof(t));
}
template<int N>
void load_override(unsigned long (& t)[N], int){
load_binary(t, sizeof(t));
}
public:
fast_binary_iarchive(std::istream & is, unsigned flags = 0) :
binary_iarchive_impl<derived_t>(is,flags)
{}
};
int main( int argc, char* argv[] )
{
int a[3] = {1, 2, 3};
int a1[3] = {4, 5, 6};
std::stringstream ss;
{
fast_binary_oarchive pboa(ss);
pboa << a;
}
{
fast_binary_iarchive pbia(ss);
pbia >> a1;
}
return (a[0] != a1[0]) || (a[1] != a1[1]) || (a[2] != a1[2]);
}
|
[
"ohernandezba@71d53fa2-cca5-e1f2-4b5e-677cbd06613a"
] |
[
[
[
1,
142
]
]
] |
3e1e5418bfe3df2f9ce0f50a6fb04a07dd89c59b
|
3187b0dd0d7a7b83b33c62357efa0092b3943110
|
/src/dlib/image_transforms/equalize_histogram_abstract.h
|
9e6cc10d1d145ceb1354197c7059aa101e13d7a8
|
[
"BSL-1.0"
] |
permissive
|
exi/gravisim
|
8a4dad954f68960d42f1d7da14ff1ca7a20e92f2
|
361e70e40f58c9f5e2c2f574c9e7446751629807
|
refs/heads/master
| 2021-01-19T17:45:04.106839 | 2010-10-22T09:11:24 | 2010-10-22T09:11:24 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,289 |
h
|
// Copyright (C) 2006 Davis E. King ([email protected])
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_EQUALIZE_HISTOGRAm_ABSTRACT_
#ifdef DLIB_EQUALIZE_HISTOGRAm_ABSTRACT_
#include "../pixel.h"
#include "../matrix.h"
namespace dlib
{
// ---------------------------------------------------------------------------------------
template <
typename in_image_type,
typename out_image_type
>
void equalize_histogram (
const in_image_type& in_img,
out_image_type& out_img
);
/*!
requires
- in_image_type == is an implementation of array2d/array2d_kernel_abstract.h
- out_image_type == is an implementation of array2d/array2d_kernel_abstract.h
- pixel_traits<typename in_image_type::type>::has_alpha == false
- pixel_traits<typename out_image_type::type>::has_alpha == false
ensures
- #out_img == the histogram equalized version of in_img
- #out_img.nc() == in_img.nc()
- #out_img.nr() == in_img.nr()
!*/
// ---------------------------------------------------------------------------------------
template <
typename in_image_type,
long R,
long C
>
void get_histogram (
const in_image_type& in_img,
matrix<unsigned long,R,C>& hist
);
/*!
requires
- in_image_type == is an implementation of array2d/array2d_kernel_abstract.h
- hist must be capable of representing a vector of length
pixel_traits<typename in_image_type>::max(). I.e. if R and C are nonzero
then they must be values that don't conflict with the previous sentence.
ensures
- #hist.size() == pixel_traits<typename in_image_type>::max()
- #hist == the histogram for in_img. I.e. it is the case that for all
valid i:
- hist[i] == the number of times a pixel with intensity i appears
in in_img
!*/
// ---------------------------------------------------------------------------------------
}
#endif // DLIB_EQUALIZE_HISTOGRAm_ABSTRACT_
|
[
"[email protected]"
] |
[
[
[
1,
65
]
]
] |
9d43b52bf6d28149d3c6deca7ee7c96a4426b310
|
dadf8e6f3c1adef539a5ad409ce09726886182a7
|
/airplay/src/toeSimpleMenuButton.cpp
|
8755d6822ebb15eb42a075190702dbcc38468d0f
|
[] |
no_license
|
sarthakpandit/toe
|
63f59ea09f2c1454c1270d55b3b4534feedc7ae3
|
196aa1e71e9f22f2ecfded1c3da141e7a75b5c2b
|
refs/heads/master
| 2021-01-10T04:04:45.575806 | 2011-06-09T12:56:05 | 2011-06-09T12:56:05 | 53,861,788 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,213 |
cpp
|
#include <IwTextParserITX.h>
#include <IwResManager.h>
#include <IwGx.h>
#include "toeSimpleMenuButton.h"
#include "toeSimpleMenuRoot.h"
using namespace TinyOpenEngine;
namespace TinyOpenEngine
{
}
//Instantiate the default factory function for a named class
IW_CLASS_FACTORY(CtoeSimpleMenuButton);
//This macro is required within some source file for every class derived from CIwManaged. It implements essential functionality
IW_MANAGED_IMPLEMENT(CtoeSimpleMenuButton);
//Constructor
CtoeSimpleMenuButton::CtoeSimpleMenuButton()
{
}
//Desctructor
CtoeSimpleMenuButton::~CtoeSimpleMenuButton()
{
}
uint32 CtoeSimpleMenuButton::GetElementNameHash()
{
static uint32 name = IwHashString("BUTTON");
return name;
}
//Get scriptable class declaration
CtoeScriptableClassDeclaration* CtoeSimpleMenuButton::GetClassDescription()
{
static TtoeScriptableClassDeclaration<CtoeSimpleMenuButton> d ("CtoeSimpleMenuItem",
ScriptTraits::Method("GetRoot", &CtoeSimpleMenuButton::GetRoot),
ScriptTraits::Method("GetChildAt", &CtoeSimpleMenuButton::GetChildAt),
ScriptTraits::Method("GetChildItemsCount", &CtoeSimpleMenuButton::GetChildItemsCount),
0);
return &d;
}
|
[
"[email protected]"
] |
[
[
[
1,
42
]
]
] |
c0e18b6de4d8c867fe3579a1c68210c622e49321
|
fa28ff7783f4bf1308ba11e4c2a98016b10355cc
|
/stdafx.h
|
a407228c08376979696183d9f1ed4c485dec2df8
|
[] |
no_license
|
AlanZheng/heeksart
|
79bc9c75fa106e55c77e4d93b3daef8e64d21354
|
4691026bf5f90caed659c06017a2c78da74f373a
|
refs/heads/master
| 2020-12-30T09:26:21.567782 | 2010-10-17T09:37:52 | 2010-10-17T09:37:52 | 39,455,743 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 685 |
h
|
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
// Copyright (c) 2009, Dan Heeks
// This program is released under the BSD license. See the file COPYING for details.
#ifdef WIN32
#pragma warning(disable : 4996)
#endif
#include <list>
#include <vector>
#include <map>
#include <set>
#include <wx/wx.h>
extern "C" {
#include <GL/gl.h>
#ifdef WIN32
#include <GL/glu.h>
#else
#include <GL/glu.h>
#endif
}
#include "Point.h"
#include "HeeksArt.h"
#include "interface/HeeksObj.h"
// TODO: reference additional headers your program requires here
|
[
"danheeks@4f205954-0d8c-11de-85a1-fd18384f7567"
] |
[
[
[
1,
33
]
]
] |
7569c6938761221c42e2fa576474184a701b4313
|
f8b364974573f652d7916c3a830e1d8773751277
|
/emulator/allegrex/disassembler/SWC1.h
|
1b6803841546ffe9c4f439bff7baa55f11f755d0
|
[] |
no_license
|
lemmore22/pspe4all
|
7a234aece25340c99f49eac280780e08e4f8ef49
|
77ad0acf0fcb7eda137fdfcb1e93a36428badfd0
|
refs/heads/master
| 2021-01-10T08:39:45.222505 | 2009-08-02T11:58:07 | 2009-08-02T11:58:07 | 55,047,469 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 366 |
h
|
/* SWC1 */
void AllegrexInstructionTemplate< 0xe4000000, 0xfc000000 >::disassemble(u32 address, u32 opcode, char *opcode_name, char *operands, char *comment)
{
using namespace Allegrex;
::strcpy(opcode_name, "swc1");
::sprintf(operands, "%s, 0x%04X(%s)", fpr_name[ft(opcode)], simm16(opcode)&0xFFFF, gpr_name[rs(opcode)]);
::strcpy(comment, "");
}
|
[
"[email protected]"
] |
[
[
[
1,
9
]
]
] |
2a5cf460aea1683c92fe835eb9943dd1694e5916
|
50bb285c754c92b8a2050013472584812284919e
|
/fireworks-app.cpp
|
3566bf11d988ee48e49ce55c271cde3da0760cef
|
[] |
no_license
|
project4linwang/fireworks-screensaver
|
0e3310e8262fa8ff6dc9a1551d0ca4616310d8a3
|
5ef2097f070aa78fc820a8e9857b98737de980e6
|
refs/heads/master
| 2021-01-10T04:40:12.234171 | 2010-04-16T19:59:16 | 2010-04-16T19:59:16 | 36,773,420 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 14,198 |
cpp
|
// Special thanks go to nehe.gamedev.net for giving me the tools to start
// programming in 3D using OpenGL. All the tutorials are fantastic
#define TARGET_FRAMERATE 60
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glext.h>
#include <time.h>
#include "fireworks.h"
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
// Function Forward Declarations
BOOL CreateOpenGLWindow( char* title, int width, int height, int bits, bool fullscreenflag);
GLvoid ReSizeGLScene(GLsizei width, GLsizei height);
GLvoid KillGLWindow(GLvoid);
int InitGL(GLvoid);
GLvoid InitialiseObjects();
GLvoid MainProgramLoop();
GLvoid PrepareGLScene(GLvoid);
GLvoid DrawGLScene(GLvoid);
GLvoid PerformKeyboardFunctions(GLvoid);
// Global Variable Definitions
char * szAppTitle = "opengl-app-template";
HDC hDC=NULL;
HGLRC hRC=NULL;
HWND hWnd=NULL;
HINSTANCE hInstance;
bool keys[256];
bool active=TRUE;
bool fullscreen=TRUE;
int ticks;
int ticksthisframe;
LRESULT CALLBACK WndProc(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam){
switch (Message){
case WM_ACTIVATE: // Watch For Window Activate Message
if (!HIWORD(wParam)) // Check Minimization State
{
active=TRUE; // Program Is Active
}
else
{
active=FALSE; // Program Is No Longer Active
}
return 0; // Return To The Message Loop
break;
case WM_KEYDOWN: // Is A Key Being Held Down?
keys[wParam] = TRUE; // If So, Mark It As TRUE
return 0; // Jump Back
break;
case WM_KEYUP: // Has A Key Been Released?
keys[wParam] = FALSE; // If So, Mark It As FALSE
return 0; // Jump Back
break;
case WM_SIZE: // Resize The OpenGL Window
ReSizeGLScene(LOWORD(lParam),HIWORD(lParam)); // LoWord=Width, HiWord=Height
return 0; // Jump Back
break;
case WM_CLOSE:
PostQuitMessage(0);
return 0;
}
return DefWindowProc(hWnd,Message,wParam,lParam);
}
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){
MSG msg;
bool done = false;
CreateOpenGLWindow(szAppTitle, 800, 600, 16, false);
while(!done){
if (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) {
if (msg.message==WM_QUIT){
done=TRUE;
} else {
TranslateMessage(&msg);
DispatchMessage(&msg);
}
} else {
if(active){
// Our Application Processing goes here.
ticks = GetTickCount();
MainProgramLoop();
ticksthisframe = GetTickCount() - ticks;
while (ticksthisframe < 1000 / TARGET_FRAMERATE){
ticksthisframe = GetTickCount() - ticks;
}
}
}
}
KillGLWindow();
// Exit
return ((int)msg.wParam);
}
BOOL CreateOpenGLWindow(char* title, int width, int height, int bits, bool fullscreenflag)
{
GLuint PixelFormat; // Holds The Results After Searching For A Match
WNDCLASS wc; // Windows Class Structure
DWORD dwExStyle; // Window Extended Style
DWORD dwStyle; // Window Style
// Comment out this if statement if you would rather have a specific
// fullscreen res. This statement will check the screen res and use
// that instead of the width and height specified.
if(fullscreenflag){
width = GetDeviceCaps(GetDC(NULL), HORZRES); // GetDC(NULL) returns a
height = GetDeviceCaps(GetDC(NULL), VERTRES); // HDC for the whole screen
}
RECT WindowRect; // Grabs Rectangle Upper Left / Lower Right Values
WindowRect.left=(long)0; // Set Left Value To 0
WindowRect.right=(long)width; // Set Right Value To Requested Width
WindowRect.top=(long)0; // Set Top Value To 0
WindowRect.bottom=(long)height; // Set Bottom Value To Requested Height
fullscreen=fullscreenflag; // Set The Global Fullscreen Flag
hInstance = GetModuleHandle(NULL); // Grab An Instance For Our Window
wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; // Redraw On Size, And Own DC For Window.
wc.lpfnWndProc = (WNDPROC) WndProc; // WndProc Handles Messages
wc.cbClsExtra = 0; // No Extra Window Data
wc.cbWndExtra = 0; // No Extra Window Data
wc.hInstance = hInstance; // Set The Instance
wc.hIcon = LoadIcon(NULL, IDI_WINLOGO); // Load The Default Icon
wc.hCursor = LoadCursor(NULL, IDC_ARROW); // Load The Arrow Pointer
wc.hbrBackground = NULL; // No Background Required For GL
wc.lpszMenuName = NULL; // We Don't Want A Menu
wc.lpszClassName = "OpenGL"; // Set The Class Name
if (!RegisterClass(&wc)) // Attempt To Register The Window Class
{
MessageBox(NULL,"Failed To Register The Window Class.","ERROR",MB_OK|MB_ICONEXCLAMATION);
return FALSE; // Return FALSE
}
if (fullscreen) // Attempt Fullscreen Mode?
{
DEVMODE dmScreenSettings; // Device Mode
memset(&dmScreenSettings,0,sizeof(dmScreenSettings)); // Makes Sure Memory's Cleared
dmScreenSettings.dmSize=sizeof(dmScreenSettings); // Size Of The Devmode Structure
dmScreenSettings.dmPelsWidth = width; // Selected Screen Width
dmScreenSettings.dmPelsHeight = height; // Selected Screen Height
dmScreenSettings.dmBitsPerPel = bits; // Selected Bits Per Pixel
dmScreenSettings.dmFields=DM_BITSPERPEL|DM_PELSWIDTH|DM_PELSHEIGHT;
// Try To Set Selected Mode And Get Results. NOTE: CDS_FULLSCREEN Gets Rid Of Start Bar.
if (ChangeDisplaySettings(&dmScreenSettings,CDS_FULLSCREEN)!=DISP_CHANGE_SUCCESSFUL)
{
// If The Mode Fails, Offer Two Options. Quit Or Use Windowed Mode.
if (MessageBox(NULL,"The Requested Fullscreen Mode Is Not Supported By\nYour Video Card. Use Windowed Mode Instead?","NeHe GL",MB_YESNO|MB_ICONEXCLAMATION)==IDYES)
{
fullscreen=FALSE; // Windowed Mode Selected. Fullscreen = FALSE
}
else
{
// Pop Up A Message Box Letting User Know The Program Is Closing.
MessageBox(NULL,"Program Will Now Close.","ERROR",MB_OK|MB_ICONSTOP);
return FALSE; // Return FALSE
}
}
}
if (fullscreen) // Are We Still In Fullscreen Mode?
{
dwExStyle=WS_EX_APPWINDOW; // Window Extended Style
dwStyle=WS_POPUP; // Windows Style
ShowCursor(FALSE); // Hide Mouse Pointer
}
else
{
dwExStyle=WS_EX_APPWINDOW | WS_EX_WINDOWEDGE; // Window Extended Style
dwStyle=WS_OVERLAPPEDWINDOW; // Windows Style
}
AdjustWindowRectEx(&WindowRect, dwStyle, FALSE, dwExStyle); // Adjust Window To True Requested Size
// Create The Window
if (!(hWnd=CreateWindowEx( dwExStyle, // Extended Style For The Window
"OpenGL", // Class Name
title, // Window Title
dwStyle | // Defined Window Style
WS_CLIPSIBLINGS | // Required Window Style
WS_CLIPCHILDREN, // Required Window Style
0, 0, // Window Position
WindowRect.right-WindowRect.left, // Calculate Window Width
WindowRect.bottom-WindowRect.top, // Calculate Window Height
NULL, // No Parent Window
NULL, // No Menu
hInstance, // Instance
NULL))) // Dont Pass Anything To WM_CREATE
{
KillGLWindow(); // Reset The Display
MessageBox(NULL,"Window Creation Error.","ERROR",MB_OK|MB_ICONEXCLAMATION);
return FALSE; // Return FALSE
}
static PIXELFORMATDESCRIPTOR pfd= // pfd Tells Windows How We Want Things To Be
{
sizeof(PIXELFORMATDESCRIPTOR), // Size Of This Pixel Format Descriptor
1, // Version Number
PFD_DRAW_TO_WINDOW | // Format Must Support Window
PFD_SUPPORT_OPENGL | // Format Must Support OpenGL
PFD_DOUBLEBUFFER, // Must Support Double Buffering
PFD_TYPE_RGBA, // Request An RGBA Format
bits, // Select Our Color Depth
0, 0, 0, 0, 0, 0, // Color Bits Ignored
0, // No Alpha Buffer
0, // Shift Bit Ignored
0, // No Accumulation Buffer
0, 0, 0, 0, // Accumulation Bits Ignored
16, // 16Bit Z-Buffer (Depth Buffer)
0, // No Stencil Buffer
0, // No Auxiliary Buffer
PFD_MAIN_PLANE, // Main Drawing Layer
0, // Reserved
0, 0, 0 // Layer Masks Ignored
};
if (!(hDC=GetDC(hWnd))) // Did We Get A Device Context?
{
KillGLWindow(); // Reset The Display
MessageBox(NULL,"Can't Create A GL Device Context.","ERROR",MB_OK|MB_ICONEXCLAMATION);
return FALSE; // Return FALSE
}
if (!(PixelFormat=ChoosePixelFormat(hDC,&pfd))) // Did Windows Find A Matching Pixel Format?
{
KillGLWindow(); // Reset The Display
MessageBox(NULL,"Can't Find A Suitable PixelFormat.","ERROR",MB_OK|MB_ICONEXCLAMATION);
return FALSE; // Return FALSE
}
if(!SetPixelFormat(hDC,PixelFormat,&pfd)) // Are We Able To Set The Pixel Format?
{
KillGLWindow(); // Reset The Display
MessageBox(NULL,"Can't Set The PixelFormat.","ERROR",MB_OK|MB_ICONEXCLAMATION);
return FALSE; // Return FALSE
}
if (!(hRC=wglCreateContext(hDC))) // Are We Able To Get A Rendering Context?
{
KillGLWindow(); // Reset The Display
MessageBox(NULL,"Can't Create A GL Rendering Context.","ERROR",MB_OK|MB_ICONEXCLAMATION);
return FALSE; // Return FALSE
}
if(!wglMakeCurrent(hDC,hRC)) // Try To Activate The Rendering Context
{
KillGLWindow(); // Reset The Display
MessageBox(NULL,"Can't Activate The GL Rendering Context.","ERROR",MB_OK|MB_ICONEXCLAMATION);
return FALSE; // Return FALSE
}
ShowWindow(hWnd,SW_SHOW); // Show The Window
SetForegroundWindow(hWnd); // Slightly Higher Priority
SetFocus(hWnd); // Sets Keyboard Focus To The Window
ReSizeGLScene(width, height); // Set Up Our Perspective GL Screen
if (!InitGL()) // Initialize Our Newly Created GL Window
{
KillGLWindow(); // Reset The Display
MessageBox(NULL,"Initialization Failed.","ERROR",MB_OK|MB_ICONEXCLAMATION);
return FALSE; // Return FALSE
}
return TRUE; // Success
}
GLvoid ReSizeGLScene(GLsizei width, GLsizei height) // Resize And Initialize The GL Window
{
if (height==0) // Prevent A Divide By Zero By
{
height=1; // Making Height Equal One
}
glViewport(0,0,width,height); // Reset The Current Viewport
glMatrixMode(GL_PROJECTION); // Select The Projection Matrix
glLoadIdentity(); // Reset The Projection Matrix
// Calculate The Aspect Ratio Of The Window
gluPerspective(45.0f,(GLfloat)width/(GLfloat)height,0.1f,100.0f);
glMatrixMode(GL_MODELVIEW); // Select The Modelview Matrix
glLoadIdentity(); // Reset The Modelview Matrix
}
GLvoid KillGLWindow(GLvoid) // Properly Kill The Window
{
if (fullscreen) // Are We In Fullscreen Mode?
{
ChangeDisplaySettings(NULL,0); // If So Switch Back To The Desktop
ShowCursor(TRUE); // Show Mouse Pointer
}
if (hRC) // Do We Have A Rendering Context?
{
if (!wglMakeCurrent(NULL,NULL)) // Are We Able To Release The DC And RC Contexts?
{
MessageBox(NULL,"Release Of DC And RC Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
}
if (!wglDeleteContext(hRC)) // Are We Able To Delete The RC?
{
MessageBox(NULL,"Release Rendering Context Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
}
hRC=NULL; // Set RC To NULL
}
if (hDC && !ReleaseDC(hWnd,hDC)) // Are We Able To Release The DC
{
MessageBox(NULL,"Release Device Context Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
hDC=NULL; // Set DC To NULL
}
if (hWnd && !DestroyWindow(hWnd)) // Are We Able To Destroy The Window?
{
MessageBox(NULL,"Could Not Release hWnd.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
hWnd=NULL; // Set hWnd To NULL
}
if (!UnregisterClass("OpenGL",hInstance)) // Are We Able To Unregister Class
{
MessageBox(NULL,"Could Not Unregister Class.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
hInstance=NULL; // Set hInstance To NULL
}
}
int InitGL(GLvoid) // All Setup For OpenGL Goes Here
{
glShadeModel(GL_SMOOTH); // Enable Smooth Shading
glClearColor(0.0f, 0.0f, 0.0f, 0.5f); // Black Background
glClearDepth(1.0f); // Depth Buffer Setup
glEnable(GL_DEPTH_TEST); // Enables Depth Testing
glDepthFunc(GL_LEQUAL); // The Type Of Depth Testing To Do
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST); // Really Nice Perspective Calculations
InitialiseObjects();
return TRUE; // Initialization Went OK
}
GLvoid InitialiseObjects(){
InitFireworks();
}
GLvoid MainProgramLoop(){
PrepareGLScene();
PerformKeyboardFunctions();
DrawGLScene();
}
GLvoid DrawGLScene(GLvoid){
// First we clear the screen and depth buffer
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
// Then we reset the modelview matrix
glLoadIdentity();
// GL Drawing Code Goes Here!!!!
RenderFireworks();
SwapBuffers(hDC);
}
GLvoid PrepareGLScene(GLvoid){
}
GLvoid PerformKeyboardFunctions(){
if (keys[VK_ESCAPE]){ // Exit if ESC is pressed
PostQuitMessage(0);
}
if (keys[VK_F1]){ // Switch between full/windowed on F1
keys[VK_F1]=FALSE;
KillGLWindow();
fullscreen=!fullscreen;
if (!CreateOpenGLWindow(szAppTitle,800,600,16,fullscreen)){
fullscreen=!fullscreen; //Switch back and try again
CreateOpenGLWindow(szAppTitle,800,600,16,fullscreen);
MessageBox(hWnd,"Cannot Switch between full/windowed mode","ERROR",MB_OK | MB_ICONINFORMATION);
}
}
}
|
[
"richard.sabbarton@2623e155-7324-2af9-a167-a3d837c1c561"
] |
[
[
[
1,
465
]
]
] |
c1d0c8a6d0414b541d48691eadb4fd7cf59b786b
|
0bab4267636e3b06cb0e73fe9d31b0edd76260c2
|
/freewar-alpha/src/Network/new_client.cpp
|
fff621b88dadf83e38e52ba0e5b91af819fdd589
|
[] |
no_license
|
BackupTheBerlios/freewar-svn
|
15fafedeed3ea1d374500d3430ff16b412b2f223
|
aa1a28f19610dbce12be463d5ccd98f712631bc3
|
refs/heads/master
| 2021-01-10T19:54:11.599797 | 2006-12-10T21:45:11 | 2006-12-10T21:45:11 | 40,725,388 | 0 | 0 | null | null | null | null |
WINDOWS-1250
|
C++
| false | false | 675 |
cpp
|
/*
** new_client.c for zappy in /u/ept2/huot_j
**
** Made by jonathan huot
** Login <[email protected]>
**
** Started on Mon May 24 18:37:42 2004 jonathan huot
// Last update Tue Jun 29 18:36:19 2004 jonathan huot
*/
#include "network.h"
#include "tag.h"
int new_client(t_tmp **newclt)
{
TCPsocket newsock;
NETDEBUG("Un nouveau client s'est connecté\n");
newsock = SDLNet_TCP_Accept(cnt->server.sock);
if (!newsock)
fprintf(fd_log, "accept: %s\n", SDLNet_GetError());
else
{
put_in_client(newclt, newsock, STATE_NEW);
stock_msg(&((*newclt)->c), TAG_WELCOME, 0, NULL);
return (1);
}
return (0);
}
|
[
"doomsday@b2c3ed95-53e8-0310-b220-efb193137011"
] |
[
[
[
1,
29
]
]
] |
80d0e8b0f3854bd653bc436a555f7fdccc62dc8a
|
bda15711642076f85b33cc52183cd7df1310de3e
|
/code/C++/inversion.cpp
|
88f40a48d7df574adcbf60ce3726ca49e7d3c582
|
[] |
no_license
|
kingkong991/gezel-elliptic-curve-crypto
|
0735740b82fd7559ad0a39ac58462202741c9de9
|
c9ceb598acab94915cfacde8329cad268466bb80
|
refs/heads/master
| 2021-01-21T12:36:31.467746 | 2009-06-03T12:47:56 | 2009-06-03T12:47:56 | 32,472,246 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,684 |
cpp
|
/*
* Calculate the powering ladder for an exponentiation
*/
#include <stdio.h>
#include <string>
#include <vector>
#include <gmp.h>
int main () {
mpz_t nr;
mpz_init(nr);
mpz_ui_pow_ui(nr, 2, 163);
mpz_sub_ui(nr, nr, 2);
gmp_printf("Nr = %Zd\n", nr);
//mpz_init_set_str(nr, "11692013098647223345629478661730264157247460343806", 10);
//mpz_init_set_str(nr, "30", 10);
mpz_t q;
mpz_init(q);
// Start dividing as long as nr > 1
std::vector<int> result;
while (mpz_cmp_ui(nr, 1) > 0) {
if (mpz_fdiv_q_ui(q, nr, 3) == 0) {
mpz_set(nr, q);
result.push_back(3);
} else if (mpz_fdiv_q_ui(q, nr, 2) == 0) {
mpz_set(nr, q);
result.push_back(2);
} else {
mpz_sub_ui(nr, nr, 1);
result.push_back(1);
}
}
printf("[Compact]:\n");
std::vector<int>::reverse_iterator rit = result.rbegin();
int prev = *rit;
unsigned int count = 0, switches = 0, mults = 0;
for (; rit < result.rend(); rit++) {
if (prev == *rit) {
count++;
} else {
if (prev != 1)
printf("%dx ^%d\n", count, prev);
else
printf("%dx *a\n", count);
switches++;
if (prev == 3)
mults += count * 2;
else
mults += count;
count = 1;
prev = *rit;
}
}
if (prev != 1)
printf("%dx ^%d\n", count, prev);
else
printf("%dx *a\n", count);
if (prev == 3)
mults += count * 2;
else
mults += count;
printf("\n# of switches = %d\n# of multiplications = %d\n", switches, mults);
/*printf("\n\n");
rit = result.rbegin();
for (; rit < result.rend(); rit++) {
printf("%d ", *rit);
}*/
printf("\nDone");
}
|
[
"[email protected]@5d5e4cb0-7ddb-11dd-8211-f7cdc74bccc4"
] |
[
[
[
1,
90
]
]
] |
30ac95405e4a01ff271783a22aa284f2f235cb54
|
629e4fdc23cb90c0144457e994d1cbb7c6ab8a93
|
/lib/entity/componentnet.h
|
3bf30531bbc13141e607259b21137343ad35e6fe
|
[] |
no_license
|
akin666/ice
|
4ed846b83bcdbd341b286cd36d1ef5b8dc3c0bf2
|
7cfd26a246f13675e3057ff226c17d95a958d465
|
refs/heads/master
| 2022-11-06T23:51:57.273730 | 2011-12-06T22:32:53 | 2011-12-06T22:32:53 | 276,095,011 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 860 |
h
|
/*
* componentnet.h
*
* Created on: 19.10.2011
* Author: akin
*/
#ifndef ICE_COMPONENTNET_H_
#define ICE_COMPONENTNET_H_
#include "component"
#include <deque>
#include <map>
#include "componentnode"
#include <system/common>
namespace ice
{
class ComponentNet
{
public:
unsigned int time;
protected:
std::deque<ComponentNode*> roots;
std::deque<ComponentNode*> nodes;
std::map<std::string,ComponentNode*> nodes_str;
void removeFromRoot( ComponentNode *node );
void addToRoot( ComponentNode *node );
public:
ComponentNet();
virtual ~ComponentNet();
void add( Component *component );
void addNoSort( Component *component );
void sort();
void resetTime( Time time );
void getRoot( std::deque<ComponentNode*>& root );
};
} /* namespace ice */
#endif /* COMPONENTNET_H_ */
|
[
"akin@lich",
"akin@localhost"
] |
[
[
[
1,
7
],
[
10,
13
],
[
16,
18
],
[
42,
43
]
],
[
[
8,
9
],
[
14,
15
],
[
19,
41
]
]
] |
90ac784f37d00b4b8e8c6bc503a459325825c180
|
d752d83f8bd72d9b280a8c70e28e56e502ef096f
|
/FugueDLL/Virtual Machine/Operations/Operators/Arithmetic.inl
|
22c5f9e641e24e2dfd1f36c363002311db5a0a50
|
[] |
no_license
|
apoch/epoch-language.old
|
f87b4512ec6bb5591bc1610e21210e0ed6a82104
|
b09701714d556442202fccb92405e6886064f4af
|
refs/heads/master
| 2021-01-10T20:17:56.774468 | 2010-03-07T09:19:02 | 2010-03-07T09:19:02 | 34,307,116 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 4,913 |
inl
|
//
// The Epoch Language Project
// FUGUE Virtual Machine
//
// Implementation of built-in operators and operations.
//
#include "pch.h"
#include "Virtual Machine/Operations/Operators/Arithmetic.h"
#include "Virtual Machine/Core Entities/Variables/ArrayVariable.h"
#include "Virtual Machine/Core Entities/Scopes/ActivatedScope.h"
#include "Virtual Machine/Types Management/Typecasts.h"
//
// Perform the selected arithmetic operation
//
template<VM::Operations::ArithmeticOpType OpType, class VarType, class RValueType>
VM::RValuePtr VM::Operations::ArithmeticOp<OpType, VarType, RValueType>::ExecuteAndStoreRValue(ExecutionContext& context)
{
VarType::BaseStorage ret = 0;
if(NumParams == 1)
ret = OperateOnArray(context.Stack);
else if(NumParams == 2)
{
if(FirstIsArray && !SecondIsArray)
{
VarType var(context.Stack.GetCurrentTopOfStack());
VarType::BaseStorage variableval = var.GetValue();
context.Stack.Pop(VarType::GetStorageSize());
switch(OpType)
{
case Arithmetic_Add: ret = OperateOnArray(context.Stack) + variableval; break;
case Arithmetic_Subtract: ret = OperateOnArray(context.Stack) - variableval; break;
case Arithmetic_Multiply: ret = OperateOnArray(context.Stack) * variableval; break;
case Arithmetic_Divide: ret = OperateOnArray(context.Stack) / variableval; break;
default: throw InternalFailureException("Unrecognized arithmetic operation");
}
}
else if(!FirstIsArray && SecondIsArray)
{
ret = OperateOnArray(context.Stack);
VarType var(context.Stack.GetCurrentTopOfStack());
switch(OpType)
{
case Arithmetic_Add: ret = var.GetValue() + ret; break;
case Arithmetic_Subtract: ret = var.GetValue() - ret; break;
case Arithmetic_Multiply: ret = var.GetValue() * ret; break;
case Arithmetic_Divide: ret = var.GetValue() / ret; break;
default: throw InternalFailureException("Unrecognized arithmetic operation");
}
context.Stack.Pop(VarType::GetStorageSize());
}
else if(FirstIsArray && SecondIsArray)
{
ret = OperateOnArray(context.Stack);
switch(OpType)
{
case Arithmetic_Add: ret = OperateOnArray(context.Stack) + ret; break;
case Arithmetic_Subtract: ret = OperateOnArray(context.Stack) - ret; break;
case Arithmetic_Multiply: ret = OperateOnArray(context.Stack) * ret; break;
case Arithmetic_Divide: ret = OperateOnArray(context.Stack) / ret; break;
default: throw InternalFailureException("Unrecognized arithmetic operation");
}
}
else
{
VarType twovar(context.Stack.GetCurrentTopOfStack());
VarType onevar(context.Stack.GetOffsetIntoStack(VarType::GetStorageSize()));
switch(OpType)
{
case Arithmetic_Add: ret = onevar.GetValue() + twovar.GetValue(); break;
case Arithmetic_Subtract: ret = onevar.GetValue() - twovar.GetValue(); break;
case Arithmetic_Multiply: ret = onevar.GetValue() * twovar.GetValue(); break;
case Arithmetic_Divide: ret = onevar.GetValue() / twovar.GetValue(); break;
default: throw InternalFailureException("Unrecognized arithmetic operation");
}
context.Stack.Pop(VarType::GetStorageSize() * 2);
}
}
else
throw ExecutionException("Invalid set of parameters");
return RValuePtr(new RValueType(ret));
}
template<VM::Operations::ArithmeticOpType OpType, class VarType, class RValueType>
void VM::Operations::ArithmeticOp<OpType, VarType, RValueType>::ExecuteFast(ExecutionContext& context)
{
// Nothing to do here; either the op is called by a PushOperation op, in which case
// the rvalue execute function will be used; or the op is standalone and has no
// effects on program state, and therefore can be ignored.
}
//
// Operate on an array of values from the stack
//
template<VM::Operations::ArithmeticOpType OpType, class VarType, class RValueType>
typename VarType::BaseStorage VM::Operations::ArithmeticOp<OpType, VarType, RValueType>::OperateOnArray(StackSpace& stack) const
{
VarType::BaseStorage ret = 0;
if(OpType == Arithmetic_Multiply || OpType == Arithmetic_Divide)
ret = 1;
VM::ArrayVariable arrayvar(stack.GetCurrentTopOfStack());
VM::EpochVariableTypeID type = arrayvar.GetElementType();
void* storage = ArrayVariable::GetArrayStorage(arrayvar.GetValue());
size_t count = arrayvar.GetNumElements();
stack.Pop(arrayvar.GetStorageSize());
if(type != VarType::GetStaticType())
throw ExecutionException("Type mismatch");
for(size_t i = 0; i < count; ++i)
{
VarType var(storage);
if(OpType == Arithmetic_Add)
ret = var.GetValue() + ret;
else if(OpType == Arithmetic_Multiply)
ret = var.GetValue() * ret;
else
throw NotImplementedException("Arithmetic operation not implemented for array mode");
storage = reinterpret_cast<char*>(storage) + VarType::GetBaseStorageSize();
}
return ret;
}
|
[
"[email protected]",
"don.apoch@localhost"
] |
[
[
[
1,
10
],
[
12,
19
],
[
21,
24
],
[
26,
27
],
[
29,
29
],
[
31,
31
],
[
33,
34
],
[
39,
41
],
[
43,
43
],
[
46,
53
],
[
55,
55
],
[
57,
57
],
[
59,
60
],
[
65,
69
],
[
72,
79
],
[
81,
89
],
[
91,
97
],
[
99,
100
],
[
102,
106
],
[
112,
115
],
[
117,
117
],
[
119,
120
],
[
122,
122
],
[
125,
125
],
[
127,
131
]
],
[
[
11,
11
],
[
20,
20
],
[
25,
25
],
[
28,
28
],
[
30,
30
],
[
32,
32
],
[
35,
38
],
[
42,
42
],
[
44,
45
],
[
54,
54
],
[
56,
56
],
[
58,
58
],
[
61,
64
],
[
70,
71
],
[
80,
80
],
[
90,
90
],
[
98,
98
],
[
101,
101
],
[
107,
111
],
[
116,
116
],
[
118,
118
],
[
121,
121
],
[
123,
124
],
[
126,
126
]
]
] |
4543442f60edf04ebecca3fb39d2468eb0ccc0ef
|
1cc5720e245ca0d8083b0f12806a5c8b13b5cf98
|
/h/a.cpp
|
a328687482c3fd23dda21ab13409e6dcfcfefea8
|
[] |
no_license
|
Emerson21/uva-problems
|
399d82d93b563e3018921eaff12ca545415fd782
|
3079bdd1cd17087cf54b08c60e2d52dbd0118556
|
refs/heads/master
| 2021-01-18T09:12:23.069387 | 2010-12-15T00:38:34 | 2010-12-15T00:38:34 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,995 |
cpp
|
#include <iostream>
#include <stdio.h>
using namespace std;
int mat[30][30][30];
bool b[30][30][30];
#define FOR(a,b) for(a=0;a!=b;a++)
int n,n2;
void mak(int x,int y,int z,int pos) {
if(x==n) x=0;
if(z==-1) z=n-1;
if(y==-1) y=n-1;
mat[x][y][z] = pos;
b[x][y][z]=true;
if(pos==n2) {
// ultimo, coloca e para
return;
}
if(pos==9 || pos==10 || pos==19) {
cout << pos << ";" << x << "," << y << "," << z << endl;
}
if(z==n-2) {
int ya = (y==0) ? n-1 : y-1;
cout << ya << endl;
// regra do penultimo layer para cima
if(b[x][ya][z+1]) { cout << "ja " << x << "," << ya << "," << z+1 << endl;mak(x,y,z-1,pos+1);}
// regra do penultimo layer para baixo
else mak(x,ya,z+1,pos+1);
} else if(z==n-1) {
// regra do ultimo layer (vai pro primeiro)
mak(x+1,y,0,pos+1);
} else {
// regra dos outros layers (desce = z++)
mak(x+1,y,z+1,pos+1);
}
}
int main() {
int u,o,p,tc=0;
while((cin >>n) && n!=0) {
if(tc!=0) cout << endl;
tc=1;
if(n==1) {
cout << " 1\n";
continue;
}
FOR(u,n) FOR(o,n) FOR(p,n) b[u][o][p]=false;
n2 = n * n * n;
mak(n/2,n/2,n-1,1);
for(int i=0;i!=n;i++) {
if(i!=0) cout << endl;
for(int j=0;j!=n;j++) {
for(int k=0;k!=n;k++) {
printf("%5d ",mat[k][j][i]);
}
cout << endl;
}
}
}
return 0;
}
|
[
"[email protected]"
] |
[
[
[
1,
79
]
]
] |
7028e2faa6aa413470b39ec6ad7d32482e789399
|
fbe2cbeb947664ba278ba30ce713810676a2c412
|
/iptv_root/iptv_client/include/Skin/Skin.h
|
f23c6866f9122ff8d53ef9d9e2658b073f71150e
|
[] |
no_license
|
abhipr1/multitv
|
0b3b863bfb61b83c30053b15688b070d4149ca0b
|
6a93bf9122ddbcc1971dead3ab3be8faea5e53d8
|
refs/heads/master
| 2020-12-24T15:13:44.511555 | 2009-06-04T17:11:02 | 2009-06-04T17:11:02 | 41,107,043 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 6,609 |
h
|
#ifndef _SKIN_
#define _SKIN_
#ifdef _MSC_VER
#pragma warning (disable: 4005) // _WINSOCKAPI_ macro redefinition
#pragma warning (disable: 4267) // size_t to int conversion
#endif
#include <wx/wx.h>
#include "Constants.h"
#include "AppInterface.h"
#include "VideoSink.h"
#include "TransmissionDisplayControl.h"
#include "PrivateChatWindowList.h"
/** @brief Base class for all Skins.
*
* This abstract class is the base class for all Skins. It inherits from wxFrame,
* thus it is also meant to represent the main window of a Skin. Skins may contain
* other windows/classes as needed. It contains an AppInterface pointer, accessible
* via GetAppInterface() and initialized upon loading by App, which gives Skins
* access to needed App methods.
*/
class Skin : public wxFrame
{
private:
protected:
AppInterface *m_appInterface;
wxPoint m_delta;
wxBitmap *m_bmp;
bool m_hasShape;
bool m_dragEnable;
wxString m_skinSelected;
wxString m_languageSelected;
int m_indexSkin;
int m_indexLanguage;
// List of active private chat windows
PrivateChatWindowList m_pcwList;
// Video capture display control
VideoDisplayControl *m_vdcCaptureView;
bool m_captureEnabled;
// Old code
// FIXME: Should this *really* be here?
wxButton *m_btnChangeSkin;
wxButton *m_btnChangeLanguage;
wxButton *m_btnExit;
wxButton *m_btnUnicast;
wxButton *m_btnMulticast;
wxButton *m_btnFile;
wxButton *m_btnAbout;
wxButton *m_btnProfile;
// Methods:
void SetWindowShape(wxBitmap *);
void InitializeBase();
VideoDisplayControl *DoCreateVideoDisplayControl(unsigned long mediaID);
virtual void CreateChangeSkinBtn();
virtual void CreateChangeLanguageBtn();
virtual void CreateExitBtn();
virtual void CreateUnicastBtn();
virtual void CreateMulticastBtn();
virtual void CreateFileBtn();
virtual void CreateAboutBtn();
virtual void UpdateText();
virtual void OnChangeSkin(wxCommandEvent &event);
virtual void OnChangeLanguage(wxCommandEvent &event);
virtual void OnExit(wxCommandEvent &event);
void OnAboutBtnClick(wxCommandEvent &event);
void OnPaint(wxPaintEvent &event);
void OnMouseLeftDown(wxMouseEvent &event);
void OnMouseMove(wxMouseEvent &event);
void OnWindowCreate(wxWindowCreateEvent &WXUNUSED(event));
public:
Skin();
virtual ~Skin();
virtual void Initialize() = 0;
void SetAppInterface(AppInterface *iface);
AppInterface *GetAppInterface() const;
void PaintBaseSkin();
void EnableDrag();
void DisableDrag();
// App->Skin command methods
virtual void OnHostConnect() = 0;
virtual void ShowChannelList() = 0;
virtual void RefreshChannelList() = 0;
virtual void RefreshUserList() = 0;
virtual void OnConnectionFailure(wxString message = wxEmptyString) = 0;
virtual void OnServerDisconnect(wxString message = wxEmptyString) = 0;
virtual void OnChannelJoin() = 0;
virtual void OnChannelBadPassword(const wxString &failureMessage = wxEmptyString) = 0;
virtual void OnPrivateMessage(const wxString &sender, const wxString &msg) = 0;
virtual void OnChannelMessage(const wxString &sender, const wxString &msg, const wxString &channel = wxEmptyString) = 0;
virtual void OnActiveTransmissionCountChange(int newCount) = 0;
virtual void UpdateFileProgressIndicator(float percent) = 0;
virtual void OnFileTransferReceptionBegin( long mediaId,
const wxString &fileName,
const wxString &tempFilePath,
const wxString &senderNick,
unsigned long fileSize,
unsigned packetSize,
bool renameFile = true) = 0;
virtual void OnFileTransferReceptionProgress(unsigned long currentPacketIndex, unsigned long lastPacketIndex) = 0;
virtual void OnFileTransferReceptionLostPacket(unsigned long lostPackets) = 0;
virtual void OnFileTransferReceptionSuccess() = 0;
virtual void OnFileTransferReceptionError() = 0;
virtual void OnFileTranferSendBegin(long mediaId) = 0;
virtual void OnFileTransferSendProgress(unsigned long currentPacketIndex, unsigned long lastPacketIndex) = 0;
virtual void OnFileTransferSendLostPacket(unsigned long lostPackets, unsigned long lostPacketsTotal) = 0;
virtual void OnFileTransferSendEof() = 0;
virtual void OnFileTransferSendSuccess() = 0;
virtual void OnFileTransferSendError() = 0;
virtual void OnFileTransferSendReceiverNew(long mediaId) = 0;
virtual void OnFileTransferSendReceiverCancel(long mediaId) = 0;
virtual void OnFileTransferSendReceiverEnd(long mediaId) = 0;
//Movie playlist events
virtual void OnMovieSendBegin(long mediaId, const wxString &channelName) = 0;
virtual void OnMovieSendEof(long mediaId, const wxString &channelName) = 0;
// Poll events
virtual void OnPoll() = 0;
virtual void OnPollVote() = 0;
virtual void OnPollStats(const PollInfo &info) = 0;
// Application Sharing viewing
virtual void OnAppSharingBegin() = 0;
virtual void OnAppSharingEnd() = 0;
// Whiteboard events
virtual void OnWhiteboardMessage(const wxString &channel, const wxString &user, const wxString &data) = 0;
//Collaboration Auto play
virtual void OnCollaborationAutoPlay() = 0;
virtual void OnCollaborationStop() = 0;
// About box string
virtual wxString GetAboutInfo();
// VDC handling method, version 4.
// Now uses a more general VideoSink approach, but constrained to the operation rules set by App.
virtual VideoSink *CreateVideoSink(void *extraData = NULL) = 0;
virtual void AddTransmissionDisplayControl(TransmissionDisplayControl *tdc) = 0;
virtual void RemoveTransmissionDisplayControl(TransmissionDisplayControl *tdc) = 0;
// This function will be called by App upon closing of Skin's main window.
// App will always handle Skin's wxCloseEvent. This overrideable function
// is provided to handle Skin-specific behavior IN ADDITION to App's normal
// behavior on closing Skin's main window.
// App will check the return value from this function, and will only effectively
// proceed with the processing of the close event if it returns true.
virtual bool OnMainWindowClose(bool force = false);
virtual PrivateChatWindowBase *CreatePrivateChatWindow(const wxString &userName) = 0;
PrivateChatWindowList &GetPrivateChatWindowList();
// Called every app timer tick
virtual void OnAppTimer();
DECLARE_EVENT_TABLE()
};
enum
{
ID_QUIT = wxID_EXIT,
ID_CHOOSE_SKIN = wxID_HIGHEST + 1,
ID_CHOOSE_LANGUAGE,
ID_BTN_UNICAST,
ID_BTN_MULTICAST,
ID_BTN_FILE,
ID_BTN_KERNEL_TEST,
ID_BTN_PROFILE,
ID_BTN_CONFIGURE
};
#endif
|
[
"heineck@c016ff2c-3db2-11de-a81c-fde7d73ceb89"
] |
[
[
[
1,
188
]
]
] |
efa06fd0963e68269b5d45ad2e7b8d2ec7f3d46b
|
b822313f0e48cf146b4ebc6e4548b9ad9da9a78e
|
/KylinSdk/Client/Source/PathwayLoader.cpp
|
8c3f5dff0f33bd3b0f68e0553eabf63d5cb2be26
|
[] |
no_license
|
dzw/kylin001v
|
5cca7318301931bbb9ede9a06a24a6adfe5a8d48
|
6cec2ed2e44cea42957301ec5013d264be03ea3e
|
refs/heads/master
| 2021-01-10T12:27:26.074650 | 2011-05-30T07:11:36 | 2011-05-30T07:11:36 | 46,501,473 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,666 |
cpp
|
#include "cltpch.h"
#include "PathwayLoader.h"
#include "StringUtils.h"
#include "XmlStream.h"
#include "Pathway.h"
#include "FileUtils.h"
Kylin::PathwayLoader::PathwayLoader()
{
}
Kylin::PathwayLoader::~PathwayLoader()
{
KMAP<KUINT,Pathway*>::iterator it = m_kPathwayMap.begin();
for (; it != m_kPathwayMap.end(); it++)
{
KDEL it->second;
}
m_kPathwayMap.clear();
}
KBOOL Kylin::PathwayLoader::Load( KCCHAR* pScene )
{
Ogre::FileInfoListPtr resPtr = Ogre::ResourceGroupManager::getSingletonPtr()->findResourceFileInfo("General", pScene);
Ogre::FileInfo fInfo = (*(resPtr->begin()));
KSTR sName = StringUtils::replace(pScene,".xml","_pathway.xml");
KSTR sPath = fInfo.archive->getName();
sPath += "/" + sName;
XmlStream kXml(sPath.data());
if (!kXml.Open(XmlStream::Read))
return false;
KBOOL bScene = kXml.SetToFirstChild("pathway");
while (bScene)
{
Pathway* pPathway = KNEW Pathway;
KUINT id = kXml.GetAttrInt("id");
KBOOL bTurnback = kXml.GetAttrBool("turnback");
KBOOL bPoint = kXml.SetToFirstChild("point");
while (bPoint)
{
KFLOAT fX = kXml.GetAttrFloat("x");
KFLOAT fZ = kXml.GetAttrFloat("z");
pPathway->Add(KPoint3(fX,0,fZ));
bPoint = kXml.SetToNextChild("point");
}
m_kPathwayMap.insert(std::pair<KUINT,Pathway*>(id,pPathway));
bScene = kXml.SetToNextChild("pathway");
}
kXml.Close();
return true;
}
Kylin::Pathway* Kylin::PathwayLoader::GetPathway( KUINT uID )
{
KMAP<KUINT,Pathway*>::iterator it = m_kPathwayMap.find(uID);
if (it != m_kPathwayMap.end())
{
return it->second;
}
return NULL;
}
|
[
"[email protected]"
] |
[
[
[
1,
78
]
]
] |
a1e5b9613f66bdd7b19007298209895b37cc3a92
|
94c1c7459eb5b2826e81ad2750019939f334afc8
|
/source/RealTimeDetailList.h
|
41cc739125222c1247ba6d75d804f874d665156d
|
[] |
no_license
|
wgwang/yinhustock
|
1c57275b4bca093e344a430eeef59386e7439d15
|
382ed2c324a0a657ddef269ebfcd84634bd03c3a
|
refs/heads/master
| 2021-01-15T17:07:15.833611 | 2010-11-27T07:06:40 | 2010-11-27T07:06:40 | 37,531,026 | 1 | 3 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,926 |
h
|
#if !defined(AFX_REALTIMEDETAILLIST_H__D99F64A3_B550_11D4_882E_00400552E583__INCLUDED_)
#define AFX_REALTIMEDETAILLIST_H__D99F64A3_B550_11D4_882E_00400552E583__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CRealTimeDetailList : public CDialog
{
public:
CRealTimeDetailList(CWnd* pParent /*=NULL*/,CTaiShanKlineShowView *m_pVwbaseView,BOOL IsF1);
CDetailGridCtrl *m_pGrid;
int m_nCols;
int m_nRows;
int m_nFixCols;
int m_nFixRows;
int m_nBigBillCount;
int m_nRealRow;
BOOL m_bEditable;
BOOL m_bListMode;
BOOL m_bSelectable;
BOOL m_bReadOnly;
CRect m_barRect;
int m_nStartColumn;
int m_nVisibleRowCount;
CStringArray m_ColumnTitleArray;
CCellID m_CellTitleCommand;
CCellRange VisibleCells;
int m_VisibleRowCount;
CTaiShanDoc *m_pDoc;
CTaiShanKlineShowView *m_pView;
BOOL m_IsF1;
BOOL m_bFirst;
BOOL m_bFirstDisplay;
void InitAllTitle();
int InitGridCtrl();
BOOL InitGridContent();
void Show_1Min(BOOL IsFirstDisplay=FALSE);
void Show_5Min(BOOL IsFirstDisplay=FALSE);
//{{AFX_DATA(CRealTimeDetailList)
enum { IDD = IDD_DETAIL_HS };
//}}AFX_DATA
//{{AFX_VIRTUAL(CRealTimeDetailList)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual void OnCancel();
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CRealTimeDetailList)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnClose();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_REALTIMEDETAILLIST_H__D99F64A3_B550_11D4_882E_00400552E583__INCLUDED_)
|
[
"[email protected]"
] |
[
[
[
1,
72
]
]
] |
04a291086823131c5f481b40947cec46d9b9034b
|
25cf6a86db04363698c63f746da9f8d564f59c94
|
/main/OpenCover.Profiler/ProfileBase.h
|
592a25f12e75628eed441a52c1d3888cd11f10e0
|
[
"MIT"
] |
permissive
|
mancaus/opencover
|
0c0e36bba1ec36bca15bd2ba89ce07183863cc8e
|
419b1b714f0a9adbeb6459406000b233babfd53e
|
refs/heads/master
| 2020-12-25T03:58:45.354254 | 2011-12-01T17:09:08 | 2011-12-01T17:09:08 | 2,890,261 | 1 | 1 | null | null | null | null |
UTF-8
|
C++
| false | false | 13,033 |
h
|
//
// OpenCover - S Wilde
//
// This source code is released under the MIT License; see the accompanying license file.
//
#pragma once
class CProfilerBase : public ICorProfilerCallback3
{
// ICorProfilerCallback
public:
virtual HRESULT STDMETHODCALLTYPE Initialize(
/* [in] */ IUnknown *pICorProfilerInfoUnk)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE Shutdown( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE AppDomainCreationStarted(
/* [in] */ AppDomainID appDomainId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE AppDomainCreationFinished(
/* [in] */ AppDomainID appDomainId,
/* [in] */ HRESULT hrStatus)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE AppDomainShutdownStarted(
/* [in] */ AppDomainID appDomainId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE AppDomainShutdownFinished(
/* [in] */ AppDomainID appDomainId,
/* [in] */ HRESULT hrStatus)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE AssemblyLoadStarted(
/* [in] */ AssemblyID assemblyId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE AssemblyLoadFinished(
/* [in] */ AssemblyID assemblyId,
/* [in] */ HRESULT hrStatus)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE AssemblyUnloadStarted(
/* [in] */ AssemblyID assemblyId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE AssemblyUnloadFinished(
/* [in] */ AssemblyID assemblyId,
/* [in] */ HRESULT hrStatus)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ModuleLoadStarted(
/* [in] */ ModuleID moduleId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ModuleLoadFinished(
/* [in] */ ModuleID moduleId,
/* [in] */ HRESULT hrStatus)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ModuleUnloadStarted(
/* [in] */ ModuleID moduleId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ModuleUnloadFinished(
/* [in] */ ModuleID moduleId,
/* [in] */ HRESULT hrStatus)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ModuleAttachedToAssembly(
/* [in] */ ModuleID moduleId,
/* [in] */ AssemblyID assemblyId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ClassLoadStarted(
/* [in] */ ClassID classId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ClassLoadFinished(
/* [in] */ ClassID classId,
/* [in] */ HRESULT hrStatus)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ClassUnloadStarted(
/* [in] */ ClassID classId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ClassUnloadFinished(
/* [in] */ ClassID classId,
/* [in] */ HRESULT hrStatus)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE FunctionUnloadStarted(
/* [in] */ FunctionID functionId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE JITCompilationStarted(
/* [in] */ FunctionID functionId,
/* [in] */ BOOL fIsSafeToBlock)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE JITCompilationFinished(
/* [in] */ FunctionID functionId,
/* [in] */ HRESULT hrStatus,
/* [in] */ BOOL fIsSafeToBlock)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE JITCachedFunctionSearchStarted(
/* [in] */ FunctionID functionId,
/* [out] */ BOOL *pbUseCachedFunction)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE JITCachedFunctionSearchFinished(
/* [in] */ FunctionID functionId,
/* [in] */ COR_PRF_JIT_CACHE result)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE JITFunctionPitched(
/* [in] */ FunctionID functionId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE JITInlining(
/* [in] */ FunctionID callerId,
/* [in] */ FunctionID calleeId,
/* [out] */ BOOL *pfShouldInline)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ThreadCreated(
/* [in] */ ThreadID threadId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ThreadDestroyed(
/* [in] */ ThreadID threadId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ThreadAssignedToOSThread(
/* [in] */ ThreadID managedThreadId,
/* [in] */ DWORD osThreadId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RemotingClientInvocationStarted( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RemotingClientSendingMessage(
/* [in] */ GUID *pCookie,
/* [in] */ BOOL fIsAsync)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RemotingClientReceivingReply(
/* [in] */ GUID *pCookie,
/* [in] */ BOOL fIsAsync)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RemotingClientInvocationFinished( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RemotingServerReceivingMessage(
/* [in] */ GUID *pCookie,
/* [in] */ BOOL fIsAsync)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RemotingServerInvocationStarted( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RemotingServerInvocationReturned( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RemotingServerSendingReply(
/* [in] */ GUID *pCookie,
/* [in] */ BOOL fIsAsync)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE UnmanagedToManagedTransition(
/* [in] */ FunctionID functionId,
/* [in] */ COR_PRF_TRANSITION_REASON reason )
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ManagedToUnmanagedTransition(
/* [in] */ FunctionID functionId,
/* [in] */ COR_PRF_TRANSITION_REASON reason)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RuntimeSuspendStarted(
/* [in] */ COR_PRF_SUSPEND_REASON suspendReason)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RuntimeSuspendFinished( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RuntimeSuspendAborted( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RuntimeResumeStarted( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RuntimeResumeFinished( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RuntimeThreadSuspended(
/* [in] */ ThreadID threadId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RuntimeThreadResumed(
/* [in] */ ThreadID threadId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE MovedReferences(
/* [in] */ ULONG cMovedObjectIDRanges,
/* [size_is][in] */ ObjectID oldObjectIDRangeStart[ ],
/* [size_is][in] */ ObjectID newObjectIDRangeStart[ ],
/* [size_is][in] */ ULONG cObjectIDRangeLength[ ])
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ObjectAllocated(
/* [in] */ ObjectID objectId,
/* [in] */ ClassID classId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ObjectsAllocatedByClass(
/* [in] */ ULONG cClassCount,
/* [size_is][in] */ ClassID classIds[ ],
/* [size_is][in] */ ULONG cObjects[ ])
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ObjectReferences(
/* [in] */ ObjectID objectId,
/* [in] */ ClassID classId,
/* [in] */ ULONG cObjectRefs,
/* [size_is][in] */ ObjectID objectRefIds[ ])
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RootReferences(
/* [in] */ ULONG cRootRefs,
/* [size_is][in] */ ObjectID rootRefIds[ ])
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionThrown(
/* [in] */ ObjectID thrownObjectId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionSearchFunctionEnter(
/* [in] */ FunctionID functionId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionSearchFunctionLeave( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionSearchFilterEnter(
/* [in] */ FunctionID functionId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionSearchFilterLeave( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionSearchCatcherFound(
/* [in] */ FunctionID functionId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionOSHandlerEnter(
/* [in] */ UINT_PTR __unused)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionOSHandlerLeave(
/* [in] */ UINT_PTR __unused)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionUnwindFunctionEnter(
/* [in] */ FunctionID functionId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionUnwindFunctionLeave( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionUnwindFinallyEnter(
/* [in] */ FunctionID functionId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionUnwindFinallyLeave( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionCatcherEnter(
/* [in] */ FunctionID functionId,
/* [in] */ ObjectID objectId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionCatcherLeave( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE COMClassicVTableCreated(
/* [in] */ ClassID wrappedClassId,
/* [in] */ REFGUID implementedIID,
/* [in] */ void *pVTable,
/* [in] */ ULONG cSlots)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE COMClassicVTableDestroyed(
/* [in] */ ClassID wrappedClassId,
/* [in] */ REFGUID implementedIID,
/* [in] */ void *pVTable)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionCLRCatcherFound( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ExceptionCLRCatcherExecute( void)
{ return S_OK; }
// ICorProfilerCallback2
public:
virtual HRESULT STDMETHODCALLTYPE ThreadNameChanged(
/* [in] */ ThreadID threadId,
/* [in] */ ULONG cchName,
/* [in] */
__in_ecount_opt(cchName) WCHAR name[ ])
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE GarbageCollectionStarted(
/* [in] */ int cGenerations,
/* [size_is][in] */ BOOL generationCollected[ ],
/* [in] */ COR_PRF_GC_REASON reason)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE SurvivingReferences(
/* [in] */ ULONG cSurvivingObjectIDRanges,
/* [size_is][in] */ ObjectID objectIDRangeStart[ ],
/* [size_is][in] */ ULONG cObjectIDRangeLength[ ])
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE GarbageCollectionFinished( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE FinalizeableObjectQueued(
/* [in] */ DWORD finalizerFlags,
/* [in] */ ObjectID objectID)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE RootReferences2(
/* [in] */ ULONG cRootRefs,
/* [size_is][in] */ ObjectID rootRefIds[ ],
/* [size_is][in] */ COR_PRF_GC_ROOT_KIND rootKinds[ ],
/* [size_is][in] */ COR_PRF_GC_ROOT_FLAGS rootFlags[ ],
/* [size_is][in] */ UINT_PTR rootIds[ ])
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE HandleCreated(
/* [in] */ GCHandleID handleId,
/* [in] */ ObjectID initialObjectId)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE HandleDestroyed(
/* [in] */ GCHandleID handleId)
{ return S_OK; }
// ICorProfilerCallback3
public:
virtual HRESULT STDMETHODCALLTYPE InitializeForAttach(
/* [in] */ IUnknown *pCorProfilerInfoUnk,
/* [in] */ void *pvClientData,
/* [in] */ UINT cbClientData)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ProfilerAttachComplete( void)
{ return S_OK; }
virtual HRESULT STDMETHODCALLTYPE ProfilerDetachSucceeded( void)
{ return S_OK; }
};
|
[
"[email protected]",
"[email protected]"
] |
[
[
[
1,
5
]
],
[
[
6,
371
]
]
] |
69e03082f7fda9c506c7111fd7c17eb324558432
|
a405cf24ef417f6eca00c688ceb9008d80f84e1a
|
/trunk/NassiDropTarget.cpp
|
d089b6d2eff963eb73bf70d39413817905d10b26
|
[] |
no_license
|
BackupTheBerlios/nassiplugin-svn
|
186ac2b1ded4c0bf7994e6309150aa23bc70b644
|
abd9d809851d58d7206008b470680a23d0548ef6
|
refs/heads/master
| 2020-06-02T21:23:32.923994 | 2010-02-23T21:37:37 | 2010-02-23T21:37:37 | 40,800,406 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,543 |
cpp
|
#ifdef __GNUG__
// #pragma interface
#endif
//#include <wx/dcmemory.h>
//#include <wx/msgdlg.h>
//#include <wx/mstream.h>
//#include <wx/txtstrm.h>
#include "NassiDropTarget.h"
#include "DataObject.h"
#include "NassiView.h"
#include "NassiDiagramWindow.h"
NassiDropTarget::NassiDropTarget(NassiDiagramWindow *window, NassiView *view)
: wxDropTarget(new NassiDataObject((NassiBrick *)NULL, (NassiView *)view) ),
m_window(window)
{}
wxDragResult NassiDropTarget::OnEnter(wxCoord x, wxCoord y, wxDragResult def)
{
m_window->OnDragEnter();
return OnDragOver(x, y, def);
}
void NassiDropTarget::OnLeave()
{
m_window->OnDragLeave();
}
wxDragResult NassiDropTarget::OnData(wxCoord x, wxCoord y, wxDragResult def)
{
if ( !GetData() )
{
wxMessageBox(_T("Failed to get drag and drop data") );
return wxDragNone;
}
return m_window->OnDrop(wxPoint(x,y),
((NassiDataObject *)GetDataObject())->GetBrick(),
((NassiDataObject *)GetDataObject())->GetText(0),
((NassiDataObject *)GetDataObject())->GetText(1),
def );
}
wxDragResult NassiDropTarget::OnDragOver(wxCoord x, wxCoord y, wxDragResult def)
{
bool HasNoBricks = !(((NassiDataObject *)GetDataObject())->HasBrick());
// GetData() has not yet been called. so we assume here that it will get some bricks.
// TODO (daniel#1#): Check for a nicer solution
HasNoBricks = false;
return m_window->OnDragOver(wxPoint(x, y), def, HasNoBricks);
}
|
[
"danselmi@1ca45b2e-1973-0410-a226-9012aad761af"
] |
[
[
[
1,
54
]
]
] |
812c540223e5c8f1cfab4eb7d903fcde1462348c
|
3179f9d55a8d99744707b30e2cdfe21bfea0cfa3
|
/symbian/gCalSyncer/src/gCalSyncerDocument.cpp
|
84f098a533b2a02c854ce525a88e83079a0565d2
|
[] |
no_license
|
santatic/toolkits
|
11f16dd6319af1591dfa1f07a813cfe42f2a949b
|
50c2a03d9ae0fb288d702ac6627b6499a513f780
|
refs/heads/master
| 2021-01-10T04:01:11.909424 | 2010-03-13T15:55:17 | 2010-03-13T15:55:17 | 52,971,206 | 0 | 1 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,865 |
cpp
|
/*
============================================================================
Name : gCalSyncerDocument.cpp
Author : toolkits.googlecode.com
Copyright : New BSD License
Description : CgCalSyncerDocument implementation
============================================================================
*/
// INCLUDE FILES
#include "gCalSyncerAppUi.h"
#include "gCalSyncerDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CgCalSyncerDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CgCalSyncerDocument* CgCalSyncerDocument::NewL(CEikApplication& aApp)
{
CgCalSyncerDocument* self = NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
// -----------------------------------------------------------------------------
// CgCalSyncerDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CgCalSyncerDocument* CgCalSyncerDocument::NewLC(CEikApplication& aApp)
{
CgCalSyncerDocument* self = new (ELeave) CgCalSyncerDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CgCalSyncerDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CgCalSyncerDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CgCalSyncerDocument::CgCalSyncerDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CgCalSyncerDocument::CgCalSyncerDocument(CEikApplication& aApp) :
CAknDocument(aApp)
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CgCalSyncerDocument::~CgCalSyncerDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CgCalSyncerDocument::~CgCalSyncerDocument()
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CgCalSyncerDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CgCalSyncerDocument::CreateAppUiL()
{
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object
return new (ELeave) CgCalSyncerAppUi;
}
// End of File
|
[
"[email protected]"
] |
[
[
[
1,
85
]
]
] |
fa6055e089b86a7d249895a07bb18e0cbdbb4c91
|
7383a6f68018334aca3b7b3ca931e917ae86141f
|
/facedetect_roi/src/facedetect_roi.cpp
|
02067c5b6b46c63a146415f954642a4809c5b763
|
[] |
no_license
|
gotomypc/klucv2
|
b1449cc6da998207a042d13621f3c261774bbb0f
|
0340889c97318e7816ec9f007dfcc510e3a06cf9
|
refs/heads/master
| 2016-09-05T09:22:40.043359 | 2010-03-23T21:27:49 | 2010-03-23T21:27:49 | 35,355,430 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 14,011 |
cpp
|
#define CV_NO_BACKWARD_COMPATIBILITY
#define HIGHGUI_NO_BACKWARD_COMPATIBILITY
#include <cv.h>
#include <highgui.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <time.h>
#include <ctype.h>
#include <iostream>
#define WINDOW_RESULT "Result"
#define WINDOW_INTEGRAL_IMAGE_SUM "Integral Image (sum)"
#define WINDOW_INTEGRAL_IMAGE_SQUARED_SUM "Integral Image (squared sum)"
#define WINDOW_INTEGRAL_IMAGE_TILTED_SUM "Integral Image (tilted sum)"
using namespace std;
using namespace cv;
// This struct encapsulates all program options and variables
struct ApplicationEnvironment
{
CvCapture * capture; // NULL if no capture is being used.
bool detectFace;
bool isSelecting;
bool selectionEnabled;
bool showIntegralImages;
CvRect selection;
bool isExiting;
CvFont font;
IplImage * frame; // Pointer to the current frame
// BEGIN Facedetect parameters
CascadeClassifier cascade;
CascadeClassifier nestedCascade;
double scale;
// END Facedetect parameters
} app;
// Timing function to start the global timer
static double ticStart = 0;
void tic()
{
ticStart = (double)cvGetTickCount();
}
// Timing function that stops the global timer and
// prints the time since the last call to tic().
double toc()
{
ticStart = ((double)cvGetTickCount() - ticStart) / ( (double) cvGetTickFrequency() * 1000.0);
// Print to unbuffered standard error for immediate output
//fprintf(stderr, "detection time = %gms\n", ticStart);
return ticStart;
}
// Saves the "image" to "basename"_TIMESTAMP.png
void saveImage(IplImage * image, const char * basename)
{
if ( !image || !basename )
{
return;
}
char filename[255];
memset(filename, '\0', 255);
sprintf(filename, "%s %ld.png", basename, time(NULL));
cout << "Saving image " << filename << endl;
cvSaveImage(filename, image);
}
// Callback for image ROI selection
void onMouseSelection(int event, int x, int y, int flags, void * frame)
{
static CvPoint origin;
IplImage * image = static_cast<IplImage*>(frame);
if( !image )
{
return;
}
if( image->origin == IPL_ORIGIN_BL ) // bottom-left (BL) or top-left (TL)?
{
y = image->height - y;
}
if( app.isSelecting )
{
//cerr << "Selecting object" << endl;
app.selection.x = MIN(x,origin.x);
app.selection.y = MIN(y,origin.y);
app.selection.width = app.selection.x + CV_IABS(x - origin.x);
app.selection.height = app.selection.y + CV_IABS(y - origin.y);
app.selection.x = MAX( app.selection.x, 0 );
app.selection.y = MAX( app.selection.y, 0 );
app.selection.width = MIN( app.selection.width, image->width );
app.selection.height = MIN( app.selection.height, image->height );
app.selection.width -= app.selection.x;
app.selection.height -= app.selection.y;
}
switch( event )
{
case CV_EVENT_LBUTTONDOWN:
origin = cvPoint(x,y);
app.selection = cvRect(x,y,0,0);
app.isSelecting = true;
// Enable selection if it was disabled.
app.selectionEnabled = true;
break;
case CV_EVENT_LBUTTONUP:
app.isSelecting = false;
if( app.selection.width > 0 && app.selection.height > 0 )
{
//cerr << "Setting track_object to -1" << endl;
//track_object = -1;
}
break;
}
}
void drawSelectionInfo()
{
static char metricsText[255];
if( app.selectionEnabled && app.selection.width > 0 && app.selection.height > 0)
{
// Invert the image if we are currently selecting
if ( app.isSelecting )
{
cvSetImageROI( app.frame, app.selection );
cvXorS( app.frame, cvScalarAll(255), app.frame, 0 );
cvResetImageROI( app.frame );
}
CvPoint org;
CvSize textBoundings;
int ymin;
// Draw the text with the image and selection metrics.
memset(metricsText, '\0', 255);
sprintf(metricsText, "Img: %dx%d", app.frame->width, app.frame->height);
cvGetTextSize(metricsText, &app.font, &textBoundings, &ymin);
org = cvPoint(app.selection.x, app.selection.y - 25);
cvRectangle(app.frame, cvPoint(org.x, org.y + ymin), cvPoint(org.x + textBoundings.width, org.y - textBoundings.height), cvScalar(0,0,0), CV_FILLED);
cvPutText(app.frame, metricsText, org, &app.font, CV_RGB(0,255,0));
float ratio = (float)(app.selection.width * app.selection.height) / (float)(app.frame->width * app.frame->height);
memset(metricsText, '\0', 255);
sprintf(metricsText, "Sel: %dx%d~%0.3f%%", app.selection.width, app.selection.height, ratio * 100.0f);
cvGetTextSize(metricsText, &app.font, &textBoundings, &ymin);
org = cvPoint(app.selection.x, app.selection.y - 10);
cvRectangle(app.frame, cvPoint(org.x, org.y + ymin), cvPoint(org.x + textBoundings.width, org.y - textBoundings.height), cvScalar(0,0,0), CV_FILLED);
cvPutText(app.frame, metricsText, org, &app.font, CV_RGB(0,255,0));
// Draw the ROI
CvPoint p1 = {app.selection.x, app.selection.y};
CvPoint p2 = {p1.x + app.selection.width, p1.y + app.selection.height};
cvRectangle(app.frame, p1, p2, CV_RGB(0,255,0));
}
}
// Detects faces in "img" and returns the processing time
double detectAndDraw( Mat& img,
CascadeClassifier& cascade,
CascadeClassifier& nestedCascade,
double scale)
{
if (!app.detectFace)
{
return 0;
}
int i = 0;
const static Scalar colors[] = { CV_RGB(0,0,255),
CV_RGB(0,128,255),
CV_RGB(0,255,255),
CV_RGB(0,255,0),
CV_RGB(255,128,0),
CV_RGB(255,255,0),
CV_RGB(255,0,0),
CV_RGB(255,0,255)} ;
Mat gray;
Mat smallImg( cvRound (img.rows/scale), cvRound(img.cols/scale), CV_8UC1 );
cvtColor( img, gray, CV_BGR2GRAY );
resize( gray, smallImg, smallImg.size(), 0, 0, INTER_LINEAR );
equalizeHist( smallImg, smallImg );
tic();
vector<Rect> faces;
cascade.detectMultiScale(
smallImg,
faces,
1.1, 2, 0
//|CV_HAAR_FIND_BIGGEST_OBJECT
//|CV_HAAR_DO_ROUGH_SEARCH
|CV_HAAR_SCALE_IMAGE,
Size(30, 30)
);
double t = toc();
for( vector<Rect>::const_iterator r = faces.begin(); r != faces.end(); r++, i++ )
{
vector<Rect> nestedObjects;
Scalar color = colors[i%8];
Point center( cvRound((r->x + r->width*0.5)*scale),
cvRound((r->y + r->height*0.5)*scale) );
int radius = cvRound((r->width + r->height)*0.25*scale);
circle( img, center, radius, color, 3, 8, 0 );
if( !nestedCascade.empty() )
{
Mat smallImgROI = smallImg(*r);
nestedCascade.detectMultiScale(
smallImgROI,
nestedObjects,
1.1, 2, 0
//|CV_HAAR_FIND_BIGGEST_OBJECT
//|CV_HAAR_DO_ROUGH_SEARCH
//|CV_HAAR_DO_CANNY_PRUNING
|CV_HAAR_SCALE_IMAGE
,
Size(30, 30) );
for( vector<Rect>::const_iterator nr = nestedObjects.begin(); nr != nestedObjects.end(); nr++ )
{
center.x = cvRound((r->x + nr->x + nr->width*0.5)*scale);
center.y = cvRound((r->y + nr->y + nr->height*0.5)*scale);
radius = cvRound((nr->width + nr->height)*0.25*scale);
circle( img, center, radius, color, 3, 8, 0 );
}
}
}
//cv::imshow( "result", img );
return t;
}
int main(int argc, char * argv[])
{
// Print keys
cerr << "This is a highly modified version of the OpenCV facedetect demo." << endl;
cerr << "You can select a ROI (Region Of Interest) of a picture and see the detection time go down." << endl;
cerr << endl;
cerr << "Keys:" << endl;
cerr << "---------------" << endl;
cerr << "f = Toggle face detection" << endl;
cerr << "r = Reset ROI (enables or disables a selection)" << endl;
cerr << "i = Toggle integral image windows (sum/squared sum/tilted sum)" << endl;
cerr << "p = Saves all currently open windows to image files (e.g. \"Result TIMESTAMP.png\")" << endl;
cerr << "ESC = Exit the program" << endl;
// BEGIN Initialize the application
app.detectFace = false;
app.isSelecting = false;
app.showIntegralImages = false;
app.isExiting = false;
app.selectionEnabled = true;
cvInitFont(&(app.font), CV_FONT_HERSHEY_SIMPLEX, 0.5, 0.5, 0, 1, CV_AA);
app.frame = 0;
app.scale = 1;
// Load the cascades
if( !app.cascade.load("../data/haarcascades/haarcascade_mcs_eyepair_small.xml") )
{
cerr << "Failed to load cascade" << endl;
exit(1);
}
//if( !app.nestedCascade.load("../data/haarcascades/haarcascade_mcs_mouth.xml") )
//{
// cerr << "Failed to load nested cascade" << endl;
// exit(1);
//}
// END Initialize the application
// Create the result window
cvNamedWindow(WINDOW_RESULT, 1);
app.capture = cvCreateCameraCapture(CV_CAP_ANY);
IplImage * image = NULL;
if ( app.capture )
{
cerr << "Found a caputure interface." << endl;
image = cvQueryFrame(app.capture);
}
else
{
cerr << "No capture found. Using static image." << endl;
// Load the image
image = cvLoadImage( "../data/lena.jpg", 1 );
}
// See http://opencv.willowgarage.com/documentation/miscellaneous_image_transformations.html#integral
// "Using these integral images, one may calculate sum, mean and standard deviation over a specific
// up-right or rotated rectangular region of the image in a constant time [...]"
cvNamedWindow(WINDOW_INTEGRAL_IMAGE_SUM, 1);
cvNamedWindow(WINDOW_INTEGRAL_IMAGE_SQUARED_SUM, 1);
cvNamedWindow(WINDOW_INTEGRAL_IMAGE_TILTED_SUM, 1);
IplImage * integralImageSum = cvCreateImage(cvSize(image->width+1, image->height+1), 64, image->nChannels);
IplImage * integralImageSquaredSum = cvCreateImage(cvSize(image->width+1, image->height+1), 64, image->nChannels);
IplImage * integralImageTiltedSum = cvCreateImage(cvSize(image->width+1, image->height+1), 64, image->nChannels);
// Set a mouse callback for selection
cvSetMouseCallback(WINDOW_RESULT, onMouseSelection, image );
// A text buffer for detection processing time
char buf[255];
while ( !app.isExiting )
{
if ( app.capture )
{
app.frame = cvQueryFrame(app.capture);
}
else
{
// Capture a frame or simply clone the image if it's still
app.frame = cvCloneImage(image);
}
// Show integral image
if ( app.showIntegralImages )
{
cvIntegral(app.frame, integralImageSum, integralImageSquaredSum, integralImageTiltedSum);
cvShowImage(WINDOW_INTEGRAL_IMAGE_SUM, integralImageSum);
cvShowImage(WINDOW_INTEGRAL_IMAGE_SQUARED_SUM, integralImageSquaredSum);
cvShowImage(WINDOW_INTEGRAL_IMAGE_TILTED_SUM, integralImageTiltedSum);
}
// If selection is enabled, set the ROI otherwise reset the ROI
if ( app.selectionEnabled && app.selection.width > 0 && app.selection.height > 0 )
{
cvSetImageROI(app.frame, app.selection);
}
else
{
cvResetImageROI(app.frame);
}
// Create a matrix from the current frame
Mat frameMatrix = app.frame;
// Detect face
double processingTime = detectAndDraw(frameMatrix, app.cascade, app.nestedCascade, app.scale);
// Reset the image ROI, otherwise only the ROI will be shown
cvResetImageROI(app.frame);
// Print processing time for detection (after ROI reset!!)
if ( app.detectFace )
{
memset(buf, '\0', 255);
sprintf(buf, "Detection Time: %0.3gms", processingTime);
CvSize textBoundings;
int ymin;
cvGetTextSize(buf, &app.font, &textBoundings, &ymin);
CvPoint org = cvPoint(0, app.frame->height - 8);
cvRectangle(app.frame, cvPoint(org.x, org.y + ymin), cvPoint(org.x + textBoundings.width, org.y - textBoundings.height), cvScalar(0,0,0,0.5), CV_FILLED);
cvPutText(app.frame, buf, cvPoint(0, app.frame->height - 8), &app.font, CV_RGB(0,255,0));
}
// Draw the selection information immediately before showing the image
drawSelectionInfo();
// Show the composited image
cvShowImage(WINDOW_RESULT, app.frame );
// Control the program
int key = cvWaitKey(10);
if( (char) key == 27 )
{
app.isExiting = true;
}
switch( (char) key )
{
// Toggle face-detection
case 'f':
app.detectFace = app.detectFace ? false : true;
break;
// Toogle selection enabled
case 's':
case 'r':
app.selectionEnabled = app.selectionEnabled ? false : true;
//cerr << "Selection enabled status = " << app.selectionEnabled << endl;
break;
// Print/Save image to file
case 'p':
saveImage(app.frame, WINDOW_RESULT);
if ( app.showIntegralImages )
{
saveImage(integralImageSum, WINDOW_INTEGRAL_IMAGE_SUM);
saveImage(integralImageSquaredSum, WINDOW_INTEGRAL_IMAGE_SQUARED_SUM);
saveImage(integralImageTiltedSum, WINDOW_INTEGRAL_IMAGE_TILTED_SUM);
}
break;
// Show integral image
case 'i':
app.showIntegralImages = app.showIntegralImages ? false : true;
if( !app.showIntegralImages )
{
cvDestroyWindow(WINDOW_INTEGRAL_IMAGE_SUM);
cvDestroyWindow(WINDOW_INTEGRAL_IMAGE_SQUARED_SUM);
cvDestroyWindow(WINDOW_INTEGRAL_IMAGE_TILTED_SUM);
}
else
{
cvNamedWindow(WINDOW_INTEGRAL_IMAGE_SUM, 1 );
cvNamedWindow(WINDOW_INTEGRAL_IMAGE_SQUARED_SUM, 1 );
cvNamedWindow(WINDOW_INTEGRAL_IMAGE_TILTED_SUM, 1 );
}
break;
}
// Release the current frame (DON'T DO THIS IF CAPTURING!!!)
if ( !app.capture )
{
cvReleaseImage(&app.frame);
}
}
// Cleanup OpenCV
cvReleaseCapture(&app.capture);
cvReleaseImage(&integralImageSum);
cvReleaseImage(&integralImageSquaredSum);
cvReleaseImage(&integralImageTiltedSum);
cvReleaseImage(&image);
cvDestroyAllWindows();
return 0;
}
|
[
"[email protected]@842311ce-0f2e-11df-ac28-27e10010dbf6"
] |
[
[
[
1,
449
]
]
] |
7377746c1a416471a1a3a79fbd1468fadf8466e6
|
54cacc105d6bacdcfc37b10d57016bdd67067383
|
/trunk/source/level/models/Submesh.cpp
|
ddeba800081ed65191ffeb3d8bc47124ae4b3b35
|
[] |
no_license
|
galek/hesperus
|
4eb10e05945c6134901cc677c991b74ce6c8ac1e
|
dabe7ce1bb65ac5aaad144933d0b395556c1adc4
|
refs/heads/master
| 2020-12-31T05:40:04.121180 | 2009-12-06T17:38:49 | 2009-12-06T17:38:49 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 3,815 |
cpp
|
/***
* hesperus: Submesh.cpp
* Copyright Stuart Golodetz, 2009. All rights reserved.
***/
#include "Submesh.h"
#include <source/materials/Material.h>
#include <source/math/matrices/RBTMatrix.h>
#include "BoneHierarchy.h"
#include "ConfiguredBone.h"
#include "ConfiguredPose.h"
#include "Skeleton.h"
namespace hesp {
//#################### CONSTRUCTORS ####################
Submesh::Submesh(const std::vector<unsigned int>& vertIndices, const std::vector<ModelVertex>& vertices,
const Material_Ptr& material, const std::vector<TexCoords>& texCoords)
: m_vertIndices(vertIndices), m_vertices(vertices), m_vertArray(vertices.size() * 3), m_material(material)
{
if(m_material->uses_texcoords())
{
// Construct the tex coord array.
m_texCoordArray.resize(texCoords.size() * 2);
int texCoordCount = static_cast<int>(texCoords.size());
for(int i=0, offset=0; i<texCoordCount; ++i, offset+=2)
{
m_texCoordArray[offset] = texCoords[i].u;
m_texCoordArray[offset+1] = texCoords[i].v;
}
}
}
//#################### PUBLIC METHODS ####################
void Submesh::render() const
{
glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT);
glPushAttrib(GL_ENABLE_BIT | GL_POLYGON_BIT);
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(3, GL_DOUBLE, 0, &m_vertArray[0]);
if(m_material->uses_texcoords())
{
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glTexCoordPointer(2, GL_DOUBLE, 0, &m_texCoordArray[0]);
}
m_material->apply();
glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(m_vertIndices.size()), GL_UNSIGNED_INT, &m_vertIndices[0]);
glPopAttrib();
glPopClientAttrib();
}
void Submesh::skin(const Skeleton_CPtr& skeleton)
{
/*
Linear Blend Skinning Algorithm:
P = (\sum_i w_i * M_i * M_{0,i}^{-1}) * P_0 / (sum i w_i)
Each M_{0,i}^{-1} matrix gets P_0 (the rest vertex) into its corresponding bone's coordinate frame.
We construct matrices M_n * M_{0,n}^-1 for each n in advance to avoid repeating calculations.
I refer to these in the code as the 'skinning matrices'.
*/
BoneHierarchy_CPtr boneHierarchy = skeleton->bone_hierarchy();
ConfiguredPose_CPtr pose = skeleton->get_pose();
int boneCount = boneHierarchy->bone_count();
// Construct the skinning matrices.
std::vector<RBTMatrix_CPtr> skinningMatrices(boneCount);
for(int i=0; i<boneCount; ++i)
{
skinningMatrices[i] = pose->bones(i)->absolute_matrix() * skeleton->to_bone_matrix(i);
}
// Build the vertex array.
RBTMatrix_Ptr m = RBTMatrix::zeros(); // used as an accumulator for \sum_i w_i * M_i * M_{0,i}^{-1}
int vertCount = static_cast<int>(m_vertices.size());
for(int i=0, offset=0; i<vertCount; ++i, offset+=3)
{
const Vector3d& p0 = m_vertices[i].position();
const std::vector<BoneWeight>& boneWeights = m_vertices[i].bone_weights();
int boneWeightCount = static_cast<int>(boneWeights.size());
Vector3d p;
if(boneWeightCount != 0)
{
double boneWeightSum = 0;
for(int j=0; j<boneWeightCount; ++j)
{
int boneIndex = boneWeights[j].bone_index();
double boneWeight = boneWeights[j].weight();
boneWeightSum += boneWeight;
m->add_scaled(skinningMatrices[boneIndex], boneWeight);
}
// Note: This is effectively p = m*p0 (if we think of p0 as (p0.x, p0.y, p0.z, 1)).
p = m->apply_to_point(p0);
p /= boneWeightSum;
// Reset the accumulator matrix ready for the next vertex.
m->reset_to_zeros();
}
else
{
// If this vertex is unaffected by the armature (i.e. no bone weights have been assigned to it),
// use its rest position as its real position (it's the best we can do).
p = p0;
}
m_vertArray[offset] = p.x;
m_vertArray[offset+1] = p.y;
m_vertArray[offset+2] = p.z;
}
}
}
|
[
"[email protected]"
] |
[
[
[
1,
125
]
]
] |
7a5effcf4f565c3d810baee06d9eec82ce3ecf01
|
989aa92c9dab9a90373c8f28aa996c7714a758eb
|
/HydraIRC/CLogger.cpp
|
353795ce103d257824532491bf8bf167644d42f0
|
[] |
no_license
|
john-peterson/hydrairc
|
5139ce002e2537d4bd8fbdcebfec6853168f23bc
|
f04b7f4abf0de0d2536aef93bd32bea5c4764445
|
refs/heads/master
| 2021-01-16T20:14:03.793977 | 2010-04-03T02:10:39 | 2010-04-03T02:10:39 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 5,300 |
cpp
|
/*
HydraIRC
Copyright (C) 2002-2006 Dominic Clifton aka Hydra
HydraIRC limited-use source license
1) You can:
1.1) Use the source to create improvements and bug-fixes to send to the
author to be incorporated in the main program.
1.2) Use it for review/educational purposes.
2) You can NOT:
2.1) Use the source to create derivative works. (That is, you can't release
your own version of HydraIRC with your changes in it)
2.2) Compile your own version and sell it.
2.3) Distribute unmodified, modified source or compiled versions of HydraIRC
without first obtaining permission from the author. (I want one place
for people to come to get HydraIRC from)
2.4) Use any of the code or other part of HydraIRC in anything other than
HydraIRC.
3) All code submitted to the project:
3.1) Must not be covered by any license that conflicts with this license
(e.g. GPL code)
3.2) Will become the property of the author.
*/
#include "StdAfx.h"
#include "HydraIRC.h"
CLogger::CLogger(void)
{
m_LogFile.SetBufferSize(INTPREF(PREF_nLogBufferSize));
m_UpdateFrequency = INTPREF(PREF_nLogFlushInterval); // flush every X seconds
m_Flags = LOGF_NONE;
m_FilterList = NULL; // don't filter anything by default
m_SecondsSinceLastFlush = 0;
m_LogFolder = NULL;
m_LogFileName = NULL;
m_LogFormatStr = NULL;
CListener::Start(&g_EventManager);
}
CLogger::~CLogger(void)
{
Stop();
SetPaths(NULL,NULL);
if (m_LogFormatStr) free(m_LogFormatStr);
}
void CLogger::Stop( void )
{
if (m_LogFile.IsOpen())
{
sys_Printf(BIC_INFO,"Stopping logging to \"%s\"\n",m_LogFile.GetFileName());
m_LogFile.CloseFile();
}
m_Flags &= ~LOGF_ENABLED; // turn logging off.
}
void CLogger::Start( void )
{
// TODO: more error checking on the file IO
if (!m_LogFile.IsOpen()) // only if we're not already logging, to use a different filename, call Stop() first!
{
m_Flags &= ~LOGF_ENABLED; // turn logging off unles we actually start it ok.
if (!m_LogFolder || !m_LogFileName)
return; // yikes, no filenames yet!
ReplaceString(&m_LogFolder,"<HOMEDIR>",g_HomeDir);
if (!CreatePath(m_LogFolder))
sys_Printf(BIC_ERROR,"Could not create log directory \"%s\"\n",m_LogFolder);
char FileName[MAX_PATH];
_snprintf(FileName,sizeof(FileName),"%s\\%s",m_LogFolder,m_LogFileName);
if (!m_LogFile.CreateFile(FileName,
GENERIC_WRITE,
FILE_SHARE_READ,
NULL,
OPEN_ALWAYS,
FILE_ATTRIBUTE_NORMAL,
NULL))
{
/*
ErrorNum = MyFile.GetLastError();
printf("Error creating file - %d\n",ErrorNum);
if (ErrorNum == CBF_OS_ERROR)
{
printf("OS error, call OS error function..(GetLastError() = %d)\n",GetLastError());
}
*/
sys_Printf(BIC_ERROR,"Error opening log file \"%s\"\n",FileName);
}
else
{
// file ok!
m_LogFile.SetFilePointer(0,NULL,FILE_END); // seek to end.
m_SecondsSinceLastFlush = 0;
m_Flags |= LOGF_ENABLED; // it's running!
sys_Printf(BIC_INFO,"Starting logging to \"%s\"\n",FileName);
}
}
}
void CLogger::UpdateSettings(DWORD Flags)
{
Stop();
m_UpdateFrequency = INTPREF(PREF_nLogFlushInterval); // flush every X seconds
m_Flags = Flags;
m_LogFile.SetBufferSize(INTPREF(PREF_nLogBufferSize));
if (m_Flags & LOGF_ENABLED)
Start();
}
void CLogger::Flush( void )
{
m_SecondsSinceLastFlush = 0;
if (m_LogFile.IsOpen())
{
m_LogFile.Flush();
}
}
BOOL CLogger::NeedsFlushing( void )
{
return (m_LogFile.IsOpen() && (m_SecondsSinceLastFlush) > m_UpdateFrequency);
}
BOOL CLogger::Log( char *Data )
{
// don't log if logging is not enabled, or if the file is closed.
if (!(m_Flags & LOGF_ENABLED) || !m_LogFile.IsOpen())
return FALSE;
char *DataPtr;
if (m_Flags & LOGF_STRIPCODES)
{
DataPtr = strdup(Data);
if (DataPtr)
stripcodes(DataPtr);
}
else
{
DataPtr = Data;
}
int DataLength = strlen(DataPtr);
DWORD BytesWritten;
BOOL Success;
Success = m_LogFile.WriteFile(DataPtr,DataLength,&BytesWritten);
if (Success) Success = m_LogFile.WriteFile("\r\n",2,&BytesWritten);
if (m_Flags & LOGF_STRIPCODES && DataPtr)
free(DataPtr);
return Success;
}
void CLogger::SetPaths(char *Folder, char *FileName)
{
if (m_LogFolder) free(m_LogFolder);
if (m_LogFileName) free(m_LogFileName);
if (FileName)
ReplaceInvalidFilenameCharacters(FileName,'_');
m_LogFolder = Folder;
m_LogFileName = FileName;
}
// return a copy of the filename, don't forget to free() it
char *CLogger::GetFileName( void )
{
if (!(m_LogFolder && m_LogFileName))
return NULL;
char FileName[MAX_PATH];
_snprintf(FileName,sizeof(FileName),"%s\\%s",m_LogFolder,m_LogFileName);
return strdup(FileName);
}
void CLogger::OnEvent(int EventID, void *pData)
{
switch(EventID)
{
case EV_TICK:
if (m_LogFile.IsOpen())
{
m_SecondsSinceLastFlush++;
if (NeedsFlushing())
Flush();
}
break;
}
}
|
[
"hydra@b2473a34-e2c4-0310-847b-bd686bddb4b0"
] |
[
[
[
1,
208
]
]
] |
e83037d1e289f91ff77bc3d03e12686dee6ad0ab
|
91b964984762870246a2a71cb32187eb9e85d74e
|
/SRC/OFFI SRC!/_Common/TailEffectMng.h
|
8dca5c9fe411503a92829a05069f8dfc52c4931e
|
[] |
no_license
|
willrebuild/flyffsf
|
e5911fb412221e00a20a6867fd00c55afca593c7
|
d38cc11790480d617b38bb5fc50729d676aef80d
|
refs/heads/master
| 2021-01-19T20:27:35.200154 | 2011-02-10T12:34:43 | 2011-02-10T12:34:43 | 32,710,780 | 3 | 0 | null | null | null | null |
UHC
|
C++
| false | false | 4,520 |
h
|
#ifndef __TAILEFFECTMNG_H__
#define __TAILEFFECTMNG_H__
#ifdef __CLIENT
struct TAILVERTEX
{
D3DXVECTOR3 v;
D3DCOLOR color;
FLOAT tx, ty;
static const DWORD FVF;
};
struct TAIL
{
D3DXVECTOR3 m_vPos1; // 꼬리 좌표 1
D3DXVECTOR3 m_vPos2; // 꼬리 좌표 2
D3DXCOLOR m_clrDiffuse; // Initial diffuse color
D3DXCOLOR m_clrFade; // Faded diffuse color
FLOAT m_fFade; // Fade progression
TAIL* m_pNext; // Next Tail in list
};
class CTailModel
{
protected:
CSfxModel m_SfxModel[20];
public:
CTailModel();
~CTailModel();
};
class CTailModelMng
{
protected:
list<CTailModel*> m_ListTailModel;
public:
CTailModelMng();
~CTailModelMng();
};
class CTailEffect
{
protected:
int m_nType;
BOOL m_bActive;
FLOAT m_fFadeSpeed;
int m_nMaxTail;
public:
virtual void Init( void ) { m_nType = 0; m_bActive = FALSE; };
virtual void Create( int nType, FLOAT fFadeSpeed = 0.030f ) {};
virtual int CreateTail( const D3DXVECTOR3 &vPos1, const D3DXVECTOR3 &vPos2 ) { return 0; }
virtual void Clear( void ) {};
int GetType( void ) { return m_nType; }
BOOL IsActive() { return m_bActive; }
virtual void Destroy( void ) = 0;
virtual HRESULT FrameMove( void ) = 0;
virtual HRESULT InitDeviceObjects( LPDIRECT3DDEVICE9 pd3dDevice, LPCTSTR szFileName ) = 0;
virtual HRESULT RestoreDeviceObjects( LPDIRECT3DDEVICE9 pd3dDevice ) = 0;
virtual HRESULT InvalidateDeviceObjects() = 0;
virtual HRESULT Render( LPDIRECT3DDEVICE9 pd3dDevice ) = 0;
virtual HRESULT ChangeTexture( LPDIRECT3DDEVICE9 pd3dDevice, LPCTSTR szFileName, int nType ) { return S_OK; }
};
class CTailEffectBelt : public CTailEffect
{
protected:
TAIL *m_pPool;
int m_nPoolPtr;
DWORD m_dwBase;
DWORD m_dwFlush;
DWORD m_dwDiscard;
TAIL* m_pTails; // 리스트의 현재 포인터.
TAIL* m_pTailsFree; // 비어있는 포인터
LPDIRECT3DVERTEXBUFFER9 m_pVB;
virtual void Init( void );
virtual void Destroy( void );
public:
LPDIRECT3DTEXTURE9 m_pTexture;
CTailEffectBelt();
virtual ~CTailEffectBelt();
virtual void Create( int nType, FLOAT fFadeSpeed = 0.030f );
virtual int CreateTail( const D3DXVECTOR3 &vPos1, const D3DXVECTOR3 &vPos2 );
virtual void Clear( void );
virtual HRESULT FrameMove( void );
virtual HRESULT InitDeviceObjects( LPDIRECT3DDEVICE9 pd3dDevice, LPCTSTR szFileName );
virtual HRESULT RestoreDeviceObjects( LPDIRECT3DDEVICE9 pd3dDevice );
virtual HRESULT InvalidateDeviceObjects();
HRESULT ChangeTexture( LPDIRECT3DDEVICE9 pd3dDevice, LPCTSTR szFileName, int nType );
virtual HRESULT Render( LPDIRECT3DDEVICE9 pd3dDevice );
};
//CModelObject* pMesh=g_SfxMeshMng.Mesh(m_strTex);
typedef struct TAILMODEL
{
D3DXMATRIX m_mWorld;
int m_nFactor;
} TAILMODEL;
class CTailEffectModel : public CTailEffect
{
protected:
int m_nMaxTail;
CModelObject* m_pModel;
vector<TAILMODEL> m_vecTail;
virtual void Init( void );
virtual void Destroy( void );
public:
CTailEffectModel();
virtual ~CTailEffectModel();
virtual void Create( int nType, FLOAT fFadeSpeed = 0.030f );
virtual int CreateTail( D3DXMATRIX* pTail );
virtual void Clear( void );
virtual HRESULT FrameMove( void );
virtual HRESULT InitDeviceObjects( LPDIRECT3DDEVICE9 pd3dDevice, LPCTSTR szFileName );
virtual HRESULT RestoreDeviceObjects( LPDIRECT3DDEVICE9 pd3dDevice );
virtual HRESULT InvalidateDeviceObjects();
virtual HRESULT Render( LPDIRECT3DDEVICE9 pd3dDevice );
};
#define MAX_TAILEFFECT 32 // 최대 파티클 종류.
class CTailEffectMng
{
LPDIRECT3DDEVICE9 m_pd3dDevice;
int m_nMaxType;
CTailEffect* m_TailEffects[ MAX_TAILEFFECT ];
void Init( void );
void Destroy( void );
public:
BOOL m_bActive;
CTailEffectMng();
~CTailEffectMng();
HRESULT InitDeviceObjects( LPDIRECT3DDEVICE9 pd3dDevice ) { m_pd3dDevice = pd3dDevice; return S_OK; }
HRESULT RestoreDeviceObjects( LPDIRECT3DDEVICE9 pd3dDevice );
HRESULT InvalidateDeviceObjects();
CTailEffect *AddEffect( LPDIRECT3DDEVICE9 pd3dDevice, LPCTSTR szFileName, int nType, FLOAT fFadeSpeed = 0.030f );
int Delete( CTailEffect *pTail );
void Process( void );
void Render( LPDIRECT3DDEVICE9 pd3dDevice );
};
extern CTailEffectMng g_TailEffectMng;
#endif // CLIENT
#endif // __TAILEFFECTMNG_H__
|
[
"[email protected]@e2c90bd7-ee55-cca0-76d2-bbf4e3699278"
] |
[
[
[
1,
184
]
]
] |
2328e039a22b6982766936c5e3615af095b81432
|
41e29f395da420f773dccb1728c07b4544aa9165
|
/client.cpp
|
21c5c09f4449895f01d1d62105d78c655dd5a36c
|
[] |
no_license
|
mleece/PyBW
|
98d038ba2480cc7ae23952186fc09f461fb06b2a
|
7bd880a670851e84f8730ca667a2368e83c6a266
|
refs/heads/master
| 2020-11-30T11:54:27.496576 | 2011-11-30T01:15:28 | 2011-11-30T01:15:28 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 9,374 |
cpp
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <stdio.h>
#include <BWAPI.h>
#include <BWAPI\Client.h>
#include <BWTA.h>
#include <windows.h>
#include <string>
#include <Python.h>
#include "event_dispatcher.h"
#include "helper.h"
using namespace BWAPI;
void drawStats();
void drawBullets();
void drawVisibilityData();
void drawTerrainData();
void showPlayers();
void showForces();
bool show_bullets;
bool show_terrain_data;
bool show_visibility_data;
bool analyzed;
bool analysis_just_finished;
DWORD WINAPI AnalyzeThread();
void reconnect()
{
while(!BWAPIClient.connect())
{
Sleep(1000);
}
}
void add_workdir_to_pythonpath()
{
PyRun_SimpleString("import sys; import os; sys.path.insert(0, os.getcwd()); import pybw;");
}
void python_wrap_init();
void init()
{
BWAPI::BWAPI_init();
if (Py_IsInitialized())
{
printf("Python already initialized on init!\n");
}
else
{
Py_Initialize();
python_wrap_init();
// Import pybw (before event-listener), get any error message on console
PyRun_SimpleString("import pybw");
}
}
void uninit()
{
if (Py_IsInitialized())
{
Py_Finalize();
}
else
{
printf("Python not initialized on uninit!");
}
}
int main(int argc, const char* argv[])
{
init();
EventDispatcher event_dispatcher;
printf("Connecting...");
reconnect();
event_dispatcher.onConnect(BWAPI::Broodwar);
while(true)
{
printf("waiting to enter match\n");
while (!Broodwar->isInGame())
{
BWAPI::BWAPIClient.update();
if (!BWAPI::BWAPIClient.isConnected())
{
event_dispatcher.onDisconnect();
printf("Reconnecting...\n");
reconnect();
event_dispatcher.onConnect(BWAPI::Broodwar);
}
}
// Enable some cheat flags
Broodwar->enableFlag(Flag::UserInput);
// Uncomment to enable complete map information
//Broodwar->enableFlag(Flag::CompleteMapInformation);
//read map information into BWTA so terrain analysis can be done in another thread
BWTA::readMap();
analyzed=false;
analysis_just_finished=false;
show_bullets=false;
show_visibility_data=false;
show_terrain_data=true;
while(Broodwar->isInGame())
{
for(std::list<Event>::iterator e=Broodwar->getEvents().begin();e!=Broodwar->getEvents().end();e++)
{
event_dispatcher.dispatchEvent(&*e);
switch(e->getType())
{
case EventType::SendText:
if (e->getText()=="/show bullets")
{
show_bullets=!show_bullets;
} else if (e->getText()=="/show players")
{
showPlayers();
} else if (e->getText()=="/show forces")
{
showForces();
} else if (e->getText()=="/show visibility")
{
show_visibility_data=!show_visibility_data;
} else if (e->getText()=="/show terrain")
{
show_terrain_data=!show_terrain_data;
} else if (e->getText()=="/analyze")
{
if (analyzed == false)
{
Broodwar->printf("Analyzing map... this may take a minute");
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)AnalyzeThread, NULL, 0, NULL);
}
}
else
{
Broodwar->sendText("%s", e->getText().c_str());
}
break;
}
}
if (show_bullets)
drawBullets();
if (show_visibility_data)
drawVisibilityData();
if (!Broodwar->isReplay())
{
drawStats();
}
if (analysis_just_finished)
{
Broodwar->printf("Finished analyzing map.");
analysis_just_finished=false;
}
if (analyzed && show_terrain_data)
drawTerrainData();
BWAPI::BWAPIClient.update();
if (!BWAPI::BWAPIClient.isConnected())
{
event_dispatcher.onDisconnect();
printf("Reconnecting...\n");
reconnect();
event_dispatcher.onConnect(BWAPI::Broodwar);
}
}
}
uninit();
return 0;
}
DWORD WINAPI AnalyzeThread()
{
BWTA::analyze();
analyzed = true;
analysis_just_finished = true;
return 0;
}
void drawStats()
{
std::set<Unit*> myUnits = Broodwar->self()->getUnits();
Broodwar->drawTextScreen(5,0,"I have %d units:",myUnits.size());
std::map<UnitType, int> unitTypeCounts;
for(std::set<Unit*>::iterator i=myUnits.begin();i!=myUnits.end();i++)
{
if (unitTypeCounts.find((*i)->getType())==unitTypeCounts.end())
{
unitTypeCounts.insert(std::make_pair((*i)->getType(),0));
}
unitTypeCounts.find((*i)->getType())->second++;
}
int line=1;
for(std::map<UnitType,int>::iterator i=unitTypeCounts.begin();i!=unitTypeCounts.end();i++)
{
Broodwar->drawTextScreen(5,16*line,"- %d %ss",(*i).second, (*i).first.getName().c_str());
line++;
}
}
void drawBullets()
{
std::set<Bullet*> bullets = Broodwar->getBullets();
for(std::set<Bullet*>::iterator i=bullets.begin();i!=bullets.end();i++)
{
Position p=(*i)->getPosition();
double velocityX = (*i)->getVelocityX();
double velocityY = (*i)->getVelocityY();
if ((*i)->getPlayer()==Broodwar->self())
{
Broodwar->drawLineMap(p.x(),p.y(),p.x()+(int)velocityX,p.y()+(int)velocityY,Colors::Green);
Broodwar->drawTextMap(p.x(),p.y(),"\x07%s",(*i)->getType().getName().c_str());
}
else
{
Broodwar->drawLineMap(p.x(),p.y(),p.x()+(int)velocityX,p.y()+(int)velocityY,Colors::Red);
Broodwar->drawTextMap(p.x(),p.y(),"\x06%s",(*i)->getType().getName().c_str());
}
}
}
void drawVisibilityData()
{
for(int x=0;x<Broodwar->mapWidth();x++)
{
for(int y=0;y<Broodwar->mapHeight();y++)
{
if (Broodwar->isExplored(x,y))
{
if (Broodwar->isVisible(x,y))
Broodwar->drawDotMap(x*32+16,y*32+16,Colors::Green);
else
Broodwar->drawDotMap(x*32+16,y*32+16,Colors::Blue);
}
else
Broodwar->drawDotMap(x*32+16,y*32+16,Colors::Red);
}
}
}
void drawTerrainData()
{
//we will iterate through all the base locations, and draw their outlines.
for(std::set<BWTA::BaseLocation*>::const_iterator i=BWTA::getBaseLocations().begin();i!=BWTA::getBaseLocations().end();i++)
{
TilePosition p=(*i)->getTilePosition();
Position c=(*i)->getPosition();
//draw outline of center location
Broodwar->drawBox(CoordinateType::Map,p.x()*32,p.y()*32,p.x()*32+4*32,p.y()*32+3*32,Colors::Blue,false);
//draw a circle at each mineral patch
for(std::set<BWAPI::Unit*>::const_iterator j=(*i)->getStaticMinerals().begin();j!=(*i)->getStaticMinerals().end();j++)
{
Position q=(*j)->getInitialPosition();
Broodwar->drawCircle(CoordinateType::Map,q.x(),q.y(),30,Colors::Cyan,false);
}
//draw the outlines of vespene geysers
for(std::set<BWAPI::Unit*>::const_iterator j=(*i)->getGeysers().begin();j!=(*i)->getGeysers().end();j++)
{
TilePosition q=(*j)->getInitialTilePosition();
Broodwar->drawBox(CoordinateType::Map,q.x()*32,q.y()*32,q.x()*32+4*32,q.y()*32+2*32,Colors::Orange,false);
}
//if this is an island expansion, draw a yellow circle around the base location
if ((*i)->isIsland())
Broodwar->drawCircle(CoordinateType::Map,c.x(),c.y(),80,Colors::Yellow,false);
}
//we will iterate through all the regions and draw the polygon outline of it in green.
for(std::set<BWTA::Region*>::const_iterator r=BWTA::getRegions().begin();r!=BWTA::getRegions().end();r++)
{
BWTA::Polygon p=(*r)->getPolygon();
for(int j=0;j<(int)p.size();j++)
{
Position point1=p[j];
Position point2=p[(j+1) % p.size()];
Broodwar->drawLine(CoordinateType::Map,point1.x(),point1.y(),point2.x(),point2.y(),Colors::Green);
}
}
//we will visualize the chokepoints with red lines
for(std::set<BWTA::Region*>::const_iterator r=BWTA::getRegions().begin();r!=BWTA::getRegions().end();r++)
{
for(std::set<BWTA::Chokepoint*>::const_iterator c=(*r)->getChokepoints().begin();c!=(*r)->getChokepoints().end();c++)
{
Position point1=(*c)->getSides().first;
Position point2=(*c)->getSides().second;
Broodwar->drawLine(CoordinateType::Map,point1.x(),point1.y(),point2.x(),point2.y(),Colors::Red);
}
}
}
void showPlayers()
{
std::set<Player*> players=Broodwar->getPlayers();
for(std::set<Player*>::iterator i=players.begin();i!=players.end();i++)
{
Broodwar->printf("Player [%d]: %s is in force: %s",(*i)->getID(),(*i)->getName().c_str(), (*i)->getForce()->getName().c_str());
}
}
void showForces()
{
std::set<Force*> forces=Broodwar->getForces();
for(std::set<Force*>::iterator i=forces.begin();i!=forces.end();i++)
{
std::set<Player*> players=(*i)->getPlayers();
Broodwar->printf("Force %s has the following players:",(*i)->getName().c_str());
for(std::set<Player*>::iterator j=players.begin();j!=players.end();j++)
{
Broodwar->printf(" - Player [%d]: %s",(*j)->getID(),(*j)->getName().c_str());
}
}
}
|
[
"[email protected]",
"[email protected]"
] |
[
[
[
1,
120
],
[
122,
123
],
[
125,
126
],
[
128,
129
],
[
131,
132
],
[
134,
135
],
[
137,
138
],
[
140,
148
],
[
150,
334
]
],
[
[
121,
121
],
[
124,
124
],
[
127,
127
],
[
130,
130
],
[
133,
133
],
[
136,
136
],
[
139,
139
],
[
149,
149
]
]
] |
5879fab4c373519a399f08b913ca5903c0f2c966
|
fa609a5b5a0e7de3344988a135b923a0f655f59e
|
/Tests/Source/TestTokenBreak.cpp
|
907cec816f697efad0ccb60d7bd36d60549b9cb4
|
[
"MIT"
] |
permissive
|
Sija/swift
|
3edfd70e1c8d9d54556862307c02d1de7d400a7e
|
dddedc0612c0d434ebc2322fc5ebded10505792e
|
refs/heads/master
| 2016-09-06T09:59:35.416041 | 2007-08-30T02:29:30 | 2007-08-30T02:29:30 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 690 |
cpp
|
#include "stdafx.h"
#include <cppunit/extensions/HelperMacros.h>
#include "../../Source/stdafx.h"
#include "../../Source/tokens/Break.h"
using namespace Swift;
class TestTokenBreak : public CPPUNIT_NS::TestFixture {
public:
CPPUNIT_TEST_SUITE(TestTokenBreak);
CPPUNIT_TEST(testOutput);
CPPUNIT_TEST_SUITE_END();
public:
void setUp() { }
void tearDown() { }
protected:
void testOutput() {
iToken* token = new Tokens::Break;
try {
token->output();
CPPUNIT_ASSERT(!"no break exception");
} catch (const Tokens::BreakException& e) {
}
delete token;
}
};
CPPUNIT_TEST_SUITE_REGISTRATION(TestTokenBreak);
|
[
"[email protected]"
] |
[
[
[
1,
35
]
]
] |
2b204c317f417776c357d8bd3ed2e289169b5985
|
1c80a726376d6134744d82eec3129456b0ab0cbf
|
/Project/C++/C++/vc源码/FakeQQ/FakeQQ/ReplyMsgDlg.h
|
83ce3521fe83f26cd50ded980acde890cadfb855
|
[] |
no_license
|
dabaopku/project_pku
|
338a8971586b6c4cdc52bf82cdd301d398ad909f
|
b97f3f15cdc3f85a9407e6bf35587116b5129334
|
refs/heads/master
| 2021-01-19T11:35:53.500533 | 2010-09-01T03:42:40 | 2010-09-01T03:42:40 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,433 |
h
|
#if !defined(AFX_REPLYMSGDLG_H__8752D947_79C1_4887_8A45_DF5947196E78__INCLUDED_)
#define AFX_REPLYMSGDLG_H__8752D947_79C1_4887_8A45_DF5947196E78__INCLUDED_
#include "SendMsgDlg.h" // Added by ClassView
#include "MsgInfo.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ReplyMsgDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CReplyMsgDlg dialog
class CReplyMsgDlg : public CDialog
{
// Construction
public:
CMsgInfo * m_pMsg;
CReplyMsgDlg(CMsgInfo * pMsg, CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CReplyMsgDlg)
enum { IDD = IDD_REPLY_MSG_DLG };
CButton m_UserFace;
CString m_Msg;
CString m_Address;
CString m_UserName;
CString m_MsgTime;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CReplyMsgDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CReplyMsgDlg)
afx_msg void OnReplyMsg();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_REPLYMSGDLG_H__8752D947_79C1_4887_8A45_DF5947196E78__INCLUDED_)
|
[
"[email protected]@592586dc-1302-11df-8689-7786f20063ad"
] |
[
[
[
1,
55
]
]
] |
b14ec6ae67b183214f2d5bf00d75302e6709451b
|
4b0f51aeecddecf3f57a29ffa7a184ae48f1dc61
|
/CleanProject/OgreMaxLoader/Include/ApplicationUtilities.cpp
|
f0ef300ee174ff02c7ffc1346db514e85fa72290
|
[] |
no_license
|
bahao247/apeengine2
|
56560dbf6d262364fbc0f9f96ba4231e5e4ed301
|
f2617b2a42bdf2907c6d56e334c0d027fb62062d
|
refs/heads/master
| 2021-01-10T14:04:02.319337 | 2009-08-26T08:23:33 | 2009-08-26T08:23:33 | 45,979,392 | 0 | 1 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,201 |
cpp
|
/*
* OgreMaxViewer - An Ogre 3D-based viewer for .scene and .mesh files
* Copyright 2008 Derek Nedelman
*
* This code is available under the OgreMax Free License:
* -You may use this code for any purpose, commercial or non-commercial.
* -If distributing derived works (that use this source code) in binary or source code form,
* you must give the following credit in your work's end-user documentation:
* "Portions of this work provided by OgreMax (www.ogremax.com)"
*
* Derek Nedelman assumes no responsibility for any harm caused by using this code.
*
* OgreMaxViewer was written by Derek Nedelman and released at www.ogremax.com
*/
//Includes---------------------------------------------------------------------
#include "ApplicationUtilities.hpp"
using namespace Ogre;
using namespace OgreMax;
//Implementation---------------------------------------------------------------
void ApplicationUtilities::CopyCameraSettings(Camera* destinationCamera, const Camera* sourceCamera)
{
destinationCamera->setPosition(sourceCamera->getRealPosition());
destinationCamera->setOrientation(sourceCamera->getRealOrientation());
destinationCamera->setNearClipDistance(sourceCamera->getNearClipDistance());
destinationCamera->setFarClipDistance(sourceCamera->getFarClipDistance());
destinationCamera->setProjectionType(sourceCamera->getProjectionType());
destinationCamera->setFOVy(sourceCamera->getFOVy());
}
bool ApplicationUtilities::ChooseShadowPixelFormat(PixelFormat& pixelFormat, const String& cameraSetup)
{
//Non-depth shadow maps use a non-floating point pixel format
//In Direct3D this is essential since the default OgreMax shadow texture pixel format is floating point,
//which causes the texture shadows to appear blue
String cameraSetupLower = cameraSetup;
StringUtil::toLowerCase(cameraSetupLower);
if (cameraSetupLower.empty() ||
cameraSetupLower == "uniform" ||
cameraSetupLower == "uniformfocused" ||
cameraSetupLower == "planeoptimal")
{
pixelFormat = PF_L8;
return true;
}
else
return false;
}
|
[
"pablosn@06488772-1f9a-11de-8b5c-13accb87f508"
] |
[
[
[
1,
51
]
]
] |
61769bbf8d98b624bd9602bf5b6204075eddd5b8
|
4fac8e482c7fb1cec9d2a7be618757a22ec12816
|
/libraries/Menu/Menu.cpp
|
3b82853f77b54204448f043faf6392fed68e9536
|
[] |
no_license
|
robomotic/RobotUGV
|
5d32ada2b6114f99b3323b09b7a20758c872caaa
|
2fb067b535d0a41473dcba0903339d6d85628a5a
|
refs/heads/master
| 2021-01-01T16:05:34.134641 | 2011-06-28T09:15:16 | 2011-06-28T09:15:16 | 1,965,337 | 1 | 1 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,525 |
cpp
|
/*
||
|| @file Menu.cpp
|| @version 1.0
|| @author Alexander Brevig
|| @contact [email protected]
||
|| @description
|| | Provide an easy way of making menus
|| #
||
|| @license
|| | This library is free software; you can redistribute it and/or
|| | modify it under the terms of the GNU Lesser General Public
|| | License as published by the Free Software Foundation; version
|| | 2.1 of the License.
|| |
|| | This library is distributed in the hope that it will be useful,
|| | but WITHOUT ANY WARRANTY; without even the implied warranty of
|| | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|| | Lesser General Public License for more details.
|| |
|| | You should have received a copy of the GNU Lesser General Public
|| | License along with this library; if not, write to the Free Software
|| | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|| #
||
*/
#include "Menu.h"
Menu::Menu( void (*onMenuUse)(MenuItemInterface*) ){
menuUse = onMenuUse;
menuChange = 0;
previousIndex = currentIndex = numberOfMenuItems = 0;
item[currentIndex] = 0;
}
Menu::Menu( void (*onMenuUse)(MenuItemInterface*) , void (*onMenuChange)(MenuItemInterface*) ){
menuUse = onMenuUse;
menuChange = onMenuChange;
previousIndex = currentIndex = numberOfMenuItems = 0;
item[currentIndex] = 0;
}
void Menu::up(){
select(currentIndex+1);
}
void Menu::down(){
select(currentIndex-1);
}
void Menu::previous(){
select(previousIndex);
}
bool Menu::select(byte select){
if (select>=0 && select<numberOfMenuItems){
setCurrentIndex(select);
if (menuChange!=0){
menuChange( item[currentIndex]->use() );
}
return true;
}
return false;
}
void Menu::use(){
menuUse(item[currentIndex]->use());
}
MenuItemInterface* Menu::getCurrentItem(){
return item[currentIndex];
}
bool Menu::addMenuItem( MenuItem& menuItem ){
if (numberOfMenuItems+1<MAXIMUM_MENU_ITEMS){
item[numberOfMenuItems++] = &menuItem;
return true;
}
return false;
}
bool Menu::isCurrentSubMenu(){ return item[currentIndex]->isSubMenu(); }
//private
void Menu::setCurrentIndex( byte select ){
if (select>=0 && select<numberOfMenuItems){
previousIndex = currentIndex;
currentIndex = select;
}
}
/*
|| @changelog
|| | 1.0 2009-04-22 - Alexander Brevig : Initial Release
|| #
*/
|
[
"robomotic@robomotic-lap.(none)"
] |
[
[
[
1,
98
]
]
] |
3617460bc3e1fbfffa7b5857db41ceef26262cf9
|
9a48be80edc7692df4918c0222a1640545384dbb
|
/Libraries/Boost1.40/libs/fusion/test/sequence/zip_view2.cpp
|
9459089bc4fba7b385ce8aee23b2e1d144c86233
|
[
"BSL-1.0"
] |
permissive
|
fcrick/RepSnapper
|
05e4fb1157f634acad575fffa2029f7f655b7940
|
a5809843f37b7162f19765e852b968648b33b694
|
refs/heads/master
| 2021-01-17T21:42:29.537504 | 2010-06-07T05:38:05 | 2010-06-07T05:38:05 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,981 |
cpp
|
/*=============================================================================
Copyright (c) 2001-2006 Joel de Guzman
Copyright (c) 2006 Dan Marsden
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
#include <boost/detail/lightweight_test.hpp>
#include <boost/detail/lightweight_test.hpp>
#include <boost/fusion/support/category_of.hpp>
#include <boost/fusion/view/zip_view.hpp>
#include <boost/fusion/container/vector.hpp>
#include <boost/fusion/container/list.hpp>
#include <boost/fusion/sequence/intrinsic/size.hpp>
#include <boost/fusion/sequence/intrinsic/at.hpp>
#include <boost/fusion/sequence/intrinsic/front.hpp>
#include <boost/fusion/sequence/intrinsic/back.hpp>
#include <boost/fusion/iterator/next.hpp>
#include <boost/fusion/iterator/prior.hpp>
#include <boost/fusion/iterator/deref.hpp>
#include <boost/fusion/iterator/advance.hpp>
#include <boost/fusion/sequence/comparison/equal_to.hpp>
#include <boost/fusion/container/generation/make_vector.hpp>
#include <boost/fusion/adapted/mpl.hpp>
#include <boost/mpl/assert.hpp>
#include <boost/mpl/equal_to.hpp>
#include <boost/type_traits/is_reference.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/static_assert.hpp>
int main()
{
{
using namespace boost::fusion;
typedef vector2<int,int> int_vector;
typedef vector2<char,char> char_vector;
typedef list<char,char> char_list;
typedef vector<int_vector&, char_vector&, char_list&> seqs_type;
typedef zip_view<seqs_type> view;
BOOST_MPL_ASSERT((boost::mpl::equal_to<boost::fusion::result_of::size<view>::type, boost::fusion::result_of::size<int_vector>::type>));
BOOST_STATIC_ASSERT((boost::fusion::result_of::size<view>::value == 2));
int_vector iv(1,2);
char_vector cv('a', 'b');
char_list cl('y','z');
seqs_type seqs(iv, cv, cl);
view v(seqs);
BOOST_TEST(at_c<0>(v) == make_vector(1, 'a', 'y'));
BOOST_TEST(at_c<1>(v) == make_vector(2, 'b', 'z'));
BOOST_TEST(front(v) == make_vector(1, 'a', 'y'));
BOOST_TEST(*next(begin(v)) == make_vector(2, 'b', 'z'));
BOOST_TEST(advance_c<2>(begin(v)) == end(v));
BOOST_TEST(distance(begin(v), end(v)) == 2);
BOOST_STATIC_ASSERT((boost::fusion::result_of::distance<boost::fusion::result_of::begin<view>::type, boost::fusion::result_of::end<view>::type>::value == 2));
BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_at_c<view,0>::type, vector<int,char,char> >));
BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::value_of<boost::fusion::result_of::begin<view>::type>::type, vector<int,char,char> >));
}
return boost::report_errors();
}
|
[
"metrix@Blended.(none)"
] |
[
[
[
1,
64
]
]
] |
751e0c61abd80b9cf9a88f465705bbdcdceeccaf
|
fbe2cbeb947664ba278ba30ce713810676a2c412
|
/iptv_root/iptv_client/src/iptv_client/DebugWindow.cpp
|
ce2fdb61746ecc791e9c8d4e2921f76415e72ede
|
[] |
no_license
|
abhipr1/multitv
|
0b3b863bfb61b83c30053b15688b070d4149ca0b
|
6a93bf9122ddbcc1971dead3ab3be8faea5e53d8
|
refs/heads/master
| 2020-12-24T15:13:44.511555 | 2009-06-04T17:11:02 | 2009-06-04T17:11:02 | 41,107,043 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,015 |
cpp
|
#include <wx/wx.h>
#include "DebugWindow.h"
/** Default constructor.
*/
DebugWindow::DebugWindow() : wxFrame()
{
}
/** Constructor that creates the window in a single pass.
* @param[in] parent Parent window. May be NULL.
* @param[in] id Window ID.
* @param[in] title Window title.
* @param[in] size Window size.
* @param[in] pos Window position.
* @param[in] style Window style. See wxWidgets documentation.
* @param[in] name Window name. See wxWidgets documentation.
*/
DebugWindow::DebugWindow(wxWindow *parent, wxWindowID id, const wxString &title,
const wxSize &size, const wxPoint &pos, long style, const wxString &name) : wxFrame()
{
Create(parent, id, title, size, pos, style, name);
}
/** Creates the window. Used for two-step window creation.
* @param[in] parent Parent window. May be NULL.
* @param[in] id Window ID.
* @param[in] title Window title.
* @param[in] size Window size.
* @param[in] pos Window position.
* @param[in] style Window style. See wxWidgets documentation.
* @param[in] name Window name. See wxWidgets documentation.
* @remarks Do not call this function if the single-step creation constructor is used.
*/
bool DebugWindow::Create(wxWindow *parent, wxWindowID id, const wxString &title,
const wxSize &size, const wxPoint &pos, long style, const wxString &name)
{
bool ret = wxFrame::Create(parent, id, title, pos, size, style, name);
if (ret) CreateControls();
return ret;
}
/** Creates the controls inside the window.
*/
void DebugWindow::CreateControls()
{
m_txtOutput = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_READONLY);
}
/** Adds a message line to the output text box.
* @param[in] msg Message to be added.
*/
void DebugWindow::SetDebugMessage(const wxString &msg)
{
wxString timeStr;
timeStr << wxT("[") << wxDateTime::UNow().FormatTime() << wxT("] ");
m_txtOutput->AppendText(timeStr + msg + wxT("\n"));
}
|
[
"heineck@c016ff2c-3db2-11de-a81c-fde7d73ceb89"
] |
[
[
[
1,
59
]
]
] |
f887e0b14af20417740f6dcf78660f0631975c1b
|
b2d46af9c6152323ce240374afc998c1574db71f
|
/cursovideojuegos/theflostiproject/3rdParty/boost/libs/python/example/getting_started1.cpp
|
68fc8def85e9531d15eac110128b26c61ba527c4
|
[] |
no_license
|
bugbit/cipsaoscar
|
601b4da0f0a647e71717ed35ee5c2f2d63c8a0f4
|
52aa8b4b67d48f59e46cb43527480f8b3552e96d
|
refs/heads/master
| 2021-01-10T21:31:18.653163 | 2011-09-28T16:39:12 | 2011-09-28T16:39:12 | 33,032,640 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 874 |
cpp
|
// Copyright Ralf W. Grosse-Kunstleve 2002-2004. Distributed under the Boost
// Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <string>
namespace { // Avoid cluttering the global namespace.
// A couple of simple C++ functions that we want to expose to Python.
std::string greet() { return "hello, world"; }
int square(int number) { return number * number; }
}
#include <boost/python/module.hpp>
#include <boost/python/def.hpp>
namespace python = boost::python;
// Python requires an exported function called init<module-name> in every
// extension module. This is where we build the module contents.
BOOST_PYTHON_MODULE(getting_started1)
{
// Add regular functions to the module.
python::def("greet", greet);
python::def("square", square);
}
|
[
"ohernandezba@71d53fa2-cca5-e1f2-4b5e-677cbd06613a"
] |
[
[
[
1,
25
]
]
] |
4d0bd6a295cdfd39717074ab808f5296825a8cc0
|
b14d5833a79518a40d302e5eb40ed5da193cf1b2
|
/cpp/extern/xercesc++/2.6.0/src/xercesc/dom/deprecated/ParentNode.cpp
|
19223a2eff8d08a29ca11d9a1c53aef053ea6a4b
|
[
"Apache-2.0"
] |
permissive
|
andyburke/bitflood
|
dcb3fb62dad7fa5e20cf9f1d58aaa94be30e82bf
|
fca6c0b635d07da4e6c7fbfa032921c827a981d6
|
refs/heads/master
| 2016-09-10T02:14:35.564530 | 2011-11-17T09:51:49 | 2011-11-17T09:51:49 | 2,794,411 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 15,206 |
cpp
|
/*
* Copyright 1999-2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: ParentNode.cpp,v 1.5 2004/09/08 13:55:44 peiyongz Exp $
*
* <p><b>WARNING</b>: Some of the code here is partially duplicated in
* AttrImpl, be careful to keep these two classes in sync!
*/
#include "ParentNode.hpp"
#include "DOM_DOMException.hpp"
#include "TextImpl.hpp"
#include "DocumentImpl.hpp"
#include "RangeImpl.hpp"
XERCES_CPP_NAMESPACE_BEGIN
ParentNode::ParentNode(DocumentImpl *ownerDoc)
: ChildNode(ownerDoc)
{
this->ownerDocument = ownerDoc;
this->firstChild = null;
fCachedLength = -1;
fCachedChild = null;
fCachedChildIndex = -1;
};
// This only makes a shallow copy, cloneChildren must also be called for a
// deep clone
ParentNode::ParentNode(const ParentNode &other)
: ChildNode(other)
{
this->ownerDocument = other.ownerDocument;
// Need to break the association w/ original kids
this->firstChild = null;
fCachedLength = -1;
fCachedChild = null;
fCachedChildIndex = -1;
};
void ParentNode::cloneChildren(const NodeImpl &other) {
// for (NodeImpl *mykid = other.getFirstChild();
for (NodeImpl *mykid = ((NodeImpl&)other).getFirstChild();
mykid != null;
mykid = mykid->getNextSibling()) {
this->appendChild(mykid->cloneNode(true));
}
}
DocumentImpl * ParentNode::getOwnerDocument() {
return ownerDocument;
}
// unlike getOwnerDocument this is not overriden by DocumentImpl to return null
DocumentImpl * ParentNode::getDocument() {
return ownerDocument;
}
void ParentNode::setOwnerDocument(DocumentImpl *doc) {
ownerDocument = doc;
for (NodeImpl *child = firstChild;
child != null; child = child->getNextSibling()) {
child->setOwnerDocument(doc);
}
}
NodeListImpl *ParentNode::getChildNodes() {
return this;
};
NodeImpl * ParentNode::getFirstChild() {
return firstChild;
};
NodeImpl * ParentNode::getLastChild()
{
return lastChild();
};
ChildNode * ParentNode::lastChild()
{
// last child is stored as the previous sibling of first child
return firstChild != null ? firstChild->previousSibling : null;
};
void ParentNode::lastChild(ChildNode *node) {
// store lastChild as previous sibling of first child
if (firstChild != null) {
firstChild->previousSibling = node;
}
}
unsigned int ParentNode::getLength() {
if (fCachedLength == -1) { // is the cached length invalid ?
ChildNode *node;
// start from the cached node if we have one
if (fCachedChildIndex != -1 && fCachedChild != null) {
fCachedLength = fCachedChildIndex;
node = fCachedChild;
} else {
node = firstChild;
fCachedLength = 0;
}
while (node != null) {
fCachedLength++;
node = node->nextSibling;
}
}
return fCachedLength;
};
bool ParentNode::hasChildNodes()
{
return firstChild!=null;
};
NodeImpl *ParentNode::insertBefore(NodeImpl *newChild, NodeImpl *refChild) {
bool errorChecking = ownerDocument->getErrorChecking();
if (newChild->isDocumentFragmentImpl()) {
// SLOW BUT SAFE: We could insert the whole subtree without
// juggling so many next/previous pointers. (Wipe out the
// parent's child-list, patch the parent pointers, set the
// ends of the list.) But we know some subclasses have special-
// case behavior they add to insertBefore(), so we don't risk it.
// This approch also takes fewer bytecodes.
// NOTE: If one of the children is not a legal child of this
// node, throw HIERARCHY_REQUEST_ERR before _any_ of the children
// have been transferred. (Alternative behaviors would be to
// reparent up to the first failure point or reparent all those
// which are acceptable to the target node, neither of which is
// as robust. PR-DOM-0818 isn't entirely clear on which it
// recommends?????
// No need to check kids for right-document; if they weren't,
// they wouldn't be kids of that DocFrag.
if (errorChecking) {
for (NodeImpl *kid = newChild->getFirstChild(); // Prescan
kid != null; kid = kid->getNextSibling()) {
if (!DocumentImpl::isKidOK(this, kid)) {
throw DOM_DOMException(
DOM_DOMException::HIERARCHY_REQUEST_ERR,
null);
}
}
}
while (newChild->hasChildNodes()) { // Move
insertBefore(newChild->getFirstChild(),refChild);
}
return newChild;
}
// it's a no-op if refChild is the same as newChild
if (refChild == newChild) {
return newChild;
}
if (errorChecking) {
if (isReadOnly()) {
throw DOM_DOMException(
DOM_DOMException::NO_MODIFICATION_ALLOWED_ERR,
null);
}
if (newChild->getOwnerDocument() != ownerDocument) {
throw DOM_DOMException(DOM_DOMException::WRONG_DOCUMENT_ERR, null);
}
if (!DocumentImpl::isKidOK(this, newChild)) {
throw DOM_DOMException(DOM_DOMException::HIERARCHY_REQUEST_ERR,
null);
}
// refChild must be a child of this node (or null)
if (refChild != null && refChild->getParentNode() != this) {
throw DOM_DOMException(DOM_DOMException::NOT_FOUND_ERR, null);
}
// Prevent cycles in the tree
// newChild cannot be ancestor of this Node,
// and actually cannot be this
bool treeSafe = true;
for (NodeImpl *a = this; treeSafe && a != null; a = a->getParentNode())
{
treeSafe = (newChild != a);
}
if (!treeSafe) {
throw DOM_DOMException(DOM_DOMException::HIERARCHY_REQUEST_ERR,
null);
}
}
// Convert to internal type, to avoid repeated casting
ChildNode * newInternal = (ChildNode *)newChild;
NodeImpl *oldparent = newInternal->getParentNode();
if (oldparent != null) {
oldparent->removeChild(newInternal);
}
// Convert to internal type, to avoid repeated casting
ChildNode *refInternal = (ChildNode *)refChild;
// Attach up
newInternal->ownerNode = this;
newInternal->isOwned(true);
// Attach before and after
// Note: firstChild.previousSibling == lastChild!!
if (firstChild == null) {
// this our first and only child
firstChild = newInternal;
newInternal->isFirstChild(true);
newInternal->previousSibling = newInternal;
}
else {
if (refInternal == null) {
// this is an append
ChildNode *lastChild = firstChild->previousSibling;
lastChild->nextSibling = newInternal;
newInternal->previousSibling = lastChild;
firstChild->previousSibling = newInternal;
}
else {
// this is an insert
if (refChild == firstChild) {
// at the head of the list
firstChild->isFirstChild(false);
newInternal->nextSibling = firstChild;
newInternal->previousSibling = firstChild->previousSibling;
firstChild->previousSibling = newInternal;
firstChild = newInternal;
newInternal->isFirstChild(true);
}
else {
// somewhere in the middle
ChildNode *prev = refInternal->previousSibling;
newInternal->nextSibling = refInternal;
prev->nextSibling = newInternal;
refInternal->previousSibling = newInternal;
newInternal->previousSibling = prev;
}
}
}
changed();
// update cached length if we have any
if (fCachedLength != -1) {
fCachedLength++;
}
if (fCachedChildIndex != -1) {
// if we happen to insert just before the cached node, update
// the cache to the new node to match the cached index
if (fCachedChild == refInternal) {
fCachedChild = newInternal;
}
else {
// otherwise just invalidate the cache
fCachedChildIndex = -1;
}
}
if (this->getOwnerDocument() != null) {
typedef RefVectorOf<RangeImpl> RangeImpls;
RangeImpls* ranges = this->getOwnerDocument()->getRanges();
if ( ranges != null) {
unsigned int sz = ranges->size();
for (unsigned int i =0; i<sz; i++) {
ranges->elementAt(i)->updateRangeForInsertedNode(newInternal);
}
}
}
return newInternal;
};
NodeImpl *ParentNode::item(unsigned int uindex) {
// short way
int index = uindex;
if (fCachedChildIndex != -1 && fCachedChild != null) {
if (fCachedChildIndex < index) {
while (fCachedChildIndex < index && fCachedChild != null) {
fCachedChildIndex++;
fCachedChild = fCachedChild->nextSibling;
}
}
else if (fCachedChildIndex > index) {
while (fCachedChildIndex > index && fCachedChild != null) {
fCachedChildIndex--;
fCachedChild = (ChildNode *)fCachedChild->getPreviousSibling();
}
}
return fCachedChild;
}
// long way
fCachedChild = firstChild;
for (fCachedChildIndex = 0;
fCachedChildIndex < index && fCachedChild != null;
fCachedChildIndex++) {
fCachedChild = fCachedChild->nextSibling;
}
return fCachedChild;
};
NodeImpl *ParentNode::removeChild(NodeImpl *oldChild)
{
if (ownerDocument->getErrorChecking()) {
if (isReadOnly()) {
throw DOM_DOMException(
DOM_DOMException::NO_MODIFICATION_ALLOWED_ERR,
null);
}
if (oldChild == null || oldChild->getParentNode() != this) {
throw DOM_DOMException(DOM_DOMException::NOT_FOUND_ERR, null);
}
}
//fix other ranges for change before deleting the node
if (getOwnerDocument() != null) {
typedef RefVectorOf<RangeImpl> RangeImpls;
RangeImpls* ranges = this->getOwnerDocument()->getRanges();
if (ranges != null) {
unsigned int sz = ranges->size();
if (sz != 0) {
for (unsigned int i =0; i<sz; i++) {
if (ranges->elementAt(i) != null)
ranges->elementAt(i)->updateRangeForDeletedNode(oldChild);
}
}
}
}
ChildNode * oldInternal = (ChildNode *) oldChild;
// update cached length if we have any
if (fCachedLength != -1) {
fCachedLength--;
}
if (fCachedChildIndex != -1) {
// if the removed node is the cached node
// move the cache to its (soon former) previous sibling
if (fCachedChild == oldInternal) {
fCachedChildIndex--;
fCachedChild = (ChildNode *)oldInternal->getPreviousSibling();
} else {
// otherwise just invalidate the cache
fCachedChildIndex = -1;
}
}
// Patch linked list around oldChild
// Note: lastChild == firstChild->previousSibling
if (oldInternal == firstChild) {
// removing first child
oldInternal->isFirstChild(false);
firstChild = oldInternal->nextSibling;
if (firstChild != null) {
firstChild->isFirstChild(true);
firstChild->previousSibling = oldInternal->previousSibling;
}
} else {
ChildNode *prev = oldInternal->previousSibling;
ChildNode *next = oldInternal->nextSibling;
prev->nextSibling = next;
if (next == null) {
// removing last child
firstChild->previousSibling = prev;
} else {
// removing some other child in the middle
next->previousSibling = prev;
}
}
// Remove oldInternal's references to tree
oldInternal->ownerNode = ownerDocument;
oldInternal->isOwned(false);
oldInternal->nextSibling = null;
oldInternal->previousSibling = null;
changed();
return oldInternal;
};
NodeImpl *ParentNode::replaceChild(NodeImpl *newChild, NodeImpl *oldChild)
{
insertBefore(newChild, oldChild);
if (newChild != oldChild) {
removeChild(oldChild);
}
// changed() already done.
return oldChild;
};
void ParentNode::setReadOnly(bool readOnl, bool deep)
{
NodeImpl::setReadOnly(readOnl, deep);
if (deep)
// Recursively set kids
for (ChildNode *mykid = firstChild;
mykid != null;
mykid = mykid->nextSibling)
if(! (mykid->isEntityReference()))
mykid->setReadOnly(readOnl,true);
};
//Introduced in DOM Level 2
void ParentNode::normalize()
{
ChildNode *kid, *next;
for (kid = firstChild; kid != null; kid = next)
{
next = kid->nextSibling;
// If kid and next are both Text nodes (but _not_ CDATASection,
// which is a subclass of Text), they can be merged.
if (next != null &&
kid->isTextImpl() && !(kid->isCDATASectionImpl()) &&
next->isTextImpl() && !(next->isCDATASectionImpl()) )
{
((TextImpl *) kid)->appendData(((TextImpl *) next)->getData());
removeChild(next);
if (next->nodeRefCount == 0)
deleteIf(next);
next = kid; // Don't advance; there might be another.
}
// Otherwise it might be an Element, which is handled recursively
else
if (kid->isElementImpl())
kid->normalize();
};
// changed() will have occurred when the removeChild() was done,
// so does not have to be reissued.
};
XERCES_CPP_NAMESPACE_END
|
[
"[email protected]"
] |
[
[
[
1,
475
]
]
] |
2f1ae9eb5df4199f5148a5fdb17fd46b844be4b6
|
df96cbce59e3597f2aecc99ae123311abe7fce94
|
/ext_tools/include/soci/statement.h
|
e2cc08108f52c058325208be15686406ab77e814
|
[] |
no_license
|
abhishekbhalani/webapptools
|
f08b9f62437c81e0682497923d444020d7b319a2
|
93b6034e0a9e314716e072eb6d3379d92014f25a
|
refs/heads/master
| 2021-01-22T17:58:00.860044 | 2011-12-14T10:54:11 | 2011-12-14T10:54:11 | 40,562,019 | 2 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 7,238 |
h
|
//
// Copyright (C) 2004-2008 Maciej Sobczak, Stephen Hutton
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef SOCI_STATEMENT_H_INCLUDED
#define SOCI_STATEMENT_H_INCLUDED
#include "into-type.h"
#include "into.h"
#include "use-type.h"
#include "soci-backend.h"
#include "row.h"
// std
#include <cstddef>
#include <string>
#include <map>
#include <vector>
namespace soci
{
class session;
class values;
namespace details
{
class into_type_base;
class use_type_base;
class prepare_temp_type;
class SOCI_DECL statement_impl
{
public:
explicit statement_impl(session & s);
explicit statement_impl(prepare_temp_type const & prep);
~statement_impl();
void alloc();
void bind(values & v);
void exchange(into_type_ptr const & i);
void exchange(use_type_ptr const & u);
void clean_up();
void prepare(std::string const & query,
statement_type eType = st_repeatable_query);
void define_and_bind();
void undefine_and_bind();
bool execute(bool withDataExchange = false);
long long get_affected_rows();
bool fetch();
void describe();
void set_row(row * r);
void exchange_for_rowset(into_type_ptr const & i);
// for diagnostics and advanced users
// (downcast it to expected back-end statement class)
statement_backend * get_backend() { return backEnd_; }
standard_into_type_backend * make_into_type_backend();
standard_use_type_backend * make_use_type_backend();
vector_into_type_backend * make_vector_into_type_backend();
vector_use_type_backend * make_vector_use_type_backend();
void inc_ref();
void dec_ref();
session & session_;
std::string rewrite_for_procedure_call(std::string const & query);
protected:
std::vector<details::into_type_base *> intos_;
std::vector<details::use_type_base *> uses_;
std::vector<indicator *> indicators_;
private:
int refCount_;
row * row_;
std::size_t fetchSize_;
std::size_t initialFetchSize_;
std::string query_;
std::map<std::string, use_type_base *> namedUses_;
std::vector<into_type_base *> intosForRow_;
int definePositionForRow_;
void exchange_for_row(into_type_ptr const & i);
void define_for_row();
template<typename T>
void into_row()
{
T * t = new T();
indicator * ind = new indicator(i_ok);
row_->add_holder(t, ind);
exchange_for_row(into(*t, *ind));
}
template<data_type>
void bind_into();
bool alreadyDescribed_;
std::size_t intos_size();
std::size_t uses_size();
void pre_fetch();
void pre_use();
void post_fetch(bool gotData, bool calledFromFetch);
void post_use(bool gotData);
bool resize_intos(std::size_t upperBound = 0);
void truncate_intos();
soci::details::statement_backend * backEnd_;
// The type is noncopyable.
statement_impl(statement_impl const &);
statement_impl& operator=(statement_impl const &);
};
} // namespace details
// Statement is a handle class for statement_impl
// (this provides copyability to otherwise non-copyable type)
class SOCI_DECL statement
{
public:
statement(session & s)
: impl_(new details::statement_impl(s)) {}
statement(details::prepare_temp_type const & prep)
: impl_(new details::statement_impl(prep)) {}
~statement() { impl_->dec_ref(); }
// copy is supported for this handle class
statement(statement const & other)
: impl_(other.impl_)
{
impl_->inc_ref();
}
void operator=(statement const & other)
{
other.impl_->inc_ref();
impl_->dec_ref();
impl_ = other.impl_;
}
void alloc() { impl_->alloc(); }
void bind(values & v) { impl_->bind(v); }
void exchange(details::into_type_ptr const & i);
void exchange(details::use_type_ptr const & u);
void clean_up() { impl_->clean_up(); }
void prepare(std::string const & query,
details::statement_type eType = details::st_repeatable_query)
{
impl_->prepare(query, eType);
}
void define_and_bind() { impl_->define_and_bind(); }
void undefine_and_bind() { impl_->undefine_and_bind(); }
bool execute(bool withDataExchange = false)
{
gotData_ = impl_->execute(withDataExchange);
return gotData_;
}
long long get_affected_rows()
{
return impl_->get_affected_rows();
}
bool fetch()
{
gotData_ = impl_->fetch();
return gotData_;
}
bool got_data() const { return gotData_; }
void describe() { impl_->describe(); }
void set_row(row * r) { impl_->set_row(r); }
void exchange_for_rowset(details::into_type_ptr const & i)
{
impl_->exchange_for_rowset(i);
}
// for diagnostics and advanced users
// (downcast it to expected back-end statement class)
details::statement_backend * get_backend()
{
return impl_->get_backend();
}
details::standard_into_type_backend * make_into_type_backend()
{
return impl_->make_into_type_backend();
}
details::standard_use_type_backend * make_use_type_backend()
{
return impl_->make_use_type_backend();
}
details::vector_into_type_backend * make_vector_into_type_backend()
{
return impl_->make_vector_into_type_backend();
}
details::vector_use_type_backend * make_vector_use_type_backend()
{
return impl_->make_vector_use_type_backend();
}
std::string rewrite_for_procedure_call(std::string const & query)
{
return impl_->rewrite_for_procedure_call(query);
}
private:
details::statement_impl * impl_;
bool gotData_;
};
namespace details
{
// exchange_traits for statement
template <>
struct exchange_traits<statement>
{
typedef basic_type_tag type_family;
enum { x_type = x_statement };
};
// into and use types for Statement (for nested statements and cursors)
template <>
class into_type<statement> : public standard_into_type
{
public:
into_type(statement & s) : standard_into_type(&s, x_statement) {}
into_type(statement & s, indicator & ind)
: standard_into_type(&s, x_statement, ind) {}
};
template <>
class use_type<statement> : public standard_use_type
{
public:
use_type(statement & s, std::string const & name = std::string())
: standard_use_type(&s, x_statement, false, name) {}
use_type(statement & s, indicator & ind,
std::string const & name = std::string())
: standard_use_type(&s, x_statement, ind, false, name) {}
// Note: there is no const version of use for statement,
// because most likely it would not make much sense anyway.
};
} // namespace details
} // namespace soci
#endif // SOCI_STATEMENT_H_INCLUDED
|
[
"stinger911@79c36d58-6562-11de-a3c1-4985b5740c72"
] |
[
[
[
1,
271
]
]
] |
1a8dafbc15812402eeec273f11130c6443cfd9da
|
e897c55fe486ecec3edf06ad11851e616c8204bd
|
/nmi/profiles/ProfilesModule.cpp
|
287d42cb3e304439ca50683f4562c8d7c15531ab
|
[] |
no_license
|
markoalas/mShell
|
0d639483e0ea12f2f16ad26935bf216edef830d5
|
cabe1fdbb3bf94746b189bf82170249c9927212b
|
refs/heads/master
| 2021-01-20T20:24:36.141718 | 2010-09-25T07:20:36 | 2010-09-25T07:20:36 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 8,240 |
cpp
|
#include "NativeModule.h"
#include <mproengengine.h>
#include <proengfactory.h>
#include <mproengprofilenamearray.h>
#include <mproengprofilename.h>
#include <mproengprofile.h>
#include <mproengtones.h>
#include <mproengtonesettings.h>
_LIT(ID,"id");
_LIT(NAME,"name");
_LIT(RINGTYPE,"ringtype");
_LIT(RINGVOLUME,"ringvolume");
_LIT(KEYVOLUME,"keyvolume");
_LIT(VIBRA,"vibra");
_LIT(SILENT,"silent");
_LIT(RINGTONE,"ringtone");
_LIT(RINGTONE2,"ringtone2");
_LIT(MSGTONE,"msgtone");
_LIT(EMAILTONE,"emailtone");
_LIT(VIDEOTONE,"videotone");
_LIT(WARNTONES,"warntones");
_LIT(TTS,"tts");
_LIT(GROUPIDS,"groupids");
class ProfilesModule : public NativeModule {
private:
enum {
ActiveFunction, ListFunction, GetFunction, SetFunction
};
Runtime::Value GetProfileDataL(MProEngProfile* profile) {
Runtime::Value result;
Runtime::Array *array;
result = runtime->NewArrayL(array, 15);
MProEngTones& tones = profile->ProfileTones();
MProEngToneSettings& toneSettings = profile->ToneSettings();
array->SetL(ID, profile->ProfileName().Id());
array->SetL(NAME, runtime->NewStringL(profile->ProfileName().Name()));
array->SetL(RINGTYPE, toneSettings.RingingType());
array->SetL(RINGVOLUME, toneSettings.RingingVolume());
array->SetL(KEYVOLUME, toneSettings.KeypadVolume());
array->SetL(VIBRA, Runtime::BooleanValue(toneSettings.VibratingAlert()));
array->SetL(SILENT, Runtime::BooleanValue(profile->IsSilent()));
array->SetL(RINGTONE, runtime->NewStringL(tones.RingingTone1()));
array->SetL(RINGTONE2, runtime->NewStringL(tones.RingingTone2()));
array->SetL(MSGTONE, runtime->NewStringL(tones.MessageAlertTone()));
array->SetL(EMAILTONE, runtime->NewStringL(tones.EmailAlertTone()));
array->SetL(VIDEOTONE, runtime->NewStringL(tones.VideoCallRingingTone()));
array->SetL(WARNTONES, Runtime::BooleanValue(toneSettings.WarningAndGameTones()));
array->SetL(TTS, Runtime::BooleanValue(toneSettings.TextToSpeech()));
// doh.. is there a simpler way to get the array elements?
TArray<TContactItemId> alertIds = profile->AlertForL();
Runtime::Value x;
Runtime::Array* xx;
x = runtime->NewArrayL(xx, alertIds.Count());
Runtime::ValueArray &xxx = xx->GetValues();
for (TInt i = 0; i < alertIds.Count(); i++) {
xxx.SetNumberL(i, alertIds[i]);
}
array->SetL(GROUPIDS, x);
return result;
}
void SetProfileDataL(MProEngProfile* profile, Runtime::Array newData) {
if(newData.Length() > 0) {
if(newData.GetIndex(NAME) != -1) {
profile->ProfileName().SetNameL(newData.GetL(NAME).GetPtrCL());
}
if(newData.GetIndex(RINGTYPE) != -1) {
profile->ToneSettings().SetRingingType((TProfileRingingType)newData.GetL(RINGTYPE).GetIntL());
}
if(newData.GetIndex(RINGVOLUME) != -1) {
profile->ToneSettings().SetRingingVolume((TProfileRingingVolume)newData.GetL(RINGVOLUME).GetIntL());
}
if(newData.GetIndex(KEYVOLUME) != -1) {
profile->ToneSettings().SetKeypadVolume((TProfileKeypadVolume)newData.GetL(KEYVOLUME).GetIntL());
}
if(newData.GetIndex(VIBRA) != -1) {
profile->ToneSettings().SetVibratingAlert(newData.GetL(VIBRA).GetBooleanL());
}
if(newData.GetIndex(RINGTONE) != -1) {
profile->ProfileTones().SetRingingTone1L(newData.GetL(RINGTONE).GetPtrCL());
}
if(newData.GetIndex(RINGTONE2) != -1) {
profile->ProfileTones().SetRingingTone2L(newData.GetL(RINGTONE2).GetPtrCL());
}
if(newData.GetIndex(MSGTONE) != -1) {
profile->ProfileTones().SetMessageAlertToneL(newData.GetL(MSGTONE).GetPtrCL());
}
if(newData.GetIndex(EMAILTONE) != -1) {
profile->ProfileTones().SetEmailAlertToneL(newData.GetL(EMAILTONE).GetPtrCL());
}
if(newData.GetIndex(VIDEOTONE) != -1) {
profile->ProfileTones().SetVideoCallRingingToneL(newData.GetL(VIDEOTONE).GetPtrCL());
}
if(newData.GetIndex(WARNTONES) != -1) {
profile->ToneSettings().SetWarningAndGameTones(newData.GetL(WARNTONES).GetBooleanL());
}
if(newData.GetIndex(TTS) != -1) {
profile->ToneSettings().SetTextToSpeech(newData.GetL(TTS).GetBooleanL());
}
if(newData.GetIndex(GROUPIDS) != -1) {
Runtime::Array inArray = newData.GetL(GROUPIDS).GetArrayL();
CArrayFixFlat<TContactItemId>* array = new(ELeave)CArrayFixFlat<TContactItemId>(inArray.Length()+1);
CleanupStack::PushL(array);
for (TInt i = 0; i < inArray.Length(); i++) {
array->AppendL((TContactItemId)inArray.GetL(i).GetIntL());
}
profile->SetAlertForL(array->Array());
CleanupStack::PopAndDestroy(1); //array
}
profile->CommitChangeL();
}
}
protected:
const char *ModuleVersion() {
return "1.0";
}
TInt ExpectedRuntimeVersion() {
return Runtime::VERSION;
}
void ConstructL() {
runtime->AddNativeFunctionL(_L("list"), 0, 0, ListFunction);
runtime->AddNativeFunctionL(_L("active"), 0, 1, ActiveFunction);
runtime->AddNativeFunctionL(_L("get"), 0, 1, GetFunction);
runtime->AddNativeFunctionL(_L("set"), 1, 2, SetFunction);
runtime->AddConstantL(_L("default"), EProfileGeneralId);
runtime->AddConstantL(_L("silent"), EProfileSilentId);
runtime->AddConstantL(_L("meeting"), EProfileMeetingId);
runtime->AddConstantL(_L("outdoor"), EProfileOutdoorId);
runtime->AddConstantL(_L("pager"), EProfilePagerId);
runtime->AddConstantL(_L("offline"), EProfileOffLineId);
runtime->AddConstantL(_L("drive"), EProfileDriveId);
runtime->AddConstantL(_L("ringNormal"), EProfileRingingTypeRinging);
runtime->AddConstantL(_L("ringAscending"), EProfileRingingTypeAscending);
runtime->AddConstantL(_L("ringOnce"), EProfileRingingTypeRingingOnce);
runtime->AddConstantL(_L("ringBeep"), EProfileRingingTypeBeepOnce);
runtime->AddConstantL(_L("ringSilent"), EProfileRingingTypeSilent);
}
Runtime::Value ExecuteL(TInt index, Runtime::Value *params,
TInt paramCount, TRequestStatus &status) {
runtime->CheckPermissionL(ReadAppPermission);
MProEngEngine* engine = ProEngFactory::NewEngineLC();
Runtime::Value result;
MProEngProfile* profile;
switch (index) {
case ListFunction:
{
MProEngProfileNameArray* profileNames(engine->ProfileNameArrayLC());
Runtime::Array *array;
result = runtime->NewArrayL(array, profileNames->MdcaCount());
for (TInt i = 0; i < profileNames->MdcaCount(); i++) {
array->SetL(runtime->NewStringL(profileNames->MdcaPoint(i)), profileNames->ProfileId(i));
}
CleanupStack::PopAndDestroy(1); //profileNames
break;
}
case ActiveFunction:
result.SetNumber(engine->ActiveProfileId());
if (paramCount > 0 && !params[0].IsNull()) {
runtime->CheckPermissionL(WriteAppPermission);
engine->SetActiveProfileL(params[0].GetIntL());
}
break;
case GetFunction:
if (paramCount > 0 && !params[0].IsNull()) {
profile=engine->ProfileLC(params[0].GetIntL());
}
else {
profile=engine->ActiveProfileLC();
}
result = GetProfileDataL(profile);
CleanupStack::PopAndDestroy(1); //profile
break;
case SetFunction:
runtime->CheckPermissionL(WriteAppPermission);
if (paramCount > 1 && !params[1].IsNull()) {
profile=engine->ProfileLC(params[1].GetIntL());
}
else {
profile=engine->ActiveProfileLC();
}
SetProfileDataL(profile, params[0].GetArrayL());
result.SetNull();
CleanupStack::PopAndDestroy(1); //profile
break;
}
CleanupStack::PopAndDestroy(1); // engine
return result;
}
};
EXPORT_C NativeModule* NewProfilesModuleL() {
return new (ELeave) ProfilesModule;
}
|
[
"[email protected]"
] |
[
[
[
1,
217
]
]
] |
3d2da4d888e502d37bb5f00b895f14feb37701d9
|
b14d5833a79518a40d302e5eb40ed5da193cf1b2
|
/cpp/extern/xercesc++/2.6.0/src/xercesc/dom/StDOMNode.hpp
|
3fbbe3a046c5d1b7e28871f82193829210cc8726
|
[
"Apache-2.0"
] |
permissive
|
andyburke/bitflood
|
dcb3fb62dad7fa5e20cf9f1d58aaa94be30e82bf
|
fca6c0b635d07da4e6c7fbfa032921c827a981d6
|
refs/heads/master
| 2016-09-10T02:14:35.564530 | 2011-11-17T09:51:49 | 2011-11-17T09:51:49 | 2,794,411 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 3,094 |
hpp
|
#ifndef DOMSPtr_HEADER_GUARD_
#define DOMSPtr_HEADER_GUARD_
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: StDOMNode.hpp,v 1.3 2004/09/08 13:55:39 peiyongz Exp $
*/
#include <xercesc/dom/DOMNode.hpp>
#include <xercesc/dom/DOMAttr.hpp>
#include <xercesc/dom/DOMElement.hpp>
XERCES_CPP_NAMESPACE_BEGIN
/* This class is a smart pointer implementation over DOMNode interface and
** classes derived from it. It takes care of reference counting automatically.
** Reference counting is optional so use of this class is experimental.
*/
template <class T> class StDOMNode {
T* m_node;
static inline void INCREFCOUNT(T *x) { if (x != (T*)0) x->incRefCount(); }
static inline void DECREFCOUNT(T *x) { if (x != (T*)0) x->decRefCount(); }
public:
inline StDOMNode(T* node = (T*)0) : m_node(node) { INCREFCOUNT(m_node); }
inline StDOMNode(const StDOMNode& stNode) : m_node(stNode.m_node) { INCREFCOUNT(m_node); }
inline ~StDOMNode() { DECREFCOUNT(m_node); }
inline T* operator= (T *node)
{
if (m_node != node) {
DECREFCOUNT(m_node);
m_node = node;
INCREFCOUNT(m_node);
}
return (m_node);
}
inline bool operator!= (T* node) const { return (m_node != node); }
inline bool operator== (T* node) const { return (m_node == node); }
inline T& operator* () { return (*m_node); }
inline const T& operator* () const { return (*m_node); }
inline T* operator-> () const { return (m_node); }
inline operator T*() const { return (m_node); }
inline void ClearNode() { operator=((T*)(0)); }
};
#if defined(XML_DOMREFCOUNT_EXPERIMENTAL)
typedef StDOMNode<DOMNode> DOMNodeSPtr;
#else
typedef DOMNode* DOMNodeSPtr;
#endif
/* StDOMNode is a smart pointer implementation over DOMNode interface and
** classes derived from it. It takes care of reference counting automatically.
** Reference counting is optional so use of this class is experimental.
*/
#if defined(XML_DOMREFCOUNT_EXPERIMENTAL)
typedef StDOMNode<DOMAttr> DOMAttrSPtr;
#else
typedef DOMAttr* DOMAttrSPtr;
#endif
/* StDOMNode is a smart pointer implementation over DOMNode interface and
** classes derived from it. It takes care of reference counting automatically.
** Reference counting is optional so use of this class is experimental.
*/
#if defined(XML_DOMREFCOUNT_EXPERIMENTAL)
typedef StDOMNode<DOMElement> DOMElementSPtr;
#else
typedef DOMElement* DOMElementSPtr;
#endif
XERCES_CPP_NAMESPACE_END
#endif
|
[
"[email protected]"
] |
[
[
[
1,
94
]
]
] |
e916ad444b81f66e1fed1fc17c3771df3711f1f3
|
27167a5a0340fdc9544752bd724db27d3699a9a2
|
/include/dockwins/DWAutoHide.h
|
7ede3632d7a73c57167426f38551eaa919774618
|
[] |
no_license
|
eaglexmw-gmail/wtl-dockwins
|
2b464be3958e1683cd668a10abafb528f43ac695
|
ae307a1978b73bfd2823945068224bb6c01ae350
|
refs/heads/master
| 2020-06-30T21:03:26.075864 | 2011-10-23T12:50:14 | 2011-10-23T12:50:14 | 200,951,487 | 2 | 1 | null | null | null | null |
UTF-8
|
C++
| false | false | 60,322 |
h
|
// Copyright (c) 2002
// Sergey Klimov ([email protected])
// WTL Docking windows
//
// This code is provided "as is", with absolutely no warranty expressed
// or implied. Any use is at your own risk.
//
// This code may be used in compiled form in any way you desire. This
// file may be redistributed unmodified by any means PROVIDING it is
// not sold for profit without the authors written consent, and
// providing that this notice and the authors name is included. If
// the source code in this file is used in any commercial application
// then a simple email would be nice.
#ifndef WTL_DW_DWAUTOHIDE_H_INCLUDED_
#define WTL_DW_DWAUTOHIDE_H_INCLUDED_
#pragma once
#ifndef DF_AUTO_HIDE_FEATURES
#define DF_AUTO_HIDE_FEATURES
#endif // DF_AUTO_HIDE_FEATURES
#include <queue>
#include <deque>
#include "ssec.h"
#include "DockMisc.h"
#include "ExtDockingWindow.h"
#include "dockwins.h"
namespace dockwins
{
typedef CDockingWindowTraits < COutlookLikeCaption,
WS_CAPTION | WS_CHILD |
WS_CLIPCHILDREN | WS_CLIPSIBLINGS, WS_EX_TOOLWINDOW >
COutlookLikeAutoHidePaneTraits;
template < class TAutoHidePaneTraits, class TSplitterBar, /* DWORD TDockFrameStyle=0,*/
DWORD t_dwStyle = 0, DWORD t_dwExStyle = 0 >
struct CDockingFrameTraitsT : CWinTraits <t_dwStyle, t_dwExStyle>
{
typedef TSplitterBar CSplitterBar;
typedef TAutoHidePaneTraits CAutoHidePaneTraits;
};
typedef CDockingFrameTraitsT < COutlookLikeAutoHidePaneTraits, CSimpleSplitterBar<>,
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS,
WS_EX_APPWINDOW | WS_EX_WINDOWEDGE > CDockingFrameTraits;
typedef CDockingFrameTraitsT < COutlookLikeAutoHidePaneTraits, CSimpleSplitterBarEx<>,
WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0 > CDockingSiteTraits;
struct IPinnedLabel
{
typedef CDockingSide CSide;
enum
{
leftBorder = 3,
rightBorder = 3,
labelEdge = 2,
labelPadding = 5, // padding between the labels
captionPadding = 3 // padding between border of the label and the lable caption
};
class CPinnedWindow
{
public:
CPinnedWindow()
: m_hWnd(NULL), m_icon(0), m_width(0)
{
}
int Assign(HWND hWnd, UINT width)
{
ATLASSERT(::IsWindow(hWnd));
m_hWnd = hWnd;
m_width = width;
m_icon = reinterpret_cast<HICON>(::SendMessage(hWnd, WM_GETICON, FALSE, 0));
if (m_icon == NULL)
m_icon = reinterpret_cast<HICON>(::GetClassLong(hWnd, GCLP_HICONSM));
ATL::CWindow(hWnd).GetWindowText(m_txt);
return m_txt.GetLength();
}
HWND Wnd() const
{
return m_hWnd;
}
HICON Icon() const
{
return m_icon;
}
const _CSTRING_NS::CString& Text() const
{
return m_txt;
}
UINT Width() const
{
return m_width;
}
void Width(UINT width)
{
m_width = width;
}
void PrepareForDock(HDOCKBAR hBar, bool bHorizontal)
{
::ShowWindow(m_hWnd, SW_HIDE);
DWORD style = ::GetWindowLong(m_hWnd, GWL_STYLE);
DWORD newStyle = style & (~(WS_POPUP | WS_CAPTION)) | WS_CHILD;
::SetWindowLong(m_hWnd, GWL_STYLE, newStyle);
::SetParent(m_hWnd, hBar);
::SendMessage(m_hWnd, WM_NCACTIVATE, TRUE, NULL);
::SendMessage(m_hWnd, WMDF_NDOCKSTATECHANGED,
MAKEWPARAM(TRUE, bHorizontal),
reinterpret_cast<LPARAM>(hBar));
}
void PrepareForUndock(HDOCKBAR hBar)
{
::ShowWindow(m_hWnd, SW_HIDE);
DWORD style = ::GetWindowLong(m_hWnd, GWL_STYLE);
DWORD newStyle = style & (~WS_CHILD) | WS_POPUP | WS_CAPTION;
::SetWindowLong(m_hWnd, GWL_STYLE, newStyle);
::SetParent(m_hWnd, NULL);
::SendMessage(m_hWnd, WMDF_NDOCKSTATECHANGED,
FALSE,
reinterpret_cast<LPARAM>(hBar));
}
void DrawLabel(CDC& dc, const CRect& rc, const CSide& side) const
{
CRect rcOutput(rc);
rcOutput.DeflateRect(captionPadding, captionPadding);
if (m_icon != NULL)
{
CDWSettings settings;
CSize szIcon(settings.CXMinIcon(), settings.CYMinIcon());
if (side.IsHorizontal())
{
if (rc.Width() > szIcon.cx + 2 * captionPadding)
{
POINT pt = {rcOutput.left, rc.top + (rc.Height() - szIcon.cx) / 2};
rcOutput.left += szIcon.cx + captionPadding;
dc.DrawIconEx(pt, m_icon, szIcon);
}
}
else
{
if (rc.Height() > szIcon.cy + 2 * captionPadding)
{
POINT pt = {rc.left + (rc.Width() - szIcon.cy) / 2, rcOutput.top};
rcOutput.top += szIcon.cy + captionPadding;
dc.DrawIconEx(pt, m_icon, szIcon);
}
}
}
DrawEllipsisText(dc, m_txt, m_txt.GetLength(), &rcOutput, side.IsHorizontal());
}
protected:
UINT m_width;
HWND m_hWnd;
HICON m_icon;
_CSTRING_NS::CString m_txt;
};
class CCmp
{
public:
CCmp(HWND hWnd): m_hWnd(hWnd)
{
}
bool operator()(const IPinnedLabel* ptr) const
{
return ptr->IsOwner(m_hWnd);
}
protected:
HWND m_hWnd;
};
virtual ~IPinnedLabel() {}
virtual IPinnedLabel* Remove(HWND hWnd, HDOCKBAR hBar) = 0;
virtual bool UnPin(HWND hWnd, HDOCKBAR hBar, DFDOCKPOS* pHdr) = 0;
virtual long Width() const = 0;
virtual void Width(long width) = 0;
virtual long DesiredWidth(CDC& dc) const = 0;
virtual bool GetDockingPosition(DFDOCKPOS* pHdr) const = 0;
virtual CPinnedWindow* ActivePinnedWindow() = 0;
virtual CPinnedWindow* FromPoint(long x, bool bActivate) = 0;
virtual bool IsOwner(HWND hWnd) const = 0;
virtual void Draw(CDC& dc, const CRect& rc, const CSide& side) const = 0;
};
class CSinglePinnedLabel : public IPinnedLabel
{
public:
CSinglePinnedLabel(DFPINUP* pHdr, bool bHorizontal)
: m_width(0)
{
ATLASSERT((pHdr->n == 0) || (pHdr->n == 1));
m_wnd.Assign(pHdr->hdr.hWnd, pHdr->nWidth);
m_wnd.PrepareForDock(pHdr->hdr.hBar, bHorizontal);
}
CSinglePinnedLabel(const CPinnedWindow& wnd)
: m_wnd(wnd), m_width(0)
{
}
virtual IPinnedLabel* Remove(HWND hWnd, HDOCKBAR hBar)
{
ATLASSERT(IsOwner(hWnd));
m_wnd.PrepareForUndock(hBar);
return 0;
}
virtual bool UnPin(HWND hWnd, HDOCKBAR hBar, DFDOCKPOS* pHdr)
{
GetDockingPosition(pHdr);
bool bRes = (Remove(hWnd, hBar) == 0);
if (bRes)
{
pHdr->hdr.code = DC_SETDOCKPOSITION;
::SendMessage(pHdr->hdr.hBar, WMDF_DOCK, NULL, reinterpret_cast<LPARAM>(pHdr));
}
return bRes;
}
virtual long Width() const
{
return m_width;
}
virtual void Width(long width)
{
m_width = width;
}
virtual long DesiredWidth(CDC& dc) const
{
SIZE sz;
const _CSTRING_NS::CString& text = m_wnd.Text();
ATLVERIFY(dc.GetTextExtent(text, text.GetLength(), &sz));
UINT width = sz.cx + 2 * captionPadding;
if (m_wnd.Icon() != NULL)
{
CDWSettings settings;
width += settings.CXMinIcon() + captionPadding;
}
return width;
}
virtual CPinnedWindow* ActivePinnedWindow()
{
return &m_wnd;
}
virtual CPinnedWindow* FromPoint(long x, bool /*bActivate*/)
{
ATLASSERT(x >= 0 && x < Width());
return ActivePinnedWindow();
}
virtual void Draw(CDC& dc, const CRect& rc, const CSide& side) const
{
dc.Rectangle(&rc);
m_wnd.DrawLabel(dc, rc, side);
}
virtual bool IsOwner(HWND hWnd) const
{
return m_wnd.Wnd() == hWnd;
}
virtual bool GetDockingPosition(DFDOCKPOS* pHdr) const
{
ATLASSERT(pHdr->hdr.hWnd == m_wnd.Wnd());
pHdr->nBar = 0;
pHdr->nWidth = m_wnd.Width();
pHdr->nHeight = 1;
pHdr->nIndex = 0;
pHdr->fPctPos = 0;
return true;
}
protected:
CPinnedWindow m_wnd;
long m_width;
};
class CMultyPinnedLabel : public IPinnedLabel
{
enum {npos = ULONG_MAX/*std::numeric_limits<UINT>::max()*/};
public:
CMultyPinnedLabel(DFPINUP* pHdr, bool bHorizontal)
: m_width(0)
{
ATLASSERT(pHdr->n > 1);
m_n = pHdr->n;
m_tabs = new CPinnedWindow[m_n];
int maxLen = 0;
for (UINT i = 0; i < m_n; i++)
{
int len = m_tabs[i].Assign(pHdr->phWnds[i], pHdr->nWidth);
m_tabs[i].PrepareForDock(pHdr->hdr.hBar, bHorizontal);
if (len > maxLen)
{
maxLen = len;
m_longestTextTab = i;
}
if (pHdr->phWnds[i] == pHdr->hdr.hWnd)
m_activeTab = i;
}
}
~CMultyPinnedLabel()
{
delete [] m_tabs;
}
virtual bool UnPin(HWND hWnd, HDOCKBAR hBar, DFDOCKPOS* pHdr)
{
ATLASSERT(pHdr->hdr.hWnd == hWnd);
GetDockingPosition(pHdr);
pHdr->hdr.hWnd = m_tabs[0].Wnd();
pHdr->hdr.code = DC_SETDOCKPOSITION;
m_tabs[0].PrepareForUndock(hBar);
::SendMessage(pHdr->hdr.hBar, WMDF_DOCK, NULL, reinterpret_cast<LPARAM>(pHdr));
pHdr->hdr.hBar = pHdr->hdr.hWnd;
for (UINT i = 1; i < m_n; i++)
{
pHdr->nIndex = i;
pHdr->hdr.hWnd = m_tabs[i].Wnd();
m_tabs[i].PrepareForUndock(hBar);
::SendMessage(pHdr->hdr.hBar, WMDF_DOCK, NULL, reinterpret_cast<LPARAM>(pHdr));
}
pHdr->hdr.code = DC_ACTIVATE;
pHdr->hdr.hWnd = m_tabs[m_activeTab].Wnd();
::SendMessage(pHdr->hdr.hBar, WMDF_DOCK, NULL, reinterpret_cast<LPARAM>(&(pHdr->hdr)));
return true;
}
virtual IPinnedLabel* Remove(HWND hWnd, HDOCKBAR hBar)
{
ATLASSERT(IsOwner(hWnd));
IPinnedLabel* ptr = this;
try
{
if (m_n == 2)
{
UINT i = (m_tabs[0].Wnd() != hWnd);
ptr = new CSinglePinnedLabel(m_tabs[i]);
m_tabs[!i].PrepareForUndock(hBar);
}
else
{
CPinnedWindow* ptr = m_tabs;
m_tabs = new CPinnedWindow[m_n - 1];
UINT j = 0;
unsigned int maxLen = 0;
for (UINT i = 0; i < m_n; i++)
{
if (ptr[i].Wnd() != hWnd)
{
if (maxLen < _tcslen(ptr[i].Text()))
m_longestTextTab = j;
m_tabs[j++] = ptr[i];
}
else
ptr[i].PrepareForUndock(hBar);
}
if (m_activeTab == --m_n)
--m_activeTab;
delete [] ptr;
}
}
catch (std::bad_alloc& /*e*/)
{
}
return ptr;
}
UINT Locate(HWND hWnd) const
{
for (UINT i = 0; i < m_n; i++)
if (m_tabs[i].Wnd() == hWnd)
return i;
return (UINT)npos;
}
virtual bool IsOwner(HWND hWnd) const
{
return (Locate(hWnd) != npos);
}
virtual long Width() const
{
return m_width;
}
virtual void Width(long width)
{
m_width = width;
if (m_width < m_passiveTabWidth * long(m_n))
{
if (m_width < long(m_n))
m_passiveTabWidth = 0;
else
m_passiveTabWidth = static_cast<long>(m_width / m_n);
}
}
virtual long DesiredWidth(CDC& dc) const
{
SIZE sz;
const _CSTRING_NS::CString& text = m_tabs[m_longestTextTab].Text();
ATLVERIFY(dc.GetTextExtent(text, text.GetLength(), &sz));
long width = sz.cx + 2 * captionPadding;
CDWSettings settings;
width += settings.CXMinIcon() + captionPadding;
m_passiveTabWidth = settings.CXMinIcon() + 2 * captionPadding;
width += static_cast<long>(m_passiveTabWidth * (m_n - 1));
return width;
}
virtual CPinnedWindow* ActivePinnedWindow()
{
return m_tabs + m_activeTab;
}
virtual CPinnedWindow* FromPoint(long x, bool bActivate)
{
ATLASSERT(x >= 0 && x < Width());
UINT i = m_activeTab;
if (x < long(m_activeTab)*m_passiveTabWidth)
i = x / m_passiveTabWidth;
else
{
long width = static_cast<long>
(Width() - (m_n - m_activeTab - 1) * m_passiveTabWidth);
if (width < x)
i += (x - width) / m_passiveTabWidth + 1;
}
ATLASSERT(m_activeTab < m_n);
if (bActivate)
m_activeTab = i;
return m_tabs + i;
}
void DrawPassiveTab(UINT i, CDC& dc, const CRect& rc, const CSide& side) const
{
CRect rcOutput(rc);
rcOutput.DeflateRect(captionPadding, captionPadding);
HICON icon = m_tabs[i].Icon();
CDWSettings settings;
CSize sz(settings.CXMinIcon(), settings.CYMinIcon());
if (icon && (sz.cx <= (rc.Width() - 2 * captionPadding))
&& (sz.cy <= (rc.Height() - 2 * captionPadding)))
{
POINT pt;
if (side.IsHorizontal())
{
pt.x = rcOutput.left;
pt.y = rcOutput.top + (rcOutput.Height() - sz.cx) / 2;
}
else
{
pt.x = rcOutput.left + (rcOutput.Width() - sz.cy) / 2;
pt.y = rcOutput.top;
}
dc.DrawIconEx(pt, icon, sz);
}
else
{
LPCTSTR text = m_tabs[i].Text();
DrawEllipsisText(dc, text, -1, &rcOutput, side.IsHorizontal());
}
}
void DrawActiveTab(UINT i, CDC& dc, const CRect& rc, const CSide& side) const
{
m_tabs[i].DrawLabel(dc, rc, side.IsHorizontal());
}
virtual void Draw(CDC& dc, const CRect& rc, const CSide& side) const
{
CRect rcOutput(rc);
dc.Rectangle(&rcOutput);
long* pLeft;
long* pRight;
long* px;
long* py;
if (side.IsHorizontal())
{
pLeft = &rcOutput.left;
pRight = &rcOutput.right;
px = &rcOutput.left;
py = &rcOutput.bottom;
}
else
{
pLeft = &rcOutput.top;
pRight = &rcOutput.bottom;
px = &rcOutput.right;
py = &rcOutput.top;
}
for (UINT i = 0; i < m_n; i++)
{
if (i == m_activeTab)
{
*pRight = static_cast<long>
(*pLeft + m_width - m_passiveTabWidth * (m_n - 1));
ATLASSERT(*pRight <= (side.IsHorizontal() ? rcOutput.right : rcOutput.bottom));
DrawActiveTab(i, dc, rcOutput, side.IsHorizontal());
}
else
{
*pRight = *pLeft + m_passiveTabWidth;
ATLASSERT(*pRight <= (side.IsHorizontal() ? rcOutput.right : rcOutput.bottom));
DrawPassiveTab(i, dc, rcOutput, side);
}
dc.MoveTo(rcOutput.left, rcOutput.top);
dc.LineTo(*px, *py);
*pLeft = *pRight;
}
}
virtual bool GetDockingPosition(DFDOCKPOS* pHdr) const
{
UINT i = Locate(pHdr->hdr.hWnd);
bool bRes = (i != npos);
if (bRes)
{
if (m_activeTab == i)
pHdr->dwDockSide |= CDockingSide::sActive;
pHdr->nBar = 0;
pHdr->nWidth = m_tabs[i].Width();
pHdr->nHeight = 1;
pHdr->nIndex = i;
pHdr->fPctPos = 0;
}
return bRes;
}
protected:
SIZE_T m_n;
CPinnedWindow* m_tabs;
long m_width;
mutable long m_passiveTabWidth;
UINT m_activeTab;
UINT m_longestTextTab;
};
class CAutoHideBar: protected CRect
{
typedef CRect baseClass;
protected:
typedef IPinnedLabel* CPinnedLabelPtr;
typedef std::deque<CPinnedLabelPtr> CBunch;
typedef CBunch::const_iterator const_iterator;
public:
typedef IPinnedLabel::CSide CSide;
CAutoHideBar()
{
SetRectEmpty();
}
~CAutoHideBar()
{
for (CBunch::iterator i = m_bunch.begin(); i != m_bunch.end(); ++i)
delete *i;
}
const CRect& GetBounds() const
{
return *this;
}
bool IsPtIn(const CPoint& pt) const
{
return (PtInRect(pt) != FALSE);
}
const CSide& Orientation() const
{
return m_side;
}
bool IsBarVisible() const
{
return !m_bunch.empty();
}
bool IsHorizontal() const
{
return Orientation().IsHorizontal();
}
bool IsTop() const
{
return Orientation().IsTop();
}
void Initialize(CSide side)
{
m_side = side;
}
bool CalculateRect(CDC& dc, CRect& rc, long width, long leftPadding, long rightPadding)
{
if (IsBarVisible())
{
CopyRect(rc);
if (IsHorizontal())
{
if (IsTop())
rc.top = bottom = top + width;
else
rc.bottom = top = bottom - width;
left += leftPadding;
right -= rightPadding;
}
else
{
if (IsTop())
rc.left = right = left + width;
else
rc.right = left = right - width;
top += leftPadding;
bottom -= rightPadding;
}
UpdateLayout(dc);
}
return true;
}
void UpdateLayout(CDC& dc) const
{
bool bHorizontal = IsHorizontal();
HFONT hPrevFont;
long availableWidth;
// long availableWidth=bHorizontal ? Width() : Height();
CDWSettings settings;
if (bHorizontal)
{
availableWidth = Width();
hPrevFont = dc.SelectFont(settings.HSysFont());
}
else
{
availableWidth = Height();
hPrevFont = dc.SelectFont(settings.VSysFont());
}
availableWidth += IPinnedLabel::labelPadding - IPinnedLabel::leftBorder - IPinnedLabel::rightBorder;
typedef std::priority_queue<long, std::deque<long>, std::greater<long> > CQWidth;
CQWidth widths;
long width = 0;
for (const_iterator i = m_bunch.begin(); i != m_bunch.end(); ++i)
{
int labelWidth = (*i)->DesiredWidth(dc);
(*i)->Width(labelWidth);
labelWidth += IPinnedLabel::labelPadding;
widths.push(labelWidth);
width += labelWidth;
}
CBunch::difference_type averageLableWidth = width;
CBunch::size_type n = m_bunch.size();
if (n > 0 && (width > availableWidth))
{
width = availableWidth;
CBunch::difference_type itemsLeft = n;
averageLableWidth = width / itemsLeft;
CBunch::difference_type diffrence = width % itemsLeft;
while (!widths.empty())
{
CBunch::difference_type itemWidth = widths.top();
CBunch::difference_type diff = static_cast<CBunch::difference_type>(averageLableWidth - itemWidth);
if (diff > 0)
{
diffrence += diff;
--itemsLeft;
widths.pop();
}
else
{
if (diffrence < itemsLeft)
break;
averageLableWidth += diffrence / itemsLeft;
diffrence = diffrence % itemsLeft;
}
}
averageLableWidth -= IPinnedLabel::labelPadding;
if (averageLableWidth < IPinnedLabel::labelPadding)
averageLableWidth = 0;
for (const_iterator i = m_bunch.begin(); i != m_bunch.end(); ++i)
{
CBunch::difference_type labelWidth = (*i)->Width();
if (labelWidth > averageLableWidth)
labelWidth = static_cast<CBunch::difference_type>(averageLableWidth);
(*i)->Width(static_cast<long>(labelWidth));
}
}
dc.SelectFont(hPrevFont);
}
void Draw(CDC& dc, bool bEraseBackground = true)
{
if (IsBarVisible())
{
if (bEraseBackground)
{
CDWSettings settings;
CBrush bgrBrush;
bgrBrush.CreateSolidBrush(settings.CoolCtrlBackgroundColor());
HBRUSH hOldBrush = dc.SelectBrush(bgrBrush);
dc.PatBlt(left, top, Width(), Height(), PATCOPY);
dc.SelectBrush(hOldBrush);
}
CDWSettings settings;
CPen pen;
pen.CreatePen(PS_SOLID, 1, ::GetSysColor(COLOR_BTNSHADOW));
HPEN hOldPen = dc.SelectPen(pen);
CPen penEraser;
penEraser.CreatePen(PS_SOLID, 1, ::GetSysColor(COLOR_BTNFACE));
COLORREF oldColor = dc.SetTextColor(settings.AutoHideBarTextColor());
CBrush brush;
brush.CreateSolidBrush(::GetSysColor(COLOR_BTNFACE));
HBRUSH hOldBrush = dc.SelectBrush(brush);
int oldBkMode = dc.SetBkMode(TRANSPARENT);
HFONT hOldFont;
long* pLeft;
long* pRight;
CRect rcLabel(this);
long* xELine, *yELine;
long tmp;
if (IsHorizontal())
{
xELine = &rcLabel.right;
if (IsTop())
{
rcLabel.bottom -= IPinnedLabel::labelEdge;
yELine = &rcLabel.top;
}
else
{
rcLabel.top += IPinnedLabel::labelEdge;
tmp = rcLabel.bottom - 1;
yELine = &tmp;
}
hOldFont = dc.SelectFont(settings.HSysFont());
pLeft = &rcLabel.left;
pRight = &rcLabel.right;
}
else
{
yELine = &rcLabel.bottom;
if (IsTop())
{
rcLabel.right -= IPinnedLabel::labelEdge;
xELine = &rcLabel.left;
}
else
{
rcLabel.left += IPinnedLabel::labelEdge;
tmp = rcLabel.right - 1;
xELine = &tmp;
}
hOldFont = dc.SelectFont(settings.VSysFont());
pLeft = &rcLabel.top;
pRight = &rcLabel.bottom;
}
*pLeft += IPinnedLabel::leftBorder;
*pRight -= IPinnedLabel::rightBorder;
CBunch::difference_type minSize = m_bunch.size() * IPinnedLabel::labelPadding - IPinnedLabel::labelPadding;
if (minSize < (*pRight - *pLeft))
{
*pRight = *pLeft + 1;
CPoint ptELine;
for (const_iterator i = m_bunch.begin(); i != m_bunch.end(); ++i)
{
ptELine.x = *xELine;
ptELine.y = *yELine;
*pRight = *pLeft + (*i)->Width();
ATLASSERT(m_side.IsHorizontal() ? *pRight <= right : *pRight <= bottom);
(*i)->Draw(dc, rcLabel, m_side);
*pLeft = *pRight + IPinnedLabel::labelPadding;
--*pRight;
HPEN hPrevPen = dc.SelectPen(penEraser);
dc.MoveTo(ptELine);
dc.LineTo(*xELine, *yELine);
dc.SelectPen(hPrevPen);
*pRight = *pLeft + 1;
ATLASSERT(m_side.IsHorizontal()
? (*pLeft >= left && (*pLeft <= right + IPinnedLabel::labelPadding))
: (*pLeft >= top && (*pLeft <= bottom + IPinnedLabel::labelPadding)));
}
}
dc.SelectFont(hOldFont);
dc.SelectPen(hOldPen);
dc.SetTextColor(oldColor);
dc.SelectBrush(hOldBrush);
dc.SetBkMode(oldBkMode);
}
}
IPinnedLabel::CPinnedWindow* MouseEnter(const CPoint& pt, bool bActivate = false) const
{
IPinnedLabel::CPinnedWindow* ptr = 0;
if (IsBarVisible() && IsPtIn(pt))
{
int x;
int vRight;
if (IsHorizontal())
{
x = pt.x;
vRight = left;
}
else
{
x = pt.y;
vRight = top;
}
for (const_iterator i = m_bunch.begin(); i != m_bunch.end(); ++i)
{
UINT vLeft = vRight;
vRight += (*i)->Width();
if (vRight > x)
{
ptr = (*i)->FromPoint(x - vLeft, bActivate);
break;
}
vRight += IPinnedLabel::labelPadding;
if (vRight > x)
break;
}
}
return ptr;
}
CPinnedLabelPtr Insert(DFPINUP* pHdr)
{
ATLASSERT(m_side.Side() == CSide(pHdr->dwDockSide).Side());
CPinnedLabelPtr ptr = 0;
try
{
if (pHdr->n > 1)
ptr = new CMultyPinnedLabel(pHdr, IsHorizontal());
else
ptr = new CSinglePinnedLabel(pHdr, IsHorizontal());
m_bunch.push_back(ptr);
}
catch (std::bad_alloc& /*e*/)
{
}
return ptr;
}
bool Remove(HWND hWnd, HDOCKBAR hBar, DFDOCKPOS* pHdr)
{
CBunch::iterator i = std::find_if(m_bunch.begin(), m_bunch.end(),
IPinnedLabel::CCmp(hWnd));
bool bRes = (i != m_bunch.end());
if (bRes)
{
CPinnedLabelPtr ptr = *i;
if (pHdr == 0)
(*i) = ptr->Remove(hWnd, hBar);
else
{
pHdr->dwDockSide = m_side.Side() | CDockingSide::sSingle | CSide::sPinned;
ptr->UnPin(hWnd, hBar, pHdr);
(*i) = 0;
}
if ((*i) != ptr)
delete ptr;
if ((*i) == 0)
m_bunch.erase(i);
if (!IsBarVisible())
SetRectEmpty();
}
return bRes;
}
bool GetDockingPosition(DFDOCKPOS* pHdr) const
{
CBunch::const_iterator i = std::find_if(m_bunch.begin(), m_bunch.end(),
IPinnedLabel::CCmp(pHdr->hdr.hWnd));
bool bRes = (i != m_bunch.end());
if (bRes)
{
pHdr->dwDockSide = m_side.Side() | CDockingSide::sSingle | CSide::sPinned;
(*i)->GetDockingPosition(pHdr);
pHdr->nBar = std::distance(m_bunch.begin(), i);
}
return bRes;
}
protected:
CSide m_side;
CBunch m_bunch;
};
const UINT HTSPLITTERH = HTLEFT;
const UINT HTSPLITTERV = HTTOP;
template < class T,
class TBase,
class TAutoHidePaneTraits >
class ATL_NO_VTABLE CAutoHidePaneImpl :
public CWindowImpl< T, TBase, TAutoHidePaneTraits >
{
typedef CWindowImpl< T, TBase, TAutoHidePaneTraits > baseClass;
typedef CAutoHidePaneImpl< T, TBase, TAutoHidePaneTraits > thisClass;
protected:
typedef typename TAutoHidePaneTraits::CCaption CCaption;
typedef typename CAutoHideBar::CSide CSide;
struct CSplitterBar : CSimpleSplitterBarEx<>
{
CSplitterBar(bool bHorizontal = true): CSimpleSplitterBarEx<>(bHorizontal)
{
}
void CalculateRect(CRect& rc, DWORD side)
{
CopyRect(rc);
switch (side)
{
case CSide::sTop:
rc.bottom = top = bottom - GetThickness();
break;
case CSide::sBottom:
rc.top = bottom = top + GetThickness();
break;
case CSide::sRight:
rc.left = right = left + GetThickness();
break;
case CSide::sLeft:
rc.right = left = right - GetThickness();
break;
};
}
};
public:
CAutoHidePaneImpl()
{
m_caption.SetPinButtonState(CPinIcons::sUnPinned);
}
protected:
CSide Orientation() const
{
return m_side;
}
void Orientation(const CSide& side)
{
m_side = side;
m_splitter.SetOrientation(IsHorizontal());
m_caption.SetOrientation(IsHorizontal());
}
bool IsHorizontal() const
{
return m_side.IsHorizontal();
}
bool IsTop() const
{
return m_side.IsTop();
}
public:
void GetMinMaxInfo(LPMINMAXINFO pMinMaxInfo) const
{
pMinMaxInfo->ptMinTrackSize.x = 0;
pMinMaxInfo->ptMinTrackSize.y = 0;
}
LRESULT NcHitTest(CPoint pt)
{
LRESULT lRes = HTNOWHERE;
RECT rc;
if (GetWindowRect(&rc))
{
pt.x -= rc.left;
pt.y -= rc.top;
if (m_splitter.PtInRect(pt))
lRes = (IsHorizontal()) ? HTSPLITTERV : HTSPLITTERH;
else
{
lRes = m_caption.HitTest(pt);
if (lRes == HTNOWHERE
|| lRes == HTCAPTION)
lRes = HTCLIENT;
}
}
return lRes;
}
void NcMouseMove(const CPoint& /*pt*/, WPARAM nHitTest)
{
m_caption.HotTrack(m_hWnd, nHitTest);
}
BOOL NcLButtonDown(const CPoint& pt, WPARAM nHitTest)
{
T* pThis = static_cast<T*>(this);
bool res = m_caption.Action(m_hWnd, pt, nHitTest);
if (res)
{
CDropPointTracker tracker;
bool drop = TrackDragAndDrop(tracker, pThis->m_hWnd);
if (drop)
{
CPoint pt(tracker.DropPoint());
drop = ClientToScreen(&pt)
&& (unsigned int(NcHitTest(pt)) == nHitTest);
}
m_caption.ActionDone(m_hWnd, nHitTest, drop);
if (drop)
{
switch (nHitTest)
{
case HTCLOSE:
pThis->CloseBtnPress();
break;
#ifdef DF_AUTO_HIDE_FEATURES
case HTPIN:
pThis->PinBtnPress();
break;
#endif
}
}
}
return res;
}
void NcCalcSize(CRect* pRc)
{
m_splitter.CalculateRect(*pRc, m_side.Side());
DWORD style = GetWindowLong(GWL_STYLE);
if ((style & WS_CAPTION) == 0)
m_caption.SetRectEmpty();
else
m_caption.CalculateRect(*pRc, true);
}
void NcDraw(CDC& dc)
{
DWORD style = GetWindowLong(GWL_STYLE);
if ((style & WS_CAPTION) != 0)
m_caption.Draw(m_hWnd, dc);
DockingSide side;
switch (m_side & 3)
{
case CDockingSide::sTop:
side = DockingSide_Top;
break;
case CDockingSide::sBottom:
side = DockingSide_Bottom;
break;
case CDockingSide::sLeft:
side = DockingSide_Left;
break;
case CDockingSide::sRight:
side = DockingSide_Right;
break;
default:
ATLASSERT(FALSE);
}
m_splitter.Draw(dc, side);
}
bool CloseBtnPress()
{
PostMessage(WM_CLOSE);
return false;
}
bool PinBtnPress()
{
return true;
}
void StartResizing(const CPoint& pt)
{
ATLASSERT(false);
}
bool OnClosing()
{
return false;
}
bool AnimateWindow(long time, bool bShow)
{
const int n = 10;
CRect rc;
GetWindowRect(&rc);
CWindow parent(GetParent());
if (parent.m_hWnd != NULL)
parent.ScreenToClient(&rc);
long* ppoint;
long step;
CRect rcInvalidate(rc);
long* pipoint;
if (m_side.IsHorizontal())
{
step = rc.Height() / n;
if (m_side.IsTop())
{
ppoint = &rc.bottom;
pipoint = &rc.bottom;
rcInvalidate.bottom = rcInvalidate.top;
}
else
{
ppoint = &rc.top;
pipoint = &rc.top;
rcInvalidate.top = rcInvalidate.bottom;
step = -step;
}
}
else
{
step = rc.Width() / n;
if (m_side.IsTop())
{
ppoint = &rc.right;
pipoint = &rc.right;
rcInvalidate.left = rcInvalidate.right;
}
else
{
ppoint = &rc.left;
pipoint = &rc.left;
rcInvalidate.right = rcInvalidate.left;
step = -step;
}
}
if (!bShow)
step = -step;
else
{
parent.RedrawWindow(&rc, NULL, RDW_INVALIDATE | RDW_UPDATENOW);
*ppoint -= step * n;
SetWindowPos(HWND_TOP, &rc, SWP_FRAMECHANGED | SWP_SHOWWINDOW);
}
bool bRes = true;
for (int i = 0; i < n; i++)
{
*ppoint += step;
bRes = (SetWindowPos(HWND_TOP, &rc, NULL) != FALSE);
if (!bShow)
{
*pipoint += step;
parent.RedrawWindow(&rcInvalidate, NULL, RDW_INVALIDATE | RDW_UPDATENOW);
}
else
{
CRect rcInvalidateClient(rc);
parent.MapWindowPoints(m_hWnd, &rcInvalidateClient);
RedrawWindow(&rcInvalidateClient, NULL, RDW_INVALIDATE | RDW_UPDATENOW);
}
Sleep(time / n);
}
return bRes;
}
protected:
BEGIN_MSG_MAP(thisClass)
MESSAGE_HANDLER(WM_GETMINMAXINFO, OnGetMinMaxInfo)
MESSAGE_HANDLER(WM_NCCALCSIZE, OnNcCalcSize)
MESSAGE_HANDLER(WM_NCACTIVATE, OnNcActivate)
MESSAGE_HANDLER(WM_NCHITTEST, OnNcHitTest)
MESSAGE_HANDLER(WM_NCPAINT, OnNcPaint)
MESSAGE_HANDLER(WM_NCMOUSEMOVE, OnNcMouseMove)
MESSAGE_HANDLER(WM_SETTEXT, OnCaptionChange)
MESSAGE_HANDLER(WM_SETICON, OnCaptionChange)
MESSAGE_HANDLER(WM_NCLBUTTONDOWN, OnNcLButtonDown)
MESSAGE_HANDLER(WM_NCLBUTTONDBLCLK, OnNcLButtonDblClk)
MESSAGE_HANDLER(WM_CLOSE, OnClose)
MESSAGE_HANDLER(WM_SETTINGCHANGE, OnSettingChange)
MESSAGE_HANDLER(WM_SYSCOLORCHANGE, OnSettingChange /*OnSysColorChange*/)
END_MSG_MAP()
LRESULT OnGetMinMaxInfo(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& /*bHandled*/)
{
T* pThis = static_cast<T*>(this);
LRESULT lRes = pThis->DefWindowProc(uMsg, wParam, lParam);
pThis->GetMinMaxInfo(reinterpret_cast<LPMINMAXINFO>(lParam));
return lRes;
}
LRESULT OnNcActivate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)
{
bHandled = IsWindowEnabled();
return TRUE;
}
LRESULT OnNcCalcSize(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/)
{
T* pThis = static_cast<T*>(this);
CRect* pRc = reinterpret_cast<CRect*>(lParam);
CPoint ptTop(pRc->TopLeft());
(*pRc) -= ptTop;
pThis->NcCalcSize(pRc);
(*pRc) += ptTop;
return NULL;
}
LRESULT OnNcHitTest(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/)
{
return static_cast<T*>(this)->NcHitTest(CPoint(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)));
}
LRESULT OnNcPaint(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
CWindowDC dc(m_hWnd);
T* pThis = static_cast<T*>(this);
pThis->NcDraw(dc);
return NULL;
}
LRESULT OnNcMouseMove(UINT /*uMsg*/, WPARAM wParam, LPARAM lParam, BOOL& /*bHandled*/)
{
T* pThis = static_cast<T*>(this);
pThis->NcMouseMove(CPoint(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), wParam);
return 0;
}
LRESULT OnNcLButtonDown(UINT /*uMsg*/, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
T* pThis = static_cast<T*>(this);
if ((wParam == HTSPLITTERH) || (wParam == HTSPLITTERV))
pThis->StartResizing(CPoint(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)));
else
bHandled = pThis->NcLButtonDown(CPoint(GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), wParam);
return 0;
}
LRESULT OnNcLButtonDblClk(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
return 0;
}
//OnSetIcon
//OnSetText
LRESULT OnCaptionChange(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& /*bHandled*/)
{
// LockWindowUpdate();
DWORD style = ::GetWindowLong(m_hWnd, GWL_STYLE);
::SetWindowLong(m_hWnd, GWL_STYLE, style & (~WS_CAPTION));
LRESULT lRes = DefWindowProc(uMsg, wParam, lParam);
::SetWindowLong(m_hWnd, GWL_STYLE, style);
T* pThis = static_cast<T*>(this);
pThis->SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECHANGED);
// CWindowDC dc(m_hWnd);
// pThis->NcDraw(dc);
// LockWindowUpdate(FALSE);
return lRes;
}
LRESULT OnClose(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM/* lParam*/, BOOL& bHandled)
{
T* pThis = reinterpret_cast<T*>(this);
bHandled = pThis->OnClosing();
return 0;
}
LRESULT OnSettingChange(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)
{
// Note: We can depend on CDWSettings already being updated
// since we will always be a descendant of the main frame
m_caption.UpdateMetrics();
T* pThis = static_cast<T*>(this);
pThis->SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECHANGED);
bHandled = FALSE;
return 1;
}
// LRESULT OnSysColorChange(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
// {
// return 1;
// }
protected:
CCaption m_caption;
CSplitterBar m_splitter;
CSide m_side;
};
template<class TAutoHidePaneTraits>
class CAutoHideManager
: public CAutoHidePaneImpl<CAutoHideManager<TAutoHidePaneTraits>, CWindow, TAutoHidePaneTraits>
{
typedef CAutoHidePaneImpl<CAutoHideManager<TAutoHidePaneTraits>, CWindow, TAutoHidePaneTraits> baseClass;
typedef CAutoHideManager thisClass;
protected:
typedef typename CAutoHideBar::CSide CSide;
enum { tmID = 1, tmTimeout = 1300};
enum { animateTimeout = 100};
enum { hoverTimeout = 50/*HOVER_DEFAULT*/};
enum { barsCount = 4 };
class CSizeTrackerFull : public IDDTracker
{
protected:
typedef ssec::bounds_type<long> CBounds;
public:
bool IsHorizontal() const
{
return m_side.IsHorizontal();
}
bool IsTop() const
{
return m_side.IsTop();
}
CSizeTrackerFull(HWND hWnd, CPoint pt, const CSide& side, long minSize, const CRect& rcBound)
: m_wnd(hWnd), m_side(side)
{
m_wnd.GetWindowRect(&m_rc);
CWindow wndParent = m_wnd.GetParent();
wndParent.ScreenToClient(&m_rc);
wndParent.ScreenToClient(&pt);
if (IsHorizontal())
{
if (IsTop())
m_ppos = &m_rc.bottom;
else
m_ppos = &m_rc.top;
m_bounds.low = rcBound.top;
m_bounds.hi = rcBound.bottom;
m_offset = pt.y - *m_ppos;
}
else
{
if (IsTop())
m_ppos = &m_rc.right;
else
m_ppos = &m_rc.left;
m_bounds.low = rcBound.left;
m_bounds.hi = rcBound.right;
m_offset = pt.x - *m_ppos;
}
m_bounds.low += minSize;
m_bounds.hi -= minSize;
}
void OnMove(long x, long y)
{
long pos = IsHorizontal() ? y : x;
pos -= m_offset;
pos = m_bounds.bind(pos);
if (*m_ppos != pos)
{
*m_ppos = pos;
Move();
}
}
void SetPosition()
{
m_wnd.SetWindowPos(NULL, &m_rc, SWP_NOZORDER | SWP_NOACTIVATE);
}
virtual void Move()
{
SetPosition();
}
bool ProcessWindowMessage(MSG* pMsg)
{
return (pMsg->message == WM_TIMER);
}
protected:
CWindow m_wnd;
CBounds m_bounds;
CRect m_rc;
const CSide m_side;
long* m_ppos;
long m_offset;
};
class CSizeTrackerGhost : public CSizeTrackerFull
{
typedef CSimpleSplitterBarSlider<CSplitterBar> CSlider;
public:
CSizeTrackerGhost(HWND hWnd, CPoint pt, const CSide& side, CSplitterBar& splitter, const CRect& rcBound)
: CSizeTrackerFull(hWnd, pt, side, splitter.GetThickness(), rcBound), m_dc(::GetWindowDC(NULL))
, m_splitter(splitter), m_slider(splitter)
{
m_spOffset = m_slider - *m_ppos;
}
void BeginDrag()
{
m_splitter.DrawGhostBar(m_dc);
}
void EndDrag(bool bCanceled)
{
m_splitter.CleanGhostBar(m_dc);
if (!bCanceled)
SetPosition();
}
virtual void Move()
{
m_splitter.CleanGhostBar(m_dc);
m_slider = *m_ppos + m_spOffset;
m_splitter.DrawGhostBar(m_dc);
}
protected:
CDC m_dc;
CSplitterBar& m_splitter;
CSlider m_slider;
long m_spOffset;
};
public:
CAutoHideManager()
: m_pActive(0)
{
m_side = 0;
}
bool Initialize(HWND hWnd)
{
ApplySystemSettings(hWnd);
m_bars[CSide::sTop].Initialize(CSide(CSide::sTop));
m_bars[CSide::sBottom].Initialize(CSide(CSide::sBottom));
m_bars[CSide::sLeft].Initialize(CSide(CSide::sLeft));
m_bars[CSide::sRight].Initialize(CSide(CSide::sRight));
RECT rc = {0, 0, 0, 0};
return (Create(hWnd, rc) != NULL);
}
void ApplySystemSettings(HWND hWnd)
{
CClientDC dc(hWnd);
CDWSettings settings;
HFONT hOldFont = dc.SelectFont(settings.VSysFont());
TEXTMETRIC tm;
dc.GetTextMetrics(&tm);
m_barThickness = tm.tmHeight;
dc.SelectFont(settings.HSysFont());
dc.GetTextMetrics(&tm);
if (m_barThickness < tm.tmHeight)
m_barThickness = tm.tmHeight;
dc.SelectFont(hOldFont);
int widthIcon = settings.CXMinIcon();
ATLASSERT(widthIcon == settings.CYMinIcon()); //if it throw let me know ;)
if (widthIcon > m_barThickness)
m_barThickness = widthIcon;
m_barThickness += 2 * IPinnedLabel::captionPadding + IPinnedLabel::labelEdge;
}
void UpdateLayout(CDC& dc, CRect& rc)
{
long leftPadding = (m_bars[CSide::sLeft].IsBarVisible()) ? m_barThickness : 0;
long rightPadding = (m_bars[CSide::sRight].IsBarVisible()) ? m_barThickness : 0;
m_bars[CSide::sTop].CalculateRect(dc, rc, m_barThickness, leftPadding, rightPadding);
m_bars[CSide::sBottom].CalculateRect(dc, rc, m_barThickness, leftPadding, rightPadding);
leftPadding = 0;
rightPadding = 0;
m_bars[CSide::sLeft].CalculateRect(dc, rc, m_barThickness, leftPadding, rightPadding);
m_bars[CSide::sRight].CalculateRect(dc, rc, m_barThickness, leftPadding, rightPadding);
m_rcBound.CopyRect(&rc);
if (m_pActive)
FitPane();
}
long Width() const
{
long width = 0;
if (m_bars[CSide::sLeft].IsBarVisible())
width += m_barThickness;
if (m_bars[CSide::sRight].IsBarVisible())
width += m_barThickness;
return width;
}
long Height() const
{
long height = 0;
if (m_bars[CSide::sTop].IsBarVisible())
height += m_barThickness;
if (m_bars[CSide::sBottom].IsBarVisible())
height += m_barThickness;
return height;
}
bool FitPane()
{
CRect rc(m_rcBound);
long spliterWidth = m_splitter.GetThickness();
long width = m_pActive->Width() + spliterWidth;
if (IsHorizontal())
{
long maxWidth = rc.Height();
maxWidth = (maxWidth < spliterWidth) ? spliterWidth : maxWidth - spliterWidth;
if (IsTop())
rc.bottom = rc.top + ((maxWidth > width) ? width : maxWidth);
else
rc.top = rc.bottom - ((maxWidth > width) ? width : maxWidth);
}
else
{
long maxWidth = rc.Width();
maxWidth = (maxWidth < spliterWidth) ? spliterWidth : maxWidth - spliterWidth;
if (IsTop())
rc.right = rc.left + ((maxWidth > width) ? width : maxWidth);
else
rc.left = rc.right - ((maxWidth > width) ? width : maxWidth);
}
return (SetWindowPos(HWND_TOP, rc, SWP_NOACTIVATE) != FALSE);
}
IPinnedLabel::CPinnedWindow* LocatePinnedWindow(const CPoint& pt) const
{
IPinnedLabel::CPinnedWindow* ptr = 0;
for (int i = 0; i < barsCount; i++)
{
ptr = m_bars[i].MouseEnter(pt);
if (ptr != 0)
break;
}
return ptr;
}
bool IsPtIn(const CPoint& pt) const
{
bool bRes;
for (int i = 0; i < barsCount; i++)
{
bRes = m_bars[i].IsPtIn(pt);
if (bRes)
break;
}
return bRes;
}
bool MouseEnter(HWND hWnd, const CPoint& pt)
{
IPinnedLabel::CPinnedWindow* ptr = 0;
for (int i = 0; i < barsCount; i++)
{
CAutoHideBar* pbar = m_bars + i;
ptr = pbar->MouseEnter(pt);
if ((ptr != 0)
&& IsVisualizationNeeded(ptr))
{
m_pTracked = ptr;
TRACKMOUSEEVENT tme = { 0 };
tme.cbSize = sizeof(tme);
tme.hwndTrack = hWnd;
tme.dwFlags = TME_HOVER;
tme.dwHoverTime = hoverTimeout;
::_TrackMouseEvent(&tme);
break;
}
}
return (ptr != 0);
}
bool MouseHover(HWND hWnd, const CPoint& pt)
{
IPinnedLabel::CPinnedWindow* ptr = 0;
for (int i = 0; i < barsCount; i++)
{
CAutoHideBar* pbar = m_bars + i;
ptr = pbar->MouseEnter(pt, true);
if ((ptr != 0)
&& (ptr == m_pTracked)
&& IsVisualizationNeeded(ptr))
{
CClientDC dc(hWnd);
pbar->Draw(dc);
Visualize(ptr, i, true);
break;
}
}
return (ptr != 0);
}
void Draw(CDC& dc)
{
EraseBackground(dc);
for (int i = 0; i < barsCount; i++)
m_bars[i].Draw(dc, false);
}
void EraseBackground(CDC& dc)
{
CDWSettings settings;
CBrush bgrBrush;
bgrBrush.CreateSolidBrush(settings.CoolCtrlBackgroundColor());
HBRUSH hOldBrush = dc.SelectBrush(bgrBrush);
CRect rcTop(m_bars[CSide::sTop].GetBounds());
CRect rcBottom(m_bars[CSide::sBottom].GetBounds());
if (m_bars[CSide::sLeft].IsBarVisible())
{
const CRect& rc = m_bars[CSide::sLeft].GetBounds();
rcTop.left -= rc.Height();
rcBottom.left -= rc.Height();
dc.PatBlt(rc.left, rc.top, rc.Width(), rc.Height(), PATCOPY);
}
if (m_bars[CSide::sRight].IsBarVisible())
{
const CRect& rc = m_bars[CSide::sRight].GetBounds();
rcTop.right += rc.Height();
rcBottom.right += rc.Height();
dc.PatBlt(rc.left, rc.top, rc.Width(), rc.Height(), PATCOPY);
}
if (m_bars[CSide::sTop].IsBarVisible())
dc.PatBlt(rcTop.left, rcTop.top, rcTop.Width(), rcTop.Height(), PATCOPY);
if (m_bars[CSide::sBottom].IsBarVisible())
dc.PatBlt(rcBottom.left, rcBottom.top, rcBottom.Width(), rcBottom.Height(), PATCOPY);
dc.SelectBrush(hOldBrush);
}
bool PinUp(HWND hWnd, DFPINUP* pHdr, bool& bUpdate)
{
pHdr->hdr.hBar = m_hWnd;
CSide side(pHdr->dwDockSide);
ATLASSERT(side.IsValid());
CAutoHideBar* pbar = m_bars + side.Side();
bUpdate = !pbar->IsBarVisible();
IPinnedLabel* pLabel = pbar->Insert(pHdr);
bool bRes = (pLabel != 0);
CWindow(hWnd).GetTopLevelParent().SetActiveWindow();
if (bRes && ((pHdr->dwFlags & DFPU_VISUALIZE) != 0))
Visualize(pLabel->ActivePinnedWindow(), side);
if (!bUpdate)
{
CClientDC dc(hWnd);
pbar->UpdateLayout(dc);
pbar->Draw(dc);
}
return bRes;
}
bool Remove(HWND hWnd, bool bUnpin = false)
{
if (m_pActive != 0 && (m_pActive->Wnd() == hWnd))
Vanish();
HDOCKBAR hBar = GetParent();
ATLASSERT(::IsWindow(hBar));
DFDOCKPOS* pHdr = 0;
DFDOCKPOS dockHdr;
if (bUnpin)
{
// dockHdr.hdr.code=DC_SETDOCKPOSITION;
dockHdr.hdr.hWnd = hWnd;
dockHdr.hdr.hBar = hBar;
pHdr = &dockHdr;
}
bool bRes = false;
for (int i = 0; i < barsCount; i++)
{
CAutoHideBar* pbar = m_bars + i;
bRes = pbar->Remove(hWnd, m_hWnd, pHdr);
if (bRes)
{
if (pbar->IsBarVisible())
{
CClientDC dc(hBar);
pbar->UpdateLayout(dc);
pbar->Draw(dc);
}
else
{
::SendMessage(hBar, WM_SIZE, 0, 0);
::RedrawWindow(hBar, NULL, NULL,
RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE);
}
break;
}
}
CWindow(hWnd).GetTopLevelParent().SetActiveWindow();
return bRes;
}
bool GetDockingPosition(DFDOCKPOS* pHdr) const
{
bool bRes = false;
for (int i = 0; i < barsCount; i++)
{
bRes = m_bars[i].GetDockingPosition(pHdr);
if (bRes)
break;
}
return bRes;
}
///////////////////////////////////////////////////////////
bool IsVisualizationNeeded(const IPinnedLabel::CPinnedWindow* ptr) const
{
return (ptr != m_pActive);
}
bool Visualize(IPinnedLabel::CPinnedWindow* ptr, const CSide& side, bool bAnimate = false)
{
ATLASSERT(ptr);
ATLASSERT(IsVisualizationNeeded(ptr));
Vanish();
Orientation(side);
ATLASSERT(m_pActive == 0);
m_pActive = ptr;
bool bRes = (::SetWindowPos(m_pActive->Wnd(), HWND_TOP, 0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW) != FALSE);
if (bRes)
{
bRes = FitPane();
if (bRes)
{
SetWindowText(m_pActive->Text());
CDWSettings setting;
if (bAnimate && setting.IsAnimationEnabled())
AnimateWindow(animateTimeout, true);
else
bRes = (SetWindowPos(HWND_TOP, 0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE |
SWP_SHOWWINDOW | SWP_FRAMECHANGED) != FALSE);
if (bRes)
{
BOOL dummy;
OnSize(0, 0, 0, dummy);
bRes = (SetTimer(tmID, tmTimeout) == tmID);
}
}
}
ATLASSERT(bRes);
return bRes;
}
bool Vanish(bool bAnimate = false)
{
bool bRes = (m_pActive == 0);
if (!bRes)
{
KillTimer(tmID);
::ShowWindow(m_pActive->Wnd(), SW_HIDE);
m_pActive = 0;
CDWSettings setting;
if (bAnimate && setting.IsAnimationEnabled())
AnimateWindow(animateTimeout, false);
bRes = ShowWindow(SW_HIDE) != FALSE;
}
return bRes;
}
///////////////////////////////////////////////////////////
void StartResizing(const CPoint& pt)
{
std::auto_ptr<CSizeTrackerFull> pTracker;
CDWSettings settings;
if (settings.GhostDrag())
{
CRect rc;
GetWindowRect(&rc);
CSplitterBar splitter(IsHorizontal());
splitter.CalculateRect(rc, m_side.Side());
pTracker = std::auto_ptr<CSizeTrackerFull>(
new CSizeTrackerGhost(m_hWnd, pt, Orientation(), splitter, m_rcBound));
}
else
pTracker = std::auto_ptr<CSizeTrackerFull>(
new CSizeTrackerFull(m_hWnd, pt, Orientation(), m_splitter.GetThickness(), m_rcBound));
HWND hWndParent = GetParent();
ATLASSERT(hWndParent);
TrackDragAndDrop(*pTracker, hWndParent);
}
bool PinBtnPress()
{
ATLASSERT(m_pActive);
return Remove(m_pActive->Wnd(), true);
}
bool OnClosing()
{
ATLASSERT(m_pActive);
::PostMessage(m_pActive->Wnd(), WM_CLOSE, NULL, NULL);
return true;
}
DECLARE_WND_CLASS_EX(_T("CAutoHideManager"), 0, COLOR_WINDOW)
protected:
BEGIN_MSG_MAP(thisClass)
MESSAGE_HANDLER(WM_DESTROY, OnDestroy)
MESSAGE_HANDLER(WM_TIMER, OnTimer)
MESSAGE_HANDLER(WM_SIZE, OnSize)
/////////////////
MESSAGE_HANDLER(WMDF_DOCK, OnDock)
CHAIN_MSG_MAP(baseClass)
END_MSG_MAP()
LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled)
{
bHandled = false;
Vanish(false);
return 0;
}
LRESULT OnTimer(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
POINT pt;
CRect rc;
GetCursorPos(&pt);
GetWindowRect(&rc);
if (!rc.PtInRect(pt))
{
CWindow wndParent(GetParent());
wndParent.ScreenToClient(&pt);
IPinnedLabel::CPinnedWindow* ptr = LocatePinnedWindow(pt);
if (ptr == 0 || IsVisualizationNeeded(ptr))
{
HWND hWnd = GetFocus();
while (hWnd != m_hWnd)
{
if (hWnd == NULL)
{
Vanish(true);
break;
}
hWnd =::GetParent(hWnd);
}
}
}
return 0;
}
LRESULT OnSize(UINT /*uMsg*/, WPARAM wParam, LPARAM /*lParam*/, BOOL& bHandled)
{
if (wParam != SIZE_MINIMIZED && (m_pActive != 0))
{
CRect rc;
GetClientRect(&rc);
::SetWindowPos(m_pActive->Wnd(), NULL,
rc.left, rc.top,
rc.Width(), rc.Height(),
SWP_NOZORDER | SWP_NOACTIVATE);
GetWindowRect(&rc);
long width = (IsHorizontal()) ? rc.Height() : rc.Width();
width -= m_splitter.GetThickness();
if (width > m_caption.GetThickness()/*0*/)
m_pActive->Width(width);
}
bHandled = FALSE;
return 1;
}
LRESULT OnDock(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/)
{
LRESULT lRes = FALSE;
DFMHDR* pHdr = reinterpret_cast<DFMHDR*>(lParam);
switch (pHdr->code)
{
case DC_UNDOCK:
ATLASSERT(::IsWindow(pHdr->hWnd));
lRes = Remove(pHdr->hWnd);
break;
}
return lRes;
}
protected:
long m_barThickness;
IPinnedLabel::CPinnedWindow* m_pActive;
IPinnedLabel::CPinnedWindow* m_pTracked;
CRect m_rcBound;
CAutoHideBar m_bars[barsCount];
};
}//namespace dockwins
#endif // WTL_DW_DWAUTOHIDE_H_INCLUDED_
|
[
"[email protected]"
] |
[
[
[
1,
2014
]
]
] |
53198c518d5e5757b07b8f6fef6263ebbde242d1
|
011359e589f99ae5fe8271962d447165e9ff7768
|
/src/burn/sega/sys16_gfx.cpp
|
f182ff1820c44c9f1ec6dca5ff45a84d71b1bd1d
|
[] |
no_license
|
PS3emulators/fba-next-slim
|
4c753375fd68863c53830bb367c61737393f9777
|
d082dea48c378bddd5e2a686fe8c19beb06db8e1
|
refs/heads/master
| 2021-01-17T23:05:29.479865 | 2011-12-01T18:16:02 | 2011-12-01T18:16:02 | 2,899,840 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 135,447 |
cpp
|
#if defined (_XBOX)
#include <xtl.h>
#elif defined (SN_TARGET_PS3)
#include <ppu_intrinsics.h>
#include "highcol.h"
#endif
#include "sys16.h"
#ifdef __LIBSNES__
#include "../ssnes-typedefs.h"
#endif
int System16SpriteBanks[16];
int System16TileBanks[8];
int System16OldTileBanks[8];
int System16Page[4];
int System16OldPage[4];
unsigned char BootlegFgPage[4];
unsigned char BootlegBgPage[4];
int System16ScrollX[4] = {0, 0, 0, 0};
int System16ScrollY[4] = {0, 0, 0, 0};
int System16VideoEnable;
int System18VdpEnable;
int System18VdpMixing;
int System16ScreenFlip;
int System16SpriteShadow;
int System16SpriteXOffset = 0;
int System16ColScroll = 0;
int System16RowScroll = 0;
int System16RoadControl = 0;
int System16RoadColorOffset1 = 0;
int System16RoadColorOffset2 = 0;
int System16RoadColorOffset3 = 0;
int System16RoadXOffset = 0;
int System16RoadPriority = 0;
int System16PaletteEntries = 0;
int System16TilemapColorOffset = 0;
int System16TileBankSize = 0;
int System16RecalcBgTileMap = 0;
int System16RecalcBgAltTileMap = 0;
int System16RecalcFgTileMap = 0;
int System16RecalcFgAltTileMap = 0;
int System16CreateOpaqueTileMaps = 0;
int System16IgnoreVideoEnable = 0;
bool bSystem16BootlegRender;
unsigned short *pTempDraw = NULL;
#if defined (_XBOX)
__declspec(align(128)) static unsigned short *pSys16BgTileMapOpaque = NULL;
__declspec(align(128)) static unsigned short *pSys16BgAltTileMapOpaque = NULL;
__declspec(align(128)) static unsigned short *pSys16BgTileMapPri0 = NULL;
__declspec(align(128)) static unsigned short *pSys16BgTileMapPri1 = NULL;
__declspec(align(128)) static unsigned short *pSys16FgTileMapPri0 = NULL;
__declspec(align(128)) static unsigned short *pSys16FgTileMapPri1 = NULL;
__declspec(align(128)) static unsigned short *pSys16BgAltTileMapPri0 = NULL;
__declspec(align(128)) static unsigned short *pSys16BgAltTileMapPri1 = NULL;
__declspec(align(128)) static unsigned short *pSys16FgAltTileMapPri0 = NULL;
__declspec(align(128)) static unsigned short *pSys16FgAltTileMapPri1 = NULL;
#else
__attribute__ ((aligned (128))) static unsigned short *pSys16BgTileMapOpaque = NULL;
__attribute__ ((aligned (128))) static unsigned short *pSys16BgAltTileMapOpaque = NULL;
__attribute__ ((aligned (128))) static unsigned short *pSys16BgTileMapPri0 = NULL;
__attribute__ ((aligned (128))) static unsigned short *pSys16BgTileMapPri1 = NULL;
__attribute__ ((aligned (128))) static unsigned short *pSys16FgTileMapPri0 = NULL;
__attribute__ ((aligned (128))) static unsigned short *pSys16FgTileMapPri1 = NULL;
__attribute__ ((aligned (128))) static unsigned short *pSys16BgAltTileMapPri0 = NULL;
__attribute__ ((aligned (128))) static unsigned short *pSys16BgAltTileMapPri1 = NULL;
__attribute__ ((aligned (128))) static unsigned short *pSys16FgAltTileMapPri0 = NULL;
__attribute__ ((aligned (128))) static unsigned short *pSys16FgAltTileMapPri1 = NULL;
#endif
/*====================================================
Decode Functions
====================================================*/
void System16Decode8x8Tiles(unsigned char *pTile, int Num, int offs1, int offs2, int offs3)
{
int c, y, x, Dat1, Dat2, Dat3, Col;
for (c = 0; c < Num; c++) {
for (y = 0; y < 8; y++) {
Dat1 = System16TempGfx[offs1 + (c * 8) + y];
Dat2 = System16TempGfx[offs2 + (c * 8) + y];
Dat3 = System16TempGfx[offs3 + (c * 8) + y];
for (x = 0; x < 8; x++) {
Col = 0;
if (Dat1 & 1) { Col |= 4;}
if (Dat2 & 1) { Col |= 2;}
if (Dat3 & 1) { Col |= 1;}
pTile[(c * 64) + (y * 8) + (7 - x)] = Col;
Dat1 >>= 1;
Dat2 >>= 1;
Dat3 >>= 1;
}
}
}
}
void OutrunDecodeRoad()
{
for (int y = 0; y < 256 * 2; y++) {
UINT8 *src = System16TempGfx + ((y & 0xff) * 0x40 + (y >> 8) * 0x8000) % System16RoadRomSize;
UINT8 *dst = System16Roads + y * 512;
/* loop over columns */
for (int x = 0; x < 512; x++)
{
dst[x] = (((src[x/8] >> (~x & 7)) & 1) << 0) | (((src[x/8 + 0x4000] >> (~x & 7)) & 1) << 1);
/* pre-mark road data in the "stripe" area with a high bit */
if (x >= 256-8 && x < 256 && dst[x] == 3)
dst[x] |= 4;
}
}
/* set up a dummy road in the last entry */
XMemSet(System16Roads + 256 * 2 * 512, 3, 512);
}
void HangonDecodeRoad()
{
int x, y;
/* loop over rows */
for (y = 0; y < 256; y++)
{
UINT8 *src = System16TempGfx + ((y & 0xff) * 0x40) % System16RoadRomSize;
UINT8 *dst = System16Roads + y * 512;
/* loop over columns */
for (x = 0; x < 512; x++)
dst[x] = (((src[x/8] >> (~x & 7)) & 1) << 0) | (((src[x/8 + 0x4000] >> (~x & 7)) & 1) << 1);
}
}
/*====================================================
Tile Layer Rendering
====================================================*/
#define PLOTPIXEL(x, po) pPixel[x] = nPalette | pTileData[x] | po;
#define PLOTPIXEL_MASK(x, mc, po) if (pTileData[x] != mc) {pPixel[x] = nPalette | pTileData[x] | po;}
static inline void RenderTile(unsigned short* pDestDraw, int nTileNumber, int StartX, int StartY, int nTilePalette, int nColourDepth, int nPaletteOffset, unsigned char *pTile)
{
UINT32 nPalette = nTilePalette << nColourDepth;
pTileData = pTile + (nTileNumber << 6);
unsigned short* pPixel = pDestDraw + (StartY * 1024) + StartX;
for (int y = 0; y < 8; y++, pPixel += 1024, pTileData += 8) {
PLOTPIXEL(0, nPaletteOffset);
PLOTPIXEL(1, nPaletteOffset);
PLOTPIXEL(2, nPaletteOffset);
PLOTPIXEL(3, nPaletteOffset);
PLOTPIXEL(4, nPaletteOffset);
PLOTPIXEL(5, nPaletteOffset);
PLOTPIXEL(6, nPaletteOffset);
PLOTPIXEL(7, nPaletteOffset);
}
}
static void RenderTile_Mask(unsigned short* __restrict pDestDraw, int nTileNumber, int StartX, int StartY, int nTilePalette, int nColourDepth, int nMaskColour, int nPaletteOffset, unsigned char * __restrict pTile)
{
UINT32 nPalette = nTilePalette << nColourDepth;
pTileData = pTile + (nTileNumber << 6);
unsigned short* __restrict pPixel = pDestDraw + (StartY * 1024) + StartX;
for (int y = 0; y < 8; y++, pPixel += 1024, pTileData += 8) {
PLOTPIXEL_MASK(0, nMaskColour, nPaletteOffset);
PLOTPIXEL_MASK(1, nMaskColour, nPaletteOffset);
PLOTPIXEL_MASK(2, nMaskColour, nPaletteOffset);
PLOTPIXEL_MASK(3, nMaskColour, nPaletteOffset);
PLOTPIXEL_MASK(4, nMaskColour, nPaletteOffset);
PLOTPIXEL_MASK(5, nMaskColour, nPaletteOffset);
PLOTPIXEL_MASK(6, nMaskColour, nPaletteOffset);
PLOTPIXEL_MASK(7, nMaskColour, nPaletteOffset);
}
}
#undef PLOTPIXEL
#undef PLOTPIXEL_MASK
void System16ATileMapsInit(int bOpaque)
{
if (bOpaque) {
pSys16BgTileMapOpaque = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
}
pSys16BgTileMapPri0 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16BgTileMapPri1 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16FgTileMapPri0 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16FgTileMapPri1 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
}
void System16BTileMapsInit(int bOpaque)
{
if (bOpaque) {
pSys16BgTileMapOpaque = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16BgAltTileMapOpaque = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
}
pSys16BgTileMapPri0 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16BgTileMapPri1 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16FgTileMapPri0 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16FgTileMapPri1 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16BgAltTileMapPri0 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16BgAltTileMapPri1 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16FgAltTileMapPri0 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
pSys16FgAltTileMapPri1 = (unsigned short*)malloc(1024 * 512 * sizeof(unsigned short));
}
void System16TileMapsExit()
{
free(pSys16BgTileMapOpaque);
pSys16BgTileMapOpaque = NULL;
free(pSys16BgAltTileMapOpaque);
pSys16BgAltTileMapOpaque = NULL;
free(pSys16BgTileMapPri0);
pSys16BgTileMapPri0 = NULL;
free(pSys16BgTileMapPri1);
pSys16BgTileMapPri1 = NULL;
free(pSys16FgTileMapPri0);
pSys16FgTileMapPri0 = NULL;
free(pSys16FgTileMapPri1);
pSys16FgTileMapPri1 = NULL;
free(pSys16BgAltTileMapPri0);
pSys16BgAltTileMapPri0 = NULL;
free(pSys16BgAltTileMapPri1);
pSys16BgAltTileMapPri1 = NULL;
free(pSys16FgAltTileMapPri0);
pSys16FgAltTileMapPri0 = NULL;
free(pSys16FgAltTileMapPri1);
pSys16FgAltTileMapPri1 = NULL;
}
void DebugMsg(const char* format, ...);
static void System16ACreateBgTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, i, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
UINT16 *pDest = NULL;
if (System16CreateOpaqueTileMaps) XMemSet(pSys16BgTileMapOpaque, 0, 1024 * 512 * sizeof(unsigned short));
EffPage = (System16Page[1]);
EffPage = ((EffPage >> 4) & 0x0707) | ((EffPage << 4) & 0x7070);
if ((BurnDrvGetHardwareCode() & HARDWARE_PUBLIC_MASK) == HARDWARE_SEGA_HANGON) EffPage &= 0x3333;
for (i = 0; i < 2; i++) {
if (i == 0) pDest = pSys16BgTileMapPri0;
if (i == 1) pDest = pSys16BgTileMapPri1;
XMemSet(pDest, 0, 1024 * 512 * sizeof(unsigned short));
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = 8 * my;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage * 64 * 32) + (my * 64) + mx;
Attr = swapWord(VideoRam[TileIndex])&0xFFF;
Priority = (Attr >> 12) & 1;
if (Priority != i) continue;
x = 8 * mx;
x += xOffs;
Code = ((Attr >> 1) & 0x1000) | (Attr & 0xfff);
Code &= (System16NumTiles - 1);
Colour = (Attr >> 5) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (System16CreateOpaqueTileMaps) RenderTile(pSys16BgTileMapOpaque, Code, x, y, Colour, 3, ColourOff, System16Tiles);
RenderTile_Mask(pDest, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
}
static void System16ACreateFgTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
XMemSet(pSys16FgTileMapPri0, 0, 1024 * 512 * sizeof(unsigned short));
XMemSet(pSys16FgTileMapPri1, 0, 1024 * 512 * sizeof(unsigned short));
EffPage = System16Page[0];
EffPage = ((EffPage >> 4) & 0x0707) | ((EffPage << 4) & 0x7070);
if ((BurnDrvGetHardwareCode() & HARDWARE_PUBLIC_MASK) == HARDWARE_SEGA_HANGON) EffPage &= 0x3333;
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = 8 * my;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage * 64 * 32) + (my * 64) + mx;
Attr = swapWord(VideoRam[TileIndex]);
Priority = (Attr >> 12) & 1;
x = 8 * mx;
x += xOffs;
Code = ((Attr >> 1) & 0x1000) | (Attr & 0xfff);
Code &= (System16NumTiles - 1);
Colour = (Attr >> 5) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (Priority == 0) RenderTile_Mask(pSys16FgTileMapPri0, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
if (Priority == 1) RenderTile_Mask(pSys16FgTileMapPri1, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
static void System16BCreateBgTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, i, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
UINT16 *pDest = NULL;
if (System16CreateOpaqueTileMaps) XMemSet(pSys16BgTileMapOpaque, 0, 0x100000);
EffPage = (System16Page[1]);
for (i = 0; i < 2; i++) {
if (i == 0) pDest = pSys16BgTileMapPri0;
if (i == 1) pDest = pSys16BgTileMapPri1;
XMemSet(pDest, 0, 0x100000);
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = my << 3;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage * 64 * 32) + (my * 64) + mx;
Attr = swapWord(VideoRam[TileIndex]);
Priority = (Attr >> 15) & 1;
if (Priority != i) continue;
x = mx << 3;
x += xOffs;
Code = Attr & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Attr >> 6) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (System16CreateOpaqueTileMaps) RenderTile(pSys16BgTileMapOpaque, Code, x, y, Colour, 3, ColourOff, System16Tiles);
RenderTile_Mask(pDest, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
}
static void System16BCreateBgAltTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, i, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
UINT16 *pDest = NULL;
if (System16CreateOpaqueTileMaps) XMemSet(pSys16BgAltTileMapOpaque, 0, 1024 * 512 * sizeof(unsigned short));
EffPage = System16Page[3];
for (i = 0; i < 2; i++) {
if (i == 0) pDest = pSys16BgAltTileMapPri0;
if (i == 1) pDest = pSys16BgAltTileMapPri1;
if (System16RecalcBgAltTileMap) XMemSet(pDest, 0,1024 * 512 * sizeof(unsigned short));
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = 8 * my;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage * 64 * 32) + (my * 64) + mx;
Attr = swapWord(VideoRam[TileIndex]);
Priority = (Attr >> 15) & 1;
if (Priority != i) continue;
x = 8 * mx;
x += xOffs;
Code = Attr & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Attr >> 6) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (System16CreateOpaqueTileMaps) RenderTile(pSys16BgAltTileMapOpaque, Code, x, y, Colour, 3, ColourOff, System16Tiles);
if (System16RecalcBgAltTileMap) RenderTile_Mask(pDest, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
}
static void System16BCreateFgTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
XMemSet(pSys16FgTileMapPri0, 0, 1024 * 512 * sizeof(unsigned short));
XMemSet(pSys16FgTileMapPri1, 0, 1024 * 512 * sizeof(unsigned short));
EffPage = (System16Page[0]);
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = 8 * my;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage * 64 * 32) + (my * 64) + mx;
Attr = swapWord(VideoRam[TileIndex]);
Priority = (Attr >> 15) & 1;
x = 8 * mx;
x += xOffs;
Code = Attr & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Attr >> 6) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (Priority == 0) RenderTile_Mask(pSys16FgTileMapPri0, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
if (Priority == 1) RenderTile_Mask(pSys16FgTileMapPri1, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
static void System16BCreateFgAltTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
XMemSet(pSys16FgAltTileMapPri0, 0, 524288 * sizeof(unsigned short));
XMemSet(pSys16FgAltTileMapPri1, 0, 524288 * sizeof(unsigned short));
EffPage = System16Page[2];
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = my << 3;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage << 11) + (my << 6) + mx;
Attr = swapWord(VideoRam[TileIndex]);
Priority = (Attr >> 15) & 1;
x = mx << 3;
x += xOffs;
Code = Attr & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Attr >> 6) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (Priority == 0) RenderTile_Mask(pSys16FgAltTileMapPri0, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
if (Priority == 1) RenderTile_Mask(pSys16FgAltTileMapPri1, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
static void System16BAltCreateBgTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, i, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
UINT16 *pDest = NULL;
if (System16CreateOpaqueTileMaps) XMemSet(pSys16BgTileMapOpaque, 0, 1024 * 512 * sizeof(unsigned short));
EffPage = System16Page[1];
for (i = 0; i < 2; i++) {
if (i == 0) pDest = pSys16BgTileMapPri0;
if (i == 1) pDest = pSys16BgTileMapPri1;
XMemSet(pDest, 0, 1024 * 512 * sizeof(unsigned short));
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = 8 * my;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage * 64 * 32) + (my * 64) + mx;
Attr = swapWord(VideoRam[TileIndex]);
Priority = (Attr >> 15) & 1;
if (Priority != i) continue;
x = 8 * mx;
x += xOffs;
Code = Attr & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Attr >> 5) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (System16CreateOpaqueTileMaps) RenderTile(pSys16BgTileMapOpaque, Code, x, y, Colour, 3, ColourOff, System16Tiles);
RenderTile_Mask(pDest, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
}
static void System16BAltCreateBgAltTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, i, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
UINT16 *pDest = NULL;
if (System16CreateOpaqueTileMaps) XMemSet(pSys16BgAltTileMapOpaque, 0, 1024 * 512 * sizeof(unsigned short));
EffPage = System16Page[3];
for (i = 0; i < 2; i++) {
if (i == 0) pDest = pSys16BgAltTileMapPri0;
if (i == 1) pDest = pSys16BgAltTileMapPri1;
if (System16RecalcBgAltTileMap) XMemSet(pDest, 0,1024 * 512 * sizeof(unsigned short));
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = 8 * my;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage * 64 * 32) + (my * 64) + mx;
Attr = swapWord(VideoRam[TileIndex]);
Priority = (Attr >> 15) & 1;
if (Priority != i) continue;
x = 8 * mx;
x += xOffs;
Code = Attr & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Attr >> 5) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (System16CreateOpaqueTileMaps) RenderTile(pSys16BgAltTileMapOpaque, Code, x, y, Colour, 3, ColourOff, System16Tiles);
if (System16RecalcBgAltTileMap) RenderTile_Mask(pDest, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
}
static void System16BAltCreateFgTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
XMemSet(pSys16FgTileMapPri0, 0, 1024 * 512 * sizeof(unsigned short));
XMemSet(pSys16FgTileMapPri1, 0, 1024 * 512 * sizeof(unsigned short));
EffPage = System16Page[0];
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = 8 * my;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage * 64 * 32) + (my * 64) + mx;
Attr = swapWord(VideoRam[TileIndex]);
Priority = (Attr >> 15) & 1;
x = 8 * mx;
x += xOffs;
Code = Attr & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Attr >> 5) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (Priority == 0) RenderTile_Mask(pSys16FgTileMapPri0, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
if (Priority == 1) RenderTile_Mask(pSys16FgTileMapPri1, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
static void System16BAltCreateFgAltTileMaps()
{
int mx, my, Attr, Code, Colour, x, y, TileIndex, Priority, ColourOff, TilePage, xOffs, yOffs;
UINT16 *VideoRam = (UINT16*)System16TileRam;
UINT16 EffPage, ActPage;
XMemSet(pSys16FgAltTileMapPri0, 0, 1024 * 512 * sizeof(unsigned short));
XMemSet(pSys16FgAltTileMapPri1, 0, 1024 * 512 * sizeof(unsigned short));
EffPage = System16Page[2];
for (TilePage = 0; TilePage < 4; TilePage++) {
ActPage = (EffPage >> 0) & 0x0f;
xOffs = 0;
yOffs = 0;
if (TilePage == 1) { ActPage = (EffPage >> 4) & 0x0f; xOffs = 512; }
if (TilePage == 2) { ActPage = (EffPage >> 8) & 0x0f; yOffs = 256; }
if (TilePage == 3) { ActPage = (EffPage >> 12) & 0x0f; xOffs = 512; yOffs = 256; }
for (my = 0; my < 32; my++) {
y = 8 * my;
y += yOffs;
for (mx = 0; mx < 64; mx++) {
TileIndex = (ActPage * 64 * 32) + (my * 64) + mx;
Attr = swapWord(VideoRam[TileIndex]);
Priority = (Attr >> 15) & 1;
x = 8 * mx;
x += xOffs;
Code = Attr & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Attr >> 5) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (Priority == 0) RenderTile_Mask(pSys16FgAltTileMapPri0, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
if (Priority == 1) RenderTile_Mask(pSys16FgAltTileMapPri1, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
}
}
}
static void System16ACreateTileMaps()
{
if (System16RecalcBgTileMap) {
System16ACreateBgTileMaps();
System16RecalcBgTileMap = 0;
}
if (System16RecalcFgTileMap) {
System16ACreateFgTileMaps();
System16RecalcFgTileMap = 0;
}
}
static void System16BCreateTileMaps()
{
UINT16 *TextRam = (UINT16*)System16TextRam;
UINT16 TextRamSwapped = 0;
int i;
// Check if we need the alt tilemaps
if (System16RecalcFgAltTileMap) {
System16RecalcFgAltTileMap = 0;
for (i = (0xf80>>1) + 0 * (0x40>>1); i < (0xf80>>1) + 0 * (0x40>>1) + (224>>3); i++) {
TextRamSwapped = swapWord(TextRam[i]);
if (TextRamSwapped & 0x8000) System16RecalcFgAltTileMap = 1;
}
}
if (System16RecalcBgAltTileMap) {
System16RecalcBgAltTileMap = 0;
for (i = 0xf80/2 + 1 * 0x40/2; i < 0xf80/2 + 1 * 0x40/2 + 224/8; i++) {
TextRamSwapped = swapWord(TextRam[i]);
if (TextRamSwapped & 0x8000) System16RecalcBgAltTileMap = 1;
}
}
if (System16RecalcBgTileMap) {
System16BCreateBgTileMaps();
System16RecalcBgTileMap = 0;
}
if (System16RecalcBgAltTileMap) {
System16BCreateBgAltTileMaps();
System16RecalcBgAltTileMap = 0;
}
if (System16RecalcFgTileMap) {
System16BCreateFgTileMaps();
System16RecalcFgTileMap = 0;
}
if (System16RecalcFgAltTileMap) {
System16BCreateFgAltTileMaps();
System16RecalcFgAltTileMap = 0;
}
}
static void System16BAltCreateTileMaps()
{
UINT16 *TextRam = (UINT16*)System16TextRam;
int i;
// Check if we need the alt tilemaps
if (System16RecalcFgAltTileMap) {
System16RecalcFgAltTileMap = 0;
for (i = 0xf80/2 + 0 * 0x40/2; i < 0xf80/2 + 0 * 0x40/2 + 224/8; i++) {
if (swapWord(TextRam[i]) & 0x8000) System16RecalcFgAltTileMap = 1;
}
}
if (System16RecalcBgAltTileMap) {
System16RecalcBgAltTileMap = 0;
for (i = 0xf80/2 + 1 * 0x40/2; i < 0xf80/2 + 1 * 0x40/2 + 224/8; i++) {
if (swapWord(TextRam[i]) & 0x8000) System16RecalcBgAltTileMap = 1;
}
}
if (System16RecalcBgTileMap) {
System16BAltCreateBgTileMaps();
System16RecalcBgTileMap = 0;
}
if (System16RecalcBgAltTileMap) {
System16BAltCreateBgAltTileMaps();
System16RecalcBgAltTileMap = 0;
}
if (System16RecalcFgTileMap) {
System16BAltCreateFgTileMaps();
System16RecalcFgTileMap = 0;
}
if (System16RecalcFgAltTileMap) {
System16BAltCreateFgAltTileMaps();
System16RecalcFgAltTileMap = 0;
}
}
void System16ATileWordWrite(unsigned int Offset, unsigned short d)
{
UINT16 *TileRam = (UINT16*)System16TileRam;
unsigned int FgPage1Addr = (((System16Page[0] >> 0) & 0xf) * (32 * 64)) << 1;
unsigned int FgPage2Addr = (((System16Page[0] >> 4) & 0xf) * (32 * 64)) << 1;
unsigned int FgPage3Addr = (((System16Page[0] >> 8) & 0xf) * (32 * 64)) << 1;
unsigned int FgPage4Addr = (((System16Page[0] >> 12) & 0xf) * (32 * 64)) << 1;
unsigned int BgPage1Addr = (((System16Page[1] >> 0) & 0xf) * (32 * 64)) << 1;
unsigned int BgPage2Addr = (((System16Page[1] >> 4) & 0xf) * (32 * 64)) << 1;
unsigned int BgPage3Addr = (((System16Page[1] >> 8) & 0xf) * (32 * 64)) << 1;
unsigned int BgPage4Addr = (((System16Page[1] >> 12) & 0xf) * (32 * 64)) << 1;
if ((Offset >= FgPage1Addr && Offset <= (FgPage1Addr + 0xfff)) || (Offset >= FgPage2Addr && Offset <= (FgPage2Addr + 0xfff)) || (Offset >= FgPage3Addr && Offset <= (FgPage3Addr + 0xfff)) || (Offset >= FgPage4Addr && Offset <= (FgPage4Addr + 0xfff))) {
if (TileRam[Offset >> 1] != d) System16RecalcFgTileMap = 1;
}
if ((Offset >= BgPage1Addr && Offset <= (BgPage1Addr + 0xfff)) || (Offset >= BgPage2Addr && Offset <= (BgPage2Addr + 0xfff)) || (Offset >= BgPage3Addr && Offset <= (BgPage3Addr + 0xfff)) || (Offset >= BgPage4Addr && Offset <= (BgPage4Addr + 0xfff))) {
if (TileRam[Offset >> 1] != d) System16RecalcBgTileMap = 1;
}
TileRam[Offset >> 1] = swapWord(d);
}
void System16ATileByteWrite(unsigned int Offset, unsigned char d)
{
unsigned int FgPage1Addr = (((System16Page[0] >> 0) & 0xf) * (32 * 64)) << 1;
unsigned int FgPage2Addr = (((System16Page[0] >> 4) & 0xf) * (32 * 64)) << 1;
unsigned int FgPage3Addr = (((System16Page[0] >> 8) & 0xf) * (32 * 64)) << 1;
unsigned int FgPage4Addr = (((System16Page[0] >> 12) & 0xf) * (32 * 64)) << 1;
unsigned int BgPage1Addr = (((System16Page[1] >> 0) & 0xf) * (32 * 64)) << 1;
unsigned int BgPage2Addr = (((System16Page[1] >> 4) & 0xf) * (32 * 64)) << 1;
unsigned int BgPage3Addr = (((System16Page[1] >> 8) & 0xf) * (32 * 64)) << 1;
unsigned int BgPage4Addr = (((System16Page[1] >> 12) & 0xf) * (32 * 64)) << 1;
if ((Offset >= FgPage1Addr && Offset <= (FgPage1Addr + 0xfff)) || (Offset >= FgPage2Addr && Offset <= (FgPage2Addr + 0xfff)) || (Offset >= FgPage3Addr && Offset <= (FgPage3Addr + 0xfff)) || (Offset >= FgPage4Addr && Offset <= (FgPage4Addr + 0xfff))) {
if (System16TileRam[Offset] != d) System16RecalcFgTileMap = 1;
}
if ((Offset >= BgPage1Addr && Offset <= (BgPage1Addr + 0xfff)) || (Offset >= BgPage2Addr && Offset <= (BgPage2Addr + 0xfff)) || (Offset >= BgPage3Addr && Offset <= (BgPage3Addr + 0xfff)) || (Offset >= BgPage4Addr && Offset <= (BgPage4Addr + 0xfff))) {
if (System16TileRam[Offset] != d) System16RecalcBgTileMap = 1;
}
System16TileRam[Offset] = d;
}
void System16BTileWordWrite(unsigned int Offset, unsigned short d)
{
UINT16 *TileRam = (UINT16*)System16TileRam;
unsigned int FgPage1Addr = (((System16Page[0] >> 0) & 0xf) << 11) << 1;
unsigned int FgPage2Addr = (((System16Page[0] >> 4) & 0xf) << 11) << 1;
unsigned int FgPage3Addr = (((System16Page[0] >> 8) & 0xf) << 11) << 1;
unsigned int FgPage4Addr = (((System16Page[0] >> 12) & 0xf) << 11) << 1;
unsigned int BgPage1Addr = (((System16Page[1] >> 0) & 0xf) << 11) << 1;
unsigned int BgPage2Addr = (((System16Page[1] >> 4) & 0xf) << 11) << 1;
unsigned int BgPage3Addr = (((System16Page[1] >> 8) & 0xf) << 11) << 1;
unsigned int BgPage4Addr = (((System16Page[1] >> 12) & 0xf) << 11) << 1;
unsigned int FgAltPage1Addr = (((System16Page[2] >> 0) & 0xf) << 11) << 1;
unsigned int FgAltPage2Addr = (((System16Page[2] >> 4) & 0xf) << 11) << 1;
unsigned int FgAltPage3Addr = (((System16Page[2] >> 8) & 0xf) << 11) << 1;
unsigned int FgAltPage4Addr = (((System16Page[2] >> 12) & 0xf) << 11) << 1;
unsigned int BgAltPage1Addr = (((System16Page[3] >> 0) & 0xf) << 11) << 1;
unsigned int BgAltPage2Addr = (((System16Page[3] >> 4) & 0xf) << 11) << 1;
unsigned int BgAltPage3Addr = (((System16Page[3] >> 8) & 0xf) << 11) << 1;
unsigned int BgAltPage4Addr = (((System16Page[3] >> 12) & 0xf) << 11) << 1;
if ((Offset >= FgPage1Addr && Offset <= (FgPage1Addr + 0xfff)) || (Offset >= FgPage2Addr && Offset <= (FgPage2Addr + 0xfff)) || (Offset >= FgPage3Addr && Offset <= (FgPage3Addr + 0xfff)) || (Offset >= FgPage4Addr && Offset <= (FgPage4Addr + 0xfff))) {
if (TileRam[Offset >> 1] != d) System16RecalcFgTileMap = 1;
}
if ((Offset >= BgPage1Addr && Offset <= (BgPage1Addr + 0xfff)) || (Offset >= BgPage2Addr && Offset <= (BgPage2Addr + 0xfff)) || (Offset >= BgPage3Addr && Offset <= (BgPage3Addr + 0xfff)) || (Offset >= BgPage4Addr && Offset <= (BgPage4Addr + 0xfff))) {
if (TileRam[Offset >> 1] != d) System16RecalcBgTileMap = 1;
}
if ((Offset >= FgAltPage1Addr && Offset <= (FgAltPage1Addr + 0xfff)) || (Offset >= FgAltPage2Addr && Offset <= (FgAltPage2Addr + 0xfff)) || (Offset >= FgAltPage3Addr && Offset <= (FgAltPage3Addr + 0xfff)) || (Offset >= FgAltPage4Addr && Offset <= (FgAltPage4Addr + 0xfff))) {
if (TileRam[Offset >> 1] != d) System16RecalcFgAltTileMap = 1;
}
if ((Offset >= BgAltPage1Addr && Offset <= (BgAltPage1Addr + 0xfff)) || (Offset >= BgAltPage2Addr && Offset <= (BgAltPage2Addr + 0xfff)) || (Offset >= BgAltPage3Addr && Offset <= (BgAltPage3Addr + 0xfff)) || (Offset >= BgAltPage4Addr && Offset <= (BgAltPage4Addr + 0xfff))) {
if (TileRam[Offset >> 1] != d) System16RecalcBgAltTileMap = 1;
}
TileRam[Offset >> 1] = swapWord(d);
}
void System16BTileByteWrite(unsigned int Offset, unsigned char d)
{
unsigned int FgPage1Addr = (((System16Page[0] >> 0) & 0xf) << 11) << 1;
unsigned int FgPage2Addr = (((System16Page[0] >> 4) & 0xf) << 11) << 1;
unsigned int FgPage3Addr = (((System16Page[0] >> 8) & 0xf) << 11) << 1;
unsigned int FgPage4Addr = (((System16Page[0] >> 12) & 0xf) << 11) << 1;
unsigned int BgPage1Addr = (((System16Page[1] >> 0) & 0xf) << 11) << 1;
unsigned int BgPage2Addr = (((System16Page[1] >> 4) & 0xf) << 11) << 1;
unsigned int BgPage3Addr = (((System16Page[1] >> 8) & 0xf) << 11) << 1;
unsigned int BgPage4Addr = (((System16Page[1] >> 12) & 0xf) << 11) << 1;
unsigned int FgAltPage1Addr = (((System16Page[2] >> 0) & 0xf) << 11) << 1;
unsigned int FgAltPage2Addr = (((System16Page[2] >> 4) & 0xf) << 11) << 1;
unsigned int FgAltPage3Addr = (((System16Page[2] >> 8) & 0xf) << 11) << 1;
unsigned int FgAltPage4Addr = (((System16Page[2] >> 12) & 0xf) << 11) << 1;
unsigned int BgAltPage1Addr = (((System16Page[3] >> 0) & 0xf) << 11) << 1;
unsigned int BgAltPage2Addr = (((System16Page[3] >> 4) & 0xf) << 11) << 1;
unsigned int BgAltPage3Addr = (((System16Page[3] >> 8) & 0xf) << 11) << 1;
unsigned int BgAltPage4Addr = (((System16Page[3] >> 12) & 0xf) << 11) << 1;
if ((Offset >= FgPage1Addr && Offset <= (FgPage1Addr + 0xfff)) || (Offset >= FgPage2Addr && Offset <= (FgPage2Addr + 0xfff)) || (Offset >= FgPage3Addr && Offset <= (FgPage3Addr + 0xfff)) || (Offset >= FgPage4Addr && Offset <= (FgPage4Addr + 0xfff))) {
if (System16TileRam[Offset] != d) System16RecalcFgTileMap = 1;
}
if ((Offset >= BgPage1Addr && Offset <= (BgPage1Addr + 0xfff)) || (Offset >= BgPage2Addr && Offset <= (BgPage2Addr + 0xfff)) || (Offset >= BgPage3Addr && Offset <= (BgPage3Addr + 0xfff)) || (Offset >= BgPage4Addr && Offset <= (BgPage4Addr + 0xfff))) {
if (System16TileRam[Offset] != d) System16RecalcBgTileMap = 1;
}
if ((Offset >= FgAltPage1Addr && Offset <= (FgAltPage1Addr + 0xfff)) || (Offset >= FgAltPage2Addr && Offset <= (FgAltPage2Addr + 0xfff)) || (Offset >= FgAltPage3Addr && Offset <= (FgAltPage3Addr + 0xfff)) || (Offset >= FgAltPage4Addr && Offset <= (FgAltPage4Addr + 0xfff))) {
if (System16TileRam[Offset] != d) System16RecalcFgAltTileMap = 1;
}
if ((Offset >= BgAltPage1Addr && Offset <= (BgAltPage1Addr + 0xfff)) || (Offset >= BgAltPage2Addr && Offset <= (BgAltPage2Addr + 0xfff)) || (Offset >= BgAltPage3Addr && Offset <= (BgAltPage3Addr + 0xfff)) || (Offset >= BgAltPage4Addr && Offset <= (BgAltPage4Addr + 0xfff))) {
if (System16TileRam[Offset] != d) System16RecalcBgAltTileMap = 1;
}
System16TileRam[Offset] = d;
}
static void System16ARenderTileLayer(int Page, int PriorityDraw, int T)
{
int Transparent = T;
int xScroll, yScroll, x, y;
UINT16 *TextRam = (UINT16*)System16TextRam;
xScroll = System16ScrollX[Page];
yScroll = System16ScrollY[Page];
UINT16 Pix;
unsigned short * __restrict pTileMapSrc = NULL;
unsigned short * __restrict pTileMapDest = NULL;
int xSrcOff, ySrcOff, RowScrollIndex, xEffScroll, yEffScroll;
if (System16ColScroll && System16RowScroll) {
for (y = 0; y < nScreenHeight; y++) {
pTileMapDest = pTransDraw + (y * nScreenWidth);
RowScrollIndex = y / 8;
xEffScroll = swapWord(TextRam[0xf80/2 + RowScrollIndex * 2 + Page]) & 0x1ff;
for (x = 0; x < nScreenWidth; x++) {
yEffScroll = swapWord(TextRam[0xf30/2 + (x/16) * 2 + Page]) & 0xff;
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgTileMapPri0 + (ySrcOff * 1024);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgTileMapPri1 + (ySrcOff * 1024);
if (Page == 1 && PriorityDraw == 0 && Transparent == 1) pTileMapSrc = pSys16BgTileMapPri0 + (ySrcOff * 1024);
if (Page == 1 && PriorityDraw == 1 && Transparent == 1) pTileMapSrc = pSys16BgTileMapPri1 + (ySrcOff * 1024);
if (Page == 1 && Transparent == 0) pTileMapSrc = pSys16BgTileMapOpaque + (ySrcOff * 1024);
xSrcOff = (x - xEffScroll + 200) & 0x3ff;
Pix = pTileMapSrc[xSrcOff];
if (Transparent) {
if (Pix) pTileMapDest[x] = Pix;
} else {
pTileMapDest[x] = Pix;
}
}
}
} else {
if (System16ColScroll) {
for (y = 0; y < nScreenHeight; y++) {
pTileMapDest = pTransDraw + (y * nScreenWidth);
xEffScroll = xScroll;
for (x = 0; x < nScreenWidth; x++) {
yEffScroll = swapWord(TextRam[0xf30/2 + (x/16) * 2 + Page]) & 0xff;
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgTileMapPri0 + (ySrcOff * 1024);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgTileMapPri1 + (ySrcOff * 1024);
if (Page == 1 && PriorityDraw == 0 && Transparent == 1) pTileMapSrc = pSys16BgTileMapPri0 + (ySrcOff * 1024);
if (Page == 1 && PriorityDraw == 1 && Transparent == 1) pTileMapSrc = pSys16BgTileMapPri1 + (ySrcOff * 1024);
if (Page == 1 && Transparent == 0) pTileMapSrc = pSys16BgTileMapOpaque + (ySrcOff * 1024);
xSrcOff = (x - xEffScroll + 200) & 0x3ff;
Pix = pTileMapSrc[xSrcOff];
if (Transparent) {
if (Pix) pTileMapDest[x] = Pix;
} else {
pTileMapDest[x] = Pix;
}
}
}
} else {
if (System16RowScroll) {
for (y = 0; y < nScreenHeight; y++) {
pTileMapDest = pTransDraw + (y * nScreenWidth);
RowScrollIndex = y / 8;
xEffScroll = swapWord(TextRam[0xf80/2 + RowScrollIndex * 2 + Page]) & 0x1ff;
for (x = 0; x < nScreenWidth; x++) {
yEffScroll = yScroll;
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgTileMapPri0 + (ySrcOff * 1024);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgTileMapPri1 + (ySrcOff * 1024);
if (Page == 1 && PriorityDraw == 0 && Transparent == 1) pTileMapSrc = pSys16BgTileMapPri0 + (ySrcOff * 1024);
if (Page == 1 && PriorityDraw == 1 && Transparent == 1) pTileMapSrc = pSys16BgTileMapPri1 + (ySrcOff * 1024);
if (Page == 1 && Transparent == 0) pTileMapSrc = pSys16BgTileMapOpaque + (ySrcOff * 1024);
xSrcOff = (x - xEffScroll + 200) & 0x3ff;
Pix = pTileMapSrc[xSrcOff];
if (Transparent) {
if (Pix) pTileMapDest[x] = Pix;
} else {
pTileMapDest[x] = Pix;
}
}
}
} else {
for (y = 0; y < nScreenHeight; y++) {
pTileMapDest = pTransDraw + (y * nScreenWidth);
ySrcOff = (y + yScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgTileMapPri0 + (ySrcOff * 1024);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgTileMapPri1 + (ySrcOff * 1024);
if (Page == 1 && PriorityDraw == 0) pTileMapSrc = pSys16BgTileMapPri0 + (ySrcOff * 1024);
if (Page == 1 && PriorityDraw == 1) pTileMapSrc = pSys16BgTileMapPri1 + (ySrcOff * 1024);
if (Page == 1 && Transparent == 0) pTileMapSrc = pSys16BgTileMapOpaque + (ySrcOff * 1024);
for (x = 0; x < nScreenWidth; x++) {
xSrcOff = (x - xScroll + 200) & 0x3ff;
Pix = pTileMapSrc[xSrcOff];
if (Transparent) {
if (Pix) pTileMapDest[x] = Pix;
} else {
pTileMapDest[x] = Pix;
}
}
}
}
}
}
}
static void System16BRenderTileLayer(int Page, int PriorityDraw, int Transparent)
{
int xScroll, yScroll, x, y;
UINT16 *TextRam = (UINT16*)System16TextRam;
xScroll = System16ScrollX[Page];
yScroll = System16ScrollY[Page];
UINT16 Pix;
unsigned short * __restrict pTileMapSrc = NULL;
unsigned short * __restrict pTileMapDest = NULL;
int xSrcOff, ySrcOff, RowScrollIndex, RowScroll, xEffScroll, yEffScroll;
if (yScroll & 0x8000) {
for (y = 0; y < nScreenHeight; y++) {
pTileMapDest = pTransDraw + (y * nScreenWidth);
RowScrollIndex = y >> 3;
RowScroll = swapWord(TextRam[(0xf80>>1) + (0x40>>1) * Page + RowScrollIndex]);
xEffScroll = (xScroll & 0x8000) ? RowScroll : xScroll;
for (x = 0; x < nScreenWidth; x++) {
yEffScroll = swapWord(TextRam[(0xf16>>1) + (0x40>>1) * Page + (x+9)>>4]);
if (RowScroll & 0x8000) {
xEffScroll = System16ScrollX[Page + 2];
yEffScroll = System16ScrollY[Page + 2];
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgAltTileMapPri0 + (ySrcOff << 10);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgAltTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 0) pTileMapSrc = pSys16BgAltTileMapPri0 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 1) pTileMapSrc = pSys16BgAltTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && Transparent == 0) pTileMapSrc = pSys16BgAltTileMapOpaque + (ySrcOff << 10);
} else {
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgTileMapPri0 + (ySrcOff << 10);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 0 && Transparent == 1) pTileMapSrc = pSys16BgTileMapPri0 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 1 && Transparent == 1) pTileMapSrc = pSys16BgTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && Transparent == 0) pTileMapSrc = pSys16BgTileMapOpaque + (ySrcOff << 10);
}
xSrcOff = (x - xEffScroll + 192) & 0x3ff;
Pix = (pTileMapSrc[xSrcOff]);
if (Transparent) {
if (Pix) pTileMapDest[x] = Pix;
} else {
pTileMapDest[x] = Pix;
}
}
}
} else {
for (y = 0; y < nScreenHeight; y++) {
pTileMapDest = pTransDraw + (y * nScreenWidth);
RowScrollIndex = y >> 3;
RowScroll = swapWord((TextRam[(0xf80>>1) + (0x40>>1) * Page + RowScrollIndex]));
xEffScroll = (xScroll & 0x8000) ? RowScroll : xScroll;
yEffScroll = yScroll;
if (RowScroll & 0x8000) {
xEffScroll = System16ScrollX[Page + 2];
yEffScroll = System16ScrollY[Page + 2];
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgAltTileMapPri0 + (ySrcOff << 10);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgAltTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 0) pTileMapSrc = pSys16BgAltTileMapPri0 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 1) pTileMapSrc = pSys16BgAltTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && Transparent == 0) pTileMapSrc = pSys16BgAltTileMapOpaque + (ySrcOff << 10);
} else {
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgTileMapPri0 + (ySrcOff << 10);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 0) pTileMapSrc = pSys16BgTileMapPri0 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 1) pTileMapSrc = pSys16BgTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && Transparent == 0) pTileMapSrc = pSys16BgTileMapOpaque + (ySrcOff << 10);
}
for (x = 0; x < nScreenWidth; x++) {
xSrcOff = (x - xEffScroll + 192) & 0x3ff;
Pix = pTileMapSrc[xSrcOff];
if (Transparent) {
if (Pix)
{
pTileMapDest[x] = Pix;
}
} else {
pTileMapDest[x] = Pix;
}
}
}
}
}
static void System16BRenderTileLayerTransparent(int Page, int PriorityDraw)
{
int xScroll, yScroll, x, y;
UINT16 *TextRam = (UINT16*)System16TextRam;
xScroll = System16ScrollX[Page];
yScroll = System16ScrollY[Page];
UINT16 Pix, Pix1, Pix2, Pix3, Pix4, Pix5, Pix6, Pix7;
unsigned short * __restrict pTileMapSrc = NULL;
unsigned short * __restrict pTileMapDest = NULL;
int xSrcOff, ySrcOff, RowScrollIndex, RowScroll, xEffScroll, yEffScroll;
if (yScroll & 0x8000) {
for (y = 0; y < nScreenHeight; y++) {
pTileMapDest = pTransDraw + (y * nScreenWidth);
RowScrollIndex = y >> 3;
RowScroll = swapWord(TextRam[(0xf80>>1) + (0x40>>1) * Page + RowScrollIndex]);
xEffScroll = (xScroll & 0x8000) ? RowScroll : xScroll;
for (x = 0; x < nScreenWidth; x++) {
yEffScroll = swapWord(TextRam[(0xf16>>1) + (0x40>>1) * Page + (x+9)>>4]);
if (RowScroll & 0x8000) {
xEffScroll = System16ScrollX[Page + 2];
yEffScroll = System16ScrollY[Page + 2];
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgAltTileMapPri0 + (ySrcOff << 10);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgAltTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 0) pTileMapSrc = pSys16BgAltTileMapPri0 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 1) pTileMapSrc = pSys16BgAltTileMapPri1 + (ySrcOff << 10);
} else {
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgTileMapPri0 + (ySrcOff << 10);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 0) pTileMapSrc = pSys16BgTileMapPri0 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 1) pTileMapSrc = pSys16BgTileMapPri1 + (ySrcOff << 10);
}
xSrcOff = (x - xEffScroll + 192) & 0x3ff;
Pix = (pTileMapSrc[xSrcOff]);
if (Pix) pTileMapDest[x] = Pix;
}
}
} else {
for (y = 0; y < nScreenHeight; y++) {
pTileMapDest = pTransDraw + (y * nScreenWidth);
RowScrollIndex = y >> 3;
RowScroll = swapWord((TextRam[(0xf80>>1) + (0x40>>1) * Page + RowScrollIndex]));
xEffScroll = (xScroll & 0x8000) ? RowScroll : xScroll;
yEffScroll = yScroll;
if (RowScroll & 0x8000) {
xEffScroll = System16ScrollX[Page + 2];
yEffScroll = System16ScrollY[Page + 2];
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgAltTileMapPri0 + (ySrcOff << 10);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgAltTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 0) pTileMapSrc = pSys16BgAltTileMapPri0 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 1) pTileMapSrc = pSys16BgAltTileMapPri1 + (ySrcOff << 10);
} else {
ySrcOff = (y + yEffScroll) & 0x1ff;
if (Page == 0 && PriorityDraw == 0) pTileMapSrc = pSys16FgTileMapPri0 + (ySrcOff << 10);
if (Page == 0 && PriorityDraw == 1) pTileMapSrc = pSys16FgTileMapPri1 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 0) pTileMapSrc = pSys16BgTileMapPri0 + (ySrcOff << 10);
if (Page == 1 && PriorityDraw == 1) pTileMapSrc = pSys16BgTileMapPri1 + (ySrcOff << 10);
}
for (x = 0; x < (nScreenWidth); x+=8) {
xSrcOff = (x - xEffScroll + 192) & 0x3ff;
#if defined (_XBOX)
__dcbt(0,pTileMapSrc+xSrcOff);
__dcbt(16,pTileMapSrc+(xSrcOff+1));
__dcbt(32,pTileMapSrc+(xSrcOff+2));
__dcbt(48,pTileMapSrc+(xSrcOff+3));
__dcbt(64,pTileMapSrc+(xSrcOff+4));
__dcbt(80,pTileMapSrc+(xSrcOff+5));
__dcbt(96,pTileMapSrc+(xSrcOff+6));
__dcbt(112,pTileMapSrc+(xSrcOff+7));
#elif defined (SN_TARGET_PS3)
__dcbt(pTileMapSrc+xSrcOff);
__dcbt(pTileMapSrc+(xSrcOff+1));
__dcbt(pTileMapSrc+(xSrcOff+2));
__dcbt(pTileMapSrc+(xSrcOff+3));
__dcbt(pTileMapSrc+(xSrcOff+4));
__dcbt(pTileMapSrc+(xSrcOff+5));
__dcbt(pTileMapSrc+(xSrcOff+6));
__dcbt(pTileMapSrc+(xSrcOff+7));
#endif
Pix = pTileMapSrc[xSrcOff];
Pix1 = pTileMapSrc[xSrcOff+1];
Pix2 = pTileMapSrc[xSrcOff+2];
Pix3 = pTileMapSrc[xSrcOff+3];
Pix4 = pTileMapSrc[xSrcOff+4];
Pix5 = pTileMapSrc[xSrcOff+5];
Pix6 = pTileMapSrc[xSrcOff+6];
Pix7 = pTileMapSrc[xSrcOff+7];
if (Pix)
{
pTileMapDest[x] = pTileMapSrc[xSrcOff];
}
if (Pix1)
{
pTileMapDest[x+1] = pTileMapSrc[xSrcOff+1];
}
if (Pix2)
{
pTileMapDest[x+2] = pTileMapSrc[xSrcOff+2];
}
if (Pix3)
{
pTileMapDest[x+3] = pTileMapSrc[xSrcOff+3];
}
if (Pix4)
{
pTileMapDest[x+4] = pTileMapSrc[xSrcOff+4];
}
if (Pix5)
{
pTileMapDest[x+5] = pTileMapSrc[xSrcOff+5];
}
if (Pix6)
{
pTileMapDest[x+6] = pTileMapSrc[xSrcOff+6];
}
if (Pix7)
{
pTileMapDest[x+7] = pTileMapSrc[xSrcOff+7];
}
}
}
}
}
static void BootlegRenderTileLayer(int Page, int PriorityDraw, int Transparent)
{
int mx, my, Code, Colour, x, y, Priority, TileIndex, ColourOff;
UINT16 EffPage, ActPage = 0, xScroll, yScroll;
EffPage = System16Page[Page];
xScroll = System16ScrollX[Page];
yScroll = System16ScrollY[Page];
int yStartPosArray[28 * 21];
float yPos = float(yScroll % 8);
int yStartPos = int(yPos) * -1;
if (yScroll & 0x8000) {
for (y = 0; y < 224; y += 8) {
for (x = -8; x < 320; x += 16) {
int yColScrollTemp = (System16TextRam[0xf16 + (0x40 * Page) + (2 * (x + 8) / 16) + 1] << 8) | System16TextRam[0xf16 + (0x40 * Page) + (2 * (x + 8) / 16) + 0];
float yTempPos = float(yColScrollTemp % 8);
int yTempStartPos = int(yTempPos) * -1;
yStartPosArray[(y / 8) + (28 * ((x + 8) / 16))] = yTempStartPos + y;
}
}
for (int ny = 0; ny < 28; ny++) {
int RowScrollIndex = ny;
int RowScroll = (System16TextRam[0xf80 + (0x40 * Page) + (2 * RowScrollIndex) + 1] << 8) | System16TextRam[0xf80 + (0x40 * Page) + (2 * RowScrollIndex) + 0];
int xScrollRow = ((xScroll & 0x8000) ? RowScroll : xScroll);
int yScrollCol;
if (RowScroll & 0x8000) {
EffPage = System16Page[Page + 2];
xScrollRow = System16ScrollX[Page + 2];
yScrollCol = System16ScrollY[Page + 2];
}
float xPos = float(xScrollRow % 8);
int xStartPos = (int)xPos;
if (xStartPos == 1) xStartPos = -7;
if (xStartPos == 2) xStartPos = -6;
if (xStartPos == 3) xStartPos = -5;
if (xStartPos == 4) xStartPos = -4;
if (xStartPos == 5) xStartPos = -3;
if (xStartPos == 6) xStartPos = -2;
if (xStartPos == 7) xStartPos = -1;
if (xStartPos == 0) xStartPos = 0;
for (x = -8; x < 320; x += 16) {
int x2 = xStartPos + x;
yScrollCol = (System16TextRam[0xf16 + (0x40 * Page) + (2 * (x + 8) / 16) + 1] << 8) | System16TextRam[0xf16 + (0x40 * Page) + (2 * (x + 8) / 16) + 0];
my = ((ny * 8) + (yScrollCol & 0x1ff)) / 8;
if (my > 63) my -= 64;
y = yStartPosArray[ny + (28 * ((x + 8) / 16))];
mx = (x2 - (xScrollRow & 0x3ff) + 192) / 8;
if (mx < 0) mx += 128;
if (Page == 1) {
if (my < 32 && mx < 64) ActPage = BootlegBgPage[0];
if (my < 32 && mx >= 64) ActPage = BootlegBgPage[1];
if (my >= 32 && mx < 64) ActPage = BootlegBgPage[2];
if (my >= 32 && mx >= 64) ActPage = BootlegBgPage[3];
}
if (Page == 0) {
if (my < 32 && mx < 64) ActPage = BootlegFgPage[0];
if (my < 32 && mx >= 64) ActPage = BootlegFgPage[1];
if (my >= 32 && mx < 64) ActPage = BootlegFgPage[2];
if (my >= 32 && mx >= 64) ActPage = BootlegFgPage[3];
}
TileIndex = 64 * 32 * 2 * ActPage + ((2 * 64 * my) & 0xfff) + ((2 * mx) & 0x7f);
int Data = (System16TileRam[TileIndex + 1] << 8) | System16TileRam[TileIndex + 0];
int Data2 = (System16TileRam[TileIndex + 3] << 8) | System16TileRam[TileIndex + 2];
Priority = (Data >> 15) & 1;
if (Priority == PriorityDraw) {
Code = Data & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Data >> 6) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (Transparent) {
if (x2 > 7 && x2 < 312 && y > 7 && y < 216) {
Render8x8Tile_Mask(pTransDraw, Code, x2, y, Colour, 3, 0, ColourOff, System16Tiles);
} else {
Render8x8Tile_Mask_Clip(pTransDraw, Code, x2, y, Colour, 3, 0, ColourOff, System16Tiles);
}
} else {
if (x2 > 7 && x2 < 312 && y > 7 && y < 216) {
Render8x8Tile(pTransDraw, Code, x2, y, Colour, 3, ColourOff, System16Tiles);
} else {
Render8x8Tile_Clip(pTransDraw, Code, x2, y, Colour, 3, ColourOff, System16Tiles);
}
}
Code = Data2 & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Data2 >> 6) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
int x1 = x2 + 8;
if (Transparent) {
if (x1 > 7 && x1 < 312 && y > 7 && y < 216) {
Render8x8Tile_Mask(pTransDraw, Code, x1, y, Colour, 3, 0, ColourOff, System16Tiles);
} else {
Render8x8Tile_Mask_Clip(pTransDraw, Code, x1, y, Colour, 3, 0, ColourOff, System16Tiles);
}
} else {
if (x1 > 7 && x1 < 312 && y > 7 && y < 216) {
Render8x8Tile(pTransDraw, Code, x1, y, Colour, 3, ColourOff, System16Tiles);
} else {
Render8x8Tile_Clip(pTransDraw, Code, x1, y, Colour, 3, ColourOff, System16Tiles);
}
}
}
}
}
} else {
for (y = yStartPos; y < 224; y += 8) {
int RowScrollIndex = y / 8;
int RowScroll = (System16TextRam[0xf80 + (0x40 * Page) + (2 * RowScrollIndex) + 1] << 8) | System16TextRam[0xf80 + (0x40 * Page) + (2 * RowScrollIndex) + 0];
int xScrollRow = ((xScroll & 0x8000) ? RowScroll : xScroll);
if (RowScroll & 0x8000) {
EffPage = System16Page[Page + 2];
xScrollRow = System16ScrollX[Page + 2];
yScroll = System16ScrollY[Page + 2];
}
float xPos = float(xScrollRow % 8);
int xStartPos = (int)xPos;
if (xStartPos == 1) xStartPos = -7;
if (xStartPos == 2) xStartPos = -6;
if (xStartPos == 3) xStartPos = -5;
if (xStartPos == 4) xStartPos = -4;
if (xStartPos == 5) xStartPos = -3;
if (xStartPos == 6) xStartPos = -2;
if (xStartPos == 7) xStartPos = -1;
my = (y + (yScroll & 0x1ff)) / 8;
if (my > 63) my -= 64;
for (x = xStartPos; x < 320; x += 8) {
mx = (x - (xScrollRow & 0x3ff) + 192) / 8;
if (mx < 0) mx += 128;
if (Page == 1) {
if (my < 32 && mx < 64) ActPage = BootlegBgPage[0];
if (my < 32 && mx >= 64) ActPage = BootlegBgPage[1];
if (my >= 32 && mx < 64) ActPage = BootlegBgPage[2];
if (my >= 32 && mx >= 64) ActPage = BootlegBgPage[3];
}
if (Page == 0) {
if (my < 32 && mx < 64) ActPage = BootlegFgPage[0];
if (my < 32 && mx >= 64) ActPage = BootlegFgPage[1];
if (my >= 32 && mx < 64) ActPage = BootlegFgPage[2];
if (my >= 32 && mx >= 64) ActPage = BootlegFgPage[3];
}
TileIndex = 64 * 32 * 2 * ActPage + ((2 * 64 * my) & 0xfff) + ((2 * mx) & 0x7f);
int Data = (System16TileRam[TileIndex + 1] << 8) | System16TileRam[TileIndex + 0];
Priority = (Data >> 15) & 1;
if (Priority == PriorityDraw) {
Code = Data & 0x1fff;
Code = System16TileBanks[Code / System16TileBankSize] * System16TileBankSize + Code % System16TileBankSize;
Code &= (System16NumTiles - 1);
Colour = (Data >> 6) & 0x7f;
ColourOff = System16TilemapColorOffset;
if (Colour >= 0x20) ColourOff = 0x100 | System16TilemapColorOffset;
if (Colour >= 0x40) ColourOff = 0x200 | System16TilemapColorOffset;
if (Colour >= 0x60) ColourOff = 0x300 | System16TilemapColorOffset;
if (Transparent) {
if (x > 7 && x < 312 && y > 7 && y < 216) {
Render8x8Tile_Mask(pTransDraw, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
} else {
Render8x8Tile_Mask_Clip(pTransDraw, Code, x, y, Colour, 3, 0, ColourOff, System16Tiles);
}
} else {
if (x > 7 && x < 312 && y > 7 && y < 216) {
Render8x8Tile(pTransDraw, Code, x, y, Colour, 3, ColourOff, System16Tiles);
} else {
Render8x8Tile_Clip(pTransDraw, Code, x, y, Colour, 3, ColourOff, System16Tiles);
}
}
}
}
}
}
}
static void System16ARenderTextLayer(int PriorityDraw)
{
int mx, my, Code, Colour, x, y, Priority, TileIndex = 0;
for (my = 0; my < 32; my++) {
for (mx = 0; mx < 64; mx++) {
Code = (System16TextRam[TileIndex + 1] << 8) | System16TextRam[TileIndex + 0];
Priority = (Code >> 11) & 1;
if (Priority == PriorityDraw) {
Colour = (Code >> 8) & 0x07;
Code &= 0xff;
x = 8 * mx;
y = 8 * my;
x -= 192;
if (x > 7 && x < 312 && y > 7 && y < 216) {
Render8x8Tile_Mask(pTransDraw, Code, x, y, Colour, 3, 0, System16TilemapColorOffset, System16Tiles);
} else {
Render8x8Tile_Mask_Clip(pTransDraw, Code, x, y, Colour, 3, 0, System16TilemapColorOffset, System16Tiles);
}
}
TileIndex +=2;
}
}
}
static void System16BRenderTextLayer(int PriorityDraw)
{
int mx, my, Code, Colour, x, y, Priority, TileIndex = 0;
for (my = 0; my < 32; my++) {
for (mx = 0; mx < 64; mx++) {
Code = (System16TextRam[TileIndex + 1] << 8) | System16TextRam[TileIndex + 0];
Priority = (Code >> 15) & 1;
if (Priority == PriorityDraw) {
Colour = (Code >> 9) & 0x07;
Code &= 0x1ff;
Code += System16TileBanks[0] * 0x1000;
Code &= (System16NumTiles - 1);
x = 8 * mx;
y = 8 * my;
x -= 192;
if (x > 7 && x < 312 && y > 7 && y < 216) {
Render8x8Tile_Mask(pTransDraw, Code, x, y, Colour, 3, 0, System16TilemapColorOffset, System16Tiles);
} else {
Render8x8Tile_Mask_Clip(pTransDraw, Code, x, y, Colour, 3, 0, System16TilemapColorOffset, System16Tiles);
}
}
TileIndex +=2 ;
}
}
}
static void System16BAltRenderTextLayer(int PriorityDraw)
{
int mx, my, Code, Colour, x, y, Priority, TileIndex = 0;
for (my = 0; my < 32; my++) {
for (mx = 0; mx < 64; mx++) {
Code = (System16TextRam[TileIndex + 1] << 8) | System16TextRam[TileIndex + 0];
Priority = (Code >> 15) & 1;
if (Priority == PriorityDraw) {
Colour = (Code >> 8) & 0x07;
Code &= 0xff;
Code += System16TileBanks[0] * 0x1000;
Code &= (System16NumTiles - 1);
x = 8 * mx;
y = 8 * my;
x -= 192;
if (x > 7 && x < 312 && y > 7 && y < 216) {
Render8x8Tile_Mask(pTransDraw, Code, x, y, Colour, 3, 0, System16TilemapColorOffset, System16Tiles);
} else {
Render8x8Tile_Mask_Clip(pTransDraw, Code, x, y, Colour, 3, 0, System16TilemapColorOffset, System16Tiles);
}
}
TileIndex +=2 ;
}
}
}
/*====================================================
Sprite Rendering
====================================================*/
#ifdef __LIBSNES__
static inline void System16DrawPixel(int x, int pix, int colour, unsigned short* pPixel)
#else
static __forceinline void System16DrawPixel(int x, int pix, int colour, unsigned short* pPixel)
#endif
{
x += System16SpriteXOffset;
if (x >= 0 && x <= 319 && pix != 0 && pix != 15) {
if (colour == (0x3f << 4)) {
pPixel[x] &= (System16PaletteEntries - 1);
pPixel[x] += ((((System16PaletteRam[pPixel[x] + 1] << 8) | System16PaletteRam[pPixel[x] + 0]) & 0x8000) ? (System16PaletteEntries * 2) : System16PaletteEntries);
} else {
pPixel[x] = (pix | colour | 0x400) & (System16PaletteEntries - 1);
}
}
}
static void System16ARenderSpriteLayer(int Priority)
{
UINT8 numbanks = System16SpriteRomSize / 0x10000;
const UINT16 *spritebase = (const UINT16*)System16Sprites;
UINT16 *data;
for (data = (UINT16*)System16SpriteRam; data < (UINT16*)System16SpriteRam + System16SpriteRamSize / 2; data += 8) {
if ((swapWord(data[0]) >> 8) > 0xf0)
break;
int sprpri = 1 << ((swapWord(data[4]) >> 0) & 0x3);
#if 0 && defined FBA_DEBUG
if (sprpri != 1 && sprpri != 2 && sprpri != 4 && sprpri != 8) bprintf(PRINT_IMPORTANT, _T("Unknown Sprite Priority - %x\n"), sprpri);
#endif
if (sprpri != Priority)
continue;
int bottom = (swapWord(data[0]) >> 8) + 1;
int top = (swapWord(data[0]) & 0xff) + 1;
int xpos = (swapWord(data[1]) & 0x1ff) - 0xbd;
int pitch = (INT16)swapWord(data[2]);
UINT16 addr = swapWord(data[3]);
int color = ((swapWord(data[4]) >> 8) & 0x3f) << 4;
int bank = System16SpriteBanks[(swapWord(data[4]) >> 4) & 0x7];
const UINT16 *spritedata;
int x, y, pix, xdelta = 1;
/* initialize the end address to the start address */
data[7] = addr;
/* if hidden, or top greater than/equal to bottom, or invalid bank, punt */
if ((top >= bottom) || bank == 255)
continue;
/* clamp to within the memory region size */
if (numbanks)
bank %= numbanks;
spritedata = spritebase + 0x8000 * bank;
if (!System16ScreenFlip) {
for (y = top; y < bottom; y++) {
addr += pitch;
if (y >= 0 && y <= 223) {
unsigned short* pPixel = pTransDraw + (y * 320);
if (!(addr & 0x8000)) {
/* start at the word before because we preincrement below */
data[7] = addr - 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[++data[7] & 0x7fff]);
pix = (pixels >> 12) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 8) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 4) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 0) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
if (pix == 15) break;
}
} else {
data[7] = addr + 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[--data[7] & 0x7fff]);
/* draw four pixels */
pix = (pixels >> 0) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 4) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 8) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 12) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
/* stop if the last pixel in the group was 0xf */
if (pix == 15) break;
}
}
}
}
} else {
for (y = bottom - 3; y > top - 3; y--) {
addr += pitch;
if (y >= 0 && y <= 223) {
unsigned short* pPixel = pTransDraw + (y * 320);
if (!(addr & 0x8000)) {
/* start at the word before because we preincrement below */
data[7] = addr - 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[++data[7] & 0x7fff]);
pix = (pixels >> 12) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 8) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 4) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 0) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
if (pix == 15) break;
}
} else {
data[7] = addr + 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[--data[7] & 0x7fff]);
/* draw four pixels */
pix = (pixels >> 0) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 4) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 8) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
pix = (pixels >> 12) & 0xf; System16DrawPixel(x, pix, color, pPixel); x += xdelta;
/* stop if the last pixel in the group was 0xf */
if (pix == 15) break;
}
}
}
}
}
}
}
static void System16BRenderSpriteLayer(int Priority)
{
UINT8 numbanks;
const UINT16 *spritebase;
UINT16 *data;
spritebase = (const UINT16 *)System16Sprites;
numbanks = System16SpriteRomSize / 0x20000;
for (data = (UINT16*)System16SpriteRam; data < (UINT16*)System16SpriteRam + System16SpriteRamSize / 2; data += 8) {
if (swapWord(data[2]) & 0x8000) break;
int sprpri = 1 << ((swapWord(data[4]) >> 6) & 0x3);
#if 0 && defined FBA_DEBUG
if (sprpri != 1 && sprpri != 2 && sprpri != 4 && sprpri != 8) bprintf(PRINT_IMPORTANT, _T("Unknown Sprite Priority - %x\n"), sprpri);
#endif
if (sprpri != Priority) continue;
int bottom = swapWord(data[0]) >> 8;
int top = swapWord(data[0]) & 0xff;
int xpos = (swapWord(data[1]) & 0x1ff) - 0xb8;
int hide = swapWord(data[2]) & 0x4000;
int flip = swapWord(data[2]) & 0x100;
int pitch = (INT8)(swapWord(data[2]) & 0xff);
UINT16 addr = swapWord(data[3]);
int bank = System16SpriteBanks[(swapWord(data[4]) >> 8) & 0xf];
int color = ((swapWord(data[4]) & 0x3f) << 4);
int vzoom = (swapWord(data[5]) >> 5) & 0x1f;
int hzoom = swapWord(data[5]) & 0x1f;
const UINT16 *spritedata;
int x, y, pix, xdelta = 1;
/* initialize the end address to the start address */
data[7] = addr;
/* if hidden, or top greater than/equal to bottom, or invalid bank, punt */
if (hide || (top >= bottom) || bank == 255)
continue;
/* clamp to within the memory region size */
if (numbanks)
bank %= numbanks;
spritedata = spritebase + 0x10000 * bank;
/* reset the yzoom counter */
data[5] &= 0x03ff;
if (!System16ScreenFlip) {
/* loop from top to bottom */
for (y = top; y < bottom; y++) {
/* advance a row */
addr += pitch;
/* accumulate zoom factors; if we carry into the high bit, skip an extra row */
data[5] += vzoom << 10;
if (data[5] & 0x8000) {
addr += pitch;
data[5] &= ~0x8000;
}
/* skip drawing if not within the cliprect */
if (y >= 0 && y <= 223) {
unsigned short* pPixel = pTransDraw + (y * 320);
int xacc;
/* compute the initial X zoom accumulator; this is verified on the real PCB */
xacc = 4 * hzoom;
/* non-flipped case */
if (!flip) {
/* start at the word before because we preincrement below */
data[7] = addr - 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[++data[7]]);
/* draw four pixels */
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
/* stop if the last pixel in the group was 0xf */
if (pix == 15) break;
}
} else {
/* start at the word after because we predecrement below */
data[7] = addr + 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[--data[7]]);
/* draw four pixels */
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
/* stop if the last pixel in the group was 0xf */
if (pix == 15) break;
}
}
}
}
} else {
/* loop from top to bottom */
for (y = bottom; y > top; y--) {
/* advance a row */
addr += pitch;
/* accumulate zoom factors; if we carry into the high bit, skip an extra row */
data[5] += vzoom << 10;
if (data[5] & 0x8000) {
addr += pitch;
data[5] &= ~0x8000;
}
/* skip drawing if not within the cliprect */
if (y >= 0 && y <= 223) {
unsigned short* pPixel = pTransDraw + (y * 320);
int xacc;
/* compute the initial X zoom accumulator; this is verified on the real PCB */
xacc = 4 * hzoom;
/* non-flipped case */
if (!flip) {
/* start at the word before because we preincrement below */
data[7] = addr - 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[++data[7]]);
/* draw four pixels */
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
/* stop if the last pixel in the group was 0xf */
if (pix == 15) break;
}
} else {
/* start at the word after because we predecrement below */
data[7] = addr + 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[--data[7]]);
/* draw four pixels */
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { System16DrawPixel(x, pix, color, pPixel); x += xdelta; }
/* stop if the last pixel in the group was 0xf */
if (pix == 15) break;
}
}
}
}
}
}
}
static inline void OutrunDrawPixel(int x, int pix, int colour, int shadow, unsigned short* pPixel)
{
if (x >= 0 && x <= 319 && pix != 0 && pix != 15) {
if (shadow && pix == 0xa) {
pPixel[x] &= (System16PaletteEntries - 1);
pPixel[x] += ((((System16PaletteRam[pPixel[x] + 1] << 8) | System16PaletteRam[pPixel[x] + 0]) & 0x8000) ? System16PaletteEntries * 2 : System16PaletteEntries);
} else {
pPixel[x] = (pix | colour | 0x800) & (System16PaletteEntries - 1);
}
}
}
static void OutrunRenderSpriteLayer(int Priority)
{
UINT8 numbanks = System16SpriteRomSize / 0x40000;
const UINT32 *spritebase = (const UINT32 *)System16Sprites;
UINT16 *data;
for (data = (UINT16*)System16SpriteRamBuff; data < (UINT16*)System16SpriteRamBuff + System16SpriteRamSize / 2; data += 8) {
if (swapWord(data[0]) & 0x8000) break;
int sprpri = 1 << ((swapWord(data[3]) >> 12) & 3);
#if 0 && defined FBA_DEBUG
if (sprpri != 1 && sprpri != 2 && sprpri != 4 && sprpri != 8) bprintf(PRINT_IMPORTANT, _T("Unknown Sprite Priority - %x\n"), sprpri);
#endif
if (sprpri != Priority) continue;
int hide = (swapWord(data[0]) & 0x5000);
int bank = (swapWord(data[0]) >> 9) & 7;
int top = (swapWord(data[0]) & 0x1ff) - 0x100;
UINT16 addr = swapWord(data[1]);
int pitch = (INT16)((swapWord(data[2]) >> 1) | ((swapWord(data[4]) & 0x1000) << 3)) >> 8;
int xpos = swapWord(data[2]) & 0x1ff;
int shadow = (swapWord(data[3]) >> 14) & 1;
int vzoom = swapWord(data[3]) & 0x7ff;
int ydelta = (swapWord(data[4]) & 0x8000) ? 1 : -1;
int flip = (~(swapWord(data[4])) >> 14) & 1;
int xdelta = (swapWord(data[4]) & 0x2000) ? 1 : -1;
int hzoom = swapWord(data[4]) & 0x7ff;
int height = (swapWord(data[5]) >> 8) + 1;
int color = (swapWord(data[5]) & 0x7f) << 4;
int x, y, ytarget, yacc = 0, pix;
const UINT32 *spritedata;
/* adjust X coordinate */
/* note: the threshhold below is a guess. If it is too high, rachero will draw garbage */
/* If it is too low, smgp won't draw the bottom part of the road */
if (xpos < 0x80 && xdelta < 0)
xpos += 0x200;
xpos -= 0xbe;
/* initialize the end address to the start address */
data[7] = swapWord(addr);
/* if hidden, or top greater than/equal to bottom, or invalid bank, punt */
if (hide || height == 0)
continue;
/* clamp to within the memory region size */
if (numbanks)
bank %= numbanks;
spritedata = spritebase + 0x10000 * bank;
/* clamp to a maximum of 8x (not 100% confirmed) */
if (vzoom < 0x40) vzoom = 0x40;
if (hzoom < 0x40) hzoom = 0x40;
/* loop from top to bottom */
ytarget = top + ydelta * height;
for (y = top; y != ytarget; y += ydelta)
{
/* skip drawing if not within the cliprect */
if (y >= 0 && y <= 223) {
unsigned short* pPixel = pTransDraw + (y * 320);
int xacc = 0;
/* non-flipped case */
if (!flip)
{
/* start at the word before because we preincrement below */
data[7] = addr - 1;
for (x = xpos; (xdelta > 0 && x <= 319) || (xdelta < 0 && x >= 0); )
{
UINT32 pixels = spritedata[++data[7]];
/* draw four pixels */
pix = (pixels >> 4) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 0) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 12) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 8) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 20) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 16) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 28) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 24) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
/* stop if the second-to-last pixel in the group was 0xf */
if ((pixels & 0xf0000000) == 0xf0000000)
break;
}
}
/* flipped case */
else
{
/* start at the word after because we predecrement below */
data[7] = addr + 1;
for (x = xpos; (xdelta > 0 && x <= 319) || (xdelta < 0 && x >= 0); )
{
UINT32 pixels = spritedata[--data[7]];
/* draw four pixels */
pix = (pixels >> 24) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 28) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 16) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 20) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 8) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 12) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 0) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 4) & 0xf; while (xacc < 0x200) { OutrunDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
/* stop if the second-to-last pixel in the group was 0xf */
if ((pixels & 0x0000000f) == 0x0000000f)
break;
}
}
}
/* accumulate zoom factors; if we carry into the high bit, skip an extra row */
yacc += vzoom;
addr += pitch * (yacc >> 9);
yacc &= 0x1ff;
}
}
}
static inline void HangonDrawPixel(int x, int pix, int colour, int shadow, unsigned short* pPixel)
{
if (x >= 0 && x <= 319 && pix != 0 && pix != 15) {
if (shadow && pix == 0xa) {
pPixel[x] &= (System16PaletteEntries - 1);
pPixel[x] += ((((System16PaletteRam[pPixel[x] + 1] << 8) | System16PaletteRam[pPixel[x] + 0]) & 0x8000) ? System16PaletteEntries * 2 : System16PaletteEntries);
} else {
pPixel[x] = (pix | colour | 0x400) & (System16PaletteEntries - 1);
}
}
}
static void HangonRenderSpriteLayer(int Priority)
{
UINT8 numbanks = System16SpriteRomSize / 0x20000;
const UINT32 *spritebase = (UINT32*)System16Sprites;
const UINT8 *zoom = System16Prom;
UINT16 *data;
for (data = (UINT16*)System16SpriteRam; data < (UINT16*)System16SpriteRam + System16SpriteRamSize / 2; data += 8) {
if ((swapWord(data[0]) >> 8) > 0xf0) break;
int sprpri = ((swapWord(data[2]) >> 14) & 1) ? (1<<3) : (1<<1);
#if 0 && defined FBA_DEBUG
if (sprpri != 1 && sprpri != 2 && sprpri != 4 && sprpri != 8) bprintf(PRINT_IMPORTANT, _T("Unknown Sprite Priority - %x\n"), sprpri);
#endif
if (sprpri != Priority) continue;
int bottom = (swapWord(data[0]) >> 8) + 1;
int top = (swapWord(data[0]) & 0xff) + 1;
int bank = System16SpriteBanks[(swapWord(data[1]) >> 12) & 0x7];
int xpos = (swapWord(data[1]) & 0x1ff) - 0xbd;
int shadow = (~swapWord(data[2]) >> 15) & 1;
int color = (((swapWord(data[2]) >> 8) & 0x3f) << 4);
int pitch = (INT16)(swapWord(data[2]) << 9) >> 9;
UINT16 addr = swapWord(data[3]);
int hzoom = ((swapWord(data[4]) >> 8) & 0x3f) << 1;
int vzoom = (swapWord(data[4]) >> 0) & 0x3f;
int x, y, pix, zaddr, zmask;
const UINT32 *spritedata;
/* initialize the end address to the start address */
data[7] = addr;
/* if hidden, or top greater than/equal to bottom, or invalid bank, punt */
if ((top >= bottom) || bank == 255)
continue;
/* clamp to within the memory region size */
if (numbanks)
bank %= numbanks;
spritedata = spritebase + 0x8000 * bank;
/* determine the starting zoom address and mask */
zaddr = (vzoom & 0x38) << 5;
zmask = 1 << (vzoom & 7);
for (y = top; y < bottom; y++) {
addr += pitch;
/* if the zoom bit says so, add pitch a second time */
if (zoom[zaddr++] & zmask)
addr += pitch;
if (y >= 0 && y <= 223) {
unsigned short* pPixel = pTransDraw + (y * 320);
int xacc = 0x00;
if (!(addr & 0x8000)) {
/* start at the word before because we preincrement below */
data[7] = addr - 1;
for (x = xpos; x <= 319; ) {
UINT32 pixels = swapLong(spritedata[++data[7] & 0x7fff]);
pix = (pixels >> 28) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 24) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 20) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 16) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
if (pix == 15) break;
}
} else {
data[7] = addr + 1;
for (x = xpos; x <= 319; ) {
UINT32 pixels = swapLong(spritedata[--data[7] & 0x7fff]);
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 16) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 20) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 24) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
pix = (pixels >> 28) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonDrawPixel(x, pix, color, shadow, pPixel); x++; }
/* stop if the last pixel in the group was 0xf */
if (pix == 15) break;
}
}
}
}
}
}
static inline void HangonAltDrawPixel(int x, int pix, int colour, unsigned short* pPixel)
{
if (x >= 0 && x <= 319 && pix != 0 && pix != 15) {
if (colour == (0x3f << 4)) {
pPixel[x] &= (System16PaletteEntries - 1);
pPixel[x] += ((System16SpriteShadow) ? System16PaletteEntries * 2 : System16PaletteEntries);
} else {
pPixel[x] = (pix | colour | 0x400) & (System16PaletteEntries - 1);
}
}
}
static void HangonAltRenderSpriteLayer(int Priority)
{
UINT8 numbanks = System16SpriteRomSize / 0x10000;
const UINT16 *spritebase = (UINT16*)System16Sprites;
const UINT8 *zoom = System16Prom;
UINT16 *data;
for (data = (UINT16*)System16SpriteRam; data < (UINT16*)System16SpriteRam + System16SpriteRamSize / 2; data += 8) {
if ((swapWord(data[0]) >> 8) > 0xf0) break;
int sprpri = 1 << ((swapWord(data[4]) >> 0) & 0x3);
#if 0 && defined FBA_DEBUG
if (sprpri != 1 && sprpri != 2 && sprpri != 4 && sprpri != 8) bprintf(PRINT_IMPORTANT, _T("Unknown Sprite Priority - %x\n"), sprpri);
#endif
if (sprpri != Priority) continue;
int bottom = (swapWord(data[0]) >> 8) + 1;
int top = (swapWord(data[0]) & 0xff) + 1;
int bank = System16SpriteBanks[(swapWord(data[1]) >> 12) & 0xf];
int xpos = (swapWord(data[1]) & 0x1ff) - 0xbd;
int pitch = (INT16)swapWord(data[2]);
UINT16 addr = swapWord(data[3]);
int color = (((swapWord(data[4]) >> 8) & 0x3f) << 4);
int vzoom = (swapWord(data[4]) >> 2) & 0x3f;
int hzoom = vzoom << 1;
int x, y, pix, zaddr, zmask;
const UINT16 *spritedata;
/* initialize the end address to the start address */
data[7] = addr;
/* if hidden, or top greater than/equal to bottom, or invalid bank, punt */
if ((top >= bottom) || bank == 255)
continue;
/* clamp to within the memory region size */
if (numbanks)
bank %= numbanks;
spritedata = spritebase + 0x8000 * bank;
/* determine the starting zoom address and mask */
zaddr = (vzoom & 0x38) << 5;
zmask = 1 << (vzoom & 7);
/* loop from top to bottom */
for (y = top; y < bottom; y++)
{
/* advance a row */
addr += pitch;
/* if the zoom bit says so, add pitch a second time */
if (zoom[zaddr++] & zmask)
addr += pitch;
/* skip drawing if not within the cliprect */
if (y >= 0 && y <= 223)
{
unsigned short* pPixel = pTransDraw + (y * 320);
int xacc = 0x00;
/* note that the System 16A sprites have a design flaw that allows the address */
/* to carry into the flip flag, which is the topmost bit -- it is very important */
/* to emulate this as the games compensate for it */
/* non-flipped case */
if (!(addr & 0x8000))
{
/* start at the word before because we preincrement below */
data[7] = addr - 1;
for (x = xpos; x <= 319; )
{
UINT16 pixels = swapWord(spritedata[++data[7] & 0x7fff]);
/* draw four pixels */
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonAltDrawPixel(x, pix, color, pPixel); x++; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonAltDrawPixel(x, pix, color, pPixel); x++; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonAltDrawPixel(x, pix, color, pPixel); x++; }
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonAltDrawPixel(x, pix, color, pPixel); x++; }
/* stop if the last pixel in the group was 0xf */
if (pix == 15)
break;
}
}
/* flipped case */
else
{
/* start at the word after because we predecrement below */
data[7] = addr + 1;
for (x = xpos; x <= 319; )
{
UINT16 pixels = swapWord(spritedata[--data[7] & 0x7fff]);
/* draw four pixels */
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonAltDrawPixel(x, pix, color, pPixel); x++; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonAltDrawPixel(x, pix, color, pPixel); x++; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonAltDrawPixel(x, pix, color, pPixel); x++; }
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0xff) + hzoom; if (xacc < 0x100) { if (x >= 0) HangonAltDrawPixel(x, pix, color, pPixel); x++; }
/* stop if the last pixel in the group was 0xf */
if (pix == 15)
break;
}
}
}
}
}
}
#ifdef __LIBSNES__
static inline void BoardXDrawPixel(int x, int pix, int colour, int shadow, unsigned short* pPixel)
#else
static __forceinline void BoardXDrawPixel(int x, int pix, int colour, int shadow, unsigned short* pPixel)
#endif
{
if (x >= 0 && x <= 319 && pix != 0 && pix != 15) {
if (shadow && pix == 0xa) {
pPixel[x] &= (System16PaletteEntries - 1);
pPixel[x] += ((((System16PaletteRam[pPixel[x] + 1] << 8) | System16PaletteRam[pPixel[x] + 0]) & 0x8000) ? (System16PaletteEntries << 1) : System16PaletteEntries);
} else {
pPixel[x] = (pix | colour) & (System16PaletteEntries - 1);
}
}
}
static void XBoardRenderSpriteLayer(int Priority)
{
UINT8 numbanks = System16SpriteRomSize / 0x40000;
const UINT32 *spritebase = (const UINT32 *)System16Sprites;
UINT16 *data;
UINT16 data0,data1,data2,data3,data4,data5,data6;
for (data = (UINT16*)System16SpriteRamBuff; data < (UINT16*)System16SpriteRamBuff + (System16SpriteRamSize >> 1); data += 8) {
data0 = swapWord(data[0]);
data1 = swapWord(data[1]);
data2 = swapWord(data[2]);
data3 = swapWord(data[3]);
data4 = swapWord(data[4]);
data5 = swapWord(data[5]);
data6 = swapWord(data[6]);
if (data0 & 0x8000)
break;
int sprpri = 1 << (((data3) >> 12) & 3);
#if 0 && defined FBA_DEBUG
if (sprpri != 1 && sprpri != 2 && sprpri != 4 && sprpri != 8) bprintf(PRINT_IMPORTANT, _T("Unknown Sprite Priority - %x\n"), sprpri);
#endif
if (sprpri != Priority) continue;
int hide = (data0 & 0x5000);
int bank = (data0 >> 9) & 7;
int top = (data0 & 0x1ff) - 0x100;
UINT16 addr = data1;
int pitch = (INT16)(( (data2) >> 1) | (( (data4) & 0x1000) << 3)) >> 8;
int xpos = data2 & 0x1ff;
int shadow = (data3 >> 14) & 1;
int vzoom = data3 & 0x7ff;
int ydelta = (data4 & 0x8000) ? 1 : -1;
int flip = (~(data4) >> 14) & 1;
int xdelta = (data4 & 0x2000) ? 1 : -1;
int hzoom = data4 & 0x7ff;
int height = (data5 & 0xfff) + 1;
int color = (data6 & 0xff) << 4;
int x, y, ytarget, yacc = 0, pix;
const UINT32 *spritedata;
/* adjust X coordinate */
/* note: the threshhold below is a guess. If it is too high, rachero will draw garbage */
/* If it is too low, smgp won't draw the bottom part of the road */
if (xpos < 0x80 && xdelta < 0)
xpos += 0x200;
xpos -= 0xbe;
/* initialize the end address to the start address */
data[7] = (addr);
/* if hidden, or top greater than/equal to bottom, or invalid bank, punt */
if (hide || height == 0)
continue;
/* clamp to within the memory region size */
if (numbanks)
bank %= numbanks;
spritedata = spritebase + 0x10000 * bank;
/* clamp to a maximum of 8x (not 100% confirmed) */
if (vzoom < 0x40) vzoom = 0x40;
if (hzoom < 0x40) hzoom = 0x40;
/* loop from top to bottom */
ytarget = top + ydelta * height;
for (y = top; y != ytarget; y += ydelta)
{
/* skip drawing if not within the cliprect */
if (y >= 0 && y <= 223) {
unsigned short* pPixel = pTransDraw + (y * 320);
int xacc = 0;
/* non-flipped case */
if (!flip)
{
/* start at the word before because we preincrement below */
data[7] = addr - 1;
for (x = xpos; (xdelta > 0 && x <= 319) || (xdelta < 0 && x >= 0); )
{
UINT32 pixels = swapLong(spritedata[++data[7]]);
/* draw four pixels */
pix = (pixels >> 28) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 24) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 20) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 16) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 12) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 8) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 4) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 0) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
/* stop if the second-to-last pixel in the group was 0xf */
if ((pixels & 0x000000f0) == 0x000000f0)
break;
}
}
/* flipped case */
else
{
/* start at the word after because we predecrement below */
data[7] = addr + 1;
for (x = xpos; (xdelta > 0 && x <= 319) || (xdelta < 0 && x >= 0); )
{
UINT32 pixels = swapLong(spritedata[--data[7]]);
/* draw four pixels */
pix = (pixels >> 0) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 4) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 8) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 12) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 16) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 20) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 24) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
pix = (pixels >> 28) & 0xf; while (xacc < 0x200) { BoardXDrawPixel(x, pix, color, shadow, pPixel); x += xdelta; xacc += hzoom; } xacc -= 0x200;
/* stop if the second-to-last pixel in the group was 0xf */
if ((pixels & 0x0f000000) == 0x0f000000)
break;
}
}
}
/* accumulate zoom factors; if we carry into the high bit, skip an extra row */
yacc += vzoom;
addr += pitch * (yacc >> 9);
yacc &= 0x1ff;
}
}
}
#ifdef __LIBSNES__
static inline void YBoardSystem16BDrawPixel(int x, int pix, int colour, unsigned short* pPixel)
#else
static __forceinline void YBoardSystem16BDrawPixel(int x, int pix, int colour, unsigned short* pPixel)
#endif
{
if (x >= 0 && x <= 319 && pix != 0 && pix != 15) {
if (pix == 14) {
pPixel[x] &= (System16PaletteEntries - 1);
pPixel[x] += ((((System16PaletteRam[pPixel[x] + 1] << 8) | System16PaletteRam[pPixel[x] + 0]) & 0x8000) ? (System16PaletteEntries * 2) : System16PaletteEntries);
} else {
pPixel[x] = (pix | colour | 0x800) & (System16PaletteEntries - 1);
}
}
}
static void YBoardSystem16BRenderSpriteLayer()
{
UINT8 numbanks;
const UINT16 *spritebase;
UINT16 *data;
spritebase = (const UINT16 *)System16Sprites;
numbanks = System16SpriteRomSize / 0x20000;
for (data = (UINT16*)System16SpriteRam; data < (UINT16*)System16SpriteRam + System16SpriteRamSize / 2; data += 8) {
if (swapWord(data[2]) & 0x8000)
break;
//int sprpri = (data[1] >> 8) & 0x1e;
int bottom = swapWord(data[0]) >> 8;
int top = swapWord(data[0]) & 0xff;
int xpos = (swapWord(data[1]) & 0x1ff) - 0xb8;
int hide = swapWord(data[2]) & 0x4000;
int flip = swapWord(data[2]) & 0x100;
int pitch = (INT8)(swapWord(data[2]) & 0xff);
UINT16 addr = swapWord(data[3]);
int bank = System16SpriteBanks[(swapWord(data[4]) >> 8) & 0xf];
int color = ((swapWord(data[4]) & 0x7f) << 4);
int vzoom = (swapWord(data[5]) >> 5) & 0x1f;
int hzoom = swapWord(data[5]) & 0x1f;
const UINT16 *spritedata;
int x, y, pix, xdelta = 1;
/* initialize the end address to the start address */
data[7] = addr;
/* if hidden, or top greater than/equal to bottom, or invalid bank, punt */
if (hide || (top >= bottom) || bank == 255)
continue;
/* clamp to within the memory region size */
if (numbanks)
bank %= numbanks;
spritedata = spritebase + 0x10000 * bank;
/* reset the yzoom counter */
data[5] &= 0x03ff;
/* loop from top to bottom */
for (y = top; y < bottom; y++) {
/* advance a row */
addr += pitch;
/* accumulate zoom factors; if we carry into the high bit, skip an extra row */
data[5] += vzoom << 10;
if (data[5] & 0x8000) {
addr += pitch;
data[5] &= ~0x8000;
}
/* skip drawing if not within the cliprect */
if (y >= 0 && y <= 223) {
unsigned short* pPixel = pTransDraw + (y * 320);
int xacc;
/* compute the initial X zoom accumulator; this is verified on the real PCB */
xacc = 4 * hzoom;
/* non-flipped case */
if (!flip) {
/* start at the word before because we preincrement below */
data[7] = addr - 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[++data[7]]);
/* draw four pixels */
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { YBoardSystem16BDrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { YBoardSystem16BDrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { YBoardSystem16BDrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { YBoardSystem16BDrawPixel(x, pix, color, pPixel); x += xdelta; }
/* stop if the last pixel in the group was 0xf */
if (pix == 15) break;
}
} else {
/* start at the word after because we predecrement below */
data[7] = addr + 1;
for (x = xpos; ((xpos - x) & 0x1ff) != 1; ) {
UINT16 pixels = swapWord(spritedata[--data[7]]);
/* draw four pixels */
pix = (pixels >> 0) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { YBoardSystem16BDrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 4) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { YBoardSystem16BDrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 8) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { YBoardSystem16BDrawPixel(x, pix, color, pPixel); x += xdelta; }
pix = (pixels >> 12) & 0xf; xacc = (xacc & 0x3f) + hzoom; if (xacc < 0x40) { YBoardSystem16BDrawPixel(x, pix, color, pPixel); x += xdelta; }
/* stop if the last pixel in the group was 0xf */
if (pix == 15) break;
}
}
}
}
}
}
#ifdef __LIBSNES__
static inline void YBoardDrawPixel(int x, unsigned int ind, unsigned int colourpri, unsigned short* pPixel)
#else
static __forceinline void YBoardDrawPixel(int x, unsigned int ind, unsigned int colourpri, unsigned short* pPixel)
#endif
{
if (x >= 0 && x <= 511 && ind < 0x1fe) {
pPixel[x] = (ind | colourpri | 0x1000)/* & (System16PaletteEntries - 1)*/;
}
}
static void YBoardRenderSpriteLayer()
{
UINT8 numbanks = System16Sprite2RomSize / 0x80000;
const UINT64 *spritebase = (const UINT64 *)System16Sprites2;
const UINT16 *rotatebase = (UINT16*)System16RotateRamBuff;
UINT8 visited[0x1000];
UINT16 *data;
int next = 0;
/* reset the visited list */
XMemSet(visited, 0, sizeof(visited));
for (int y = 0; y <= 511; y++)
if (!(swapWord(rotatebase[y & ~1]) & 0xc000))
XMemSet(pTempDraw + (y * 512), 0xff, 512 * sizeof(UINT16));
for (data = (UINT16*)System16SpriteRam2; !(swapWord(data[0]) & 0x8000) && !visited[next]; data = (UINT16*)System16SpriteRam2 + next * 8)
{
int hide = (swapWord(data[0]) & 0x5000);
UINT16 *indirect = (UINT16*)System16SpriteRam2 + ((swapWord(data[0]) & 0x7ff) << 4);
int bank = ((swapWord(data[1]) >> 8) & 0x10) | ((swapWord(data[2]) >> 12) & 0x0f);
int xpos = (swapWord(data[1]) & 0xfff) - 0x600;
int top = (swapWord(data[2]) & 0xfff) - 0x600;
UINT16 addr = swapWord(data[3]);
int height = swapWord(data[4]);
int ydelta = (swapWord(data[5]) & 0x4000) ? 1 : -1;
int flip = (~swapWord(data[5]) >> 13) & 1;
int xdelta = (swapWord(data[5]) & 0x1000) ? 1 : -1;
int zoom = swapWord(data[5]) & 0x7ff;
int colorpri= (swapWord(data[6]) << 1) & 0xfe00;
int pitch = (INT8)swapWord(data[6]);
int x, y, ytarget, yacc = 0, pix, ind;
const UINT64 *spritedata;
UINT16 offs;
/* note that we've visited this entry and get the offset of the next one */
visited[next] = 1;
next = swapWord(data[7]) & 0xfff;
/* if hidden, or top greater than/equal to bottom, or invalid bank, punt */
if (hide || height == 0)
continue;
/* clamp to within the memory region size */
if (numbanks)
bank %= numbanks;
spritedata = spritebase + 0x10000 * bank;
/* clamp to a maximum of 8x (not 100% confirmed) */
if (zoom == 0) zoom = 1;
/* loop from top to bottom */
ytarget = top + ydelta * height;
for (y = top; y != ytarget; y += ydelta)
{
/* skip drawing if not within the cliprect */
if (y >= 0 && y <= 511)
{
//unsigned short* pPixel = pTransDraw + (y * 320);
unsigned short* pPixel = pTempDraw + (y * 512);
int minx = swapWord(rotatebase[y & ~1]);
int maxx = swapWord(rotatebase[y | 1]);
int xacc = 0;
/* bit 0x8000 from rotate RAM means that Y is above the top of the screen */
if ((minx & 0x8000) && ydelta < 0)
break;
/* bit 0x4000 from rotate RAM means that Y is below the bottom of the screen */
if ((minx & 0x4000) && ydelta > 0)
break;
/* if either bit is set, skip the rest for this scanline */
if (!(minx & 0xc000))
{
/* clamp min/max to the cliprect */
minx -= 0x600;
maxx -= 0x600;
if (minx < 0)
minx = 0;
if (maxx > 511)
maxx = 511;
/* non-flipped case */
if (!flip)
{
/* start at the word before because we preincrement below */
offs = addr - 1;
for (x = xpos; (xdelta > 0 && x <= maxx) || (xdelta < 0 && x >= minx); )
{
UINT64 pixels = swapLongLong(spritedata[++offs]);
/* draw four pixels */
pix = (pixels >> 60) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 56) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 52) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 48) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 44) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 40) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 36) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 32) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 28) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 24) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 20) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 16) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 12) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 8) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 4) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 0) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
/* stop if the second-to-last pixel in the group was 0xf */
if (pix == 0x0f)
break;
}
}
/* flipped case */
else
{
/* start at the word after because we predecrement below */
offs = addr + 1;
for (x = xpos; (xdelta > 0 && x <= maxx) || (xdelta < 0 && x >= minx); )
{
UINT64 pixels = swapLongLong(spritedata[--offs]);
/* draw four pixels */
pix = (pixels >> 0) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 4) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 8) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 12) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 16) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 20) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 24) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 28) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 32) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 36) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 40) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 44) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 48) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 52) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 56) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
pix = (pixels >> 60) & 0xf; ind = swapWord(indirect[pix]); while (xacc < 0x200) { YBoardDrawPixel(x, ind, colorpri, pPixel); x += xdelta; xacc += zoom; } xacc -= 0x200;
/* stop if the second-to-last pixel in the group was 0xf */
if (pix == 0x0f)
break;
}
}
}
}
/* accumulate zoom factors; if we carry into the high bit, skip an extra row */
yacc += zoom;
addr += pitch * (yacc >> 9);
yacc &= 0x1ff;
}
}
}
/*====================================================
Road Rendering
====================================================*/
static void OutrunRenderRoadBackgroundLayer()
{
UINT16 *roadram = (UINT16*)System16RoadRam;
int x, y;
for (y = 0; y < 224; y++) {
unsigned short* pPixel = pTransDraw + (y * 320);
int data0 = swapWord(roadram[0x000 + y]);
int data1 = swapWord(roadram[0x100 + y]);
int color = -1;
switch (System16RoadControl & 3) {
case 0: {
if (data0 & 0x800) color = data0 & 0x7f;
break;
}
case 1: {
if (data0 & 0x800) color = data0 & 0x7f;
else if (data1 & 0x800) color = data1 & 0x7f;
break;
}
case 2: {
if (data1 & 0x800) color = data1 & 0x7f;
else if (data0 & 0x800) color = data0 & 0x7f;
break;
}
case 3: {
if (data1 & 0x800) color = data1 & 0x7f;
break;
}
}
if (color != -1) {
for (x = 0; x < 320; x++) {
pPixel[x] = color | System16RoadColorOffset3;
}
}
}
}
static void OutrunRenderRoadForegroundLayer()
{
UINT16 *roadram = (UINT16*)System16RoadRam;
int x, y;
for (y = 0; y < 224; y++) {
static const UINT8 priority_map[2][8] = {
{ 0x80,0x81,0x81,0x87,0,0,0,0x00 },
{ 0x81,0x81,0x81,0x8f,0,0,0,0x80 }
};
unsigned short* pPixel = pTransDraw + (y * 320);
int data0 = swapWord(roadram[0x000 + y]);
int data1 = swapWord(roadram[0x100 + y]);
/* if both roads are low priority, skip */
if ((data0 & 0x800) && (data1 & 0x800)) continue;
int hpos0, hpos1, color0, color1;
int control = System16RoadControl & 3;
UINT16 color_table[32];
UINT8 *src0, *src1;
UINT8 bgcolor;
/* get road 0 data */
src0 = (data0 & 0x800) ? System16Roads + 256 * 2 * 512 : (System16Roads + (0x000 + ((data0 >> 1) & 0xff)) * 512);
hpos0 = swapWord((roadram[0x200 + ((System16RoadControl & 4) ? y : (data0 & 0x1ff))])) & 0xfff;
color0 = swapWord(roadram[0x600 + ((System16RoadControl & 4) ? y : (data0 & 0x1ff))]);
/* get road 1 data */
src1 = (data1 & 0x800) ? System16Roads + 256 * 2 * 512 : (System16Roads + (0x100 + ((data1 >> 1) & 0xff)) * 512);
hpos1 = swapWord(roadram[0x400 + ((System16RoadControl & 4) ? (0x100 + y) : (data1 & 0x1ff))]) & 0xfff;
color1 = swapWord(roadram[0x600 + ((System16RoadControl & 4) ? (0x100 + y) : (data1 & 0x1ff))]);
/* determine the 5 colors for road 0 */
color_table[0x00] = System16RoadColorOffset1 ^ 0x00 ^ ((color0 >> 0) & 1);
color_table[0x01] = System16RoadColorOffset1 ^ 0x02 ^ ((color0 >> 1) & 1);
color_table[0x02] = System16RoadColorOffset1 ^ 0x04 ^ ((color0 >> 2) & 1);
bgcolor = (color0 >> 8) & 0xf;
color_table[0x03] = (data0 & 0x200) ? color_table[0x00] : (System16RoadColorOffset2 ^ 0x00 ^ bgcolor);
color_table[0x07] = System16RoadColorOffset1 ^ 0x06 ^ ((color0 >> 3) & 1);
/* determine the 5 colors for road 1 */
color_table[0x10] = System16RoadColorOffset1 ^ 0x08 ^ ((color1 >> 4) & 1);
color_table[0x11] = System16RoadColorOffset1 ^ 0x0a ^ ((color1 >> 5) & 1);
color_table[0x12] = System16RoadColorOffset1 ^ 0x0c ^ ((color1 >> 6) & 1);
bgcolor = (color1 >> 8) & 0xf;
color_table[0x13] = (data1 & 0x200) ? color_table[0x10] : (System16RoadColorOffset2 ^ 0x10 ^ bgcolor);
color_table[0x17] = System16RoadColorOffset1 ^ 0x0e ^ ((color1 >> 7) & 1);
/* draw the road */
switch (control) {
case 0: {
if (data0 & 0x800) continue;
hpos0 = (hpos0 - (0x5f8 + System16RoadXOffset)) & 0xfff;
for (x = 0; x < 320; x++) {
int pix0 = (hpos0 < 0x200) ? src0[hpos0] : 3;
pPixel[x] = color_table[0x00 + pix0];
hpos0 = (hpos0 + 1) & 0xfff;
}
break;
}
case 1: {
hpos0 = (hpos0 - (0x5f8 + System16RoadXOffset)) & 0xfff;
hpos1 = (hpos1 - (0x5f8 + System16RoadXOffset)) & 0xfff;
for (x = 0; x < 320; x++) {
int pix0 = (hpos0 < 0x200) ? src0[hpos0] : 3;
int pix1 = (hpos1 < 0x200) ? src1[hpos1] : 3;
if ((priority_map[0][pix0] >> pix1) & 1) {
pPixel[x] = color_table[0x10 + pix1];
} else {
pPixel[x] = color_table[0x00 + pix0];
}
hpos0 = (hpos0 + 1) & 0xfff;
hpos1 = (hpos1 + 1) & 0xfff;
}
break;
}
case 2: {
hpos0 = (hpos0 - (0x5f8 + System16RoadXOffset)) & 0xfff;
hpos1 = (hpos1 - (0x5f8 + System16RoadXOffset)) & 0xfff;
for (x = 0; x < 320; x++) {
int pix0 = (hpos0 < 0x200) ? src0[hpos0] : 3;
int pix1 = (hpos1 < 0x200) ? src1[hpos1] : 3;
if ((priority_map[1][pix0] >> pix1) & 1) {
pPixel[x] = color_table[0x10 + pix1];
} else {
pPixel[x] = color_table[0x00 + pix0];
}
hpos0 = (hpos0 + 1) & 0xfff;
hpos1 = (hpos1 + 1) & 0xfff;
}
break;
}
case 3: {
if (data1 & 0x800) continue;
hpos1 = (hpos1 - (0x5f8 + System16RoadXOffset)) & 0xfff;
for (x = 0; x < 320; x++) {
int pix1 = (hpos1 < 0x200) ? src1[hpos1] : 3;
pPixel[x] = color_table[0x10 + pix1];
hpos1 = (hpos1 + 1) & 0xfff;
}
break;
}
}
}
}
static void HangonRenderRoadLayer(int priority)
{
UINT16 *roadram = (UINT16*)System16RoadRam;
int x, y;
for (y = 0; y <= 223; y++)
{
unsigned short* pPixel = pTransDraw + (y * 320);
int control = swapWord(roadram[0x000 + y]);
int ff9j1 = 0, ff9j2 = 0, ctr9m = 0, ctr9n9p = 0, ctr9n9p_ena = 0, ss8j = 0, plycont = 0;
/* the PLYCONT signal controls the road layering */
plycont = (control >> 10) & 3;
if (plycont != priority) continue;
int hpos = swapWord(roadram[0x100 + (control & 0xff)]);
int color0 = swapWord(roadram[0x200 + (control & 0xff)]);
int color1 = swapWord(roadram[0x300 + (control & 0xff)]);
UINT8 *src;
/* compute the offset of the road graphics for this line */
src = System16Roads + (0x000 + (control & 0xff)) * 512;
/* initialize the 4-bit counter at 9M, which counts bits within each road byte */
ctr9m = hpos & 7;
/* initialize the two 4-bit counters at 9P (low) and 9N (high), which count road data bytes */
ctr9n9p = (hpos >> 3) & 0xff;
/* initialize the flip-flop at 9J (lower half), which controls the counting direction */
ff9j1 = (hpos >> 11) & 1;
/* initialize the flip-flop at 9J (upper half), which controls the background color */
ff9j2 = 1;
/* initialize the serial shifter at 8S, which delays several signals after we flip */
ss8j = 0;
/* draw this scanline from the beginning */
for (x = -24; x <= 319; x++)
{
int md, color, select;
/* ---- the following logic all happens constantly ---- */
/* the enable is controlled by the value in the counter at 9M */
ctr9n9p_ena = (ctr9m == 7);
/* if we carried out of the 9P/9N counters, we will forcibly clear the flip-flop at 9J (lower half) */
if ((ctr9n9p & 0xff) == 0xff)
ff9j1 = 0;
/* if the control word bit 8 is clear, we will forcibly set the flip-flop at 9J (lower half) */
if (!(control & 0x100))
ff9j1 = 1;
/* for the Hang On/Super Hang On case only: if the control word bit 9 is clear, we will forcibly */
/* set the flip-flip at 9J (upper half) */
if (Hangon && !(control & 0x200))
ff9j2 = 1;
/* ---- now process the pixel ---- */
md = 3;
/* the Space Harrier/Enduro Racer hardware has a tweak that maps the control word bit 9 to the */
/* /CE line on the road ROM; use this to effectively disable the road data */
if (Hangon || !(control & 0x200))
/* the /OE line on the road ROM is linked to the AND of bits 2 & 3 of the counter at 9N */
if ((ctr9n9p & 0xc0) == 0xc0)
{
/* note that the pixel logic is hidden in a custom at 9S; this is just a guess */
if (ss8j & 1)
md = src[((ctr9n9p & 0x3f) << 3) | ctr9m];
else
md = src[((ctr9n9p & 0x3f) << 3) | (ctr9m ^ 7)];
}
/* "select" is a made-up signal that comes from bit 3 of the serial shifter and is */
/* used in several places for color selection */
select = (ss8j >> 3) & 1;
/* check the flip-flop at 9J (upper half) to determine if we should use the background color; */
/* the output of this is ANDed with M0 and M1 so it only affects pixels with a value of 3; */
/* this is done by the AND gates at 9L and 7K */
if (ff9j2 && md == 3)
{
/* in this case, the "select" signal is used to select which background color to use */
/* since the color0 control word contains two selections */
color = (color0 >> (select ? 0 : 8)) & 0x3f;
color |= 0x7c0;
}
/* if we're not using the background color, we select pixel data from an alternate path */
else
{
/* the AND gates at 7L, 9K, and 7K clamp the pixel value to 0 if bit 7 of the color 1 */
/* signal is 1 and if the pixel value is 3 (both M0 and M1 == 1) */
if ((color1 & 0x80) && md == 3)
md = 0;
/* the pixel value plus the "select" line combine to form a mux into the low 8 bits of color1 */
color = (color1 >> ((md << 1) | select)) & 1;
/* this value becomes the low bit of the final color; the "select" line itself and the pixel */
/* value form the other bits */
color |= select << 3;
color |= md << 1;
color |= 0x038;
}
/* write the pixel if we're past the minimum clip */
if (x >= 0)
pPixel[x] = color;
/* ---- the following logic all happens on the 6M clock ---- */
/* clock the counter at 9M */
ctr9m = (ctr9m + 1) & 7;
/* if enabled, clock on the two cascaded 4-bit counters at 9P and 9N */
if (ctr9n9p_ena)
{
if (ff9j1)
ctr9n9p++;
else
ctr9n9p--;
}
/* clock the flip-flop at 9J (upper half) */
ff9j2 = !(!ff9j1 && (ss8j & 0x80));
/* clock the serial shift register at 8J */
ss8j = (ss8j << 1) | ff9j1;
}
}
}
/*====================================================
Rotation Layer Rendering
====================================================*/
void System16RotateDraw()
{
UINT16 *pRotateBuff = (UINT16*)System16RotateRamBuff;
INT32 currx = (swapWord(pRotateBuff[0x3f0]) << 16) | swapWord(pRotateBuff[0x3f1]);
INT32 curry = (swapWord(pRotateBuff[0x3f2]) << 16) | swapWord(pRotateBuff[0x3f3]);
INT32 dyy = (swapWord(pRotateBuff[0x3f4]) << 16) | swapWord(pRotateBuff[0x3f5]);
INT32 dxx = (swapWord(pRotateBuff[0x3f6]) << 16) | swapWord(pRotateBuff[0x3f7]);
INT32 dxy = (swapWord(pRotateBuff[0x3f8]) << 16) | swapWord(pRotateBuff[0x3f9]);
INT32 dyx = (swapWord(pRotateBuff[0x3fa]) << 16) | swapWord(pRotateBuff[0x3fb]);
int x, y;
/* advance forward based on the clip rect */
currx += dxx * (0 + 27) + dxy * 0;
curry += dyx * (0 + 27) + dyy * 0;
/* loop over screen Y coordinates */
for (y = 0; y <= 223; y++)
{
unsigned short* pPixel = pTransDraw + (y * 320);
unsigned short* pSrc = pTempDraw;
INT32 tx = currx;
INT32 ty = curry;
/* loop over screen X coordinates */
for (x = 0; x <= 319; x++)
{
/* fetch the pixel from the source bitmap */
int sx = (tx >> 14) & 0x1ff;
int sy = (ty >> 14) & 0x1ff;
int pix = pSrc[sy * 512 + (sx & 0x1ff)];
/* non-zero pixels get written; everything else is the scanline color */
if (pix != 0xffff)
{
*pPixel++ = ((pix & 0x1ff) | ((pix >> 6) & 0x200) | ((pix >> 3) & 0xc00) | 0x1000) & (System16PaletteEntries - 1);
}
else
{
*pPixel++ = /*info->colorbase +*/ sy;
}
/* advance the source X/Y pointers */
tx += dxx;
ty += dyx;
}
/* advance the source X/Y pointers */
currx += dxy;
curry += dyy;
}
}
/*====================================================
Genesis VDP Rendering
====================================================*/
static void System18DrawVDP()
{
int x, y;
for (y = 0; y < 224; y++)
{
UINT16 *src = pTempDraw + (y * 320);
UINT16 *dst = pTransDraw + (y * 320);
for (x = 0; x < 320; x++)
{
UINT16 pix = src[x];
if (pix != 0xffff)
{
dst[x] = pix;
}
}
}
}
void UpdateSystem18VDP()
{
for (int y = 0; y < 224; y++) {
unsigned short* pPixel = pTempDraw + (y * 320);
vdp_drawline(pPixel, y, 0xffff);
}
}
/*====================================================
Palette Generation
====================================================*/
static inline int System16CalcPalette()
{
int i;
for (i = 0; i < System16PaletteEntries * 2; i +=2) {
int r, g, b;
int nColour = (System16PaletteRam[i + 1] << 8) | System16PaletteRam[i + 0];
r = (nColour & 0x00f) << 1;
g = (nColour & 0x0f0) >> 2;
b = (nColour & 0xf00) >> 7;
if (nColour & 0x1000) r |= 1;
if (nColour & 0x2000) g |= 2;
if (nColour & 0x8000) g |= 1;
if (nColour & 0x4000) b |= 1;
r = (r << 3) | (r >> 2);
g = (g << 2) | (g >> 4);
b = (b << 3) | (b >> 2);
System16Palette[i / 2] = BurnHighCol(r, g, b, 0);
r = r * 160 / 256;
g = g * 160 / 256;
b = b * 160 / 256;
System16Palette[(i / 2) + System16PaletteEntries] = BurnHighCol(r, g, b, 0);
System16Palette[(i / 2) + (System16PaletteEntries * 2)] = BurnHighCol(r, g, b, 0);
}
return 0;
}
/*====================================================
Frame Rendering
====================================================*/
static inline void System16AUpdateTileValues()
{
UINT16 *TextRam = (UINT16*)System16TextRam;
int i;
for (i = 0; i < 2; i++) {
System16OldPage[i] = System16Page[i];
System16Page[i] = ((System16ScreenFlip) ? swapWord(TextRam[0xe8e/2 - i]) : swapWord(TextRam[0xe9e/2 - i]));
System16ScrollX[i] = swapWord(TextRam[0xff8/2 + i]) & 0x1ff;
System16ScrollY[i] = swapWord(TextRam[0xf24/2 + i]) & 0x0ff;
}
if (System16OldPage[0] != System16Page[0]) {
System16RecalcFgTileMap = 1;
}
if (System16OldPage[1] != System16Page[1]) {
System16RecalcBgTileMap = 1;
}
}
void System16ARender()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
System16AUpdateTileValues();
System16ACreateTileMaps();
System16CalcPalette();
System16ARenderTileLayer(1, 0, 0);
System16ARenderSpriteLayer(1);
System16ARenderTileLayer(1, 0, 1);
System16ARenderSpriteLayer(2);
System16ARenderTileLayer(1, 1, 1);
System16ARenderTileLayer(0, 0, 1);
System16ARenderSpriteLayer(4);
System16ARenderTileLayer(0, 1, 1);
System16ARenderTextLayer(0);
System16ARenderSpriteLayer(8);
System16ARenderTextLayer(1);
BurnTransferCopy(System16Palette);
}
void System16BootlegRender()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
System16CalcPalette();
BootlegRenderTileLayer(1, 0, 0);
BootlegRenderTileLayer(1, 1, 0);
System16BRenderSpriteLayer(1);
BootlegRenderTileLayer(1, 0, 1);
System16BRenderSpriteLayer(2);
BootlegRenderTileLayer(1, 1, 1);
BootlegRenderTileLayer(0, 0, 1);
System16BRenderSpriteLayer(4);
BootlegRenderTileLayer(0, 1, 1);
System16BRenderTextLayer(0);
System16BRenderSpriteLayer(8);
System16BRenderTextLayer(1);
BurnTransferCopy(System16Palette);
}
static inline void System16BUpdateTileValues()
{
UINT16 *TextRam = (UINT16*)System16TextRam;
for (int i = 0; i < 4; i++) {
System16OldPage[i] = System16Page[i];
System16Page[i] = swapWord(TextRam[(0xe80 >> 1) + i]);
System16ScrollX[i] = swapWord(TextRam[(0xe98 >> 1) + i]);
System16ScrollY[i] = swapWord(TextRam[(0xe90 >> 1) + i]);
}
if (System16OldPage[0] != System16Page[0]) {
System16RecalcFgTileMap = 1;
}
if (System16OldPage[1] != System16Page[1]) {
System16RecalcBgTileMap = 1;
}
if (System16OldPage[2] != System16Page[2]) {
System16RecalcFgAltTileMap = 1;
}
if (System16OldPage[3] != System16Page[3]) {
System16RecalcBgAltTileMap = 1;
}
}
void System16BRender()
{
if (!System16IgnoreVideoEnable) {
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
}
System16BUpdateTileValues();
System16BCreateTileMaps();
System16CalcPalette();
System16BRenderTileLayer(1, 0, 0);
System16BRenderSpriteLayer(1);
System16BRenderTileLayerTransparent(1, 0);
System16BRenderSpriteLayer(2);
System16BRenderTileLayerTransparent(1, 1);
System16BRenderTileLayerTransparent(0, 0);
System16BRenderSpriteLayer(4);
System16BRenderTileLayerTransparent(0, 1);
System16BRenderTextLayer(0);
System16BRenderSpriteLayer(8);
System16BRenderTextLayer(1);
BurnTransferCopy(System16Palette);
}
void System16BAltRender()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
System16BUpdateTileValues();
System16BAltCreateTileMaps();
System16CalcPalette();
System16BRenderTileLayer(1, 0, 0);
System16BRenderSpriteLayer(1);
System16BRenderTileLayerTransparent(1, 0);
System16BRenderSpriteLayer(2);
System16BRenderTileLayerTransparent(1, 1);
System16BRenderTileLayerTransparent(0, 0);
System16BRenderSpriteLayer(4);
System16BRenderTileLayerTransparent(0, 1);
System16BAltRenderTextLayer(0);
System16BRenderSpriteLayer(8);
System16BAltRenderTextLayer(1);
BurnTransferCopy(System16Palette);
}
void System18Render()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
int VDPLayer = (System18VdpMixing >> 1) & 3;
int VDPPri = (System18VdpMixing & 1) ? (1 << VDPLayer) : 0;
System16BUpdateTileValues();
System16BCreateTileMaps();
System16CalcPalette();
if (System18VdpEnable) UpdateSystem18VDP();
System16BRenderTileLayer(1, 0, 0);
if (System18VdpEnable && VDPLayer == 0 && !VDPPri) System18DrawVDP();
System16BRenderSpriteLayer(1);
if (System18VdpEnable && VDPLayer == 0 && VDPPri) System18DrawVDP();
System16BRenderTileLayerTransparent(1, 0);
if (System18VdpEnable && VDPLayer == 1 && !VDPPri) System18DrawVDP();
System16BRenderSpriteLayer(2);
if (System18VdpEnable && VDPLayer == 1 && VDPPri) System18DrawVDP();
System16BRenderTileLayerTransparent(1, 1);
System16BRenderTileLayerTransparent(0, 0);
if (System18VdpEnable && VDPLayer == 2 && !VDPPri) System18DrawVDP();
System16BRenderSpriteLayer(4);
if (System18VdpEnable && VDPLayer == 2 && VDPPri) System18DrawVDP();
System16BRenderTileLayerTransparent(0, 1);
System16BRenderTextLayer(0);
if (System18VdpEnable && VDPLayer == 3 && !VDPPri) System18DrawVDP();
System16BRenderSpriteLayer(8);
if (System18VdpEnable && VDPLayer == 3 && VDPPri) System18DrawVDP();
System16BRenderTextLayer(1);
BurnTransferCopy(System16Palette);
for (int i = 0; i < nBurnGunNumPlayers; i++) {
BurnGunDrawTarget(i, BurnGunX[i] >> 8, BurnGunY[i] >> 8);
}
}
void HangonRender()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
System16CalcPalette();
System16AUpdateTileValues();
System16ACreateTileMaps();
HangonRenderRoadLayer(0);
HangonRenderSpriteLayer(1);
System16ARenderTileLayer(1, 0, 1);
HangonRenderSpriteLayer(2);
System16ARenderTileLayer(1, 1, 1);
System16ARenderTileLayer(0, 0, 1);
HangonRenderSpriteLayer(4);
System16ARenderTileLayer(0, 1, 1);
HangonRenderRoadLayer(1);
HangonRenderSpriteLayer(8);
System16ARenderTextLayer(0);
System16ARenderTextLayer(1);
BurnTransferCopy(System16Palette);
}
void HangonAltRender()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
System16CalcPalette();
System16AUpdateTileValues();
System16ACreateTileMaps();
HangonRenderRoadLayer(0);
HangonAltRenderSpriteLayer(1);
System16ARenderTileLayer(1, 0, 1);
HangonAltRenderSpriteLayer(2);
System16ARenderTileLayer(1, 1, 1);
System16ARenderTileLayer(0, 0, 1);
HangonAltRenderSpriteLayer(4);
System16ARenderTileLayer(0, 1, 1);
HangonRenderRoadLayer(1);
HangonAltRenderSpriteLayer(8);
System16ARenderTextLayer(0);
System16ARenderTextLayer(1);
BurnTransferCopy(System16Palette);
}
void OutrunRender()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
System16BUpdateTileValues();
System16BCreateTileMaps();
System16CalcPalette();
OutrunRenderRoadBackgroundLayer();
OutrunRenderSpriteLayer(1);
System16BRenderTileLayerTransparent(1, 0);
OutrunRenderSpriteLayer(2);
System16BRenderTileLayerTransparent(1, 1);
System16BRenderTileLayerTransparent(0, 0);
OutrunRenderSpriteLayer(4);
System16BRenderTileLayerTransparent(0, 1);
OutrunRenderRoadForegroundLayer();
System16BRenderTextLayer(0);
OutrunRenderSpriteLayer(8);
System16BRenderTextLayer(1);
BurnTransferCopy(System16Palette);
}
void ShangonRender()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
System16BUpdateTileValues();
System16BAltCreateTileMaps();
System16CalcPalette();
OutrunRenderRoadBackgroundLayer();
System16BRenderSpriteLayer(1);
System16BRenderTileLayerTransparent(1, 0);
System16BRenderSpriteLayer(2);
System16BRenderTileLayerTransparent(1, 1);
System16BRenderTileLayerTransparent(0, 0);
System16BRenderSpriteLayer(4);
System16BRenderTileLayerTransparent(0, 1);
OutrunRenderRoadForegroundLayer();
System16BRenderSpriteLayer(8);
System16BAltRenderTextLayer(0);
System16BAltRenderTextLayer(1);
BurnTransferCopy(System16Palette);
}
void XBoardRender()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
System16BUpdateTileValues();
System16BCreateTileMaps();
System16CalcPalette();
OutrunRenderRoadBackgroundLayer();
if (!System16RoadPriority) OutrunRenderRoadForegroundLayer();
XBoardRenderSpriteLayer(1);
System16BRenderTileLayerTransparent(1, 0);
XBoardRenderSpriteLayer(2);
System16BRenderTileLayerTransparent(1, 1);
System16BRenderTileLayerTransparent(0, 0);
XBoardRenderSpriteLayer(4);
System16BRenderTileLayerTransparent(0, 1);
if (System16RoadPriority) OutrunRenderRoadForegroundLayer();
System16BRenderTextLayer(0);
XBoardRenderSpriteLayer(8);
System16BRenderTextLayer(1);
BurnTransferCopy(System16Palette);
for (int i = 0; i < nBurnGunNumPlayers; i++) {
BurnGunDrawTarget(i, BurnGunX[i] >> 8, BurnGunY[i] >> 8);
}
}
void YBoardRender()
{
if (!System16VideoEnable) {
BurnTransferClear();
return;
}
System16CalcPalette();
YBoardRenderSpriteLayer();
System16RotateDraw();
YBoardSystem16BRenderSpriteLayer();
BurnTransferCopy(System16Palette);
for (int i = 0; i < nBurnGunNumPlayers; i++) {
BurnGunDrawTarget(i, BurnGunX[i] >> 8, BurnGunY[i] >> 8);
}
}
|
[
"[email protected]",
"[email protected]"
] |
[
[
[
1,
1667
],
[
1671,
1671
],
[
1673,
2334
],
[
2338,
2338
],
[
2340,
2486
],
[
2490,
2490
],
[
2492,
2602
],
[
2606,
2606
],
[
2608,
3548
]
],
[
[
1668,
1670
],
[
1672,
1672
],
[
2335,
2337
],
[
2339,
2339
],
[
2487,
2489
],
[
2491,
2491
],
[
2603,
2605
],
[
2607,
2607
]
]
] |
1fd8354addc6fea96678fa49b7e03a053cb0ede4
|
26b6f15c144c2f7a26ab415c3997597fa98ba30a
|
/rtsp_sdk/inc/RTSPHeaderStream.h
|
cbb5ffe9cdc9979d898068527bc1fd535c6de0b4
|
[] |
no_license
|
wangscript007/rtspsdk
|
fb0b52e63ad1671e8b2ded1d8f10ef6c3c63fddf
|
f5b095f0491e5823f50a83352945acb88f0b8aa0
|
refs/heads/master
| 2022-03-09T09:25:23.988183 | 2008-12-27T17:23:31 | 2008-12-27T17:23:31 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 3,778 |
h
|
/*****************************************************************************
// RTSP SDK Base Classes
//
// RTSP Header Stream classes
//
// description:
// a set of classes used for internal work with
// RTSP requests and responses headers
//
// revision of last commit:
// $Rev$
// author of last commit:
// $Author$
// date of last commit:
// $Date$
//
// created by Argenet {[email protected]}
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to use, reproduce, display, distribute,
// execute, and transmit the Software, and to prepare derivative works of the
// Software, and to permit third-parties to whom the Software is furnished to
// do so, all subject to the following:
//
// The copyright notices in the Software and this entire statement, including
// the above license grant, this restriction and the following disclaimer,
// must be included in all copies of the Software, in whole or in part, and
// all derivative works of the Software, unless such copies or derivative
// works are solely in the form of machine-executable object code generated by
// a source language processor.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
// SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
// FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
******************************************************************************/
#ifndef __RTSP_HEADER_STREAM__H__
#define __RTSP_HEADER_STREAM__H__
#include <cstddef>
#include <istream>
#include <ostream>
#include "Poco/Net/Net.h"
#include "Poco/MemoryPool.h"
#include "rtsp_sdk.h"
#include "RTSPBasicStreamBuf.h"
namespace RTSP {
class RTSPSession;
class RTSP_SDK_API RTSPHeaderStreamBuf: public RTSPBasicStreamBuf
/// This is the streambuf class used for reading from a RTSP header
/// in a RTSPSession.
{
public:
typedef RTSPBasicStreamBuf::openmode openmode;
RTSPHeaderStreamBuf(RTSPSession& session, openmode mode);
~RTSPHeaderStreamBuf();
protected:
int readFromDevice(char* buffer, std::streamsize length);
int writeToDevice(const char* buffer, std::streamsize length);
private:
RTSPSession& _session;
bool _end;
};
class RTSP_SDK_API RTSPHeaderIOS: public virtual std::ios
/// The base class for RTSPHeaderInputStream.
{
public:
RTSPHeaderIOS(RTSPSession& session, RTSPHeaderStreamBuf::openmode mode);
~RTSPHeaderIOS();
RTSPHeaderStreamBuf* rdbuf();
protected:
RTSPHeaderStreamBuf _buf;
};
class RTSP_SDK_API RTSPHeaderInputStream: public RTSPHeaderIOS, public std::istream
/// This class is for internal use by RTSPSession only.
{
public:
RTSPHeaderInputStream(RTSPSession& session);
~RTSPHeaderInputStream();
void* operator new(std::size_t size);
void operator delete(void* ptr);
private:
static Poco::MemoryPool _pool;
};
class RTSP_SDK_API RTSPHeaderOutputStream: public RTSPHeaderIOS, public std::ostream
/// This class is for internal use by RTSPSession only.
{
public:
RTSPHeaderOutputStream(RTSPSession& session);
~RTSPHeaderOutputStream();
void* operator new(std::size_t size);
void operator delete(void* ptr);
private:
static Poco::MemoryPool _pool;
};
} // namespace RTSP
#endif // __RTSP_HEADER_STREAM__H__
|
[
"[email protected]"
] |
[
[
[
1,
129
]
]
] |
46925479d1065a89266d62ef761e44feb3515289
|
714ba82f085b712ba79ab47077ff418a42ba948f
|
/src/umessagewidget.h
|
c16ee70d4bada4b75d1b156d9bd3c539159b072b
|
[] |
no_license
|
DanilKorotenko/uptimer
|
45a68924b9d88722f45e2d685461831e42c3eb36
|
ea27e56850d13d4cb42aadc3e1fa0c8c7b484774
|
refs/heads/master
| 2021-01-10T00:59:40.231850 | 2011-12-11T19:15:11 | 2011-12-11T19:15:11 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 249 |
h
|
#ifndef UMESSAGEWIDGET_H
#define UMESSAGEWIDGET_H
#include <QtGui>
class UMessageWidget : public QWidget
{
Q_OBJECT
public:
explicit UMessageWidget(QWidget *parent = 0);
signals:
public slots:
};
#endif // UMESSAGEWIDGET_H
|
[
"[email protected]@e34b3dd6-a7c9-c8d4-14fe-c837c0849a06"
] |
[
[
[
1,
18
]
]
] |
7bf3020ad67db1848b1dfba93b5288e3b3ec1882
|
19b7f922d661aad5fb238690e479a0ae8ca21e10
|
/src/SchdVtrRec.h
|
ae6fa41dc594bca0d084cc1ab6f2dbd6a44c6988
|
[] |
no_license
|
max-verem/schdvtrrec
|
1a3170f72c3df3f0981ee5fd6875601aa0f3caa7
|
3911b472da9f35c264182a80cf1c00442facbe45
|
refs/heads/master
| 2021-07-10T04:54:23.663305 | 2011-04-18T13:20:42 | 2011-04-18T13:20:42 | 106,196,849 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,829 |
h
|
// SchdVtrRec.h : main header file for the SCHDVTRREC application
//
#if !defined(AFX_SCHDVTRREC_H__35F7803D_C1E0_4420_BE8B_BBB37F704564__INCLUDED_)
#define AFX_SCHDVTRREC_H__35F7803D_C1E0_4420_BE8B_BBB37F704564__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "SchdVtrRecConf.h"
#include "SchdVtrRecIni.h"
#define VTR_ONLINE (1<<0)
#define VTR_TAPE_LOADED (1<<1)
#define VTR_RECORD_NOT_INHIBITED (1<<2)
#define VTR_REMOTE_CONTROL (1<<3)
#define VTR_EOT (1<<4)
#define VTR_NEAR_EOT (1<<5)
#define VTR_EJECTING (1<<6)
#define VTR_SYS_SVO_ALARM (1<<7)
/////////////////////////////////////////////////////////////////////////////
// CSchdVtrRecApp:
// See SchdVtrRec.cpp for the implementation of this class
//
class CSchdVtrRecApp : public CWinApp
{
public:
CSchdVtrRecConf m_opts;
CSchdVtrRecIni* m_ini;
void* vtr;
int vtr_state;
int vtr_tc;
CSchdVtrRecApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSchdVtrRecApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CSchdVtrRecApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCHDVTRREC_H__35F7803D_C1E0_4420_BE8B_BBB37F704564__INCLUDED_)
|
[
"[email protected]"
] |
[
[
[
1,
68
]
]
] |
95f582bbbd24cbc35bd52dd13dd5981b452116ba
|
eda410906c2ec64689d8c0b84f3c2862f469144b
|
/DropSendCore/data/dao/ireceivedfiledao.h
|
d39a175a100549b42ffe6a6172b10def89fb9f27
|
[] |
no_license
|
redbox/Dropsend
|
640ea157a2caec88aa145f5bdc7fa85db95203a5
|
8fe4b4478616b9850b55011a506653026a28f7da
|
refs/heads/master
| 2020-06-02T20:54:18.301786 | 2010-09-06T16:16:05 | 2010-09-06T16:16:05 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 718 |
h
|
#ifndef IRECEIVEDFILEDAO_H
#define IRECEIVEDFILEDAO_H
#include "iuserrelateddao.h"
#include "./../entities/receivedfile.h"
namespace dropsend {
namespace data {
namespace dao {
using namespace entities;
/**
* @interface IReceivedFileDAO
* @brief Contains methods to obtain information about user's received files. Inherited from IUserRelatedDAO.
* @see dropsend::data::dao::IUserRelatedDAO
* @see dropsend::data::entities::ReceivedFile
**/
class IReceivedFileDAO : public IUserRelatedDAO<ReceivedFile>
{
};
}
}
}
#endif // IRECEIVEDFILEDAO_H
|
[
"[email protected]"
] |
[
[
[
1,
24
]
]
] |
6167d55f63160d9760973aee9a4b5dcca003f321
|
aab4c401149d8cdee10094d4fb4de98f490be3b6
|
/include/utils/lmem.h
|
845fe8bd2c860c35e3a38c199386be71e88e120c
|
[] |
no_license
|
soulik/quads
|
a7a49e32dcd137fd32fd45b60fa26b5c0747bd03
|
ce440c5d35448908fd936797bff0cb7a9ff78b6e
|
refs/heads/master
| 2016-09-08T00:18:28.704939 | 2008-09-01T14:18:42 | 2008-09-01T14:18:42 | 32,122,815 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 819 |
h
|
#ifndef H_LMEM
#define H_LMEM
extern "C" {
#include <LUA.h>
#include <lualib.h>
#include <lauxlib.h>
}
#include <hash_map>
#include <string>
using namespace std;
using namespace stdext;
#include "qDebug.h"
//struct qLDatap;
struct qLdata;
#define qLDatap hash_map<string,qLdata>
struct qLdata{
lua_Number _number;
const char * _string;
qLDatap * _table;
int type;
};
extern qLDatap * LuaData;
class qLMem: public qDebug{
public:
qLMem();
~qLMem();
void prepareFunctions(lua_State * Lua);
static int mem_new(lua_State * Lua);
static qLDatap * mem_check(lua_State * Lua, int index);
static int mem_gc(lua_State * Lua);
static int mem_set(lua_State * Lua);
static int mem_get(lua_State * Lua);
};
const qLdata * exists(qLDatap * data,const char * name);
#endif
|
[
"soulik42@89f801e3-d555-0410-a9c1-35b9be595399"
] |
[
[
[
1,
43
]
]
] |
29dd99f86c898c0309dac25066974458b7555201
|
c95a83e1a741b8c0eb810dd018d91060e5872dd8
|
/libs/stdlith/abstractio.cpp
|
cf11f286d43a8d4381e64af4ba896ebb752fe73a
|
[] |
no_license
|
rickyharis39/nolf2
|
ba0b56e2abb076e60d97fc7a2a8ee7be4394266c
|
0da0603dc961e73ac734ff365bfbfb8abb9b9b04
|
refs/heads/master
| 2021-01-01T17:21:00.678517 | 2011-07-23T12:11:19 | 2011-07-23T12:11:19 | 38,495,312 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,660 |
cpp
|
//------------------------------------------------------------------
//
// FILE : AbstractIO.cpp
//
// PURPOSE : Implements the CAbstractFileIO class.
//
// CREATED : November 12 1996
//
// COPYRIGHT : Microsoft 1996 All Rights Reserved
//
//------------------------------------------------------------------
// Includes....
#include "abstractio.h"
CAbstractIO::CAbstractIO()
{
m_bExceptionsEnabled = TRUE;
}
CAbstractIO::~CAbstractIO()
{
}
void CAbstractIO::EnableExceptions( LTBOOL bEnable )
{
m_bExceptionsEnabled = bEnable;
}
LTBOOL CAbstractIO::IsExceptionsEnabled()
{
return m_bExceptionsEnabled;
}
LTBOOL CAbstractIO::WriteString(const char *pStr )
{
uint16 len = (uint16)strlen(pStr);
if( !Write(&len, sizeof(len)) )
return FALSE;
return Write( pStr, len );
}
LTBOOL CAbstractIO::ReadString( char *pStr, uint32 maxLen )
{
uint16 len;
if( !Read(&len, sizeof(len)) )
return FALSE;
if( (uint16)(len+1) > maxLen )
return FALSE;
if( !Read(pStr, len) )
return FALSE;
pStr[len] = 0;
return TRUE;
}
LTBOOL CAbstractIO::ReadTextString(char *pStr, uint32 maxLen)
{
if (maxLen > 4096) maxLen = 4096;
memset(pStr, 0, maxLen);
uint32 i = 0;
while (i < maxLen)
{
Read(&pStr[i], 1);
if (pStr[i] == 0x0A)
{
if (pStr[i - 1] == 0x0D)
{
pStr[i - 1] = 0;
return TRUE;
}
}
i ++;
}
return TRUE;
}
void CAbstractIO::MaybeThrowIOException( LithIOExceptionType code )
{
#ifndef NO_EXCEPTIONS
if( m_bExceptionsEnabled )
throw CLithIOException( code );
#endif
}
|
[
"[email protected]"
] |
[
[
[
1,
108
]
]
] |
39bc69735df0380f3453ee32ed9d1750f00869f9
|
fcf03ead74f6dc103ec3b07ffe3bce81c820660d
|
/SysLibs/Streams/WriteToEmbedded/WriteToEmbedded.h
|
4069d7a867a073d4ee60245470e685e70f499446
|
[] |
no_license
|
huellif/symbian-example
|
72097c9aec6d45d555a79a30d576dddc04a65a16
|
56f6c5e67a3d37961408fc51188d46d49bddcfdc
|
refs/heads/master
| 2016-09-06T12:49:32.021854 | 2010-10-14T06:31:20 | 2010-10-14T06:31:20 | 38,062,421 | 2 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 3,645 |
h
|
// WriteToEmbedded.h
//
// Copyright (c) 2000 Symbian Ltd. All rights reserved.
//
//***************************************************************
//
// Function and class definitions used in the example
//
//***************************************************************
#ifndef __WriteToEmbedded_H
#define __WriteToEmbedded_H
#include "CommonStreamStore.h"
#include <s32file.h>
LOCAL_C void doMakeAndStoreL(const TDesC& aName);
LOCAL_C void doDeleteComponentL(const TDesC& aName);
LOCAL_C void doShow(const TDesC& aComment);
class CClassA;
LOCAL_C void doShow(const TDesC& aHeading,const CClassA& anA);
class CClassB;
LOCAL_C void doShow(const TDesC& aHeading,const CClassB& aB);
class CClassC;
LOCAL_C void doShow(const TDesC& aHeading,const CClassC& aC);
class CClassA : public CBase
{
public :
static CClassA* NewL();
static CClassA* NewLC();
public :
~CClassA();
void ExternalizeL(RWriteStream& aStream) const;
void InternalizeL(RReadStream& aStream);
public :
HBufC* iVarBuf;
TInt iIntValue;
TUint iUintValue;
};
class CClassB : public CBase
{
public :
static CClassB* NewL();
static CClassB* NewLC();
public :
void ExternalizeL(RWriteStream& aStream) const;
void InternalizeL(RReadStream& aStream);
public :
TBuf<32> iFixBuf;
TUint iUintValue;
TInt iIntValue;
TReal iRealValue;
};
class CClassC : public CBase
{
public :
static CClassC* NewL();
static CClassC* NewLC();
public :
void ExternalizeL(RWriteStream& aStream) const;
void InternalizeL(RReadStream& aStream);
public :
TBuf<32> iFixBuf;
};
class CClassABC : public CBase
{
public :
static CClassABC* NewLC(CStreamStore& aStore);
static CClassABC* NewL(CStreamStore& aStore);
static CClassABC* NewLC(CStreamStore& aStore, TStreamId anId);
static CClassABC* NewL(CStreamStore& aStore, TStreamId anId);
public :
CClassABC(CStreamStore& aStore);
CClassABC(CStreamStore& aStore,TStreamId anId);
~CClassABC();
TStreamId StoreL();
void RestoreL();
void ConstructAL(const TDesC& aData,TInt anInt,TUint aUint);
void ConstructB(const TDesC& aData,TInt anInt,TUint aUint,TReal aReal);
void ConstructC(const TDesC& aData);
const CClassA* PtrA();
const CClassB* PtrB();
const CClassC* PtrC();
private :
void ConstructL();
void RestoreBL();
private :
CClassA* iA;
TSwizzle<CClassB> iB; // Note use of swizzle here
CClassC* iC;
CStreamStore& iStore; // Store to/Restore from this store
TStreamId iId; // Restore from/replace this stream
};
class CMainClass : public CBase
{
public :
static CMainClass* NewLC(CStreamStore& aStore);
static CMainClass* NewLC(CStreamStore& aStore, TStreamId anId);
public :
CMainClass(CStreamStore& aStore);
CMainClass(CStreamStore& aStore,TStreamId anId);
~CMainClass();
TStreamId StoreL();
void RestoreL();
void InternalizeL(RReadStream& aStream);
void ExternalizeL(RWriteStream& aStream);
CClassABC* PtrAbc();
void RemoveAbcL();
private :
void ConstructL();
private :
TBuf<32> iSomeData;
TStreamId iEmbeddedStoreId;
CEmbeddedStore* iEmbeddedStore;
RStoreReadStream iChildStream;
CClassABC* iAbc;
CStreamStore& iStore; // Store to/Restore from this store
TStreamId iId; // Restore from/replace this stream
};
#endif
|
[
"liuxk99@bdc341c6-17c0-11de-ac9f-1d9250355bca"
] |
[
[
[
1,
131
]
]
] |
ddbcd24049acae072e2a726056b9574bebc37212
|
c175910763a4ed175cdbfc58f539aece471f5256
|
/truck/3d-cg/3DCG/glib/Camera/GutCamera.cpp
|
7b2a6ebc323c1c7c6c86693b5f0272769487096f
|
[] |
no_license
|
KiraiChang/3d-cg
|
357c8315a349653a6cbe7a339cefa04078db4b3d
|
dbbd66c4331f117857dbfa660991c2ded01d3738
|
refs/heads/master
| 2021-01-22T09:32:10.976546 | 2010-04-27T06:59:57 | 2010-04-27T06:59:57 | 32,336,993 | 1 | 0 | null | null | null | null |
BIG5
|
C++
| false | false | 1,880 |
cpp
|
#include "GutCamera.h"
#include "..\utility\Gut.h"
//GutCamera::GutCamera(void)
//{
//// 鏡頭位置
//m_eye = Vector4(0.0f, 0.5f, 10.0f);
//// 鏡頭對準的點
//m_lookat = Vector4(0.0f, 0.5f, 0.0f);
//// 鏡頭正上方的方向
//m_up = Vector4(0.0f, 1.0f, 0.0f);
//}
//
//GutCamera::~GutCamera(void)
//{
//
//}
Matrix4x4 GutCamera::GetViewMatrix()
{
return GutMatrixLookAtRH(m_eye, m_lookat, m_up);
}
void GutCamera::SetFacing(float phi, float theta)
{
////計算目前鏡頭面向
//m_face = m_lookat - m_eye;
////確保它是個單位向量
//m_face.Normalize();
float sin_phi, cos_phi;
float sin_theta, cos_theta;
FastMath::SinCos(phi, sin_phi, cos_phi);
FastMath::SinCos(theta, sin_theta, cos_theta);
//計算鏡頭的面向
m_face[0] = cos_phi * cos_theta;
m_face[1] = sin_phi;
m_face[2] = cos_phi * sin_theta;
//計算鏡頭正上方的軸向
FastMath::SinCos(phi + MATH_PI*0.5f, sin_phi, cos_phi);
m_top[0] = cos_phi * cos_theta;
m_top[1] = sin_phi;
m_top[2] = cos_phi * sin_theta;
//取得鏡面右方的方向
m_right = Vector3CrossProduct(m_face, m_top);
}
void GutCamera::SetCamera(Vector4 &eye, Vector4 &lookat, Vector4 &up)
{
m_eye = eye;
m_lookat = lookat;
m_up = up;
}
void GutCamera::Move(float move)
{
m_eye += m_face * move;
}
/*
void GutCamera::Rotation(float speed)
{
if ( speed )
{
//先取得一個旋轉矩陣
Matrix4x4 rotate_matrix;
rotate_matrix.RotateY_Replace(-speed);
//把原本的面向沿Y軸旋轉ry度, 取得新的面向.
m_face = m_face * rotate_matrix;
}
}
*/
void GutCamera::SetLookUp(void)
{
m_lookat = m_eye + m_face;
m_up = m_top;
}
void GutCamera::Yaw(float x)
{
m_eye += m_right * x;
}
void GutCamera::Pitch(float y)
{
m_eye += m_top * y;
}
void GutCamera::Roll(float z)
{
}
|
[
"[email protected]@d0fecb8e-c161-339a-4e07-94e11f48a80e"
] |
[
[
[
1,
97
]
]
] |
716106b1ca7150eee06e474e0a557116524b5a1c
|
0f8559dad8e89d112362f9770a4551149d4e738f
|
/Wall_Destruction/Helpers/RandRange.h
|
6492d11c87058e50082bf9389a7da8fd379cf862
|
[] |
no_license
|
TheProjecter/olafurabertaymsc
|
9360ad4c988d921e55b8cef9b8dcf1959e92d814
|
456d4d87699342c5459534a7992f04669e75d2e1
|
refs/heads/master
| 2021-01-10T15:15:49.289873 | 2010-09-20T12:58:48 | 2010-09-20T12:58:48 | 45,933,002 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 304 |
h
|
#ifndef RAND_RANGE_H
#define RAND_RANGE_H
class RandRange{
public:
static inline float Range(float bottom , float range)
{
return bottom + range * rand() / ((float) RAND_MAX);
}
static inline float Rand(float bottom , float top)
{
return Range(bottom, top-bottom);
}
};
#endif
|
[
"[email protected]"
] |
[
[
[
1,
16
]
]
] |
75a73c73538277eee63c0176e9254fd84343aa58
|
ad80c85f09a98b1bfc47191c0e99f3d4559b10d4
|
/code/src/kernel/ntime_cmds.cc
|
3f279c65a4c074a462cb4e8fc9d494253997ff4e
|
[] |
no_license
|
DSPNerd/m-nebula
|
76a4578f5504f6902e054ddd365b42672024de6d
|
52a32902773c10cf1c6bc3dabefd2fd1587d83b3
|
refs/heads/master
| 2021-12-07T18:23:07.272880 | 2009-07-07T09:47:09 | 2009-07-07T09:47:09 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 10,467 |
cc
|
#define N_IMPLEMENTS nTimeServer
#define N_KERNEL
//-------------------------------------------------------------------
// kernel/ntime_dispatch.cc
// This file was machine generated.
// (C) 2000 A.Weissflog/A.Flemming
//-------------------------------------------------------------------
#include "kernel/ntimeserver.h"
#include "kernel/nkernelserver.h"
#include "kernel/ncmdproto.h"
static void n_resettime(void*, nCmd*);
static void n_stoptime(void*, nCmd*);
static void n_starttime(void*, nCmd*);
static void n_gettime(void*, nCmd*);
static void n_settime(void*, nCmd*);
static void n_lockdeltat(void*, nCmd*);
static void n_waitdeltat(void*, nCmd*);
static void n_getlockdeltat(void*, nCmd*);
static void n_getwaitdeltat(void*, nCmd*);
static void n_enableframetime(void*, nCmd*);
static void n_disableframetime(void*, nCmd*);
static void n_getframetime(void*, nCmd*);
static void n_getscale(void*, nCmd*); // Add by Zeev Clockwise
static void n_setscale(void*, nCmd*); // Add by Zeev Clockwise
static void n_addtimer(void*, nCmd*); // Add by Ilya Kliot
static void n_gettimerremainder(void*, nCmd*); // Add by Ilya Kliot
static void n_deltimer(void*, nCmd*); // Add by Ilya Kliot
//------------------------------------------------------------------------------
/**
@scriptclass
ntimeserver
@superclass
nroot
@classinfo
The ntimeserver object lives under the name /sys/servers/time
and provides a central time source for Nebula.
*/
// This is named differently to work around a flaw in the kernel/build system.
void ntime_initcmds(nClass *cl)
{
cl->BeginCmds();
cl->AddCmd("v_resettime_v", 'REST', n_resettime);
cl->AddCmd("v_stoptime_v", 'STOP', n_stoptime);
cl->AddCmd("v_starttime_v", 'STRT', n_starttime);
cl->AddCmd("f_gettime_v", 'GETT', n_gettime);
cl->AddCmd("v_settime_f", 'SETT', n_settime);
cl->AddCmd("v_lockdeltat_f", 'LDLT', n_lockdeltat);
cl->AddCmd("v_waitdeltat_f", 'WTDT', n_waitdeltat);
cl->AddCmd("f_getlockdeltat_v", 'GLDT', n_getlockdeltat);
cl->AddCmd("f_getwaitdeltat_v", 'GWDT', n_getwaitdeltat);
cl->AddCmd("v_enableframetime_v", 'ENFT', n_enableframetime);
cl->AddCmd("v_disableframetime_v", 'DSFT', n_disableframetime);
cl->AddCmd("f_getframetime_v", 'GTFT', n_getframetime);
cl->AddCmd("f_getscale_v", 'GSCL', n_getscale);
cl->AddCmd("v_setscale_f", 'SSCL', n_setscale);
cl->AddCmd("b_addtimer_sfss", 'ADTM', n_addtimer);
cl->AddCmd("f_gettimerremainder_s", 'GTRM', n_gettimerremainder);
cl->AddCmd("b_deltimer_s", 'DLTM', n_deltimer);
cl->EndCmds();
}
//------------------------------------------------------------------------------
/**
@cmd
resettime
@input
v
@output
v
@info
Reset global time to 0.0.
*/
static void n_resettime(void *o, nCmd *)
{
nTimeServer *self = (nTimeServer *) o;
self->ResetTime();
}
//------------------------------------------------------------------------------
/**
@cmd
stoptime
@input
v
@output
v
@info
Freeze global time.
*/
static void n_stoptime(void *o, nCmd *)
{
nTimeServer *self = (nTimeServer *) o;
self->StopTime();
}
//------------------------------------------------------------------------------
/**
@cmd
starttime
@input
v
@output
v
@info
Unfreeze global time.
*/
static void n_starttime(void *o, nCmd *)
{
nTimeServer *self = (nTimeServer *) o;
self->StartTime();
}
//------------------------------------------------------------------------------
/**
@cmd
gettime
@input
v
@output
f (Time)
@info
Return current global time in seconds since the time server
was created.
*/
static void n_gettime(void *o, nCmd *cmd)
{
nTimeServer *self = (nTimeServer *) o;
{
float t = (float) self->GetTime();
cmd->Out()->SetF(t);
}
}
//------------------------------------------------------------------------------
/**
@cmd
settime
@input
f (Time)
@output
v
@info
Set global time in seconds.
*/
static void n_settime(void *o, nCmd *cmd)
{
nTimeServer *self = (nTimeServer *) o;
self->SetTime((double)cmd->In()->GetF());
}
//------------------------------------------------------------------------------
/**
@cmd
lockdeltat
@input
f (DeltaT)
@output
v
@info
If DeltaT is greater then 0.0, the frame time will be advanced
in steps of size DeltaT. A value of 0.0 switches back to the
proper timing behaviour. Useful to lock virtual frame rate to
a fixed value.
*/
static void n_lockdeltat(void *o, nCmd *cmd)
{
nTimeServer *self = (nTimeServer *) o;
self->LockDeltaT(cmd->In()->GetF());
}
//------------------------------------------------------------------------------
/**
@cmd
waitdeltat
@input
f - time to sleep in seconds
@output
v
@info
If DeltaT is greater then 0.0, then the time server will
actually sleep this amount of time in each frame. This is
usefull to simulate a slow machine.
*/
static void n_waitdeltat(void *o, nCmd *cmd)
{
nTimeServer *self = (nTimeServer *) o;
self->WaitDeltaT(cmd->In()->GetF());
}
//------------------------------------------------------------------------------
/**
@cmd
getlockdeltat
@input
v
@output
f (DeltaT)
@info
Return the value set by 'lockdeltat'.
*/
static void n_getlockdeltat(void *o, nCmd *cmd)
{
nTimeServer *self = (nTimeServer *) o;
cmd->Out()->SetF((float)self->GetLockDeltaT());
}
//------------------------------------------------------------------------------
/**
@cmd
getwaitdeltat
@input
v
@output
f (DeltaT)
@info
Return the value set by 'waitdeltat'.
*/
static void n_getwaitdeltat(void *o, nCmd *cmd)
{
nTimeServer *self = (nTimeServer *) o;
cmd->Out()->SetF((float)self->GetWaitDeltaT());
}
//------------------------------------------------------------------------------
/**
@cmd
enableframetime
@input
v
@output
v
@info
Enable the 'frame time' mode of the 'getframetime'
command. In this mode 'getframetime' will return exactly
the same value each time it is called within a frame.
Otherwise 'getframetime' returns the same value 'gettime'
would.
*/
static void n_enableframetime(void *o, nCmd *)
{
nTimeServer *self = (nTimeServer *) o;
self->EnableFrameTime();
}
//------------------------------------------------------------------------------
/**
@cmd
disableframetime
@input
v
@output
v
@info
Turn off frame time mode of 'getframetime'. Further
calls to 'getframetime' will return exactly the same value
as 'gettime'.
*/
static void n_disableframetime(void *o, nCmd *)
{
nTimeServer *self = (nTimeServer *) o;
self->DisableFrameTime();
}
//------------------------------------------------------------------------------
/**
@cmd
getframetime
@input
v
@output
f
@info
Get the current frame time stamp. This value differs from the
value returned by 'gettime' because 'gettime' will return
a different value each time it is called, while 'getframetime'
returns the same timestamp within one frame.
*/
static void n_getframetime(void *o, nCmd *cmd)
{
nTimeServer *self = (nTimeServer *) o;
cmd->Out()->SetF((float)self->GetFrameTime());
}
//------------------------------------------------------------------------------
/** Add by Zeev Clockwise
@cmd
setscale
@input
f
@output
v
@info
Set the current time scale.
*/
static void n_setscale(void *o, nCmd *cmd)
{
nTimeServer *self = (nTimeServer *) o;
self->SetScale(cmd->In()->GetF());
}
//------------------------------------------------------------------------------
/** Add by Zeev Clockwise
@cmd
getscale
@input
v
@output
f
@info
Get the current time scale set.
*/
static void n_getscale(void* o, nCmd* cmd)
{
nTimeServer *self = (nTimeServer *) o;
cmd->Out()->SetF(self->GetScale());
}
//------------------------------------------------------------------------------
/** Add by Ilya Kliot
@cmd
addtimer
@input
s f s s - name, delay, command and parameter
s - name of the timer
f - time of delay in second fractions
s - command name to run when the delay is over
s - parameter to command
the command should receive 2 string parameters
first is the timer name and second is 'parameter'
@output
b - true if timer was successfully added
@info
Add timer that will execute some command after delay.
*/
static void n_addtimer(void* o, nCmd* cmd)
{
nTimeServer* self = (nTimeServer*) o;
const char* name = cmd->In()->GetS();
float d = cmd->In()->GetF();
const char* command = cmd->In()->GetS();
const char* param = cmd->In()->GetS();
cmd->Out()->SetB(self->NewTimer(name, d, command, param) != 0);
}
//------------------------------------------------------------------------------
/** Add by Ilya Kliot
@cmd
gettimerremainder
@input
v - none
@output
f - time remained
@info
Get time remained
*/
static void n_gettimerremainder(void* o, nCmd* cmd)
{
nTimeServer* self = (nTimeServer*) o;
const char* name = cmd->In()->GetS();
cmd->Out()->SetF((float)self->GetTimerRemainder(name));
}
//------------------------------------------------------------------------------
/** Add by Ilya Kliot
@cmd
deltimer
@input
s - name
@output
b - success
@info
Delete timer by name
*/
static void n_deltimer(void* o, nCmd* cmd)
{
nTimeServer* self = (nTimeServer *) o;
const char* name = cmd->In()->GetS();
cmd->Out()->SetB(self->ReleaseTimer(name));
}
//-------------------------------------------------------------------
// EOF
//-------------------------------------------------------------------
|
[
"plushe@411252de-2431-11de-b186-ef1da62b6547"
] |
[
[
[
1,
438
]
]
] |
9bc9e2960216ec9b5d59c2fa6f13a107a487dd72
|
74c8da5b29163992a08a376c7819785998afb588
|
/NetAnimal/addons/pa/ParticleUniverse/include/ParticleAffectors/ParticleUniverseBaseForceAffectorTokens.h
|
947d3151f2d6b8efcaf085f6ff690783b066af96
|
[] |
no_license
|
dbabox/aomi
|
dbfb46c1c9417a8078ec9a516cc9c90fe3773b78
|
4cffc8e59368e82aed997fe0f4dcbd7df626d1d0
|
refs/heads/master
| 2021-01-13T14:05:10.813348 | 2011-06-07T09:36:41 | 2011-06-07T09:36:41 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,760 |
h
|
/*
-----------------------------------------------------------------------------------------------
This source file is part of the Particle Universe product.
Copyright (c) 2010 Henry van Merode
Usage of this program is licensed under the terms of the Particle Universe Commercial License.
You can find a copy of the Commercial License in the Particle Universe package.
-----------------------------------------------------------------------------------------------
*/
#ifndef __PU_BASE_ATTRACTOR_TOKENS_H__
#define __PU_BASE_ATTRACTOR_TOKENS_H__
#include "ParticleUniversePrerequisites.h"
#include "ParticleUniverseAffectorTokens.h"
namespace ParticleUniverse
{
/** The BaseForceAffectorTranslator parses 'BaseForceAffector' tokens
*/
class _ParticleUniverseExport BaseForceAffectorTranslator : public ScriptTranslator
{
public:
BaseForceAffectorTranslator(void){};
~BaseForceAffectorTranslator(void){};
virtual bool translateChildProperty(Ogre::ScriptCompiler* compiler, const Ogre::AbstractNodePtr &node);
virtual bool translateChildObject(Ogre::ScriptCompiler* compiler, const Ogre::AbstractNodePtr &node);
};
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
/**
*/
class _ParticleUniverseExport BaseForceAffectorWriter : public ParticleAffectorWriter
{
public:
BaseForceAffectorWriter(void) {};
virtual ~BaseForceAffectorWriter(void) {};
/** @see
ScriptWriter::write
*/
virtual void write(ParticleScriptSerializer* serializer , const IElement* element);
};
}
#endif
|
[
"[email protected]"
] |
[
[
[
1,
50
]
]
] |
3dd179d7d2fada174437c3f0378dadd81dc2e83d
|
d54d8b1bbc9575f3c96853e0c67f17c1ad7ab546
|
/hlsdk-2.3-p3/Quake 4 SDK/Quake 4 SDK/source/mpgame/Game_local.cpp
|
f45a0026654eb79f47196d5bb05e3c40dc3805f2
|
[] |
no_license
|
joropito/amxxgroup
|
637ee71e250ffd6a7e628f77893caef4c4b1af0a
|
f948042ee63ebac6ad0332f8a77393322157fa8f
|
refs/heads/master
| 2021-01-10T09:21:31.449489 | 2010-04-11T21:34:27 | 2010-04-11T21:34:27 | 47,087,485 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 233,774 |
cpp
|
#include "../idlib/precompiled.h"
#pragma hdrstop
#include "Game_local.h"
#include "../sys/AutoVersion.h"
struct game_name_s {
game_name_s( void ) {
sprintf( string, "Q4MP %s", VERSION_STRING_DOTTED );
}
char string[256];
} game_name;
idCVar gamename( "gamename", game_name.string, CVAR_GAME | CVAR_SERVERINFO | CVAR_ROM, "" );
// RAVEN BEGIN
#include "../bse/BSEInterface.h"
#include "Projectile.h"
#include "client/ClientEffect.h"
#include "ai/AI.h"
#include "ai/AI_Manager.h"
#include "ai/AAS_tactical.h"
#include "Game_Log.h"
// RAVEN END
//#define UI_DEBUG 1
#ifdef GAME_DLL
idSys * sys = NULL;
idCommon * common = NULL;
idCmdSystem * cmdSystem = NULL;
idCVarSystem * cvarSystem = NULL;
idFileSystem * fileSystem = NULL;
idNetworkSystem * networkSystem = NULL;
idRenderSystem * renderSystem = NULL;
idSoundSystem * soundSystem = NULL;
idRenderModelManager * renderModelManager = NULL;
idUserInterfaceManager * uiManager = NULL;
idDeclManager * declManager = NULL;
idAASFileManager * AASFileManager = NULL;
idCollisionModelManager * collisionModelManager = NULL;
// RAVEN BEGIN
// jscott: game interface to the fx system
rvBSEManager * bse = NULL;
// RAVEN END
idCVar * idCVar::staticVars = NULL;
// RAVEN BEGIN
// rjohnson: new help system for cvar ui
idCVarHelp * idCVarHelp::staticCVarHelps = NULL;
idCVarHelp * idCVarHelp::staticCVarHelpsTail = NULL;
// RAVEN END
idCVar com_forceGenericSIMD( "com_forceGenericSIMD", "0", CVAR_BOOL|CVAR_SYSTEM, "force generic platform independent SIMD" );
#endif
idRenderWorld * gameRenderWorld = NULL; // all drawing is done to this world
static gameExport_t gameExport;
// global animation lib
// RAVEN BEGIN
// jsinger: changed to a pointer to prevent its constructor from allocating
// memory before the unified allocator could be initialized
idAnimManager *animationLib = NULL;
// RAVEN END
// the rest of the engine will only reference the "game" variable, while all local aspects stay hidden
idGameLocal gameLocal;
idGame * game = &gameLocal; // statically pointed at an idGameLocal
const char *idGameLocal::sufaceTypeNames[ MAX_SURFACE_TYPES ] = {
"none", "metal", "stone", "flesh", "wood", "cardboard", "liquid", "glass", "plastic",
"ricochet", "surftype10", "surftype11", "surftype12", "surftype13", "surftype14", "surftype15"
};
/*
===========
GetGameAPI
============
*/
#if __GNUC__ >= 4
#pragma GCC visibility push(default)
#endif
extern "C" gameExport_t *GetGameAPI( gameImport_t *import ) {
if ( import->version == GAME_API_VERSION ) {
// set interface pointers used by the game
sys = import->sys;
common = import->common;
cmdSystem = import->cmdSystem;
cvarSystem = import->cvarSystem;
fileSystem = import->fileSystem;
networkSystem = import->networkSystem;
renderSystem = import->renderSystem;
soundSystem = import->soundSystem;
renderModelManager = import->renderModelManager;
uiManager = import->uiManager;
declManager = import->declManager;
AASFileManager = import->AASFileManager;
collisionModelManager = import->collisionModelManager;
// RAVEN BEGIN
// jscott: import the fx system
bse = import->bse;
// RAVEN END
// RAVEN BEGIN
// dluetscher: import the memory system variables
#ifdef _RV_MEM_SYS_SUPPORT
::currentHeapArena = import->heapArena;
rvSetAllSysHeaps( import->systemHeapArray );
#endif
// RAVEN END
}
// set interface pointers used by idLib
idLib::sys = sys;
idLib::common = common;
idLib::cvarSystem = cvarSystem;
idLib::fileSystem = fileSystem;
// setup export interface
gameExport.version = GAME_API_VERSION;
gameExport.game = game;
gameExport.gameEdit = gameEdit;
// RAVEN BEGIN
// bdube: game log
gameExport.gameLog = gameLog;
// RAVEN END
return &gameExport;
}
#if __GNUC__ >= 4
#pragma GCC visibility pop
#endif
/*
===========
TestGameAPI
============
*/
void TestGameAPI( void ) {
gameImport_t testImport;
gameExport_t testExport;
testImport.sys = ::sys;
testImport.common = ::common;
testImport.cmdSystem = ::cmdSystem;
testImport.cvarSystem = ::cvarSystem;
testImport.fileSystem = ::fileSystem;
testImport.networkSystem = ::networkSystem;
testImport.renderSystem = ::renderSystem;
testImport.soundSystem = ::soundSystem;
testImport.renderModelManager = ::renderModelManager;
testImport.uiManager = ::uiManager;
testImport.declManager = ::declManager;
testImport.AASFileManager = ::AASFileManager;
testImport.collisionModelManager = ::collisionModelManager;
// RAVEN BEGIN
// jscott: import the fx system
testImport.bse = ::bse;
// RAVEN END
testExport = *GetGameAPI( &testImport );
}
/*
================
idGameLocal::BuildModList
================
*/
void idGameLocal::BuildModList( ) {
int i;
idStr currentMod;
int numServers = networkSystem->GetNumScannedServers();
if ( filterMod >= 0 && filterMod < modList.Num() ) {
currentMod = modList[ filterMod ];
} else {
currentMod = "";
}
modList.Clear();
for (i = 0; i < numServers; i++) {
const scannedServer_t *server;
idStr modname;
server = networkSystem->GetScannedServerInfo( i );
server->serverInfo.GetString( "fs_game", "", modname );
modname.ToLower();
modList.AddUnique( modname );
}
modList.Sort();
if ( modList.Num() > 0 && (modList[ 0 ].Cmp( "" ) == 0) ) {
modList.RemoveIndex( 0 );
}
filterMod = modList.Num();
for (i = 0; i < modList.Num(); i++) {
if ( modList[ i ].Icmp( currentMod ) == 0 ) {
filterMod = i;
}
}
}
/*
================
FilterByMod
================
*/
static int FilterByMod( const int* serverIndex ) {
const scannedServer_t *server;
if ( gameLocal.filterMod < 0 || gameLocal.filterMod >= gameLocal.modList.Num() ) {
return (int)false;
}
server = networkSystem->GetScannedServerInfo( *serverIndex );
return (int)(gameLocal.modList[ gameLocal.filterMod ].Icmp( server->serverInfo.GetString( "fs_game" ) ) != 0);
}
static sortInfo_t filterByMod = {
SC_ALL,
NULL,
FilterByMod,
"#str_123006"
};
/*
===========
idGameLocal::idGameLocal
============
*/
idGameLocal::idGameLocal() {
Clear();
}
/*
===========
idGameLocal::Clear
============
*/
void idGameLocal::Clear( void ) {
int i;
serverInfo.Clear();
repeaterInfo.Clear();
numClients = 0;
for ( i = 0; i < MAX_CLIENTS; i++ ) {
userInfo[i].Clear();
persistentPlayerInfo[i].Clear();
}
usercmds = NULL;
memset( entities, 0, sizeof( entities ) );
memset( spawnIds, -1, sizeof( spawnIds ) );
firstFreeIndex = 0;
num_entities = 0;
spawnedEntities.Clear();
activeEntities.Clear();
numEntitiesToDeactivate = 0;
sortPushers = false;
sortTeamMasters = false;
persistentLevelInfo.Clear();
memset( globalShaderParms, 0, sizeof( globalShaderParms ) );
random.SetSeed( 0 );
world = NULL;
frameCommandThread = NULL;
testmodel = NULL;
ShutdownInstances();
clip.Clear();
for ( i = 0; i < MAX_CLIENTS; i++ ) {
clientsPVS[ i ].i = -1;
clientsPVS[ i ].h = -1;
}
freePlayerPVS = false;
pvs.Shutdown();
sessionCommand.Clear();
locationEntities = NULL;
editEntities = NULL;
entityHash.Clear( 1024, MAX_GENTITIES );
inCinematic = false;
cinematicSkipTime = 0;
cinematicStopTime = 0;
cinematicMaxSkipTime = 0;
framenum = 0;
previousTime = 0;
time = 0;
vacuumAreaNum = 0;
// RAVEN BEGIN
// abahr
gravityInfo.Clear();
scriptObjectProxies.Clear();
// RAVEN END
mapFileName.Clear();
// RAVEN BEGIN
// rjohnson: entity usage stats
mapFileNameStripped.Clear();
// RAVEN END
mapFile = NULL;
spawnCount = INITIAL_SPAWN_COUNT;
memset( isMapEntity, 0, sizeof( bool ) * MAX_GENTITIES );
camera = NULL;
// RAVEN BEGIN
// jscott: for portal skies
portalSky = NULL;
// RAVEN END
aasList.Clear();
aasNames.Clear();
// RAVEN BEGIN
// bdube: added
lastAIAlertEntity = NULL;
lastAIAlertEntityTime = 0;
lastAIAlertActor = NULL;
lastAIAlertActorTime = 0;
// RAVEN END
spawnArgs.Clear();
gravity.Set( 0, 0, -1 );
playerPVS.i = -1;
playerPVS.h = -1;
playerConnectedAreas.i = -1;
playerConnectedAreas.h = -1;
gamestate = GAMESTATE_UNINITIALIZED;
skipCinematic = false;
influenceActive = false;
localClientNum = 0;
isMultiplayer = false;
isServer = false;
isClient = false;
isTVClient = false;
realClientTime = 0;
isNewFrame = true;
entityDefBits = 0;
nextGibTime = 0;
// RITUAL BEGIN
// squirrel: added DeadZone multiplayer mode
unFreezeTime = 0;
isFrozen = false;
// RITUAL END
globalMaterial = NULL;
newInfo.Clear();
lastGUIEnt = NULL;
lastGUI = 0;
memset( clientEntityStates, 0, sizeof( clientEntityStates ) );
memset( clientPVS, 0, sizeof( clientPVS ) );
memset( clientSnapshots, 0, sizeof( clientSnapshots ) );
ReallocViewers( 0 );
maxViewers = 0;
maxViewer = 0;
viewers = NULL;
viewerEntityStates = NULL;
viewerPVS = NULL;
viewerSnapshots = NULL;
viewerUnreliableMessages = NULL;
eventQueue.Init();
// RAVEN BEGIN
// bdube: client entities
clientSpawnCount = INITIAL_SPAWN_COUNT;
clientSpawnedEntities.Clear();
memset( clientEntities, 0, sizeof( clientEntities ) );
memset( clientSpawnIds, -1, sizeof( clientSpawnIds ) );
gameDebug.Shutdown ( );
gameLogLocal.Shutdown ( );
currentThinkingEntity = NULL;
// RAVEN END
demoState = DEMO_NONE;
serverDemo = false;
timeDemo = false;
memset( &usercmd, 0, sizeof( usercmd ) );
memset( &oldUsercmd, 0, sizeof( oldUsercmd ) );
followPlayer = -1; // start free flying
demo_protocol = 0;
instancesEntityIndexWatermarks.Clear();
clientInstanceFirstFreeIndex = MAX_CLIENTS;
minSpawnIndex = MAX_CLIENTS;
modList.Clear();
filterMod = -1;
if ( networkSystem ) {
networkSystem->UseSortFunction( filterByMod, false );
}
clientAckSequence = -1;
}
/*
===========
idGameLocal::Init
initialize the game object, only happens once at startup, not each level load
============
*/
// RAVEN BEGIN
// jsinger: attempt to eliminate cross-DLL allocation issues
extern idHashTable<rvViseme> *visemeTable100;
extern idHashTable<rvViseme> *visemeTable66;
extern idHashTable<rvViseme> *visemeTable33;
#ifdef RV_UNIFIED_ALLOCATOR
void idGameLocal::Init( void *(*allocator)(size_t size), void (*deallocator)( void *ptr ), size_t (*msize)(void *ptr) ) {
#else
void idGameLocal::Init( void ) {
#endif
// RAVEN END
const idDict *dict;
idAAS *aas;
#ifndef GAME_DLL
TestGameAPI();
#else
mHz = common->GetUserCmdHz();
msec = common->GetUserCmdMSec();
// RAVEN BEGIN
// jsinger: attempt to eliminate cross-DLL allocation issues
#ifdef RV_UNIFIED_ALLOCATOR
Memory::InitAllocator(allocator, deallocator, msize);
#endif
// RAVEN END
// initialize idLib
idLib::Init();
// register static cvars declared in the game
idCVar::RegisterStaticVars();
// initialize processor specific SIMD
idSIMD::InitProcessor( "game", com_forceGenericSIMD.GetBool() );
#endif
// RAVEN BEGIN
// jsinger: these need to be initialized after the InitAllocator call above in order
// to avoid crashes when the allocator is used.
animationLib = new idAnimManager();
visemeTable100 = new idHashTable<rvViseme>;
visemeTable66 = new idHashTable<rvViseme>;
visemeTable33 = new idHashTable<rvViseme>;
// RAVEN END
Printf( "------------- Initializing Game -------------\n" );
Printf( "gamename: %s\n", game_name.string );
Printf( "gamedate: %s\n", __DATE__ );
// RAVEN BEGIN
// rjohnson: new help system for cvar ui
idCVarHelp::RegisterStatics();
// jsinger: added to support serialization/deserialization of binary decls
#ifdef RV_BINARYDECLS
idStr prefix="";
if(cvarSystem->GetCVarBool("com_binaryDeclRead"))
{
prefix = "binary/";
}
declManager->RegisterDeclType( "model", DECL_MODELDEF, idDeclAllocator<idDeclModelDef>, idDeclStreamAllocator<idDeclModelDef> );
//declManager->RegisterDeclType( "export", DECL_MODELEXPORT, idDeclAllocator<idDecl>, idDeclStreamAllocator<idDecl> );
declManager->RegisterDeclType( "camera", DECL_CAMERADEF, idDeclAllocator<idDeclCameraDef>, idDeclStreamAllocator<idDeclCameraDef> );
declManager->RegisterDeclFolderWrapper( prefix + "def", ".def", DECL_ENTITYDEF );
declManager->RegisterDeclFolderWrapper( prefix + "af", ".af", DECL_AF );
#else
// RAVEN END
// register game specific decl types
declManager->RegisterDeclType( "model", DECL_MODELDEF, idDeclAllocator<idDeclModelDef> );
declManager->RegisterDeclType( "export", DECL_MODELEXPORT, idDeclAllocator<idDecl> );
// RAVEN BEGIN
// rjohnson: camera is now contained in a def for frame commands
declManager->RegisterDeclType( "camera", DECL_CAMERADEF, idDeclAllocator<idDeclCameraDef> );
// RAVEN END
// register game specific decl folders
// RAVEN BEGIN
#ifndef RV_SINGLE_DECL_FILE
declManager->RegisterDeclFolderWrapper( "def", ".def", DECL_ENTITYDEF );
// bdube: not used in quake 4
// declManager->RegisterDeclFolder( "fx", ".fx", DECL_FX );
// declManager->RegisterDeclFolder( "particles", ".prt", DECL_PARTICLE );
declManager->RegisterDeclFolderWrapper( "af", ".af", DECL_AF );
// declManager->RegisterDeclFolderWrapper( "newpdas", ".pda", DECL_PDA );
#else
if(!cvarSystem->GetCVarBool("com_SingleDeclFile"))
{
declManager->RegisterDeclFolderWrapper( "def", ".def", DECL_ENTITYDEF );
declManager->RegisterDeclFolderWrapper( "af", ".af", DECL_AF );
}
else
{
// loads the second set of decls from the file which will contain
// modles, cameras
declManager->LoadDeclsFromFile();
declManager->FinishLoadingDecls();
}
#endif
#endif // RV_BINARYDECLS
// RAVEN END
cmdSystem->AddCommand( "listModelDefs", idListDecls_f<DECL_MODELDEF>, CMD_FL_SYSTEM|CMD_FL_GAME, "lists model defs" );
cmdSystem->AddCommand( "printModelDefs", idPrintDecls_f<DECL_MODELDEF>, CMD_FL_SYSTEM|CMD_FL_GAME, "prints a model def", idCmdSystem::ArgCompletion_Decl<DECL_MODELDEF> );
Clear();
idEvent::Init();
// RAVEN BEGIN
// jnewquist: Register subclasses explicitly so they aren't dead-stripped
idClass::RegisterClasses();
// RAVEN END
idClass::Init();
InitConsoleCommands();
// load default scripts
program.Startup( SCRIPT_DEFAULT );
// set up the aas
// RAVEN BEGIN
// ddynerman: added false as 2nd parameter, otherwise def will be created
dict = FindEntityDefDict( "aas_types", false );
// RAVEN END
if ( !dict ) {
Error( "Unable to find entityDef for 'aas_types'" );
}
// allocate space for the aas
const idKeyValue *kv = dict->MatchPrefix( "type" );
while( kv != NULL ) {
// RAVEN BEGIN
// jnewquist: Tag scope and callees to track allocations using "new".
MEM_SCOPED_TAG(tag,MA_AAS);
// RAVEN END
aas = idAAS::Alloc();
aasList.Append( aas );
aasNames.Append( kv->GetValue() );
kv = dict->MatchPrefix( "type", kv );
}
gamestate = GAMESTATE_NOMAP;
Printf( "...%d aas types\n", aasList.Num() );
Printf( "game initialized.\n" );
Printf( "---------------------------------------------\n" );
// RAVEN BEGIN
// bdube: debug stuff
gameDebug.Init();
gameLogLocal.Init();
// jscott: facial animation init
if( !FAS_Init( "annosoft" ) ) {
common->Warning( "Failed to load viseme file" );
}
// jnewquist: Tag scope and callees to track allocations using "new".
MEM_SCOPED_TAG(tag,MA_RENDER);
// shouchard: make sure ban list starts out in a known state
banListLoaded = false;
banListChanged = false;
memset( clientGuids, 0, sizeof( clientGuids ) );
// RAVEN END
// RAVEN BEGIN
// mwhitlock: Dynamic memory consolidation
#if defined(_RV_MEM_SYS_SUPPORT)
for(int i=0;i<MAX_CLIENTS;i++)
{
persistentPlayerInfo[i].SetAllocatorHeap(rvGetSysHeap(RV_HEAP_ID_PERMANENT));
}
entityHash.SetAllocatorHeap(rvGetSysHeap(RV_HEAP_ID_LEVEL));
gravityInfo.SetAllocatorHeap(rvGetSysHeap(RV_HEAP_ID_LEVEL));
scriptObjectProxies.SetAllocatorHeap(rvGetSysHeap(RV_HEAP_ID_LEVEL));
entityUsageList.SetAllocatorHeap(rvGetSysHeap(RV_HEAP_ID_LEVEL));
ambientLights.SetAllocatorHeap(rvGetSysHeap(RV_HEAP_ID_LEVEL));
instances.SetAllocatorHeap(rvGetSysHeap(RV_HEAP_ID_LEVEL));
clip.SetAllocatorHeap(rvGetSysHeap(RV_HEAP_ID_LEVEL));
#endif
// RAVEN END
networkSystem->AddSortFunction( filterByMod );
incompatibleMaps = 0;
}
/*
===========
idGameLocal::Shutdown
shut down the entire game
============
*/
void idGameLocal::Shutdown( void ) {
int i;
if ( !common ) {
return;
}
// RAVEN BEGIN
// jscott: FAS
FAS_Shutdown();
// shouchard: clean up ban list stuff
SaveBanList();
FlushBanList();
// RAVEN END
Printf( "--------------- Game Shutdown ---------------\n" );
networkSystem->RemoveSortFunction( filterByMod );
mpGame.Shutdown();
MapShutdown();
aasList.DeleteContents( true );
aasNames.Clear();
idAI::FreeObstacleAvoidanceNodes();
// shutdown the model exporter
idModelExport::Shutdown();
idEvent::Shutdown();
program.Shutdown();
idClass::Shutdown();
// clear list with forces
idForce::ClearForceList();
// free the program data
program.FreeData();
// delete the .map file
delete mapFile;
mapFile = NULL;
// free the collision map
collisionModelManager->FreeMap( GetMapName() );
// RAVEN BEGIN
// jscott: free up static objects
for( i = 0; i < MAX_CLIENTS; i++ ) {
userInfo[i].Clear();
persistentPlayerInfo[i].Clear();
}
for( i = 0; i < entityUsageList.Num(); i++ ) {
entityUsageList[i].Clear();
}
serverInfo.Clear();
repeaterInfo.Clear();
persistentLevelInfo.Clear();
sessionCommand.Clear();
mapFileName.Clear();
mapFileNameStripped.Clear();
entityUsageList.Clear();
newInfo.Clear();
spawnArgs.Clear();
shakeSounds.Clear();
aiManager.Clear();
// RAVEN END
ShutdownConsoleCommands();
// free memory allocated by class objects
Clear();
// shut down the animation manager
// RAVEN BEGIN
// jsinger: animationLib changed to a pointer
animationLib->Shutdown();
// RAVEN END
// RAVEN BEGIN
// rjohnson: entity usage stats
entityUsageList.Clear();
// RAVEN END
Printf( "---------------------------------------------\n" );
instances.DeleteContents( true );
#ifdef GAME_DLL
// remove auto-completion function pointers pointing into this DLL
cvarSystem->RemoveFlaggedAutoCompletion( CVAR_GAME );
// enable leak test
Mem_EnableLeakTest( "game" );
// shutdown idLib
idLib::ShutDown();
#endif
}
/*
===========
idGameLocal::SaveGame
save the current player state, level name, and level state
the session may have written some data to the file already
============
*/
// RAVEN BEGIN
// mekberg: added saveTypes
void idGameLocal::SaveGame( idFile *f, saveType_t saveType ) {
// RAVEN END
int i;
idEntity *ent;
idEntity *link;
//remove weapon effect entites from the world
if( GetLocalPlayer() &&
!GetLocalPlayer()->IsInVehicle() &&
GetLocalPlayer()->weapon ) {
GetLocalPlayer()->weapon->PreSave();
}
idSaveGame savegame( f );
if (g_flushSave.GetBool( ) == true ) {
// force flushing with each write... for tracking down
// save game bugs.
f->ForceFlush();
}
savegame.WriteBuildNumber( BUILD_NUMBER );
// go through all entities and threads and add them to the object list
for( i = 0; i < MAX_GENTITIES; i++ ) {
ent = entities[i];
if ( ent ) {
if ( ent->GetTeamMaster() && ent->GetTeamMaster() != ent ) {
continue;
}
for ( link = ent; link != NULL; link = link->GetNextTeamEntity() ) {
savegame.AddObject( link );
}
}
}
idList<idThread *> threads;
threads = idThread::GetThreads();
for( i = 0; i < threads.Num(); i++ ) {
savegame.AddObject( threads[i] );
}
// RAVEN BEGIN
// abahr: saving clientEntities
rvClientEntity* clientEnt = NULL;
for( i = 0; i < MAX_CENTITIES; ++i ) {
clientEnt = clientEntities[ i ];
if( !clientEnt ) {
continue;
}
// if( clientEnt->IsType( rvClientEffect::GetClassType() )){
// continue;
// }
savegame.AddObject( clientEnt );
}
// RAVEN END
// write out complete object list
savegame.WriteObjectList();
program.Save( &savegame );
savegame.WriteInt( g_skill.GetInteger() );
savegame.WriteDict( &serverInfo );
savegame.WriteInt( numClients );
for( i = 0; i < numClients; i++ ) {
// RAVEN BEGIN
// mekberg: don't write out userinfo. Grab from cvars
// savegame.WriteDict( &userInfo[ i ] );
// RAVEN END
// savegame.WriteUsercmd( usercmds[ i ] );
savegame.WriteDict( &persistentPlayerInfo[ i ] );
}
for( i = 0; i < MAX_GENTITIES; i++ ) {
savegame.WriteObject( entities[ i ] );
savegame.WriteInt( spawnIds[ i ] );
}
// RAVEN BEGIN
// abahr: more clientEntities saving
for( i = 0; i < MAX_CENTITIES; i++ ) {
// if( clientEntities[ i ] && clientEntities[ i ]->IsType( rvClientEffect::GetClassType() )){
// continue;
// }
savegame.WriteObject( clientEntities[ i ] );
savegame.WriteInt( clientSpawnIds[ i ] );
}
// RAVEN END
savegame.WriteInt( firstFreeIndex );
savegame.WriteInt( num_entities );
// enityHash is restored by idEntity::Restore setting the entity name.
savegame.WriteObject( world );
savegame.WriteInt( spawnedEntities.Num() );
for( ent = spawnedEntities.Next(); ent != NULL; ent = ent->spawnNode.Next() ) {
savegame.WriteObject( ent );
}
// RAVEN BEGIN
// abahr: saving scriptObject proxies
savegame.WriteInt( scriptObjectProxies.Num() );
for( i = 0; i < scriptObjectProxies.Num(); ++i ) {
scriptObjectProxies[i].Save( &savegame );
}
// abahr: save out client stuff
savegame.WriteInt( clientSpawnedEntities.Num() );
for( clientEnt = clientSpawnedEntities.Next(); clientEnt != NULL; clientEnt = clientEnt->spawnNode.Next() ) {
savegame.WriteObject( clientEnt );
}
// RAVEN END
savegame.WriteInt( activeEntities.Num() );
for( ent = activeEntities.Next(); ent != NULL; ent = ent->activeNode.Next() ) {
savegame.WriteObject( ent );
}
savegame.WriteInt( numEntitiesToDeactivate );
savegame.WriteBool( sortPushers );
savegame.WriteBool( sortTeamMasters );
savegame.WriteDict( &persistentLevelInfo );
for( i = 0; i < MAX_GLOBAL_SHADER_PARMS; i++ ) {
savegame.WriteFloat( globalShaderParms[ i ] );
}
savegame.WriteInt( random.GetSeed() );
savegame.WriteObject( frameCommandThread );
// clip
// push
// pvs
testmodel = NULL;
// RAVEN BEGIN
// bdube: no test fx
// testFx = NULL;
// RAVEN END
savegame.WriteString( sessionCommand );
// RAVEN BEGIN
// nmckenzie: Let the AI system save itself too.
aiManager.Save( &savegame );
// RAVEN END
// FIXME: save smoke particles
savegame.WriteInt( cinematicSkipTime );
savegame.WriteInt( cinematicStopTime );
savegame.WriteInt( cinematicMaxSkipTime );
savegame.WriteBool( inCinematic );
savegame.WriteBool( skipCinematic );
savegame.WriteBool( isMultiplayer );
savegame.WriteInt( gameType );
savegame.WriteInt( framenum );
savegame.WriteInt( previousTime );
savegame.WriteInt( time );
savegame.WriteInt( vacuumAreaNum );
savegame.WriteInt( entityDefBits );
savegame.WriteBool( isServer );
savegame.WriteBool( isClient );
// RAVEN BEGIN
savegame.WriteBool( isListenServer );
// RAVEN END
savegame.WriteInt( localClientNum );
// snapshotEntities is used for multiplayer only
savegame.WriteInt( realClientTime );
savegame.WriteBool( isNewFrame );
savegame.WriteBool( mapCycleLoaded );
savegame.WriteInt( spawnCount );
if ( !locationEntities ) {
savegame.WriteInt( 0 );
} else {
savegame.WriteInt( gameRenderWorld->NumAreas() );
for( i = 0; i < gameRenderWorld->NumAreas(); i++ ) {
savegame.WriteObject( locationEntities[ i ] );
}
}
savegame.WriteObject( camera );
savegame.WriteMaterial( globalMaterial );
// RAVEN BEGIN
// bdube: added
lastAIAlertActor.Save( &savegame );
lastAIAlertEntity.Save( &savegame );
savegame.WriteInt( lastAIAlertEntityTime );
savegame.WriteInt( lastAIAlertActorTime );
// RAVEN END
savegame.WriteDict( &spawnArgs );
savegame.WriteInt( playerPVS.i );
savegame.WriteInt( playerPVS.h );
savegame.WriteInt( playerConnectedAreas.i );
savegame.WriteInt( playerConnectedAreas.h );
savegame.WriteVec3( gravity );
// gamestate
savegame.WriteBool( influenceActive );
savegame.WriteInt( nextGibTime );
// spawnSpots
// initialSpots
// currentInitialSpot
// newInfo
// makingBuild
// shakeSounds
// write out pending events
idEvent::Save( &savegame );
savegame.Close();
// RAVEN BEGIN
// mekberg: added saveTypes and wrapped saveMessage
if ( saveType != ST_AUTO && GetLocalPlayer() && GetLocalPlayer()->GetHud() ) {
GetLocalPlayer()->SaveMessage();
}
// jshepard: resume weapon operation
if( GetLocalPlayer() &&
!GetLocalPlayer()->IsInVehicle() &&
GetLocalPlayer()->weapon ) {
GetLocalPlayer()->weapon->PostSave();
}
// RAVEN END
}
/*
===========
idGameLocal::GetPersistentPlayerInfo
============
*/
const idDict &idGameLocal::GetPersistentPlayerInfo( int clientNum ) {
idEntity *ent;
persistentPlayerInfo[ clientNum ].Clear();
ent = entities[ clientNum ];
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( ent && ent->IsType( idPlayer::GetClassType() ) ) {
// RAVEN END
static_cast<idPlayer *>(ent)->SavePersistantInfo();
}
return persistentPlayerInfo[ clientNum ];
}
/*
===========
idGameLocal::SetPersistentPlayerInfo
============
*/
void idGameLocal::SetPersistentPlayerInfo( int clientNum, const idDict &playerInfo ) {
TIME_THIS_SCOPE( __FUNCLINE__);
persistentPlayerInfo[ clientNum ] = playerInfo;
}
/*
============
idGameLocal::Printf
============
*/
void idGameLocal::Printf( const char *fmt, ... ) const {
va_list argptr;
char text[MAX_STRING_CHARS];
va_start( argptr, fmt );
idStr::vsnPrintf( text, sizeof( text ), fmt, argptr );
va_end( argptr );
common->Printf( "%s", text );
}
/*
============
idGameLocal::DPrintf
============
*/
void idGameLocal::DPrintf( const char *fmt, ... ) const {
va_list argptr;
char text[MAX_STRING_CHARS];
if ( !developer.GetBool() ) {
return;
}
va_start( argptr, fmt );
idStr::vsnPrintf( text, sizeof( text ), fmt, argptr );
va_end( argptr );
common->Printf( "%s", text );
}
/*
============
idGameLocal::Warning
============
*/
void idGameLocal::Warning( const char *fmt, ... ) const {
va_list argptr;
char text[MAX_STRING_CHARS];
va_start( argptr, fmt );
idStr::vsnPrintf( text, sizeof( text ), fmt, argptr );
va_end( argptr );
common->Warning( "%s", text );
}
/*
============
idGameLocal::DWarning
============
*/
void idGameLocal::DWarning( const char *fmt, ... ) const {
va_list argptr;
char text[MAX_STRING_CHARS];
idThread * thread;
if ( !developer.GetBool() ) {
return;
}
va_start( argptr, fmt );
idStr::vsnPrintf( text, sizeof( text ), fmt, argptr );
va_end( argptr );
thread = idThread::CurrentThread();
if ( thread ) {
thread->Warning( "%s", text );
} else {
common->DWarning( "%s", text );
}
}
/*
============
idGameLocal::Error
============
*/
void idGameLocal::Error( const char *fmt, ... ) const {
va_list argptr;
char text[MAX_STRING_CHARS];
idThread * thread;
va_start( argptr, fmt );
idStr::vsnPrintf( text, sizeof( text ), fmt, argptr );
va_end( argptr );
// RAVEN BEGIN
// scork: some model errors arrive here during validation which kills the whole process, so let's just warn about them instead...
if ( common->DoingDeclValidation() ) {
this->Warning( "%s", text );
return;
}
// RAVEN END
thread = idThread::CurrentThread();
if ( thread ) {
thread->Error( "%s", text );
} else {
common->Error( "%s", text );
}
}
/*
===============
gameError
===============
*/
void gameError( const char *fmt, ... ) {
va_list argptr;
char text[MAX_STRING_CHARS];
va_start( argptr, fmt );
idStr::vsnPrintf( text, sizeof( text ), fmt, argptr );
va_end( argptr );
gameLocal.Error( "%s", text );
}
/*
===========
idGameLocal::SetLocalClient
============
*/
void idGameLocal::SetLocalClient( int clientNum ) {
localClientNum = clientNum;
}
/*
===========
idGameLocal::SetUserInfo
============
*/
const idDict* idGameLocal::SetUserInfo( int clientNum, const idDict &userInfo, bool isClient ) {
TIME_THIS_SCOPE( __FUNCLINE__);
int i;
bool modifiedInfo = false;
this->isClient = isClient;
if ( clientNum >= 0 && clientNum < MAX_CLIENTS ) {
idGameLocal::userInfo[ clientNum ] = userInfo;
// server sanity
if ( !isClient ) {
// don't let numeric nicknames, it can be exploited to go around kick and ban commands from the server
if ( idStr::IsNumeric( this->userInfo[ clientNum ].GetString( "ui_name" ) ) ) {
#if UI_DEBUG
common->Printf( "SetUserInfo: client %d changed name from %s to %s_\n",
clientNum, idGameLocal::userInfo[ clientNum ].GetString( "ui_name" ), idGameLocal::userInfo[ clientNum ].GetString( "ui_name" ) );
#endif
idGameLocal::userInfo[ clientNum ].Set( "ui_name", va( "%s_", idGameLocal::userInfo[ clientNum ].GetString( "ui_name" ) ) );
modifiedInfo = true;
}
// don't allow dupe nicknames
for ( i = 0; i < numClients; i++ ) {
if ( i == clientNum ) {
continue;
}
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( entities[ i ] && entities[ i ]->IsType( idPlayer::GetClassType() ) ) {
// RAVEN END
if ( !idStr::Icmp( idGameLocal::userInfo[ clientNum ].GetString( "ui_name" ), idGameLocal::userInfo[ i ].GetString( "ui_name" ) ) ) {
#if UI_DEBUG
common->Printf( "SetUserInfo: client %d changed name from %s to %s_ because of client %d\n",
clientNum, idGameLocal::userInfo[ clientNum ].GetString( "ui_name" ), idGameLocal::userInfo[ clientNum ].GetString( "ui_name" ), i );
#endif
idGameLocal::userInfo[ clientNum ].Set( "ui_name", va( "%s_", idGameLocal::userInfo[ clientNum ].GetString( "ui_name" ) ) );
modifiedInfo = true;
i = -1; // rescan
continue;
}
}
}
}
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( entities[ clientNum ] && entities[ clientNum ]->IsType( idPlayer::GetClassType() ) ) {
// RAVEN END
modifiedInfo |= static_cast<idPlayer *>( entities[ clientNum ] )->UserInfoChanged();
}
if ( !isClient ) {
// now mark this client in game
mpGame.EnterGame( clientNum );
}
}
if ( modifiedInfo ) {
newInfo = idGameLocal::userInfo[ clientNum ];
return &newInfo;
}
return NULL;
}
/*
===========
idGameLocal::GetUserInfo
============
*/
const idDict* idGameLocal::GetUserInfo( int clientNum ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( entities[ clientNum ] && entities[ clientNum ]->IsType( idPlayer::GetClassType() ) ) {
// RAVEN END
return &userInfo[ clientNum ];
}
return NULL;
}
/*
===========
idGameLocal::IsClientActive
============
*/
bool idGameLocal::IsClientActive( int clientNum ) {
if ( entities[ clientNum ] && entities[ clientNum ]->IsType( idPlayer::GetClassType() ) ) {
return true;
}
return false;
}
/*
===========
idGameLocal::RepeaterSetUserInfo
============
*/
const idDict* idGameLocal::RepeaterSetUserInfo( int clientNum, const idDict &userInfo ) {
TIME_THIS_SCOPE( __FUNCLINE__);
assert( cvarSystem->GetCVarInteger( "ri_maxViewers" ) > clientNum );
ReallocViewers( cvarSystem->GetCVarInteger( "ri_maxViewers" ) );
idDict *info;
int i;
bool modifiedInfo = false;
info = &viewers[ clientNum ].info;
*info = userInfo;
// don't let numeric nicknames, it can be exploited to go around kick and ban commands from the server
if ( idStr::IsNumeric( info->GetString( "ui_name" ) ) ) {
info->Set( "ui_name", va( "%s_", info->GetString( "ui_name" ) ) );
modifiedInfo = true;
}
// don't allow dupe nicknames
for ( i = 0; i < maxViewer; i++ ) {
if ( i == clientNum ) {
continue;
}
if ( !viewers[ i ].active ) {
continue;
}
if ( !idStr::Icmp( info->GetString( "ui_name" ), viewers[ i ].info.GetString( "ui_name" ) ) ) {
info->Set( "ui_name", va( "%s_", info->GetString( "ui_name" ) ) );
modifiedInfo = true;
i = -1; // rescan
continue;
}
}
if ( modifiedInfo ) {
newInfo = *info;
return &newInfo;
}
return NULL;
}
/*
===========
idGameLocal::UpdateRepeaterInfo
============
*/
void idGameLocal::UpdateRepeaterInfo( bool transmit ) {
if ( !isRepeater ) {
return;
}
repeaterInfo = serverInfo;
repeaterInfo.Set( "si_tv", "1" );
// fudge a few cvars so old browsers display correctly
repeaterInfo.Set( "si_usePass", ri_useViewerPass.GetBool() ? "1" : "0" );
const char *ri_name = cvarSystem->GetCVarString( "ri_name" );
if ( ri_name[0] ) {
if ( !serverInfo.GetString( "ri_origName" ) [0] ) {
repeaterInfo.Set( "ri_origName", serverInfo.GetString( "si_name" ) );
}
repeaterInfo.Set( "si_name", ri_name );
}
const char *si_serverURL = cvarSystem->GetCVarString( "si_serverURL" );
if ( si_serverURL[0] ) {
if ( !serverInfo.GetString( "ri_origServerURL" ) [0] ) {
repeaterInfo.Set( "ri_origServerURL", serverInfo.GetString( "si_serverURL" ) );
}
repeaterInfo.Set( "si_serverURL", si_serverURL );
}
repeaterInfo.Copy( *cvarSystem->MoveCVarsToDict( CVAR_REPEATERINFO ) );
networkSystem->RepeaterSetInfo( repeaterInfo );
if ( transmit ) {
// Let our clients know the server info changed
idBitMsg outMsg;
byte msgBuf[MAX_GAME_MESSAGE_SIZE];
outMsg.Init( msgBuf, sizeof( msgBuf ) );
outMsg.WriteByte( GAME_RELIABLE_MESSAGE_SERVERINFO );
outMsg.WriteDeltaDict( gameLocal.repeaterInfo, NULL );
networkSystem->RepeaterSendReliableMessage( -1, outMsg );
}
}
/*
===========
idGameLocal::SetServerInfo
============
*/
void idGameLocal::SetServerInfo( const idDict &_serverInfo ) {
TIME_THIS_SCOPE( __FUNCLINE__);
idBitMsg outMsg;
byte msgBuf[MAX_GAME_MESSAGE_SIZE];
bool timeLimitChanged = false;
// RAVEN BEGIN
// mekberg: clear announcer and reschedule time announcements
if ( ( isClient || isListenServer ) && mpGame.GetGameState( ) && mpGame.GetGameState( )->GetMPGameState( ) == GAMEON &&
serverInfo.GetInt( "si_timelimit" ) != _serverInfo.GetInt( "si_timelimit" ) ) {
timeLimitChanged = true;
}
serverInfo = _serverInfo;
if ( timeLimitChanged ) {
mpGame.ClearAnnouncerSounds( );
mpGame.ScheduleTimeAnnouncements( );
}
// RAVEN END
UpdateRepeaterInfo( true );
if ( isServer ) {
// Let our clients know the server info changed
outMsg.Init( msgBuf, sizeof( msgBuf ) );
outMsg.WriteByte( GAME_RELIABLE_MESSAGE_SERVERINFO );
outMsg.WriteDeltaDict( gameLocal.serverInfo, NULL );
networkSystem->ServerSendReliableMessage( -1, outMsg, true );
} else if ( isClient ) {
networkSystem->ClientSetServerInfo( gameLocal.serverInfo );
isTVClient = ( gameLocal.serverInfo.GetInt( "si_tv" ) == 1 ) ? true : false;
}
}
/*
===================
idGameLocal::LoadMap
Initializes all map variables common to both save games and spawned games.
===================
*/
void idGameLocal::LoadMap( const char *mapName, int randseed ) {
int i;
// RAVEN BEGIN
// jnewquist: Tag scope and callees to track allocations using "new".
MEM_SCOPED_TAG(tag,MA_PARSER);
// RAVEN END
bool sameMap = (mapFile && idStr::Icmp(mapFile->GetName(), mapName) == 0);
networkSystem->SetLoadingText( mapName );
InitAsyncNetwork();
// these can changed based upon sp / mp
mHz = common->GetUserCmdHz();
msec = common->GetUserCmdMSec();
if ( !sameMap || ( mapFile && mapFile->NeedsReload() ) ) {
// load the .map file
if ( mapFile ) {
delete mapFile;
}
mapFile = new idMapFile;
if ( !mapFile->Parse( idStr( mapName ) + ".map" ) ) {
delete mapFile;
mapFile = NULL;
Error( "Couldn't load %s", mapName );
}
// RAVEN BEGIN
// rjohnson: added resolve for handling func_groups and other aspects. Before, radiant would do this processing on a map destroying the original data
mapFile->Resolve();
// RAVEN END
}
mapFileName = mapFile->GetName();
assert(!idStr::Cmp(mapFileName, mapFile->GetName()));
// RAVEN BEGIN
// rjohnson: entity usage stats
mapFileNameStripped = mapFileName;
mapFileNameStripped.StripFileExtension();
mapFileNameStripped.StripPath();
const char* entityFilter;
gameLocal.serverInfo.GetString( "si_entityFilter", "", &entityFilter );
if ( entityFilter && *entityFilter ) {
mapFileNameStripped += " ";
mapFileNameStripped += entityFilter;
}
// RAVEN END
// load the collision map
networkSystem->SetLoadingText( common->GetLocalizedString( "#str_107668" ) );
collisionModelManager->LoadMap( mapFile, false );
numClients = 0;
// initialize all entities for this game
memset( entities, 0, sizeof( entities ) );
usercmds = NULL;
memset( spawnIds, -1, sizeof( spawnIds ) );
spawnCount = INITIAL_SPAWN_COUNT;
spawnedEntities.Clear();
activeEntities.Clear();
numEntitiesToDeactivate = 0;
sortTeamMasters = false;
sortPushers = false;
lastGUIEnt = NULL;
lastGUI = 0;
// RAVEN BEGIN
// bdube: client entities
clientSpawnCount = INITIAL_SPAWN_COUNT;
clientSpawnedEntities.Clear ( );
memset ( clientSpawnIds, -1, sizeof(clientSpawnIds ) );
memset ( clientEntities, 0, sizeof(clientEntities) );
firstFreeClientIndex = 0;
// RAVEN END
globalMaterial = NULL;
memset( globalShaderParms, 0, sizeof( globalShaderParms ) );
// always leave room for the max number of clients,
// even if they aren't all used, so numbers inside that
// range are NEVER anything but clients
num_entities = MAX_CLIENTS;
firstFreeIndex = MAX_CLIENTS;
// reset the random number generator.
random.SetSeed( isMultiplayer ? randseed : 0 );
camera = NULL;
world = NULL;
testmodel = NULL;
// RAVEN BEGIN
// bdube: not using id effects
// testFx = NULL;
// RAVEN END
// RAVEN BEGIN
// bdube: merged
lastAIAlertEntity = NULL;
lastAIAlertEntityTime = 0;
lastAIAlertActor = NULL;
lastAIAlertActorTime = 0;
// RAVEN END
previousTime = 0;
time = 0;
framenum = 0;
sessionCommand = "";
nextGibTime = 0;
// RITUAL BEGIN
// squirrel: added DeadZone multiplayer mode
unFreezeTime = 0;
isFrozen = 0;
// RITUAL END
vacuumAreaNum = -1; // if an info_vacuum is spawned, it will set this
// RAVEN BEGIN
// abahr
gravityInfo.Clear();
scriptObjectProxies.Clear();
// RAVEN END
if ( !editEntities ) {
editEntities = new idEditEntities;
}
if( gameLocal.isMultiplayer ) {
gravity.Set( 0, 0, -g_mp_gravity.GetFloat() );
} else {
gravity.Set( 0, 0, -g_gravity.GetFloat() );
}
spawnArgs.Clear();
// RAVEN BEGIN
// nmckenzie:
//make sure we clear all reachabilities we marked as blocked!
aiManager.UnMarkAllReachBlocked();
aiManager.Clear();
// RAVEN END
skipCinematic = false;
inCinematic = false;
cinematicSkipTime = 0;
cinematicStopTime = 0;
cinematicMaxSkipTime = 0;
// RAVEN BEGIN
// ddynerman: main world instance
PACIFIER_UPDATE;
AddInstance( 0, true );
assert( instances.Num() == 1 && instances[ 0 ]->GetInstanceID() == 0 );
// RAVEN END
pvs.Init();
// RAVEN BEGIN
// mwhitlock: Xenon texture streaming
#if defined(_XENON)
// Experimental use of game's PVS for reducing amount of stuff streamed. Will
// do this a bit more cleanly if I decide to keep this.
extern idPVS* pvsForStreaming;
pvsForStreaming=&pvs;
#endif
// RAVEN END
playerPVS.i = -1;
playerConnectedAreas.i = -1;
// load navigation system for all the different monster sizes
for( i = 0; i < aasNames.Num(); i++ ) {
aasList[ i ]->Init( idStr( mapFileName ).SetFileExtension( aasNames[ i ] ).c_str(), mapFile->GetGeometryCRC() );
}
// RAVEN BEGIN
// cdr: Obstacle Avoidance
AI_MoveInitialize();
// RAVEN END
FindEntityDef( "preCacheExtras", false );
if ( !sameMap ) {
mapFile->RemovePrimitiveData();
}
// RAVEN BEGIN
// ddynerman: ambient light list
ambientLights.Clear();
// RAVEN END
}
/*
===================
idGameLocal::LocalMapRestart
===================
*/
void idGameLocal::LocalMapRestart( int instance ) {
int i, latchSpawnCount;
Printf( "----------- Game Map Restart (%s) ------------\n", instance == -1 ? "all instances" : va( "instance %d", instance ) );
// client always respawns everything, so make sure it picks up the right map entities
if( instance == -1 || isClient ) {
memset( isMapEntity, 0, sizeof(bool) * MAX_GENTITIES );
} else {
assert( instance >= 0 && instance < instances.Num() );
for( int i = 0; i < instances[ instance ]->GetNumMapEntities(); i++ ) {
if ( instances[ instance ]->GetMapEntityNumber( i ) >= 0 && instances[ instance ]->GetMapEntityNumber( i ) < MAX_GENTITIES ) {
isMapEntity[ instances[ instance ]->GetMapEntityNumber( i ) ] = false;
}
}
}
gamestate = GAMESTATE_SHUTDOWN;
for ( i = 0; i < MAX_CLIENTS; i++ ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( entities[ i ] && entities[ i ]->IsType( idPlayer::GetClassType() ) && (isClient || instance == -1 || entities[ i ]->GetInstance() == instance ) ) {
// RAVEN END
static_cast< idPlayer * >( entities[ i ] )->PrepareForRestart();
}
}
eventQueue.Shutdown();
MapClear( false, instance );
// clear the sound system
soundSystem->StopAllSounds( SOUNDWORLD_GAME );
// clear icons
iconManager->Shutdown();
// the spawnCount is reset to zero temporarily to spawn the map entities with the same spawnId
// if we don't do that, network clients are confused and don't show any map entities
latchSpawnCount = spawnCount;
spawnCount = INITIAL_SPAWN_COUNT;
gamestate = GAMESTATE_STARTUP;
program.Restart();
InitScriptForMap();
MapPopulate( instance );
// once the map is populated, set the spawnCount back to where it was so we don't risk any collision
// (note that if there are no players in the game, we could just leave it at it's current value)
spawnCount = latchSpawnCount;
// setup the client entities again
for ( i = 0; i < MAX_CLIENTS; i++ ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( entities[ i ] && entities[ i ]->IsType( idPlayer::GetClassType() ) && (isClient || instance == -1 || entities[ i ]->GetInstance() == instance ) ) {
// RAVEN END
static_cast< idPlayer * >( entities[ i ] )->Restart();
}
}
gamestate = GAMESTATE_ACTIVE;
Printf( "--------------------------------------\n" );
}
/*
===================
idGameLocal::MapRestart
===================
*/
void idGameLocal::MapRestart( int instance ) {
idBitMsg outMsg;
byte msgBuf[MAX_GAME_MESSAGE_SIZE];
idDict newInfo;
int i;
const idKeyValue *keyval, *keyval2;
if ( isClient ) {
SetGameType();
LocalMapRestart( instance );
} else {
if ( mpGame.PickMap( "", true ) ) {
common->Warning( "map %s and gametype %s are incompatible, aborting map change", si_map.GetString(), si_gameType.GetString() );
if ( (++incompatibleMaps) >= 50 ) {
common->Warning( "too many incompatible maps for gametype %s; setting gametype to DM.", si_gameType.GetString() );
si_gameType.SetString( "DM" );
}
return;
}
incompatibleMaps = 0;
newInfo = *cvarSystem->MoveCVarsToDict( CVAR_SERVERINFO );
// this has to be after the cvars are moved to the dict
for ( i = 0; i < newInfo.GetNumKeyVals(); i++ ) {
keyval = newInfo.GetKeyVal( i );
keyval2 = serverInfo.FindKey( keyval->GetKey() );
if ( !keyval2 ) {
break;
}
// a select set of si_ changes will cause a full restart of the server
if ( keyval->GetValue().Icmp( keyval2->GetValue() ) &&
( !keyval->GetKey().Icmp( "si_pure" ) || !keyval->GetKey().Icmp( "si_map" ) ) ) {
break;
}
//RAVEN BEGIN
//asalmon: need to restart if the game type has changed but the map has not cause someone could be connecting
if( keyval->GetValue().Icmp( keyval2->GetValue() ) && (!keyval->GetKey().Icmp("si_gametype")))
{
break;
}
//RAVEN END
// some calculations about time are done from the frame, and
// that changes when si_fps changes. full restart resets to 0.
if ( keyval->GetValue().Icmp( keyval2->GetValue() ) &&
!keyval->GetKey().Icmp( "si_fps" ) ) {
break;
}
}
cmdSystem->BufferCommandText( CMD_EXEC_NOW, "rescanSI" " " __FILE__ " " __LINESTR__ );
SetGameType();
mpGame.isBuyingAllowedRightNow = false;
if ( i != newInfo.GetNumKeyVals() ) {
gameLocal.sessionCommand = "nextMap";
} else {
outMsg.Init( msgBuf, sizeof( msgBuf ) );
outMsg.WriteByte( GAME_RELIABLE_MESSAGE_RESTART );
outMsg.WriteBits( 1, 1 );
outMsg.WriteDeltaDict( serverInfo, NULL );
networkSystem->ServerSendReliableMessage( -1, outMsg, true );
if ( isRepeater ) {
outMsg.Init( msgBuf, sizeof( msgBuf ) );
outMsg.WriteByte( GAME_RELIABLE_MESSAGE_RESTART );
outMsg.WriteBits( 1, 1 );
outMsg.WriteDeltaDict( repeaterInfo, NULL );
networkSystem->RepeaterSendReliableMessage( -1, outMsg );
}
LocalMapRestart( instance );
mpGame.MapRestart();
}
}
}
/*
===================
idGameLocal::VerifyServerSettings_f
===================
*/
void idGameLocal::VerifyServerSettings_f( const idCmdArgs &args ) {
gameLocal.mpGame.PickMap( si_gameType.GetString() );
}
/*
===================
idGameLocal::MapRestart_f
===================
*/
void idGameLocal::MapRestart_f( const idCmdArgs &args ) {
if ( !gameLocal.isMultiplayer || gameLocal.isClient ) {
common->Printf( "server is not running - use spawnServer\n" );
cmdSystem->BufferCommandText( CMD_EXEC_APPEND, "spawnServer\n" );
return;
}
int instance = -1;
if( args.Argc() > 1 ) {
instance = atoi( args.Args( 1 ) );
if( instance < 0 || instance >= gameLocal.GetNumInstances() ) {
common->Warning( "idGameLocal::MapRestart_f() - Invalid instance '%d' specified\n", instance );
return;
}
gameLocal.LocalMapRestart( instance );
return;
}
gameLocal.MapRestart( instance );
}
/*
===================
idGameLocal::NextMap
===================
*/
bool idGameLocal::NextMap( void ) {
const function_t *func;
idThread *thread;
idDict newInfo;
const idKeyValue *keyval, *keyval2;
int i;
const char *mapCycleList, *currentMap;
//RAVEN BEGIN
//asalmon: pick another map on Xenon
#ifdef _XENON
//Live()->PickMap();
return true;
#endif
//RAVEN END
// RAVEN BEGIN
// rjohnson: traditional map cycle
// si_mapCycle "mp/q4dm4;mp/q4dm5;mp/q4dm6"
mapCycleList = si_mapCycle.GetString();
if ( mapCycleList && strlen( mapCycleList ) ) {
idLexer src;
idToken token, firstFound;
int numMaps = 0;
bool foundMap = false;
src.FreeSource();
src.SetFlags( LEXFL_NOFATALERRORS | LEXFL_ALLOWPATHNAMES | LEXFL_ALLOWMULTICHARLITERALS | LEXFL_ALLOWBACKSLASHSTRINGCONCAT );
src.LoadMemory( mapCycleList, strlen( mapCycleList ), "idGameLocal::NextMap" );
if ( src.IsLoaded() ) {
currentMap = si_map.GetString();
while( src.ReadToken( &token ) ) {
if ( token == ";" ) {
continue;
}
numMaps++;
if ( numMaps == 1 ) {
// guarantee that we use a map no matter what ( or when we wrap )
firstFound = token;
}
if ( foundMap ) {
firstFound = token;
break;
}
if ( idStr::Icmp( token, currentMap ) == 0 ) {
foundMap = true;
}
}
if ( firstFound != "" ) {
si_map.SetString( firstFound );
return true;
}
}
return false;
}
// RAVEN END
if ( !g_mapCycle.GetString()[0] ) {
Printf( common->GetLocalizedString( "#str_104294" ) );
return false;
}
if ( fileSystem->ReadFile( g_mapCycle.GetString(), NULL, NULL ) < 0 ) {
if ( fileSystem->ReadFile( va( "%s.scriptcfg", g_mapCycle.GetString() ), NULL, NULL ) < 0 ) {
Printf( "map cycle script '%s': not found\n", g_mapCycle.GetString() );
return false;
} else {
g_mapCycle.SetString( va( "%s.scriptcfg", g_mapCycle.GetString() ) );
}
}
Printf( "map cycle script: '%s'\n", g_mapCycle.GetString() );
func = program.FindFunction( "mapcycle::cycle" );
if ( !func ) {
program.CompileFile( g_mapCycle.GetString(), false );
func = program.FindFunction( "mapcycle::cycle" );
}
if ( !func ) {
Printf( "Couldn't find mapcycle::cycle\n" );
return false;
}
thread = new idThread( func );
thread->Start();
delete thread;
newInfo = *cvarSystem->MoveCVarsToDict( CVAR_SERVERINFO );
for ( i = 0; i < newInfo.GetNumKeyVals(); i++ ) {
keyval = newInfo.GetKeyVal( i );
keyval2 = serverInfo.FindKey( keyval->GetKey() );
if ( !keyval2 || keyval->GetValue().Icmp( keyval2->GetValue() ) ) {
break;
}
}
return ( i != newInfo.GetNumKeyVals() );
}
/*
===================
idGameLocal::NextMap_f
===================
*/
void idGameLocal::NextMap_f( const idCmdArgs &args ) {
if ( !gameLocal.isMultiplayer || gameLocal.isClient ) {
common->Printf( "server is not running\n" );
return;
}
gameLocal.NextMap( );
// next map was either voted for or triggered by a server command - always restart
gameLocal.MapRestart( );
}
/*
===============
idGameLocal::GetStartingIndexForInstance
===============
*/
int idGameLocal::GetStartingIndexForInstance( int instanceID ) {
if ( isServer ) {
assert( instancesEntityIndexWatermarks.Num() >= instanceID );
if ( instanceID == 0 ) {
return MAX_CLIENTS;
} else {
// the high watermark of the previous instance is the starting index of the next one
return instancesEntityIndexWatermarks[ instanceID - 1 ];
}
} else {
assert( instanceID == 0 );
return clientInstanceFirstFreeIndex;
}
}
/*
===============
idGameLocal::ServerSetEntityIndexWatermark
keep track of the entity layout at the server - specially when there are multiple instances ( tourney )
===============
*/
void idGameLocal::ServerSetEntityIndexWatermark( int instanceID ) {
if ( isClient ) {
return;
}
instancesEntityIndexWatermarks.AssureSize( instanceID + 1, MAX_CLIENTS );
// make sure there is no drift. if a value was already set it has to match
// otherwise that means the server is repopulating with different indexes, and that would likely lead to net corruption
assert( instancesEntityIndexWatermarks[ instanceID ] == MAX_CLIENTS || instancesEntityIndexWatermarks[ instanceID ] == firstFreeIndex );
instancesEntityIndexWatermarks[ instanceID ] = firstFreeIndex;
}
/*
===============
idGameLocal::ServerSetMinSpawnIndex
===============
*/
void idGameLocal::ServerSetMinSpawnIndex( void ) {
if ( isClient ) {
return;
}
// setup minSpawnIndex with enough headroom so gameplay entities don't cause bad offsets
// only needed on server, clients are completely slaved up to server entity layout
if ( !idStr::Icmp( serverInfo.GetString( "si_gameType" ), "Tourney" ) ) {
minSpawnIndex = MAX_CLIENTS + GetNumMapEntities() * MAX_INSTANCES;
}
}
/*
===================
idGameLocal::MapPopulate
===================
*/
void idGameLocal::MapPopulate( int instance ) {
// RAVEN BEGIN
// jnewquist: Tag scope and callees to track allocations using "new".
MEM_SCOPED_TAG(tag,MA_ENTITY);
// RAVEN END
if ( isMultiplayer ) {
cvarSystem->SetCVarBool( "r_skipSpecular", false );
}
minSpawnIndex = MAX_CLIENTS;
// parse the key/value pairs and spawn entities
// RAVEN BEGIN
// ddynerman: instance code
// reload the instances
if ( instance == -1 ) {
int i;
firstFreeIndex = MAX_CLIENTS;
for ( i = 0; i < instances.Num(); i++ ) {
if ( instances[ i ] ) {
instances[ i ]->Restart();
ServerSetEntityIndexWatermark( i );
}
}
} else {
assert( instance >= 0 && instance < instances.Num() );
instances[ instance ]->Restart();
}
// RAVEN END
ServerSetMinSpawnIndex();
// mark location entities in all connected areas
SpreadLocations();
// RAVEN BEGIN
// ddynerman: prepare the list of spawn spots
InitializeSpawns();
// RAVEN END
// execute pending events before the very first game frame
// this makes sure the map script main() function is called
// before the physics are run so entities can bind correctly
Printf( "------------ Processing events --------------\n" );
idEvent::ServiceEvents();
}
/*
===================
idGameLocal::InitFromNewMap
===================
*/
void idGameLocal::InitFromNewMap( const char *mapName, idRenderWorld *renderWorld, bool isServer, bool isClient, int randseed ) {
TIME_THIS_SCOPE( __FUNCLINE__);
this->isServer = isServer;
this->isClient = isClient;
// RAVEN BEGIN
// ddynerman: listen server
this->isListenServer = isServer && !cvarSystem->GetCVarBool( "net_serverDedicated" );
// RAVEN END
this->isMultiplayer = isServer || isClient;
if ( this->isClient && gameLocal.serverInfo.GetInt( "si_tv" ) == 1 ) {
this->isTVClient = true;
}
if ( cvarSystem->GetCVarInteger( "net_serverDownload" ) == 3 ) {
networkSystem->HTTPEnable( this->isServer || this->isRepeater );
}
if ( !this->isMultiplayer )
gameLocal.Error( "This mod is for multiplayer only" );
PACIFIER_UPDATE;
//RAVEN BEGIN
//asalmon: stats for single player
if (!this->isMultiplayer) {
#ifdef _MPBETA
return;
#else
statManager->EndGame();
#ifdef _XENON
Live()->DeleteSPSession(true);
#endif
statManager->Shutdown();
statManager->Init();
statManager->BeginGame();
statManager->ClientConnect(0);
#ifdef _XENON
Live()->CreateSPSession();
#endif
#endif // _MPBETA
}
//RAVEN END
if ( mapFileName.Length() ) {
MapShutdown();
}
Printf( "-------------- Game Map Init ----------------\n" );
gamestate = GAMESTATE_STARTUP;
gameRenderWorld = renderWorld;
// RAVEN BEGIN
// mwhitlock: Dynamic memory consolidation
#if defined(_RV_MEM_SYS_SUPPORT)
animationLib->BeginLevelLoad();
#endif
SetGameType();
LoadMap( mapName, randseed );
InitScriptForMap();
MapPopulate();
mpGame.Reset();
mpGame.Precache();
// RAVEN BEGIN
// mwhitlock: Dynamic memory consolidation
#if defined(_RV_MEM_SYS_SUPPORT)
animationLib->EndLevelLoad();
#endif
// RAVEN END
// free up any unused animations
// RAVEN BEGIN
// jsinger: animationLib changed to a pointer
animationLib->FlushUnusedAnims();
// RAVEN END
gamestate = GAMESTATE_ACTIVE;
Printf( "---------------------------------------------\n" );
}
/*
=================
idGameLocal::InitFromSaveGame
=================
*/
bool idGameLocal::InitFromSaveGame( const char *mapName, idRenderWorld *renderWorld, idFile *saveGameFile ) {
TIME_THIS_SCOPE( __FUNCLINE__);
int i;
int num;
idEntity *ent;
idDict si;
if ( mapFileName.Length() ) {
MapShutdown();
}
Printf( "---------- Game Map Init SaveGame -----------\n" );
gamestate = GAMESTATE_STARTUP;
gameRenderWorld = renderWorld;
idRestoreGame savegame( saveGameFile );
savegame.ReadBuildNumber();
// Create the list of all objects in the game
savegame.CreateObjects();
// Load the idProgram, also checking to make sure scripting hasn't changed since the savegame
if ( program.Restore( &savegame ) == false ) {
// Abort the load process, and let the session know so that it can restart the level
// with the player persistent data.
savegame.DeleteObjects();
program.Restart();
return false;
}
// load the map needed for this savegame
LoadMap( mapName, 0 );
savegame.ReadInt( i );
g_skill.SetInteger( i );
// precache any media specified in the map
for ( i = 0; i < mapFile->GetNumEntities(); i++ ) {
idMapEntity *mapEnt = mapFile->GetEntity( i );
if ( !InhibitEntitySpawn( mapEnt->epairs ) ) {
CacheDictionaryMedia( &mapEnt->epairs );
const char *classname = mapEnt->epairs.GetString( "classname" );
if ( classname != '\0' ) {
FindEntityDef( classname, false );
}
}
}
savegame.ReadDict( &si );
SetServerInfo( si );
savegame.ReadInt( numClients );
for( i = 0; i < numClients; i++ ) {
// RAVEN BEGIN
// mekberg: don't read in userinfo. Grab from cvars
// savegame.ReadDict( &userInfo[ i ] );
// RAVEN END
// savegame.ReadUsercmd( usercmds[ i ] );
savegame.ReadDict( &persistentPlayerInfo[ i ] );
}
for( i = 0; i < MAX_GENTITIES; i++ ) {
savegame.ReadObject( reinterpret_cast<idClass *&>( entities[ i ] ) );
savegame.ReadInt( spawnIds[ i ] );
// restore the entityNumber
if ( entities[ i ] != NULL ) {
entities[ i ]->entityNumber = i;
}
}
// Precache the player
// RAVEN BEGIN
// bdube: changed so we actually cache stuff
FindEntityDef( idPlayer::GetSpawnClassname( ) );
// abahr: saving clientEntities
for( i = 0; i < MAX_CENTITIES; i++ ) {
savegame.ReadObject( reinterpret_cast<idClass *&>( clientEntities[ i ] ) );
savegame.ReadInt( clientSpawnIds[ i ] );
// restore the entityNumber
if ( clientEntities[ i ] != NULL ) {
clientEntities[ i ]->entityNumber = i;
}
}
// RAVEN END
savegame.ReadInt( firstFreeIndex );
savegame.ReadInt( num_entities );
// enityHash is restored by idEntity::Restore setting the entity name.
savegame.ReadObject( reinterpret_cast<idClass *&>( world ) );
savegame.ReadInt( num );
for( i = 0; i < num; i++ ) {
savegame.ReadObject( reinterpret_cast<idClass *&>( ent ) );
assert( ent );
if ( ent ) {
ent->spawnNode.AddToEnd( spawnedEntities );
}
}
// RAVEN BEGIN
// abahr: save scriptObject proxies
savegame.ReadInt( num );
scriptObjectProxies.SetNum( num );
for( i = 0; i < num; ++i ) {
scriptObjectProxies[i].Restore( &savegame );
}
// abahr: save client entity stuff
rvClientEntity* clientEnt = NULL;
savegame.ReadInt( num );
for( i = 0; i < num; ++i ) {
savegame.ReadObject( reinterpret_cast<idClass *&>( clientEnt ) );
assert( clientEnt );
if ( clientEnt ) {
clientEnt->spawnNode.AddToEnd( clientSpawnedEntities );
}
}
// RAVEN END
savegame.ReadInt( num );
for( i = 0; i < num; i++ ) {
savegame.ReadObject( reinterpret_cast<idClass *&>( ent ) );
assert( ent );
if ( ent ) {
ent->activeNode.AddToEnd( activeEntities );
}
}
savegame.ReadInt( numEntitiesToDeactivate );
savegame.ReadBool( sortPushers );
savegame.ReadBool( sortTeamMasters );
savegame.ReadDict( &persistentLevelInfo );
for( i = 0; i < MAX_GLOBAL_SHADER_PARMS; i++ ) {
savegame.ReadFloat( globalShaderParms[ i ] );
}
savegame.ReadInt( i );
random.SetSeed( i );
savegame.ReadObject( reinterpret_cast<idClass *&>( frameCommandThread ) );
// clip
// push
// pvs
// testmodel = "<NULL>"
// testFx = "<NULL>"
savegame.ReadString( sessionCommand );
// RAVEN BEGIN
// nmckenzie: Let the AI system load itself too.
aiManager.Restore( &savegame );
// RAVEN END
// FIXME: save smoke particles
savegame.ReadInt( cinematicSkipTime );
savegame.ReadInt( cinematicStopTime );
savegame.ReadInt( cinematicMaxSkipTime );
savegame.ReadBool( inCinematic );
savegame.ReadBool( skipCinematic );
savegame.ReadBool( isMultiplayer );
savegame.ReadInt( (int &)gameType );
savegame.ReadInt( framenum );
savegame.ReadInt( previousTime );
savegame.ReadInt( time );
savegame.ReadInt( vacuumAreaNum );
savegame.ReadInt( entityDefBits );
savegame.ReadBool( isServer );
savegame.ReadBool( isClient );
// RAVEN BEGIN
savegame.ReadBool( isListenServer );
// RAVEN END
savegame.ReadInt( localClientNum );
// snapshotEntities is used for multiplayer only
savegame.ReadInt( realClientTime );
savegame.ReadBool( isNewFrame );
savegame.ReadBool( mapCycleLoaded );
savegame.ReadInt( spawnCount );
savegame.ReadInt( num );
if ( num ) {
if ( num != gameRenderWorld->NumAreas() ) {
savegame.Error( "idGameLocal::InitFromSaveGame: number of areas in map differs from save game." );
}
locationEntities = new idLocationEntity *[ num ];
for( i = 0; i < num; i++ ) {
savegame.ReadObject( reinterpret_cast<idClass *&>( locationEntities[ i ] ) );
}
}
savegame.ReadObject( reinterpret_cast<idClass *&>( camera ) );
savegame.ReadMaterial( globalMaterial );
// RAVEN BEGIN
// bdube: added
lastAIAlertEntity.Restore( &savegame );
savegame.ReadInt( lastAIAlertEntityTime );
lastAIAlertActor.Restore( &savegame );
savegame.ReadInt( lastAIAlertActorTime );
// RAVEN END
savegame.ReadDict( &spawnArgs );
savegame.ReadInt( playerPVS.i );
savegame.ReadInt( (int &)playerPVS.h );
savegame.ReadInt( playerConnectedAreas.i );
savegame.ReadInt( (int &)playerConnectedAreas.h );
savegame.ReadVec3( gravity );
// gamestate is restored after restoring everything else
savegame.ReadBool( influenceActive );
savegame.ReadInt( nextGibTime );
// spawnSpots
// initialSpots
// currentInitialSpot
// newInfo
// makingBuild
// shakeSounds
// Read out pending events
idEvent::Restore( &savegame );
savegame.RestoreObjects();
mpGame.Reset();
mpGame.Precache();
// free up any unused animations
// RAVEN BEGIN
// jsinger: animationLib changed to a pointer
animationLib->FlushUnusedAnims();
// RAVEN END
gamestate = GAMESTATE_ACTIVE;
Printf( "--------------------------------------\n" );
return true;
}
/*
===========
idGameLocal::MapClear
===========
*/
// RAVEN BEGIN
// ddynerman: multiple instances
void idGameLocal::MapClear( bool clearClients, int instance ) {
// RAVEN END
int i;
// RAVEN BEGIN
// bdube: delete client entities first since they reference real entities
for( i = 0; i < MAX_CENTITIES; i++ ) {
// on the server we need to keep around client entities bound to entities in our instance2
if( gameLocal.isServer && gameLocal.GetLocalPlayer() && instance != -1 &&
instance != gameLocal.GetLocalPlayer()->GetInstance() &&
clientEntities[ i ] && clientEntities[ i ]->GetBindMaster() &&
clientEntities[ i ]->GetBindMaster()->GetInstance() == gameLocal.GetLocalPlayer()->GetInstance() ) {
continue;
}
delete clientEntities[ i ];
clientEntities[ i ] = NULL;
clientSpawnIds[ i ] = -1;
}
// RAVEN END
for( i = ( clearClients ? 0 : MAX_CLIENTS ); i < MAX_GENTITIES; i++ ) {
if( instance >= 0 && entities[ i ] && entities[ i ]->GetInstance() != instance ) {
continue;
}
delete entities[ i ];
// ~idEntity is in charge of setting the pointer to NULL
// it will also clear pending events for this entity
assert( !entities[ i ] );
// RAVEN BEGIN
// see FIXME in idRestoreGame::Error
entities[ i ] = NULL;
// RAVEN END
spawnIds[ i ] = -1;
}
entityHash.Clear( 1024, MAX_GENTITIES );
// RAVEN BEGIN
// rjohnson: reset spawnedEntities during clear to ensure no left over pieces that get remapped to a new id ( causing bad snapshot reading )
if ( instance == -1 ) {
spawnedEntities.Clear();
}
// RAVEN END
if ( !clearClients ) {
// add back the hashes of the clients/stuff in other instances
for ( i = 0; i < MAX_GENTITIES; i++ ) {
if ( !entities[ i ] ) {
continue;
}
entityHash.Add( entityHash.GenerateKey( entities[ i ]->name.c_str(), true ), i );
// RAVEN BEGIN
// rjohnson: reset spawnedEntities during clear to ensure no left over pieces that get remapped to a new id ( causing bad snapshot reading )
if ( instance == -1 ) {
entities[ i ]->spawnNode.AddToEnd( spawnedEntities );
}
// RAVEN END
}
}
// RAVEN BEGIN
// jscott: clear out portal skies
portalSky = NULL;
// abahr:
gravityInfo.Clear();
scriptObjectProxies.Clear();
// RAVEN END
delete frameCommandThread;
frameCommandThread = NULL;
if ( editEntities ) {
delete editEntities;
editEntities = NULL;
}
delete[] locationEntities;
locationEntities = NULL;
// RAVEN BEGIN
// ddynerman: mp clear
if( gameLocal.isMultiplayer ) {
ClearForwardSpawns();
for( i = 0; i < TEAM_MAX; i++ ) {
teamSpawnSpots[ i ].Clear();
}
mpGame.ClearMap();
}
ambientLights.Clear();
// RAVEN END
// set the free index back at MAX_CLIENTS for registering entities again
// the deletion of map entities causes the index to go down, but it may not have been left exactly at 32
// under such conditions, the map populate that will follow may be offset
firstFreeIndex = MAX_CLIENTS;
}
// RAVEN BEGIN
// ddynerman: instance-specific clear
void idGameLocal::InstanceClear( void ) {
// note: clears all ents EXCEPT those in the instance
int i;
for( i = 0; i < MAX_CENTITIES; i++ ) {
delete clientEntities[ i ];
assert( !clientEntities[ i ] );
clientSpawnIds[ i ] = -1;
}
for( i = MAX_CLIENTS; i < MAX_GENTITIES; i++ ) {
if( i == ENTITYNUM_CLIENT || i == ENTITYNUM_WORLD || i == ENTITYNUM_NONE ) {
continue;
}
if( entities[ i ] && entities[ i ]->fl.persistAcrossInstances ) {
//common->DPrintf( "Instance %d: persistant: excluding ent from clear: %s (%s)\n", instance, entities[ i ]->name.c_str(), entities[ i ]->GetClassname() );
continue;
}
//if( entities[ i ] ) {
//Printf( "Instance %d: CLEARING ent from clear: %s (%s)\n", instance, entities[ i ]->name.c_str(), entities[ i ]->GetClassname() );
//}
delete entities[ i ];
// ~idEntity is in charge of setting the pointer to NULL
// it will also clear pending events for this entity
assert( !entities[ i ] );
// RAVEN BEGIN
// see FIXME in idRestoreGame::Error
entities[ i ] = NULL;
// RAVEN END
spawnIds[ i ] = -1;
}
entityHash.Clear( 1024, MAX_GENTITIES );
for ( i = 0; i < MAX_CLIENTS; i++ ) {
if ( !entities[ i ] ) {
continue;
}
entityHash.Add( entityHash.GenerateKey( entities[ i ]->name.c_str(), true ), i );
}
// RAVEN BEGIN
// jscott: clear out portal skies
portalSky = NULL;
// abahr:
gravityInfo.Clear();
scriptObjectProxies.Clear();
// RAVEN END
delete frameCommandThread;
frameCommandThread = NULL;
if ( editEntities ) {
delete editEntities;
editEntities = NULL;
}
delete[] locationEntities;
locationEntities = NULL;
// RAVEN BEGIN
// ddynerman: mp clear
if( gameLocal.isMultiplayer ) {
ClearForwardSpawns();
for( i = 0; i < TEAM_MAX; i++ ) {
teamSpawnSpots[ i ].Clear();
}
mpGame.ClearMap();
}
ambientLights.Clear();
nextLagoCheck = 0;
}
// RAVEN END
/*
===========
idGameLocal::MapShutdown
============
*/
void idGameLocal::MapShutdown( void ) {
Printf( "------------ Game Map Shutdown --------------\n" );
gamestate = GAMESTATE_SHUTDOWN;
if ( soundSystem ) {
soundSystem->ResetListener();
}
// RAVEN BEGIN
// rjohnson: new blur special effect
renderSystem->ShutdownSpecialEffects();
// RAVEN END
// clear out camera if we're in a cinematic
if ( inCinematic ) {
camera = NULL;
inCinematic = false;
}
// RAVEN BEGIN
// jscott: cleanup playbacks
gameEdit->ShutdownPlaybacks();
// RAVEN END
MapClear( true );
instancesEntityIndexWatermarks.Clear();
clientInstanceFirstFreeIndex = MAX_CLIENTS;
// RAVEN BEGIN
// jscott: make sure any spurious events are killed
idEvent::ClearEventList();
// reset the script to the state it was before the map was started
program.Restart();
// bdube: game debug
gameDebug.Shutdown( );
gameLogLocal.Shutdown( );
// RAVEN END
iconManager->Shutdown();
pvs.Shutdown();
// RAVEN BEGIN
// ddynerman: MP multiple instances
ShutdownInstances();
// mwhitlock: Dynamic memory consolidation
clip.Clear();
// RAVEN END
idClipModel::ClearTraceModelCache();
// RAVEN BEGIN
// mwhitlock: Dynamic memory consolidation
#if defined(_RV_MEM_SYS_SUPPORT)
idForce::ClearForceList();
#endif
// RAVEN END
ShutdownAsyncNetwork();
mapFileName.Clear();
gameRenderWorld = NULL;
gamestate = GAMESTATE_NOMAP;
camera = NULL;
portalSky = NULL;
Printf( "---------------------------------------------\n" );
}
/*
===================
idGameLocal::DumpOggSounds
===================
*/
void idGameLocal::DumpOggSounds( void ) {
int i, j, k, size, totalSize;
idFile *file;
idStrList oggSounds, weaponSounds;
const idSoundShader *soundShader;
const soundShaderParms_t *parms;
idStr soundName;
for ( i = 0; i < declManager->GetNumDecls( DECL_SOUND ); i++ ) {
soundShader = static_cast<const idSoundShader *>(declManager->DeclByIndex( DECL_SOUND, i, false ));
parms = soundShader->GetParms();
if ( soundShader->EverReferenced() && soundShader->GetState() != DS_DEFAULTED ) {
const_cast<idSoundShader *>(soundShader)->EnsureNotPurged();
for ( j = 0; j < soundShader->GetNumSounds(); j++ ) {
soundName = soundShader->GetSound( j );
soundName.BackSlashesToSlashes();
// don't OGG sounds that cause a shake because that would
// cause continuous seeking on the OGG file which is expensive
if ( parms->shakes != 0.0f ) {
shakeSounds.AddUnique( soundName );
continue;
}
// if not voice over or combat chatter
if ( soundName.Find( "/vo/", false ) == -1 &&
soundName.Find( "/combat_chatter/", false ) == -1 &&
soundName.Find( "/bfgcarnage/", false ) == -1 &&
soundName.Find( "/enpro/", false ) == - 1 &&
soundName.Find( "/soulcube/energize_01.wav", false ) == -1 ) {
// don't OGG weapon sounds
if ( soundName.Find( "weapon", false ) != -1 ||
soundName.Find( "gun", false ) != -1 ||
soundName.Find( "bullet", false ) != -1 ||
soundName.Find( "bfg", false ) != -1 ||
soundName.Find( "plasma", false ) != -1 ) {
weaponSounds.AddUnique( soundName );
continue;
}
}
for ( k = 0; k < shakeSounds.Num(); k++ ) {
if ( shakeSounds[k].IcmpPath( soundName ) == 0 ) {
break;
}
}
if ( k < shakeSounds.Num() ) {
continue;
}
oggSounds.AddUnique( soundName );
}
}
}
file = fileSystem->OpenFileWrite( "makeogg.bat", "fs_savepath" );
if ( file == NULL ) {
common->Warning( "Couldn't open makeogg.bat" );
return;
}
// list all the shake sounds
totalSize = 0;
for ( i = 0; i < shakeSounds.Num(); i++ ) {
size = fileSystem->ReadFile( shakeSounds[i], NULL, NULL );
totalSize += size;
shakeSounds[i].Replace( "/", "\\" );
file->Printf( "echo \"%s\" (%d kB)\n", shakeSounds[i].c_str(), size >> 10 );
}
file->Printf( "echo %d kB in shake sounds\n\n\n", totalSize >> 10 );
// list all the weapon sounds
totalSize = 0;
for ( i = 0; i < weaponSounds.Num(); i++ ) {
size = fileSystem->ReadFile( weaponSounds[i], NULL, NULL );
totalSize += size;
weaponSounds[i].Replace( "/", "\\" );
file->Printf( "echo \"%s\" (%d kB)\n", weaponSounds[i].c_str(), size >> 10 );
}
file->Printf( "echo %d kB in weapon sounds\n\n\n", totalSize >> 10 );
// list commands to convert all other sounds to ogg
totalSize = 0;
for ( i = 0; i < oggSounds.Num(); i++ ) {
// RAVEN BEGIN
// rjohnson: changed path to raven's directories
// jnewquist: Use filesystem search path to get absolute file path
idStr tempFile;
idFile *f = fileSystem->OpenFileRead( oggSounds[i] );
if ( !f ) {
continue;
}
size = f->Length();
totalSize += size;
tempFile = f->GetFullPath();
fileSystem->CloseFile(f);
f = NULL;
tempFile.Replace( "/", "\\" );
// jnewquist: prevent alterations to files relative to cdpath
const char *cdPath = cvarSystem->GetCVarString("fs_cdpath");
const int cdPathLen = idStr::Length(cdPath);
if ( cdPathLen > 0 && idStr::Icmpn(cdPath, tempFile, cdPathLen) == 0 ) {
file->Printf( "rem Ignored file from CD path: %s\n", tempFile.c_str() );
continue;
}
file->Printf( "echo %d / %d\n", i, oggSounds.Num() );
file->Printf( "k:\\utility\\oggenc -q 0 \"%s\"\n", tempFile.c_str() );
file->Printf( "del \"%s\"\n", tempFile.c_str() );
// RAVEN END
}
file->Printf( "\n\necho %d kB in OGG sounds\n\n\n", totalSize >> 10 );
fileSystem->CloseFile( file );
shakeSounds.Clear();
}
/*
===================
idGameLocal::GetShakeSounds
===================
*/
void idGameLocal::GetShakeSounds( const idDict *dict ) {
const idSoundShader *soundShader;
const char *soundShaderName;
idStr soundName;
soundShaderName = dict->GetString( "s_shader" );
if ( soundShaderName != '\0' && dict->GetFloat( "s_shakes" ) != 0.0f ) {
soundShader = declManager->FindSound( soundShaderName );
for ( int i = 0; i < soundShader->GetNumSounds(); i++ ) {
soundName = soundShader->GetSound( i );
soundName.BackSlashesToSlashes();
shakeSounds.AddUnique( soundName );
}
}
}
/*
===================
idGameLocal::CacheDictionaryMedia
This is called after parsing an EntityDef and for each entity spawnArgs before
merging the entitydef. It could be done post-merge, but that would
avoid the fast pre-cache check associated with each entityDef
===================
*/
void idGameLocal::CacheDictionaryMedia( const idDict *dict ) {
idDict spawnerArgs;
TIME_THIS_SCOPE( __FUNCLINE__);
if ( dict == NULL ) {
#ifndef _CONSOLE
if ( cvarSystem->GetCVarBool( "com_makingBuild") ) {
DumpOggSounds();
}
#endif
return;
}
#ifndef _CONSOLE
if ( cvarSystem->GetCVarBool( "com_makingBuild" ) ) {
GetShakeSounds( dict );
}
#endif
int numVals = dict->GetNumKeyVals();
for ( int i = 0; i < numVals; ++i ) {
const idKeyValue *kv = dict->GetKeyVal( i );
#define MATCH(s) \
(!kv->GetKey().Icmpn( s, strlen(s) ))
/**/
if ( !kv || !kv->GetValue().Length() ) {
continue;
}
if ( MATCH( "model" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_MODEL);
declManager->MediaPrint( "Precaching model %s\n", kv->GetValue().c_str() );
// precache model/animations
if ( declManager->FindType( DECL_MODELDEF, kv->GetValue(), false ) == NULL ) {
// precache the render model
renderModelManager->FindModel( kv->GetValue() );
// precache .cm files only
collisionModelManager->PreCacheModel( GetMapName(), kv->GetValue() );
}
} else if ( MATCH( "s_shader" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_SOUND);
declManager->FindType( DECL_SOUND, kv->GetValue() );
} else if ( MATCH( "snd_" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_SOUND);
declManager->FindType( DECL_SOUND, kv->GetValue() );
} else if ( MATCH( "gui_" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_GUI);
if ( !idStr::Icmp( kv->GetKey(), "gui_noninteractive" )
|| !idStr::Icmpn( kv->GetKey(), "gui_parm", 8 )
|| !idStr::Icmp( kv->GetKey(), "gui_inventory" ) ) {
// unfortunate flag names, they aren't actually a gui
} else {
declManager->MediaPrint( "Precaching gui %s\n", kv->GetValue().c_str() );
uiManager->FindGui( kv->GetValue().c_str(), true );
}
} else if ( MATCH( "texture" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_MATERIAL);
declManager->FindType( DECL_MATERIAL, kv->GetValue() );
} else if ( MATCH( "mtr_" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_MATERIAL);
declManager->FindType( DECL_MATERIAL, kv->GetValue() );
} else if ( MATCH( "screenShot" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_MATERIAL);
declManager->FindType( DECL_MATERIAL, kv->GetValue() );
} else if ( MATCH( "inv_icon" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_MATERIAL);
declManager->FindType( DECL_MATERIAL, kv->GetValue() );
} else if ( MATCH( "teleport" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_EFFECT);
int teleportType = atoi( kv->GetValue() );
const char *p = ( teleportType ) ? va( "effects/teleporter%i.fx", teleportType ) : "effects/teleporter.fx";
declManager->FindType( DECL_EFFECT, p );
} else if ( MATCH( "fx_" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_EFFECT);
declManager->MediaPrint( "Precaching fx %s\n", kv->GetValue().c_str() );
declManager->FindEffect( kv->GetValue() );
} else if ( MATCH( "skin" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_MATERIAL);
declManager->MediaPrint( "Precaching skin %s\n", kv->GetValue().c_str() );
declManager->FindType( DECL_SKIN, kv->GetValue() );
} else if ( MATCH( "def_" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_DECL);
FindEntityDef( kv->GetValue().c_str(), false );
} else if ( MATCH( "playback_" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_ANIM);
declManager->MediaPrint( "Precaching playback %s\n", kv->GetValue().c_str() );
declManager->FindPlayback( kv->GetValue() );
} else if ( MATCH( "lipsync_" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_ANIM);
declManager->MediaPrint( "Precaching lipsync %s\n", kv->GetValue().c_str() );
declManager->FindLipSync( kv->GetValue() );
declManager->FindSound ( kv->GetValue() );
} else if ( MATCH( "icon " ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_MATERIAL);
idLexer src ( LEXFL_ALLOWPATHNAMES );
idToken token;
idToken token2;
src.LoadMemory( kv->GetValue(), kv->GetValue().Length(), "icon" );
src.ReadToken ( &token );
if ( src.CheckTokenString ( "," ) ) {
int x, y, w, h;
src.ReadToken ( &token2 ) ;
x = token2.GetIntValue ( );
src.ExpectTokenString ( "," );
src.ReadToken ( &token2 ) ;
y = token2.GetIntValue ( );
src.ExpectTokenString ( "," );
src.ReadToken ( &token2 ) ;
w = token2.GetIntValue ( );
src.ExpectTokenString ( "," );
src.ReadToken ( &token2 ) ;
h = token2.GetIntValue ( );
uiManager->RegisterIcon ( kv->GetKey ( ).c_str() + 5, token, x, y, w, h );
} else {
uiManager->RegisterIcon ( kv->GetKey ( ).c_str() + 5, token );
}
} else if ( MATCH( "spawn_" ) ) {
TIME_THIS_SCOPE( __FUNCLINE__);
MEM_SCOPED_TAG(tag,MA_DECL);
spawnerArgs.Set ( kv->GetKey ( ).c_str() + 6, kv->GetValue ( ) );
}
#undef MATCH
}
if ( spawnerArgs.GetNumKeyVals() ) {
CacheDictionaryMedia ( &spawnerArgs );
}
// RAVEN END
}
/*
===========
idGameLocal::InitScriptForMap
============
*/
void idGameLocal::InitScriptForMap( void ) {
// RAVEN BEGIN
// jnewquist: Tag scope and callees to track allocations using "new".
MEM_SCOPED_TAG(tag,MA_DEFAULT);
// RAVEN END
// create a thread to run frame commands on
frameCommandThread = new idThread();
frameCommandThread->ManualDelete();
frameCommandThread->SetThreadName( "frameCommands" );
// jnewquist: Tag scope and callees to track allocations using "new".
MEM_SCOPED_TAG_SET(tag,MA_SCRIPT);
// run the main game script function (not the level specific main)
const function_t *func = program.FindFunction( SCRIPT_DEFAULTFUNC );
// jnewquist: Tag scope and callees to track allocations using "new".
MEM_SCOPED_TAG_SET(tag,MA_DEFAULT);
if ( func != NULL ) {
idThread *thread = new idThread( func );
if ( thread->Start() ) {
// thread has finished executing, so delete it
delete thread;
}
}
// RAVEN END
}
/*
===========
idGameLocal::SpawnPlayer
============
*/
void idGameLocal::SpawnPlayer( int clientNum ) {
TIME_THIS_SCOPE( __FUNCLINE__);
idEntity *ent;
idDict args;
// RAVEN BEGIN
// jnewquist: Tag scope and callees to track allocations using "new".
MEM_SCOPED_TAG(tag,MA_ENTITY);
// RAVEN END
// they can connect
common->DPrintf( "SpawnPlayer: %i\n", clientNum );
args.SetInt( "spawn_entnum", clientNum );
args.Set( "name", va( "player%d", clientNum + 1 ) );
// RAVEN BEGIN
// bdube: changed marine class
args.Set( "classname", idPlayer::GetSpawnClassname() );
// RAVEN END
// This takes a really long time.
PACIFIER_UPDATE;
if ( !SpawnEntityDef( args, &ent ) || !entities[ clientNum ] ) {
Error( "Failed to spawn player as '%s'", args.GetString( "classname" ) );
}
// make sure it's a compatible class
if ( !ent->IsType( idPlayer::GetClassType() ) ) {
Error( "'%s' spawned the player as a '%s'. Player spawnclass must be a subclass of idPlayer.", args.GetString( "classname" ), ent->GetClassname() );
}
PACIFIER_UPDATE;
if ( clientNum != ENTITYNUM_NONE ) {
if ( clientNum >= numClients ) {
numClients = clientNum + 1;
}
}
mpGame.SpawnPlayer( clientNum );
}
/*
================
idGameLocal::GetClientByNum
================
*/
idPlayer *idGameLocal::GetClientByNum( int current ) const {
if ( current == MAX_CLIENTS ) {
return NULL;
}
if ( current == ENTITYNUM_NONE ) {
return static_cast<idPlayer *>( entities[ current ] );
}
if ( current < 0 || current >= numClients ) {
// that's a bit nasty but I suppose it has it's use
current = 0;
}
if ( entities[current] ) {
return static_cast<idPlayer *>( entities[ current ] );
}
return NULL;
}
/*
================
idGameLocal::GetClientByName
================
*/
idPlayer *idGameLocal::GetClientByName( const char *name ) const {
int i;
idEntity *ent;
for ( i = 0 ; i < numClients ; i++ ) {
ent = entities[ i ];
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( ent && ent->IsType( idPlayer::GetClassType() ) ) {
// RAVEN END
// RAVEN BEGIN
// bdube: escape codes
if ( idStr::IcmpNoEscape( name, userInfo[ i ].GetString( "ui_name" ) ) == 0 ) {
// RAVEN END
return static_cast<idPlayer *>( ent );
}
}
}
return NULL;
}
/*
================
idGameLocal::GetClientByCmdArgs
================
*/
idPlayer *idGameLocal::GetClientByCmdArgs( const idCmdArgs &args ) const {
idPlayer *player;
idStr client = args.Argv( 1 );
if ( !client.Length() ) {
return NULL;
}
// we don't allow numeric ui_name so this can't go wrong
if ( client.IsNumeric() ) {
player = GetClientByNum( atoi( client.c_str() ) );
} else {
player = GetClientByName( client.c_str() );
}
if ( !player ) {
common->Printf( "Player '%s' not found\n", client.c_str() );
}
return player;
}
/*
================
idGameLocal::GetClientNumByName
================
*/
int idGameLocal::GetClientNumByName( const char *name ) const {
int i;
idEntity *ent;
for ( i = 0 ; i < numClients ; i++ ) {
ent = entities[ i ];
if ( ent && ent->IsType( idPlayer::GetClassType() ) ) {
if ( idStr::IcmpNoEscape( name, userInfo[ i ].GetString( "ui_name" ) ) == 0 ) {
return i;
}
}
}
return -1;
}
/*
================
idGameLocal::GetNextClientNum
================
*/
int idGameLocal::GetNextClientNum( int _current ) const {
int i, current;
current = 0;
for ( i = 0; i < numClients; i++) {
current = ( _current + i + 1 ) % numClients;
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( entities[ current ] && entities[ current ]->IsType( idPlayer::GetClassType() ) ) {
// RAVEN END
return current;
}
}
return current;
}
/*
================
idGameLocal::GetLocalPlayer
Nothing in the game tic should EVER make a decision based on what the
local client number is, it shouldn't even be aware that there is a
draw phase even happening.
localClientNum == MAX_CLIENTS when playing server demos
don't send back the wrong entity obviously
================
*/
idPlayer *idGameLocal::GetLocalPlayer() const {
if ( localClientNum == MAX_CLIENTS ) {
return static_cast<idPlayer *>( entities[ ENTITYNUM_NONE ] );
}
if ( localClientNum < 0 || localClientNum >= MAX_CLIENTS ) {
return NULL;
}
if ( !entities[ localClientNum ] || !entities[ localClientNum ]->IsType( idPlayer::GetClassType() ) ) {
// not fully in game yet
return NULL;
}
return static_cast<idPlayer *>( entities[ localClientNum ] );
}
/*
================
idGameLocal::SetupClientPVS
for client spectating others, get the pvs of spectated
================
*/
pvsHandle_t idGameLocal::GetClientPVS( idPlayer *player, pvsType_t type ) {
if ( player->GetPrivateCameraView() ) {
return pvs.SetupCurrentPVS( player->GetPrivateCameraView()->GetPVSAreas(), player->GetPrivateCameraView()->GetNumPVSAreas() );
} else if ( camera ) {
return pvs.SetupCurrentPVS( camera->GetPVSAreas(), camera->GetNumPVSAreas() );
} else {
if ( player->spectating && player->spectator != player->entityNumber && entities[ player->spectator ] ) {
player = static_cast<idPlayer*>( entities[ player->spectator ] );
}
return pvs.SetupCurrentPVS( player->GetPVSAreas(), player->GetNumPVSAreas() );
}
}
// RAVEN BEGIN
// jscott: for portal skies
/*
================
idGameLocal::GetSpawnCount
================
*/
int idGameLocal::GetSpawnCount ( void ) const {
return spawnCount;
}
/*
================
idGameLocal::SetupPortalSkyPVS
================
*/
bool idGameLocal::SetupPortalSkyPVS( idPlayer *player ) {
int i, count, numAreas;
const int *areaNums;
bool *visibleAreas;
if( !portalSky ) {
return( false );
}
// Allocate room for the area flags
numAreas = gameRenderWorld->NumAreas();
visibleAreas = ( bool * )_alloca( numAreas );
memset( visibleAreas, 0, numAreas );
// Grab the areas the player can see....
count = player->GetNumPVSAreas();
areaNums = player->GetPVSAreas();
for( i = 0; i < count; i++ ) {
// Work out the referenced areas
gameRenderWorld->FindVisibleAreas( player->GetPhysics()->GetOrigin(), areaNums[i], visibleAreas );
}
// Do any of the visible areas have a skybox?
for( i = 0; i < numAreas; i++ ) {
if( !visibleAreas[i] ) {
continue;
}
if( gameRenderWorld->HasSkybox( i ) ) {
break;
}
}
// .. if any one has a skybox component, then merge in the portal sky
return ( i != numAreas );
}
// RAVEN END
/*
===============
idGameLocal::UpdateClientsPVS
===============
*/
void idGameLocal::UpdateClientsPVS( void ) {
int i;
for ( i = 0; i < numClients; i++ ) {
if ( !entities[ i ] ) {
continue;
}
assert( clientsPVS[ i ].i == -1 );
clientsPVS[ i ] = GetClientPVS( static_cast< idPlayer * >( entities[ i ] ), PVS_NORMAL );
}
}
/*
================
idGameLocal::SetupPlayerPVS
================
*/
void idGameLocal::SetupPlayerPVS( void ) {
int i = 0;
idPlayer * player = NULL;
pvsHandle_t otherPVS, newPVS;
UpdateClientsPVS( );
playerPVS.i = -1;
for ( i = 0; i < numClients; i++ ) {
if ( !entities[i] ) {
return;
}
assert( entities[i]->IsType( idPlayer::GetClassType() ) );
player = static_cast<idPlayer *>( entities[ i ] );
if ( playerPVS.i == -1 ) {
playerPVS = clientsPVS[ i ];
freePlayerPVS = false; // don't try to free it as long as we stick to the client PVS
} else {
otherPVS = clientsPVS[ i ];
newPVS = pvs.MergeCurrentPVS( playerPVS, otherPVS );
if ( freePlayerPVS ) {
pvs.FreeCurrentPVS( playerPVS );
freePlayerPVS = false;
}
playerPVS = newPVS;
freePlayerPVS = true; // that merged one will need to be freed
}
// RAVEN BEGIN
// jscott: for portal skies
portalSkyVisible = SetupPortalSkyPVS( player );
if ( portalSkyVisible ) {
otherPVS = pvs.SetupCurrentPVS( portalSky->GetPVSAreas(), portalSky->GetNumPVSAreas() );
newPVS = pvs.MergeCurrentPVS( playerPVS, otherPVS );
if ( freePlayerPVS ) {
pvs.FreeCurrentPVS( playerPVS );
freePlayerPVS = false;
}
pvs.FreeCurrentPVS( otherPVS );
playerPVS = newPVS;
freePlayerPVS = true;
}
// RAVEN END
if ( playerConnectedAreas.i == -1 ) {
playerConnectedAreas = GetClientPVS( player, PVS_CONNECTED_AREAS );
} else {
otherPVS = GetClientPVS( player, PVS_CONNECTED_AREAS );
newPVS = pvs.MergeCurrentPVS( playerConnectedAreas, otherPVS );
pvs.FreeCurrentPVS( playerConnectedAreas );
pvs.FreeCurrentPVS( otherPVS );
playerConnectedAreas = newPVS;
}
}
}
/*
================
idGameLocal::FreePlayerPVS
================
*/
void idGameLocal::FreePlayerPVS( void ) {
int i;
// only clear playerPVS if it's a different handle than the one in clientsPVS
if ( freePlayerPVS && playerPVS.i != -1 ) {
pvs.FreeCurrentPVS( playerPVS );
freePlayerPVS = false;
}
playerPVS.i = -1;
for ( i = 0; i < MAX_CLIENTS; i++ ) {
if ( clientsPVS[ i ].i >= 0 ) {
pvs.FreeCurrentPVS( clientsPVS[ i ] );
clientsPVS[i].i = -1;
}
}
if ( playerConnectedAreas.i != -1 ) {
pvs.FreeCurrentPVS( playerConnectedAreas );
playerConnectedAreas.i = -1;
}
}
/*
================
idGameLocal::InPlayerPVS
should only be called during entity thinking and event handling
================
*/
bool idGameLocal::InPlayerPVS( idEntity *ent ) const {
if ( playerPVS.i == -1 ) {
return false;
}
return pvs.InCurrentPVS( playerPVS, ent->GetPVSAreas(), ent->GetNumPVSAreas() );
}
/*
================
idGameLocal::InPlayerConnectedArea
should only be called during entity thinking and event handling
================
*/
bool idGameLocal::InPlayerConnectedArea( idEntity *ent ) const {
if ( playerConnectedAreas.i == -1 ) {
return false;
}
return pvs.InCurrentPVS( playerConnectedAreas, ent->GetPVSAreas(), ent->GetNumPVSAreas() );
}
/*
================
idGameLocal::UpdateGravity
================
*/
void idGameLocal::UpdateGravity( void ) {
idEntity *ent;
idCVar* gravityCVar = NULL;
if( gameLocal.isMultiplayer ) {
gravityCVar = &g_mp_gravity;
} else {
gravityCVar = &g_gravity;
}
if ( gravityCVar->IsModified() ) {
if ( gravityCVar->GetFloat() == 0.0f ) {
gravityCVar->SetFloat( 1.0f );
}
gravity.Set( 0, 0, -gravityCVar->GetFloat() );
// update all physics objects
for( ent = spawnedEntities.Next(); ent != NULL; ent = ent->spawnNode.Next() ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( ent->IsType( idAFEntity_Generic::GetClassType() ) ) {
// RAVEN END
idPhysics *phys = ent->GetPhysics();
if ( phys ) {
phys->SetGravity( gravity );
}
// RAVEN BEGIN
// ddynerman: jump pads
} else if ( ent->IsType( rvJumpPad::GetClassType() ) ) {
ent->PostEventMS( &EV_FindTargets, 0 );
}
// RAVEN END
}
gravityCVar->ClearModified();
}
}
/*
================
idGameLocal::GetGravity
================
*/
const idVec3 &idGameLocal::GetGravity( void ) const {
return gravity;
}
/*
================
idGameLocal::SortActiveEntityList
Sorts the active entity list such that pushing entities come first,
actors come next and physics team slaves appear after their master.
================
*/
void idGameLocal::SortActiveEntityList( void ) {
idEntity *ent, *next_ent, *master, *part;
// if the active entity list needs to be reordered to place physics team masters at the front
if ( sortTeamMasters ) {
// Sort bind masters first
for ( ent = activeEntities.Next(); ent != NULL; ent = next_ent ) {
next_ent = ent->activeNode.Next();
for ( part = ent->GetBindMaster ( ); part; part = part->GetBindMaster ( ) ) {
// Ensure we dont rerun the whole active entity list if our cached next_ent is one
// of the entities we are moving
if ( next_ent == part ) {
next_ent = next_ent->activeNode.Next();
part = ent->GetBindMaster ( );
continue;
}
part->activeNode.Remove();
part->activeNode.AddToFront( activeEntities );
}
}
for ( ent = activeEntities.Next(); ent != NULL; ent = next_ent ) {
next_ent = ent->activeNode.Next();
master = ent->GetTeamMaster();
if ( master && master == ent ) {
ent->activeNode.Remove();
ent->activeNode.AddToFront( activeEntities );
}
}
}
// if the active entity list needs to be reordered to place pushers at the front
if ( sortPushers ) {
for ( ent = activeEntities.Next(); ent != NULL; ent = next_ent ) {
next_ent = ent->activeNode.Next();
master = ent->GetTeamMaster();
if ( !master || master == ent ) {
// check if there is an actor on the team
for ( part = ent; part != NULL; part = part->GetNextTeamEntity() ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( part->GetPhysics()->IsType( idPhysics_Actor::GetClassType() ) ) {
// RAVEN END
break;
}
}
// if there is an actor on the team
if ( part ) {
ent->activeNode.Remove();
ent->activeNode.AddToFront( activeEntities );
}
}
}
for ( ent = activeEntities.Next(); ent != NULL; ent = next_ent ) {
next_ent = ent->activeNode.Next();
master = ent->GetTeamMaster();
if ( !master || master == ent ) {
// check if there is an entity on the team using parametric physics
for ( part = ent; part != NULL; part = part->GetNextTeamEntity() ) {
if ( part->GetPhysics()->IsType( idPhysics_Parametric::GetClassType() ) ) {
break;
}
if ( part->GetPhysics()->IsType( rvPhysics_Spline::GetClassType() ) ) {
break;
}
}
// if there is an entity on the team using parametric physics
if ( part ) {
ent->activeNode.Remove();
ent->activeNode.AddToFront( activeEntities );
}
}
}
}
sortTeamMasters = false;
sortPushers = false;
}
/*
================
idGameLocal::MenuFrame
Called each session frame when a map is not running (e.g. usually in the main menu)
================
*/
void idGameLocal::MenuFrame( void ) { }
/*
================
idGameLocal::RunFrame
================
*/
// RAVEN BEGIN
gameReturn_t idGameLocal::RunFrame( const usercmd_t *clientCmds, int activeEditors, bool lastCatchupFrame, int serverGameFrame ) {
idEntity * ent;
int num;
float ms;
idTimer timer_think, timer_events, timer_singlethink;
idTimer timer_misc, timer_misc2;
gameReturn_t ret;
idPlayer *player;
const renderView_t *view;
editors = activeEditors;
isLastPredictFrame = lastCatchupFrame;
assert( !isClient );
player = GetLocalPlayer();
do {
previousTime = time;
// sanity - game frame is counted on both sides of the DLL fence
// but I've seen cases where it would be offset and we need to make sure that doesn't happen
if ( serverGameFrame != framenum ) {
common->Warning( "core and game frame counters are out of sync: %d/%d", serverGameFrame, framenum );
if ( serverGameFrame > framenum ) {
int delta = serverGameFrame - framenum;
time += delta * GetMSec();
framenum = serverGameFrame;
} if ( serverGameFrame < framenum ) {
// don't do anything, let the core catchup to us
memset( &ret, 0, sizeof( ret ) );
return ret;
}
}
// update the game time
framenum++;
// bdube: use GetMSec access rather than USERCMD_TIME
time += GetMSec();
realClientTime = time;
{
TIME_THIS_SCOPE("idGameLocal::RunFrame - gameDebug.BeginFrame()");
// bdube: added advanced debug support
gameDebug.BeginFrame( );
gameLogLocal.BeginFrame( time );
}
#ifdef GAME_DLL
// allow changing SIMD usage on the fly
if ( com_forceGenericSIMD.IsModified() ) {
idSIMD::InitProcessor( "game", com_forceGenericSIMD.GetBool() );
}
#endif
// make sure the random number counter is used each frame so random events
// are influenced by the player's actions
random.RandomInt();
if ( player ) {
// update the renderview so that any gui videos play from the right frame
view = player->GetRenderView();
if ( view ) {
gameRenderWorld->SetRenderView( view );
}
}
// If modview is running then let it think
common->ModViewThink( );
// rjohnson: added option for guis to always think
common->RunAlwaysThinkGUIs( time );
// nmckenzie: Let AI System stuff update itself.
if ( !isMultiplayer ) {
#ifndef _MPBETA
aiManager.RunFrame();
#endif // !_MPBETA
}
timer_misc.Start();
// set the user commands for this frame
usercmds = clientCmds;
// create a merged pvs for all players
// do this before we process events, which may rely on PVS info
SetupPlayerPVS();
// process events on the server
ServerProcessEntityNetworkEventQueue();
// update our gravity vector if needed.
UpdateGravity();
if ( isLastPredictFrame ) {
// jscott: effect system uses gravity and the player PVS
bse->StartFrame();
}
// sort the active entity list
SortActiveEntityList();
timer_think.Clear();
timer_think.Start();
// jscott: for timing and effect handling
timer_misc2.Start();
timer_misc.Stop();
// let entities think
if ( g_timeentities.GetFloat() ) {
// rjohnson: will now draw entity info for long thinkers
idPlayer *player;
idVec3 origin;
player = GetLocalPlayer();
if ( player ) {
origin = player->GetPhysics()->GetOrigin();
}
idBounds viewTextBounds( origin );
viewTextBounds.ExpandSelf( 128.0f );
num = 0;
for( ent = activeEntities.Next(); ent != NULL; ent = ent->activeNode.Next() ) {
if ( g_cinematic.GetBool() && inCinematic && !ent->cinematic ) {
ent->GetPhysics()->UpdateTime( time );
continue;
}
timer_singlethink.Clear();
timer_singlethink.Start();
// ddynerman: save the current thinking entity for instance-dependent
currentThinkingEntity = ent;
ent->Think();
currentThinkingEntity = NULL;
timer_singlethink.Stop();
ms = timer_singlethink.Milliseconds();
if ( ms >= g_timeentities.GetFloat() ) {
// rjohnson: will now draw entity info for long thinkers
Printf( "%d: entity '%s' [%s]: %.1f ms\n", time, ent->name.c_str(), ent->GetPhysics()->GetOrigin().ToString(), ms );
if ( ms >= g_timeentities.GetFloat() * 3.0f )
{
ent->mLastLongThinkColor = colorRed;
}
else
{
ent->mLastLongThinkColor[0] = 1.0f;
ent->mLastLongThinkColor[1] = 2.0f - (( ms - g_timeentities.GetFloat()) / g_timeentities.GetFloat() );
ent->mLastLongThinkColor[2] = 0.0f;
ent->mLastLongThinkColor[3] = 1.0f;
}
ent->DrawDebugEntityInfo( 0, &viewTextBounds, &ent->mLastLongThinkColor );
ent->mLastLongThinkTime = time + 2000;
}
else if ( ent->mLastLongThinkTime > time )
{
ent->DrawDebugEntityInfo( 0, &viewTextBounds, &ent->mLastLongThinkColor );
}
num++;
}
} else {
if ( inCinematic ) {
num = 0;
for( ent = activeEntities.Next(); ent != NULL; ent = ent->activeNode.Next() ) {
if ( g_cinematic.GetBool() && !ent->cinematic ) {
ent->GetPhysics()->UpdateTime( time );
continue;
}
// ddynerman: save the current thinking entity for instance-dependent
currentThinkingEntity = ent;
ent->Think();
currentThinkingEntity = NULL;
num++;
}
} else {
num = 0;
for( ent = activeEntities.Next(); ent != NULL; ent = ent->activeNode.Next() ) {
// ddynerman: save the current thinking entity for instance-dependent
currentThinkingEntity = ent;
ent->Think();
currentThinkingEntity = NULL;
num++;
}
}
}
// remove any entities that have stopped thinking
if ( numEntitiesToDeactivate ) {
idEntity *next_ent;
int c = 0;
for( ent = activeEntities.Next(); ent != NULL; ent = next_ent ) {
next_ent = ent->activeNode.Next();
if ( !ent->thinkFlags ) {
ent->activeNode.Remove();
c++;
}
}
//assert( numEntitiesToDeactivate == c );
numEntitiesToDeactivate = 0;
}
timer_think.Stop();
timer_events.Clear();
timer_events.Start();
if ( isLastPredictFrame ) {
// bdube: client entities
rvClientEntity* cent;
for( cent = clientSpawnedEntities.Next(); cent != NULL; cent = cent->spawnNode.Next() ) {
cent->Think();
}
}
// service any pending events
idEvent::ServiceEvents();
// nrausch: player could have been deleted in an event
player = GetLocalPlayer();
timer_events.Stop();
if ( isLastPredictFrame ) {
// jscott: effect system uses gravity and the player PVS
bse->EndFrame();
}
// do multiplayer related stuff
if ( isMultiplayer ) {
mpGame.Run();
}
// free the player pvs
FreePlayerPVS();
// display how long it took to calculate the current game frame
if ( g_frametime.GetBool() ) {
Printf( "game %d: all:%.1f th:%.1f ev:%.1f %d ents \n",
time, timer_think.Milliseconds() + timer_events.Milliseconds(),
timer_think.Milliseconds(), timer_events.Milliseconds(), num );
}
// build the return value
ret.consistencyHash = 0;
ret.sessionCommand[0] = 0;
// see if a target_sessionCommand has forced a changelevel
if ( sessionCommand.Length() ) {
strncpy( ret.sessionCommand, sessionCommand, sizeof( ret.sessionCommand ) );
sessionCommand = "";
break;
}
// make sure we don't loop forever when skipping a cinematic
if ( skipCinematic && ( time > cinematicMaxSkipTime ) ) {
Warning( "Exceeded maximum cinematic skip length. Cinematic may be looping infinitely." );
skipCinematic = false;
break;
}
// jscott: additional timings
timer_misc2.Stop();
if ( g_frametime.GetInteger() > 1 ) {
gameLocal.Printf( "misc:%.1f misc2:%.1f\n", timer_misc.Milliseconds(), timer_misc2.Milliseconds() );
}
// bdube: let gameDebug know that its not in a game frame anymore
gameDebug.EndFrame( );
gameLogLocal.EndFrame( );
} while( ( inCinematic || ( time < cinematicStopTime ) ) && skipCinematic );
ret.syncNextGameFrame = skipCinematic;
if ( skipCinematic ) {
soundSystem->EndCinematic();
soundSystem->SetMute( false );
skipCinematic = false;
}
// show any debug info for this frame
RunDebugInfo();
D_DrawDebugLines();
g_simpleItems.ClearModified();
return ret;
}
// RAVEN END
/*
================
idGameLocal::RepeaterFrame
================
*/
void idGameLocal::RepeaterFrame( const userOrigin_t *clientOrigins, bool lastCatchupFrame, int serverGameFrame ) {
int i;
// passing serverGameFrame is strictly a sanity check
// the adjustment in case of problem in RunFrame should cascade to here and never be a long term problem
static int FrameDelta = 0;
if ( serverGameFrame != framenum ) {
// don't want to spam the warning. don't have a good repro case to fix this but still want to track the error (seen it happen)
int delta = serverGameFrame - framenum;
if ( delta != FrameDelta ) {
if ( framenum != 0 ) { // to skip printing the initial messages
common->Warning( "repeater frame and game frame out of sync: %d/%d", serverGameFrame, framenum );
}
FrameDelta = delta;
}
} else {
if ( FrameDelta != 0 ) {
common->Warning( "repeater in sync with game frame at %d", serverGameFrame );
}
FrameDelta = 0;
}
ReallocViewers( cvarSystem->GetCVarInteger( "ri_maxViewers" ) );
for ( i = 0; i < maxViewer; i++ ) {
if ( !viewers[ i ].active ) {
continue;
}
if ( viewers[ i ].nopvs ) {
continue;
}
viewers[ i ].origin = clientOrigins[ i ];
if ( viewers[ i ].origin.followClient >= 0 && entities[ viewers[ i ].origin.followClient ] && entities[ viewers[ i ].origin.followClient ]->IsType( idPlayer::GetClassType() ) ) {
// if the viewer is following someone, use their origin
idPlayer *player = static_cast< idPlayer * >( entities[ viewers[ i ].origin.followClient ] );
viewers[ i ].origin.origin = player->GetEyePosition();
}
viewers[ i ].pvsArea = pvs.GetPVSArea( viewers[ i ].origin.origin );
}
}
/*
======================================================================
Game view drawing
======================================================================
*/
/*
====================
idGameLocal::CalcFov
Calculates the horizontal and vertical field of view based on a horizontal field of view and custom aspect ratio
====================
*/
void idGameLocal::CalcFov( float base_fov, float &fov_x, float &fov_y ) const {
float x;
float y;
float ratio_x;
float ratio_y;
if ( !sys->FPU_StackIsEmpty() ) {
Printf( sys->FPU_GetState() );
Error( "idGameLocal::CalcFov: FPU stack not empty" );
}
// RAVEN BEGIN
// jnewquist: Option to adjust vertical fov instead of horizontal for non 4:3 modes
if ( g_fixedHorizFOV.GetBool() ) {
int aspectChoice = cvarSystem->GetCVarInteger( "r_aspectRatio" );
switch( aspectChoice ) {
default :
case 0 :
// 4:3
ratio_x = 4.0f;
ratio_y = 3.0f;
break;
case 1 :
// 16:9
ratio_x = 16.0f;
ratio_y = 9.0f;
break;
case 2 :
// 16:10
ratio_x = 16.0f;
ratio_y = 10.0f;
break;
}
x = ratio_x / idMath::Tan( base_fov / 360.0f * idMath::PI );
y = idMath::ATan( ratio_y, x );
fov_y = y * 360.0f / idMath::PI;
fov_x = base_fov;
return;
}
// RAVEN END
// first, calculate the vertical fov based on a 640x480 view
x = 640.0f / idMath::Tan( base_fov / 360.0f * idMath::PI );
y = idMath::ATan( 480.0f, x );
fov_y = y * 360.0f / idMath::PI;
// FIXME: somehow, this is happening occasionally
assert( fov_y > 0 );
if ( fov_y <= 0 ) {
Printf( sys->FPU_GetState() );
Error( "idGameLocal::CalcFov: bad result" );
}
int aspectChoice = cvarSystem->GetCVarInteger( "r_aspectRatio" );
switch( aspectChoice ) {
default :
case 0 :
// 4:3
fov_x = base_fov;
return;
break;
case 1 :
// 16:9
ratio_x = 16.0f;
ratio_y = 9.0f;
break;
case 2 :
// 16:10
ratio_x = 16.0f;
ratio_y = 10.0f;
break;
}
y = ratio_y / idMath::Tan( fov_y / 360.0f * idMath::PI );
fov_x = idMath::ATan( ratio_x, y ) * 360.0f / idMath::PI;
if ( fov_x < base_fov ) {
fov_x = base_fov;
x = ratio_x / idMath::Tan( fov_x / 360.0f * idMath::PI );
fov_y = idMath::ATan( ratio_y, x ) * 360.0f / idMath::PI;
}
// FIXME: somehow, this is happening occasionally
assert( ( fov_x > 0 ) && ( fov_y > 0 ) );
if ( ( fov_y <= 0 ) || ( fov_x <= 0 ) ) {
Printf( sys->FPU_GetState() );
Error( "idGameLocal::CalcFov: bad result" );
}
}
void ClearClipProfile( void );
void DisplayClipProfile( void );
/*
================
idGameLocal::Draw
makes rendering and sound system calls
================
*/
bool idGameLocal::Draw( int clientNum ) {
// DisplayClipProfile( );
// ClearClipProfile( );
if ( isMultiplayer ) {
return mpGame.Draw( clientNum );
}
idPlayer *player = static_cast<idPlayer *>(entities[ clientNum ]);
if ( !player ) {
return false;
}
// RAVEN BEGIN
// mwhitlock: Xenon texture streaming.
#if defined(_XENON)
renderView_t *view = player->GetRenderView();
// nrausch: view doesn't necessarily exist yet
if ( !view ) {
player->CalculateRenderView();
view = player->GetRenderView();
}
#endif
// RAVEN END
// render the scene
player->playerView.RenderPlayerView( player->hud );
// RAVEN BEGIN
// bdube: debugging HUD
gameDebug.DrawHud( );
// RAVEN END
return true;
}
/*
================
idGameLocal::HandleESC
================
*/
escReply_t idGameLocal::HandleESC( idUserInterface **gui ) {
//RAVEN BEGIN
//asalmon: xbox dedicated server needs to bring up a special menu
#ifdef _XBOX
if( cvarSystem->GetCVarBool( "net_serverDedicated" ))
{
return ESC_MAIN;
}
#endif
//RAVEN END
if ( isMultiplayer ) {
*gui = StartMenu();
// we may set the gui back to NULL to hide it
return ESC_GUI;
}
idPlayer *player = GetLocalPlayer();
if ( player ) {
if ( player->HandleESC() ) {
return ESC_IGNORE;
} else {
return ESC_MAIN;
}
}
return ESC_MAIN;
}
/*
================
idGameLocal::UpdatePlayerPostMainMenu
================
*/
void idGameLocal::UpdatePlayerPostMainMenu() {
idPlayer* player = GetLocalPlayer();
//dedicated server?
if( !player) {
return;
}
//crosshair may have changed
player->UpdateHudWeapon();
}
/*
================
idGameLocal::StartMenu
================
*/
idUserInterface* idGameLocal::StartMenu( void ) {
if ( !isMultiplayer ) {
return NULL;
}
return mpGame.StartMenu();
}
/*
================
idGameLocal::GetClientStats
================
*/
void idGameLocal::GetClientStats( int clientNum, char *data, const int len ) {
mpGame.PlayerStats( clientNum, data, len );
}
/*
================
idGameLocal::SwitchTeam
================
*/
void idGameLocal::SwitchTeam( int clientNum, int team ) {
idPlayer * player;
player = clientNum >= 0 ? static_cast<idPlayer *>( gameLocal.entities[ clientNum ] ) : NULL;
if ( !player ) {
return;
}
int oldTeam = player->team;
// Put in spectator mode
if ( team == -1 ) {
static_cast< idPlayer * >( entities[ clientNum ] )->Spectate( true );
}
// Switch to a team
else {
mpGame.SwitchToTeam ( clientNum, oldTeam, team );
}
}
/*
================
idGameLocal::HandleGuiCommands
================
*/
const char* idGameLocal::HandleGuiCommands( const char *menuCommand ) {
if ( !isMultiplayer ) {
return NULL;
}
return mpGame.HandleGuiCommands( menuCommand );
}
/*
================
idGameLocal::HandleMainMenuCommands
================
*/
void idGameLocal::HandleMainMenuCommands( const char *menuCommand, idUserInterface *gui ) {
if ( !idStr::Icmp( menuCommand, "initCreateServerSettings" ) ) {
int guiValue = 0;
switch ( mpGame.GameTypeToVote( si_gameType.GetString() ) ) {
case idMultiplayerGame::VOTE_GAMETYPE_DM:
guiValue = 0;
break;
case idMultiplayerGame::VOTE_GAMETYPE_TOURNEY:
guiValue = 1;
break;
case idMultiplayerGame::VOTE_GAMETYPE_TDM:
guiValue = 2;
break;
case idMultiplayerGame::VOTE_GAMETYPE_CTF:
guiValue = 3;
break;
case idMultiplayerGame::VOTE_GAMETYPE_ARENA_CTF:
guiValue = 4;
break;
case idMultiplayerGame::VOTE_GAMETYPE_DEADZONE:
guiValue = 5;
break;
}
gui->SetStateInt( "currentGametype", guiValue );
} else if ( !idStr::Icmp( menuCommand, "filterByNextMod" ) ) {
BuildModList();
if ( modList.Num() > 0 && (filterMod < 0 || filterMod >= modList.Num()) ) {
filterMod = 0;
networkSystem->UseSortFunction( filterByMod, true );
gui->SetStateString( "filterMod", modList[ filterMod ].c_str() );
} else {
++filterMod;
if ( filterMod < modList.Num() ) {
networkSystem->UseSortFunction( filterByMod, true );
gui->SetStateString( "filterMod", modList[ filterMod ].c_str() );
} else {
filterMod = -1;
networkSystem->UseSortFunction( filterByMod, false );
gui->SetStateString( "filterMod", common->GetLocalizedString( "#str_123008" ) );
}
}
} else if ( !idStr::Icmp( menuCommand, "filterByPrevMod" ) ) {
BuildModList();
if ( modList.Num() > 0 && (filterMod < 0 || filterMod >= modList.Num()) ) {
filterMod = modList.Num() - 1;
networkSystem->UseSortFunction( filterByMod, true );
gui->SetStateString( "filterMod", modList[ filterMod ].c_str() );
} else {
--filterMod;
if ( filterMod >= 0 ) {
networkSystem->UseSortFunction( filterByMod, true );
gui->SetStateString( "filterMod", modList[ filterMod ].c_str() );
} else {
filterMod = -1;
networkSystem->UseSortFunction( filterByMod, false );
gui->SetStateString( "filterMod", common->GetLocalizedString( "#str_123008" ) );
}
}
} else if ( !idStr::Icmp( menuCommand, "updateFilterByMod" ) ) {
if ( filterMod < 0 || filterMod >= modList.Num() ) {
gui->SetStateString( "filterMod", common->GetLocalizedString( "#str_123008" ) );
} else {
gui->SetStateString( "filterMod", modList[ filterMod ].c_str() );
}
} else if ( !idStr::Icmp( menuCommand, "server_clearSort" ) ) {
filterMod = -1;
gui->SetStateString( "filterMod", common->GetLocalizedString( "#str_123008" ) );
}
return;
}
/*
================
idGameLocal::GetLevelMap
should only be used for in-game level editing
================
*/
idMapFile *idGameLocal::GetLevelMap( void ) {
// RAVEN BEGIN
// rhummer: Added the HasBeenResolved check, if resolve has been run then it doesn't have func_groups.
// Which we probably don't want, so force the map to be reloaded.
if ( mapFile && mapFile->HasPrimitiveData() && !mapFile->HasBeenResloved() ) {
// RAVEN END
return mapFile;
}
if ( !mapFileName.Length() ) {
return NULL;
}
if ( mapFile ) {
delete mapFile;
}
mapFile = new idMapFile;
if ( !mapFile->Parse( mapFileName ) ) {
delete mapFile;
mapFile = NULL;
}
return mapFile;
}
/*
================
idGameLocal::GetMapName
================
*/
const char *idGameLocal::GetMapName( void ) const {
return mapFileName.c_str();
}
/*
================
idGameLocal::CallFrameCommand
================
*/
void idGameLocal::CallFrameCommand( idEntity* ent, const char* frameCommand ) {
const function_t *func = program.FindFunction( frameCommand );
if ( !func ) {
Warning( "Script function '%s' not found.", frameCommand );
return;
}
CallFrameCommand ( ent, func );
}
void idGameLocal::CallFrameCommand( idEntity *ent, const function_t *frameCommand ) {
frameCommandThread->CallFunction( ent, frameCommand, true );
frameCommandThread->Execute();
}
/*
================
idGameLocal::CallObjectFrameCommand
================
*/
void idGameLocal::CallObjectFrameCommand( idEntity *ent, const char *frameCommand ) {
const function_t *func;
func = ent->scriptObject.GetFunction( frameCommand );
if ( !func ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( !ent->IsType( idTestModel::GetClassType() ) ) {
// RAVEN END
Error( "Unknown function '%s' called for frame command on entity '%s'", frameCommand, ent->name.c_str() );
}
} else {
frameCommandThread->CallFunction( ent, func, true );
frameCommandThread->Execute();
}
}
/*
================
idGameLocal::ShowTargets
================
*/
void idGameLocal::ShowTargets( void ) {
idMat3 axis = GetLocalPlayer()->viewAngles.ToMat3();
idVec3 up = axis[ 2 ] * 5.0f;
const idVec3 &viewPos = GetLocalPlayer()->GetPhysics()->GetOrigin();
idBounds viewTextBounds( viewPos );
idBounds viewBounds( viewPos );
idBounds box( idVec3( -4.0f, -4.0f, -4.0f ), idVec3( 4.0f, 4.0f, 4.0f ) );
idEntity *ent;
idEntity *target;
int i;
idBounds totalBounds;
viewTextBounds.ExpandSelf( 128.0f );
viewBounds.ExpandSelf( 512.0f );
for( ent = spawnedEntities.Next(); ent != NULL; ent = ent->spawnNode.Next() ) {
totalBounds = ent->GetPhysics()->GetAbsBounds();
for( i = 0; i < ent->targets.Num(); i++ ) {
target = ent->targets[ i ].GetEntity();
if ( target ) {
totalBounds.AddBounds( target->GetPhysics()->GetAbsBounds() );
}
}
if ( !viewBounds.IntersectsBounds( totalBounds ) ) {
continue;
}
float dist;
idVec3 dir = totalBounds.GetCenter() - viewPos;
dir.NormalizeFast();
totalBounds.RayIntersection( viewPos, dir, dist );
float frac = ( 512.0f - dist ) / 512.0f;
if ( frac < 0.0f ) {
continue;
}
gameRenderWorld->DebugBounds( ( ent->IsHidden() ? colorLtGrey : colorOrange ) * frac, ent->GetPhysics()->GetAbsBounds() );
if ( viewTextBounds.IntersectsBounds( ent->GetPhysics()->GetAbsBounds() ) ) {
idVec3 center = ent->GetPhysics()->GetAbsBounds().GetCenter();
gameRenderWorld->DrawText( ent->name.c_str(), center - up, 0.1f, colorWhite * frac, axis, 1 );
gameRenderWorld->DrawText( ent->GetEntityDefName(), center, 0.1f, colorWhite * frac, axis, 1 );
gameRenderWorld->DrawText( va( "#%d", ent->entityNumber ), center + up, 0.1f, colorWhite * frac, axis, 1 );
}
for( i = 0; i < ent->targets.Num(); i++ ) {
target = ent->targets[ i ].GetEntity();
if ( target ) {
gameRenderWorld->DebugArrow( colorYellow * frac, ent->GetPhysics()->GetAbsBounds().GetCenter(), target->GetPhysics()->GetOrigin(), 10, 0 );
gameRenderWorld->DebugBounds( colorGreen * frac, box, target->GetPhysics()->GetOrigin() );
}
}
}
}
/*
================
idGameLocal::RunDebugInfo
================
*/
void idGameLocal::RunDebugInfo( void ) {
idEntity *ent;
idPlayer *player;
player = GetLocalPlayer();
if ( !player ) {
return;
}
const idVec3 &origin = player->GetPhysics()->GetOrigin();
if ( g_showEntityInfo.GetBool() ) {
idBounds viewTextBounds( origin );
idBounds viewBounds( origin );
viewTextBounds.ExpandSelf( 128.0f );
viewBounds.ExpandSelf( 512.0f );
for( ent = spawnedEntities.Next(); ent != NULL; ent = ent->spawnNode.Next() ) {
// don't draw the worldspawn
if ( ent == world ) {
continue;
}
// RAVEN BEGIN
// rjohnson: moved entity info out of idGameLocal into its own function
ent->DrawDebugEntityInfo(&viewBounds, &viewTextBounds);
// RAVEN END
}
}
// debug tool to draw bounding boxes around active entities
if ( g_showActiveEntities.GetBool() ) {
for( ent = activeEntities.Next(); ent != NULL; ent = ent->activeNode.Next() ) {
idBounds b = ent->GetPhysics()->GetBounds();
if ( b.GetVolume() <= 0 ) {
b[0][0] = b[0][1] = b[0][2] = -8;
b[1][0] = b[1][1] = b[1][2] = 8;
}
if ( ent->fl.isDormant ) {
gameRenderWorld->DebugBounds( colorYellow, b, ent->GetPhysics()->GetOrigin() );
} else {
gameRenderWorld->DebugBounds( colorGreen, b, ent->GetPhysics()->GetOrigin() );
}
}
}
// RAVEN BEGIN
// bdube: client entities
if ( cl_showEntityInfo.GetBool ( ) ) {
rvClientEntity* cent;
for( cent = clientSpawnedEntities.Next(); cent != NULL; cent = cent->spawnNode.Next() ) {
cent->DrawDebugInfo ( );
}
}
// RAVEN END
if ( g_showTargets.GetBool() ) {
ShowTargets();
}
if ( g_showTriggers.GetBool() ) {
idTrigger::DrawDebugInfo();
}
if ( ai_showCombatNodes.GetBool() ) {
// idCombatNode::DrawDebugInfo();
}
if ( ai_showPaths.GetBool() ) {
idPathCorner::DrawDebugInfo();
}
if ( g_editEntityMode.GetBool() ) {
if ( gameLocal.isMultiplayer ) {
g_editEntityMode.SetInteger(0);
Printf( "Not allowed in multiplayer.\n" );
} else {
editEntities->DisplayEntities();
}
}
if ( g_showCollisionWorld.GetBool() ) {
// use g_maxShowDistance value instead of 128.0f
collisionModelManager->DrawModel( clip[0]->GetWorldCollisionModel(), vec3_origin, mat3_identity, origin, mat3_identity, g_maxShowDistance.GetFloat() );
}
if ( g_showCollisionModels.GetBool() ) {
if( g_showCollisionModels.GetInteger() == 2 ) {
clip[ 0 ]->DrawClipModels( player->GetEyePosition(), g_maxShowDistance.GetFloat(), pm_thirdPerson.GetBool() ? NULL : player, &idPlayer::GetClassType() );
} else {
clip[ 0 ]->DrawClipModels( player->GetEyePosition(), g_maxShowDistance.GetFloat(), pm_thirdPerson.GetBool() ? NULL : player );
}
}
if ( g_showCollisionTraces.GetBool() ) {
clip[ 0 ]->PrintStatistics();
}
if ( g_showPVS.GetInteger() ) {
pvs.DrawPVS( origin, ( g_showPVS.GetInteger() == 2 ) ? PVS_ALL_PORTALS_OPEN : PVS_NORMAL );
}
// RAVEN BEGIN
// rjohnson: added debug hud
if ( gameDebug.IsHudActive ( DBGHUD_PHYSICS ) ) {
clip[ 0 ]->DebugHudStatistics();
}
clip[ 0 ]->ClearStatistics();
// RAVEN END
if ( aas_test.GetInteger() >= 0 ) {
idAAS *aas = GetAAS( aas_test.GetInteger() );
if ( aas ) {
aas->Test( origin );
if ( ai_testPredictPath.GetBool() ) {
idVec3 velocity;
predictedPath_t path;
velocity.x = idMath::Cos( DEG2RAD( player->viewAngles.yaw ) ) * 100.0f;
velocity.y = idMath::Sin( DEG2RAD( player->viewAngles.yaw ) ) * 100.0f;
velocity.z = 0.0f;
idAI::PredictPath( player, aas, origin, velocity, 1000, 100, SE_ENTER_OBSTACLE | SE_BLOCKED | SE_ENTER_LEDGE_AREA, path );
}
}
// RAVEN BEGIN
// rjohnson: added more debug drawing
if ( aas_showAreas.GetInteger() == 3 ) {
for( int i=0; i<aasNames.Num(); i++ ) {
aas = GetAAS( i );
if ( !aas || !aas->IsValid() ) {
continue;
}
if ( aas->GetSettings()->debugDraw ) {
aas->ShowAreas( origin );
}
}
}
if ( aas_showProblemAreas.GetInteger() == 3 ) {
for( int i=0; i<aasNames.Num(); i++ ) {
aas = GetAAS( i );
if ( !aas || !aas->IsValid() ) {
continue;
}
if ( aas->GetSettings()->debugDraw ) {
aas->ShowAreas( origin, true );
}
}
}
// RAVEN END
}
if ( ai_showObstacleAvoidance.GetInteger() == 2 ) {
idAAS *aas = GetAAS( 0 );
if ( aas ) {
idVec3 seekPos;
obstaclePath_t path;
seekPos = player->GetPhysics()->GetOrigin() + player->viewAxis[0] * 200.0f;
idAI::FindPathAroundObstacles( player->GetPhysics(), aas, NULL, player->GetPhysics()->GetOrigin(), seekPos, path );
}
}
// collision map debug output
collisionModelManager->DebugOutput( player->GetEyePosition(), mat3_identity );
// RAVEN BEGIN
// jscott: for debugging playbacks
if( g_showPlayback.GetInteger() ) {
gameEdit->DrawPlaybackDebugInfo();
}
// RAVEN END
// RAVEN BEGIN
// ddynerman: SD's clip sector code
if ( g_showClipSectors.GetBool() ) {
clip[ 0 ]->DrawClipSectors();
}
if ( g_showAreaClipSectors.GetFloat() ) {
clip[ 0 ]->DrawAreaClipSectors( g_showAreaClipSectors.GetFloat() );
}
// RAVEN END
}
/*
==================
idGameLocal::NumAAS
==================
*/
int idGameLocal::NumAAS( void ) const {
return aasList.Num();
}
/*
==================
idGameLocal::GetAAS
==================
*/
idAAS *idGameLocal::GetAAS( int num ) const {
if ( ( num >= 0 ) && ( num < aasList.Num() ) ) {
if ( aasList[ num ] && aasList[ num ]->GetSettings() ) {
return aasList[ num ];
}
}
return NULL;
}
/*
==================
idGameLocal::GetAAS
==================
*/
idAAS *idGameLocal::GetAAS( const char *name ) const {
int i;
for ( i = 0; i < aasNames.Num(); i++ ) {
if ( aasNames[ i ] == name ) {
if ( !aasList[ i ]->GetSettings() ) {
return NULL;
} else {
return aasList[ i ];
}
}
}
return NULL;
}
/*
==================
idGameLocal::SetAASAreaState
==================
*/
void idGameLocal::SetAASAreaState( const idBounds &bounds, const int areaContents, bool closed ) {
int i;
for( i = 0; i < aasList.Num(); i++ ) {
aasList[ i ]->SetAreaState( bounds, areaContents, closed );
}
}
/*
==================
idGameLocal::AddAASObstacle
==================
*/
aasHandle_t idGameLocal::AddAASObstacle( const idBounds &bounds ) {
int i;
aasHandle_t obstacle;
aasHandle_t check;
if ( !aasList.Num() ) {
return -1;
}
obstacle = aasList[ 0 ]->AddObstacle( bounds );
for( i = 1; i < aasList.Num(); i++ ) {
check = aasList[ i ]->AddObstacle( bounds );
assert( check == obstacle );
}
return obstacle;
}
/*
==================
idGameLocal::RemoveAASObstacle
==================
*/
void idGameLocal::RemoveAASObstacle( const aasHandle_t handle ) {
int i;
for( i = 0; i < aasList.Num(); i++ ) {
aasList[ i ]->RemoveObstacle( handle );
}
}
/*
==================
idGameLocal::RemoveAllAASObstacles
==================
*/
void idGameLocal::RemoveAllAASObstacles( void ) {
int i;
for( i = 0; i < aasList.Num(); i++ ) {
aasList[ i ]->RemoveAllObstacles();
}
}
// RAVEN BEGIN
// mwhitlock: added entity memory usage stuff.
/*
==================
idGameLocal::GetEntityMemoryUsage
Compute combined total memory footprint of server and client entity storage.
==================
*/
size_t idGameLocal::GetEntityMemoryUsage ( void ) const {
// Server ents.
size_t serverEntitiesSize = 0;
for( idEntity *ent = gameLocal.spawnedEntities.Next(); ent != NULL; ent = ent->spawnNode.Next() ) {
serverEntitiesSize += sizeof( idEntity );
}
// Client ents.
size_t clientEntitiesSize = 0;
for( rvClientEntity *ent = gameLocal.clientSpawnedEntities.Next() ; ent != NULL; ent = ent->spawnNode.Next() ) {
clientEntitiesSize += ent->Size();
}
return serverEntitiesSize + clientEntitiesSize;
}
// RAVEN END
/*
==================
idGameLocal::CheatsOk
==================
*/
bool idGameLocal::CheatsOk( bool requirePlayer ) {
idPlayer *player;
if ( isMultiplayer && !cvarSystem->GetCVarBool( "net_allowCheats" ) ) {
Printf( "Not allowed in multiplayer.\n" );
return false;
}
if ( !developer.GetBool() ) {
return false;
}
player = GetLocalPlayer();
if ( !requirePlayer || ( player && ( player->health > 0 ) ) ) {
return true;
}
Printf( "You must be alive to use this command.\n" );
return false;
}
/*
===================
idGameLocal::RegisterEntity
===================
*/
void idGameLocal::RegisterEntity( idEntity *ent ) {
int spawn_entnum;
if ( spawnCount >= ( 1 << ( 32 - GENTITYNUM_BITS ) ) ) {
Error( "idGameLocal::RegisterEntity: spawn count overflow" );
}
firstFreeIndex = Max( minSpawnIndex, firstFreeIndex );
if ( !spawnArgs.GetInt( "spawn_entnum", "0", spawn_entnum ) ) {
while ( entities[firstFreeIndex] && firstFreeIndex < ENTITYNUM_MAX_NORMAL ) {
firstFreeIndex++;
}
if ( firstFreeIndex >= ENTITYNUM_MAX_NORMAL ) {
Error( "no free entities" );
}
spawn_entnum = firstFreeIndex++;
} else {
assert( spawn_entnum < MAX_CLIENTS || spawn_entnum >= minSpawnIndex );
}
entities[ spawn_entnum ] = ent;
spawnIds[ spawn_entnum ] = spawnCount++;
ent->entityNumber = spawn_entnum;
ent->spawnNode.AddToEnd( spawnedEntities );
ent->spawnArgs.TransferKeyValues( spawnArgs );
if ( spawn_entnum >= num_entities ) {
num_entities++;
}
// RAVEN BEGIN
// bdube: keep track of last time an entity was registered
entityRegisterTime = time;
// RAVEN END
}
/*
===================
idGameLocal::UnregisterEntity
===================
*/
void idGameLocal::UnregisterEntity( idEntity *ent ) {
assert( ent );
if ( editEntities ) {
editEntities->RemoveSelectedEntity( ent );
}
if ( ( ent->entityNumber != ENTITYNUM_NONE || ent == entities[ ENTITYNUM_NONE ] ) && ( entities[ ent->entityNumber ] == ent ) ) {
ent->spawnNode.Remove();
entities[ ent->entityNumber ] = NULL;
spawnIds[ ent->entityNumber ] = -1;
if ( ent->entityNumber >= MAX_CLIENTS && ent->entityNumber < firstFreeIndex ) {
firstFreeIndex = ent->entityNumber;
}
ent->entityNumber = ENTITYNUM_NONE;
}
// RAVEN BEGIN
// bdube: keep track of last time an entity was registered
entityRegisterTime = time;
// RAVEN END
}
/*
===============
idGameLocal::SkipEntityIndex
===============
*/
void idGameLocal::SkipEntityIndex( void ) {
assert( entities[ firstFreeIndex ] == NULL );
firstFreeIndex++;
if ( firstFreeIndex >= ENTITYNUM_MAX_NORMAL ) {
Error( "no free entities" );
}
}
/*
================
idGameLocal::SpawnEntityType
================
*/
idEntity *idGameLocal::SpawnEntityType( const idTypeInfo &classdef, const idDict *args, bool bIsClientReadSnapshot ) {
idClass *obj;
#ifdef _DEBUG
if ( isClient ) {
assert( bIsClientReadSnapshot );
}
#endif
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( !classdef.IsType( idEntity::GetClassType() ) ) {
// RAVEN END
Error( "Attempted to spawn non-entity class '%s'", classdef.classname );
}
try {
if ( args ) {
spawnArgs = *args;
} else {
spawnArgs.Clear();
}
obj = classdef.CreateInstance();
obj->CallSpawn();
}
catch( idAllocError & ) {
obj = NULL;
}
spawnArgs.Clear();
return static_cast<idEntity *>(obj);
}
/*
===================
idGameLocal::SpawnClientEntityDef
Finds the spawn function for the client entity and calls it,
returning false if not found
===================
*/
bool idGameLocal::SpawnClientEntityDef( const idDict &args, rvClientEntity **cent, bool setDefaults, const char* spawn ) {
const char *classname;
idTypeInfo *cls;
idClass *obj;
idStr error;
const char *name;
if ( cent ) {
*cent = NULL;
}
spawnArgs = args;
if ( spawnArgs.GetBool( "nospawn" ) ){
//not meant to actually spawn, just there for some compiling process
return false;
}
if ( spawnArgs.GetString( "name", "", &name ) ) {
error = va( " on '%s'", name );
}
spawnArgs.GetString( "classname", NULL, &classname );
const idDeclEntityDef *def = FindEntityDef( classname, false );
if ( !def ) {
// RAVEN BEGIN
// jscott: a NULL classname would crash Warning()
if( classname ) {
Warning( "Unknown classname '%s'%s.", classname, error.c_str() );
}
// RAVEN END
return false;
}
spawnArgs.SetDefaults( &def->dict );
// check if we should spawn a class object
if( spawn == NULL ) {
spawnArgs.GetString( "spawnclass", NULL, &spawn );
}
if ( spawn ) {
cls = idClass::GetClass( spawn );
if ( !cls ) {
Warning( "Could not spawn '%s'. Class '%s' not found%s.", classname, spawn, error.c_str() );
return false;
}
obj = cls->CreateInstance();
if ( !obj ) {
Warning( "Could not spawn '%s'. Instance could not be created%s.", classname, error.c_str() );
return false;
}
obj->CallSpawn();
if ( cent && obj->IsType( rvClientEntity::GetClassType() ) ) {
*cent = static_cast<rvClientEntity*>(obj);
}
return true;
}
Warning( "%s doesn't include a spawnfunc%s.", classname, error.c_str() );
return false;
}
/*
===================
idGameLocal::SpawnEntityDef
Finds the spawn function for the entity and calls it,
returning false if not found
===================
*/
bool idGameLocal::SpawnEntityDef( const idDict &args, idEntity **ent, bool setDefaults ) {
const char *classname;
const char *spawn;
idTypeInfo *cls;
idClass *obj;
idStr error;
const char *name;
TIME_THIS_SCOPE( __FUNCLINE__);
if ( ent ) {
*ent = NULL;
}
spawnArgs = args;
if ( spawnArgs.GetBool( "nospawn" ) )
{//not meant to actually spawn, just there for some compiling process
return false;
}
if ( spawnArgs.GetString( "name", "", &name ) ) {
// RAVEN BEGIN
// jscott: fixed sprintf to idStr
error = va( " on '%s'", name );
// RAVEN END
}
spawnArgs.GetString( "classname", NULL, &classname );
const idDeclEntityDef *def = FindEntityDef( classname, false );
if ( !def ) {
// RAVEN BEGIN
// jscott: a NULL classname would crash Warning()
if( classname ) {
Warning( "Unknown classname '%s'%s.", classname, error.c_str() );
}
// RAVEN END
return false;
}
spawnArgs.SetDefaults( &def->dict );
// RAVEN BEGIN
// rjohnson: entity usage stats
if ( g_keepEntityStats.GetBool() ) {
if ( idStr::Icmp( classname, "func_spawner" ) == 0 ||
idStr::Icmp( classname, "func_spawner_enemy" ) == 0 ) {
// special case for spawners
for( int i = 1; ; i++ ) {
char tempSpawn[128];
const char *tempClassname;
sprintf( tempSpawn, "def_spawn_type%d", i );
tempClassname = spawnArgs.GetString( tempSpawn, NULL );
if ( tempClassname ) {
const idDeclEntityDef *tempDef = FindEntityDef( tempClassname, false );
if ( tempDef ) {
idDict tempArgs = tempDef->dict;
tempArgs.Set( "mapFileName", mapFileNameStripped );
entityUsageList.Insert( tempArgs );
}
} else {
break;
}
}
}
else if ( def->dict.GetBool( "report_stats" ) ) {
idDict tempArgs = spawnArgs;
tempArgs.Set( "mapFileName", mapFileNameStripped );
entityUsageList.Insert( tempArgs );
}
}
// RAVEN END
// check if we should spawn a class object
spawnArgs.GetString( "spawnclass", NULL, &spawn );
if ( spawn ) {
cls = idClass::GetClass( spawn );
if ( !cls ) {
Warning( "Could not spawn '%s'. Class '%s' not found%s.", classname, spawn, error.c_str() );
return false;
}
obj = cls->CreateInstance();
if ( !obj ) {
Warning( "Could not spawn '%s'. Instance could not be created%s.", classname, error.c_str() );
return false;
}
obj->CallSpawn();
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( ent && obj->IsType( idEntity::GetClassType() ) ) {
// RAVEN END
*ent = static_cast<idEntity *>(obj);
}
return true;
}
// check if we should call a script function to spawn
spawnArgs.GetString( "spawnfunc", NULL, &spawn );
if ( spawn ) {
const function_t *func = program.FindFunction( spawn );
if ( !func ) {
Warning( "Could not spawn '%s'. Script function '%s' not found%s.", classname, spawn, error.c_str() );
return false;
}
idThread *thread = new idThread( func );
thread->DelayedStart( 0 );
return true;
}
Warning( "%s doesn't include a spawnfunc or spawnclass%s.", classname, error.c_str() );
return false;
}
// abahr:
idEntity* idGameLocal::SpawnEntityDef( const char* entityDefName, const idDict* additionalArgs ) {
idDict finalArgs;
const idDict* entityDict = NULL;
idEntity* entity = NULL;
TIME_THIS_SCOPE( __FUNCLINE__);
if( !entityDefName ) {
return NULL;
}
entityDict = FindEntityDefDict( entityDefName, false );
if( !entityDict ) {
return NULL;
}
if( !additionalArgs ) {
SpawnEntityDef( *entityDict, &entity );
} else {
finalArgs.Copy( *entityDict );
finalArgs.Copy( *additionalArgs );
SpawnEntityDef( finalArgs, &entity );
}
return entity;
}
// RAVEN END
/*
================
idGameLocal::FindEntityDef
================
*/
const idDeclEntityDef *idGameLocal::FindEntityDef( const char *name, bool makeDefault ) const {
TIME_THIS_SCOPE( __FUNCLINE__);
const idDecl *decl = NULL;
if ( isMultiplayer ) {
decl = declManager->FindType( DECL_ENTITYDEF, va( "%s_mp", name ), false );
}
if ( !decl ) {
decl = declManager->FindType( DECL_ENTITYDEF, name, makeDefault );
}
return static_cast<const idDeclEntityDef *>( decl );
}
/*
================
idGameLocal::FindEntityDefDict
================
*/
const idDict *idGameLocal::FindEntityDefDict( const char *name, bool makeDefault ) const {
TIME_THIS_SCOPE( __FUNCLINE__);
const idDeclEntityDef *decl = FindEntityDef( name, makeDefault );
return decl ? &decl->dict : NULL;
}
/*
================
idGameLocal::InhibitEntitySpawn
================
*/
bool idGameLocal::InhibitEntitySpawn( idDict &spawnArgs ) {
bool result = false;
if ( isMultiplayer ) {
spawnArgs.GetBool( "not_multiplayer", "0", result );
} else if ( g_skill.GetInteger() == 0 ) {
spawnArgs.GetBool( "not_easy", "0", result );
} else if ( g_skill.GetInteger() == 1 ) {
spawnArgs.GetBool( "not_medium", "0", result );
} else {
spawnArgs.GetBool( "not_hard", "0", result );
}
const char *name;
#ifndef ID_DEMO_BUILD
if ( g_skill.GetInteger() == 3 ) {
name = spawnArgs.GetString( "classname" );
if ( idStr::Icmp( name, "item_medkit" ) == 0 || idStr::Icmp( name, "item_medkit_small" ) == 0 ) {
result = true;
}
}
#endif
// RAVEN BEGIN
// bdube: suppress ents that don't match the entity filter
const char* entityFilter;
if ( serverInfo.GetString( "si_entityFilter", "", &entityFilter ) && *entityFilter ) {
if ( spawnArgs.MatchPrefix ( "filter_" ) && !spawnArgs.GetBool ( va("filter_%s", entityFilter) ) ) {
return true;
}
}
// RAVEN END
// RITUAL BEGIN
// squirrel: suppress ents that aren't supported in Buying modes (if that's the mode we're in)
if ( mpGame.IsBuyingAllowedInTheCurrentGameMode() ) {
if ( spawnArgs.GetBool( "disableSpawnInBuying", "0" ) ) {
return true;
}
/// Don't spawn weapons or armor vests or ammo in Buying modes
idStr classname = spawnArgs.GetString( "classname" );
if( idStr::FindText( classname, "weapon_" ) == 0 ||
idStr::FindText( classname, "item_armor_small" ) == 0 ||
idStr::FindText( classname, "ammo_" ) == 0 ||
idStr::FindText( classname, "item_armor_large" ) == 0 )
{
return true;
}
}
// RITUAL END
// suppress deadzone triggers if we're not running DZ
if ( idStr::Icmp( serverInfo.GetString( "si_gameType" ), "DeadZone" ) != 0 ) {
if ( idStr::Icmp( spawnArgs.GetString( "classname" ), "trigger_controlzone" ) == 0 ) {
return true;
}
}
return result;
}
/*
================
idGameLocal::SetSkill
================
*/
void idGameLocal::SetSkill( int value ) {
int skill_level;
if ( value < 0 ) {
skill_level = 0;
} else if ( value > 3 ) {
skill_level = 3;
} else {
skill_level = value;
}
g_skill.SetInteger( skill_level );
}
/*
==============
idGameLocal::GameState
Used to allow entities to know if they're being spawned during the initial spawn.
==============
*/
gameState_t idGameLocal::GameState( void ) const {
return gamestate;
}
/*
==============
idGameLocal::SpawnMapEntities
Parses textual entity definitions out of an entstring and spawns gentities.
==============
*/
// RAVEN BEGIN
// ddynerman: multiple game instances
void idGameLocal::SpawnMapEntities( int instance, unsigned short* entityNumIn, unsigned short* entityNumOut, int* startSpawnCount ) {
// RAVEN END
int i;
int num;
int inhibit;
int latchedSpawnCount = -1;
idMapEntity *mapEnt;
int numEntities;
idDict args;
idDict items;
Printf( "Spawning entities\n" );
TIME_THIS_SCOPE( __FUNCLINE__);
if ( mapFile == NULL ) {
Printf("No mapfile present\n");
return;
}
SetSkill( g_skill.GetInteger() );
numEntities = mapFile->GetNumEntities();
if ( numEntities == 0 ) {
Error( "...no entities" );
}
// RAVEN BEGIN
// ddynerman: on the server, perform world-initialization when spawning instance 0 only and while starting up
// on the client, perform world-init when spawning while starting up, as client main instance may not be ID 0
// always spawn world-init in single-player
num = inhibit = 0;
// the worldspawn is a special that performs any global setup
// needed by a level
if( ( gameLocal.isServer && instance == 0 && gamestate == GAMESTATE_STARTUP ) || (gameLocal.isClient && gamestate == GAMESTATE_STARTUP) || !gameLocal.isMultiplayer ) {
mapEnt = mapFile->GetEntity( 0 );
args = mapEnt->epairs;
args.SetInt( "spawn_entnum", ENTITYNUM_WORLD );
// on the client, spawnCount won't always start at INITIAL_SPAWN_COUNT (see rvInstance::Populate())
// make sure the world and physics ent get the right spawn id
if( gameLocal.isClient && spawnCount != INITIAL_SPAWN_COUNT ) {
latchedSpawnCount = spawnCount;
spawnCount = INITIAL_SPAWN_COUNT;
}
// abahr: precache stuff on worldSpawn like player def and other misc things
CacheDictionaryMedia( &args );
// jnewquist: Use accessor for static class type
if ( !SpawnEntityDef( args ) || !entities[ ENTITYNUM_WORLD ] || !entities[ ENTITYNUM_WORLD ]->IsType( idWorldspawn::GetClassType() ) ) {
Error( "Problem spawning world entity" );
}
num++;
// bdube: dummy entity for client entities with physics
args.Clear ( );
args.SetInt( "spawn_entnum", ENTITYNUM_CLIENT );
// jnewquist: Use accessor for static class type
if ( !SpawnEntityType( rvClientPhysics::GetClassType(), &args, true ) || !entities[ ENTITYNUM_CLIENT ] ) {
Error( "Problem spawning client physics entity" );
}
if( gameLocal.isClient && latchedSpawnCount != -1 ) {
spawnCount = latchedSpawnCount;
}
isMapEntity[ ENTITYNUM_CLIENT ] = true;
isMapEntity[ ENTITYNUM_WORLD ] = true;
// RAVEN END
}
// capture spawn count of start of map entities (after we've spawned in the physics ents)
if ( startSpawnCount ) {
(*startSpawnCount) = spawnCount;
}
for ( i = 1 ; i < numEntities ; i++ ) {
mapEnt = mapFile->GetEntity( i );
args = mapEnt->epairs;
// RAVEN BEGIN
// ddynerman: merge the dicts ahead of SpawnEntityDef() so we can inhibit using merged info
const idDeclEntityDef* entityDef = FindEntityDef( args.GetString( "classname" ), false );
if( entityDef == NULL ) {
gameLocal.Error( "idGameLocal::SpawnMapEntities() - Unknown entity classname '%s'\n", args.GetString( "classname" ) );
return;
}
args.SetDefaults( &(entityDef->dict) );
// RAVEN END
if ( !InhibitEntitySpawn( args ) ) {
if( args.GetBool( "inv_item" ) ) {
if( !items.GetBool( args.GetString( "inv_icon" ) ) ) {
networkSystem->AddLoadingIcon( args.GetString( "inv_icon" ) );
networkSystem->SetLoadingText( common->GetLocalizedString( args.GetString( "inv_name" ) ) );
items.SetBool( args.GetString( "inv_icon" ), true );
}
}
// precache any media specified in the map entity
CacheDictionaryMedia( &args );
// RAVEN BEGIN
if ( instance != 0 ) {
// ddynerman: allow this function to be called multiple-times to respawn map entities in other instances
args.SetInt( "instance", instance );
args.Set( "name", va( "%s_instance%d", args.GetString( "name" ), instance ) );
//gameLocal.Printf( "Instance %d: Spawning %s (class: %s)\n", instance, args.GetString( "name" ), args.GetString( "classname" ) );
// need a better way to do this - map entities that target other map entities need
// to target the ones in the correct instance.
idStr target;
if( args.GetString( "target", "", target ) ) {
args.Set( "target", va( "%s_instance%d", target.c_str(), instance ) );
}
// and also udpate binds on a per-instance bases
idStr bind;
if( args.GetString( "bind", "", bind ) ) {
args.Set( "bind", va( "%s_instance%d", bind.c_str(), instance ) );
}
// and also door triggers
idStr triggerOnOpen;
if( args.GetString( "triggerOnOpen", "", triggerOnOpen ) ) {
args.Set( "triggerOnOpen", va( "%s_instance%d", triggerOnOpen.c_str(), instance ) );
}
idStr triggerOpened;
if( args.GetString( "triggerOpened", "", triggerOpened ) ) {
args.Set( "triggerOpened", va( "%s_instance%d", triggerOpened.c_str(), instance ) );
}
}
idEntity* ent = NULL;
SpawnEntityDef( args, &ent );
//common->Printf( "pop: spawn map ent %d at %d ( %s )\n", i, ent->entityNumber, args.GetString( "name" ) );
if ( ent && entityNumOut ) {
entityNumOut[ i ] = ent->entityNumber;
}
if ( gameLocal.GetLocalPlayer() && ent && gameLocal.isServer && instance != gameLocal.GetLocalPlayer()->GetInstance() ) {
// if we're spawning entities not in our instance, tell them not to draw
ent->BecomeInactive( TH_UPDATEVISUALS );
}
if ( ent ) {
isMapEntity[ ent->entityNumber ] = true;
}
// RAVEN END
num++;
} else {
// keep counting and leave an empty slot in the entity list for inhibited entities
// this so we maintain the same layout as the server and don't change it across restarts with different inhibit schemes
//common->Printf( "pop: skip map ent %d at index %d ( %s )\n", i, firstFreeIndex, args.GetString( "name" ) );
SkipEntityIndex();
inhibit++;
}
}
Printf( "...%i entities spawned, %i inhibited\n\n", num, inhibit );
}
/*
================
idGameLocal::AddEntityToHash
================
*/
void idGameLocal::AddEntityToHash( const char *name, idEntity *ent ) {
if ( FindEntity( name ) ) {
Error( "Multiple entities named '%s'", name );
}
entityHash.Add( entityHash.GenerateKey( name, true ), ent->entityNumber );
}
/*
================
idGameLocal::RemoveEntityFromHash
================
*/
bool idGameLocal::RemoveEntityFromHash( const char *name, idEntity *ent ) {
int hash, i;
hash = entityHash.GenerateKey( name, true );
for ( i = entityHash.First( hash ); i != -1; i = entityHash.Next( i ) ) {
if ( entities[i] && entities[i] == ent && entities[i]->name.Icmp( name ) == 0 ) {
entityHash.Remove( hash, i );
return true;
}
}
return false;
}
/*
================
idGameLocal::GetTargets
================
*/
int idGameLocal::GetTargets( const idDict &args, idList< idEntityPtr<idEntity> > &list, const char *ref ) const {
int i, num, refLength;
const idKeyValue *arg;
idEntity *ent;
list.Clear();
refLength = strlen( ref );
num = args.GetNumKeyVals();
for( i = 0; i < num; i++ ) {
arg = args.GetKeyVal( i );
if ( arg->GetKey().Icmpn( ref, refLength ) == 0 ) {
ent = FindEntity( arg->GetValue() );
if ( ent ) {
idEntityPtr<idEntity> &entityPtr = list.Alloc();
entityPtr = ent;
}
}
}
return list.Num();
}
/*
=============
idGameLocal::GetTraceEntity
returns the master entity of a trace. for example, if the trace entity is the player's head, it will return the player.
=============
*/
idEntity *idGameLocal::GetTraceEntity( const trace_t &trace ) const {
idEntity *master;
if ( !entities[ trace.c.entityNum ] ) {
return NULL;
}
master = entities[ trace.c.entityNum ]->GetBindMaster();
if ( master ) {
return master;
}
return entities[ trace.c.entityNum ];
}
/*
=============
idGameLocal::ArgCompletion_EntityName
Argument completion for entity names
=============
*/
void idGameLocal::ArgCompletion_EntityName( const idCmdArgs &args, void(*callback)( const char *s ) ) {
int i;
for( i = 0; i < gameLocal.num_entities; i++ ) {
if ( gameLocal.entities[ i ] ) {
callback( va( "%s %s", args.Argv( 0 ), gameLocal.entities[ i ]->name.c_str() ) );
}
}
}
/*
=============
idGameLocal::ArgCompletion_AIName
Argument completion for idAI entity names
=============
*/
void idGameLocal::ArgCompletion_AIName( const idCmdArgs &args, void(*callback)( const char *s ) ) {
int i;
for( i = 0; i < gameLocal.num_entities; i++ ) {
if ( gameLocal.entities[ i ] && gameLocal.entities[ i ]->IsType( idAI::GetClassType() ) ) {
callback( va( "%s %s", args.Argv( 0 ), gameLocal.entities[ i ]->name.c_str() ) );
}
}
}
/*
=============
idGameLocal::FindEntity
Returns the entity whose name matches the specified string.
=============
*/
idEntity *idGameLocal::FindEntity( const char *name ) const {
int hash, i;
hash = entityHash.GenerateKey( name, true );
for ( i = entityHash.First( hash ); i != -1; i = entityHash.Next( i ) ) {
if ( entities[i] && entities[i]->name.Icmp( name ) == 0 ) {
return entities[i];
}
}
return NULL;
}
/*
=============
idGameLocal::FindEntityUsingDef
Searches all active entities for the next one using the specified entityDef.
Searches beginning at the entity after from, or the beginning if NULL
NULL will be returned if the end of the list is reached.
=============
*/
idEntity *idGameLocal::FindEntityUsingDef( idEntity *from, const char *match ) const {
idEntity *ent;
if ( !from ) {
ent = spawnedEntities.Next();
} else {
ent = from->spawnNode.Next();
}
for ( ; ent != NULL; ent = ent->spawnNode.Next() ) {
assert( ent );
if ( idStr::Icmp( ent->GetEntityDefName(), match ) == 0 ) {
return ent;
}
}
return NULL;
}
/*
=============
idGameLocal::FindTraceEntity
Searches all active entities for the closest ( to start ) match that intersects
the line start,end
=============
*/
idEntity *idGameLocal::FindTraceEntity( idVec3 start, idVec3 end, const idTypeInfo &c, const idEntity *skip ) const {
idEntity *ent;
idEntity *bestEnt;
float scale;
float bestScale;
idBounds b;
bestEnt = NULL;
bestScale = 1.0f;
for( ent = spawnedEntities.Next(); ent != NULL; ent = ent->spawnNode.Next() ) {
if ( ent->IsType( c ) && ent != skip ) {
b = ent->GetPhysics()->GetAbsBounds().Expand( 16 );
if ( b.RayIntersection( start, end-start, scale ) ) {
if ( scale >= 0.0f && scale < bestScale ) {
bestEnt = ent;
bestScale = scale;
}
}
}
}
return bestEnt;
}
/*
================
idGameLocal::EntitiesWithinRadius
================
*/
int idGameLocal::EntitiesWithinRadius( const idVec3 org, float radius, idEntity **entityList, int maxCount ) const {
idEntity *ent;
idBounds bo( org );
int entCount = 0;
bo.ExpandSelf( radius );
for( ent = spawnedEntities.Next(); ent != NULL; ent = ent->spawnNode.Next() ) {
if ( ent->GetPhysics()->GetAbsBounds().IntersectsBounds( bo ) ) {
entityList[entCount++] = ent;
}
}
return entCount;
}
/*
=================
idGameLocal::KillBox
Kills all entities that would touch the proposed new positioning of ent. The ent itself will not being killed.
Checks if player entities are in the teleporter, and marks them to die at teleport exit instead of immediately.
If catch_teleport, this only marks teleport players for death on exit
=================
*/
void idGameLocal::KillBox( idEntity *ent, bool catch_teleport ) {
int i;
int num;
idEntity * hit;
idClipModel *cm;
idClipModel *clipModels[ MAX_GENTITIES ];
idPhysics *phys;
phys = ent->GetPhysics();
if ( !phys->GetNumClipModels() ) {
return;
}
// RAVEN BEGIN
// ddynerman: multiple clip worlds
num = ClipModelsTouchingBounds( ent, phys->GetAbsBounds(), phys->GetClipMask(), clipModels, MAX_GENTITIES );
// RAVEN END
for ( i = 0; i < num; i++ ) {
cm = clipModels[ i ];
// don't check render entities
if ( cm->IsRenderModel() ) {
continue;
}
hit = cm->GetEntity();
if ( ( hit == ent ) || !hit->fl.takedamage ) {
continue;
}
if ( !phys->ClipContents( cm ) ) {
continue;
}
// nail it
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( hit->IsType( idPlayer::GetClassType() ) && static_cast< idPlayer * >( hit )->IsInTeleport() ) {
// RAVEN END
static_cast< idPlayer * >( hit )->TeleportDeath( ent->entityNumber );
} else if ( !catch_teleport ) {
hit->Damage( ent, ent, vec3_origin, "damage_telefrag", 1.0f, INVALID_JOINT );
}
if ( !gameLocal.isMultiplayer ) {
// let the mapper know about it
Warning( "'%s' telefragged '%s'", ent->name.c_str(), hit->name.c_str() );
}
}
}
/*
================
idGameLocal::RequirementMet
================
*/
bool idGameLocal::RequirementMet( idEntity *activator, const idStr &requires, int removeItem ) {
if ( requires.Length() ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( activator->IsType( idPlayer::GetClassType() ) ) {
// RAVEN END
idPlayer *player = static_cast<idPlayer *>(activator);
idDict *item = player->FindInventoryItem( requires );
if ( item ) {
if ( removeItem ) {
player->RemoveInventoryItem( item );
}
return true;
} else {
return false;
}
}
}
return true;
}
/*
================
idGameLocal::IsWeaponsStayOn
================
*/
bool idGameLocal::IsWeaponsStayOn( void ) {
/// Override weapons stay when buying is active
if( isMultiplayer && mpGame.IsBuyingAllowedInTheCurrentGameMode() ) {
return false;
}
return serverInfo.GetBool( "si_weaponStay" );
}
/*
============
idGameLocal::AlertAI
============
*/
void idGameLocal::AlertAI( idEntity *ent ) {
// RAVEN BEGIN
// bdube: merged
if ( ent ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( ent->IsType( idActor::GetClassType() ) ) {
// RAVEN END
// alert them for the next frame
lastAIAlertActorTime = time + GetMSec();
lastAIAlertActor = static_cast<idActor *>( ent );
} else {
lastAIAlertEntityTime = time + GetMSec();
lastAIAlertEntity = ent;
}
} else {
lastAIAlertEntityTime = 0;
lastAIAlertActorTime = 0;
lastAIAlertEntity = NULL;
lastAIAlertActor = NULL;
}
// RAVEN END
}
// RAVEN BEGIN
// bdube: alert entity returns an entity, alert actor a an actor
/*
============
idGameLocal::GetAlertEntity
============
*/
idEntity *idGameLocal::GetAlertEntity( void ) {
if ( lastAIAlertEntityTime >= time ) {
return lastAIAlertEntity.GetEntity();
}
return NULL;
}
/*
============
idGameLocal::GetAlertActor
============
*/
idActor *idGameLocal::GetAlertActor( void ) {
if ( lastAIAlertActorTime >= time ) {
return lastAIAlertActor.GetEntity();
}
return NULL;
}
// RAVEN END
/*
============
SortClipModelsByEntity
============
*/
static int SortClipModelsByEntity( const void* left, const void* right ) {
idEntity* leftEntity = left ? (*((const idClipModel**)left))->GetEntity() : NULL;
idEntity* rightEntity = right ? (*((const idClipModel**)right))->GetEntity() : NULL;
int entityNumLeft = (leftEntity) ? leftEntity->entityNumber : 0;
int entityNumRight = (rightEntity) ? rightEntity->entityNumber : 0;
return entityNumLeft - entityNumRight;
}
// RAVEN BEGIN
/*
============
idGameLocal::RadiusDamage
Returns the number of actors damaged
============
*/
// abahr: changed to work with deathPush
void idGameLocal::RadiusDamage( const idVec3 &origin, idEntity *inflictor, idEntity *attacker, idEntity *ignoreDamage, idEntity *ignorePush, const char *damageDefName, float dmgPower, int* hitCount ) {
float dist, damageScale, attackerDamageScale, attackerPushScale;
idEntity* ent = NULL;
idEntity* lastEnt = NULL;
idClipModel* clipModel = NULL;
idClipModel* clipModelList[ MAX_GENTITIES ];
int numListedClipModels;
modelTrace_t result;
idVec3 v, damagePoint, dir;
int i, damage, radius, push;
const idDict *damageDef = FindEntityDefDict( damageDefName, false );
if ( !damageDef ) {
Warning( "Unknown damageDef '%s'", damageDefName );
return;
}
damageDef->GetInt( "damage", "20", damage );
damageDef->GetInt( "radius", "50", radius );
damageDef->GetInt( "push", va( "%d", damage * 100 ), push );
damageDef->GetFloat( "attackerDamageScale", "0.5", attackerDamageScale );
if( gameLocal.isMultiplayer ) {
damageDef->GetFloat( "attackerPushScale", "2", attackerPushScale );
} else {
damageDef->GetFloat( "attackerPushScale", "0", attackerPushScale );
}
if ( radius < 1 ) {
radius = 1;
}
// ddynerman: multiple clip worlds
numListedClipModels = ClipModelsTouchingBounds( inflictor, idBounds(origin).Expand(radius), MASK_ALL, clipModelList, MAX_GENTITIES );
if( numListedClipModels > 0 ) {
//Sort list by unique entities for easier searching
qsort( clipModelList, numListedClipModels, sizeof(clipModelList[0]), SortClipModelsByEntity );
}
if ( inflictor ) {
inflictor = inflictor->GetDamageEntity ( );
}
if ( attacker ) {
attacker = attacker->GetDamageEntity ( );
}
if ( ignoreDamage ) {
ignoreDamage = ignoreDamage->GetDamageEntity ( );
}
for( int c = 0; c < numListedClipModels; ++c ) {
clipModel = clipModelList[ c ];
assert( clipModel );
ent = clipModel->GetEntity();
// Skip all entitys that arent primary damage entities
if ( !ent || ent != ent->GetDamageEntity ( ) ) {
continue;
}
// Dont damage inflictor or the ignore entity
if( ent == inflictor || ent == ignoreDamage ) {
continue;
}
idBounds absBounds = clipModel->GetAbsBounds();
// find the distance from the edge of the bounding box
for ( i = 0; i < 3; i++ ) {
if ( origin[ i ] < absBounds[0][ i ] ) {
v[ i ] = absBounds[0][ i ] - origin[ i ];
} else if ( origin[ i ] > absBounds[1][ i ] ) {
v[ i ] = origin[ i ] - absBounds[1][ i ];
} else {
v[ i ] = 0;
}
}
dist = v.Length();
if ( dist >= radius ) {
continue;
}
if( gameRenderWorld->FastWorldTrace(result, origin, absBounds.GetCenter()) ) {
continue;
}
RadiusPushClipModel ( inflictor, origin, push, clipModel );
// Only damage unique entities. This works because we have a sorted list
if( lastEnt == ent ) {
continue;
}
lastEnt = ent;
if ( ent->CanDamage( origin, damagePoint, ignoreDamage ) ) {
// push the center of mass higher than the origin so players
// get knocked into the air more
if( gameLocal.isMultiplayer ) {
// fudge the direction in MP to account for player height difference and origin shift
// 31.875 = origin is 23.875 units lower in Q4 than Q3 + player is 8 units taller in Q4
dir = ( ent->GetPhysics()->GetOrigin() + idVec3( 0.0f, 0.0f, 31.875f ) ) - origin;
} else {
dir = ent->GetPhysics()->GetOrigin() - origin;
}
dir[2] += 24;
// get the damage scale
damageScale = dmgPower * ( 1.0f - dist / radius );
if ( ent == attacker ) {
damageScale *= attackerDamageScale;
}
dir.Normalize();
ent->Damage( inflictor, attacker, dir, damageDefName, damageScale, CLIPMODEL_ID_TO_JOINT_HANDLE(ent->GetPhysics()->GetClipModel()->GetId()) );
// for stats, count the first
if( attacker && attacker->IsType( idPlayer::GetClassType() ) && inflictor && inflictor->IsType( idProjectile::GetClassType() ) && ent->IsType( idPlayer::GetClassType() ) && hitCount ) {
// with splash damage projectiles, one projectile fire can damage multiple people. If anyone is hit,
// the shot counts as a hit but only report accuracy on the first one to avoid accuracies > 100%
statManager->WeaponHit( (const idActor*)attacker, ent, ((idProjectile*)inflictor)->methodOfDeath, (*hitCount) == 0 );
(*hitCount)++;
}
}
}
}
// RAVEN END
/*
==============
idGameLocal::RadiusPush
==============
*/
void idGameLocal::RadiusPush( const idVec3 &origin, const float radius, const float push, const idEntity *inflictor, const idEntity *ignore, float inflictorScale, const bool quake ) {
int i, numListedClipModels;
idClipModel *clipModel;
idClipModel *clipModelList[ MAX_GENTITIES ];
idVec3 dir;
idBounds bounds;
modelTrace_t result;
idEntity *ent;
float scale;
// RAVEN BEGIN
// abahr: need to use gravity instead of assuming z is up
dir = -GetCurrentGravity( const_cast<idEntity*>(inflictor) ).ToNormal();
// RAVEN END
bounds = idBounds( origin ).Expand( radius );
// get all clip models touching the bounds
// RAVEN BEGIN
// ddynerman: multiple clip worlds
numListedClipModels = ClipModelsTouchingBounds( inflictor, bounds, -1, clipModelList, MAX_GENTITIES );
// bdube: getdamageentity
if ( inflictor ) {
inflictor = ((idEntity*)inflictor)->GetDamageEntity ( );
}
if ( ignore ) {
ignore = ((idEntity*)ignore)->GetDamageEntity ( );
}
// RAVEN END
// apply impact to all the clip models through their associated physics objects
for ( i = 0; i < numListedClipModels; i++ ) {
clipModel = clipModelList[i];
// never push render models
if ( clipModel->IsRenderModel() ) {
continue;
}
ent = clipModel->GetEntity();
// RAVEN BEGIN
// bdube: damage entity
if ( !ent || ent != ent->GetDamageEntity ( ) ) {
continue;
}
// RAVEN END
// never push projectiles
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( ent->IsType( idProjectile::GetClassType() ) ) {
// RAVEN END
continue;
}
// players use "knockback" in idPlayer::Damage
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( ent->IsType( idPlayer::GetClassType() ) && !quake ) {
// RAVEN END
continue;
}
// don't push the ignore entity
if ( ent == ignore ) {
continue;
}
if ( gameRenderWorld->FastWorldTrace( result, origin, clipModel->GetOrigin() ) ) {
continue;
}
// scale the push for the inflictor
if ( ent == inflictor ) {
scale = inflictorScale;
} else {
scale = 1.0f;
}
if ( quake ) {
clipModel->GetEntity()->ApplyImpulse( world, clipModel->GetId(), clipModel->GetOrigin(), scale * push * dir );
} else {
// RAVEN BEGIN
// bdube: inflictor
RadiusPushClipModel( (idEntity*)inflictor, origin, scale * push, clipModel );
// RAVEN END
}
}
}
/*
==============
idGameLocal::RadiusPushClipModel
==============
*/
// RAVEN BEGIN
// bdube: inflictor
void idGameLocal::RadiusPushClipModel( idEntity* inflictor, const idVec3 &origin, const float push, const idClipModel *clipModel ) {
// RAVEN END
int i, j;
float dot, dist, area;
const idTraceModel *trm;
const traceModelPoly_t *poly;
idFixedWinding w;
idVec3 v, localOrigin, center, impulse;
trm = clipModel->GetTraceModel();
if ( !trm || 1 ) {
impulse = clipModel->GetAbsBounds().GetCenter() - origin;
impulse.Normalize();
// RAVEN BEGIN
// abahr: removed because z isn't always up
//impulse.z += 1.0f;
//impulse = idVec3( 0.0, 0.0, 1.0 );
clipModel->GetEntity()->ApplyImpulse( inflictor, clipModel->GetId(), clipModel->GetOrigin(), push * impulse, true );
// RAVEN END
return;
}
localOrigin = ( origin - clipModel->GetOrigin() ) * clipModel->GetAxis().Transpose();
for ( i = 0; i < trm->numPolys; i++ ) {
poly = &trm->polys[i];
center.Zero();
for ( j = 0; j < poly->numEdges; j++ ) {
v = trm->verts[ trm->edges[ abs(poly->edges[j]) ].v[ INTSIGNBITSET( poly->edges[j] ) ] ];
center += v;
v -= localOrigin;
v.NormalizeFast(); // project point on a unit sphere
w.AddPoint( v );
}
center /= poly->numEdges;
v = center - localOrigin;
dist = v.NormalizeFast();
dot = v * poly->normal;
if ( dot > 0.0f ) {
continue;
}
area = w.GetArea();
// impulse in polygon normal direction
impulse = poly->normal * clipModel->GetAxis();
// always push up for nicer effect
impulse.z -= 1.0f;
// scale impulse based on visible surface area and polygon angle
impulse *= push * ( dot * area * ( 1.0f / ( 4.0f * idMath::PI ) ) );
// scale away distance for nicer effect
impulse *= ( dist * 2.0f );
// impulse is applied to the center of the polygon
center = clipModel->GetOrigin() + center * clipModel->GetAxis();
// RAVEN BEGIN
// bdube: inflictor
clipModel->GetEntity()->ApplyImpulse( inflictor, clipModel->GetId(), center, impulse );
// RAVEN END
}
}
/*
===============
idGameLocal::ProjectDecal
===============
*/
void idGameLocal::ProjectDecal( const idVec3 &origin, const idVec3 &dir, float depth, bool parallel, float size, const char *material, float angle ) {
float s, c;
idMat3 axis, axistemp;
idFixedWinding winding;
idVec3 windingOrigin, projectionOrigin;
static idVec3 decalWinding[4] = {
idVec3( 1.0f, 1.0f, 0.0f ),
idVec3( -1.0f, 1.0f, 0.0f ),
idVec3( -1.0f, -1.0f, 0.0f ),
idVec3( 1.0f, -1.0f, 0.0f )
};
if ( !g_decals.GetBool() ) {
return;
}
// RAVEN BEGIN
// rjohnson: no decals on dedicated server
if ( isMultiplayer && !isClient && !isListenServer ) {
// no decals on dedicated server
return;
}
// RAVEN END
// randomly rotate the decal winding
idMath::SinCos16( ( angle ) ? angle : random.RandomFloat() * idMath::TWO_PI, s, c );
// winding orientation
axis[2] = dir;
axis[2].Normalize();
axis[2].NormalVectors( axistemp[0], axistemp[1] );
axis[0] = axistemp[ 0 ] * c + axistemp[ 1 ] * -s;
axis[1] = axistemp[ 0 ] * -s + axistemp[ 1 ] * -c;
windingOrigin = origin + depth * axis[2];
if ( parallel ) {
projectionOrigin = origin - depth * axis[2];
} else {
projectionOrigin = origin;
}
size *= 0.5f;
winding.Clear();
winding += idVec5( windingOrigin + ( axis * decalWinding[0] ) * size, idVec2( 1, 1 ) );
winding += idVec5( windingOrigin + ( axis * decalWinding[1] ) * size, idVec2( 0, 1 ) );
winding += idVec5( windingOrigin + ( axis * decalWinding[2] ) * size, idVec2( 0, 0 ) );
winding += idVec5( windingOrigin + ( axis * decalWinding[3] ) * size, idVec2( 1, 0 ) );
gameRenderWorld->ProjectDecalOntoWorld( winding, projectionOrigin, parallel, depth * 0.5f, declManager->FindMaterial( material ), time );
}
/*
==============
idGameLocal::BloodSplat
==============
*/
// RAVEN BEGIN
// ddynerman: multiple collision models
void idGameLocal::BloodSplat( const idEntity* ent, const idVec3 &origin, const idVec3 &dirArg, float size, const char *material ) {
float halfSize = size * 0.5f;
idVec3 verts[] = { idVec3( 0.0f, +halfSize, +halfSize ),
idVec3( 0.0f, +halfSize, -halfSize ),
idVec3( 0.0f, -halfSize, -halfSize ),
idVec3( 0.0f, -halfSize, +halfSize ) };
idVec3 dir = dirArg;
idTraceModel trm;
idClipModel mdl;
trace_t results;
// RAVEN BEGIN
// mekberg: changed from g_bloodEffects to g_decals
if ( !g_decals.GetBool() ) {
return;
}
// RAVEN END
size = halfSize + random.RandomFloat() * halfSize;
trm.SetupPolygon( verts, 4 );
mdl.LoadModel( trm, NULL );
// I don't want dir to be axis aligned, as it is more likely to streak them (because most architecture is axis aligned
dir.Set( dirArg.x*.1f, dirArg.y*.1f, -1 );
dir.Normalize();
// RAVEN BEGIN
// ddynerman: multiple clip worlds
Translation( ent, results, origin, origin + dir * 72.0f, &mdl, mat3_identity, CONTENTS_SOLID, NULL );
// RAVEN END
ProjectDecal( results.endpos, dir, 2.0f * size, true, size, material );
}
/*
=============
idGameLocal::SetCamera
=============
*/
void idGameLocal::SetCamera( idCamera *cam ) {
int i;
idEntity *ent;
idAI *ai;
// this should fix going into a cinematic when dead.. rare but happens
idPlayer *client = GetLocalPlayer();
if ( client->health <= 0 || client->pfl.dead ) {
return;
}
camera = cam;
if ( camera ) {
// RAVEN BEGIN
// bdube: tool support
inCinematic = false;
if( !( gameLocal.editors & ( EDITOR_MODVIEW | EDITOR_PLAYBACKS ) ) ) {
inCinematic = true;
}
// RAVEN END
if ( skipCinematic && camera->spawnArgs.GetBool( "disconnect" ) ) {
camera->spawnArgs.SetBool( "disconnect", false );
cvarSystem->SetCVarFloat( "r_znear", 3.0f );
cmdSystem->BufferCommandText( CMD_EXEC_APPEND, "disconnect\n" );
skipCinematic = false;
return;
}
if ( time > cinematicStopTime ) {
cinematicSkipTime = time + CINEMATIC_SKIP_DELAY;
}
// set r_znear so that transitioning into/out of the player's head doesn't clip through the view
cvarSystem->SetCVarFloat( "r_znear", 1.0f );
// hide all the player models
for( i = 0; i < numClients; i++ ) {
if ( entities[ i ] ) {
client = static_cast< idPlayer* >( entities[ i ] );
client->EnterCinematic();
}
}
if ( !cam->spawnArgs.GetBool( "ignore_enemies" ) ) {
// kill any active monsters that are enemies of the player
for ( ent = spawnedEntities.Next(); ent != NULL; ent = ent->spawnNode.Next() ) {
if ( ent->cinematic || ent->fl.isDormant ) {
// only kill entities that aren't needed for cinematics and aren't dormant
continue;
}
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( ent->IsType( idAI::GetClassType() ) ) {
// RAVEN END
ai = static_cast<idAI *>( ent );
if ( !ai->GetEnemy() || !ai->IsActive() ) {
// no enemy, or inactive, so probably safe to ignore
continue;
}
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
} else if ( ent->IsType( idProjectile::GetClassType() ) ) {
// RAVEN END
// remove all projectiles
} else if ( ent->spawnArgs.GetBool( "cinematic_remove" ) ) {
// remove anything marked to be removed during cinematics
} else {
// ignore everything else
continue;
}
// remove it
DPrintf( "removing '%s' for cinematic\n", ent->GetName() );
ent->PostEventMS( &EV_Remove, 0 );
}
}
} else {
inCinematic = false;
cinematicStopTime = time + msec;
// restore r_znear
cvarSystem->SetCVarFloat( "r_znear", 3.0f );
// show all the player models
for( i = 0; i < numClients; i++ ) {
if ( entities[ i ] ) {
idPlayer *client = static_cast< idPlayer* >( entities[ i ] );
client->ExitCinematic();
}
}
}
}
// RAVEN BEGIN
// jscott: for portal skies
/*
=============
idGameLocal::GetPortalSky
=============
*/
idCamera *idGameLocal::GetPortalSky( void ) const
{
if( !portalSkyVisible ) {
return( NULL );
}
return( portalSky );
}
/*
=============
idGameLocal::SetPortalSky
=============
*/
void idGameLocal::SetPortalSky( idCamera *cam )
{
portalSky = cam;
}
// RAVEN END
/*
=============
idGameLocal::GetCamera
=============
*/
idCamera *idGameLocal::GetCamera( void ) const {
return camera;
}
/*
=============
idGameLocal::SkipCinematic
=============
*/
bool idGameLocal::SkipCinematic( void ) {
if ( camera ) {
if ( camera->spawnArgs.GetBool( "disconnect" ) ) {
camera->spawnArgs.SetBool( "disconnect", false );
cvarSystem->SetCVarFloat( "r_znear", 3.0f );
cmdSystem->BufferCommandText( CMD_EXEC_APPEND, "disconnect\n" );
skipCinematic = false;
return false;
}
if ( camera->spawnArgs.GetBool( "instantSkip" ) ) {
camera->Stop();
return false;
}
}
soundSystem->SetMute( true );
if ( !skipCinematic ) {
skipCinematic = true;
cinematicMaxSkipTime = gameLocal.time + SEC2MS( g_cinematicMaxSkipTime.GetFloat() );
}
return true;
}
// RAVEN BEGIN
/*
======================
idGameLocal::StartViewEffect
For passing in an effect triggered view effect
======================
*/
void idGameLocal::StartViewEffect( int type, float time, float scale )
{
idPlayer *player;
idPlayerView *view;
player = GetLocalPlayer();
if( player )
{
view = &player->playerView;
switch( type )
{
case VIEWEFFECT_DOUBLEVISION:
view->SetDoubleVisionParms( time, scale );
break;
case VIEWEFFECT_SHAKE:
if( !gameLocal.isMultiplayer ) {
view->SetShakeParms( time, scale );
}
break;
case VIEWEFFECT_TUNNEL:
view->SetTunnelParms( time, scale );
break;
default:
gameLocal.Warning( "Invalid view effect" );
break;
}
}
}
/*
======================
idGameLocal::GetPlayerView
======================
*/
void idGameLocal::GetPlayerView( idVec3 &origin, idMat3 &axis )
{
idPlayer *player;
renderView_t *view;
player = GetLocalPlayer();
if( player )
{
view = player->GetRenderView();
if ( !view ) {
player->CalculateRenderView();
view = player->GetRenderView();
assert( view );
}
origin = view->vieworg;
axis = view->viewaxis;
}
else
{
origin = vec3_origin;
axis = mat3_identity;
}
}
/*
======================
idGameLocal::Translation
small portion of physics required for the effects system
======================
*/
void idGameLocal::Translation( trace_t &trace, idVec3 &source, idVec3 &dest, idTraceModel *trm, int clipMask ) {
if( !trm ) {
clip[0]->Translation( trace, source, dest, NULL, mat3_identity, clipMask, NULL, NULL );
} else {
idClipModel cm;
cm.LoadModel( *trm, NULL );
clip[0]->Translation( trace, source, dest, &cm, mat3_identity, clipMask, NULL, NULL );
}
}
/*
======================
idGameLocal::SpawnClientMoveable
======================
*/
void idGameLocal::SpawnClientMoveable( const char* name, int lifetime, const idVec3& origin, const idMat3& axis, const idVec3& velocity, const idVec3& angular_velocity ) {
// find the debris def
const idDict* args = gameLocal.FindEntityDefDict( name, false );
if ( !args ) {
return;
}
// Ensure client moveables never last forever
if ( lifetime <= 0 ) {
lifetime = SEC2MS(args->GetFloat( "duration", "5" ));
}
int burn_time = idMath::ClampInt( 0, lifetime, SEC2MS(args->GetFloat( "burn_time", "2.5" )) );
// Spawn the debris
rvClientMoveable* cent = NULL;
// force the args to spawn a rvClientMoveable
SpawnClientEntityDef( *args, (rvClientEntity**)(¢), false, "rvClientMoveable" );
if( !cent ) {
return;
}
cent->SetOrigin( origin );
cent->SetAxis( axis );
cent->GetPhysics()->SetLinearVelocity( velocity );
cent->GetPhysics()->SetAngularVelocity( angular_velocity );
if ( !burn_time ) {
//just disappear
cent->PostEventMS( &EV_Remove, lifetime );
} else {
cent->PostEventMS( &CL_FadeOut, lifetime-burn_time, burn_time );
}
}
/*
======================
idGameLocal::DebugSet
======================
*/
void idGameLocal::DebugSetString( const char* name, const char* value ) {
gameDebug.SetString( name, value );
}
void idGameLocal::DebugSetFloat( const char* name, float value ) {
gameDebug.SetFloat( name, value );
}
void idGameLocal::DebugSetInt( const char* name, int value ) {
gameDebug.SetInt( name, value );
}
/*
======================
idGameLocal::DebugGetStat
======================
*/
const char* idGameLocal::DebugGetStatString ( const char* name ) {
return gameDebug.GetStatString( name );
}
int idGameLocal::DebugGetStatInt ( const char* name ) {
return gameDebug.GetStatInt( name );
}
float idGameLocal::DebugGetStatFloat ( const char* name ) {
return gameDebug.GetStatFloat( name );
}
/*
======================
idGameLocal::IsDebugHudActive
======================
*/
bool idGameLocal::IsDebugHudActive ( void ) const {
return gameDebug.IsHudActive( DBGHUD_ANY );
}
// rjohnson: added player info support for note taking system
/*
======================
idGameLocal::GetPlayerInfo
======================
*/
bool idGameLocal::GetPlayerInfo( idVec3 &origin, idMat3 &axis, int PlayerNum, idAngles *deltaViewAngles, int reqClientNum ) {
idPlayer *player;
if ( PlayerNum == -1 ) {
player = GetLocalPlayer();
} else {
player = GetClientByNum( PlayerNum );
}
if( reqClientNum != -1 ) {
idPlayer* reqClient = GetClientByNum( reqClientNum );
if( reqClient && player ) {
if( reqClient->GetInstance() != player->GetInstance() ) {
return false;
}
}
}
if ( !player ) {
return false;
}
player->GetViewPos( origin, axis );
origin = player->GetPhysics()->GetOrigin();
if ( deltaViewAngles ) {
*deltaViewAngles = player->GetDeltaViewAngles();
}
return true;
};
/*
======================
idGameLocal::SetCurrentPlayerInfo
======================
*/
void idGameLocal::SetPlayerInfo( idVec3 &origin, idMat3 &axis, int PlayerNum ) {
idPlayer *player;
if ( PlayerNum == -1 ) {
player = GetLocalPlayer();
} else {
player = GetClientByNum( PlayerNum );
}
if ( !player ) {
return;
}
player->Teleport( origin, axis.ToAngles(), NULL );
// RAVEN BEGIN
// ddynerman: save the current thinking entity for instance-dependent
currentThinkingEntity = player;
player->CalculateFirstPersonView();
player->CalculateRenderView();
currentThinkingEntity = NULL;
// RAVEN END
return;
};
bool idGameLocal::PlayerChatDisabled( int clientNum ) {
if( clientNum < 0 || clientNum >= MAX_CLIENTS || !entities[ clientNum ] ) {
return false;
}
return !( ((idPlayer*)entities[ clientNum ])->isChatting || ((idPlayer*)entities[ clientNum ])->pfl.dead );
}
void idGameLocal::SetViewComments( const char *text ) {
idPlayer *player;
player = GetLocalPlayer();
if ( !player ) {
return;
}
if ( text ) {
player->hud->SetStateString( "viewcomments", text );
player->hud->HandleNamedEvent( "showViewComments" );
}
else {
player->hud->SetStateString( "viewcomments", "" );
player->hud->HandleNamedEvent( "hideViewComments" );
}
}
/*
===================
idGameLocal::GetNumGravityAreas
===================
*/
int idGameLocal::GetNumGravityAreas() const {
return gravityInfo.Num();
}
/*
===================
idGameLocal::GetGravityInfo
===================
*/
const rvGravityArea* idGameLocal::GetGravityInfo( int index ) const {
return gravityInfo[ index ];
}
/*
===================
idGameLocal::SetGravityArea
===================
*/
void idGameLocal::SetGravityInfo( int index, rvGravityArea* info ) {
gravityInfo[ index ] = info;
}
/*
===================
idGameLocal::AddUniqueGravityInfo
===================
*/
void idGameLocal::AddUniqueGravityInfo( rvGravityArea* info ) {
gravityInfo.AddUnique( info );
}
/*
===================
idGameLocal::GetCurrentGravityInfoIndex
===================
*/
int idGameLocal::GetCurrentGravityInfoIndex( const idVec3& origin ) const {
int numGravityAreas = GetNumGravityAreas();
if( !numGravityAreas ) {
return -1;
}
int areaNum = gameRenderWorld->PointInArea( origin );
for( int ix = 0; ix < numGravityAreas; ++ix ) {
if( !gameRenderWorld->AreasAreConnected(GetGravityInfo(ix)->GetArea(), areaNum, PS_BLOCK_GRAVITY) ) {
continue;
}
return ix;
}
return -1;
}
/*
===================
idGameLocal::InGravityArea
===================
*/
bool idGameLocal::InGravityArea( idEntity* entity ) const {
return GetCurrentGravityInfoIndex( entity ) >= 0;
}
/*
===================
idGameLocal::GetCurrentGravityInfoIndex
===================
*/
int idGameLocal::GetCurrentGravityInfoIndex( idEntity* entity ) const {
return GetCurrentGravityInfoIndex( entity->GetPhysics()->GetOrigin() );
}
/*
===================
idGameLocal::GetCurrentGravity
===================
*/
const idVec3 idGameLocal::GetCurrentGravity( idEntity* entity ) const {
int index = GetCurrentGravityInfoIndex( entity );
return (index >= 0) ? gravityInfo[ index ]->GetGravity(entity) : GetGravity();
}
/*
===================
idGameLocal::GetCurrentGravity
===================
*/
const idVec3 idGameLocal::GetCurrentGravity( const idVec3& origin, const idMat3& axis ) const {
int index = GetCurrentGravityInfoIndex( origin );
return (index >= 0) ? gravityInfo[ index ]->GetGravity(origin, axis, MASK_SOLID, NULL) : GetGravity();
}
/*
===================
idGameLocal::InGravityArea
===================
*/
bool idGameLocal::InGravityArea( rvClientEntity* entity ) const {
return GetCurrentGravityInfoIndex( entity ) >= 0;
}
/*
===================
idGameLocal::GetCurrentGravityInfoIndex
===================
*/
int idGameLocal::GetCurrentGravityInfoIndex( rvClientEntity* entity ) const {
return GetCurrentGravityInfoIndex( entity->GetPhysics()->GetOrigin() );
}
/*
===================
idGameLocal::GetCurrentGravity
===================
*/
const idVec3 idGameLocal::GetCurrentGravity( rvClientEntity* entity ) const {
int index = GetCurrentGravityInfoIndex( entity );
return (index >= 0) ? gravityInfo[ index ]->GetGravity(entity) : GetGravity();
}
/*
===================
idGameLocal::ReferenceScriptObjectProxy
===================
*/
idEntity* idGameLocal::ReferenceScriptObjectProxy( const char* scriptObjectName ) {
idEntity* proxy = NULL;
idEntityPtr<idEntity> safeProxy;
idDict args;
idScriptObject* object = NULL;
for( int ix = 0; ix < scriptObjectProxies.Num(); ++ix ) {
proxy = scriptObjectProxies[ ix ].GetEntity();
assert( proxy );
object = &proxy->scriptObject;
if( !object->data ) {
object->SetType( scriptObjectName );
proxy->ConstructScriptObject();
return proxy;
}
}
args.Set( "classname", "func_static" );
args.Set( "scriptobject", scriptObjectName );
args.SetBool( "noclipmodel", true );
bool spawned = SpawnEntityDef(args, &proxy);
if ( !spawned ) {
assert( 0 );
}
safeProxy = proxy;
scriptObjectProxies.AddUnique( safeProxy );
return proxy;
}
/*
===================
idGameLocal::ReleaseScriptObjectProxy
===================
*/
void idGameLocal::ReleaseScriptObjectProxy( const char* proxyName ) {
idScriptObject* object = NULL;
idEntity* entity = NULL;
for( int ix = 0; ix < scriptObjectProxies.Num(); ++ix ) {
entity = scriptObjectProxies[ ix ].GetEntity();
if( entity && !idStr::Icmp(entity->GetName(), proxyName) ) {
object = &entity->scriptObject;
if( !object ) {
continue;
}
entity->DeconstructScriptObject();
object->Free();
}
}
}
// RAVEN BEGIN
// rjohnson: entity usage stats
void idGameLocal::ListEntityStats( const idCmdArgs &args ) {
int i, j;
idStr currentMap;
idList<idStr> uniqueMapNames;
for( i = 1; i < args.Argc(); i++ ) {
if ( idStr::Icmp( args.Argv( i ), "clear" ) == 0 ) {
entityUsageList.Clear();
common->Printf("Entity stats cleared.\n");
return;
}
}
for( i = 0; i < entityUsageList.Num(); i++ ) {
entityUsageList[ i ].SetInt( "reported_stat", false );
}
for( i = 0; i < entityUsageList.Num(); i++ ) {
idStr mapFileName, className;
int count;
if ( entityUsageList[ i ].GetInt( "reported_stat" ) ) {
continue;
}
entityUsageList[ i ].GetString( "mapFileName", "none", mapFileName );
if ( currentMap != mapFileName )
{
if ( i ) {
common->Printf( "\n" );
}
common->Printf( "================ %s ================\n", mapFileName.c_str() );
currentMap = mapFileName;
uniqueMapNames.Insert( mapFileName );
}
entityUsageList[ i ].GetString( "classname", "none", className );
count = 0;
for( j = i; j < entityUsageList.Num(); j++ ) {
idStr checkMapFileName, checkClassName;
entityUsageList[ j ].GetString( "mapFileName", "none", checkMapFileName );
if ( checkMapFileName != mapFileName ) {
break;
}
entityUsageList[ j ].GetString( "classname", "none", checkClassName );
if ( checkClassName == className ) {
entityUsageList[ j ].SetInt( "reported_stat", 1 );
count++;
}
}
common->Printf("%d\t%s\n", count, className.c_str() );
}
common->Printf( "\n" );
common->Printf( "\n" );
common->Printf( "================ OVERALL ================\n" );
for( i = 0; i < entityUsageList.Num(); i++ ) {
idStr mapFileName, className;
int count;
if ( entityUsageList[ i ].GetInt( "reported_stat" ) == 2 ) {
continue;
}
entityUsageList[ i ].GetString( "classname", "none", className );
count = 0;
for( j = i; j < entityUsageList.Num(); j++ ) {
idStr checkClassName;
entityUsageList[ j ].GetString( "classname", "none", checkClassName );
if ( checkClassName == className ) {
entityUsageList[ j ].SetInt( "reported_stat", 2 );
count++;
}
}
common->Printf("%d\t%s\n", count, className.c_str() );
}
idFile *FH = fileSystem->OpenFileWrite( "EntityStats.csv" );
if ( FH ) {
int size = sizeof( int ) * uniqueMapNames.Num();
int *count = ( int * )_alloca( size );
FH->Printf("\"Definition\"");
for( i = 0; i < uniqueMapNames.Num(); i++ ) {
FH->Printf( ",\"%s\"", uniqueMapNames[ i ].c_str() );
}
FH->Printf(",Total\n");
for( i = 0; i < entityUsageList.Num(); i++ ) {
idStr className;
int total;
if ( entityUsageList[ i ].GetInt( "reported_stat" ) == 3 ) {
continue;
}
entityUsageList[ i ].GetString( "classname", "none", className );
memset( count, 0, size );
for( j = i; j < entityUsageList.Num(); j++ )
{
idStr checkMapFileName, checkClassName;
entityUsageList[ j ].GetString( "classname", "none", checkClassName );
if ( checkClassName == className ) {
entityUsageList[ j ].SetInt( "reported_stat", 3 );
entityUsageList[ j ].GetString( "mapFileName", "none", checkMapFileName );
int loc = uniqueMapNames.FindIndex( checkMapFileName );
if ( loc >= 0 ) {
count[ loc ]++;
}
}
}
total = 0;
FH->Printf( "\"%s\"", className.c_str() );
for( j = 0; j < uniqueMapNames.Num(); j++ ) {
FH->Printf( ",%d", count[ j ] );
total += count[ j ];
}
FH->Printf( ",%d\n", total );
}
fileSystem->CloseFile( FH );
}
}
// RAVEN END
/*
======================
idGameLocal::SpreadLocations
Now that everything has been spawned, associate areas with location entities
======================
*/
void idGameLocal::SpreadLocations() {
idEntity *ent;
// RAVEN BEGIN
if( !gameRenderWorld ) {
common->Error( "GameRenderWorld is NULL!" );
}
// RAVEN END
// allocate the area table
int numAreas = gameRenderWorld->NumAreas();
locationEntities = new idLocationEntity *[ numAreas ];
memset( locationEntities, 0, numAreas * sizeof( *locationEntities ) );
// for each location entity, make pointers from every area it touches
for( ent = spawnedEntities.Next(); ent != NULL; ent = ent->spawnNode.Next() ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if ( !ent->IsType( idLocationEntity::GetClassType() ) ) {
// RAVEN END
continue;
}
idVec3 point = ent->spawnArgs.GetVector( "origin" );
int areaNum = gameRenderWorld->PointInArea( point );
if ( areaNum < 0 ) {
Printf( "SpreadLocations: location '%s' is not in a valid area\n", ent->spawnArgs.GetString( "name" ) );
continue;
}
if ( areaNum >= numAreas ) {
Error( "idGameLocal::SpreadLocations: areaNum >= gameRenderWorld->NumAreas()" );
}
if ( locationEntities[areaNum] ) {
Warning( "location entity '%s' overlaps '%s'", ent->spawnArgs.GetString( "name" ),
locationEntities[areaNum]->spawnArgs.GetString( "name" ) );
continue;
}
locationEntities[areaNum] = static_cast<idLocationEntity *>(ent);
// spread to all other connected areas
for ( int i = 0 ; i < numAreas ; i++ ) {
if ( i == areaNum ) {
continue;
}
if ( gameRenderWorld->AreasAreConnected( areaNum, i, PS_BLOCK_LOCATION ) ) {
locationEntities[i] = static_cast<idLocationEntity *>(ent);
}
}
}
}
/*
===================
idGameLocal::AddLocation
===================
*/
idLocationEntity* idGameLocal::AddLocation( const idVec3& point, const char* name ) {
int areaNum = gameRenderWorld->PointInArea( point );
if ( areaNum < 0 ) {
Warning ( "idGameLocal::AddLocation: cannot add location entity '%s' at '%g %g %g'\n", name, point.x, point.y, point.z );
return NULL;
}
if ( areaNum >= gameRenderWorld->NumAreas() ) {
Error( "idGameLocal::AddLocation: areaNum >= gameRenderWorld->NumAreas()" );
}
if ( locationEntities[areaNum] ) {
Warning ( "idGameLocal::AddLocation: location '%s' already exists at '%g %g %g'\n", locationEntities[areaNum]->GetName(), point.x, point.y, point.z );
return NULL;
}
// Spawn the new location entity
idDict args;
args.Set ( "location", name );
locationEntities[areaNum] = static_cast<idLocationEntity*>(SpawnEntityType ( idLocationEntity::GetClassType(), &args ));
// spread to all other connected areas
for ( int i = gameRenderWorld->NumAreas() - 1 ; i >= 0 ; i-- ) {
if ( i == areaNum ) {
continue;
}
if ( gameRenderWorld->AreasAreConnected( areaNum, i, PS_BLOCK_LOCATION ) ) {
locationEntities[i] = static_cast<idLocationEntity *>(locationEntities[areaNum]);
}
}
return locationEntities[areaNum];
}
/*
===================
idGameLocal::LocationForPoint
The player checks the location each frame to update the HUD text display
May return NULL
===================
*/
idLocationEntity *idGameLocal::LocationForPoint( const idVec3 &point ) {
if ( !locationEntities ) {
// before SpreadLocations() has been called
return NULL;
}
int areaNum = gameRenderWorld->PointInArea( point );
if ( areaNum < 0 ) {
return NULL;
}
if ( areaNum >= gameRenderWorld->NumAreas() ) {
Error( "idGameLocal::LocationForPoint: areaNum >= gameRenderWorld->NumAreas()" );
}
return locationEntities[ areaNum ];
}
/*
============
idGameLocal::SetPortalState
============
*/
void idGameLocal::SetPortalState( qhandle_t portal, int blockingBits ) {
idBitMsg outMsg;
byte msgBuf[ MAX_GAME_MESSAGE_SIZE ];
if ( !gameLocal.isClient ) {
outMsg.Init( msgBuf, sizeof( msgBuf ) );
outMsg.WriteByte( GAME_RELIABLE_MESSAGE_PORTAL );
outMsg.WriteLong( portal );
outMsg.WriteBits( blockingBits, NUM_RENDER_PORTAL_BITS );
networkSystem->ServerSendReliableMessage( -1, outMsg );
}
gameRenderWorld->SetPortalState( portal, blockingBits );
}
/*
============
idGameLocal::sortSpawnPoints
============
*/
int idGameLocal::sortSpawnPoints( const void *ptr1, const void *ptr2 ) {
const spawnSpot_t *spot1 = static_cast<const spawnSpot_t *>( ptr1 );
const spawnSpot_t *spot2 = static_cast<const spawnSpot_t *>( ptr2 );
float diff;
diff = spot1->dist - spot2->dist;
if ( diff < 0.0f ) {
return 1;
} else if ( diff > 0.0f ) {
return -1;
} else {
return 0;
}
}
// RAVEN BEGIN
// ddynerman: new gametype specific spawn code
// TODO this should be moved to idMultiplayerGame
/*
===========
idGameLocal::InitializeSpawns
randomize the order of the initial spawns
prepare for a sequence of initial player spawns
============
*/
void idGameLocal::InitializeSpawns( void ) {
idEntity* spot = NULL;
// initialize the spawns for clients as well, need them for free fly demo replays
if ( !isMultiplayer ) {
return;
}
spawnSpots.Clear();
for( int i = 0; i < TEAM_MAX; i++ ) {
teamSpawnSpots[i].Clear();
}
spot = FindEntityUsingDef( NULL, "info_player_team" );
while( spot ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if( spot->IsType ( idPlayerStart::GetClassType() ) ) {
// RAVEN END
if( !idStr::Icmp(spot->spawnArgs.GetString("team"), "strogg") ) {
teamSpawnSpots[TEAM_STROGG].Append( static_cast<idPlayerStart*>(spot) );
} else if( !idStr::Icmp(spot->spawnArgs.GetString("team"), "marine") ) {
teamSpawnSpots[TEAM_MARINE].Append( static_cast<idPlayerStart*>(spot) );
}
// spawnSpots contains info_player_team as well as info_player_deathmatch
spawnSpots.Append ( static_cast<idPlayerStart*>(spot) );
}
spot = FindEntityUsingDef( spot, "info_player_team" );
}
spot = FindEntityUsingDef( NULL, "info_player_deathmatch" );
while( spot ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if( spot->IsType ( idPlayerStart::GetClassType() ) ) {
// RAVEN END
spawnSpots.Append ( static_cast<idPlayerStart*>(spot) );
}
spot = FindEntityUsingDef( spot, "info_player_deathmatch" );
}
while( spot ) {
// RAVEN BEGIN
// jnewquist: Use accessor for static class type
if( spot->IsType ( idPlayerStart::GetClassType() ) ) {
// RAVEN END
if( !idStr::Icmp(spot->spawnArgs.GetString("team"), "strogg") ) {
teamSpawnSpots[TEAM_STROGG].Append( static_cast<idPlayerStart*>(spot) );
} else if( !idStr::Icmp(spot->spawnArgs.GetString("team"), "marine") ) {
teamSpawnSpots[TEAM_MARINE].Append( static_cast<idPlayerStart*>(spot) );
}
// spawnSpots contains info_player_team as well as info_player_deathmatch
spawnSpots.Append ( static_cast<idPlayerStart*>(spot) );
}
spot = FindEntityUsingDef( spot, "info_player_team" );
}
if( IsFlagGameType() && ( teamSpawnSpots[ TEAM_STROGG ].Num() == 0 || teamSpawnSpots[ TEAM_MARINE ].Num() == 0 ) ) {
Error( "InitializeSpawns() - Map must have at least one Marine and one Strogg spawn for CTF gametype.");
}
if( spawnSpots.Num() == 0 ) {
Error( "InitializeSpawns() - Map must have a spawn spot." );
}
common->Printf( "%d general spawns\n", spawnSpots.Num() );
common->Printf( "%d team spawns (%d strogg/%d marine)\n", teamSpawnSpots[TEAM_STROGG].Num() + teamSpawnSpots[TEAM_MARINE].Num(),
teamSpawnSpots[TEAM_STROGG].Num(), teamSpawnSpots[TEAM_MARINE].Num());
}
/*
===========
idGameLocal::UpdateForwardSpawn
ddynerman: Updates forward spawn lists
===========
*/
void idGameLocal::UpdateForwardSpawns( rvCTFAssaultPlayerStart* point, int team ) {
teamForwardSpawnSpots[ team ].Append( point );
}
/*
===========
idGameLocal::ClearForwardSpawn
ddynerman: Clears forward spawn lists
===========
*/
void idGameLocal::ClearForwardSpawns( void ) {
for( int i = 0; i < TEAM_MAX; i++ ) {
teamForwardSpawnSpots[ i ].Clear();
}
}
/*
===========
idGameLocal::SpotWouldTelefrag
===========
*/
bool idGameLocal::SpotWouldTelefrag( idPlayer* player, idPlayerStart* spawn ) {
idPlayer* playerList[ MAX_CLIENTS ];
idBounds bound = player->GetPhysics()->GetBounds();
bound.TranslateSelf( spawn->GetPhysics()->GetOrigin() );
int numEntities = PlayersTouchingBounds( player, bound, CONTENTS_BODY, playerList, MAX_CLIENTS );
return !( numEntities == 0 );
}
/*
===========
idGameLocal::SelectSpawnSpot
ddynerman: Selects a spawn spot randomly from spots furthest from the player
This is taken from q3
===========
*/
idEntity* idGameLocal::SelectSpawnPoint( idPlayer* player ) {
if( !isMultiplayer ) {
idEntity* ent = FindEntityUsingDef( NULL, "info_player_start" );
if ( !ent ) {
Error( "No info_player_start on map.\n" );
}
return ent;
}
if ( player == NULL ) {
return NULL;
}
// Give spectators any old random spot
if ( player->team < 0 || player->team >= TEAM_MAX || player->spectating ) {
common->DPrintf("Returning a random spot\n");
return spawnSpots[ random.RandomInt( spawnSpots.Num() ) ];
}
idList<spawnSpot_t> weightedSpawns;
idList<idPlayerStart*>* spawnArray = NULL;
// Pick which spawns to use based on gametype
// RITUAL BEGIN
// squirrel: added DeadZone multiplayer mode
if( gameLocal.gameType == GAME_DM || gameLocal.gameType == GAME_TDM || gameLocal.gameType == GAME_TOURNEY ) {
spawnArray = &spawnSpots;
}
else if( IsFlagGameType() || gameLocal.gameType == GAME_DEADZONE ) {
if( teamForwardSpawnSpots[ player->team ].Num() ) {
spawnArray = &teamForwardSpawnSpots[ player->team ];
} else {
spawnArray = &teamSpawnSpots[ player->team ];
}
}
// RITUAL END
if ( spawnArray == NULL ) {
Error( "SelectSpawnPoint() - invalid spawn list." );
return NULL;
}
idVec3 refPos;
if ( player->lastKiller != NULL && !player->lastKiller->spectating && player->lastKiller->GetInstance() == player->GetInstance() ) {
refPos = player->lastKiller->GetPhysics()->GetOrigin();
} else {
refPos = player->GetPhysics()->GetOrigin();
}
for ( int i = 0; i < spawnArray->Num(); i++ ) {
idPlayerStart* spot = (*spawnArray)[i];
if ( spot->GetInstance() != player->GetInstance() || SpotWouldTelefrag( player, spot ) ) {
continue;
}
idVec3 pos = spot->GetPhysics()->GetOrigin();
float dist = ( pos - refPos ).LengthSqr();
spawnSpot_t newSpot;
newSpot.dist = dist;
newSpot.ent = (*spawnArray)[ i ];
weightedSpawns.Append( newSpot );
}
if ( weightedSpawns.Num() == 0 ) {
// no spawns avaialable, spawn randomly
common->DPrintf("no spawns avaialable, spawn randomly\n");
return (*spawnArray)[ random.RandomInt( spawnArray->Num() ) ];
}
qsort( ( void * )weightedSpawns.Ptr(), weightedSpawns.Num(), sizeof( spawnSpot_t ), ( int (*)(const void *, const void *) )sortSpawnPoints );
int rnd = rvRandom::flrand( 0.0, 1.0 ) * (weightedSpawns.Num() / 2);
return weightedSpawns[ rnd ].ent;
}
/*
================
idGameLocal::UpdateServerInfoFlags
================
*/
// RAVEN BEGIN
// ddynerman: new gametype strings
void idGameLocal::SetGameType( void ) {
gameType = GAME_SP;
if ( idStr::Icmp( serverInfo.GetString( "si_gameType" ), "singleplayer" ) ) {
mpGame.SetGameType();
}
}
// RAVEN END
/*
================
idGameLocal::SetGlobalMaterial
================
*/
void idGameLocal::SetGlobalMaterial( const idMaterial *mat ) {
globalMaterial = mat;
}
/*
================
idGameLocal::GetGlobalMaterial
================
*/
const idMaterial *idGameLocal::GetGlobalMaterial() {
return globalMaterial;
}
/*
================
idGameLocal::GetSpawnId
================
*/
int idGameLocal::GetSpawnId( const idEntity* ent ) const {
return ( gameLocal.spawnIds[ ent->entityNumber ] << GENTITYNUM_BITS ) | ent->entityNumber;
}
/*
================
idGameLocal::ThrottleUserInfo
================
*/
void idGameLocal::ThrottleUserInfo( void ) {
mpGame.ThrottleUserInfo();
}
/*
===========
idGameLocal::ValidateServerSettings
============
*/
bool idGameLocal::ValidateServerSettings( const char* map, const char* gametype ) {
// PickMap uses si_map directly
// PickMap returns wether we would have to change the maps, which means settings are invalid
assert( !idStr::Icmp( si_map.GetString(), map ) );
if ( mpGame.PickMap( gametype, true ) ) {
common->Printf( "map '%s' and gametype '%s' are not compatible\n", map, gametype );
return false;
}
return true;
}
/*
===========
idGameLocal::NeedRestart
============
*/
bool idGameLocal::NeedRestart() {
idDict newInfo;
const idKeyValue *keyval, *keyval2;
newInfo = *cvarSystem->MoveCVarsToDict( CVAR_SERVERINFO );
for ( int i = 0; i < newInfo.GetNumKeyVals(); i++ ) {
keyval = newInfo.GetKeyVal( i );
keyval2 = serverInfo.FindKey( keyval->GetKey() );
if ( !keyval2 ) {
return true;
}
// a select set of si_ changes will cause a full restart of the server
if ( keyval->GetValue().Icmp( keyval2->GetValue() ) && ( !keyval->GetKey().Icmp( "si_pure" ) || !keyval->GetKey().Icmp( "si_map" ) || !keyval->GetKey().Icmp( "si_fps" ) ) ) {
return true;
}
}
return false;
}
// RAVEN BEGIN
// jshepard: update player hud to alert to end of level
/*
===================
idGameLocal::UpdateEndLevel
===================
*/
void idGameLocal::UpdateEndLevel() {
idPlayer * player = GetLocalPlayer();
if( player && player->GetHud() ) {
player->GetHud()->HandleNamedEvent( "showExit" );
}
}
// bdube: added
/*
================
idGameLocal::GetEffect
Get the handle of the effect with the given name
================
*/
const idDecl *idGameLocal::GetEffect ( const idDict& args, const char* effectName, const rvDeclMatType* materialType ) {
const char *effectFile = NULL;
float chance = args.GetFloat ( idStr("effectchance ") + effectName, "1" );
if ( random.RandomFloat ( ) > chance ) {
return NULL;
}
// we should ALWAYS be playing sounds from the def.
// hardcoded sounds MUST be avoided at all times because they won't get precached.
assert( !idStr::Icmpn( effectName, "fx_", 3 ) );
if ( materialType ) {
idStr temp;
const char* result = NULL;
temp = effectName;
temp += "_";
temp += materialType->GetName();
// See if the given material effect is specified
idStr testMP = temp;
testMP += "_mp";
result = args.GetString( testMP );
if ( !result || !*result ) {
result = args.GetString( temp );
}
if ( result && *result) {
return( ( const idDecl * )declManager->FindEffect( result ) );
}
}
// grab the non material effect name
idStr alternateEffect = effectName;
alternateEffect += "_mp";
idStr classname = args.GetString( "classname" );
if ( !alternateEffect.Icmp( "fx_fly_mp" ) ) {
if (
( !g_nailTrail.GetBool() && !classname.Icmpn( "projectile_nail", 15 ) ) ||
( !g_rocketTrail.GetBool() && !classname.Icmpn( "projectile_rocket", 17 ) ) ||
( !g_napalmTrail.GetBool() && !classname.Icmpn( "projectile_napalm", 17 ) ) )
{
alternateEffect += "_low";
} else if ( !g_grenadeTrail.GetBool() && !classname.Icmpn( "projectile_grenade", 18 ) )
{
return NULL;
}
} else if ( !alternateEffect.Icmp( "fx_path_mp" ) )
{
if ( !g_railTrail.GetBool() && !classname.Icmpn( "hitscan_railgun", 15 ) )
{
alternateEffect += "_low";
}
}
effectFile = args.GetString( alternateEffect );
if ( !effectFile || !*effectFile ) {
effectFile = args.GetString( effectName );
}
if ( !effectFile || !*effectFile ) {
return NULL;
}
return( ( const idDecl * )declManager->FindEffect( effectFile ) );
}
/*
================
idGameLocal::PlayEffect
Plays an effect at the given origin using the given direction
================
*/
rvClientEffect* idGameLocal::PlayEffect(
const idDecl *effect,
const idVec3& origin,
const idMat3& axis,
bool loop,
const idVec3& endOrigin,
bool broadcast,
bool predictedBit,
effectCategory_t category,
const idVec4& effectTint ) {
if ( !effect ) {
return NULL;
}
if ( !gameLocal.isNewFrame ) {
return NULL;
}
if ( isServer && broadcast ) {
idBitMsg msg;
byte msgBuf[MAX_GAME_MESSAGE_SIZE];
idCQuat quat;
quat = axis.ToCQuat();
msg.Init( msgBuf, sizeof( msgBuf ) );
msg.BeginWriting();
msg.WriteByte( GAME_UNRELIABLE_MESSAGE_EFFECT );
idGameLocal::WriteDecl( msg, effect );
msg.WriteFloat( origin.x );
msg.WriteFloat( origin.y );
msg.WriteFloat( origin.z );
msg.WriteFloat( quat.x );
msg.WriteFloat( quat.y );
msg.WriteFloat( quat.z );
msg.WriteFloat( endOrigin.x );
msg.WriteFloat( endOrigin.y );
msg.WriteFloat( endOrigin.z );
msg.WriteByte( category );
msg.WriteBits( loop, 1 );
msg.WriteBits( predictedBit, 1 );
// send to everyone who has start or end in it's PVS
SendUnreliableMessagePVS( msg, currentThinkingEntity, pvs.GetPVSArea( origin ), pvs.GetPVSArea( endOrigin ) );
}
if ( isServer && localClientNum < 0 ) {
// no effects on dedicated server
return NULL;
}
if ( bse->Filtered( effect->GetName(), category ) ) {
// Effect filtered out
return NULL;
}
// RAVEN END
if ( gameLocal.isListenServer && currentThinkingEntity && gameLocal.GetLocalPlayer() ) {
if ( currentThinkingEntity->GetInstance() != gameLocal.GetLocalPlayer()->GetInstance() ) {
return NULL;
}
}
// mwhitlock: Dynamic memory consolidation
RV_PUSH_SYS_HEAP_ID(RV_HEAP_ID_MULTIPLE_FRAME);
rvClientEffect* clientEffect = new rvClientEffect( effect );
RV_POP_HEAP();
if( !clientEffect ) {
common->Warning( "Failed to create effect \'%s\'\n", effect->GetName() );
return NULL;
}
if( clientEffect->entityNumber == -1 ) {
common->Warning( "Failed to spawn effect \'%s\'\n", effect->GetName() );
delete clientEffect;
return NULL;
}
clientEffect->SetOrigin( origin );
clientEffect->SetAxis( axis );
clientEffect->SetGravity( GetCurrentGravity( origin, axis ) );
if ( !clientEffect->Play( gameLocal.time, loop, endOrigin ) ) {
delete clientEffect;
return NULL;
}
clientEffect->GetRenderEffect()->shaderParms[ SHADERPARM_RED ] = effectTint[ 0 ];
clientEffect->GetRenderEffect()->shaderParms[ SHADERPARM_GREEN ] = effectTint[ 1 ];
clientEffect->GetRenderEffect()->shaderParms[ SHADERPARM_BLUE ] = effectTint[ 2 ];
clientEffect->GetRenderEffect()->shaderParms[ SHADERPARM_ALPHA ] = effectTint[ 3 ];
return clientEffect;
}
void idGameLocal::CheckPlayerWhizzBy( idVec3 start, idVec3 end, idEntity* hitEnt, idEntity *attacker )
{
//FIXME: make this client-side? Work in MP?
if ( gameLocal.isMultiplayer ) {
return;
}
idPlayer* player = gameLocal.GetLocalPlayer();
if ( !player ) {
return;
}
if ( player->IsHidden() ) {
return;
}
if ( player == attacker ) {
return;
}
if ( player == hitEnt ) {
return;
}
idVec3 center = player->firstPersonViewOrigin;
idVec3 diff = end-center;
if ( diff.Length() < 64.0f ) {
//hit too close - didn't actually pass by, will hear impact sound instead
return;
}
idVec3 closestPoint = player->firstPersonViewOrigin;
if ( closestPoint.ProjectToLineSeg( start, end ) ) {
//on line seg
diff = closestPoint-center;
if ( diff.Length() < 48.0f ) {
//close enough to hear whizz-by
idVec3 dir = end-start;
dir.Normalize();
idVec3 fxStart = closestPoint+dir*-32.0f;
idVec3 fxEnd = closestPoint+dir*32.0f;
player->PlayEffect( "fx_whizby", fxStart, player->firstPersonViewAxis, false, fxEnd );
}
}
}
/*
================
idGameLocal::HitScan
Run a hitscan trace from the given origin and direction
================
*/
idEntity* idGameLocal::HitScan(
const idDict& hitscanDict,
const idVec3& origOrigin,
const idVec3& origDir,
const idVec3& origFxOrigin,
idEntity* owner,
bool noFX,
float damageScale,
// twhitaker: added additionalIgnore parameter
idEntity* additionalIgnore,
int areas[ 2 ]
) {
idVec3 dir;
idVec3 origin;
idVec3 fxOrigin;
idVec3 fxDir;
idVec3 impulse;
idVec4 hitscanTint( 1.0f, 1.0f, 1.0f, 1.0f );
int reflect;
float tracerChance;
idEntity* ignore;
float penetrate;
if ( areas ) {
areas[ 0 ] = pvs.GetPVSArea( origFxOrigin );
areas[ 1 ] = -1;
}
ignore = owner;
penetrate = hitscanDict.GetFloat( "penetrate" );
if( hitscanDict.GetBool( "hitscanTint" ) && owner->IsType( idPlayer::GetClassType() ) ) {
hitscanTint = ((idPlayer*)owner)->GetHitscanTint();
}
// twhitaker: additionalIgnore parameter
if ( !additionalIgnore ) {
additionalIgnore = ignore;
}
origin = origOrigin;
fxOrigin = origFxOrigin;
dir = origDir;
tracerChance = ((g_perfTest_weaponNoFX.GetBool())?0:hitscanDict.GetFloat( "tracerchance", "0" ));
// Apply player powerups
if ( owner && owner->IsType( idPlayer::GetClassType() ) ) {
damageScale *= static_cast<idPlayer*>(owner)->PowerUpModifier(PMOD_PROJECTILE_DAMAGE);
}
// Run reflections
for ( reflect = hitscanDict.GetFloat( "reflect", "0" ); reflect >= 0; reflect-- ) {
idVec3 start;
idVec3 end;
idEntity* ent;
idEntity* actualHitEnt;
trace_t tr;
int contents;
int collisionArea;
idVec3 collisionPoint;
bool tracer;
// Calculate the end point of the trace
start = origin;
if ( g_perfTest_hitscanShort.GetBool() ) {
end = start + (dir.ToMat3() * idVec3(idMath::ClampFloat(0,2048,hitscanDict.GetFloat ( "range", "2048" )),0,0));
} else {
end = start + (dir.ToMat3() * idVec3(hitscanDict.GetFloat ( "range", "40000" ),0,0));
}
if ( g_perfTest_hitscanBBox.GetBool() ) {
contents = MASK_SHOT_BOUNDINGBOX|CONTENTS_PROJECTILE;
} else {
contents = MASK_SHOT_RENDERMODEL|CONTENTS_WATER|CONTENTS_PROJECTILE;
}
// Loop the traces to handle cases where something can be shot through
while ( 1 ) {
// Trace to see if we hit any entities
// RAVEN BEGIN
// ddynerman: multiple clip worlds
if ( hitscanDict.GetFloat( "trace_size", "0" ) > 0.0f )
{
float range = hitscanDict.GetFloat ( "range", "1024" );
if ( range > 4096.0f )
{
assert( !(range > 4096.0f) );
Warning( "idGameLocal::HitScan: hitscan def (%s) with trace_size must have max range of 4096!", hitscanDict.GetString( "classname" ) );
range = idMath::ClampFloat( 0.0f, 4096.0f, range );
}
end = start + (dir * range);
idBounds traceBounds;
traceBounds.Zero();
traceBounds.ExpandSelf( hitscanDict.GetFloat( "trace_size", "0" ) );
// twhitaker: additionalIgnore parameter
TraceBounds( owner, tr, start, end, traceBounds, contents, additionalIgnore );
}
else
{
// twhitaker: additionalIgnore parameter
TracePoint( owner, tr, start, end, contents, additionalIgnore );
}
//gameRenderWorld->DebugArrow( colorRed, start, end, 10, 5000 );
// RAVEN END
// If the hitscan hit a no impact surface we can just return out
//assert( tr.c.material );
if ( tr.fraction >= 1.0f || (tr.c.material && tr.c.material->GetSurfaceFlags() & SURF_NOIMPACT) ) {
PlayEffect( hitscanDict, "fx_path", fxOrigin, dir.ToMat3(), false, tr.endpos, false, false, EC_IGNORE, hitscanTint );
if ( random.RandomFloat( ) < tracerChance ) {
PlayEffect( hitscanDict, "fx_tracer", fxOrigin, dir.ToMat3(), false, tr.endpos );
tracer = true;
} else {
tracer = false;
}
if ( areas ) {
collisionArea = pvs.GetPVSArea( tr.endpos );
if ( collisionArea != areas[0] ) {
areas[1] = collisionArea;
}
}
return NULL;
}
// computing the collisionArea from the collisionPoint fails sometimes
if ( areas ) {
collisionArea = pvs.GetPVSArea( tr.c.point );
if ( collisionArea != areas[0] ) {
areas[1] = collisionArea;
}
}
collisionPoint = tr.c.point - ( tr.c.normal * tr.c.point - tr.c.dist ) * tr.c.normal;
ent = entities[ tr.c.entityNum ];
actualHitEnt = NULL;
start = collisionPoint;
// Keep tracing if we hit water
if ( (ent->GetPhysics()->GetContents() & CONTENTS_WATER) || (tr.c.material && (tr.c.material->GetContentFlags() & CONTENTS_WATER)) ) {
// Apply force to the water entity that was hit
ent->ApplyImpulse( owner, tr.c.id, tr.c.point, -(hitscanDict.GetFloat( "push", "5000" )) * tr.c.normal );
// Continue on excluding water
contents &= (~CONTENTS_WATER);
if ( !g_perfTest_weaponNoFX.GetBool() ) {
if ( ent->CanPlayImpactEffect( owner, ent ) ) {
if ( ent->IsType( idMover::GetClassType( ) ) ) {
ent->PlayEffect( GetEffect( hitscanDict, "fx_impact", tr.c.materialType ), collisionPoint, tr.c.normal.ToMat3(), false, vec3_origin, false, false, EC_IMPACT, hitscanTint );
} else {
gameLocal.PlayEffect( GetEffect( hitscanDict, "fx_impact", tr.c.materialType ), collisionPoint, tr.c.normal.ToMat3(), false, vec3_origin, false, false, EC_IMPACT, hitscanTint );
}
}
}
continue;
// Reflect off a bounce target?
} else if ( (tr.c.material->GetSurfaceFlags ( ) & SURF_BOUNCE) && !hitscanDict.GetBool ( "noBounce" ) ) {
reflect++;
}
// If the hit entity is bound to an actor use the actor instead
if ( ent->fl.takedamage && ent->GetTeamMaster( ) && ent->GetTeamMaster( )->IsType ( idActor::GetClassType() ) ) {
actualHitEnt = ent;
ent = ent->GetTeamMaster( );
}
if ( !gameLocal.isClient ) {
// Apply force to the entity that was hit
ent->ApplyImpulse( owner, tr.c.id, tr.c.point, -tr.c.normal, &hitscanDict );
// Handle damage to the entity
if ( ent->fl.takedamage && !(( tr.c.material != NULL ) && ( tr.c.material->GetSurfaceFlags() & SURF_NODAMAGE )) ) {
const char* damage;
damage = NULL;
// RAVEN BEGIN
// jdischler: code from the other project..to ensure that if an attached head is hit, the body will use the head joint
// otherwise damage zones for head attachments no-worky
int hitJoint = CLIPMODEL_ID_TO_JOINT_HANDLE(tr.c.id);
if ( ent->IsType(idActor::GetClassType()) )
{
idActor* entActor = static_cast<idActor*>(ent);
if ( entActor && entActor->GetHead() && entActor->GetHead()->IsType(idAFAttachment::GetClassType()) )
{
idAFAttachment* headEnt = static_cast<idAFAttachment*>(entActor->GetHead());
if ( headEnt && headEnt->entityNumber == tr.c.entityNum )
{//hit ent's head, get the proper joint for the head
hitJoint = entActor->GetAnimator()->GetJointHandle("head");
}
}
}
// RAVEN END
// Inflict damage
if ( tr.c.materialType ) {
damage = hitscanDict.GetString( va("def_damage_%s", tr.c.materialType->GetName()) );
}
if ( !damage || !*damage ) {
damage = hitscanDict.GetString ( "def_damage" );
}
if ( damage && damage[0] ) {
// RAVEN BEGIN
// ddynerman: stats
if( owner->IsType( idPlayer::GetClassType() ) && ent->IsType( idActor::GetClassType() ) && ent != owner && !((idPlayer*)owner)->pfl.dead ) {
statManager->WeaponHit( (idActor*)owner, ent, ((idPlayer*)owner)->GetCurrentWeapon() );
}
// RAVEN END
ent->Damage( owner, owner, dir, damage, damageScale, hitJoint );
}
// Let the entity add its own damage effect
if ( !g_perfTest_weaponNoFX.GetBool() ) {
ent->AddDamageEffect ( tr, dir, damage, owner );
}
} else {
if ( actualHitEnt
&& actualHitEnt != ent
&& (tr.c.material->GetSurfaceFlags ( ) & SURF_BOUNCE)
&& actualHitEnt->spawnArgs.GetBool( "takeBounceDamage" ) )
{//bleh...
const char* damage = NULL;
// Inflict damage
if ( tr.c.materialType ) {
damage = hitscanDict.GetString( va("def_damage_%s", tr.c.materialType->GetName()) );
}
if ( !damage || !*damage ) {
damage = hitscanDict.GetString ( "def_damage" );
}
if ( damage && damage[0] ) {
actualHitEnt->Damage( owner, owner, dir, damage, damageScale, CLIPMODEL_ID_TO_JOINT_HANDLE( tr.c.id ) );
}
}
if ( !g_perfTest_weaponNoFX.GetBool() ) {
ent->AddDamageEffect( tr, dir, hitscanDict.GetString ( "def_damage" ), owner );
}
}
}
// Pass through actors
if ( ent->IsType ( idActor::GetClassType() ) && penetrate > 0.0f ) {
start = collisionPoint;
additionalIgnore = ent;
damageScale *= penetrate;
continue;
}
break;
}
// Path effect
fxDir = collisionPoint - fxOrigin;
fxDir.Normalize( );
PlayEffect( hitscanDict, "fx_path", fxOrigin, fxDir.ToMat3(), false, collisionPoint, false, false, EC_IGNORE, hitscanTint );
if ( !ent->fl.takedamage && random.RandomFloat ( ) < tracerChance ) {
PlayEffect( hitscanDict, "fx_tracer", fxOrigin, fxDir.ToMat3(), false, collisionPoint );
tracer = true;
} else {
tracer = false;
}
if ( !reflect ) {
//on initial trace only
if ( hitscanDict.GetBool( "doWhizz" ) ) {
//play whizz-by sound if trace is close to player's head
CheckPlayerWhizzBy( origin, collisionPoint, ent, owner );
}
}
// Play a different effect when reflecting
if ( !reflect || ent->fl.takedamage ) {
idMat3 axis;
// Effect axis when hitting actors is along the direction of impact because actor models are
// very detailed.
if ( ent->IsType ( idActor::GetClassType() ) ) {
axis = ((-dir + tr.c.normal) * 0.5f).ToMat3();
} else {
axis = tr.c.normal.ToMat3();
}
if ( !g_perfTest_weaponNoFX.GetBool() ) {
if ( ent->CanPlayImpactEffect( owner, ent ) ) {
if ( ent->IsType( idMover::GetClassType( ) ) ) {
ent->PlayEffect( GetEffect( hitscanDict, "fx_impact", tr.c.materialType ), collisionPoint, axis, false, vec3_origin, false, false, EC_IMPACT, hitscanTint );
} else {
gameLocal.PlayEffect( GetEffect( hitscanDict, "fx_impact", tr.c.materialType ), collisionPoint, axis, false, vec3_origin, false, false, EC_IMPACT, hitscanTint );
}
}
}
// End of reflection
return ent;
} else {
PlayEffect( GetEffect( hitscanDict, "fx_reflect", tr.c.materialType ), collisionPoint, tr.c.normal.ToMat3() );
}
// Calc new diretion based on bounce
origin = start;
fxOrigin = start;
dir = ( dir - ( 2.0f * DotProduct( dir, tr.c.normal ) * tr.c.normal ) );
dir.Normalize( );
// Increase damage scale on reflect
damageScale += hitscanDict.GetFloat( "reflect_powerup", "0" );
}
assert( false );
return NULL;
}
/*
===================
idGameLocal::RegisterClientEntity
===================
*/
void idGameLocal::RegisterClientEntity( rvClientEntity *cent ) {
int entityNumber;
assert ( cent );
if ( clientSpawnCount >= ( 1 << ( 32 - CENTITYNUM_BITS ) ) ) {
// Error( "idGameLocal::RegisterClientEntity: spawn count overflow" );
clientSpawnCount = INITIAL_SPAWN_COUNT;
}
// Find a free entity index to use
while( clientEntities[firstFreeClientIndex] && firstFreeClientIndex < MAX_CENTITIES ) {
firstFreeClientIndex++;
}
if ( firstFreeClientIndex >= MAX_CENTITIES ) {
cent->PostEventMS ( &EV_Remove, 0 );
Warning( "idGameLocal::RegisterClientEntity: no free client entities" );
return;
}
entityNumber = firstFreeClientIndex++;
// Add the client entity to the lists
clientEntities[ entityNumber ] = cent;
clientSpawnIds[ entityNumber ] = clientSpawnCount++;
cent->entityNumber = entityNumber;
cent->spawnNode.AddToEnd( clientSpawnedEntities );
cent->spawnArgs.TransferKeyValues( spawnArgs );
if ( entityNumber >= num_clientEntities ) {
num_clientEntities++;
}
}
/*
===================
idGameLocal::UnregisterClientEntity
===================
*/
void idGameLocal::UnregisterClientEntity( rvClientEntity* cent ) {
assert( cent );
// No entity number then it failed to register
if ( cent->entityNumber == -1 ) {
return;
}
cent->spawnNode.Remove ( );
cent->bindNode.Remove ( );
if ( clientEntities [ cent->entityNumber ] == cent ) {
clientEntities [ cent->entityNumber ] = NULL;
clientSpawnIds[ cent->entityNumber ] = -1;
if ( cent->entityNumber < firstFreeClientIndex ) {
firstFreeClientIndex = cent->entityNumber;
}
cent->entityNumber = -1;
}
}
/*
===================
idGameLocal::Translation
===================
*/
bool idGameLocal::Translation( const idEntity* ent, trace_t &results, const idVec3 &start, const idVec3 &end, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity, const idEntity *passEntity2 ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if ( clipWorld ) {
return clipWorld->Translation( results, start, end, mdl, trmAxis, contentMask, passEntity, passEntity2 );
}
return false;
}
/*
===================
idGameLocal::Rotation
===================
*/
bool idGameLocal::Rotation( const idEntity* ent, trace_t &results, const idVec3 &start, const idRotation &rotation, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->Rotation( results, start, rotation, mdl, trmAxis, contentMask, passEntity );
}
return false;
}
/*
===================
idGameLocal::Motion
===================
*/
bool idGameLocal::Motion( const idEntity* ent, trace_t &results, const idVec3 &start, const idVec3 &end, const idRotation &rotation, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->Motion( results, start, end, rotation, mdl, trmAxis, contentMask, passEntity );
}
return false;
}
/*
===================
idGameLocal::Contacts
===================
*/
int idGameLocal::Contacts( const idEntity* ent, contactInfo_t *contacts, const int maxContacts, const idVec3 &start, const idVec6 &dir, const float depth, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->Contacts( contacts, maxContacts, start, dir, depth, mdl, trmAxis, contentMask, passEntity );
}
return 0;
}
/*
===================
idGameLocal::Contents
===================
*/
int idGameLocal::Contents( const idEntity* ent, const idVec3 &start, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity, idEntity **touchedEntity ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->Contents( start, mdl, trmAxis, contentMask, passEntity, touchedEntity );
}
return 0;
}
/*
===================
idGameLocal::TracePoint
===================
*/
bool idGameLocal::TracePoint( const idEntity* ent, trace_t &results, const idVec3 &start, const idVec3 &end, int contentMask, const idEntity *passEntity ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->TracePoint( results, start, end, contentMask, passEntity );
}
return false;
}
/*
===================
idGameLocal::TraceBounds
===================
*/
bool idGameLocal::TraceBounds( const idEntity* ent, trace_t &results, const idVec3 &start, const idVec3 &end, const idBounds &bounds, int contentMask, const idEntity *passEntity ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->TraceBounds( results, start, end, bounds, contentMask, passEntity );
}
return false;
}
/*
===================
idGameLocal::TranslationModel
===================
*/
void idGameLocal::TranslationModel( const idEntity* ent, trace_t &results, const idVec3 &start, const idVec3 &end, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, idCollisionModel *model, const idVec3 &modelOrigin, const idMat3 &modelAxis ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
clipWorld->TranslationModel( results, start, end, mdl, trmAxis, contentMask, model, modelOrigin, modelAxis );
}
}
/*
===================
idGameLocal::RotationModel
===================
*/
void idGameLocal::RotationModel( const idEntity* ent, trace_t &results, const idVec3 &start, const idRotation &rotation, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, idCollisionModel *model, const idVec3 &modelOrigin, const idMat3 &modelAxis ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
clipWorld->RotationModel( results, start, rotation, mdl, trmAxis, contentMask, model, modelOrigin, modelAxis );
}
}
/*
===================
idGameLocal::ContactsModel
===================
*/
int idGameLocal::ContactsModel( const idEntity* ent, contactInfo_t *contacts, const int maxContacts, const idVec3 &start, const idVec6 &dir, const float depth, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, idCollisionModel *model, const idVec3 &modelOrigin, const idMat3 &modelAxis ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->ContactsModel( contacts, maxContacts, start, dir, depth, mdl, trmAxis, contentMask, model, modelOrigin, modelAxis );
}
return 0;
}
/*
===================
idGameLocal::ContentsModel
===================
*/
int idGameLocal::ContentsModel( const idEntity* ent, const idVec3 &start, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, idCollisionModel *model, const idVec3 &modelOrigin, const idMat3 &modelAxis ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->ContentsModel( start, mdl, trmAxis, contentMask, model, modelOrigin, modelAxis );
}
return 0;
}
/*
===================
idGameLocal::TranslationEntities
===================
*/
void idGameLocal::TranslationEntities( const idEntity* ent, trace_t &results, const idVec3 &start, const idVec3 &end, const idClipModel *mdl, const idMat3 &trmAxis, int contentMask, const idEntity *passEntity, const idEntity *passEntity2 ) {
idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
clipWorld->TranslationEntities( results, start, end, mdl, trmAxis, contentMask, passEntity, passEntity2 );
}
}
/*
===================
idGameLocal::GetModelContactFeature
===================
*/
bool idGameLocal::GetModelContactFeature( const idEntity* ent, const contactInfo_t &contact, const idClipModel *clipModel, idFixedWinding &winding ) const {
const idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->GetModelContactFeature( contact, clipModel, winding );
}
return false;
}
/*
===================
idGameLocal::EntitiesTouchingBounds
===================
*/
int idGameLocal::EntitiesTouchingBounds ( const idEntity* ent, const idBounds &bounds, int contentMask, idEntity **entityList, int maxCount ) const {
const idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->EntitiesTouchingBounds( bounds, contentMask, entityList, maxCount );
}
return 0;
}
/*
===================
idGameLocal::ClipModelsTouchingBounds
===================
*/
int idGameLocal::ClipModelsTouchingBounds( const idEntity* ent, const idBounds &bounds, int contentMask, idClipModel **clipModelList, int maxCount ) const {
const idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->ClipModelsTouchingBounds( bounds, contentMask, clipModelList, maxCount );
}
return 0;
}
/*
===================
idGameLocal::PlayersTouchingBounds
===================
*/
int idGameLocal::PlayersTouchingBounds ( const idEntity* ent, const idBounds &bounds, int contentMask, idPlayer **entityList, int maxCount ) const {
const idClip* clipWorld = GetEntityClipWorld( ent );
if( clipWorld ) {
return clipWorld->PlayersTouchingBounds( bounds, contentMask, entityList, maxCount );
}
return 0;
}
/*
===================
idGameLocal::GetWorldBounds
===================
*/
const idBounds& idGameLocal::GetWorldBounds( const idEntity* ent ) const {
const idClip* clipWorld = GetEntityClipWorld( ent );
if ( clipWorld ) {
return clipWorld->GetWorldBounds();
}
return clip[ 0 ]->GetWorldBounds();
}
/*
===================
idGameLocal::GetEntityClipWorld
===================
*/
idClip* idGameLocal::GetEntityClipWorld( const idEntity* ent ) {
if( ent == NULL ) {
return clip[ 0 ];
}
if( ent->GetClipWorld() < 0 || ent->GetClipWorld() >= clip.Num() ) {
Warning( "idGameLocal::GetEntityClipWorld() - invalid clip world %d on entity %s (valid range: 0 - %d)\n", ent->GetClipWorld(), ent->GetClassname(), clip.Num() - 1 );
return NULL;
}
return clip[ ent->GetClipWorld() ];
}
/*
===================
idGameLocal::GetEntityClipWorld
===================
*/
const idClip* idGameLocal::GetEntityClipWorld( const idEntity* ent ) const {
if( ent == NULL ) {
return clip[ 0 ];
}
if( ent->GetClipWorld() < 0 || ent->GetClipWorld() >= clip.Num() ) {
Warning( "idGameLocal::GetEntityClipWorld() - invalid clip world %d on entity %s (valid range: 0 - %d)\n", ent->GetClipWorld(), ent->GetClassname(), clip.Num() - 1 );
return NULL;
}
return clip[ ent->GetClipWorld() ];
}
/*
===================
idGameLocal::AddClipWorld
===================
*/
int idGameLocal::AddClipWorld( int id ) {
if( id >= clip.Num() ) {
// if we want an index higher in the list, fill the intermediate indices with empties
for( int i = clip.Num(); i <= id; i++ ) {
clip.Append( NULL );
}
}
if( clip[ id ] == NULL ) {
// RAVEN BEGIN
// mwhitlock: Dynamic memory consolidation
RV_PUSH_SYS_HEAP_ID(RV_HEAP_ID_LEVEL);
// RAVEN END
clip[ id ] = new idClip();
// RAVEN BEGIN
// mwhitlock: Dynamic memory consolidation
RV_POP_HEAP();
// RAVEN END
clip[ id ]->Init();
}
return id;
}
/*
===================
idGameLocal::RemoveClipWorld
===================
*/
void idGameLocal::RemoveClipWorld( int id ) {
assert( id >= 0 && id < clip.Num() );
clip[ id ]->Shutdown();
delete clip[ id ];
clip[ id ] = NULL;
}
/*
===================
idGameLocal::ShutdownInstances
===================
*/
void idGameLocal::ShutdownInstances( void ) {
if( gamestate == GAMESTATE_UNINITIALIZED ) {
return;
}
instances.DeleteContents( true );
// free the trace model used for the defaultClipModel
idClip::FreeDefaultClipModel();
}
/*
===================
idGameLocal::AddInstance
===================
*/
int idGameLocal::AddInstance( int id, bool deferPopulate ) {
if ( id == -1 ) {
id = instances.Num();
}
if ( id >= instances.Num() ) {
// if we want an index higher in the list, fill the intermediate indices with empties
for( int i = instances.Num(); i <= id; i++ ) {
instances.Append( NULL );
}
}
if ( instances[ id ] == NULL ) {
// RAVEN BEGIN
// mwhitlock: Dynamic memory consolidation
RV_PUSH_SYS_HEAP_ID(RV_HEAP_ID_LEVEL);
instances[ id ] = new rvInstance( id, deferPopulate );
RV_POP_HEAP();
// RAVEN END
if ( !deferPopulate ) {
// keep track of the high watermark
ServerSetEntityIndexWatermark( id );
}
common->DPrintf( "idGameLocal::AddInstance(): Adding instance %d\n", instances[ id ]->GetInstanceID() );
} else {
common->DPrintf( "idGameLocal::AddInstance(): Instance %d already exists\n", instances[ id ]->GetInstanceID() );
}
// keep the min spawn index correctly set
ServerSetMinSpawnIndex();
return instances[ id ]->GetInstanceID();
}
/*
===================
idGameLocal::RemoveInstance
===================
*/
void idGameLocal::RemoveInstance( int id ) {
delete instances[ id ];
instances[ id ] = NULL;
}
/*
===================
idGameLocal::GetPlayerName
Returns the specified player name, max of 64 chars
===================
*/
void idGameLocal::GetPlayerName( int clientNum, char* name ) {
if( !gameLocal.entities[ clientNum ] ) {
return;
}
strncpy( name, gameLocal.GetUserInfo( clientNum )->GetString( "ui_name" ), 64 );
name[ 63 ] = 0;
}
/*
===================
idGameLocal::GetPlayerClan
Returns the specified player clan, max of 64 chars
===================
*/
void idGameLocal::GetPlayerClan( int clientNum, char* clan ) {
if( !gameLocal.entities[ clientNum ] ) {
return;
}
strncpy( clan, gameLocal.GetUserInfo( clientNum )->GetString( "ui_clan" ), 64 );
clan[ 63 ] = 0;
}
/*
===================
idGameLocal::SetFriend
===================
*/
void idGameLocal::SetFriend( int clientNum, bool isFriend ) {
if( !gameLocal.GetLocalPlayer() ) {
Warning( "idGameLocal::SetFriend() - SetFriend() called with NULL local player\n" );
return;
}
gameLocal.GetLocalPlayer()->SetFriend( clientNum, isFriend );
}
/*
===================
idGameLocal::GetLongGametypeName
===================
*/
const char* idGameLocal::GetLongGametypeName( const char* gametype ) {
return mpGame.GetLongGametypeName( gametype );
}
void idGameLocal::Cmd_PrintMapEntityNumbers_f( const idCmdArgs& args ) {
int instance = 0;
if ( args.Argc() > 1 ) {
instance = atoi( args.Argv( 1 ) );
}
if( gameLocal.instances[ instance ] ) {
gameLocal.instances[ instance ]->PrintMapNumbers();
}
}
void idGameLocal::Cmd_PrintSpawnIds_f( const idCmdArgs& args ) {
for( int i = 0; i < MAX_GENTITIES; i++ ) {
if( gameLocal.entities[ i ] ) {
gameLocal.Printf( "Spawn id %d: %d\n", i, gameLocal.spawnIds[ i ] );
}
}
}
/*
===============
idGameLocal::IsTeamPowerups
===============
*/
bool idGameLocal::IsTeamPowerups( void ) {
if ( !serverInfo.GetBool( "si_isBuyingEnabled" ) ) {
return false;
}
if ( !IsTeamGameType() ) {
return false;
}
return ( gameType != GAME_ARENA_CTF );
}
// RAVEN BEGIN
// mwhitlock: Dynamic memory consolidation
#if defined(_RV_MEM_SYS_SUPPORT)
/*
===================
idGameLocal::FlushBeforelevelLoad
===================
*/
void idGameLocal::FlushBeforelevelLoad( void )
{
TIME_THIS_SCOPE( __FUNCLINE__);
#ifndef _XENON
MapShutdown();
#else
mpGame.Clear();
#endif
for(int i = 0; i < aasNames.Num(); i++)
{
aasList[i]->Shutdown();
}
}
#endif
// RAVEN END
// dluetscher: moved the overloaded new/delete to sys_local.cpp and Game_local.cpp (from Heap.h)
// so that the tools.dll will link.
#if !defined(_XBOX) && (defined(ID_REDIRECT_NEWDELETE) || defined(_RV_MEM_SYS_SUPPORT))
#undef new
#undef delete
#undef Mem_Alloc
#undef Mem_Free
#ifdef ID_DEBUG_MEMORY
void *operator new( size_t s, int t1, int t2, char *fileName, int lineNumber ) {
return Mem_Alloc( s, fileName, lineNumber, MemScopedTag_GetTopTag() );
}
void operator delete( void *p, int t1, int t2, char *fileName, int lineNumber ) {
Mem_Free( p, fileName, lineNumber );
}
void *operator new[]( size_t s, int t1, int t2, char *fileName, int lineNumber ) {
return Mem_Alloc( s, fileName, lineNumber, MemScopedTag_GetTopTag() );
}
void operator delete[]( void *p, int t1, int t2, char *fileName, int lineNumber ) {
Mem_Free( p, fileName, lineNumber );
}
void *operator new( size_t s ) {
return Mem_Alloc( s, "", 0, MemScopedTag_GetTopTag() );
}
void operator delete( void *p ) {
Mem_Free( p, "", 0 );
}
void *operator new[]( size_t s ) {
return Mem_Alloc( s, "", 0, MemScopedTag_GetTopTag() );
}
void operator delete[]( void *p ) {
Mem_Free( p, "", 0 );
}
#else // #ifdef ID_DEBUG_MEMORY
void *operator new( size_t s ) {
return Mem_Alloc( s, MemScopedTag_GetTopTag() );
}
void operator delete( void *p ) {
Mem_Free( p );
}
void *operator new[]( size_t s ) {
return Mem_Alloc( s, MemScopedTag_GetTopTag() );
}
void operator delete[]( void *p ) {
Mem_Free( p );
}
#endif // #else #ifdef ID_DEBUG_MEMORY
#endif // #if defined(ID_REDIRECT_NEWDELETE) || defined(_RV_MEM_SYS_SUPPORT)
// RAVEN END
|
[
"joropito@23c7d628-c96c-11de-a380-73d83ba7c083"
] |
[
[
[
1,
8641
]
]
] |
12e2209cea0f143ebd19d98e25cf6718f9c7c65f
|
10c14a95421b63a71c7c99adf73e305608c391bf
|
/gui/painting/qpaintengineex_p.h
|
de5963a8a6b637da0e96ed5372f54f1f17ded9c0
|
[] |
no_license
|
eaglezzb/wtlcontrols
|
73fccea541c6ef1f6db5600f5f7349f5c5236daa
|
61b7fce28df1efe4a1d90c0678ec863b1fd7c81c
|
refs/heads/master
| 2021-01-22T13:47:19.456110 | 2009-05-19T10:58:42 | 2009-05-19T10:58:42 | 33,811,815 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 8,110 |
h
|
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information ([email protected])
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial Usage
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain
** additional rights. These rights are described in the Nokia Qt LGPL
** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
** package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you are unsure which license is appropriate for your use, please
** contact the sales department at [email protected].
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef QPAINTENGINEEX_P_H
#define QPAINTENGINEEX_P_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtGui/qpaintengine.h>
#include "qpaintengine_p.h"
#include "qstroker_p.h"
#include "qpainter_p.h"
#include "qvectorpath_p.h"
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
class QPainterState;
class QPaintEngineExPrivate;
struct StrokeHandler;
struct QIntRect {
int x1, y1, x2, y2;
inline void set(const QRect &r) {
x1 = r.x();
y1 = r.y();
x2 = r.right() + 1;
y2 = r.bottom() + 1;
// We will assume normalized for later...
Q_ASSERT(x2 >= x1);
Q_ASSERT(y2 >= y1);
}
};
class QRectVectorPath : public QVectorPath {
public:
inline void set(const QRect &r) {
qreal left = r.x();
qreal right = r.x() + r.width();
qreal top = r.y();
qreal bottom = r.y() + r.height();
pts[0] = left;
pts[1] = top;
pts[2] = right;
pts[3] = top;
pts[4] = right;
pts[5] = bottom;
pts[6] = left;
pts[7] = bottom;
}
inline void set(const QRectF &r) {
qreal left = r.x();
qreal right = r.x() + r.width();
qreal top = r.y();
qreal bottom = r.y() + r.height();
pts[0] = left;
pts[1] = top;
pts[2] = right;
pts[3] = top;
pts[4] = right;
pts[5] = bottom;
pts[6] = left;
pts[7] = bottom;
}
inline QRectVectorPath(const QRect &r)
: QVectorPath(pts, 4, 0, QVectorPath::RectangleHint | QVectorPath::ImplicitClose)
{
set(r);
}
inline QRectVectorPath(const QRectF &r)
: QVectorPath(pts, 4, 0, QVectorPath::RectangleHint | QVectorPath::ImplicitClose)
{
set(r);
}
inline QRectVectorPath()
: QVectorPath(pts, 4, 0, QVectorPath::RectangleHint | QVectorPath::ImplicitClose)
{ }
qreal pts[8];
};
#ifndef QT_NO_DEBUG_STREAM
QDebug Q_GUI_EXPORT &operator<<(QDebug &, const QVectorPath &path);
#endif
class Q_GUI_EXPORT QPaintEngineExPrivate : public QPaintEnginePrivate
{
public:
QPaintEngineExPrivate();
~QPaintEngineExPrivate();
QStroker stroker;
QDashStroker dasher;
StrokeHandler *strokeHandler;
QStrokerOps *activeStroker;
QPen strokerPen;
};
// class QPixmapFilter;
class Q_GUI_EXPORT QPaintEngineEx : public QPaintEngine
{
Q_DECLARE_PRIVATE(QPaintEngineEx)
public:
inline QPaintEngineEx()
: QPaintEngine(*new QPaintEngineExPrivate, AllFeatures) { extended = true; }
virtual QPainterState *createState(QPainterState *orig) const;
virtual void draw(const QVectorPath &path);
virtual void fill(const QVectorPath &path, const QBrush &brush) = 0;
virtual void stroke(const QVectorPath &path, const QPen &pen);
virtual void clip(const QVectorPath &path, Qt::ClipOperation op) = 0;
virtual void clip(const QRect &rect, Qt::ClipOperation op);
virtual void clip(const QRegion ®ion, Qt::ClipOperation op);
virtual void clip(const QPainterPath &path, Qt::ClipOperation op);
virtual void clipEnabledChanged() = 0;
virtual void penChanged() = 0;
virtual void brushChanged() = 0;
virtual void brushOriginChanged() = 0;
virtual void opacityChanged() = 0;
virtual void compositionModeChanged() = 0;
virtual void renderHintsChanged() = 0;
virtual void transformChanged() = 0;
virtual void fillRect(const QRectF &rect, const QBrush &brush);
virtual void fillRect(const QRectF &rect, const QColor &color);
virtual void drawRects(const QRect *rects, int rectCount);
virtual void drawRects(const QRectF *rects, int rectCount);
virtual void drawLines(const QLine *lines, int lineCount);
virtual void drawLines(const QLineF *lines, int lineCount);
virtual void drawEllipse(const QRectF &r);
virtual void drawEllipse(const QRect &r);
virtual void drawPath(const QPainterPath &path);
virtual void drawPoints(const QPointF *points, int pointCount);
virtual void drawPoints(const QPoint *points, int pointCount);
virtual void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode);
virtual void drawPolygon(const QPoint *points, int pointCount, PolygonDrawMode mode);
virtual void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr) = 0;
virtual void drawPixmap(const QPointF &pos, const QPixmap &pm);
virtual void drawImage(const QRectF &r, const QImage &pm, const QRectF &sr,
Qt::ImageConversionFlags flags = Qt::AutoColor) = 0;
virtual void drawImage(const QPointF &pos, const QImage &image);
virtual void drawTiledPixmap(const QRectF &r, const QPixmap &pixmap, const QPointF &s);
virtual void updateState(const QPaintEngineState &state);
virtual void setState(QPainterState *s);
inline QPainterState *state() { return static_cast<QPainterState *>(QPaintEngine::state); }
inline const QPainterState *state() const { return static_cast<const QPainterState *>(QPaintEngine::state); }
// virtual QPixmapFilter *createPixmapFilter(int /*type*/) const { return 0; }
protected:
QPaintEngineEx(QPaintEngineExPrivate &data);
};
inline uint QVectorPath::polygonFlags(QPaintEngine::PolygonDrawMode mode) {
switch (mode) {
case QPaintEngine::ConvexMode: return ConvexPolygonHint | ImplicitClose;
case QPaintEngine::OddEvenMode: return NonCurvedShapeHint | OddEvenFill | ImplicitClose;
case QPaintEngine::WindingMode: return NonCurvedShapeHint | WindingFill | ImplicitClose;
case QPaintEngine::PolylineMode: return NonCurvedShapeHint;
default: return 0;
}
}
QT_END_NAMESPACE
QT_END_HEADER
#endif
|
[
"zhangyinquan@0feb242a-2539-11de-a0d7-251e5865a1c7"
] |
[
[
[
1,
240
]
]
] |
cecfa246d76f5724b9552ee3131d9315041a1252
|
b6a6fa4324540b94fb84ee68de3021a66f5efe43
|
/Duplo/include/Dup_WaveFile.h
|
dbe34dd9bfad9c427dfa09a285ef50066457f87b
|
[] |
no_license
|
southor/duplo-scs
|
dbb54061704f8a2ec0514ad7d204178bfb5a290e
|
403cc209039484b469d602b6752f66b9e7c811de
|
refs/heads/master
| 2021-01-20T10:41:22.702098 | 2010-02-25T16:44:39 | 2010-02-25T16:44:39 | 34,623,992 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,447 |
h
|
#ifndef _DUP_WAVE_FILE_
#define _DUP_WAVE_FILE_
#include "Dup_Declares.h"
#include "iostream"
#include "fstream"
namespace Dup
{
// savewave
// int must be exactly 4 bytes (fix)
int saveWave(char* fileName, dup_int32 waveFre, dup_int32 length, dup_int16 *lArray, dup_int16 *rArray);
// savewave
// int must be exactly 4 bytes (fix)
int saveWave(char* fileName, dup_int32 waveFre, dup_int32 length, dup_int16 *lArray, dup_int16 *rArray)
{
dup_uint16 out;
//ofstream WaveFile(fileName,ios::binary);
std::ofstream waveFile;
if(fileName != NULL) waveFile.open((const char*)fileName, std::ios::binary);
if(waveFile.good())
{
out = 18770;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 17990;
waveFile.write((char *)&out,sizeof(dup_uint16));
length = 4*length+36;
waveFile.write((char *)&length,sizeof(int));
out = 16727;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 17750;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 28006;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 8308;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 16;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 0;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 1;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 2;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = waveFre;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 0;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 45328;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 2;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 4;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 16;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 24932;
waveFile.write((char *)&out,sizeof(dup_uint16));
out = 24948;
waveFile.write((char *)&out,sizeof(dup_uint16));
length = length-36;
if (!(waveFile.write((char *)&length,sizeof(dup_int32))))
{
return 0;
}
length = length/4;
dup_int16 lAmp, rAmp;
for(long i=0;i<length;i++)
{
lAmp = (*(lArray+i));
rAmp = (*(rArray+i));
waveFile.write((char *)&lAmp, sizeof(short int));
waveFile.write((char *)&rAmp, sizeof(short int));
}
}
waveFile.close();
return 1;
}
};
#endif
|
[
"t.soderberg8@2b3d9118-3c8b-11de-9b50-8bb2048eb44c"
] |
[
[
[
1,
105
]
]
] |
de164cd393801f6a22f1765356f2e3dda77e6582
|
fad6f9883d4ad2686c196dc532a9ecb9199500ee
|
/NXP-LPC/CommTest/CommTest/SvrOptionView.h
|
a81c6ef19ec48af819faf61e720f0e011846d6e8
|
[] |
no_license
|
aquarius20th/nxp-lpc
|
fe83d6a140d361a1737d950ff728c6ea9a16a1dd
|
4abfb804daf0ac9c59bd90d879256e7a3c1b2f30
|
refs/heads/master
| 2021-01-10T13:54:40.237682 | 2009-12-22T14:54:59 | 2009-12-22T14:54:59 | 48,420,260 | 0 | 0 | null | null | null | null |
GB18030
|
C++
| false | false | 795 |
h
|
#pragma once
// CSvrOptionView 窗体视图
class CSvrOptionView : public CBCGPFormView
{
DECLARE_DYNCREATE(CSvrOptionView)
protected:
CSvrOptionView(); // 动态创建所使用的受保护的构造函数
virtual ~CSvrOptionView();
public:
enum { IDD = IDD_DLG_SVR_OPTIONS };
#ifdef _DEBUG
virtual void AssertValid() const;
#ifndef _WIN32_WCE
virtual void Dump(CDumpContext& dc) const;
#endif
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButtonSvrStart();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
protected:
virtual void OnUpdate(CView* /*pSender*/, LPARAM /*lHint*/, CObject* /*pHint*/);
public:
UINT m_nPortNum;
};
|
[
"lijin.unix@13de9a6c-71d3-11de-b374-81e7cb8b6ca2"
] |
[
[
[
1,
37
]
]
] |
141f762edb344cebc50f1e45c0a124bdc00598be
|
d54d8b1bbc9575f3c96853e0c67f17c1ad7ab546
|
/hlsdk-2.3-p3/multiplayer/ricochet/dlls/teamplay_gamerules.h
|
6b10905c2978fb4f80bb81c761a59e3c42fce7ac
|
[] |
no_license
|
joropito/amxxgroup
|
637ee71e250ffd6a7e628f77893caef4c4b1af0a
|
f948042ee63ebac6ad0332f8a77393322157fa8f
|
refs/heads/master
| 2021-01-10T09:21:31.449489 | 2010-04-11T21:34:27 | 2010-04-11T21:34:27 | 47,087,485 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,486 |
h
|
/***
*
* Copyright (c) 1999, 2000 Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* object code is restricted to non-commercial enhancements to products from
* Valve LLC. All other use, distribution, or modification is prohibited
* without written permission from Valve LLC.
*
****/
//
// teamplay_gamerules.h
//
#define MAX_TEAMNAME_LENGTH 16
#define MAX_TEAMS 32
#define TEAMPLAY_TEAMLISTLENGTH MAX_TEAMS*MAX_TEAMNAME_LENGTH
class CHalfLifeTeamplay : public CHalfLifeMultiplay
{
public:
CHalfLifeTeamplay();
virtual BOOL ClientCommand( CBasePlayer *pPlayer, const char *pcmd );
virtual void ClientUserInfoChanged( CBasePlayer *pPlayer, char *infobuffer );
virtual BOOL IsTeamplay( void );
virtual BOOL FPlayerCanTakeDamage( CBasePlayer *pPlayer, CBaseEntity *pAttacker );
virtual int PlayerRelationship( CBaseEntity *pPlayer, CBaseEntity *pTarget );
virtual const char *GetTeamID( CBaseEntity *pEntity );
virtual BOOL ShouldAutoAim( CBasePlayer *pPlayer, edict_t *target );
virtual int IPointsForKill( CBasePlayer *pAttacker, CBasePlayer *pKilled );
virtual void InitHUD( CBasePlayer *pl );
virtual void DeathNotice( CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pevInflictor );
virtual const char *GetGameDescription( void ) { return "HL Teamplay"; } // this is the game name that gets seen in the server browser
virtual void UpdateGameMode( CBasePlayer *pPlayer ); // the client needs to be informed of the current game mode
virtual void PlayerKilled( CBasePlayer *pVictim, entvars_t *pKiller, entvars_t *pInflictor );
virtual void Think ( void );
virtual int GetTeamIndex( const char *pTeamName );
virtual const char *GetIndexedTeamName( int teamIndex );
virtual BOOL IsValidTeam( const char *pTeamName );
const char *SetDefaultPlayerTeam( CBasePlayer *pPlayer );
virtual void ChangePlayerTeam( CBasePlayer *pPlayer, const char *pTeamName, BOOL bKill, BOOL bGib );
private:
void RecountTeams( bool bResendInfo = FALSE );
const char *TeamWithFewestPlayers( void );
BOOL m_DisableDeathMessages;
BOOL m_DisableDeathPenalty;
BOOL m_teamLimit; // This means the server set only some teams as valid
char m_szTeamList[TEAMPLAY_TEAMLISTLENGTH];
};
|
[
"joropito@23c7d628-c96c-11de-a380-73d83ba7c083"
] |
[
[
[
1,
57
]
]
] |
b5865f77df440f1aec0c06d6d470f63aea6e9053
|
b7c505dcef43c0675fd89d428e45f3c2850b124f
|
/Src/Platform/Win32/SoundPlayer.cpp
|
9de8f18e6769ad4b2ea0cd88a84c4f40a33084c3
|
[
"BSD-2-Clause"
] |
permissive
|
pranet/bhuman2009fork
|
14e473bd6e5d30af9f1745311d689723bfc5cfdb
|
82c1bd4485ae24043aa720a3aa7cb3e605b1a329
|
refs/heads/master
| 2021-01-15T17:55:37.058289 | 2010-02-28T13:52:56 | 2010-02-28T13:52:56 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 494 |
cpp
|
/**
* @file Platform/Win32/SoundPlayer.cpp
* Implementation of class SoundPlayer.
* @attention this is the Win32 implementation
* @author Colin Graf
*/
#include <windows.h>
#include <mmsystem.h>
#include "SoundPlayer.h"
#include "Platform/File.h"
int SoundPlayer::play(const std::string& name)
{
std::string filePath(File::getGTDir());
filePath += "/Config/Sounds/";
filePath += name;
PlaySound(filePath.c_str(), NULL, SND_ASYNC | SND_FILENAME);
return 1;
}
|
[
"alon@rogue.(none)"
] |
[
[
[
1,
22
]
]
] |
bcdde88bb3d9a51695db66a365ae2592ae35c03a
|
5095bbe94f3af8dc3b14a331519cfee887f4c07e
|
/Shared/Components/Data/TG_analysis.h
|
1e97980e56e7105fcd4974496ad6142f7398e5ef
|
[] |
no_license
|
sativa/apsim_development
|
efc2b584459b43c89e841abf93830db8d523b07a
|
a90ffef3b4ed8a7d0cce1c169c65364be6e93797
|
refs/heads/master
| 2020-12-24T06:53:59.364336 | 2008-09-17T05:31:07 | 2008-09-17T05:31:07 | 64,154,433 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,203 |
h
|
//---------------------------------------------------------------------------
#ifndef TGM_analysisH
#define TGM_analysisH
//---------------------------------------------------------------------------
#include <vcl\SysUtils.hpp>
#include <vcl\Controls.hpp>
#include <vcl\Classes.hpp>
#include <vcl\Forms.hpp>
#include "MemTable.hpp"
#include <vcl\DB.hpp>
#include "TAnalysis.h"
#include <general\math_functions.h>
#include <components\general\TMultiStringList.h>
// ------------------------------------------------------------------
// Short description:
// This class encapsulates a probability analysis of some dataset.
// It takes an active dataset as input, performs a probability analysis
// and writes records to the base memory table.
// Notes:
// Changes:
// DPH 5/2/98
// ------------------------------------------------------------------
class PACKAGE TGM_analysis : public TAnalysis
{
private:
protected:
virtual void Calc_and_store_records();
public:
__fastcall TGM_analysis(TComponent* Owner);
__published:
};
//---------------------------------------------------------------------------
#endif
|
[
"devoilp@8bb03f63-af10-0410-889a-a89e84ef1bc8"
] |
[
[
[
1,
39
]
]
] |
eae56ea93d290db924d1d3bebedcccd1b9a97244
|
fcf03ead74f6dc103ec3b07ffe3bce81c820660d
|
/Messaging/cdmasms_eg/cdmasms_eg.h
|
ea1fb11522c0da4b7c2ffb306eb7c04315b556fb
|
[] |
no_license
|
huellif/symbian-example
|
72097c9aec6d45d555a79a30d576dddc04a65a16
|
56f6c5e67a3d37961408fc51188d46d49bddcfdc
|
refs/heads/master
| 2016-09-06T12:49:32.021854 | 2010-10-14T06:31:20 | 2010-10-14T06:31:20 | 38,062,421 | 2 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 4,308 |
h
|
//////////////////////////////////////////////////////////////////////////
//
// cdmasms_eg.h
//
// Copyright (c) 2004 Symbian Software Ltd. All rights reserved.
//
//////////////////////////////////////////////////////////////////////////
#ifndef CDMASMS_EG_H_
#define CDMASMS_EG_H_
#include <smsclnt.h>
#include <smcmmain.h>
#include <smuthdr.h>
#include <smutset.h>
#include <smscmds.h>
#include <smut.h>
#include <csmsaccount.h>
#include <mtclreg.h>
#include <Smsstd.h>
#include <SmsMessageSettings.h>
#include <SmsMessageWrappers.h>
#include <tia637.h>
class CSMSSession;
/**
Active object signalled when asynchronous messaging operation completes
*/
class CSendOp : public CActive
{
public:
CSendOp(CSMSSession& aSmsSession);
~CSendOp();
void SendL();
private:
// Implement CActive
void DoCancel();
void RunL();
private:
/** Operation owned by this object */
CMsvOperation* iMsvOperation;
/** Session used by object */
CSMSSession& iSmsSession;
};
/** Holds a session to the message server and the
SMS client MTM object.
*/
class CSMSSession: public CBase
{
public:
CSMSSession(MMsvSessionObserver& aSessionObserver);
void ConstructL();
~CSMSSession();
/** Get SMS client MTM */
CSmsClientMtm& SmsClientMtm() {return *iSmsClientMtm;}
CMsvOperation* SendSMSNowL(TRequestStatus& aStatus);
void SimulateIncomingL(TBool aWEMT);
TMsvId CreateWEMTL(const CSmsSettings& aServiceSettings);
private:
/** Message server session */
CMsvSession* iMsvSession;
/** SMS client MTM object */
CSmsClientMtm* iSmsClientMtm;
/** Client MTM registry */
CClientMtmRegistry* iClientMtmRegistry;
/** Session observer interface */
MMsvSessionObserver& iSessionObserver;
};
/**
Main UI class to write menus to the console
and get user input.
It monitors session events for new incoming
SMS messages.
*/
class CMenuHandler : public CBase, public MMsvSessionObserver
{
public:
CMenuHandler(CConsoleBase& aConsole, TDes& aInput);
void ConstructL();
~CMenuHandler();
void ProcessInputL();
void MenuL();
private:
void HandleSessionEventL(TMsvSessionEvent , TAny* , TAny* , TAny* );
void NextCreateInputL();
void NextIncomingInputL();
TBool InputOutOfRange(TInt aHigh,TInt& aVal) const;
void IncomingMenuL();
void PrintMessageL();
void SaveMessageL();
void PrintAbsoluteTimeL(const TDateTime& absTime);
void PrintRelativeTime(TSmsRelativeTimeUnit aTimeUnit, TUint32 aRelativeTime, TBool aValidity);
void PrintAcknowledgementStatus();
void PrintAckStatus(CSmsNumber::TSmsAckStatus ackStatus);
CMsvOperation* SaveScheduledL(TMsvId aId,TRequestStatus& aStatus);
private:
/** Top-level menu states */
enum TState
{
/** Main menu */
EMenuChoiceMain,
/** Sub-menu for incoming messages */
EMenuChoiceIncoming,
/** Input parameters for creating a message */
EInputCreate,
/** Input parameters for monitoring incoming messages */
EInputIncoming
};
/** States in creating a new message */
enum TCreateState
{
EInit,
ESetMsgText,
ESetAddress,
ESetValidityPeriodAbs,
ESetDeliveryTimeAbs,
ESetPriority,
ESetPrivacy,
ESetAlert,
ESetLang,
ESetSetCallbackNumber,
EWEMTSetAnimation,
EWEMTSetSound,
ELast
};
/** States in setting options for incoming messages */
enum TIncomingState
{
EIncomingInit,
ESetTeleservice,
ESetTextMatch
};
private:
/** SMS client MTM from */
CSmsClientMtm* iMtm;
CSMSSession* iSmsSession;
/** CDMA specific fields of current message */
/** For getting results of a send operation */
CSendOp* iSendOperation;
/** Main menu state */
TState iState;
/** Flag for getting incoming messages */
TBool iGetIncoming;
/** Incoming options state */
TInt iIncomingState;
/** Teleservice to match (0 == match all) */
tia637::TTeleserviceId iMatchTeleservice;
/** Text to match (empty string == match all) */
TBuf<5> iMatchText;
/** Create message options state */
TInt iCreateState;
/** Flag is true if creating WEMT, false if creating WMT */
TBool iWEMT;
/** Console for status messages */
CConsoleBase& iConsole;
/** Keyboard input buffer */
TDes& iInput;
};
#endif
|
[
"liuxk99@bdc341c6-17c0-11de-ac9f-1d9250355bca"
] |
[
[
[
1,
179
]
]
] |
7d006f77a5cbb727350b82e4d8e860ff50f72932
|
33f59b1ba6b12c2dd3080b24830331c37bba9fe2
|
/Depend/Foundation/Intersection/Wm4Intersector.h
|
513e6cf08362e43e8d22c0656f9949e6dae9f1f4
|
[] |
no_license
|
daleaddink/flagship3d
|
4835c223fe1b6429c12e325770c14679c42ae3c6
|
6cce5b1ff7e7a2d5d0df7aa0594a70d795c7979a
|
refs/heads/master
| 2021-01-15T16:29:12.196094 | 2009-11-01T10:18:11 | 2009-11-01T10:18:11 | 37,734,654 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,481 |
h
|
// Geometric Tools, Inc.
// http://www.geometrictools.com
// Copyright (c) 1998-2006. All Rights Reserved
//
// The Wild Magic Version 4 Foundation Library source code is supplied
// under the terms of the license agreement
// http://www.geometrictools.com/License/Wm4FoundationLicense.pdf
// and may not be copied or disclosed except in accordance with the terms
// of that agreement.
#ifndef WM4INTERSECTOR_H
#define WM4INTERSECTOR_H
#include "Wm4FoundationLIB.h"
#include "Wm4LinComp.h"
#include "Wm4Vector2.h"
#include "Wm4Vector3.h"
namespace Wm4
{
template <class Real, class TVector>
class WM4_FOUNDATION_ITEM Intersector
{
public:
// abstract base class
virtual ~Intersector ();
// Static intersection queries. The default implementations return
// 'false'. The Find query produces a set of intersection. The derived
// class is responsible for providing access to that set, since the nature
// of the set is dependent on the object types.
virtual bool Test ();
virtual bool Find ();
// Dynamic intersection queries. The default implementations return
// 'false'. The Find query produces a set of first contact. The derived
// class is responsible for providing access to that set, since the nature
// of the set is dependent on the object types.
virtual bool Test (Real fTMax, const TVector& rkVelocity0,
const TVector& rkVelocity1);
virtual bool Find (Real fTMax, const TVector& rkVelocity0,
const TVector& rkVelocity1);
// The time at which two objects are in first contact for the dynamic
// intersection queries.
Real GetContactTime () const;
// information about the intersection set
enum
{
IT_EMPTY = LinComp<Real>::CT_EMPTY,
IT_POINT = LinComp<Real>::CT_POINT,
IT_SEGMENT = LinComp<Real>::CT_SEGMENT,
IT_RAY = LinComp<Real>::CT_RAY,
IT_LINE = LinComp<Real>::CT_LINE,
IT_POLYGON,
IT_PLANE,
IT_POLYHEDRON,
IT_OTHER
};
int GetIntersectionType () const;
protected:
Intersector ();
Real m_fContactTime;
int m_iIntersectionType;
};
typedef Intersector<float, Vector2<float> > Intersector2f;
typedef Intersector<float, Vector3<float> > Intersector3f;
typedef Intersector<double, Vector2<double> > Intersector2d;
typedef Intersector<double, Vector3<double> > Intersector3d;
}
#endif
|
[
"yf.flagship@e79fdf7c-a9d8-11de-b950-3d5b5f4ea0aa"
] |
[
[
[
1,
78
]
]
] |
52d2d9115149a0965bbd7cf2b764dd1effb3a810
|
db0d644f1992e5a82e22579e6287f45a8f8d357a
|
/Caster/UsefulStuff/Date.cpp
|
034716465b13cea08990b70443909d9ac5ffc878
|
[] |
no_license
|
arnout/nano-cast
|
841a6dc394bfb30864134bce70e11d29b77c2411
|
5d11094da4dbb5027ce0a3c870b6a6cc9fcc0179
|
refs/heads/master
| 2021-01-01T05:14:29.996348 | 2011-01-15T17:27:48 | 2011-01-15T17:27:48 | 58,049,740 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 432 |
cpp
|
/*
* Date.cpp
*
* Created on: Aug 15, 2010
* Author: John
*/
#include "Date.h"
#include <time.h>
void getDateString(char *str)
{
// Get the time from the Linux operating system
// (we assume system clock is GMT)
time_t clock = time(NULL);
// RFC 1123: Sun, 06 Nov 1994 08:49:37 GMT
struct tm brokenDown; gmtime_r(&clock, &brokenDown)
srftime(str, 30, "%a, %d %b %Y %T GMT", &brokenDown);
}
|
[
"[email protected]"
] |
[
[
[
1,
20
]
]
] |
ef3c795bb14c4cabfb55b112869660b23477f4b8
|
74c8da5b29163992a08a376c7819785998afb588
|
/NetAnimal/Game/wheel/WheelController/include/KeyEngineDecorator.h
|
5d4aaec4f2fb2a050f2a6c623aaedc563a0469d1
|
[] |
no_license
|
dbabox/aomi
|
dbfb46c1c9417a8078ec9a516cc9c90fe3773b78
|
4cffc8e59368e82aed997fe0f4dcbd7df626d1d0
|
refs/heads/master
| 2021-01-13T14:05:10.813348 | 2011-06-07T09:36:41 | 2011-06-07T09:36:41 | null | 0 | 0 | null | null | null | null |
GB18030
|
C++
| false | false | 835 |
h
|
#ifndef __Orz_KeyEngineDecorator_h__
#define __Orz_KeyEngineDecorator_h__
#include "WheelControllerConfig.h"
#include "WheelEngineInterface.h"
namespace Orz
{
class _OrzWheelControlleExport KeyEngineDecorator:public WheelEngineInterface, public KeyListener
{
public:
KeyEngineDecorator(WheelEngineInterfacePtr engine);
~KeyEngineDecorator(void);
private:
virtual void addListener(WheelEngineListener * listener);
virtual void removeListener(WheelEngineListener * listener);
virtual void refreshMenuData(void);
virtual void pushMessage(MsgBuffer & buffer);
///通知键盘按下事件
virtual bool onKeyPressed(const KeyEvent & evt);
///通知键盘释放事件
virtual bool onKeyReleased(const KeyEvent & evt);
WheelEngineInterfacePtr _engine;
};
}
#endif
|
[
"[email protected]"
] |
[
[
[
1,
34
]
]
] |
99581917f5bff7798f78d182e9d4795aaa7f6f91
|
a71ef2e9dec08db92feb06486d2e12b59d8b7270
|
/external_tools/lua_qt4/lua_qt4/tolua_base.h
|
b539cfeb7955eee5bbaa2e1292ad32489d0f00b8
|
[
"MIT"
] |
permissive
|
BackupTheBerlios/luaqt-svn
|
05004193b40e6bb69ea7ca9d1d3cdd285b368501
|
538450321004d33190099ec3e4aa63e27c1b5f7e
|
refs/heads/master
| 2020-11-26T17:03:58.193038 | 2007-06-19T04:21:34 | 2007-06-19T04:21:34 | 40,799,774 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,426 |
h
|
#ifndef TOLUA_BASE_H
#define TOLUA_BASE_H
#include <tolua++.h>
class ToluaBase {
int lua_instance;
protected:
lua_State* lua_state;
bool push_method(const char* name, lua_CFunction f) const {
if (!lua_state) return false;
lua_getref(lua_state, lua_instance);
lua_pushstring(lua_state, name);
lua_gettable(lua_state, -2);
if (lua_isnil(lua_state, -1)) {
// pop the table
lua_pop(lua_state, 2);
return false;
} else {
//if (f) {
if (lua_iscfunction(lua_state, -1)) {
lua_pop(lua_state, 2);
return false;
};
/* // not for now
lua_pushcfunction(lua_state, f);
if (lua_rawequal(lua_state, -1, -2)) {
// avoid recursion, pop both functions and the table
lua_pop(lua_state, 3);
return false;
};
// pop f
lua_pop(lua_state, 1);
*/
//};
// swap table with function
lua_insert(lua_state, -2);
};
return true;
};
void dbcall(lua_State* L, int nargs, int nresults) const {
// using lua_call for now
lua_call(L, nargs, nresults);
};
public:
void tolua__set_instance(lua_State* L, lua_Object lo) {
lua_state = L;
lua_pushvalue(L, lo);
lua_instance = lua_ref(lua_state, 1);
};
ToluaBase() {
lua_state = NULL;
};
~ToluaBase() {
if (lua_state) {
lua_unref(lua_state, lua_instance);
};
};
};
#endif
|
[
"punto@4c9b881e-cd06-0410-8f74-907230868df1"
] |
[
[
[
1,
87
]
]
] |
4b69f1a0ce61fad3717902bccf98d19edec459f8
|
944e19e1a68ac1d4c5f6e7ccde1061a43e791887
|
/OBBDetection/OBBDetection/util.h
|
e4798ed906943e4bfdb7ca5e84527fe7dc605c82
|
[] |
no_license
|
Fredrib/obbdetection
|
0a797ecac2c24be1a75ddd67fd928e35ddc586f5
|
41e065c379ddfb7ec0ca4ec0616be5204736b984
|
refs/heads/master
| 2020-04-22T14:03:17.358440 | 2011-01-17T15:24:09 | 2011-01-17T15:24:09 | 41,830,450 | 1 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,895 |
h
|
//=================================================================================================
// util.h - utility functions
//=================================================================================================
// This is borrowed from http://thetavern.servebeer.com/?p=articles&a=D3DTutorial1
// I liked their implimentation of error handling during initialization
//
// There is other stuff thrown in here that doesn't fit anywhere good.
#ifndef util_H_INCLUDED
#define util_H_INCLUDED
#include "main.h"
#include "d3dformats.h"
#include "hull.h"
#ifndef HR
#define HR(x,y) \
{ \
HRESULT hr = x; \
if(FAILED(hr)) \
{ \
std::wstring error = y + util::DXErrorToString(GetLastError()); \
throw std::runtime_error(toNarrowString(error.c_str(),-1)); \
} \
}
#endif
void GetCorrectUp(D3DXVECTOR3 * lookAtPt, D3DXVECTOR3 * eyePt, D3DXVECTOR3 * up);
namespace util
{
// Convert a Windows error to a string
std::wstring Win32ErrorToString(DWORD dwErrorCode);
// Convert a D3D error to a string
std::wstring DXErrorToString(HRESULT hResult);
}
// THE FOLLOWING IS FROM:
// http://www.codeproject.com/KB/stl/upgradingstlappstounicode.aspx?fid=16224&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=1481519
std::wstring toWideString( const char* pStr , int len );
string toNarrowString( const wchar_t* pStr , int len );
// FROM F. LUNA
void LoadXFile(const std::wstring& filename, ID3DXMesh** meshOut, std::vector<Mtrl>& mtrls, std::vector<IDirect3DTexture9*>& texs);
// My own code to test whether or not a matrix is a rotation matrix
class double3x3;
class double3;
bool isRotation(double3x3 * mat);
bool isBasis(double3 * vec0,double3 * vec1,double3 * vec2);
#endif // util_H_INCLUDED
|
[
"jonathantompson@5e2a6976-228a-6e25-3d16-ad1625af6446"
] |
[
[
[
1,
53
]
]
] |
d61b5055ad876031ace615e989dfe3e63b1ad9b8
|
475150d6e2022a5391be49a7f2411fda6da46dde
|
/matrix.h
|
aa375a80fa61b41c517c71258f33f216467c381f
|
[] |
no_license
|
theclakuh/Nonogramz
|
c1beffb1cd5783d22b1b462a52bade4c9d1acfc2
|
a867ee476dbafe0b73eb98ace7a3c4d60365b9fe
|
refs/heads/master
| 2021-01-23T00:07:20.997678 | 2011-12-20T23:18:43 | 2011-12-20T23:18:43 | 2,754,918 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 527 |
h
|
#ifndef MATRIX_H
#define MATRIX_H
#include "drawable.h"
#include "cell.h"
#include <exception>
#include <vector>
#include <iostream>
#include <QtGui/QPainter>
#define INDEX(x, y, WIDTH) (x*WIDTH + y)
#define CHECK(len, WIDTH) (len%WIDTH == 0)
class Matrix
{
public:
Matrix(std::vector<Cell*> cells, int width);
Cell* cellAt(int x, int y);
int getWidth();
std::vector<Cell*> getCells();
int rows();
private:
std::vector<Cell*> cells;
int width;
};
#endif // MATRIX_H
|
[
"[email protected]"
] |
[
[
[
1,
28
]
]
] |
20364f32266ebcd530368b2e8394c8fb6ef7f8bd
|
1775576281b8c24b5ce36b8685bc2c6919b35770
|
/tags/release_1.01/trunk/keybind.cpp
|
f889a5dc6da8148d38fbea3cc61ba4e1c8339866
|
[] |
no_license
|
BackupTheBerlios/gtkslade-svn
|
933a1268545eaa62087f387c057548e03497b412
|
03890e3ba1735efbcccaf7ea7609d393670699c1
|
refs/heads/master
| 2016-09-06T18:35:25.336234 | 2006-01-01T11:05:50 | 2006-01-01T11:05:50 | 40,615,146 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 7,559 |
cpp
|
// <<--------------------------------------->>
// << SLADE - SlayeR's 'LeetAss Doom Editor >>
// << By Simon Judd, 2004 >>
// << ------------------------------------- >>
// << keybind.cpp - Key bindings >>
// <<--------------------------------------->>
// Includes ------------------------------- >>
#include "main.h"
#include "keybind.h"
// Variables ------------------------------ >>
BindList binds;
// set_defaults: Sets the default key bindings
// ---------------------------------------- >>
void BindList::set_defaults()
{
keys.clear();
add("view_up", "Up");
add("view_down", "Down");
add("view_left", "Left");
add("view_right", "Right");
add("view_zoomin", "equal");
add("view_zoomout", "minus");
add("view_origin", "o");
add("view_increasegrid", "bracketleft");
add("view_decreasegrid", "bracketright");
add("view_3dmode", "q");
add("mode_vertices", "v");
add("mode_linedefs", "l");
add("mode_sectors", "s");
add("mode_things", "t");
add("mode_change", "Tab");
add("edit_lockhilight", "h");
add("edit_clearselection", "c");
add("edit_edititem", "Return");
add("edit_createitem", "Insert");
//add("edit_createitem2", "<Shift>Insert");
add("edit_deleteitem", "Delete");
add("edit_undo", "<Control>z");
add("line_flip", "f");
add("line_swapsides", "<Control>f");
add("line_flipboth", "<Shift><Control>f");
add("line_begindraw", "space");
add("line_begindraw_rect", "<Shift>space");
add("sector_upfloor8", "period");
add("sector_downfloor8", "comma");
add("sector_upceil8", "<Shift>period");
add("sector_downceil8", "<Shift>comma");
add("sector_upfloor", "<Control>period");
add("sector_downfloor", "<Control>comma");
add("sector_upceil", "<Shift><Control>period");
add("sector_downceil", "<Shift><Control>comma");
add("sector_upboth8", "<Alt>period");
add("sector_downboth8", "<Alt>comma");
add("sector_upboth", "<Control><Alt>period");
add("sector_downboth", "<Control><Alt>comma");
add("sector_merge", "<Control>j");
add("sector_join", "j");
add("copy", "<Control>c");
add("paste", "<Control>v");
add("cancel_paste", "Escape");
add("3d_exit", "q");
add("3d_forward", "w");
add("3d_back", "s");
add("3d_strafeleft", "a");
add("3d_straferight", "d");
add("3d_left", ",");
add("3d_right", ".");
add("3d_moveup", "Home");
add("3d_movedown", "End");
add("3d_toggle_gravity", "g");
add("3d_toggle_fullbright", "b");
add("3d_toggle_fog", "f");
add("3d_toggle_hilight", "h");
add("3d_toggle_things", "t");
add("3d_upceil8", "KP_Add");
add("3d_downceil8", "KP_Subtract");
add("3d_upceil", "<Control>KP_Add");
add("3d_downceil", "<Control>KP_Subtract");
add("3d_upfloor8", "<Shift>KP_Add");
add("3d_downfloor8", "<Shift>KP_Subtract");
add("3d_upfloor", "<Shift><Control>KP_Add");
add("3d_downfloor", "<Shift><Control>KP_Subtract");
add("3d_upboth8", "<Alt>KP_Add");
add("3d_downboth8", "<Alt>KP_Subtract");
add("3d_upboth", "<Control><Alt>KP_Add");
add("3d_downboth", "<Control><Alt>KP_Subtract");
add("3d_upyoffset", "<Control>Up");
add("3d_downyoffset", "<Control>Down");
add("3d_upxoffset", "<Control>Left");
add("3d_downxoffset", "<Control>Right");
add("3d_upyoffset8", "Up");
add("3d_downyoffset8", "Down");
add("3d_upxoffset8", "Left");
add("3d_downxoffset8", "Right");
add("3d_lowerunpegged", "l");
add("3d_upperunpegged", "u");
add("3d_uplightlevel", "equal");
add("3d_downlightlevel", "minus");
add("3d_upthingangle", "Left");
add("3d_downthingangle", "Right");
add("3d_upthingz8", "Up");
add("3d_downthingz8", "Down");
add("3d_upthingz", "<Control>Up");
add("3d_downthingz", "<Control>Down");
add("3d_align_tex_x", "<Control>a");
add("3d_paste_paint", "<Shift>p");
add("3d_reset_offsets", "r");
/*
add("3d_clear_texture", key_id("KEY_DELETE"), 0);
*/
add("open_console", "grave");
}
// add: Adds a key binding to the bind list
// ------------------------------------- >>
void BindList::add(string name, string key)
{
keybind_t newkey;
newkey.key = key;
newkey.defaultkey = key;
newkey.name = name;
newkey.pressed = false;
keys.push_back(newkey);
}
// pressed: Returns wether a key is pressed
// ------------------------------------- >>
bool BindList::pressed(string name)
{
for (int a = 0; a < keys.size(); a++)
{
if (keys[a].name == name)
return keys[a].pressed;
}
return false;
}
// set: 'Presses' a key
// ----------------- >>
void BindList::set(string key)
{
for (int a = 0; a < keys.size(); a++)
{
if (keys[a].key == key)
{
keys[a].pressed = true;
//printf("Key \"%s\" pressed\n", keys[a].name.c_str());
//return;
}
}
}
// unset: 'Releases' a key
// -------------------- >>
void BindList::unset(string key)
{
guint nkey = 0;
gtk_accelerator_parse(key.c_str(), &nkey, NULL);
string kname = gtk_accelerator_name(nkey, (GdkModifierType)0);
for (int a = 0; a < keys.size(); a++)
{
if (g_str_has_suffix(keys[a].key.c_str(), kname.c_str()))
{
//printf("Key \"%s\" released\n", keys[a].name.c_str());
keys[a].pressed = false;
}
}
}
// clear: Clears a bind (wether the key is pressed or not
// --------------------------------------------------- >>
void BindList::clear(string name)
{
for (int a = 0; a < keys.size(); a++)
{
if (keys[a].name == name)
{
keys[a].pressed = false;
return;
}
}
}
// press: 'Presses' a bind (wether the key is pressed or not)
// ------------------------------------------------------- >>
void BindList::press(string name)
{
for (int a = 0; a < keys.size(); a++)
{
if (keys[a].name == name)
{
keys[a].pressed = true;
return;
}
}
}
// clear_all: Clears all binds
// ------------------------ >>
void BindList::clear_all()
{
for (int a = 0; a < keys.size(); a++)
clear(keys[a].name);
}
// get_name: Gets the name of a specific bind
// --------------------------------------- >>
string BindList::get_name(int index)
{
if (index < keys.size())
return keys[index].name;
else
return "";
}
// get_bind: Gets the key of a specific bind
// -------------------------------------- >>
string BindList::get_bind(int index)
{
if (index < keys.size())
return keys[index].key;
else
return "";
}
// change: Changes a key binding
// -------------------------- >>
void BindList::change(string name, string key)
{
for (int a = 0; a < keys.size(); a++)
{
if (keys[a].name == name)
keys[a].key = key;
}
}
// change_default: Changes a key binding to it's default setting
// ---------------------------------------------------------- >>
void BindList::change_default(string name)
{
for (int a = 0; a < keys.size(); a++)
{
if (keys[a].name == name)
keys[a].key = keys[a].defaultkey;
}
}
void BindList::save(FILE* fp)
{
fprintf(fp, "binds\n{\n");
for (int a = 0; a < keys.size(); a++)
fprintf(fp, "\tkey \"%s\" \"%s\"\n", keys[a].name.c_str(), keys[a].key.c_str());
fprintf(fp, "}\n\n");
}
void BindList::load(Tokenizer *tz)
{
tz->check_token("{");
string token = tz->get_token();
while (token != "}")
{
if (token == "key")
{
string name = tz->get_token();
string key = tz->get_token();
for (int a = 0; a < keys.size(); a++)
{
if (keys[a].name == name)
{
keys[a].key = key;
break;
}
}
}
token = tz->get_token();
}
}
|
[
"veilofsorrow@0f6d0948-3201-0410-bbe6-95a89488c5be"
] |
[
[
[
1,
306
]
]
] |
56addfea3446dd0b00df61a65b4d77947cd9121a
|
f55665c5faa3d79d0d6fe91fcfeb8daa5adf84d0
|
/GameSDK/SLB/src/LuaObject.cpp
|
22feb17e96608aff9209b84b2497782f39713b2b
|
[] |
no_license
|
lxinhcn/starworld
|
79ed06ca49d4064307ae73156574932d6185dbab
|
86eb0fb8bd268994454b0cfe6419ffef3fc0fc80
|
refs/heads/master
| 2021-01-10T07:43:51.858394 | 2010-09-15T02:38:48 | 2010-09-15T02:38:48 | 47,859,019 | 2 | 1 | null | null | null | null |
GB18030
|
C++
| false | false | 4,349 |
cpp
|
#include "SLB\LuaObject.h"
#include <sstream>
#include <SLB/Debug.hpp>
namespace SLB
{
LuaObject::LuaObject()
: m_state( NULL )
, m_luaobject( LUA_REFNIL )
{
}
LuaObject::LuaObject( lua_State* state, int ref )
: m_state( state )
, m_luaobject( ref )
{
}
LuaObject::LuaObject( const LuaObject& obj )
: m_state( obj.m_state )
{
// 引用
if( obj.isvalid() )
{
lua_getref( m_state, obj.m_luaobject );
m_luaobject = luaL_ref( m_state, LUA_REGISTRYINDEX );
}
}
LuaObject::~LuaObject(void)
{
// 解除引用
if( isvalid() )
{
lua_unref( m_state, m_luaobject );
}
}
LuaObject& LuaObject::operator=( LuaObject& obj )
{
if( obj.isvalid() )
{
obj.push();
int luaobject = luaL_ref( obj.m_state, LUA_REGISTRYINDEX );
if( isvalid() )
{
lua_unref( m_state, m_luaobject );
}
m_state = obj.m_state;
m_luaobject = luaobject;
}
return *this;
}
void LuaObject::push()const
{
if( isvalid() )
{
lua_getref( m_state, m_luaobject );
}
}
void LuaObject::pushImplementation(lua_State *)
{
}
bool LuaObject::toboolean()const
{
lua_getref( m_state, m_luaobject ); // t
return lua_toboolean( m_state, -1 ) != 0;
}
const char* LuaObject::tostring()const
{
lua_getref( m_state, m_luaobject ); // t
return lua_tostring( m_state, -1 );
}
ptrdiff_t LuaObject::tointeger()const
{
lua_getref( m_state, m_luaobject ); // t
return lua_tointeger( m_state, -1 );
}
double LuaObject::tonumber()const
{
lua_getref( m_state, m_luaobject ); // t
return (long)lua_tonumber( m_state, -1 );
}
bool LuaObject::isfunction()const
{
lua_getref( m_state, m_luaobject ); // t
bool ret = lua_isfunction( m_state, -1 ) != 0;
lua_pop( m_state, 1 );
return ret;
}
bool LuaObject::isboolean()const
{
lua_getref( m_state, m_luaobject ); // t
//const char* tn = lua_typename( m_state, -1 );
bool ret = lua_isboolean( m_state, -1 ) != 0;
lua_pop( m_state, 1 );
return ret;
}
bool LuaObject::isstring()const
{
lua_getref( m_state, m_luaobject ); // t
//const char* tn = lua_typename( m_state, -1 );
bool ret = lua_isstring( m_state, -1 ) != 0;
lua_pop( m_state, 1 );
return ret;
}
bool LuaObject::isnumber()const
{
lua_getref( m_state, m_luaobject ); // t
//const char* tn = lua_typename( m_state, -1 );
bool ret = lua_isnumber( m_state, -1 ) != 0;
lua_pop( m_state, 1 );
return ret;
}
bool LuaObject::isnil()const
{
lua_getref( m_state, m_luaobject ); // t
//const char* tn = lua_typename( m_state, -1 );
bool ret = lua_isnil( m_state, -1 ) != 0;
lua_pop( m_state, 1 );
return ret;
}
bool LuaObject::isvalid()const
{
return m_state && m_luaobject!=LUA_REFNIL;
}
int LuaObject::errorHandler(lua_State *L)
{
std::ostringstream out; // Use lua pushfstring and so on...
lua_Debug debug;
out << "SLB Exception: "
<< std::endl << "-------------------------------------------------------"
<< std::endl;
out << "Lua Error:" << std::endl << "\t"
<< lua_tostring(L, -1) << std::endl
<< "Traceback:" << std::endl;
for ( int level = 0; lua_getstack(L, level, &debug ); level++)
{
if (lua_getinfo(L, "Sln", &debug) )
{
//TODO use debug.name and debug.namewhat
//make this more friendly
out << "\t [ " << level << " (" << debug.what << ") ] ";
if (debug.currentline > 0 )
{
out << debug.short_src << ":" << debug.currentline;
if (debug.name)
out << " @ " << debug.name << "(" << debug.namewhat << ")";
}
out << std::endl;
}
else
{
out << "[ERROR using Lua DEBUG INTERFACE]" << std::endl;
}
}
lua_pushstring(L, out.str().c_str()) ;
return 1;
}
void LuaObject::execute(int numArgs, int numOutput, int top)
{
int base = lua_gettop(m_state) - numArgs;
lua_pushcfunction(m_state, LuaObject::errorHandler);
lua_insert(m_state, base);
if(lua_pcall(m_state, numArgs, numOutput, base))
{
std::runtime_error exception( lua_tostring(m_state, -1) );
lua_remove(m_state, base);
lua_settop(m_state,top); // TODO: Remove this.
throw exception;
}
lua_remove(m_state, base);
}
}
|
[
"albertclass@a94d7126-06ea-11de-b17c-0f1ef23b492c"
] |
[
[
[
1,
193
]
]
] |
4a3e478309a0b690dc126d6e4259aa0ff4f925bd
|
ec593cdbcb75afa0e1d49a9d5f992d929f5b131b
|
/UiWaitMessageDlg.h
|
77f72e9914e636b6ebe41ad1763c3ade961d97f9
|
[] |
no_license
|
jemyzhang/MzCommon_deprecated
|
10873a31b4c240bcdb8d31f7cf7d546c193b59a7
|
99f44847355882edf40329bc17420a5414a59389
|
refs/heads/master
| 2016-09-01T17:09:08.785822 | 2010-01-18T02:09:09 | 2010-01-18T02:09:09 | null | 0 | 0 | null | null | null | null |
GB18030
|
C++
| false | false | 902 |
h
|
#pragma once
/*
* @filename UiSingleOption.h
* @note 等待对话框
* @author JEMYZHANG
* @date 2009.10.17
* @ver. 1.0
* @changelog
* ver.1.0 初始化程序
*/
// include the MZFC library header file
#include <mzfc_inc.h>
class UiBackground :
public UiWin
{
public:
virtual void PaintWin(HDC hdcDst, RECT* prcWin, RECT* prcUpdate){
UiWin::PaintWin(hdcDst, prcWin, prcUpdate);
MzDrawGridDlgBG(hdcDst,prcWin);
}
};
class Ui_WaitMessageDlgWnd : public CMzWndEx{
MZ_DECLARE_DYNAMIC(Ui_WaitMessageDlgWnd);
public:
Ui_WaitMessageDlgWnd(const TCHAR* content = NULL);
~Ui_WaitMessageDlgWnd();
public:
UiBackground m_Bg;
UiStatic m_Message;
public:
BOOL OnInitDialog();
virtual bool CallBackProcess() = 0;
int DoModal();
void OnTimer(UINT nIDEvent);
void setMessage(LPTSTR msg);
private:
bool nRet;
LPTSTR m_messageText;
};
|
[
"jemyzhang@53aff7d1-dc1e-0346-9cbd-63131b65f07d"
] |
[
[
[
1,
41
]
]
] |
a8265e13d454154f82a4428e5d9cc3ab8701a2ac
|
a756bbebf0d079b4e7935cca05c98360ab304c74
|
/ofxMidi example-input_mod/src/testApp.cpp
|
d2a892ae2893c131da3dd8df69bd5d8891fe50ae
|
[] |
no_license
|
ofbek/hc
|
b83ef78e92fd1cf452acdfa62b15146ac6e95047
|
78394e042bc7647e2856ab7a423553b6c99c18e0
|
refs/heads/master
| 2021-01-22T11:37:36.176172 | 2011-12-09T17:19:25 | 2011-12-09T17:19:25 | 2,948,641 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 1,910 |
cpp
|
#include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
ofSetVerticalSync(true);
ofBackground(255,255,255);
midiIn.listPorts();
midiIn.openPort(1);
midiIn.addListener(this);
// to register only to one controller pass the id as first argument
// midiIn.addListener(84,this);
// to debug
// midiIn.setVerbose(true);
}
//--------------------------------------------------------------
void testApp::update(){
sprintf(msg,"controller: %i, value: %i, received from port: %i, id: %i \n\nwith %f milliseconds difference from last message",controller,value,port,id,timestamp);
}
//--------------------------------------------------------------
void testApp::draw(){
ofSetColor(0x000000);
ofRect(20,40,(ofGetWidth()-40)*(float)value/127,20);
ofDrawBitmapString(msg,20,300);
}
//--------------------------------------------------------------
void testApp::newMidiMessage(ofxMidiEventArgs& eventArgs) {
// store some data from midi message in variables
controller = eventArgs.byteOne;
value = eventArgs.byteTwo;
id = eventArgs.channel;
port = eventArgs.port;
timestamp = eventArgs.timestamp;
}
//--------------------------------------------------------------
void testApp::keyPressed (int key){
}
//--------------------------------------------------------------
void testApp::keyReleased (int key){
}
//--------------------------------------------------------------
void testApp::mouseMoved(int x, int y ){
}
//--------------------------------------------------------------
void testApp::mouseDragged(int x, int y, int button){
}
//--------------------------------------------------------------
void testApp::mousePressed(int x, int y, int button){
}
//--------------------------------------------------------------
void testApp::mouseReleased(){
}
|
[
"[email protected]"
] |
[
[
[
1,
69
]
]
] |
e1392656c924a3abe87df326e143201b556ab221
|
4d39427e647851791cbd2be2f7b7e14428b983de
|
/clienti_apartamente.h
|
fa42759d9c85fde4b3793ce8de0fb6dcc5841d54
|
[] |
no_license
|
elfumelfu/sandbox
|
dff76aa5f42659d08ad532e9c2dd17dbb453306a
|
8688489e14711234111abf858054ca0b332d8d0d
|
refs/heads/master
| 2021-01-22T09:26:49.570550 | 2011-12-06T19:11:18 | 2011-12-06T19:11:18 | null | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 2,562 |
h
|
//---------------------------------------------------------------------------
#ifndef clienti_apartamenteH
#define clienti_apartamenteH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <CheckLst.hpp>
#include <ExtCtrls.hpp>
#include <DBTables.hpp>
#include <DB.hpp>
#include "ButtonWithColor.hpp"
#include "JvCheckListBox.hpp"
#include "JvExCheckLst.hpp"
//---------------------------------------------------------------------------
class TfrmClientiAp : public TForm
{
__published: // IDE-managed Components
TGroupBox *GroupBox3;
TLabel *Label3;
TLabeledEdit *txtNume;
TMemo *memInfo;
TLabeledEdit *txtTel;
TGroupBox *GroupBox2;
TGroupBox *GroupBox1;
TLabel *Label4;
TLabel *Label5;
TLabel *Label10;
TLabel *Label11;
TLabeledEdit *txtPretMin;
TComboBox *txtMoneda;
TComboBox *txtDsc;
TComboBox *txtJudet;
TComboBox *txtLocalitate;
TButton *btnLocalitate;
TListBox *txtZonePreferate;
TListBox *txtNrcam;
TLabel *Label1;
TLabeledEdit *txtNrPersoane;
TLabeledEdit *txtPretMax;
TListBox *txtZoneExcluse;
TLabeledEdit *txtPerContract;
TLabel *Label2;
TLabel *Label6;
TGroupBox *GroupBox4;
TLabel *Label7;
TLabel *Label8;
TGroupBox *GroupBox5;
TButton *btnStergeTot;
TButton *btnSalveaza;
TButton *btnRenunta;
TUpdateSQL *insertQuery;
TUpdateSQL *SQL;
TQuery *getLocId;
TBitBtnWithColor *btnInchiriat;
TJvCheckListBox *cblMobilat;
TJvCheckListBox *cblUtilat;
TJvCheckListBox *cblImbunatatiri;
void __fastcall btnStergeTotClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall txtJudetChange(TObject *Sender);
void __fastcall txtLocalitateChange(TObject *Sender);
void __fastcall btnLocalitateClick(TObject *Sender);
void __fastcall btnRenuntaClick(TObject *Sender);
void __fastcall btnInchiriatClick(TObject *Sender);
void __fastcall btnSalveazaClick(TObject *Sender);
void __fastcall Label2Click(TObject *Sender);
void __fastcall txtPerContractKeyPress(TObject *Sender, wchar_t &Key);
private: // User declarations
public: // User declarations
__fastcall TfrmClientiAp(TComponent* Owner);
UnicodeString operatie;
int id;
int inchiriat;
int locID;
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmClientiAp *frmClientiAp;
//---------------------------------------------------------------------------
#endif
|
[
"[email protected]",
"[email protected]"
] |
[
[
[
1,
14
],
[
17,
57
],
[
61,
82
]
],
[
[
15,
16
],
[
58,
60
]
]
] |
af069c4955967884f36109636a1817c03dec36c0
|
28a56d127e0c18c6ba138348ffac61fa25742be1
|
/include/ClientSocket.h
|
1ae8f21fe53e9437746ea6c82b5a53b2d09bdc8b
|
[] |
no_license
|
IrmatDen/fr-belote
|
036f68966b6c8beb7ea1bb7a18aeac98bee30924
|
c7dc68be4d8c18ad2905c59d6e13887c6a3c0b8d
|
refs/heads/master
| 2020-05-17T11:07:42.910399 | 2011-07-21T14:40:26 | 2011-07-21T14:40:26 | 40,088,860 | 0 | 0 | null | null | null | null |
UTF-8
|
C++
| false | false | 3,084 |
h
|
#ifndef BELOTE_CLIENTSOCKET_H
#define BELOTE_CLIENTSOCKET_H
#include <string>
#include <queue>
#include <SFML/System.hpp>
#include "BeloteContextPackets.h"
class ClientSocketPrivate;
typedef std::shared_ptr<ClientSocketPrivate> ClientSocketPrivatePtr;
class ClientSocket
{
public:
enum ConnectionStatus
{
CS_Connected,
CS_Disconnected,
CS_LobbyFull
};
public:
virtual ~ClientSocket();
void Connect(const std::string &hostIP, const std::string &utf8EncodedName);
void SendChatMessage(const std::string &utf8EncodedMessage);
void Disconnect();
void ChoosePosition(const std::string &posName);
void UnseatMe();
void StartGame();
void AcceptAsset(const std::string &assetColour);
void RefuseAsset();
void PlayCard(const std::string &cardName);
virtual void Update();
virtual void OnConnectionStatusChanged(ConnectionStatus newStatus) { (void)newStatus; }
virtual void OnPlayerConnected(const std::string &playerName) { (void)playerName; }
virtual void OnPlayerDisconnected(const std::string &playerName) { (void)playerName; }
virtual void OnTextBroadcasted(const std::string &sayer, const std::string &msg) { (void)sayer; (void)msg; }
virtual void OnSysMsgBroadcasted(const std::string &msg) { (void)msg; }
virtual void OnPositionningReceived(const PositionningPacket &positionning) { (void)positionning; }
virtual void OnGameStarting() { ; }
virtual void OnPlayerDealing(const std::string &dealerName) { (void)dealerName; }
virtual void OnCardsDealt(const CardsDealtPacket &cards) { (void)cards; }
virtual void OnPotentialAssetReceived(const std::string &assetCard) { (void)assetCard; }
virtual void OnAskingRevealedAsset() { ; }
virtual void OnAskingAnotherAsset() { ; }
virtual void OnAcceptedAsset(const AcceptedAssetPacket &acceptedAsset) { (void)acceptedAsset; }
virtual void OnRefusedAsset(int refusingPlayerPos) { (void)refusingPlayerPos; }
virtual void OnTurnStarting() { ; }
virtual void OnWaitingPlay(const WaitingPlayPacket &waitingPlay) { (void)waitingPlay; }
virtual void OnPlayedCard(const PlayedCardPacket &playedCard) { (void)playedCard; }
virtual void OnCurrentScores(int NSScore, int WEScore) { (void)NSScore; (void)WEScore; }
virtual void OnTotalScores(int NSScore, int WEScore) { (void)NSScore; (void)WEScore; }
virtual void OnBeloteAnnounced(int announcingPos) { (void)announcingPos; }
virtual void OnRebeloteAnnounced(int announcingPos) { (void)announcingPos; }
virtual void OnNoAssetTaken() { ; }
virtual void OnContractingTeamResult(bool isNSTeamContracting, bool hasWon) { (void)isNSTeamContracting; (void)hasWon; }
virtual void OnLitige(int litigeValue) { (void)litigeValue; }
virtual void OnMatchWon(bool isWonByNSTeam) { (void)isWonByNSTeam; }
protected:
ClientSocket();
bool m_IsDisconnecting;
private:
ClientSocketPrivatePtr m_priv;
};
#endif
|
[
"Denys@localhost"
] |
[
[
[
1,
74
]
]
] |
84372cfeadb298412becdd469e171b7e99cf42ec
|
6bdb3508ed5a220c0d11193df174d8c215eb1fce
|
/Codes/Halak.Toolkit/PhotoshopImageResources.h
|
99c3b6a06dddc1a2ef5e7e8b8f817544801a13db
|
[] |
no_license
|
halak/halak-plusplus
|
d09ba78640c36c42c30343fb10572c37197cfa46
|
fea02a5ae52c09ff9da1a491059082a34191cd64
|
refs/heads/master
| 2020-07-14T09:57:49.519431 | 2011-07-09T14:48:07 | 2011-07-09T14:48:07 | 66,716,624 | 0 | 0 | null | null | null | null |
MacCentralEurope
|
C++
| false | false | 7,862 |
h
|
#ifndef __HALAK_TOOLKIT_PHOTOSHOPIMAGERESOURCES_H__
#define __HALAK_TOOLKIT_PHOTOSHOPIMAGERESOURCES_H__
# include <Halak.Toolkit/FWD.h>
# include <Halak/Asset.h>
# include <Halak/String.h>
# include <map>
# include <vector>
namespace Halak
{
namespace Toolkit
{
class PhotoshopImageResource : public Asset
{
public:
enum Type
{
Undefined = 0,
MacPrintInfo = 1001,
ResolutionInfo = 1005,
AlphaChannelNames = 1006,
DisplayInfo = 1007,
Caption = 1008,
BorderInfo = 1009,
BgColor = 1010,
PrintFlags = 1011,
MultiChannelHalftoneInfo = 1012,
ColorHalftoneInfo = 1013,
DuotoneHalftoneInfo = 1014,
MultiChannelTransferFunctions = 1015,
ColorTransferFunctions = 1016,
DuotoneTransferFunctions = 1017,
DuotoneImageInfo = 1018,
BlackWhiteRange = 1019,
EPSOptions = 1021,
QuickMaskInfo = 1022, //2 bytes containing Quick Mask channel ID, 1 byte boolean indicating whether the mask was initially empty.
LayerStateInfo = 1024, //2 bytes containing the index of target layer. 0=bottom layer.
WorkingPathUnsaved = 1025,
LayersGroupInfo = 1026, //2 bytes per layer containing a group ID for the dragging groups. Layers in a group have the same group ID.
IPTC_NAA = 1028,
RawFormatImageMode = 1029,
JPEGQuality = 1030,
GridGuidesInfo = 1032,
Thumbnail1 = 1033,
CopyrightInfo = 1034,
URL = 1035,
Thumbnail2 = 1036,
GlobalAngle = 1037,
ColorSamplers = 1038,
ICCProfile = 1039, //The raw bytes of an ICC format profile, see the ICC34.pdf and ICC34.h files from the Internation Color Consortium located in the documentation section
Watermark = 1040,
ICCUntagged = 1041, //1 byte that disables any assumed profile handling when opening the file. 1 = intentionally untagged.
EffectsVisible = 1042, //1 byte global flag to show/hide all the effects layer. Only present when they are hidden.
SpotHalftone = 1043, // 4 bytes for version, 4 bytes for length, and the variable length data.
DocumentSpecific = 1044,
UnicodeAlphaNames = 1045, // 4 bytes for length and the string as a unicode string
IndexedColorTableCount = 1046, // 2 bytes for the number of colors in table that are actually defined
TransparentIndex = 1047,
GlobalAltitude = 1049, // 4 byte entry for altitude
Slices = 1050,
WorkflowURL = 1051, //Unicode string, 4 bytes of length followed by unicode string
JumpToXPEP = 1052, //2 bytes major version, 2 bytes minor version,
//4 bytes count. Following is repeated for count: 4 bytes block size,
//4 bytes key, if key = 'jtDd' then next is a Boolean for the dirty flag
//otherwise itís a 4 byte entry for the mod date
AlphaIdentifiers = 1053, //4 bytes of length, followed by 4 bytes each for every alpha identifier.
URLList = 1054, //4 byte count of URLs, followed by 4 byte long, 4 byte ID, and unicode string for each count.
VersionInfo = 1057, //4 byte version, 1 byte HasRealMergedData, unicode string of writer name, unicode string of reader name, 4 bytes of file version.
Unknown4 = 1058, //pretty long, 302 bytes in one file. Holds creation date, maybe Photoshop license number
XMLInfo = 1060, //some kind of XML definition of file. The xpacket tag seems to hold binary data
Unknown = 1061, //seems to be common!
Unknown2 = 1062, //seems to be common!
Unknown3 = 1064, //seems to be common!
PathInfo = 2000, //2000-2999 actually I think?
ClippingPathName = 2999,
PrintFlagsInfo = 10000,
};
public:
virtual ~PhotoshopImageResource();
static PhotoshopImageResourcePtr Create(Type type, const String& name, unsigned int size, PhotoshopDocumentReader& reader);
protected:
PhotoshopImageResource(Type type, const String& name);
private:
template <typename T> static PhotoshopImageResourcePtr NewImageResource(Type type, const String& name, unsigned int size, PhotoshopDocumentReader& reader);
private:
Type type;
String name;
typedef PhotoshopImageResourcePtr (*CreateFunction)(Type type, const String& name, unsigned int size, PhotoshopDocumentReader& reader);
typedef std::map<Type, CreateFunction> CreationDictionary;
static CreationDictionary imageResourceMap;
};
class PhotoshopResolutionInfo : public PhotoshopImageResource
{
public:
enum ResolutionUnit
{
PixelPerInch = 1,
PixelPerCent = 2,
};
enum Unit
{
UnitInch = 1,
UnitCentiMeter = 2,
UnitPoint = 3,
UnitPicas = 4,
UnitColumns = 5,
};
public:
PhotoshopResolutionInfo(Type type, const String& name, unsigned int size, PhotoshopDocumentReader& reader);
virtual ~PhotoshopResolutionInfo();
short GetHorizontalResolution() const;
short GetVerticalResolution() const;
ResolutionUnit GetHorizontalResolutionUnit() const;
ResolutionUnit GetVerticalResolutionUnit() const;
Unit GetWidthUnit() const;
Unit GetHeightUnit() const;
private:
short horizontalResolution;
short verticalResolution;
ResolutionUnit horizontalResolutionUnit;
ResolutionUnit verticalResolutionUnit;
Unit widthUnit;
Unit heightUnit;
};
class PhotoshopAlphaChannelNames : public PhotoshopImageResource
{
public:
PhotoshopAlphaChannelNames(Type type, const String& name, unsigned int size, PhotoshopDocumentReader& reader);
virtual ~PhotoshopAlphaChannelNames();
const std::vector<String>& GetNames() const;
private:
std::vector<String> names;
};
}
}
#endif
|
[
"[email protected]"
] |
[
[
[
1,
152
]
]
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.