3DWRAP.H
资源名称:tc3d.zip [点击查看]
上传用户:abcdshs
上传日期:2007-01-07
资源大小:1858k
文件大小:2k
源码类别:
游戏
开发平台:
Visual C++
- // (C) Copyright 1996 by Anthony J. Carin. All Rights Reserved.
- #ifndef _3DWRAP_H
- #define _3DWRAP_H
- #include "launch.h"
- class landscape;
- class DudesWrapper
- {
- public:
- DudesWrapper();
- virtual ~DudesWrapper();
- short Centx();
- void SetCentx(short x);
- short Centy();
- void SetCenty(short y);
- short Cx();
- short Cy();
- void SetCx(short x);
- void SetCy(short x);
- short Detail();
- void SetDetail(short d);
- coordinate& Aim();
- short LevelNum();
- void SetLevelNum(short l);
- levels *LevelPtr();
- drawqueue *DrawQueue();
- personal *Hero();
- floortype *Floor();
- tc3dtools *Tool3d();
- bmplist *Bmpsurfs();
- highlist *HighAreas();
- landscapelist *Landscapes();
- void SetLevelPtr(levels *p);
- void SetDrawQueue(drawqueue *p);
- void SetHero(personal *p);
- void SetHero(personal& p);
- void SetFloor(floortype *p);
- void SetTool3d(tc3dtools *p);
- void SetBmpsurfs(bmplist *p);
- void SetHighAreas(highlist *p);
- void SetLandscapes(landscapelist *p);
- char Motionless();
- void NowMotionless();
- void NotMotionless();
- char IsPaused();
- void PauseOn();
- void PauseOff();
- viewmodetype Viewmode();
- void SetViewmode(viewmodetype v);
- float Sintable(int i);
- float Costable(int i);
- void NewGame();
- void InitLaunch();
- void Launch();
- void CleanUp();
- void createlevel(short level);
- char nextlevelexists();
- void NewLandscape(CString& s);
- void NewGateway(CString& s);
- void NewDudeholder(CString& s);
- void NewTeleporter(short s);
- void NewWeaponholder(int s);
- landscape *LastLandscape();
- HDC hdc;
- HGLRC hrc;
- HWND hwnd;
- private:
- HWND ghwnd;
- char wndcreated;
- global *m_g;
- };
- extern DudesWrapper *Game;
- #endif