Hi ive been using a map editior and when i export my map into a text file i get this
const short fulltest_map0[10][10] = {
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 },
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 },
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 },
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 },
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 },
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 },
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 },
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 },
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 },
{ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37 }
};
const unsigned short fulltest_cmap[256] = {
0x0842, 0x1084, 0x0180, 0x1CE7, 0x25F5, 0x3A9A, 0x18C6, 0x294A,
0x0100, 0x2108, 0x4631, 0x1993, 0x4E73, 0x2D6B, 0x0140, 0x3DEF,
0x0200, 0x0283, 0x092F, 0x2529, 0x7F2C, 0x39CE, 0x56B5, 0x7E60,
0x0000, 0x3279, 0x01E0, 0x001A, 0x318C, 0x6318, 0x198C, 0x35AD,
0x6586, 0x4CC0, 0x5294, 0x5AD6, 0x3EBC, 0x00EC, 0x003C, 0x4A52,
0x7FFF, 0x00A9, 0x7D80, 0x00C0, 0x4210, 0x535F, 0x0262, 0x00CC,
0x005E, 0x739C, 0x3880, 0x0186, 0x6084, 0x00C6, 0x4DC4, 0x000C,
0x02A0, 0x03E6, 0x21EF, 0x7FEC, 0x6646, 0x6080, 0x0908, 0x0007,
0x0929, 0x5EF7, 0x4E07, 0x6739, 0x010C, 0x3924, 0x1A99, 0x00CB,
0x21F5, 0x2A92, 0x0014, 0x0193, 0x0305, 0x6F7B, 0x0080, 0x057A,
0x067E, 0x0017, 0x0049, 0x0023, 0x01C0, 0x18CC, 0x084F, 0x00AA,
0x77BD, 0x6120, 0x3903, 0x4D86, 0x0013, 0x62C9, 0x0849, 0x25EF,
0x3884, 0x4D24, 0x0266, 0x0220, 0x0019, 0x4140, 0x68C5, 0x4FDF,
0x0132, 0x0040, 0x0221, 0x0707, 0x7D86, 0x05D3, 0x6B5A, 0x210F,
0x4CA5, 0x005B, 0x3B5F, 0x3193, 0x012F, 0x3A94, 0x333F, 0x00CA,
0x327F, 0x0002, 0x3EB5, 0x3DF5, 0x090F, 0x673F, 0x3B5A, 0x0000,
0x0000, 0x2405, 0x2800, 0x11C6, 0x0000, 0x4CD8, 0x2000, 0x5400,
0x57A5, 0x0000, 0x4C98, 0x74A2, 0x2800, 0x0000, 0x0000, 0x7966,
0x0000, 0x78E2, 0x0000, 0x4000, 0x0000, 0x58A2, 0x026E, 0x48A2,
0x2000, 0x0000, 0x0000, 0x0000, 0x28A2, 0x5A2E, 0x468E, 0x4207,
0x20A2, 0x0400, 0x19E6, 0x0000, 0x08A2, 0x0000, 0x0000, 0x0000,
0x2008, 0x03FF, 0x162E, 0x1000, 0x2000, 0x2000, 0x0000, 0x0000,
0x03FF, 0x7CA2, 0x2001, 0x58A2, 0x0000, 0x23FF, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x2000, 0x0000, 0x0000, 0x4207, 0x5CA2,
0x0000, 0x70E2, 0x1A6D, 0x122E, 0x7F30, 0x3C00, 0x44A2, 0x48A2,
0x0400, 0x0400, 0x38C2, 0x3471, 0x0400, 0x0200, 0x0000, 0x226E,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x38C2,
0x5B86, 0x3C00, 0x0000, 0x0000, 0x0000, 0x38E5, 0x3C00, 0x0000,
0x0000, 0x6CE5, 0x38C2, 0x0000, 0x0000, 0x49BE, 0x38C2, 0x38C2,
0x3471, 0x0000, 0x0400, 0x6B22, 0x52C3, 0x018C, 0x2B19, 0x4140,
0x029F, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
I just wanted to know what is this and how do i get it to load into my game, im sorry but im totally new to any kind of programming and any help or sample codes to study would be a great help.