Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 16, 2007, 7:55:24 PM (17 years ago)
Author:
gfilip
Message:

black camera

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/world_entities/test_entity.cc

    r10236 r10238  
    2626
    2727#include "state.h"
    28 
    29 
     28#include "shell_command.h"
     29#include "game_world_data.h"
    3030
    3131#include "class_id_DEPRECATED.h"
     
    4343}
    4444
     45
     46SHELL_COMMAND(test, TestEntity,test);
     47SHELL_COMMAND(t2, TestEntity,t2);
     48SHELL_COMMAND(t3, TestEntity,t3);
     49SHELL_COMMAND(t4, TestEntity, t4);
     50SHELL_COMMAND(t5, TestEntity,t5);
    4551
    4652/**
     
    7076  this->registerObject(this, TestEntity::_objectList);
    7177  this->toList(OM_GROUP_00);
    72   CM= new cameraman();
    73   test();
     78
    7479}
    7580
    7681void TestEntity::test()
    7782{
    78   CM->moveCurrCam(-200, 0, 0);
     83  CM= new cameraman();
    7984  CM->createCam();
    80   CM->moveCam(0, -200, 0, 1);
     85  //CM->moveCurrCam(-300, 0, 0);
     86  CM->moveCam(-300, 0, 0, 0);
     87}
     88
     89void TestEntity::t2()
     90{
     91  CM->moveCurrCam(+600, 0, 0);
     92
     93}
     94
     95void TestEntity::t3()
     96{
     97
     98  CM->setCam(1);
     99}
     100
     101void TestEntity::t4()
     102{
     103  CM->moveCurrCam(-500,0,0);
     104}
     105
     106void TestEntity::t5()
     107{
     108  CM->setCam(0);
    81109}
    82110
Note: See TracChangeset for help on using the changeset viewer.