aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/wieldhand.png
blob: c4549e5ede15586602c9223d5b5e3d9ca92b88f4 (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 06 62 4b 47 44 00 c1 00 9b 00 6f 01 7d 51 cc a....sRGB.........bKGD.....o.}Q.
0040 00 00 00 09 70 48 59 73 00 00 0e c4 00 00 0e c4 01 95 2b 0e 1b 00 00 00 07 74 49 4d 45 07 db 0c ....pHYs..........+......tIME...
0060 02 0d 0b 20 0b 96 09 96 00 00 01 00 49 44 41 54 38 cb 63 60 a0 10 30 92 aa c1 c3 c3 03 ce de b1 ............IDAT8.c`..0.........
0080 63 07 03 13 a9 9a cb cb cb 51 0c 61 22 55 f3 c5 8b 17 49 f7 02 ba e6 1d 3b 76 30 ec d8 b1 03 b7 c........Q.a"U....I.....;v0.....
00a0 01 73 2b fd 51 f8 4a 6e 05 58 35 63 35 a0 24 da ee 3f 36 43 35 e5 04 19 57 9f ff 89 a2 99 81 81 .s+.Q.Jn.X5c5.$..?6C5...W.......
00c0 81 81 05 4d 33 03 03 03 03 83 ad 89 06 83 00 0f 27 5c fc c3 97 ef 0c 87 cf dc f8 bf 63 c7 21 0c ...M3...........'\..........c.!.
00e0 0b d1 03 f1 bf af 83 21 83 00 0f 27 c3 87 2f df e1 82 30 c3 b0 b9 0e 6e c0 f6 9e 28 14 09 64 17 .......!...'../...0....n...(..d.
0100 30 30 30 30 f8 3a 18 62 0d 60 26 98 e6 bd e7 9f e0 8d 09 64 17 a1 18 b0 bd 27 8a 41 42 4a 16 45 0000.:.b.`&........d.....'.ABJ.E
0120 21 ba e2 0f 5f be 63 b8 08 6e 80 84 94 2c c3 b9 cb 37 30 9c 8e 2d 0c b0 1a 70 ee f2 0d 06 23 5d !..._.c..n...,...70..-...p....#]
0140 0d b8 c0 e6 03 e7 b1 6a 82 89 63 18 60 a4 ab c1 b0 74 eb 71 06 5f 07 43 06 5f 07 43 bc 29 b3 67 .......j..c.`....t.q._.C._.C.).g
0160 29 66 34 b2 60 b3 01 9f 93 d1 01 00 e9 e4 5f 31 0f 99 4e ab 00 00 00 00 49 45 4e 44 ae 42 60 82 )f4.`........._1..N.....IEND.B`.
'n113' href='#n113'>113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 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
/*
** $Id: lobject.c,v 2.22.1.1 2007/12/27 13:02:25 roberto Exp $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/

#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define lobject_c
#define LUA_CORE

#include "lua.h"

#include "ldo.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
#include "lvm.h"



const TValue luaO_nilobject_ = {{NULL}, LUA_TNIL};


/*
** converts an integer to a "floating point byte", represented as
** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if
** eeeee != 0 and (xxx) otherwise.
*/
int luaO_int2fb (unsigned int x) {
  int e = 0;  /* expoent */
  while (x >= 16) {
    x = (x+1) >> 1;
    e++;
  }
  if (x < 8) return x;
  else return ((e+1) << 3) | (cast_int(x) - 8);
}


/* converts back */
int luaO_fb2int (int x) {
  int e = (x >> 3) & 31;
  if (e == 0) return x;
  else return ((x & 7)+8) << (e - 1);
}


int luaO_log2 (unsigned int x) {
  static const lu_byte log_2[256] = {
    0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
    6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
    7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
    7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
    8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,