aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_nc_front.png
blob: cad9edab1b5176172d3c2f03876e3b3b0424eaac (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 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 a....sBIT....|.d.....pHYs.......
0040 c4 01 95 2b 0e 1b 00 00 01 3c 49 44 41 54 38 8d 9d 93 41 52 c3 30 0c 45 df b7 cb 85 da 2b d0 8b ...+.....<IDAT8...AR.0.E.....+..
0060 b0 b0 c3 0d e8 45 88 15 ce 54 4e d4 5a 2c e2 84 98 74 18 06 cd 78 63 e9 7f 3d 2b 11 9c 2f 0e fc .....E...TN.Z,...t...xc..=+../..
0080 ef 9c 2f 2e c0 ef 9f 13 f1 38 80 2a f7 eb c4 6f 11 8f 09 80 59 93 38 2c 97 65 1a a1 46 e2 31 e1 ../......8.*...o....Y.8,.e..F.1.
00a0 e6 0f c5 ca 91 52 0a 92 56 a3 b0 26 3d 20 39 66 86 b2 1e 88 85 d9 88 d4 e7 0e 5d 91 44 ad 15 33 .....R..V..&=.9f..........].D..3
00c0 23 64 e1 ab 7f 65 9a 26 dc f7 64 87 dd 4d 8b 62 06 54 a4 27 a0 3e 14 b7 a6 72 2b ef e0 01 17 b8 #d...e.&..d..M.b.T.'.>...r+.....
00e0 fb 0e f3 27 25 cc 75 39 67 82 bb 83 22 b5 d1 e6 9c 19 86 e1 a1 38 a5 44 4a a9 c3 0f 10 3a 3c 49 ...'%.u9g..."........8.DJ....:<I
0100 3b dc c5 70 db dd dd b9 05 cd f5 63 f9 20 33 8b 0c 01 01 71 eb 04 5b e3 d4 fc 35 64 82 3c 22 2a ;..p.......c..3....q..[...5d.<"*
0120 6d 00 5d c7 e5 9d 8b 38 e7 fc 4d d7 cc c5 2c 6d 53 ef 91 71 6f 9f b2 ae 39 b3 b1 cd ea f5 db e0 m.]....8..M...,mS..qo...9.......
0140 fe 39 11 4f 03 56 c6 0e 55 54 50 ec 67 a2 27 86 f4 c2 6d fb 2b 03 dc af 85 c3 69 83 48 40 d4 19 .9.O.V..UTP.g.'...m.+.....i.H@..
0160 6f 3b 53 cd 7b c0 5a b5 09 77 c7 6c 64 b2 11 51 e7 2e 0e 66 86 b5 27 ee 97 ed f9 6d bf a6 8a 7f o;S.{.Z..w.ld..Q...f..'....m....
0180 5a 67 3d 5f fc 0b 05 7d cb 88 56 4f dd 54 00 00 00 00 49 45 4e 44 ae 42 60 82 Zg=_...}..VO.T....IEND.B`.
='#n119'>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 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 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711
/*
** $Id: lgc.c,v 2.38.1.1 2007/12/27 13:02:25 roberto Exp $
** Garbage Collector
** See Copyright Notice in lua.h
*/

#include <string.h>

#define lgc_c
#define LUA_CORE

#include "lua.h"

#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#include "lgc.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
#include "ltm.h"


#define GCSTEPSIZE	1024u
#define GCSWEEPMAX	40
#define GCSWEEPCOST	10
#define GCFINALIZECOST	100


#define maskmarks	cast_byte(~(bitmask(BLACKBIT)|WHITEBITS))

#define makewhite(g,x)	\
   ((x)->gch.marked = cast_byte(((x)->gch.marked & maskmarks) | luaC_white(g)))

#define white2gray(x)	reset2bits((x)->gch.marked, WHITE0BIT, WHITE1BIT)
#define black2gray(x)	resetbit((x)->gch.marked, BLACKBIT)

#define stringmark(s)	reset2bits((s)->tsv.marked, WHITE0BIT, WHITE1BIT)


#define isfinalized(u)		testbit((u)->marked, FINALIZEDBIT)
#define markfinalized(u)	l_setbit((u)->marked, FINALIZEDBIT)


#define KEYWEAK         bitmask(KEYWEAKBIT)
#define VALUEWEAK       bitmask(VALUEWEAKBIT)



#define markvalue(g,o) { checkconsistency(o); \
  if (iscollectable(o) && iswhite(gcvalue(o))) reallymarkobject(g,gcvalue(o)); }

#define markobject(g,t) { if (iswhite(obj2gco(t))) \
		reallymarkobject(g, obj2gco(t)); }


#define setthreshold(g)  (g->GCthreshold = (g->estimate/100) * g->gcpause)


static void removeentry (Node *n) {
  lua_assert(ttisnil(gval(n)));
  if (iscollectable(gkey(n)))
    setttype(gkey(n), LUA_TDEADKEY);  /* dead key; remove it */
}


static void reallymarkobject (global_State *g, GCObject *o) {
  lua_assert(iswhite(o) && !isdead(g, o));
  white2gray(o);