- Timestamp:
- Dec 24, 2006, 12:36:07 AM (18 years ago)
- Location:
- oup/current
- Files:
-
- 2 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Main.dfm
r52 r53 67 67 OnClick = menu_loadfileClick 68 68 end 69 object menu_loaddb: TTBItem 70 Caption = 'Open level-&db ...' 71 ImageIndex = 1 72 ShortCut = 16452 73 OnClick = menu_loaddbClick 74 end 69 75 object menu_sep1: TTBSeparatorItem 70 76 end … … 129 135 Caption = '&Meta editor' 130 136 Enabled = False 137 ImageIndex = 11 131 138 ShortCut = 16461 132 139 OnClick = menu_metaClick … … 142 149 Caption = 'Levelfile structure editor ...' 143 150 Enabled = False 151 ImageIndex = 12 144 152 ShortCut = 16460 145 153 end … … 210 218 OnDockChanged = ToolbarDockChanged 211 219 object tbOpen: TTBItem 212 Caption = 'Open file'220 Caption = 'Open .dat' 213 221 DisplayMode = nbdmImageAndText 214 222 ImageIndex = 0 215 223 OnClick = menu_loadfileClick 224 end 225 object tb_opendb: TTBItem 226 Caption = 'Open DB' 227 DisplayMode = nbdmImageAndText 228 ImageIndex = 1 229 OnClick = menu_loaddbClick 216 230 end 217 231 object tb_separator1: TTBSeparatorItem … … 270 284 DisplayMode = nbdmImageAndText 271 285 Enabled = False 286 ImageIndex = 11 272 287 OnClick = menu_metaClick 273 288 end … … 283 298 DisplayMode = nbdmImageAndText 284 299 Enabled = False 300 ImageIndex = 12 285 301 end 286 302 end … … 358 374 Top = 112 359 375 Bitmap = { 360 494C01010 B000E00040010001000FFFFFFFFFF00FFFFFFFFFFFFFFFF424D3600376 494C01010D000E00040010001000FFFFFFFFFF00FFFFFFFFFFFFFFFF424D3600 361 377 0000000000003600000028000000400000004000000001002000000000000040 362 378 0000000000000000000000000000000000000000000000000000000000000000 … … 368 384 0000000000000000000000000000000000000000000000000000000000000000 369 385 0000000000000000000000000000000000000000000000000000000000000000 370 0000000000000000000000000000000000000000000000000000000000000000 371 0000000000000000000000000000000000000000000000000000000000000000 372 0000000000000000000000000000000000000000000000000000000000000000 373 0000000000000000000000000000000000000000000000000000000000000000 374 0000000000000000000000000000000000000000000000000000000000000000 375 0000000000000000000000000000000000000000000000000000000000000000 376 0000000000000000000000000000000000000000000000000000000000000000 377 0000000000000000000000000000000000000000000000000000000000000000 378 0000000000000000000000000000000000000000000000000000000000000000 379 0000000000000000000000000000000000000000000000000000000000000000 380 0000000000000000000000000000000000000000000000000000000000000000 381 0000000000000000000000000000000000000000000000000000000000000000 382 0000000000000000000000000000000000000000000000000000000000000000 383 0000000000000000000000000000000000000000000000000000000000000000 384 0000000000000000000000000000000000000000000000000000000000000000 385 0000000000000000000000000000000000000000000000000000000000000000 386 0000000000000000000000000000000000000000000000000000000000000000 387 0000000000000000000000000000000000000000000000000000000000000000 388 0000000000000000000000000000000000000000000000000000000000000000 389 0000000000000000000000000000000000000000000000000000000000000000 390 0000000000000000000000000000000000000000000000000000000000000000 391 0000000000000000000000000000000000000000000000000000000000000000 392 0000000000000000000000000000000000000000000000000000000000000000 393 0000000000000000000000000000000000000000000000000000000000000000 394 0000000000000000000000000000000000000000000000000000000000000000 395 0000000000000000000000000000000000000000000000000000000000000000 396 0000000000000000000000000000000000000000000000000000000000000000 397 0000000000000000000000000000000000000000000000000000000000000000 398 0000000000000000000000000000000000000000000000000000000000000000 399 0000000000000000000000000000000000000000000000000000000000000000 400 0000000000000000000000000000000000000000000000000000000000000000 401 0000000000000000000000000000000000000000000000000000000000000000 402 0000000000000000000000000000000000000000000000000000000000000000 403 0000000000000000000000000000000000000000000000000000000000000000 404 0000000000000000000000000000000000000000000000000000000000000000 405 0000000000000000000000000000000000000000000000000000000000000000 406 0000000000000000000000000000000000000000000000000000000000000000 407 0000000000000000000000000000000000000000000000000000000000000000 408 0000000000000000000000000000000000000000000000000000000000000000 409 0000000000000000000000000000000000000000000000000000000000000000 410 0000000000000000000000000000000000000000000000000000000000000000 411 0000000000000000000000000000000000000000000000000000000000000000 412 0000000000000000000000000000000000000000000000000000000000000000 413 0000000000000000000000000000000000000000000000000000000000000000 414 0000000000000000000000000000000000000000000000000000000000000000 415 0000000000000000000000000000000000000000000000000000000000000000 416 0000000000000000000000000000000000000000000000000000000000000000 417 0000000000000000000000000000000000000000000000000000000000000000 418 0000000000000000000000000000000000000000000000000000000000000000 419 0000000000000000000000000000000000000000000000000000000000000000 420 0000000000000000000000000000000000000000000000000000000000000000 421 0000000000000000000000000000000000000000000000000000000000000000 422 0000000000000000000000000000000000000000000000000000000000000000 423 0000000000000000000000000000000000000000000000000000000000000000 424 0000000000000000000000000000000000000000000000000000000000000000 425 0000000000000000000000000000000000000000000000000000000000000000 426 0000000000000000000000000000000000000000000000000000000000000000 427 0000000000000000000000000000000000000000000000000000000000000000 428 0000000000000000000000000000000000000000000000000000000000000000 429 0000000000000000000000000000000000000000000000000000000000000000 430 0000000000000000000000000000000000000000000000000000000000000000 431 0000000000000000000000000000000000000000000000000000000000000000 432 0000000000000000000000000000000000000000000000000000000000000000 433 0000000000000000000000000000000000000000000000000000000000000000 434 0000000000000000000000000000000000000000000000000000000000000000 435 0000000000000000000000000000000000000000000000000000000000000000 436 0000000000000000000000000000000000000000000000000000000000000000 437 0000000000000000000000000000000000000000000000000000000000000000 438 0000000000000000000000000000000000000000000000000000000000000000 439 0000000000000000000000000000000000000000000000000000000000000000 440 0000000000000000000000000000000000000000000000000000000000000000 441 0000000000000000000000000000000000000000000000000000000000000000 442 0000000000000000000000000000000000000000000000000000000000000000 443 0000000000000000000000000000000000000000000000000000000000000000 444 0000000000000000000000000000000000000000000000000000000000000000 445 0000000000000000000000000000000000000000000000000000000000000000 446 0000000000000000000000000000000000000000000000000000000000000000 447 0000000000000000000000000000000000000000000000000000000000000000 448 0000000000000000000000000000000000000000000000000000000000000000 449 0000000000000000000000000000000000000000000000000000000000000000 450 0000000000000000000000000000000000000000000000000000000000000000 451 0000000000000000000000000000000000000000000000000000000000000000 452 0000000000000000000000000000000000000000000000000000000000000000 453 0000000000000000000000000000000000000000000000000000000000000000 454 0000000000000000000000000000000000000000000000000000000000000000 455 0000000000000000000000000000000000000000000000000000000000000000 456 0000000000000000000000000000000000000000000000000000000000000000 457 0000000000000000000000000000000000000000000000000000000000000000 458 0000000000000000000000000000000000000000000000000000000000000000 459 0000000000000000000000000000000000000000000000000000000000000000 460 0000000000000000000000000000000000000000000000000000000000000000 461 0000000000000000000000000000000000000000000000000000000000000000 462 0000000000000000000000000000000000000000000000000000000000000000 463 0000000000000000000000000000000000000000000000000000000000000000 464 0000000000000000000000000000000000000000000000000000000000000000 465 0000000000000000000000000000000000000000000000000000000000000000 466 0000000000000000000000000000000000000000000000000000000000000000 467 0000000000000000000000000000000000000000000000000000000000000000 468 0000000000000000000000000000000000000000000000000000000000000000 469 0000000000000000000000000000000000000000000000000000000000000000 470 0000000000000000000000000000000000000000000000000000000000000000 471 0000000000000000000000000000000000000000000000000000000000000000 472 0000000000000000000000000000000000000000000000000000000000000000 473 0000000000000000000000000000000000000000000000000000000000000000 474 0000000000000000000000000000000000000000000000000000000000000000 475 0000000000000000000000000000000000000000000000000000000000000000 476 0000000000000000000000000000000000000000000000000000000000000000 477 0000000000000000000000000000000000000000000000000000000000000000 478 0000000000000000000000000000000000000000000000000000000000000000 479 0000000000000000000000000000000000000000000000000000000000000000 480 0000000000000000000000000000000000000000000000000000000000000000 481 0000000000000000000000000000000000000000000000000000000000000000 482 0000000000000000000000000000000000000000000000000000000000000000 483 0000000000000000000000000000000000000000000000000000000000000000 484 0000000000000000000000000000000000000000000000000000000000000000 485 0000000000000000000000000000000000000000000000000000000000000000 486 0000000000000000000000000000000000000000000000000000000000000000 487 0000000000000000000000000000000000000000000000000000000000000000 488 0000000000000000000000000000000000000000000000000000000000000000 489 0000000000000000000000000000000000000000000000000000000000000000 490 0000000000000000000000000000000000000000000000000000000000000000 491 0000000000000000000000000000000000000000000000000000000000000000 492 000000000000FFFFFF0000000000000000000000000000000000000000000000 493 000000000000000000000000000000000000FFFFFF0000000000000000000000 494 0000000000000000000000000000000000000000000000000000000000000000 495 0000000000000000000000000000000000000000000000000000000000000000 496 0000000000000000000000000000000000000000000000000000000000000000 497 0000000000000000000000000000000000000000000000000000000000000000 386 0000000000000000000000000000000000000000000000FF000000FF000000FF 387 000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF 388 000000FF000000FF000000FF0000000000000000000000000000000000000000 389 0000000000000000000000000000000000000000000000000000000000000000 390 0000000000000000000000000000000000000000000000000000000000000000 391 0000000000000000000000000000000000000000000000000000000000000000 392 0000000000000000000000000000000000000000000000000000000000000000 393 0000000000000000000000000000000000000000000000000000000000000000 394 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 395 0000000000000000000000000000000000000000000000000000000000000000 396 000000000000FFFFFF0000FF0000000000000000000000000000000000000000 397 0000000000000000000000000000000000000000000000000000000000000000 398 0000000000000000000000000000000000000000000000000000000000000000 399 0000000000000000000000000000000000000000000000000000000000000000 400 0000000000000000000000000000000000000000000000000000000000000000 401 0000000000000000000000000000000000000000000000000000000000000000 402 0000000000000000000000000000000000000000000000FF0000FFFFFF00FFFF 403 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 404 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 405 0000000000000000000000000000000000000000000000000000000000000000 406 0000000000000000000000000000000000000000000000000000000000000000 407 0000000000000000000000000000000000000000000000000000000000000000 408 0000000000000000000000000000000000000000000000000000000000000000 409 0000000000000000000000000000000000000000000000000000000000000000 410 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 411 FF00FFFFFF000000000000000000000000000000000000000000000000000000 412 0000FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 413 0000000000000000000000000000000000000000000000000000000000000000 414 0000000000000000000000000000000000000000000000000000000000000000 415 0000000000000000000000000000000000000000000000000000000000000000 416 0000000000000000000000000000000000000000000000000000000000000000 417 0000000000000000000000000000000000000000000000000000000000000000 418 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 419 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 420 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 421 0000000000000000000000000000000000000000000000000000000000000000 422 0000000000000000000000000000000000000000000000000000000000000000 423 0000000000000000000000000000000000000000000000000000000000000000 424 0000000000000000000000000000000000000000000000000000000000000000 425 0000000000000000000000000000000000000000000000000000000000000000 426 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 427 FF00FFFFFF00000000000000000000000000000000000000000000000000FFFF 428 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 429 0000000000000000000000000000000000000000000000000000000000000000 430 0000000000000000000000000000000000000000000000000000000000000000 431 0000000000000000000000000000000000000000000000000000000000000000 432 0000000000000000000000000000000000000000000000000000000000000000 433 0000000000000000000000000000000000000000000000000000000000000000 434 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 435 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 436 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 437 0000000000000000000000000000000000000000000000000000000000000000 438 0000000000000000000000000000000000000000000000000000000000000000 439 0000000000000000000000000000000000000000000000000000000000000000 440 0000000000000000000000000000000000000000000000000000000000000000 441 0000000000000000000000000000000000000000000000000000000000000000 442 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 443 FF00FFFFFF000000000000000000000000000000000000000000FFFFFF00FFFF 444 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 445 0000000000000000000000000000000000000000000000000000000000000000 446 0000000000000000000000000000000000000000000000000000000000000000 447 0000000000000000000000000000000000000000000000000000000000000000 448 0000000000000000000000000000000000000000000000000000000000000000 449 0000000000000000000000000000000000000000000000000000000000000000 450 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 451 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 452 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 453 0000000000000000000000000000000000000000000000000000000000000000 454 0000000000000000000000000000000000000000000000000000000000000000 455 0000000000000000000000000000000000000000000000000000000000000000 456 0000000000000000000000000000000000000000000000000000000000000000 457 0000000000000000000000000000000000000000000000000000000000000000 458 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 459 FF00FFFFFF0000000000000000000000000000000000FFFFFF00FFFFFF00FFFF 460 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 461 0000000000000000000000000000000000000000000000000000000000000000 462 0000000000000000000000000000000000000000000000000000000000000000 463 0000000000000000000000000000000000000000000000000000000000000000 464 0000000000000000000000000000000000000000000000000000000000000000 465 0000000000000000000000000000000000000000000000000000000000000000 466 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 467 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 468 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 469 0000000000000000000000000000000000000000000000000000000000000000 470 0000000000000000000000000000000000000000000000000000000000000000 471 0000000000000000000000000000000000000000000000000000000000000000 472 0000000000000000000000000000000000000000000000000000000000000000 473 0000000000000000000000000000000000000000000000000000000000000000 474 0000000000000000000000000000000000000000000000FF0000FFFFFF000000 475 FF00FFFFFF00000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF 476 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 477 0000000000000000000000000000000000000000000000000000000000000000 478 0000000000000000000000000000000000000000000000000000000000000000 479 0000000000000000000000000000000000000000000000000000000000000000 480 0000000000000000000000000000000000000000000000000000000000000000 481 0000000000000000000000000000000000000000000000000000000000000000 482 0000000000000000000000000000000000000000000000FF0000FFFFFF00FFFF 483 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 484 FF00FFFFFF00FFFFFF0000FF0000000000000000000000000000000000000000 485 0000000000000000000000000000000000000000000000000000000000000000 486 0000000000000000000000000000000000000000000000000000000000000000 487 0000000000000000000000000000000000000000000000000000000000000000 488 0000000000000000000000000000000000000000000000000000000000000000 489 0000000000000000000000000000000000000000000000000000000000000000 490 0000000000000000000000000000000000000000000000FF000000FF000000FF 491 000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF 492 000000FF000000FF000000FF0000000000000000000000000000000000000000 493 0000000000000000000000000000000000000000000000000000000000000000 494 0000000000000000000000000000000000000000000000000000000000000000 495 0000000000000000000000000000000000000000000000000000000000000000 496 0000000000000000000000000000000000000000000000000000000000000000 497 0000000000000000000000000000000000000000000000000000000000000000 498 0000000000000000000000000000000000000000000000000000000000000000 499 0000000000000000000000000000000000000000000000000000000000000000 500 0000000000000000000000000000000000000000000000000000000000000000 501 0000000000000000000000000000000000000000000000000000000000000000 502 0000000000000000000000000000000000000000000000000000000000000000 503 0000000000000000000000000000000000000000000000000000000000000000 504 0000000000000000000000000000000000000000000000000000000000000000 505 0000000000000000000000000000000000000000000000000000000000000000 506 0000000000000000000000000000000000000000000000000000000000000000 507 0000000000000000000000000000000000000000000000000000000000000000 508 0000000000000000000000000000000000000000000000000000000000000000 509 0000000000000000000000000000000000000000000000000000000000000000 510 0000000000000000000000000000000000000000000000000000000000000000 511 0000000000000000000000000000000000000000000000000000000000000000 512 0000000000000000000000000000000000000000FF000000FF000000FF000000 513 FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000 514 FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000 515 FF000000FF000000000000000000000000000000000000000000000000000000 498 516 000000000000000000000000000000000000000000000000FF000000FF000000 499 517 FF000000FF000000000000000000000000000000000000000000000000000000 500 00000000000000000000FFFFFF0000000000000000000000FF000000FF000000501 FF000000FF000000000000000000FFFFFF000000000000000000000000000000502 518 0000000000000000FF000000FF00000000000000000000000000000000000000 503 519 0000000000000000000000000000000000000000000000000000000000000000 504 0000000000000000000000000000000000000000000000000000000000000000 505 0000000000000000000000000000000000000000000000000000000000000000 506 000000000000000000000000000000000000000000000000FF000000FF000000 507 FF000000FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 508 FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000000000FF000000FF000000 509 FF000000FF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 510 FF00000000000000FF000000FF00000000000000000000000000000000000000 511 0000000000000000000000000000000000000000000000000000000000000000 512 0000000000000000000000000000000000000000000000000000000000000000 513 0000000000000000000000000000000000000000000000000000000000000000 520 0000000000000000000000000000000000000000FF0000FFFF000000FF0000FF 521 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF 522 FF0000FFFF000000FF000000FF000000FF00000000000000FF000000FF000000 523 FF000000FF000000000000000000000000000000000000000000000000000000 514 524 000000000000000000000000000000000000000000000000FF000000FF000000 515 525 FF000000FF000000000000000000000000000000000000000000000000000000 516 0000000000000000 0000FFFFFF0000000000000000000000FF000000FF000000517 FF000000FF000000000000000000FFFFFF000000000000000000000000000000518 0000000000000000000000000000000000000000000000 000000000000000000519 0000000000000000000000000000000000000000000000000000000000000000520 0000000000000000000000000000000000000000000000000000000000000000521 0000000000000000000000000000000000000000000000000000000000000000526 0000000000000000FF000000FF00000000000000000000000000000000000000 527 0000000000000000000000000000000000000000000000000000000000000000 528 0000000000000000000000000000000000000000000000FFFF000000000000FF 529 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF 530 FF0000FFFF00000000000000FF0000000000000000000000FF000000FF000000 531 FF000000FF000000000000000000000000000000000000000000000000000000 522 532 000000000000000000000000000000000000000000000000FF000000FF000000 523 533 FF000000FF000000000000000000000000000000000000000000000000000000 524 000000000000FFFFFF000000000000000000000000000000FF000000FF000000 525 FF000000FF00000000000000000000000000FFFFFF0000000000000000000000 526 0000FF000000FF00000000000000000000000000000000000000000000000000 527 0000000000000000000000000000000000000000000000000000000000000000 528 0000000000000000000000000000000000000000000000000000000000000000 529 0000000000000000000000000000000000000000000000000000000000000000 530 0000000000000000000000000000000000000000000000000000000000000000 531 000000000000000000000000000000000000000000000000000000000000FFFF 532 FF00000000000000000000000000000000000000000000000000000000000000 533 0000000000000000000000000000000000000000000000000000FFFFFF000000 534 0000FF000000FF00000000000000000000000000000000000000000000000000 535 0000000000000000000000000000000000000000000000000000000000000000 536 0000000000000000000000000000000000000000000000000000000000000000 537 0000000000000000000000000000000000000000000000000000000000000000 534 0000000000000000000000000000000000000000000000000000000000000000 535 0000000000000000000000000000000000000000000000000000000000000000 536 0000000000000000000000000000000000000000000000FFFF00000000000000 537 0000000000000000000000000000000000000000000000000000000000000000 538 000000000000000000000000FF0000000000000000000000FF000000FF000000 539 FF000000FF000000000000000000000000000000000000000000000000000000 540 000000000000000000000000000000000000000000000000FF000000FF000000 541 FF000000FF000000000000000000000000000000000000000000000000000000 542 000000000000FF000000FF000000000000000000000000000000000000000000 543 0000000000000000000000000000000000000000000000000000000000000000 544 0000000000000000000000000000000000000000000000FFFF000000000000FF 545 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF 546 FF0000000000000000000000FF00000000000000000000000000000000000000 547 0000000000000000000000000000000000000000000000000000000000000000 548 0000000000000000000000000000000000000000000000000000000000000000 549 0000000000000000000000000000000000000000000000000000000000000000 550 000000000000FF000000FF000000000000000000000000000000000000000000 551 0000000000000000000000000000000000000000000000000000000000000000 552 0000000000000000000000000000000000000000000000FFFF000000000000FF 553 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FF 554 FF0000000000000000000000FF000000000000000000FF000000FF000000FF00 555 0000FF0000000000000000000000000000000000000000000000000000000000 538 556 00000000000000000000000000000000000000000000FF000000FF000000FF00 539 557 0000FF0000000000000000000000000000000000000000000000000000000000 540 0000FFFFFF0000000000000000000000000000000000FF000000FF000000FF00 541 0000FF00000000000000000000000000000000000000FFFFFF00000000000000 542 0000000000000000000000000000000000000000000000000000000000000000 543 0000000000000000000000000000000000000000000000000000000000000000 544 0000000000000000000000000000000000000000000000000000000000000000 545 0000000000000000000000000000000000000000000000000000000000000000 546 00000000000000000000000000000000000000000000FF000000FF000000FF00 547 0000FF00000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 548 FF00FFFFFF00FFFFFF00000000000000000000000000FF000000FF000000FF00 549 0000FF000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF00FFFF 550 FF00FFFFFF00FFFFFF0000000000000000000000000000000000000000000000 551 0000000000000000000000000000000000000000000000000000000000000000 552 0000000000000000000000000000000000000000000000000000000000000000 553 0000000000000000000000000000000000000000000000000000000000000000 558 0000000000000000000000000000000000000000000000000000000000000000 559 0000000000000000000000000000000000000000000000000000000000000000 560 0000000000000000000000000000000000000000000000FFFF00000000000000 561 0000000000000000000000000000000000000000000000000000000000000000 562 000000000000000000000000FF000000000000000000FF000000FF000000FF00 563 0000FF0000000000000000000000000000000000000000000000000000000000 554 564 00000000000000000000000000000000000000000000FF000000FF000000FF00 555 565 0000FF0000000000000000000000000000000000000000000000000000000000 556 0000 FFFFFF0000000000000000000000000000000000FF000000FF000000FF00557 0000 FF00000000000000000000000000000000000000FFFFFF00000000000000558 0000000000000000000000000000000000000000000000 000000000000000000559 0000000000000000000000000000000000000000000000000000000000000000560 000000000000000000000000 0000000000000000000000000000000000000000561 0000 000000000000000000000000000000000000000000000000000000000000566 0000000000000000000000000000000000000000000000000000000000000000 567 0000000000000000000000000000000000000000000000000000000000000000 568 0000000000000000000000000000000000000000000000FFFF000000000000FF 569 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF000000 570 000000000000000000000000FF000000000000000000FF000000FF000000FF00 571 0000FF0000000000000000000000000000000000000000000000000000000000 562 572 00000000000000000000000000000000000000000000FF000000FF000000FF00 563 0000FF000000000000000000000000000000000000000000000000000000FFFF 564 FF000000000000000000000000000000000000000000FF000000FF000000FF00 565 0000FF0000000000000000000000000000000000000000000000FFFFFF000000 566 00000000FF000000FF0000000000000000000000000000000000000000000000 567 0000000000000000000000000000000000000000000000000000000000000000 568 0000000000000000000000000000000000000000000000000000000000000000 569 0000000000000000000000000000000000000000000000000000000000000000 570 0000000000000000000000000000000000000000000000000000000000000000 571 00000000000000000000000000000000000000000000FFFFFF00000000000000 572 0000000000000000FF000000FF00000000000000000000000000000000000000 573 000000000000000000000000000000000000FFFFFF0000000000000000000000 574 00000000FF000000FF0000000000000000000000000000000000000000000000 575 0000000000000000000000000000000000000000000000000000000000000000 576 0000000000000000000000000000000000000000000000000000000000000000 577 0000000000000000000000000000000000000000000000000000000000000000 573 0000FF0000000000000000000000000000000000000000000000000000000000 574 0000000000000000000000000000000000000000000000000000000000000000 575 0000000000000000000000000000000000000000000000000000000000000000 576 0000000000000000000000000000000000000000000000FFFF000000000000FF 577 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF000000 578 000000000000000000000000FF000000000000000000FF000000FF000000FF00 579 0000FF0000000000000000000000000000000000000000000000000000000000 580 0000000000000000FF000000FF000000FF0000000000FF000000FF000000FF00 581 0000FF0000000000000000000000000000000000000000000000000000000000 582 0000000000000000FF000000FF000000FF000000000000000000000000000000 583 0000000000000000000000000000000000000000000000000000000000000000 584 0000000000000000000000000000000000000000000000FFFF00000000000000 585 0000000000000000000000000000000000000000000000000000000000000000 586 000000000000000000000000FF00000000000000000000000000000000000000 587 0000000000000000000000000000000000000000000000000000000000000000 588 0000000000000000FF000000FF000000FF000000000000000000000000000000 589 0000000000000000000000000000000000000000000000000000000000000000 590 0000000000000000FF000000FF000000FF000000000000000000000000000000 591 0000000000000000000000000000000000000000000000000000000000000000 592 0000000000000000000000000000000000000000000000FFFF000000000000FF 593 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF00000000000000 594 000000000000000000000000FF00000000000000000000FFFF0000FFFF0000FF 595 FF0000FFFF000000000000000000000000000000000000000000000000000000 596 0000000000000000FF000000FF000000FF000000000000FFFF0000FFFF0000FF 597 FF0000FFFF000000000000000000000000000000000000000000000000000000 598 0000000000000000FF000000FF000000FF000000000000000000000000000000 599 0000000000000000000000000000000000000000000000000000000000000000 600 0000000000000000000000000000000000000000000000FFFF000000000000FF 601 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF00000000000000 602 000000000000000000000000FF00000000000000000000FFFF0000FFFF0000FF 603 FF0000FFFF000000000000000000000000000000000000000000000000000000 578 604 0000000000000000000000000000000000000000000000FFFF0000FFFF0000FF 579 FF0000FFFF000000000000000000000000000000000000000000FFFFFF000000 580 0000000000000000FF000000FF00000000000000000000FFFF0000FFFF0000FF 581 FF0000FFFF000000000000000000FFFFFF000000000000000000000000000000 582 0000000000000000000000000000000000000000000000000000000000000000 583 0000000000000000000000000000000000000000000000000000000000000000 584 0000000000000000000000000000000000000000000000000000000000000000 585 0000000000000000000000000000000000000000000000000000000000000000 586 0000000000000000000000000000000000000000000000FFFF0000FFFF0000FF 587 FF0000FFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 588 FF00000000000000000000000000000000000000000000FFFF0000FFFF0000FF 589 FF0000FFFF0000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF 590 FF00000000000000000000000000000000000000000000000000000000000000 591 0000000000000000000000000000000000000000000000000000000000000000 592 0000000000000000000000000000000000000000000000000000000000000000 593 0000000000000000000000000000000000000000000000000000000000000000 594 0000000000000000000000000000000000000000000000FFFF0000FFFF0000FF 595 FF0000FFFF000000000000000000000000000000000000000000FFFFFF000000 596 000000000000FF000000FF000000000000000000000000FFFF0000FFFF0000FF 597 FF0000FFFF000000000000000000FFFFFF000000000000000000000000000000 598 000000000000FF000000FF000000000000000000000000000000000000000000 599 0000000000000000000000000000000000000000000000000000000000000000 600 0000000000000000000000000000000000000000000000000000000000000000 601 0000000000000000000000000000000000000000000000000000000000000000 602 0000000000000000000000000000000000000000000000FFFF0000FFFF0000FF 603 FF0000FFFF0000000000000000000000000000000000FFFFFF00000000000000 604 000000000000FF000000FF000000000000000000000000FFFF0000FFFF0000FF 605 FF0000FFFF00000000000000000000000000FFFFFF000000000000FFFF0000FF 606 FF0000000000FF000000FF000000000000000000000000000000000000000000 607 0000000000000000000000000000000000000000000000000000000000000000 608 0000000000000000000000000000000000000000000000000000000000000000 609 0000000000000000000000000000000000000000000000000000000000000000 610 0000000000000000000000000000000000000000000000000000000000000000 611 0000000000000000000000000000000000000000000000000000000000000000 612 0000000000000000000000000000000000000000000000000000000000000000 613 000000000000000000000000000000000000000000000000000000FFFF0000FF 614 FF00000000000000000000000000000000000000000000000000000000000000 615 0000000000000000000000000000000000000000000000000000000000000000 616 0000000000000000000000000000000000000000000000000000000000000000 617 0000000000000000000000000000000000000000000000000000000000000000 618 0000000000000000000000000000000000000000000008080800080808000808 605 FF0000FFFF000000000000000000000000000000000000000000000000000000 606 0000000000000000000000000000000000000000000000000000000000000000 607 0000000000000000000000000000000000000000000000000000000000000000 608 0000000000000000000000000000000000000000000000FFFF00000000000000 609 0000000000000000000000000000000000000000000000000000000000000000 610 000000000000000000000000FF00000000000000000000FFFF0000FFFF0000FF 611 FF0000FFFF000000000000000000000000000000000000000000000000000000 612 000000000000FF000000FF000000FF0000000000000000FFFF0000FFFF0000FF 613 FF0000FFFF000000000000000000000000000000000000000000000000000000 614 000000000000FF000000FF000000FF0000000000000000000000000000000000 615 0000000000000000000000000000000000000000000000000000000000000000 616 0000000000000000000000000000000000000000000000FFFF000000000000FF 617 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000000000000000000000 618 000000000000000000000000FF00000000000000000000FFFF0000FFFF0000FF 619 FF0000FFFF000000000000000000000000000000000000000000000000000000 620 000000000000FF000000FF000000FF0000000000000000FFFF0000FFFF0000FF 621 FF0000FFFF000000000000000000000000000000000000000000000000000000 622 000000000000FF000000FF000000FF0000000000000000000000000000000000 623 0000000000000000000000000000000000000000000000000000000000000000 624 0000000000000000000000000000000000000000FF0000FFFF000000FF0000FF 625 FF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF000000FF000000FF000000 626 FF000000FF000000FF000000FF000000FF000000000000000000000000000000 627 0000000000000000000000000000000000000000000000000000000000000000 628 000000000000FF000000FF000000FF0000000000000000000000000000000000 629 0000000000000000000000000000000000000000000000000000000000000000 630 000000000000FF000000FF000000FF0000000000000000000000000000000000 631 0000000000000000000000000000000000000000000000000000000000000000 632 0000000000000000000000000000000000000000FF000000FF000000FF000000 633 FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000 634 FF000000FF000000FF000000FF000000FF000000000008080800080808000808 619 635 0800080808001018180010101000080808001010100008080800080810001010 620 636 1000101010000808080008080800000000000000000000000000000000000000 … … 878 894 0000000000000000000000000000000000000000000000000000000000000000 879 895 0000000000000000000000000000000000000000000000000000000000000000 880 00000000000000000000000000000000 FFFBFF7F00FF000087FD86F900FF0000881 8400840900FF000087FD86FF1F07000087FB87731F070000FFEFFFD31F070000882 87F787BF1F070000840387031F07000087F787BF1F07000087EF87D31F070000883 FFB9FF731F07000087D986FF1F070000840F840F1F07000087D986F900FF0000884 87B9874900FF0000FFFFFFCF00FF00008001FFFFFFFF00008001A007A0070000896 0000000000000000000000000000000003FB03BF00FF000003FD037900FF0000 897 0200020100FF000003FD037F1F07000003FB03B91F07000003EF03E91F070000 898 03F703DF1F070000020303831F07000003F703DF1F07000003E803E81F070000 899 03B803B81F07000003D803781F070000020F02071F07000003D8037800FF0000 900 03B803B800FF000003F803F800FF00008001FFFFFFFF00008001A007A0070000 885 901 8001000200020000800100020002000080010002000200000000000200020000 886 902 0000000200020000800100020002000080010002000200008001000200020000 -
oup/current/Main.pas
r51 r53 72 72 tb_db2dat: TTBItem; 73 73 tb_dat2db: TTBItem; 74 menu_loaddb: TTBItem; 75 tb_opendb: TTBItem; 76 procedure LoadFile(typedb: Boolean); 74 77 function TryCloseAll: Boolean; 75 78 procedure menu_AboutClick(Sender: TObject); … … 106 109 procedure menu_metaClick(Sender: TObject); 107 110 procedure ToolbarDockChanged(Sender: TObject); 111 procedure menu_loaddbClick(Sender: TObject); 108 112 private 109 113 public … … 320 324 321 325 322 {#################################} 323 {##### Main-Menu-Handlers #####} 324 {#################################} 325 procedure TForm_Main.menu_loadfileClick(Sender: TObject); 326 327 procedure TForm_Main.LoadFile(typedb: Boolean); 326 328 var 327 329 ext: String; … … 332 334 opend.InitialDir := AppSettings.DatPath; 333 335 opend.Filter := 'Compatible level files|*.dat;*.oldb|Oni level (*.dat)|*.dat|OUP level database (*.oldb)|*.oldb|Any (*.*)|*'; 336 if typedb then 337 opend.FilterIndex := 3 338 else 339 opend.FilterIndex := 2; 334 340 if opend.Execute then 335 341 begin … … 351 357 end; 352 358 UpdateStatBar; 359 end; 360 361 362 {#################################} 363 {##### Main-Menu-Handlers #####} 364 {#################################} 365 procedure TForm_Main.menu_loaddbClick(Sender: TObject); 366 begin 367 LoadFile(True); 368 end; 369 370 procedure TForm_Main.menu_loadfileClick(Sender: TObject); 371 begin 372 LoadFile(False); 353 373 end; 354 374 -
oup/current/Settings.dfm
r43 r53 4 4 BorderStyle = bsToolWindow 5 5 Caption = 'Settings' 6 ClientHeight = 3576 ClientHeight = 235 7 7 ClientWidth = 321 8 8 Color = clBtnFace … … 37 37 object btn_ok: TButton 38 38 Left = 8 39 Top = 31939 Top = 199 40 40 Width = 57 41 41 Height = 23 … … 46 46 end 47 47 object btn_cancel: TButton 48 Left = 1 2049 Top = 31948 Left = 112 49 Top = 199 50 50 Width = 57 51 51 Height = 23 … … 54 54 TabOrder = 2 55 55 OnClick = btn_cancelClick 56 end57 object btn_register_oldb: TButton58 Left = 859 Top = 18460 Width = 16961 Height = 2562 Caption = 'Register .oldb files with OUP'63 TabOrder = 364 OnClick = btn_register_oldbClick65 end66 object btn_register_opf: TButton67 Left = 868 Top = 21569 Width = 16970 Height = 2571 Caption = 'Register .opf files with OUP'72 TabOrder = 473 OnClick = btn_register_opfClick74 end75 object btn_register_dat: TButton76 Left = 877 Top = 15378 Width = 16979 Height = 2580 Caption = 'Register .dat files with OUP'81 TabOrder = 582 OnClick = btn_register_datClick83 56 end 84 57 object combo_charset: TComboBox … … 90 63 ItemHeight = 13 91 64 ItemIndex = 0 92 TabOrder = 665 TabOrder = 3 93 66 Text = 'default - 1' 94 67 Items.Strings = ( … … 109 82 Height = 17 110 83 Caption = 'Hide "Unused" data in StructureViewer' 84 TabOrder = 4 85 end 86 object check_reg_dat: TCheckBox 87 Left = 8 88 Top = 118 89 Width = 180 90 Height = 17 91 Caption = 'Register .dat files with OUP' 92 TabOrder = 5 93 end 94 object check_reg_oldb: TCheckBox 95 Left = 8 96 Top = 141 97 Width = 180 98 Height = 17 99 Caption = 'Register .oldb files with OUP' 100 TabOrder = 6 101 end 102 object check_reg_opf: TCheckBox 103 Left = 8 104 Top = 164 105 Width = 180 106 Height = 17 107 Caption = 'Register .opf files with OUP' 111 108 TabOrder = 7 112 109 end -
oup/current/Settings.pas
r46 r53 12 12 btn_ok: TButton; 13 13 btn_cancel: TButton; 14 btn_register_oldb: TButton;15 btn_register_opf: TButton;16 btn_register_dat: TButton;17 14 label_charset: TLabel; 18 15 combo_charset: TComboBox; 19 16 check_hideunused: TCheckBox; 20 procedure btn_register_opfClick(Sender: TObject);21 procedure btn_register_oldbClick(Sender: TObject);22 procedure btn_register_datClick(Sender: TObject);17 check_reg_dat: TCheckBox; 18 check_reg_oldb: TCheckBox; 19 check_reg_opf: TCheckBox; 23 20 procedure btn_cancelClick(Sender: TObject); 24 21 procedure btn_okClick(Sender: TObject); 25 22 procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); 26 23 procedure FormShow(Sender: TObject); 27 function RegisterExtension(ext: String ): Integer;24 function RegisterExtension(ext: String; reg: Boolean): Integer; 28 25 private 29 26 public … … 65 62 66 63 67 function TForm_Settings.RegisterExtension(ext: String ): Integer;64 function TForm_Settings.RegisterExtension(ext: String; reg: Boolean): Integer; 68 65 var 69 66 ftr: TFileTypeRegistration; … … 72 69 begin 73 70 Result := -1; 74 if ExtensionRegistered(ext, temps) then 75 begin 76 if temps <> 'ONI' + ext then 77 begin 78 warnmsg := ext + '-files are not registered to OUP but as "' + 79 temps + '"-files.' + #13 + #10 + 'Do you really want to unregister' + 80 ext + '-files?'; 81 if MessageBox(Self.Handle, PChar(warnmsg), PChar('Warning'), MB_YESNO) = ID_NO then 82 Exit; 71 ftr := TFileTypeRegistration.Create; 72 if reg then 73 begin 74 if ExtensionRegistered(ext, temps) then 75 if not ftr.UnregisterExtension(ext) then 76 ShowMessage('Could not unregister ' + ext + '-files'); 77 if ftr.RegisterType(ext, 'ONI' + ext, 'ONI ' + ext + '-file', Application.EXEname + ',1') then 78 begin 79 ftr.AddHandler('open', '"' + Application.EXEname + '" ' + MidStr( 80 ext, 2, Length(ext) - 1) + ' "%1"'); 81 ftr.SetDefaultHandler; 83 82 end; 84 ftr := TFileTypeRegistration.Create; 85 if ftr <> nil then 86 try 87 if not ftr.UnregisterExtension(ext) then 88 ShowMessage('Could not unregister ' + ext + '-files') 89 else 90 Result := 2; 91 finally 92 ftr.Free; 93 end; 94 end 95 else 96 begin 97 ftr := TFileTypeRegistration.Create; 98 if ftr <> nil then 99 begin 100 try 101 if ftr.RegisterType(ext, 'ONI' + ext, 'ONI ' + ext + '-file', 102 Application.EXEname + ',1') then 103 begin 104 ftr.AddHandler('open', '"' + Application.EXEname + '" ' + MidStr( 105 ext, 2, Length(ext) - 1) + ' "%1"'); 106 ftr.SetDefaultHandler; 107 Result := 1; 108 end; 109 finally 110 ftr.Free; 111 end; 112 end; 83 end else begin 84 if ExtensionRegistered(ext, temps) then 85 if not ftr.UnregisterExtension(ext) then 86 ShowMessage('Could not unregister ' + ext + '-files'); 113 87 end; 88 ftr.Free; 114 89 end; 115 90 … … 126 101 127 102 procedure TForm_Settings.btn_okClick(Sender: TObject); 103 var 104 temps: String; 128 105 begin 129 106 AppSettings.FilenumbersAsHex := check_filesashex.Checked; … … 135 112 AppSettings.HideUnusedData := check_hideunused.Checked; 136 113 114 if check_reg_dat.Checked then 115 begin 116 if ExtensionRegistered('.dat', temps) then 117 begin 118 if temps <> 'ONI.dat' then 119 if MessageBox(Self.Handle, PChar('.dat-files already registered to "' + 120 temps+'". Reregister?'), PChar('Reregister?'), 121 MB_YESNO + MB_ICONQUESTION) = ID_YES then 122 RegisterExtension('.dat', True); 123 end else 124 RegisterExtension('.dat', True); 125 end else 126 RegisterExtension('.dat', False); 127 128 if check_reg_oldb.Checked then 129 begin 130 if ExtensionRegistered('.oldb', temps) then 131 begin 132 if temps <> 'ONI.oldb' then 133 if MessageBox(Self.Handle, PChar('.oldb-files already registered to "' + 134 temps+'". Reregister?'), PChar('Reregister?'), 135 MB_YESNO + MB_ICONQUESTION) = ID_YES then 136 RegisterExtension('.oldb', True); 137 end else 138 RegisterExtension('.oldb', True); 139 end else 140 RegisterExtension('.oldb', False); 141 142 if check_reg_opf.Checked then 143 begin 144 if ExtensionRegistered('.opf', temps) then 145 begin 146 if temps <> 'ONI.opf' then 147 if MessageBox(Self.Handle, PChar('.opf-files already registered to "' + 148 temps+'". Reregister?'), PChar('Reregister?'), 149 MB_YESNO + MB_ICONQUESTION) = ID_YES then 150 RegisterExtension('.opf', True); 151 end else 152 RegisterExtension('.opf', True); 153 end else 154 RegisterExtension('.opf', False); 155 137 156 Self.Close; 138 end;139 140 141 142 143 procedure TForm_Settings.btn_register_datClick(Sender: TObject);144 begin145 case RegisterExtension('.dat') of146 2:147 btn_register_dat.Caption := 'Register .dat files with OUP';148 1:149 btn_register_dat.Caption := 'Unregister .dat files';150 end;151 end;152 153 154 155 156 procedure TForm_Settings.btn_register_oldbClick(Sender: TObject);157 begin158 case RegisterExtension('.oldb') of159 2:160 btn_register_oldb.Caption := 'Register .oldb files with OUP';161 1:162 btn_register_oldb.Caption := 'Unregister .oldb files';163 end;164 end;165 166 167 168 169 procedure TForm_Settings.btn_register_opfClick(Sender: TObject);170 begin171 case RegisterExtension('.opf') of172 2:173 btn_register_opf.Caption := 'Register .opf files with OUP';174 1:175 btn_register_opf.Caption := 'Unregister .opf files';176 end;177 157 end; 178 158 … … 197 177 begin 198 178 if ExtensionRegistered('.dat', temps) then 199 btn_register_dat.Caption := 'Unregister .dat files'179 check_reg_dat.Checked := temps = 'ONI.dat' 200 180 else 201 btn_register_dat.Caption := 'Register .dat files with OUP'; 181 check_reg_dat.Checked := False; 182 202 183 if ExtensionRegistered('.oldb', temps) then 203 btn_register_oldb.Caption := 'Unregister .oldb files'184 check_reg_oldb.Checked := temps = 'ONI.oldb' 204 185 else 205 btn_register_oldb.Caption := 'Register .oldb files with OUP'; 186 check_reg_oldb.Checked := False; 187 206 188 if ExtensionRegistered('.opf', temps) then 207 btn_register_opf.Caption := 'Unregister .opf files'189 check_reg_opf.Checked := temps = 'ONI.opf' 208 190 else 209 btn_register_opf.Caption := 'Register .opf files with OUP'; 191 check_reg_opf.Checked := False; 192 210 193 check_filesashex.Checked := AppSettings.FilenumbersAsHex; 211 194 check_hideunused.Checked := AppSettings.HideUnusedData; -
oup/current/Tools/Template.pas
r51 r53 84 84 i: LongWord; 85 85 exts: TStringArray; 86 f, c1,c2: Int64; 87 time1,time2,time3: Double; 88 begin 89 QueryPerformanceFrequency(f); 90 QueryPerformanceCounter(c1); 86 begin 91 87 combo_extension.Items.Clear; 92 88 combo_extension.Items.Add('_All files_ (' + … … 102 98 end else 103 99 combo_extension.Items.Add(exts[i]); 104 QueryPerformanceCounter(c2);105 time1 := (c2 - c1) / f;106 100 combo_extension.ItemIndex := 0; 107 101 combo_extensionClick(Self); 108 QueryPerformanceCounter(c1);109 time2 := (c1 - c2) / f;110 ShowMessage(FloatToStr(time1) +#13+#10+ FloatToStr(time2));111 102 end; 112 103
Note:
See TracChangeset
for help on using the changeset viewer.