亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ski.cpp

?? s60源碼
?? CPP
?? 第 1 頁 / 共 5 頁
字號:
    CSkiSprite* newScenery = CSkiSprite::NewLC(aBitmap, aMask, aType);
    iArray->AppendL(newScenery);
    CleanupStack::Pop(newScenery);
    }

//
//CMapGallery::
//

/**
* Symbian OS 2 phase constructor.
*/
CMapGallery* CMapGallery::NewL()
    {
    CMapGallery* self = NewLC();
    CleanupStack::Pop(self);
    return self;
    }

/**
* Symbian OS 2 phase constructor.  The constructed object is left on the cleanup stack
*/
CMapGallery* CMapGallery::NewLC()
    {
    CMapGallery* self = new (ELeave) CMapGallery;
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
    }

/**
* Implementation of the MMapPrimitiveToRectConverter mixin method that constructs a
* rectangle that borders the map primitive's sprite
* @param aPrimitive a map primitive of a particular type
* @return a rectangle that borders that map primitive
* @exception can leave with KErrNotFound
*/
TRect CMapGallery::RectangleL(TMapPrimitive aPrimitive) const
    {
    const TInt count = iArray->Count();

    for (TInt ii = 0; ii < count; ii++)
        {
        CSkiSprite* scenery = iArray->At(ii);

        if (scenery->Type() == aPrimitive.Type())
        	{
            return CreateRect(aPrimitive.Posn(), scenery->Bitmap().SizeInPixels());
			}
        }

    return TRect();
    }
//
// TMapPrimitiveBoundingRect::
//

/**
* C++ constructor
*/
TMapPrimitiveBoundingRect::TMapPrimitiveBoundingRect()
    {
    }

/**
* C++ constructor
* @param aSize The size of the bounding rectangle
* @param aHeight The height of the cube
* @param the type of the object bordered by the rectangle
*/
TMapPrimitiveBoundingRect::TMapPrimitiveBoundingRect(TSize aSize, TInt aHeight, TMapPrimitive::TMapObjectType aType) :
 iSize(aSize),
 iHeight(aHeight),
 iType(aType)
    {
    }

/**
* Bounding rectangle height accessor
* @return the cube height
*/
TInt TMapPrimitiveBoundingRect::Height() const
    {
    return iHeight;
    }

/**
* Bounding rectangle height mutator
* @param the cube height
*/
void TMapPrimitiveBoundingRect::SetHeight(TInt aHeight)
    {
    iHeight = aHeight;
    }

/**
* Bounding rectangle size accessor
* @return the rectangle size
*/
TSize TMapPrimitiveBoundingRect::Size() const
    {
    return iSize;
    }

/**
* Bounding rectangle size mutator
* @param the required rectangle size
*/
void TMapPrimitiveBoundingRect::SetSize(TSize aSize)
    {
    iSize = aSize;
    }

/**
* Bounding rectangle type accessor
* @return the rectangle type
*/
TMapPrimitive::TMapObjectType TMapPrimitiveBoundingRect::Type() const
    {
    return iType;
    }

/**
* Bounding rectangle type mutator
* @param the rectangle type
*/
void TMapPrimitiveBoundingRect::SetType(TMapPrimitive::TMapObjectType aType)
    {
    iType = aType;
    }

//
// CMapPrimitiveBoundingRects::
//

/**
* Standard Symbian OS 2 phase constructor
*/
CMapPrimitiveBoundingRects* CMapPrimitiveBoundingRects::NewL()
    {
    CMapPrimitiveBoundingRects* self = NewLC();
    CleanupStack::Pop(self);
    return self;
    }

/**
* Standard Symbian OS 2 phase constructor.  The object is left on the
* cleanup stack
*/
CMapPrimitiveBoundingRects* CMapPrimitiveBoundingRects::NewLC()
    {
    CMapPrimitiveBoundingRects* self = new (ELeave)CMapPrimitiveBoundingRects;
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
    }

/**
* Standard C++ 2nd phase contructor
*/
void CMapPrimitiveBoundingRects::ConstructL()
    {
    iRects = new (ELeave) CBoundingRectArray(KSkiArrayGranularity);
    }

/**
* Destructor
*/
CMapPrimitiveBoundingRects::~CMapPrimitiveBoundingRects()
    {
    delete iRects;
    }

/**
* Retrieve the size of a map object's bounding rectangle
* @param aType the object type
* @return the size of the bounding rectangle
* @excpetion Leaves with KErrNotFound if no type in the list matches aType
*/
TSize CMapPrimitiveBoundingRects::SizeL(TMapPrimitive::TMapObjectType aType) const
    {
    const TInt count = iRects->Count();

    for (TInt ii = 0; ii < count; ii++)
        {
        TMapPrimitiveBoundingRect bounder = iRects->At(ii);

        if (bounder.Type() == aType)
        	{
            return bounder.Size();
			}
        }
    return TSize();
    }

