📄 cgagrafx.c
字号:
/* Digger Remastered
Copyright (c) Andrew Jenner 1998-2004 */
#include "def.h"
#if defined (_WINDOWS) && !defined (WIN32)
#define HUint3 Uint3 __huge
#ifndef near
#define near
#endif
#else
#define HUint3 Uint3
#endif
HUint3 cgazero60[]={
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00};
HUint3 cgaemerald[]={
0x00,0x00,0x00,0x00,
0x00,0x05,0x55,0x40,
0x00,0x17,0x55,0x50,
0x00,0x5d,0x55,0x54,
0x00,0x17,0x55,0x10,
0x00,0x05,0x54,0x40,
0x00,0x01,0x51,0x00,
0x00,0x00,0x54,0x00,
0x00,0x00,0x10,0x00,
0x00,0x00,0x00,0x00};
HUint3 cgaemeraldmask[]={
0xff,0xc0,0x00,0x0f,
0xff,0x00,0x00,0x03,
0xfc,0x00,0x00,0x00,
0xf0,0x00,0x00,0x00,
0xfc,0x00,0x00,0x00,
0xff,0x00,0x00,0x03,
0xff,0xc0,0x00,0x0f,
0xff,0xf0,0x00,0x3f,
0xff,0xfc,0x00,0xff,
0xff,0xff,0x03,0xff};
HUint3 cgasbag[]={
0x00,0x00,0x00,0x00,
0x00,0x0f,0xf0,0x00,
0x00,0x03,0xc0,0x00,
0x00,0x0f,0xf0,0x00,
0x00,0xff,0xff,0x00,
0x03,0xfc,0x3f,0xc0,
0x0f,0x00,0x00,0xf0,
0x3c,0x3c,0x3f,0xfc,
0x3c,0x00,0x00,0x3c,
0x3f,0xfc,0x3c,0x3c,
0x3c,0x3c,0x3c,0x3c,
0x3f,0x00,0x00,0xfc,
0x0f,0xfc,0x3f,0xf0,
0x00,0xff,0xff,0x00,
0x00,0x00,0x00,0x00};
HUint3 cgasbagmask[]={
0xff,0xc0,0x03,0xff,
0xff,0xc0,0x03,0xff,
0xff,0xf0,0x0f,0xff,
0xff,0x00,0x00,0xff,
0xfc,0x00,0x00,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0xc0,0x00,0x00,0x03,
0xf0,0x00,0x00,0x0f,
0xff,0x00,0x00,0xff};
HUint3 cgarbag[]={
0x00,0x00,0x00,0x00,
0x00,0x3f,0xc0,0x00,
0x00,0x0f,0x00,0x00,
0x00,0x3f,0xc0,0x00,
0x00,0xff,0xfc,0x00,
0x03,0xf0,0xff,0x00,
0x0c,0x00,0x03,0xc0,
0x30,0xf0,0xff,0xf0,
0x30,0x00,0x00,0xf0,
0x3f,0xf0,0xf0,0xf0,
0x30,0xf0,0xf0,0xf0,
0x3c,0x00,0x03,0xc0,
0x0f,0xf0,0xff,0x00,
0x00,0xff,0xf0,0x00,
0x00,0x00,0x00,0x00};
HUint3 cgarbagmask[]={
0xff,0xc0,0x3f,0xff,
0xff,0x00,0x0f,0xff,
0xff,0xc0,0x3f,0xff,
0xff,0x00,0x03,0xff,
0xfc,0x00,0x00,0xff,
0xf0,0x00,0x00,0x3f,
0xc0,0x00,0x00,0x0f,
0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x3f,
0xf0,0x00,0x00,0xff,
0xff,0x00,0x0f,0xff};
HUint3 cgalbag[]={
0x00,0x00,0x00,0x00,
0x00,0x03,0xfc,0x00,
0x00,0x00,0xf0,0x00,
0x00,0x0f,0xfc,0x00,
0x00,0x3f,0xff,0x00,
0x00,0xff,0x0f,0xc0,
0x03,0xc0,0x00,0x30,
0x0f,0x0f,0x0f,0xfc,
0x0f,0x00,0x00,0x0c,
0x0f,0xff,0x0f,0x0c,
0x0f,0x0f,0x0f,0x0c,
0x03,0xc0,0x00,0x30,
0x00,0xff,0x0f,0xc0,
0x00,0x0f,0xfc,0x00,
0x00,0x00,0x00,0x00};
HUint3 cgalbagmask[]={
0xff,0xfc,0x03,0xff,
0xff,0xf0,0x00,0xff,
0xff,0xf0,0x03,0xff,
0xff,0xc0,0x00,0xff,
0xff,0x00,0x00,0x3f,
0xfc,0x00,0x00,0x0f,
0xf0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x00,
0xc0,0x00,0x00,0x00,
0xc0,0x00,0x00,0x00,
0xc0,0x00,0x00,0x00,
0xf0,0x00,0x00,0x03,
0xfc,0x00,0x00,0x0f,
0xff,0x00,0x00,0x3f,
0xff,0xf0,0x03,0xff};
HUint3 cgafbag[]={
0x00,0x0c,0x30,0x00,
0x00,0x03,0xc0,0x00,
0x00,0x03,0xc0,0x00,
0x00,0x0f,0xf0,0x00,
0x00,0x3f,0xfc,0x00,
0x00,0xfc,0x3f,0x00,
0x03,0x00,0x00,0xc0,
0x0c,0x3c,0x3f,0xf0,
0x0c,0x00,0x00,0x30,
0x0f,0xfc,0x3c,0x30,
0x0c,0x3c,0x3c,0x30,
0x03,0x00,0x00,0xc0,
0x00,0xfc,0x3f,0x00,
0x00,0x3f,0xfc,0x00,
0x00,0x03,0xc0,0x00};
HUint3 cgafbagmask[]={
0xff,0xc0,0x03,0xff,
0xff,0xf0,0x0f,0xff,
0xff,0xf0,0x0f,0xff,
0xff,0xc0,0x03,0xff,
0xff,0x00,0x00,0xff,
0xfc,0x00,0x00,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xf0,0x00,0x00,0x0f,
0xfc,0x00,0x00,0x3f,
0xff,0x00,0x00,0xff,
0xff,0xc0,0x03,0xff};
HUint3 cgagold1[]={
0x00,0x00,0x00,0x00,
0x00,0x03,0xc0,0x00,
0x00,0x0f,0xf0,0x00,
0x00,0xf3,0xf0,0x00,
0x03,0xfc,0xcc,0x00,
0x0f,0xff,0x3f,0x00,
0x0f,0xff,0x3f,0xc0,
0x03,0xfc,0xff,0xc0,
0x00,0xf0,0xff,0x00,
0x03,0x0f,0x00,0x00,
0x0f,0xf3,0x3c,0x00,
0x3f,0xfc,0xff,0x00,
0x3f,0xfc,0xff,0xc0,
0x0f,0xf3,0xff,0xc0,
0x03,0xcc,0xff,0x00};
HUint3 cgagold1mask[]={
0xff,0xfc,0x3f,0xff,
0xff,0xf0,0x0f,0xff,
0xff,0x00,0x03,0xff,
0xfc,0x00,0x03,0xff,
0xf0,0x00,0x00,0xff,
0xc0,0x00,0x00,0x3f,
0xc0,0x00,0x00,0x0f,
0xf0,0x00,0x00,0x0f,
0xfc,0x00,0x00,0x3f,
0xf0,0x00,0x00,0xff,
0xc0,0x00,0x00,0xff,
0xc0,0x00,0x00,0x3f,
0x00,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x0f,
0xf0,0x00,0x00,0x3f};
HUint3 cgagold2[]={
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x0f,0x00,
0x00,0xf0,0x3f,0xc0,
0x03,0xfc,0xff,0xf0,
0x0f,0xff,0x3f,0xf0,
0x0f,0xff,0x0f,0xc0,
0x03,0xfc,0xf3,0x00,
0x00,0xf3,0xfc,0x00,
0x0f,0x0f,0xf3,0x00,
0x3f,0xc3,0xcf,0xc0,
0x3f,0xf0,0x3f,0xf0,
0x0f,0xf3,0x3f,0xf0,
0x03,0xcf,0xcf,0xc0};
HUint3 cgagold2mask[]={
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,
0xff,0xff,0xf0,0xff,
0xff,0x0f,0xc0,0x3f,
0xfc,0x03,0x00,0x0f,
0xf0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x0f,
0xf0,0x00,0x00,0x3f,
0xf0,0x00,0x00,0xff,
0xc0,0x00,0x00,0x3f,
0xc0,0x00,0x00,0x0f,
0x00,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xf0,0x00,0x00,0x0f};
HUint3 cgagold3[]={
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x03,0xc0,0x03,0xc0,
0x0f,0xf3,0xcf,0xf0,
0x3f,0xfc,0xf3,0xfc,
0x3f,0xfc,0xfc,0xfc,
0x0f,0xf0,0xfc,0x00,
0x03,0xc3,0xf3,0xf0,
0x3c,0x30,0x0f,0xfc,
0x3f,0xf3,0xcf,0xfc,
0x0f,0xcf,0xf3,0xf0};
HUint3 cgagold3mask[]={
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,
0xfc,0x3f,0xfc,0x3f,
0xf0,0x0c,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0xc0,0x00,0x00,0x03};
HUint3 cganobbin3[]={
0x00,0x00,0x00,0x00,
0x03,0xf0,0x0f,0xc0,
0x0f,0xfd,0x7f,0xf0,
0x0c,0x3d,0x70,0xf0,
0x0c,0x3d,0x70,0xf0,
0x03,0xf5,0x5f,0xc0,
0x00,0x55,0x55,0x00,
0x00,0x15,0x54,0x00,
0x02,0x84,0x12,0x80,
0x0a,0x05,0x50,0xa0,
0x0a,0x01,0x40,0xa0,
0x0a,0x00,0x02,0xa8,
0x0a,0x00,0x0a,0xaa,
0x2a,0x80,0x00,0x00,
0xaa,0xa0,0x00,0x00};
HUint3 cganobbin3mask[]={
0xfc,0x0f,0xf0,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xf0,0x00,0x00,0x0f,
0xfc,0x00,0x00,0x3f,
0xfc,0x00,0x00,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0xc0,0x30,0x0c,0x03,
0xc0,0x3c,0x30,0x00,
0xc0,0x3f,0xc0,0x00,
0x00,0x0f,0xf0,0x00,
0x00,0x03,0xff,0xff};
HUint3 cganobbin2[]={
0x00,0x00,0x00,0x00,
0x03,0xf0,0x0f,0xc0,
0x0f,0xfd,0x7f,0xf0,
0x0f,0x0d,0x7c,0x30,
0x0f,0x0d,0x7c,0x30,
0x03,0xf5,0x5f,0xc0,
0x00,0x55,0x55,0x00,
0x00,0x14,0x14,0x00,
0x02,0x84,0x12,0x80,
0x0a,0x05,0x50,0xa0,
0x0a,0x01,0x40,0xa0,
0x0a,0x00,0x00,0xa0,
0x2a,0x80,0x02,0xa8,
0xaa,0xa0,0x0a,0xaa,
0x00,0x00,0x00,0x00};
HUint3 cganobbin2mask[]={
0xfc,0x0f,0xf0,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xf0,0x00,0x00,0x0f,
0xfc,0x00,0x00,0x3f,
0xfc,0x00,0x00,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0xc0,0x30,0x0c,0x03,
0xc0,0x3c,0x3c,0x03,
0x00,0x3f,0xf0,0x00,
0x00,0x0f,0xc0,0x00,
0x00,0x0f,0xf0,0x00};
HUint3 cganobbin1[]={
0x00,0x00,0x00,0x00,
0x03,0xf0,0x0f,0xc0,
0x0f,0x0d,0x7c,0x30,
0x0f,0x0d,0x7c,0x30,
0x0f,0xfd,0x7f,0xf0,
0x03,0xf5,0x5f,0xc0,
0x00,0x54,0x15,0x00,
0x00,0x14,0x14,0x00,
0x02,0x84,0x12,0x80,
0x0a,0x04,0x10,0xa0,
0x0a,0x01,0x40,0xa0,
0x2a,0x80,0x00,0xa0,
0xaa,0xa0,0x00,0xa0,
0x00,0x00,0x02,0xa8,
0x00,0x00,0x0a,0xaa};
HUint3 cganobbin1mask[]={
0xfc,0x0f,0xf0,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xf0,0x00,0x00,0x0f,
0xfc,0x00,0x00,0x3f,
0xfc,0x00,0x00,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0xc0,0x30,0x0c,0x03,
0x00,0x0c,0x3c,0x03,
0x00,0x03,0xfc,0x03,
0x00,0x0f,0xf0,0x00,
0xff,0xff,0xc0,0x00};
HUint3 cganobbind[]={
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x03,0xf0,0x0f,0xc0,
0x0c,0x3d,0x7c,0x30,
0x0c,0x3d,0x7c,0x30,
0x0f,0xfd,0x7f,0xf0,
0x03,0xf5,0x5f,0xc0,
0x00,0x54,0x15,0x00,
0x00,0x14,0x14,0x00,
0x02,0x84,0x12,0x80,
0x0a,0x04,0x10,0xa0,
0x2a,0x81,0x42,0xa8,
0xaa,0xa0,0x0a,0xaa,
0x00,0x00,0x00,0x00};
HUint3 cganobbindmask[]={
0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,
0xfc,0x0f,0xf0,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xc0,0x00,0x00,0x03,
0xf0,0x00,0x00,0x0f,
0xfc,0x00,0x00,0x3f,
0xfc,0x00,0x00,0x3f,
0xf0,0x00,0x00,0x0f,
0xc0,0x00,0x00,0x03,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x0f,0xf0,0x00};
HUint3 cgarhobbin1[]={
0x00,0x4f,0xc4,0x00,
0x01,0x3f,0xf1,0x00,
0x05,0x30,0xf1,0x00,
0x15,0x30,0xf1,0x40,
0x15,0x4f,0xc5,0x50,
0x15,0x50,0x15,0x54,
0x05,0x55,0x6a,0xa0,
0x01,0x55,0x80,0x00,
0x00,0x55,0x6a,0xa0,
0x00,0x15,0x55,0x40,
0x00,0x02,0x80,0x00,
0x00,0x02,0x80,0x00,
0x00,0x02,0x80,0x00,
0x00,0x0a,0xa0,0x00,
0x00,0x2a,0xa8,0x00};
HUint3 cgarhobbin1mask[]={
0xfc,0x00,0x00,0xff,
0xf0,0x00,0x00,0x3f,
0xc0,0x00,0x00,0x3f,
0x00,0x00,0x00,0x0f,
0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x00,
0xc0,0x00,0x00,0x03,
0xf0,0x00,0x00,0x0f,
0xfc,0x00,0x00,0x03,
0xff,0x00,0x00,0x0f,
0xff,0xc0,0x00,0x3f,
0xff,0xf0,0x0f,0xff,
0xff,0xf0,0x0f,0xff,
0xff,0xc0,0x03,0xff,
0xff,0x00,0x00,0xff};
HUint3 cgarhobbin2[]={
0x00,0x4f,0xc4,0x00,
0x01,0x3f,0xf1,0x00,
0x05,0x3c,0x31,0x40,
0x15,0x3c,0x31,0x50,
0x15,0x4f,0xc5,0x54,
0x15,0x50,0x15,0xa8,
0x05,0x55,0x6a,0x00,
0x01,0x55,0x80,0x00,
0x00,0x55,0x68,0x00,
0x00,0x15,0x56,0xa0,
0x00,0x02,0x81,0x50,
0x00,0x02,0x80,0x00,
0x00,0x0a,0xa0,0x00,
0x00,0x2a,0xa8,0x00,
0x00,0x00,0x00,0x00};
HUint3 cgarhobbin2mask[]={
0xfc,0x00,0x00,0xff,
0xf0,0x00,0x00,0x3f,
0xc0,0x00,0x00,0x3f,
0x00,0x00,0x00,0x0f,
0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x03,
0xc0,0x00,0x00,0x0f,
0xf0,0x00,0x00,0xff,
0xfc,0x00,0x00,0x0f,
0xff,0x00,0x00,0x03,
0xff,0xc0,0x00,0x0f,
0xff,0xf0,0x0c,0x3f,
0xff,0xc0,0x03,0xff,
0xff,0x00,0x00,0xff,
0xff,0xc0,0x03,0xff};
HUint3 cgarhobbin3[]={
0x00,0x4f,0xc4,0x00,
0x01,0x3c,0x31,0x00,
0x05,0x3c,0x31,0x40,
0x15,0x3f,0xf1,0x50,
0x15,0x4f,0xc5,0x68,
0x15,0x50,0x16,0x80,
0x05,0x55,0x68,0x00,
0x01,0x55,0x80,0x00,
0x00,0x55,0x68,0x00,
0x00,0x15,0x56,0x80,
0x00,0x02,0x81,0x60,
0x00,0x0a,0xa0,0x00,
0x00,0x2a,0xa8,0x00,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00};
HUint3 cgarhobbin3mask[]={
0xfc,0x00,0x00,0xff,
0xf0,0x00,0x00,0x3f,
0xc0,0x00,0x00,0x0f,
0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x03,
0xc0,0x00,0x00,0x3f,
0xf0,0x00,0x03,0xff,
0xfc,0x00,0x00,0x3f,
0xff,0x00,0x00,0x03,
0xff,0xc0,0x00,0x03,
0xff,0xc0,0x00,0x0f,
0xff,0x00,0x00,0xff,
0xff,0xc0,0x03,0xff,
0xff,0xff,0xff,0xff};
HUint3 cgarhobbind[]={
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,
0x00,0x4f,0xc4,0x00,
0x01,0x3c,0x31,0x00,
0x05,0x3c,0x31,0x40,
0x15,0x3f,0xf1,0x50,
0x15,0x4f,0xc5,0x68,
0x15,0x50,0x16,0x80,
0x05,0x55,0x68,0x00,
0x01,0x55,0xa8,0x00,
0x00,0x55,0x5a,0x80,
0x00,0x15,0x55,0xa8,
0x00,0x0a,0xa0,0x00,
0x00,0x2a,0xa8,0x00,
0x00,0x00,0x00,0x00};
HUint3 cgarhobbindmask[]={
0xff,0xff,0xff,0xff,
0xff,0x00,0x03,0xff,
0xfc,0x00,0x00,0xff,
0xf0,0x00,0x00,0x3f,
0xc0,0x00,0x00,0x0f,
0x00,0x00,0x00,0x03,
0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x03,
0xc0,0x00,0x00,0x3f,
0xf0,0x00,0x03,0xff,
0xfc,0x00,0x00,0x3f,
0xff,0x00,0x00,0x03,
0xff,0xc0,0x00,0x03,
0xff,0x00,0x00,0xff,
0xff,0xc0,0x03,0xff};
HUint3 cgalhobbin1[]={
0x00,0x13,0xf1,0x00,
0x00,0x4f,0xfc,0x40,
0x00,0x4f,0x0c,0x50,
0x01,0x4f,0x0c,0x54,
0x05,0x53,0xf1,0x54,
0x15,0x54,0x05,0x54,
0x0a,0xa9,0x55,0x50,
0x00,0x02,0x55,0x40,
0x0a,0xa9,0x55,0x00,
0x01,0x55,0x54,0x00,
0x00,0x02,0x80,0x00,
0x00,0x02,0x80,0x00,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -