Last change
on this file since 10520 was
10379,
checked in by patrick, 18 years ago
|
merged branche camera to trunk. resolved many conflicts as in the other projects too
|
File size:
972 bytes
|
Line | |
---|
1 | #ifndef _CAMERAMAN_H |
---|
2 | #define _CAMERAMAN_H |
---|
3 | |
---|
4 | #include "p_node.h" |
---|
5 | #include "camera.h" |
---|
6 | #include <vector> |
---|
7 | #include "base_object.h" |
---|
8 | #include "blackscreen.h" |
---|
9 | |
---|
10 | class CameraMan : public BaseObject { |
---|
11 | ObjectListDeclaration(CameraMan); |
---|
12 | |
---|
13 | private: |
---|
14 | Camera* currentCam; |
---|
15 | float nearClip; |
---|
16 | float farClip; |
---|
17 | BlackScreen* fadeToBlack; |
---|
18 | |
---|
19 | public: |
---|
20 | std::vector<Camera*> cameras; |
---|
21 | CameraMan(); |
---|
22 | void setCam(int CameraNo); |
---|
23 | void createCam(); |
---|
24 | void moveCam(int x, int y, int z, int camNo); |
---|
25 | void moveCurrCam(int x, int y, int z); |
---|
26 | void changeTarget(int camNo, std::string className, std::string objectName); |
---|
27 | void changeCurrTarget(std::string className, std::string objectName); |
---|
28 | void atachCurrTarget(PNode* target); |
---|
29 | void jumpCam(int x, int y, int z, int camNo); |
---|
30 | void jumpCurrCam(int x, int y, int z); |
---|
31 | void changeSpeed(float speed); |
---|
32 | void setClipRegion(float nearClip, float farClip); |
---|
33 | void togglFade(); |
---|
34 | |
---|
35 | }; |
---|
36 | |
---|
37 | #endif /* _CAMERAMAN_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.