/**
* Adds the size of a map object's bounding rectangle
* @param aSize the size of the bounding rectangle
* @param aHeight the size of the bounding rectangle
* @param aType the object type
*/
void CMapPrimitiveBoundingRects::AddSizeL(TSize aSize, TInt aHeight, TMapPrimitive::TMapObjectType aType) const
    {
    const TInt count = iRects->Count();

    for (TInt ii = 0; ii < count; ii++)
        {
        TMapPrimitiveBoundingRect bounder = iRects->At(ii);

        if (bounder.Type() == aType)
        	{
            User::Leave(KErrAlreadyExists);
			}
        }

    iRects->AppendL(TMapPrimitiveBoundingRect(aSize, aHeight, aType));
    }

/**
* Retrieve a map object's bounding rectangle
* @param aPrimitive the object type
* @return the bounding rectangle
*/
TRect CMapPrimitiveBoundingRects::RectangleL(TMapPrimitive aPrimitive) const
    {
    const TInt count = iRects->Count();

    for (TInt ii = 0; ii < count; ii++)
        {
        TMapPrimitiveBoundingRect bounder = iRects->At(ii);

        if (bounder.Type() == aPrimitive.Type())
            {
            if (bounder.Height() >= iElevation)
            	{
                return CreateRect(aPrimitive.Posn(),  bounder.Size());
				}
            else
            	{
                break;
				}
            }
        }

    return TRect();
    }

/**
* Accessor to the map object elevation, used in the collision detection to determine
* if the skier has jumped over an object or not
* @return the elevation
*/
TInt CMapPrimitiveBoundingRects::Elevation() const
    {
    return iElevation;
    }

/**
* Mutator of the map object elevation, used in the collision detection to determine
* if the skier has jumped over an object or not
* @param aElevation the elevation
*/
void CMapPrimitiveBoundingRects::SetElevation(TInt aElevation)
    {
    iElevation = aElevation;
    }

//
// TSkierAttribs::
//

//
// skier physic properties + state enum
//

/**
* C++ constructor
*/
TSkierAttribs::TSkierAttribs()
    {
    }

/**
* Accessor to a vector representing the skier's position
* @return the position
*/
const TSkiVector& TSkierAttribs::Posn() const
    {
    return iPosn;
    }

/**
* Mutator of a vector representing the skier's position
* @param the position
*/
void TSkierAttribs::SetPosn(const TSkiVector& aPosn)
    {
    iPosn = aPosn;
    }

/**
* Skier elevation accessor
* @return the skier elevation
*/
TInt TSkierAttribs::Elevation() const
    {
    return iElevation;
    }

/**
* Skier elevation mutator
* @param aElevation the skier elevation
*/
void TSkierAttribs::SetElevation(TInt aElevation)
    {
    iElevation = aElevation;
    }

/**
* Accessor to a vector representing the skier's velocity
* @return the velocity
*/
const TSkiVector& TSkierAttribs::Vel() const
    {
    return iVel;
    }

/**
* Mutator of a vector representing the skier's velocity
* @param the velocity
*/
void TSkierAttribs::SetVel(const TSkiVector& aVel)
    {
    iVel = aVel;
    }

/**
* Accessor to a vector representing the skier's acceleration
* @return the acceleration
*/
const TSkiVector& TSkierAttribs::Accel() const
    {
    return iAccel;
    }

/**
* Mutator of a vector representing the skier's acceleration
* @param the acceleration
*/
void TSkierAttribs::SetAccel(const TSkiVector& aAccel)
    {
    iAccel = aAccel;
    }

/**
* Accessor to the size of the force that makes the skier jump
* @return the jump force
*/
TInt TSkierAttribs::JumpForce() const
    {
    return iJumpForce;
    }

/**
* Mutator of the size of the force that makes the skier jump
* @param the jump force
*/
void TSkierAttribs::SetJumpForce(TInt aForce)
    {
    iJumpForce = aForce;
    }

/**
* Accessor to gravity force that brings the skier down to earth
* @return gravity
*/
TInt TSkierAttribs::Gravity() const
    {
    return iGravity;
    }

/**
* Mutator of gravity force
* @param aGravity gravity
*/
void TSkierAttribs::SetGravity(TInt aGravity)
    {
    iGravity = aGravity;
    }

