Last change
on this file since 1645 was
1642,
checked in by rgrieder, 17 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:
1020 bytes
|
Line | |
---|
1 | $lfile "../../src/tolua/lua/compat-5.1.lua" |
---|
2 | $lfile "../../src/tolua/lua/compat.lua" |
---|
3 | $lfile "../../src/tolua/lua/basic.lua" |
---|
4 | $lfile "../../src/tolua/lua/feature.lua" |
---|
5 | $lfile "../../src/tolua/lua/verbatim.lua" |
---|
6 | $lfile "../../src/tolua/lua/code.lua" |
---|
7 | $lfile "../../src/tolua/lua/typedef.lua" |
---|
8 | $lfile "../../src/tolua/lua/container.lua" |
---|
9 | $lfile "../../src/tolua/lua/package.lua" |
---|
10 | $lfile "../../src/tolua/lua/module.lua" |
---|
11 | $lfile "../../src/tolua/lua/namespace.lua" |
---|
12 | $lfile "../../src/tolua/lua/define.lua" |
---|
13 | $lfile "../../src/tolua/lua/enumerate.lua" |
---|
14 | $lfile "../../src/tolua/lua/declaration.lua" |
---|
15 | $lfile "../../src/tolua/lua/variable.lua" |
---|
16 | $lfile "../../src/tolua/lua/array.lua" |
---|
17 | $lfile "../../src/tolua/lua/function.lua" |
---|
18 | $lfile "../../src/tolua/lua/operator.lua" |
---|
19 | $lfile "../../src/tolua/lua/class.lua" |
---|
20 | $lfile "../../src/tolua/lua/clean.lua" |
---|
21 | $lfile "../../src/tolua/lua/doit.lua" |
---|
22 | |
---|
23 | $[ |
---|
24 | local err,msg = pcall(doit) |
---|
25 | if not err then |
---|
26 | local _,_,label,msg = strfind(msg,"(.-:.-:%s*)(.*)") |
---|
27 | tolua_error(msg,label) |
---|
28 | print(debug.traceback()) |
---|
29 | end |
---|
30 | $] |
---|
Note: See
TracBrowser
for help on using the repository browser.