Changeset 1188 for code/branches/console/src/orxonox
- Timestamp:
- Apr 26, 2008, 2:50:04 AM (17 years ago)
- Location:
- code/branches/console/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/orxonox/Orxonox.cc
r1151 r1188 129 129 { 130 130 public: 131 static voidcalculate(const std::string& calculation)131 static float calculate(const std::string& calculation) 132 132 { 133 133 ExprParser expr(calculation); … … 141 141 std::cout << "Warning: Expression could not be parsed to the end! Remains: '" 142 142 << expr.getRemains() << "'" << std::endl; 143 return expr.getResult(); 143 144 } 144 145 else 146 { 145 147 std::cout << "Cannot calculate expression: Parse error" << std::endl; 148 return 0; 149 } 146 150 } 147 151 }; -
code/branches/console/src/orxonox/objects/Ambient.h
r1056 r1188 48 48 49 49 static void setAmbientLightTest(const ColourValue& colour) 50 { Ambient::instance_s->setAmbientLight(colour); }50 { std::cout << "setambientlight: " << colour << std::endl; Ambient::instance_s->setAmbientLight(colour); } 51 51 52 52 private:
Note: See TracChangeset
for help on using the changeset viewer.