The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
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

namespace  lua_mathx
 

Functions

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