[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Moss-devel] CVS: moss/3Dsia/client/3Dcf/include World.h,1.7,1.8
From: |
Felix Morgner <address@hidden> |
Subject: |
[Moss-devel] CVS: moss/3Dsia/client/3Dcf/include World.h,1.7,1.8 |
Date: |
Mon, 24 Mar 2003 17:07:11 -0500 |
Update of /cvsroot/moss/moss/3Dsia/client/3Dcf/include
In directory subversions:/tmp/cvs-serv12015
Modified Files:
World.h
Log Message:
Hmmmm ... added a sinless feature :) and redisigned the DrawLabel function
Index: World.h
===================================================================
RCS file: /cvsroot/moss/moss/3Dsia/client/3Dcf/include/World.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** World.h 2 Feb 2003 20:04:56 -0000 1.7
--- World.h 24 Mar 2003 22:07:09 -0000 1.8
***************
*** 47,51 ****
//#define KEY_ESCAPE 27
- using namespace std;
class CWorld
--- 47,50 ----
***************
*** 66,70 ****
int m_nDragging;
int m_nZooming;
!
double m_dMouseX;
double m_dMouseY;
--- 65,73 ----
int m_nDragging;
int m_nZooming;
! int m_nMiddle;
! int m_nMomentanZoom;
! int m_nMouseZoom;
!
!
double m_dMouseX;
double m_dMouseY;
***************
*** 95,106 ****
void KeyPressed(unsigned char key, int x, int y);
/// Funciton called if any mouse event appears
void MouseFunction(int nButton, int nState, int x, int y);
/// Function Which draws a string
! void DrawLabel(int row, string sLabel);
/// Function called every time a mousebutton i pressed and mouse moves
void MouseMotion(int x, int y);
}; // class CWorld
--- 98,113 ----
void KeyPressed(unsigned char key, int x, int y);
+ /// Function called every time a "special" key's pressed
+ void SpecialKeyPressed(int key, int x, int y);
+
/// Funciton called if any mouse event appears
void MouseFunction(int nButton, int nState, int x, int y);
/// Function Which draws a string
! void DrawLabel(std::string sLabel, float afColor[3], double x, double
row, double z, double scalefactor);
/// Function called every time a mousebutton i pressed and mouse moves
void MouseMotion(int x, int y);
+
}; // class CWorld
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Moss-devel] CVS: moss/3Dsia/client/3Dcf/include World.h,1.7,1.8,
Felix Morgner <address@hidden> <=