diff options
| author | jacob1 <jfu614@gmail.com> | 2013-01-09 03:00:45 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-01-09 03:00:45 (GMT) |
| commit | 162a8ecba57a3cea84149aa89d6eee742c1e2cea (patch) | |
| tree | 9ea3a82a3b0ba704769830eebd362e25b02ad5d8 /src/cat/LuaScriptInterface.cpp | |
| parent | 6dad17c2e170abe561da0ba055c99b0c613e74bc (diff) | |
| download | powder-162a8ecba57a3cea84149aa89d6eee742c1e2cea.zip powder-162a8ecba57a3cea84149aa89d6eee742c1e2cea.tar.gz | |
readd tpt.hud and tpt.set_console commands
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
| -rw-r--r-- | src/cat/LuaScriptInterface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp index 8cf35c3..b529255 100644 --- a/src/cat/LuaScriptInterface.cpp +++ b/src/cat/LuaScriptInterface.cpp @@ -55,6 +55,7 @@ extern "C" } GameModel * luacon_model; +GameController * luacon_controller; Simulation * luacon_sim; LuaScriptInterface * luacon_ci; Graphics * luacon_g; @@ -91,6 +92,7 @@ LuaScriptInterface::LuaScriptInterface(GameController * c, GameModel * m): luacon_mousedown(false) { luacon_model = m; + luacon_controller = c; luacon_sim = m->GetSimulation(); luacon_g = ui::Engine::Ref().g; luacon_ren = m->GetRenderer(); |
