aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_rail.png
blob: 18176d9f3ca96ec9d6e4f6d41ab7a370aa93afeb (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 10 00 00 00 10 08 06 00 00 00 1f f3 ff .PNG........IHDR................
0020 61 00 00 00 01 73 52 47 42 00 ae ce 1c e9 00 00 00 09 70 48 59 73 00 00 0b 13 00 00 0b 13 01 00 a....sRGB.........pHYs..........
0040 9a 9c 18 00 00 01 a0 49 44 41 54 38 cb cd 93 bf 4b 1c 51 14 85 bf f7 e6 39 eb 64 c1 44 48 b0 d0 .......IDAT8....K.Q.....9.d.DH..
0060 42 c8 1f 10 34 2a 24 d8 a5 93 14 01 11 6b b1 b4 10 24 29 62 97 c6 14 49 93 42 21 82 a4 08 a9 2d B...4*$......k...$)b...I.B!....-
0080 0c 06 04 41 c8 8f c6 55 b1 50 10 45 56 51 9c ac ab 2b eb 4e 76 66 f7 bd 79 29 66 33 92 2a 90 a4 ...A...U.P.EVQ...+.Nvf..y)f3.*..
00a0 f0 94 f7 1e 3e ee 3d dc 0b 0d 2d 2d 2f da a1 e1 41 cb 1f 34 34 3c 68 97 96 17 53 9f 02 f8 f4 b2 ....>.=...--/...A..44<h...S.....
00c0 3f 2d bc 19 bb 67 b3 9e a2 59 49 62 0b ae 2b a9 54 35 da 58 ce cb 11 1b 95 c4 f7 ee 59 8f 1d 79 ?-...g...YIb..+.T5.X........Y..y
00e0 95 13 0a 60 e1 4b 9e 27 7d 49 c3 3f bd e0 b4 5c a7 35 db 84 94 50 d7 16 13 83 94 70 33 ab d2 49 ...`.K.'}I.?...\.5...P.....p3..I
0100 d6 77 be ff 3e da df ae 20 f9 47 29 80 f7 cf 7b 53 e2 db 89 6e ab 75 4c fb 1d 0f 47 08 fc 52 44 .w..>.....G)...{S...n.uL...G..RD
0120 8b a7 08 6b 06 bf 14 92 2b 27 be 8f 53 0f ed e3 c9 6f 49 06 7b 87 45 da 1a 80 dd 83 22 41 35 66 ...k....+'..S....oI.{.E....."A5f
0140 ff c8 41 08 50 12 a2 ba a5 a6 63 1c 29 c0 4b 7c b9 2d ff 3a 65 f0 61 b2 2f 25 ce 8c 77 59 cf 95 ..A.P.....c.).K|.-.:e.a./%..wY..
0160 54 42 43 c6 95 74 dc f6 c8 fb 01 6e 93 a4 f2 c3 f0 f5 2c f1 cd 3d bd 6f 47 5f af 25 19 ac 6e 9d TBC..t.....n......,..=.oG_.%..n.
0180 30 f0 28 69 ec e4 8b 28 47 52 ad 19 1c 01 27 be 4b 10 19 b4 b6 c4 00 99 46 06 db d7 2a 83 d9 89 0.(i...(GR....'.K.......F...*...
01a0 ee 94 38 ff e2 81 0d 42 43 54 37 9c 5f d6 e8 6c cb a2 8d a5 70 11 a2 a4 60 a5 70 f5 33 e3 d3 9b ..8....BCT7._..l....p...`.p.3...
01c0 bf ee e0 8c ce 06 e0 f3 c6 31 cd 19 49 35 8a b9 91 91 ac 97 2e 09 42 83 10 82 20 34 70 eb 2e 00 .........1..I5........B....4p...
01e0 ab db ff e9 17 7e 02 75 6a d5 f8 b1 f8 85 4e 00 00 00 00 49 45 4e 44 ae 42 60 82 .....~.uj.....N....IEND.B`.
n130'>130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541
/*
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.
*/

#include "lua_api/l_server.h"
#include "lua_api/l_internal.h"
#include "common/c_converter.h"
#include "common/c_content.h"
#include "cpp_api/s_base.h"
#include "server.h"
#include "environment.h"
#include "player.h"
#include "log.h"

// request_shutdown()
int ModApiServer::l_request_shutdown(lua_State *L)
{
	NO_MAP_LOCK_REQUIRED;
	const char *msg = lua_tolstring(L, 1, NULL);
	bool reconnect = lua_toboolean(L, 2);
	getServer(L)->requestShutdown(msg ? msg : "", reconnect);
	return 0;
}

// get_server_status()
int ModApiServer::l_get_server_status(lua_State *L)
{
	NO_MAP_LOCK_REQUIRED;
	lua_pushstring(L, wide_to_narrow(getServer(L)->getStatusString()).c_str());
	return 1;
}

// print(text)
int ModApiServer::l_print(lua_State *L)
{
	NO_MAP_LOCK_REQUIRED;
	std::string text;