Changeset 8103 in orxonox.OLD for branches/script_engine
- Timestamp:
- Jun 1, 2006, 7:27:33 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/Makefile.am
r8101 r8103 18 18 AM_CPPFLAGS= @LUA_INCLUDES@ 19 19 20 noinst_HEADERS = \ 21 lunar.h\ 22 script.h\ 23 script_manager.h 24 25 20 26 bin_PROGRAMS = example 21 27 … … 23 29 24 30 25 26 noinst_HEADERS = \27 lunar.h\28 script.h\29 script_manager.h30 31 31 32 -
branches/script_engine/src/lib/script_engine/example.cc
r8101 r8103 18 18 void deposit (float value) { m_balance += value; }; 19 19 void withdraw(float value) { m_balance -= value; }; 20 float balance() { return m_balance; }; ;;;;;;;;;;;;;20 float balance() { return m_balance; }; 21 21 22 22 int deposit (lua_State *L) { m_balance += luaL_checknumber(L, 1); return 0; }
Note: See TracChangeset
for help on using the changeset viewer.