📄 gamemain.h
字号:
/******************************************************************************
*
* 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: GameMain.h
* Author: Robin.xjliu (eMail: xjliu@sunplus.com)
* Tel: 00885-028-87848688-5884
* Date: 2005-11-15
* Description: the header of GameMain.c
* Reference:
* Version history:
*-----------------------------------------------------------------------------
* Version YYYY-MM-DD-INDEX Modified By Description
* 1.0.0 2005-11-15 xjliu Create
*
*****************************************************************************/
#ifndef _GAME_MAIN_H
#define _GAME_MAIN_H
#include "../Pro_S+core/Resource.h"
#include "../SysLib_Basic/Include/Sys_Global.h"
#include "../SysLib_Basic/Include/Tve_Control.h"
#include "../SysLib_Basic/Include/PPU_Palette.h"
#include "../SysLib_Basic/Include/PPU_Control.h"
#include "../SysLib_Basic/Include/PPU_Sprite.h"
#include "../SysLib_Basic/Include/PPU_Texture.h"
#include "../SysLib_Basic/Include/PPU_Control.h"
#include "../SysLib_Basic/Include/Mini_System.h"
#include "../SysLib_Basic/Include/SPU_Control.h"
#include "../EngineLib/Include/E_Motion.h"
#include "../EngineLib/Include/E_Event.h"
//#include "../EngineLib/Include/E_Canvas.h"
#include "../EngineLib/Include/E_Collision.h"
#include "../SysLib_Extend/Include/Lcd.h"
typedef enum
{
BW_INIT = 0,
BW_PRELUDE,
BW_MP4,
BW_PLAY,
BW_PAUSE,
BW_PRISE,
BW_COMPLETE,
BW_VICTORY,
BW_GAMESTATE_MAXNUM,
}GAMESTATE;
#define MIDI_ENABLE
#define AUDIO_ENABLE
/**
* MIDI file index
*/
#define MIDI_START 1
#define MIDI_LEV1 0
#define MIDI_LEV2 3
#define MIDI_END 2
/**
* Audio Ch index
*/
#define AUDIO_NO0 16
#define AUDIO_NO1 17
#define AUDIO_NO2 18
#define AUDIO_NO3 19
#define AUDIO_NO4 20
#define AUDIO_NO5 21
#define AUDIO_NO6 22
#define AUDIO_NO7 23
#define IGNOREKEY 1
extern U8 g_nKeyCnt;
void BW_Main(void);
#endif //_GAME_MAIN_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -