Ignore:
Timestamp:
Jun 1, 2012, 7:42:36 PM (11 years ago)
Author:
sam
Message:

orbital: enhance the language with [] contexts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/tank.h

    r1433 r1434  
    1919        m_ready(false)
    2020    {
    21         m_body.SendCommand("sc#110,"
    22                            "ab6,6,15,ty-2,"
    23                            "sc#aca,"
    24                            "afcb4,5,16,0.4,tx4,ty5,mx,fl,"
    25                            "sc#3a0,"
    26                            "afcb8,7,10,0.4,tz-4,ty5,fl");
    27         m_turret.SendCommand("sc#3a0,"
    28                              "afcb3,6,10,0.4,tx-8,afcb3,6,10,0.4,tx4,ty13,fl,"
    29                              "sc#aca,"
    30                              "afcb3,6,10,0.4,rx-30,ty13,fl");
     21        m_body.SendCommand("[sc#110 ab6 6 15 ty-2"
     22                           " sc#aca afcb4 5 16 0.4 tx4 ty5 mx]"
     23                           "[sc#3a0 afcb8 7 10 0.4 tz-4 ty5]");
     24        m_turret.SendCommand("[sc#3a0 afcb3 6 10 0.4 tx-8 afcb3 6 10 0.4 tx4 ty13]"
     25                             "[sc#aca afcb3 6 10 0.4 rx-30 ty13]");
    3126
    3227        m_rotation = quat::rotate(RandF(0.f, 360.f), vec3(0, 1, 0));
Note: See TracChangeset for help on using the changeset viewer.