/**
* Returns the state is the skier in
* @return an enumerated value that describes the skier's state or direction
*/
TSkierAttribs::TSkierState TSkierAttribs::State() const
    {
    return static_cast<TSkierAttribs::TSkierState>(iState);
    }

/**
* Puts the skier in a state
* @param aState the required state
*/
void TSkierAttribs::SetState(TSkierAttribs::TSkierState aState)
    {
    iState = aState;
    }

/**
* The time in milliseconds that the skier stays down on the ground
* @return That time that I was just talking about then
*/
TInt TSkierAttribs::FallTickCount() const
    {
    return iFallTickCount;
    }

/**
* Set how long the skier stays on the ground fallen down
* @param aCount how long the skier stays on the ground
*/
void TSkierAttribs::SetFallTickCount(TInt aCount)
    {
    iFallTickCount = aCount;
    }

/**
* Rotates the skier direction clockwise
*/
void TSkierAttribs::RotateClockwise()
    {
    if (iState != ESkier0)
    	{
        iState--;
		}
    }

/**
* Rotates the skier direction anti-clockwise
*/
void TSkierAttribs::RotateAntiClockwise()
    {
    if (iState != ESkier180)
    	{
        iState++;
		}
    }

/**
* Returns the skier's size
* @return the skier size
*/
TSize TSkierAttribs::SkierSize() const
    {
    return iSkierSize;
    }

/**
* Sets the skier's size
* @param the skier size
*/
void TSkierAttribs::SetSkierSize(TSize aSize)
    {
    iSkierSize = aSize;
    }

//
//CSkier::
//

/**
* Symbian OS 2 phase constructor.
*/
CSkier* CSkier::NewL()
    {
    CSkier* self = CSkier::NewLC();
    CleanupStack::Pop(self);
    return self;
    }

/**
* Symbian OS 2 phase constructor.  The object is left on the cleanup stack
*/
CSkier* CSkier::NewLC()
    {
    CSkier* self = new (ELeave) CSkier();
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
    }

/**
* destructor
*/
CSkier::~CSkier()
    {
    delete iGallery;
    }

/**
* Accessor to the skier's sprites
* @return the skier's sprites
*/
CGameGallery& CSkier::Gallery()
    {
    return *iGallery;
    }

/**
* Accessor to the skier's sprites
* @return the skier's sprites
*/
const CGameGallery& CSkier::Gallery() const
    {
    return *iGallery;
    }

