- Timestamp:
- Jan 27, 2007, 9:11:13 PM (18 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/cameraman.cc
r10411 r10413 35 35 ->addMethod("atachCurrCameraToWorldEntity", Executor2<CameraMan, lua_State*,const std::string&,const std::string&>(&CameraMan::atachCurrCameraToWorldEntity)) 36 36 ->addMethod("changeTarget", Executor3<CameraMan, lua_State*, const std::string&, const std::string&,const std::string&>(&CameraMan::changeTarget)) 37 ->addMethod("detachCurrCamera", Executor0<CameraMan, lua_State*>(&CameraMan::detachCurrCamera)) 37 38 ->addMethod("setCam", Executor1<CameraMan, lua_State*, const std::string&>(&CameraMan::setCam)) 38 39 ->addMethod("togglFade", Executor0<CameraMan, lua_State*>(&CameraMan::togglFade)) … … 180 181 } 181 182 183 void CameraMan::detachCurrCamera() 184 { 185 currentCam->target->detach(); 186 } 182 187 183 188 void CameraMan::jumpCam(int x, int y, int z, int camNo) -
trunk/src/world_entities/cameraman.h
r10406 r10413 34 34 void atachCurrTarget(PNode* target); 35 35 void atachCurrCameraToWorldEntity(const std::string& className, const std::string& targetEntity); 36 void detachCurrCamera(); 36 37 void jumpCam(int x, int y, int z, int camNo); 37 38 void jumpCurrCam(int x, int y, int z);
Note: See TracChangeset
for help on using the changeset viewer.