forked from GokuMK/TSRE5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CameraConsist.h
60 lines (54 loc) · 1.61 KB
/
CameraConsist.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* This file is part of TSRE5.
*
* TSRE5 - train sim game engine and MSTS/OR Editors.
* Copyright (C) 2016 Piotr Gadecki <[email protected]>
*
* Licensed under GNU General Public License 3.0 or later.
*
* See LICENSE.md or https://www.gnu.org/licenses/gpl.html
*/
#ifndef CAMERACONSIST_H
#define CAMERACONSIST_H
#include "Camera.h"
class CameraConsist : public Camera {
public:
CameraConsist(float* pt = 0);
CameraConsist(const CameraConsist& orig);
virtual ~CameraConsist();
float* getTarget();
/*Vector2i getTilePos();
void setTilePos(Vector2i s);
void setPlayerPos(float x, float y, float z);
void setPlayerRot(float x, float y);
Vector3f getEye();
Vector3f getTarget0();*/
float* getMatrix();
/*void setRelativePos(Vector3f p);
void setRelativeRot(Vector2f p);
void scalPosRot();*/
float* getPos();
void setPos(float* pos);
void setPos(float x, float y, float z);
float getRotX();
float getRotY();
void setPozT(int x, int y);
//Vector3f getUp();
void moveForward(float fps);
void moveBackward(float fps);
void moveLeft(float fps);
void moveRight(float fps);
void moveUp();
void moveDown();
void patrzX(float f);
void patrzY(float f);
void check_coords();
void MouseMove(QMouseEvent* e);
void MouseDown(QMouseEvent* e);
void MouseUp(QMouseEvent* e);
void keyDown(QKeyEvent * e);
void keyUp(QKeyEvent * e);
void update(float fps);
PreciseTileCoordinate* getCurrentPos();
private:
};
#endif /* CAMERACONSIST_H */