ofs | hex dump | ascii |
---|
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 08 06 00 00 00 73 7a 7a | .PNG........IHDR.............szz |
0020 | f4 00 00 00 04 73 42 49 54 08 08 08 08 7c 08 64 88 00 00 00 09 70 48 59 73 00 00 0e c4 00 00 0e | .....sBIT....|.d.....pHYs....... |
0040 | c4 01 95 2b 0e 1b 00 00 03 c1 49 44 41 54 58 85 ed 94 31 6c 1b 65 14 c7 7f df 9d 7d 3e c7 e7 d8 | ...+......IDATX...1l.e.....}>... |
0060 | 4d 1c 27 24 29 4d d3 28 a1 84 02 a2 6e a4 54 14 68 45 25 24 40 30 84 a9 2c 88 81 25 23 62 61 66 | M.'$)M.(....n.T.hE%$@0..,..%#baf |
0080 | 83 0d c6 ae 08 55 2c 20 06 96 30 50 48 50 68 14 2a 91 4a 41 51 13 83 1d c7 76 12 27 ce f9 ec f3 | .....U,...0PHPh.*.JAQ....v.'.... |
00a0 | d9 f7 31 9c eb d8 89 2b 84 18 58 fc 9f be f7 be f7 de f7 7f ff 7b f7 a0 8b 2e ba e8 a2 8b 2e ba | ..1....+..X..........{.......... |
00c0</*
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.
*/
#pragma once
#include <string>
#include "irrlichttypes_bloated.h"
#include <iostream>
#include <map>
#include <vector>
struct ObjectProperties
{
s16 hp_max = 1;
u16 breath_max = 0;
bool physical = false;
bool collideWithObjects = true;
float weight = 5.0f;
// Values are BS=1
aabb3f collisionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f);
aabb3f selectionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f);
bool pointable = true;
std::string visual = "sprite";
std::string mesh = "";
v2f visual_size = v2f(1, 1);
std::vector<std::string> textures;
std::vector<video::SColor> colors;
v2s16 spritediv = v2s16(1, | ....\....&.".rT*6}....K..8.m...J |
03a0 | 4d f3 e1 e4 61 e1 4e 4d bc 73 55 97 e9 bb 1a 8b f7 93 1d f7 79 30 2c a0 a2 01 60 fe 84 30 81 f3 | M...a.NM.sU.........y0,...`..0.. |
03c0 | 71 4d 9e 0f 29 e4 8b 05 86 c2 61 fe 20 0b d0 b4 7f fc 2c 2b de ba 12 97 db 4b 1a bf ae a5 44 9b | qM..).....a.......,+.....K....D. |
03e0 | 02 31 cd 87 25 a1 1e f3 03 70 50 0d 52 95 92 c7 a1 6a 0a 0e 94 7a bb 4f 4a 0e aa 41 f2 99 1a 32 | .1..%....pP.R....j...z.OJ..A...2 |
0400 | 7c 7c d7 6a 1f 3a 3a 4e a3 ee df 97 76 db e6 26 73 2e f3 00 00 00 00 49 45 4e 44 ae 42 60 82 | ||.j.::N....v..&s......IEND.B`. |