fixup! Move wesnoth.get_time_stamp and wesnoth.get_image_size to lua_kernel_base
This commit is contained in:
parent
3bbb83357e
commit
a5bd278cf2
2 changed files with 3 additions and 2 deletions
|
@ -3300,7 +3300,7 @@ int game_lua_kernel::intf_redraw(lua_State *L)
|
|||
screen.draw(true,true);
|
||||
}
|
||||
return 0;
|
||||
}}
|
||||
}
|
||||
|
||||
/**
|
||||
* Lua frontend to the modify_ai functionality
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
#include "version.hpp" // for do_version_check, etc
|
||||
#include "video.hpp"
|
||||
#include "image.hpp"
|
||||
|
||||
#include "serialization/string_utils.hpp"
|
||||
#include "utils/functional.hpp"
|
||||
|
@ -299,7 +300,7 @@ static int intf_get_image_size(lua_State *L) {
|
|||
static int intf_get_time_stamp(lua_State *L) {
|
||||
lua_pushinteger(L, SDL_GetTicks());
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
// End Callback implementations
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue