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

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

?? chanim.h

?? Windows上的MUD客戶端程序
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*----------------------------------------------------------------------------
                        _                              _ _       
        /\             | |                            | (_)      
       /  \   _ __   __| |_ __ ___  _ __ ___   ___  __| |_  __ _ 
      / /\ \ | '_ \ / _` | '__/ _ \| '_ ` _ \ / _ \/ _` | |/ _` |
     / ____ \| | | | (_| | | | (_) | | | | | |  __/ (_| | | (_| |
    /_/    \_\_| |_|\__,_|_|  \___/|_| |_| |_|\___|\__,_|_|\__,_|

    The contents of this file are subject to the Andromedia Public
	License Version 1.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.andromedia.com/APL/

    Software distributed under the License is distributed on an
	"AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
	implied. See the License for the specific language governing
	rights and limitations under the License.

    The Original Code is Pueblo client code, released November 4, 1998.

    The Initial Developer of the Original Code is Andromedia Incorporated.
	Portions created by Andromedia are Copyright (C) 1998 Andromedia
	Incorporated.  All Rights Reserved.

	Andromedia Incorporated                         415.365.6700
	818 Mission Street - 2nd Floor                  415.365.6701 fax
	San Francisco, CA 94103

    Contributor(s):
	--------------------------------------------------------------------------
	   Chaco team:  Dan Greening, Glenn Crocker, Jim Doubek,
	                Coyote Lussier, Pritham Shetty.

					Wrote and designed original codebase.

------------------------------------------------------------------------------

	Interface for the ChAnimView class.

----------------------------------------------------------------------------*/

// $Header: /home/cvs/chaco/modules/client/msw/ChGraphx/ChAnim.h,v 2.11 1996/07/02 19:41:13 pritham Exp $

#include "grheader.h"
#if !defined( _CHANIM_H )
#define _CHANIM_H

#include <ChHook.h>
#include <ChGraphx.h>
#include "ChGrVw.h"
#include <ChSplay.h>
#include "ChSpritN.h"
#include "ChSprite.h"
#include "ChSpLstN.h"
#include "ChSprLst.h"
#include "ChPhSprt.h"
#include <fstream.h>
//#include <ChDibImage.h>
#include <ChDibBmp.h>

#define CH_ANIM_SCRIPT_GO_TO  -2
#define CH_ANIM_SCRIPT_STOP  -1

/*----------------------------------------------------------------------------
	ChAnimView class	-- enhanced graphic view for graphic module
----------------------------------------------------------------------------*/

class ChAnimView;
class ChAnimAnchor;
class ChAnimCastMember;
								// make it a class and it can serialize itself ??
								// ought to be able to do loops in a character's
								// script, maybe by using a union or special
								// value.
#if 0
typedef struct _ChCell {
    int x;
    int y;
    int z;
	int	sprite;	// sprite id ??
    int row;
    int col;
    //CWave* pSnd;   // needs to be id ?
} ChCell;

Moved ChCell class to ChGraphx.h - needed by messages

#endif
 
								 // ChAnimAnchor is a hotspot which initiates
								 // character action, some sort of 
								 // message to callback. (Module can then 
								 // do as it wishes. It also posts a CH_MSG_ANCHOR
								 // to m_moduleId
class ChAnimAnchor
{
	CH_FRIEND_MESSAGE_HANDLER( animatorLoadAnchorHandler );
	CH_FRIEND_MESSAGE_HANDLER( graphicPaletteChangeHandler );

	friend class ChAnimCastMember;
	friend class ChAnimView;

	public:
		typedef enum { rect = 1, cast } type;

	public:
		ChAnimAnchor();
		ChAnimAnchor( chuint32 id, CRect& rcHot );
		ChAnimAnchor( chuint32 id, chuint32 hotCastId );
	
		virtual ~ChAnimAnchor();

	public:
	    inline void SetId( chuint32 id ) { m_id = id; }
	    inline void SetRect(CRect& rcHot) { m_type = rect; m_rcHot = rcHot; }
		chuint32 GetId( ) { return m_id; }; 
	    CRect& GetRect() {return m_rcHot; };
		string& GetHint() { return m_strHint; };
		inline chuint32 GetCursorId() { return m_cursor; };

		void SetHint( string & strHint ) {m_strHint = strHint;};
		void SetCmd( string & strCmdArg ) {m_strCmdArg = strCmdArg;};
		void SetCast( chuint32 castId ) {m_pCast = 0; m_castId = castId;};
		void SetStartFrame( chint32 lStartCell ) {m_lStartCell = lStartCell;};
		inline void SetCursorId( chuint32 cursor ) {m_cursor = cursor;};
		void SetCursor( string& cursorName );
		inline type GetType() { return m_type; };
		inline chuint32 GetHotCastId() { return m_hotCastId; }
		inline void SetHotCastId(chuint32 hotCastId) { m_type = cast; m_pHotCast = 0; m_hotCastId = hotCastId; }
		inline ChAnimCastMember * GetHotCast() { return m_pHotCast; }
		inline chuint32 GetCastId() const { return m_castId; }
		inline ChAnimCastMember * GetCast();

		inline ChAnimView * GetView() const { return m_pView; }

		// called by view; pt is in image coordinates
		bool HitTest(const CPoint & pt ) const
			{
				return m_rcHot.PtInRect(*LPPOINT(&pt));	// Test point for containment
			};

		//  called if Anchored
		virtual bool Notify(CPoint &point);	// derive to get this notification
		virtual bool Post(CPoint &point);

		#if 0
		void Serialize(ChArchive& archive)
			{
				if( archive.GetMode() == modeRead )
				{
					archive >> m_id;
					archive >> (chint32)m_rcHot.TopLeft().x;
					archive >> (chint32)m_rcHot.TopLeft().y;
					archive >> (chint32)m_rcHot.BottomRight().x;
					archive >> (chint32)m_rcHot.BottomRight().y;
					archive >> m_moduleId;
					archive >> m_strHint;
				}
				else
				{
					// oughta do something for versions??????
					archive << m_id;
					archive << (chint32)m_rcHot.TopLeft().x;
					archive << (chint32)m_rcHot.TopLeft().y;
					archive << (chint32)m_rcHot.BottomRight().x;
					archive << (chint32)m_rcHot.BottomRight().y;
					archive << m_moduleId;
	 				archive << m_strHint;
				}
			}
		#endif

    protected:
		void SetView( ChAnimView *const pView )
				{
					m_pView = pView;
				}

    protected:
											// Anchoring objects
		type				m_type;
		chuint32			m_id;
	    CRect 				m_rcHot;	  	//  a 'union' class of ChAnimCastMember and rect
	    ChAnimCastMember*	m_pHotCast;
		chuint32			m_hotCastId;	// for as-yet unloaded

											// resultant objects
	    ChAnimCastMember*	m_pCast;		// only fill in if used
		chuint32			m_castId;	  	// for as-yet unloaded; null means none
	    chint32				m_lStartCell;	// mandatory if cast supplied

											//  messaging
		//ChModuleID		m_moduleId;
		string				m_strCmdArg;
											// user feedback
		string				m_strHint;
		chuint32			m_cursor;
											/* Set the view when added to a
												view, so it's available to
												notifyees */
		ChAnimView*			m_pView;
};

typedef ChAnimAnchor *pChAnimAnchor;




class ChCharacter						 // thought we needed this, but whatever . . .
{
	public:
		//ChCharacter();
		//virtual ~ChCharacter();
		virtual bool Tick(chuint32 luCurrMsec) = 0; 			// Move one step
		virtual void GetBounds(CRect* pRect) = 0;	// return bounding rect
		virtual void Draw(CDC * pDC ) = 0;	// draw yourself to DC
		virtual bool HitTest(const CPoint & pt ) = 0;	// Test point for containment

};

class ChAnimParser;
class ChAnimCastMember : public ChCharacter
{

	friend class ChAnimParser;

	public:
		ChAnimCastMember(chuint32 luId = 1);
		virtual ~ChAnimCastMember();
		virtual bool Tick(chuint32 luCurrMsec); 			// Move one step
		virtual void GetBounds(CRect* pRect);	// return bounding rect
		virtual void Draw(CDC * pDC );	// draw yourself to DC
		virtual bool HitTest(const CPoint & pt );	// Test point for containment
		void	Show( bool boolVisible = true );

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美一区二区三区在线看蜜臀| a在线播放不卡| 日韩欧美国产不卡| 国产在线视频不卡二| 亚洲精品在线电影| 处破女av一区二区| 亚洲摸摸操操av| 欧美日韩国产综合一区二区三区| 日韩精品国产欧美| 欧美精品一区在线观看| 国产资源在线一区| 国产精品国产精品国产专区不蜜 | 久久久久久久电影| 中文字幕中文字幕中文字幕亚洲无线| 成人免费毛片高清视频| 亚洲视频网在线直播| 欧美亚洲综合色| 精品一区二区三区免费观看| 天天色综合天天| 国产亚洲精品7777| 色婷婷久久久久swag精品| 日韩精品亚洲专区| 国产午夜精品久久| 色婷婷久久99综合精品jk白丝| 日韩国产欧美三级| 欧美国产精品专区| 欧美军同video69gay| 国产酒店精品激情| 亚洲一区二区三区四区在线免费观看| 欧美成人三级在线| 91看片淫黄大片一级在线观看| 日韩中文欧美在线| 高清国产一区二区三区| 国产精品日韩成人| 欧洲国内综合视频| 国产精品白丝av| 夜色激情一区二区| 国产丝袜美腿一区二区三区| 欧美日韩亚洲综合一区| 成人av在线观| 老鸭窝一区二区久久精品| 一区二区三区四区不卡在线| 精品国免费一区二区三区| 欧美最猛性xxxxx直播| 精品一区二区三区久久| 亚洲国产日韩一级| 日韩理论片中文av| 国产女人aaa级久久久级 | 韩国在线一区二区| 视频在线观看一区二区三区| 亚洲人成网站影音先锋播放| wwww国产精品欧美| 欧美不卡视频一区| 欧美丰满高潮xxxx喷水动漫| 在线观看av一区二区| 波多野结衣中文一区| 激情综合网av| 极品少妇xxxx精品少妇偷拍| 日韩有码一区二区三区| 午夜av电影一区| 亚洲午夜视频在线观看| 亚洲精品中文在线影院| 亚洲欧洲成人av每日更新| 国产欧美一区二区精品性色| 久久亚洲一级片| 日韩一区二区电影在线| 欧美日韩精品一区视频| 欧美性猛片aaaaaaa做受| 色伊人久久综合中文字幕| www.日本不卡| 色久综合一二码| 91成人免费在线| 欧洲视频一区二区| 欧美最猛黑人xxxxx猛交| 欧美中文字幕一区二区三区亚洲| 色婷婷综合久色| 99久久精品国产一区二区三区| 成人小视频在线| 99re热视频这里只精品| 91一区二区三区在线播放| 色系网站成人免费| 欧美日韩一区二区在线观看视频| 欧美日韩精品免费| 日韩欧美中文字幕公布| 精品国产3级a| 国产精品欧美经典| 综合久久久久久| 亚洲电影视频在线| 蜜臀久久99精品久久久久宅男| 久久99国内精品| 成人性生交大合| 欧美色综合网站| 日韩视频在线你懂得| 久久影视一区二区| 亚洲色图第一区| 天天综合日日夜夜精品| 精品一区二区三区久久久| 播五月开心婷婷综合| 欧美日韩精品电影| wwww国产精品欧美| 一区二区三区小说| 麻豆91精品视频| 成人免费看黄yyy456| 欧美日韩在线免费视频| 日韩欧美一级二级三级久久久| 国产人伦精品一区二区| 亚洲综合在线第一页| 免费观看30秒视频久久| 国产盗摄女厕一区二区三区| 91在线观看下载| 欧美麻豆精品久久久久久| 国产网站一区二区| 亚洲自拍偷拍网站| 精东粉嫩av免费一区二区三区| 成人av免费在线播放| 欧美一级在线视频| 一色桃子久久精品亚洲| 日韩国产在线观看| 99精品在线观看视频| 91精品婷婷国产综合久久性色| 久久久久国产精品厨房| 亚洲成人一区在线| 国产91精品免费| 欧美丰满少妇xxxbbb| 中文字幕一区二区三区av| 久久99精品国产麻豆不卡| 欧洲av一区二区嗯嗯嗯啊| 欧美国产日产图区| 久久精品国产精品亚洲红杏| 欧美在线影院一区二区| 国产精品久久久久久久久免费桃花| 日韩av电影免费观看高清完整版| 不卡一区二区在线| 欧美精品一区二区三区蜜臀| 亚洲国产综合人成综合网站| 成人av在线一区二区三区| 精品盗摄一区二区三区| 爽爽淫人综合网网站| 色综合久久综合网欧美综合网| 久久日韩粉嫩一区二区三区| 成人性视频免费网站| 亚洲图片另类小说| 国产美女视频91| 777a∨成人精品桃花网| 亚洲啪啪综合av一区二区三区| 国产乱淫av一区二区三区 | 欧美日韩黄色一区二区| 国产精品乱码一区二区三区软件| 久久av资源网| 日韩欧美视频在线| 日本不卡在线视频| 欧美日韩精品系列| 亚洲丰满少妇videoshd| 在线观看日韩av先锋影音电影院| 国产精品视频你懂的| 国产精品1区二区.| 国产欧美日韩在线| 国产伦精品一区二区三区免费| 91精品国产91久久久久久最新毛片 | 成人黄色小视频在线观看| 日韩你懂的在线播放| 青青草一区二区三区| 欧美大片一区二区| 九九**精品视频免费播放| 欧美一区二区三区公司| 琪琪久久久久日韩精品| 欧美一区二区免费视频| 蜜臀av性久久久久蜜臀aⅴ| 欧美群妇大交群的观看方式| 亚洲成av人影院在线观看网| 在线播放欧美女士性生活| 日韩精彩视频在线观看| 欧美一区二区三区白人| 精品一二线国产| 久久久久国产精品麻豆ai换脸| 福利电影一区二区三区| 亚洲婷婷在线视频| 欧美亚洲动漫另类| 日本视频免费一区| 精品奇米国产一区二区三区| 国产精品综合在线视频| 国产精品三级av在线播放| 91女人视频在线观看| 亚洲一区二区高清| 日韩欧美成人一区二区| 国产1区2区3区精品美女| 中文字幕亚洲综合久久菠萝蜜| 色综合咪咪久久| 蜜桃视频在线观看一区二区| 国产日韩av一区二区| 欧洲国内综合视频| 麻豆精品精品国产自在97香蕉 | www.亚洲精品| 亚洲一卡二卡三卡四卡五卡| 制服丝袜国产精品| 国产成人av福利| 亚洲五码中文字幕| 国产视频一区不卡| 欧美午夜精品一区| 国产精品1区2区|