~ubuntu-branches/ubuntu/jaunty/kdegames/jaunty-backports

« back to all changes in this revision

Viewing changes to kubrick/src/gameglview.h

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2008-07-12 19:00:07 UTC
  • mfrom: (1.2.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20080712190007-z0itmj9r736o8vng
Tags: 4:4.0.98-0ubuntu1
* New upstream release candidate
* Bump Standards-Version to 3.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    **/
49
49
    void dumpExtensions     ();
50
50
 
 
51
    // IDW - Key K for switching the background (temporary) - FIX IT FOR KDE 4.2
 
52
    void changeBackground   ();
 
53
 
51
54
    void pushGLMatrix       ();
52
55
    void moveGLView         (float xChange, float yChange, float zChange);
53
56
    void rotateGLView       (float degrees, float x, float y, float z);
100
103
    bool checkGLError();
101
104
 
102
105
private:
 
106
    BackgroundType backgroundType;
 
107
    void     loadBackground (const QString & filepath);
 
108
    void     drawPictureBackground();
 
109
    void     draw4WayGradientBackground();
 
110
 
 
111
    GLuint   bgTexture;
 
112
    GLfloat  txWidth;
 
113
    GLfloat  txHeight;
 
114
 
 
115
    GLdouble glAspect;
 
116
    GLdouble bgAspect;
 
117
 
 
118
    GLfloat  bgRectX;
 
119
    GLfloat  bgRectY;
 
120
    GLfloat  bgRectZ;
 
121
 
103
122
    void turnOnLighting     ();
104
123
 
105
124
    Game * game;