Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 19, 2008, 10:31:52 PM (16 years ago)
Author:
rgrieder
Message:

added calculate command ;)
In the console, you can now type something like "calculate sin(cos(3+4) - 8)*7" or even "calculate 7>8" and you'll get the result as a double.
The parser was something I've written 3 years ago when I first used C++ (the parser is mainly C).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/core/InputManager.cc

    r1089 r1112  
    9393      paramList.insert(std::make_pair(std::string("WINDOW"), windowHndStr.str()));
    9494
    95 #if defined OIS_LINUX_PLATFORM
    96       paramList.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true")));
    97 #endif
     95//#if defined OIS_LINUX_PLATFORM
     96//      paramList.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true")));
     97//#endif
    9898
    9999      try
Note: See TracChangeset for help on using the changeset viewer.