Last change
on this file since 1642 was
1642,
checked in by rgrieder, 16 years ago
|
- changed the static interface of the InputManager to a member one with getInstance()
- converted InputManager and InGameConsole to Ogre Singletons (c'tor and d'tor public, but assert in c'tor to prevent multiple instances at runtime)
- added toluabind_orxonox files to tolua folder that contains a pimped version of tolua
(I'll write a little cmake project soon to automate it; Currently that only works with msvc)
- commented out Loader::unload() from Orxonox destructor because that deleted the ParticleSpawners, which were using a method of a sceneNode that belonged to a already destroyed SpaceShip.
—> Results in a memory leak.
Previously Loader::unload() was called for all BaseObjects (now calling unload(level_)). And since 'P' from ParticleSpawner comes before 'S' like SpaceShip, the order was correct.
- Added factory feature for InputStates (can now be created by string if there is Factory entry for it)
- Created factory entries for SimpleInputState and ExtendedInputState
|
-
Property svn:eol-style set to
native
|
File size:
375 bytes
|
Rev | Line | |
---|
[1505] | 1 | SET (TOLUALIB_SRC_FILES |
---|
| 2 | tolua_event.c |
---|
| 3 | tolua_is.c |
---|
| 4 | tolua_map.c |
---|
| 5 | tolua_push.c |
---|
| 6 | tolua_to.c |
---|
| 7 | ) |
---|
| 8 | |
---|
[1582] | 9 | ADD_LIBRARY (tolualib SHARED ${TOLUALIB_SRC_FILES}) |
---|
[1505] | 10 | |
---|
| 11 | TARGET_LINK_LIBRARIES (tolualib |
---|
| 12 | ${Lua_LIBRARIES} |
---|
| 13 | ) |
---|
| 14 | |
---|
| 15 | SET (TOLUAEXE_SRC_FILES |
---|
| 16 | tolua.c |
---|
[1642] | 17 | toluabind_orxonox.c |
---|
[1505] | 18 | ) |
---|
| 19 | |
---|
| 20 | ADD_EXECUTABLE (tolua ${TOLUAEXE_SRC_FILES}) |
---|
| 21 | |
---|
| 22 | TARGET_LINK_LIBRARIES (tolua |
---|
| 23 | ${Lua_LIBRARIES} |
---|
| 24 | tolualib |
---|
| 25 | m |
---|
| 26 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.