[Commits] [wesnoth/wesnoth] 09d359: Fix Lua-invoked dialogs not showing before prestar...

GitHub noreply at github.com
Tue Oct 18 16:49:19 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 09d35947f4a05082ec34be292b73a4efc631e1d8
      https://github.com/wesnoth/wesnoth/commit/09d35947f4a05082ec34be292b73a4efc631e1d8
  Author: Celtic Minstrel <celtic.minstrel.ca at gmail.com>
  Date:   2016-10-18 (Tue, 18 Oct 2016)

  Changed paths:
    M src/game_state.cpp
    M src/generators/lua_map_generator.cpp
    M src/generators/lua_map_generator.hpp
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/application_lua_kernel.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Fix Lua-invoked dialogs not showing before prestart

Instead of passing the video object to the Lua kernel, the game now simply
fetches the video singleton when displaying dialogs. This means there is
no longer any need to store a reference to the video object.





More information about the Commits mailing list