📄 our_main.h
字号:
/**************************************************************************
Copyright (C) jianbo miao Corporation. All Rights Released.
this is a 3d engin named our_3d_engin.
our_3d_engin feature:
1:there is no float.
2:it do the 3d things all by softwear.
3:base on 1 and 2 , it can execution on arm which have no 3d hardwear accelerate.
if you have any suggestion or question,pls contact with me
mail:miaojb@126.com
msn:miaojianbo@hotmail.com
qq:30209027
2008/01/01
***************************************************************************/
#include "our_math.h"
//==========================
//==========================
//==========================
//==========================
#define BMP_NUM 5
//---------------------------------------------------
typedef struct
{
uint32 FrameTH;
uint32 point_changed_num;
uint32 triangle_drawed_num;
uint32 point_do1[8];
uint32 Triangle_do1[12];
FIX_POINT3D point_org1[8];
FIX_POINT3D point_nor1[8];
FIX_POINT3D point_work1[8];
CLR clr_work1[12];
OUR_3D_TRAG triangle_work1[12];
OUR_3D_CAM cam_work;
OUR_3D_OBJ obj_cube;
OUR_3D_LIT* lit_list;
OUR_3D_LIT lit_con;
//LARGE_INTEGER TIME;
}OUR_GLOBAL,*OUR_GLOBAL_PTR;
extern OUR_GLOBAL global;/**/
//============================================
int Game_Init(void);
int Game_Shutdown(void);
int Game_Main(UCHAR *video_buffer, int lpitch, int FPS);
void OUR_creat_ball( int point_num,
FIX_POINT3D_PTR point_org,
OUR_3D_TRAG_PTR triangle_work
);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -