Changeset 7657 in orxonox.OLD for branches/script_engine
- Timestamp:
- May 17, 2006, 8:46:15 PM (19 years ago)
- Location:
- branches/script_engine/src/lib/script_engine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/script_engine/main.cc
r7656 r7657 106 106 { 107 107 //switch (iFunctionNumber) //- methodBase) uncomment this when methodBase gets correclty set in the Scriptable class 108 if(functionName .compare("printNameOne")==0)108 if(functionName == "printNameOne") 109 109 { 110 110 //case 0: … … 142 142 { 143 143 //switch (iFunctionNumber) //- m_iMethodBase) //TODO:find a way to determine the function number somehow: this works just incidentally 144 if(functionName .compare("printNameTwo")==0)144 if(functionName == "printNameTwo") 145 145 { 146 146 //case 0: -
branches/script_engine/src/lib/script_engine/scriptable.cc
r7655 r7657 197 197 } 198 198 } 199 199 return ""; 200 200 } 201 201
Note: See TracChangeset
for help on using the changeset viewer.