- Timestamp:
- Jan 8, 2007, 9:37:40 PM (18 years ago)
- Location:
- branches/camera/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/world_entities/Makefile.am
r9869 r10195 10 10 \ 11 11 camera.cc \ 12 cameraman.cc \ 12 13 playable.cc \ 13 14 player.cc \ … … 40 41 \ 41 42 camera.h \ 43 cameraman.h \ 42 44 extendable.h \ 43 45 playable.h \ -
branches/camera/src/world_entities/cameraman.cc
r10193 r10195 2 2 #include "cameraman.h" 3 3 #include "camera.h" 4 #include "state.h" 4 5 5 6 … … 17 18 void cameraman::createCam() 18 19 { 19 if (camAmo nt<6)20 if (camAmount<6) 20 21 { 21 P node* newCamera=new Camera();22 PNode* newCamera=new Camera(); 22 23 cameras[camAmount]=newCamera; 23 24 } 24 25 } 25 26 26 27 void cameraman::setCam(int cameraNo) … … 28 29 if (cameraNo<camAmount) 29 30 currentCam=cameras[cameraNo]; 31 30 32 } 31 33 34 -
branches/camera/src/world_entities/cameraman.h
r10193 r10195 10 10 int camNo; 11 11 int camAmount; 12 Pnode* cameras[6]; 12 13 13 14 14 … … 17 17 void setCam(int CameraNo); 18 18 void createCam(); 19 19 PNode* cameras[6]; 20 20 21 21
Note: See TracChangeset
for help on using the changeset viewer.