/**
* Accessor to the sprite that represents the skier's current state
* @return the current skier sprite
*/

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本人妖一区二区| 欧美午夜寂寞影院| 欧美精品欧美精品系列| 久久99国产精品成人| 94-欧美-setu| 国产精品视频免费| 国产一区999| 欧美精品一区二区三区在线播放 | 丁香六月久久综合狠狠色| 色丁香久综合在线久综合在线观看| 久久精品日韩一区二区三区| 国内成+人亚洲+欧美+综合在线 | 欧美一区二区三区视频免费| 亚洲成人一二三| 欧美日韩国产另类不卡| 亚洲精品久久嫩草网站秘色| 一本久久a久久精品亚洲| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 亚洲精品国久久99热| 91黄色免费版| 亚洲精选一二三| 欧美伊人精品成人久久综合97| 悠悠色在线精品| 欧美日精品一区视频| 午夜精品福利一区二区三区av | 3d动漫精品啪啪1区2区免费 | 日本一区二区不卡视频| 豆国产96在线|亚洲| 国产精品亲子伦对白| 99精品视频一区二区三区| 亚洲男女一区二区三区| 欧美综合天天夜夜久久| 日韩va欧美va亚洲va久久| 精品国产一区二区三区忘忧草| 精品一二三四在线| 26uuu精品一区二区三区四区在线| 国产精品综合二区| 中文字幕佐山爱一区二区免费| 欧美色图在线观看| 另类小说图片综合网| 欧美国产一区视频在线观看| 在线观看日韩高清av| 午夜日韩在线观看| 欧美精品一区二区三区视频| 色综合天天综合给合国产| 青青青伊人色综合久久| 久久亚区不卡日本| 色天使色偷偷av一区二区 | 久久夜色精品国产欧美乱极品| 99久久久国产精品| 午夜精品一区二区三区免费视频| 欧美一区二区播放| 99久久久久久99| 另类小说综合欧美亚洲| 久久久久国产成人精品亚洲午夜| 色婷婷精品久久二区二区蜜臂av| 麻豆成人久久精品二区三区小说| 国产精品白丝在线| 日韩视频在线你懂得| 99久久婷婷国产精品综合| 蜜桃久久久久久| 国产喷白浆一区二区三区| 欧美日韩另类一区| 成人开心网精品视频| 亚洲v中文字幕| 国产精品成人免费精品自在线观看| 欧美成人三级在线| 91麻豆精品91久久久久同性| 欧美三级乱人伦电影| 在线观看亚洲成人| 欧美在线一二三四区| 在线看国产日韩| 欧美亚洲国产bt| 欧美亚洲综合久久| 欧美日韩国产不卡| 欧美精品在线视频| 91麻豆精品国产91久久久更新时间| 7777精品伊人久久久大香线蕉经典版下载| 在线观看成人免费视频| 欧美在线高清视频| 9191国产精品| 日韩免费电影网站| 精品99999| 欧美激情一区三区| 国产精品久久二区二区| 亚洲欧美在线视频| 一区二区三区美女视频| 亚洲国产成人av| 免费在线一区观看| 激情av综合网| 成人免费福利片| 色综合亚洲欧洲| 91精品婷婷国产综合久久性色| 日韩一区二区免费视频| 精品国产免费一区二区三区四区| 国产欧美va欧美不卡在线| 中文字幕一区在线观看视频| 亚洲精品国久久99热| 日韩福利视频导航| 国产专区综合网| 99精品久久只有精品| 在线观看视频欧美| 精品噜噜噜噜久久久久久久久试看| 国产喂奶挤奶一区二区三区| 国产精品国产三级国产普通话99| 亚洲第一搞黄网站| 精品一区二区三区在线播放视频| voyeur盗摄精品| 91精品在线观看入口| 国产欧美一区二区三区沐欲| 亚洲精品成a人| 久久99精品久久久久| 成+人+亚洲+综合天堂| 欧美色区777第一页| 久久日一线二线三线suv| 亚洲乱码国产乱码精品精的特点| 裸体歌舞表演一区二区| 色狠狠色噜噜噜综合网| 日韩精品中文字幕一区二区三区| 国产精品乱码久久久久久| 天天av天天翘天天综合网色鬼国产| 国产精品99久久久久| 欧美视频精品在线| 国产精品色哟哟网站| 免费观看在线色综合| 97精品久久久久中文字幕| 欧美一级淫片007| 亚洲人成网站在线| 国产一区啦啦啦在线观看| 在线欧美小视频| 欧美—级在线免费片| 午夜久久久久久电影| 成人av午夜电影| 欧美xxxxx裸体时装秀| 亚洲黄色片在线观看| 夫妻av一区二区| 精品国产青草久久久久福利| 亚洲成人av电影| 99re热这里只有精品免费视频| 精品久久久影院| 五月天亚洲婷婷| 91麻豆精品视频| 国产精品乱人伦| 国产精品18久久久久久久网站| 欧美日韩国产免费一区二区 | 日本不卡一区二区三区| 99久久久免费精品国产一区二区| 久久久美女毛片| 精品在线一区二区三区| 欧美精品丝袜中出| 亚洲一区二区三区四区五区中文| eeuss影院一区二区三区 | 欧美成人高清电影在线| 午夜av一区二区三区| 在线这里只有精品| 亚洲理论在线观看| 一本色道久久加勒比精品| 中文字幕人成不卡一区| 国产.精品.日韩.另类.中文.在线.播放| 日韩女优av电影| 国产制服丝袜一区| 精品久久五月天| 国产精品一线二线三线精华| 久久久久久久久久久久久女国产乱 | 丝袜美腿成人在线| 欧亚一区二区三区| 亚洲午夜精品网| 99精品偷自拍| 玉米视频成人免费看| 欧美在线小视频| 午夜精品免费在线观看| 在线播放中文字幕一区| 日韩精品亚洲专区| 日韩一区和二区| 寂寞少妇一区二区三区| 久久青草欧美一区二区三区| 国产精品888| 亚洲天堂免费在线观看视频| 一本色道久久综合亚洲aⅴ蜜桃| 亚洲人成网站影音先锋播放| 欧美日韩综合一区| 日韩成人午夜电影| 久久综合丝袜日本网| 国产精品乡下勾搭老头1| 自拍偷自拍亚洲精品播放| 欧美影片第一页| 久久成人久久鬼色| 中文字幕乱码亚洲精品一区| 色婷婷综合五月| 调教+趴+乳夹+国产+精品| 久久免费精品国产久精品久久久久| 国产寡妇亲子伦一区二区| 最近日韩中文字幕| 欧美日韩免费观看一区三区| 美女性感视频久久| 国产精品午夜免费| 欧美色图片你懂的| 国产风韵犹存在线视精品| 亚洲精品日韩综合观看成人91| 91精品国产综合久久香蕉的特点 |