e_canvas.h

来自「凌阳32位单片机开发的小游戏」· C头文件 代码 · 共 42 行

H
42
字号
/******************************************************************************
 *
 *     The information contained herein is the exclusive property of
 *   Sunplus Technology Co. And shall not be distributed, reproduced,
 *   or disclosed in whole in part without prior written permission.
 *
 *         (C) COPYRIGHT 2005   SUNPLUS TECHNOLOGY CO.
 *                        ALL RIGHTS RESERVED
 *
 * The entire notice above must be reproduced on all authorized copies.
 *
 *****************************************************************************/

/******************************************************************************
 *  Filename:   	E_Canvas.h
 *  Author:     	Robin.xjliu  (eMail: xjliu@sunplus.com)
 *  Tel:        	00885-028-87848688-5884
 *  Date:       	2005-11-21
 *  Description:	some function deal with texture,like scroll screen
 *  Reference:
 *  Version history:
 *-----------------------------------------------------------------------------
 *	Version   YYYY-MM-DD-INDEX   Modified By         Description
 *	1.0.0     2005-11-21           xjliu               Create
 *
 *****************************************************************************/
#ifndef _E_CANVAS_H
#define _E_CANVAS_H

#include "../SysLib_Basic/Include/Sys_Global.h"
#include "../SysLib_Basic/Include/PPU_Texture.h"
#include "../EngineLib/Include/E_Motion.h"

#define START_Y	160

extern S16	iTextCount_Y[];

void E_HScroll(U16 nText, U16 nStep, U8 nDirection);
void E_VScroll(U16 nText, U16 nStep, U8 nDirection);

#endif	//_E_CANVAS_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?