Changeset 8093 in orxonox.OLD
- Timestamp:
- Jun 1, 2006, 6:28:50 PM (18 years ago)
- Location:
- branches/script_engine/src
- Files:
-
- 1 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/defs/include_paths.am
r7927 r8093 27 27 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/newmat 28 28 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/sound 29 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/script_engine 29 30 AM_CXXFLAGS+=-I$(MAINSRCDIR)/defs 30 31 AM_CXXFLAGS+=-I$(MAINSRCDIR)/font -
branches/script_engine/src/lib/BuildLibs.am
r7954 r8093 22 22 $(LIB_PREFIX)/shell/libORXshell.a \ 23 23 $(LIB_PREFIX)/math/libORXmath.a \ 24 $(LIB_PREFIX)/libORXlibs.a 24 $(LIB_PREFIX)/libORXlibs.a \ 25 $(LIB_PREFIX)/script_engine/libORXscript.a -
branches/script_engine/src/lib/script_engine/Makefile.am
r8073 r8093 10 10 AM_CPPFLAGS= @LUA_INCLUDES@ 11 11 12 bin_PROGRAMS = account13 account_SOURCES = \14 account.cc\12 bin_PROGRAMS = example 13 example_SOURCES = \ 14 example.cc\ 15 15 script.cc\ 16 16 script_manager.cc … … 18 18 19 19 20 account_LDADD = libORXscript.a -L../../../extern_libs @LUA_LIBS@20 example_LDADD = libORXscript.a -L../../../extern_libs @LUA_LIBS@ 21 21 22 22 #main_LDFLAGS = -
branches/script_engine/src/lib/script_engine/script.h
r8075 r8093 23 23 bool executeFunction(); 24 24 // push parameters for luafunction 25 bool pushParam(int param, std::string& toFunction); //overload this function to add different types25 bool pushParam(int param, std::string& toFunction); 26 26 bool pushParam(float param, std::string& toFunction); 27 27 bool pushParam(double param, std::string& toFunction); 28 28 // get returned values the last return value in lua is the first in c. 29 int getReturnedInt(); //overload this function to get different types29 int getReturnedInt(); 30 30 bool getReturnedBool(); 31 31 float getReturnedFloat(); -
branches/script_engine/src/lib/script_engine/script_manager.cc
r8085 r8093 1 #include <string> 2 #include <list> 1 3 2 4 #include "script.h" 3 5 #include "script_manager.h" 6 7 8 9 ScriptManager::ScriptManager() 10 { 11 this->init(); 12 13 } 14 15 ScriptManager::~ScriptManager() 16 { 17 18 19 } 20 21 22 void ScriptManager::init() 23 { 24 25 26 } 27 28 29 30 void ScriptManager::loadParams(const TiXmlElement* root) 31 { 32 33 } 34 -
branches/script_engine/src/lib/script_engine/script_manager.h
r8086 r8093 4 4 5 5 #include <string> 6 6 7 #include "base_object.h" 7 8 8 #include "luaincl.h" 9 #include "loading/load_param.h" 9 10 10 11 11 12 12 class ScriptManager 13 class ScriptManager //: public BaseObject 13 14 { 14 15 public: 15 init(); 16 ScriptManager(); 17 virtual ~ScriptManager(); 16 18 17 19 virtual void loadParams(const TiXmlElement* root); 18 20 19 21 20 22 private: 21 23 void init(); 22 24 23 25
Note: See TracChangeset
for help on using the changeset viewer.