aboutsummaryrefslogtreecommitdiff
path: root/assets/oldmodels/trackvertical1.b3d
blob: 5620f6057328dbdd4c78a36cda37f8f9bf5640ce (plain)
ofshex dumpascii
0000 42 42 33 44 6d 02 00 00 01 00 00 00 4e 4f 44 45 61 02 00 00 43 75 62 65 00 00 00 00 00 00 00 00 BB3Dm.......NODEa...Cube........
0020 00 00 00 00 00 00 00 80 3f 00 00 80 3f 00 00 80 3f d3 bb 4b b5 00 00 00 00 00 00 80 3f 00 00 00 ........?...?...?..K........?...
0040 00 4d 45 53 48 2c 02 00 00 ff ff ff ff 56 52 54 53 cc 01 00 00 01 00 00 00 01 00 00 00 02 00 00 .MESH,.......VRTS...............
0060 00 57 7e 3c 3f 00 00 00 bf 5c 73 00 3f 92 05 49 3f 7c 01 be 3e fc c1 fd 3e 1f e6 62 3f a1 af 5d .W~<?....\s.?..I?|..>...>..b?..]
0080 3f 71 7e 3c bf 00 00 00 bf 15 73 00 3f 92 05 49 bf 7c 01 be 3e fc c1 fd 3e 20 e6 62 3f 7c 41 09 ?q~<......s.?..I.|..>...>..b?|A.
00a0 3e 0d 00 00 bf 00 00 00 00 20 73 00 3f b4 05 da be 93 8f 49 3f c8 39 e4 3e 9d 47 23 3f fa c2 80 >.........s.?......I?.9.>.G#?...
00c0 3e e9 ff ff 3e 00 00 00 00 51 73 00 3f b4 05 da 3e 93 8f 49 3f c8 39 e4 3e 9f 47 23 3f 80 9e 3f >...>....Qs.?...>..I?.9.>.G#?..?
00e0 3f b7 ff ff be 00 00 00 bf c4 19 ff be f3 81 79 be bc 11 5e 3f bc 11 de be 03 2f a8 3d 00 c3 80 ?..............y...^?...../.=...
0100 3e 0d 00 00 bf 00 00 00 00 20 73 00 3f b4 05 da be 93 8f 49 3f c8 39 e4 3e 9d 47 23 3f fa c2 80 >.........s.?......I?.9.>.G#?...
0120 3e 71 7e 3c bf 00 00 00 bf 15 73 00 3f 92 05 49 bf 7c 01 be 3e fc c1 fd 3e 0f d4 06 3f 00 20 bc >q~<......s.?..I.|..>...>...?...
0140 38 e9 ff ff 3e 00 00 00 00 51 73 00 3f b4 05 da 3e 93 8f 49 3f c8 39 e4 3e 9f 47 23 3f 80 9e 3f 8...>....Qs.?...>..I?.9.>.G#?..?
0160 3f 23 00 00 3f 00 00 00 bf 62 19 ff be f3 81 79 3e bc 11 5e 3f bc 11 de be 0a 2f a8 3d 85 9e 3f ?#..?....b.....y>..^?...../.=..?
0180 3f 57 7e 3c 3f 00 00 00 bf 5c 73 00 3f 92 05 49 3f 7c 01 be 3e fc c1 fd 3e 14 d4 06 3f 20 fa 7f ?W~<?....\s.?..I?|..>...>...?...
01a0 3f 23 00 00 3f 00 00 00 bf 62 19 ff be f3 81 79 3e bc 11 5e 3f bc 11 de be 0a 2f a8 3d 85 9e 3f ?#..?....b.....y>..^?...../.=..?
01c0 3f e9 ff ff 3e 00 00 00 00 51 73 00 3f b4 05 da 3e 93 8f 49 3f c8 39 e4 3e 9f 47 23 3f 80 9e 3f ?...>....Qs.?...>..I?.9.>.G#?..?
01e0 3f 0d 00 00 bf 00 00 00 00 20 73 00 3f b4 05 da be 93 8f 49 3f c8 39 e4 3e 9d 47 23 3f fa c2 80 ?.........s.?......I?.9.>.G#?...
0200 3e b7 ff ff be 00 00 00 bf c4 19 ff be f3 81 79 be bc 11 5e 3f bc 11 de be 03 2f a8 3d 00 c3 80 >..............y...^?...../.=...
0220 3e 54 52 49 53 4c 00 00 00 ff ff ff ff 02 00 00 00 01 00 00 00 00 00 00 00 03 00 00 00 02 00 00 >TRISL..........................
0240 00 00 00 00 00 06 00 00 00 05 00 00 00 04 00 00 00 09 00 00 00 08 00 00 00 07 00 00 00 0c 00 00 ................................
0260 00 0b 00 00 00 0a 00 00 00 0d 00 00 00 0c 00 00 00 0a 00 00 00 .....................
2' href='#n162'>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
-- Minetest: builtin/misc_helpers.lua

