Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10195 in orxonox.OLD for branches/camera


Ignore:
Timestamp:
Jan 8, 2007, 9:37:40 PM (18 years ago)
Author:
gfilip
Message:

well …

Location:
branches/camera/src/world_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/world_entities/Makefile.am

    r9869 r10195  
    1010                \
    1111                camera.cc \
     12                cameraman.cc \
    1213                playable.cc \
    1314                player.cc \
     
    4041                \
    4142                camera.h \
     43                cameraman.h \
    4244                extendable.h \
    4345                playable.h \
  • branches/camera/src/world_entities/cameraman.cc

    r10193 r10195  
    22#include "cameraman.h"
    33#include "camera.h"
     4#include "state.h"
    45
    56
     
    1718void cameraman::createCam()
    1819{
    19 if (camAmont<6)
     20if (camAmount<6)
    2021{
    21   Pnode* newCamera=new Camera();
     22  PNode* newCamera=new Camera();
    2223  cameras[camAmount]=newCamera;
    2324}
    24 
     25}
    2526
    2627void cameraman::setCam(int cameraNo)
     
    2829  if (cameraNo<camAmount)
    2930  currentCam=cameras[cameraNo];
     31
    3032}
    3133
     34
  • branches/camera/src/world_entities/cameraman.h

    r10193 r10195  
    1010    int camNo;
    1111    int camAmount;
    12     Pnode* cameras[6];
     12
    1313
    1414
     
    1717    void setCam(int CameraNo);
    1818    void createCam();
    19 
     19    PNode* cameras[6];
    2020
    2121
Note: See TracChangeset for help on using the changeset viewer.