The Battle for Wesnoth  1.19.5+dev
Namespaces | Functions
lua_mathx.cpp File Reference
#include "scripting/lua_mathx.hpp"
#include "scripting/lua_kernel_base.hpp"
#include "scripting/push_check.hpp"
#include "random.hpp"
#include <cmath>
Include dependency graph for lua_mathx.cpp:

Go to the source code of this file.

Namespaces

 lua_mathx
 

Functions

static int lua_mathx::intf_random (lua_State *L)
 Returns a random number, same interface as math.random. More...
 
static int lua_mathx::intf_round (lua_State *L)
 
int lua_mathx::luaW_open (lua_State *L)