[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Moss-devel] CVS: moss/3Dsia/client/3Dcf/include KeyboardMsg.h,NONE,1.1
From: |
Felix Morgner <address@hidden> |
Subject: |
[Moss-devel] CVS: moss/3Dsia/client/3Dcf/include KeyboardMsg.h,NONE,1.1 World.h,NONE,1.1 |
Date: |
Sun, 03 Nov 2002 08:08:50 -0500 |
Update of /cvsroot/moss//moss/3Dsia/client/3Dcf/include
In directory subversions:/tmp/cvs-serv11069/3Dsia/client/3Dcf/include
Added Files:
KeyboardMsg.h World.h
Log Message:
Added 3Dsia-client "felix" for world exploration
--- NEW FILE ---
#ifndef __KEYBOARDMSG_H
#define __KEYBOARDMSG_H
// here are the keycodes and the msg they meant defined
#define KEY_ESCAPE 27
#define KEY_PAGE_UP 73
#define KEY_PAGE_DOWN 81
#define KEY_UP_ARROW 72
#define KEY_DOWN_ARROW 80
#define KEY_LEFT_ARROW 75
#define KEY_RIGHT_ARROW 77
#define KEY_F 102
#endif // __KEYBOARDMSG_H
--- NEW FILE ---
/*
* World.h
*
* CWorld draws the client startroom
*
*
* (c) Felix Morgner
*
*/
#ifndef __WORLD_H
#define __WORLD_H
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include "KeyboardMsg.h"
#define ACSIZE 8
// The escape Key
//#define KEY_ESCAPE 27
class CWorld
{
protected:
int m_nWindow;
double m_dXrot;
double m_dYrot;
double m_dZrot;
public:
CWorld(int nParams, char* aszParams[]);
virtual ~CWorld();
void InitGL(int nWidth, int nHeight); // Function that initializes GL
void ReSizeGLScene(int nWidth, int nHeight); // Function that resizes our
scene
void DrawGLScene(); // Function that draws our scene
void KeyPressed(unsigned char key, int x, int y); // Function called every
time a key's pressed
};
#endif // __WORLD_H
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Moss-devel] CVS: moss/3Dsia/client/3Dcf/include KeyboardMsg.h,NONE,1.1 World.h,NONE,1.1,
Felix Morgner <address@hidden> <=
- Prev by Date:
[Moss-devel] CVS: moss/3Dsia/client/3Dcf/src - New directory
- Next by Date:
[Moss-devel] CVS: moss/3Dsia/client/3Dcf/src Makefile.am,NONE,1.1 World.cxx,NONE,1.1 main.cxx,NONE,1.1
- Previous by thread:
[Moss-devel] CVS: moss/3Dsia/client/3Dcf/src - New directory
- Next by thread:
[Moss-devel] CVS: moss/3Dsia/client/3Dcf/src Makefile.am,NONE,1.1 World.cxx,NONE,1.1 main.cxx,NONE,1.1
- Index(es):