The Battle for Wesnoth  1.17.0-dev
Namespaces | Functions
lua_mathx.cpp File Reference
#include "scripting/lua_mathx.hpp"
#include "scripting/lua_kernel_base.hpp"
#include "scripting/lua_common.hpp"
#include "scripting/push_check.hpp"
#include "random.hpp"
#include "SDL2/SDL_timer.h"
#include "lua/lauxlib.h"
#include "lua/lua.h"
#include "lua/lualib.h"
#include <cstdio>
#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)