Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8103 in orxonox.OLD for branches/script_engine


Ignore:
Timestamp:
Jun 1, 2006, 7:27:33 PM (19 years ago)
Author:
bensch
Message:

some cleanup…. now we still have to build example only if needed… or so..>

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  
    1818AM_CPPFLAGS= @LUA_INCLUDES@
    1919
     20noinst_HEADERS = \
     21                lunar.h\
     22                script.h\
     23                script_manager.h
     24
     25
    2026bin_PROGRAMS = example
    2127
     
    2329
    2430
    25 
    26 noinst_HEADERS = \
    27                 lunar.h\
    28                 script.h\
    29                 script_manager.h
    3031
    3132
  • branches/script_engine/src/lib/script_engine/example.cc

    r8101 r8103  
    1818      void deposit (float value) { m_balance += value; };
    1919      void withdraw(float value) { m_balance -= value; };
    20       float balance() { return m_balance; };;;;;;;;;;;;;;
     20      float balance() { return m_balance; };
    2121
    2222      int deposit (lua_State *L) { m_balance += luaL_checknumber(L, 1); return 0; }
Note: See TracChangeset for help on using the changeset viewer.