aboutsummaryrefslogtreecommitdiff
path: root/advtrains_signals_ks/textures/advtrains_signals_ks_ltm_free.png
blob: 4c59bf9d9041cc6497ad5e4e3d40dfe8183b3b53 (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 20 00 00 00 20 02 03 00 00 00 0e 14 92 .PNG........IHDR................
0020 67 00 00 00 0c 50 4c 54 45 32 08 08 32 2e 00 32 32 32 46 dc 55 02 3e 05 fc 00 00 00 28 49 44 41 g....PLTE2..2..222F.U.>.....(IDA
0040 54 18 57 63 58 b5 6a 05 03 03 d3 aa 55 0c b4 63 ec ff ff ff 00 43 68 68 28 88 f1 6a 15 6d 19 ab T.WcX.j.....U..c.....Chh(..j.m..
0060 a0 80 5a 0c 00 df e2 93 43 22 4b 49 3f 00 00 00 00 49 45 4e 44 ae 42 60 82 ..Z.....C"KI?....IEND.B`.
52' href='#n52'>52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
/*
Minetest
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/


/******************************************************************************/
/******************************************************************************/
/* WARNING!!!! do NOT add this header in any include file or any code file    */
/*             not being a script/modapi file!!!!!!!!                         */
/******************************************************************************/
/******************************************************************************/
#ifndef C_CONVERTER_H_
#define C_CONVERTER_H_

#include <vector>
#include <map>

#include "irrlichttypes_bloated.h"
#include "common/c_types.h"

extern "C" {
#include <lua.h>
}

std::string        getstringfield_default        (lua_State *L, int table,
                             const char *fieldname, const std::string &default_);
bool               getboolfield_default(lua_State *L, int table,
                             const char *fieldname, bool default_);
float              getfloatfield_default(lua_State *L, int table,
                             const char *fieldname, float default_);
int                getintfield_default           (lua_State *L, int table,
                             const char *fieldname, int default_);

bool               getstringfield(lua_State *L, int table,
                             const char *fieldname, std::string &result);
bool               getintfield(lua_State *L, int table,