--------------------------------------------------------------------------------
function basic_dump(o)
	local tp = type(o)
	if tp == "number" then
		return tostring(o)
	elseif tp == "string" then
		return string.format("%q", o)
	elseif tp == "boolean" then
		return tostring(o)
	elseif tp == "nil" then
		return "nil"
	-- Uncomment for full function dumping support.
	-- Not currently enabled because bytecode isn't very human-readable and
	-- dump's output is intended for humans.
	--elseif tp == "function" then
	--	return string.format("loadstring(%q)", string.dump(o))
	else
		return string.format("<%s>", tp)
	end
end

local keywords = {
	["and"] = true,
	["break"] = true,
	["do"] = true,
	["else"] = true,
	["elseif"] = true,
	["end"] = true,
	["false"] = true,
	["for"] = true,
	["function"] = true,
	["goto"] = true,  -- Lua 5.2
	["if"] = true,
	["in"] = true,
	["local"] = true,
	["nil"] = true,
	["not"] = true,
	["or"] = true,
	["repeat"] = true,
	["return"] = true,
	["then"] = true,
	["true"] = true,
	["until"] = true,
	["while"] = true,
}
local function is_valid_identifier(str)
	if not str:find("^[a-zA-Z_][a-zA-Z0-9_]*$") or keywords[str] then
		return false
	end
	return true
end

--------------------------------------------------------------------------------
-- Dumps values in a line-per-value format.
-- For example, {test = {"Testing..."}} becomes:
--   _["test"] = {}
--   _["test"][1] = "Testing..."
-- This handles tables as keys and circular references properly.
-- It also handles multiple references well, writing the table only once.
-- The dumped argument is internal-only.

function dump2(o, name, dumped)
	name = name or "_"
	-- "dumped" is used to keep track of serialized tables to handle
	-- multiple references and circular tables properly.
	-- It only contains tables as keys.  The value is the name that
	-- the table has in the dump, eg:
	-- {x = {"y"}} -> dumped[{"y"}] = '_["x"]'
	dumped = dumped or {}
	if type(o) ~= "table" then
		return string.format("%s = %s\n", name, basic_dump(o))
	end
	if dumped[o] then
		return string.format("%s = %s\n", name, dumped[o])
	end
	dumped[o] = name
	-- This contains a list of strings to be concatenated later (because
	-- Lua is slow at individual concatenation).
	local t = {}
	for k, v in pairs(o) do
		local keyStr
		if type(k) == "table" then
			if dumped[k] then
				keyStr = dumped[k]
			else
				-- Key tables don't have a name, so use one of
				-- the form _G["table: 0xFFFFFFF"]
				keyStr = string.format("_G[%q]", tostring(k))
				-- Dump key table
				table.insert(t, dump2(k, keyStr, dumped))
			end
		else
			keyStr = basic_dump(k)
		end
		local vname = string.format("%s[%s]", name, keyStr)