Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

4.0 KB
Raw Blame
/* Moto X3M: what's in data.bin (made by tools/pack.py) */
#ifndef MX_DATA_H
#define MX_DATA_H
#define N_PICS 283
#define N_FONTS 4
#define N_LEVELS 50
#define PIC_UI_0LOGO 265
#define PIC_UI_0POPUP_BG 268
#define PIC_UI_ARROW_BTN 270
#define PIC_UI_ARROWS 279
#define PIC_UI_EXIT_BTN 262
#define PIC_UI_IMPROVED_BG 264
#define PIC_UI_LOGO 281
#define PIC_UI_MAP 273
#define PIC_UI_MAPBG 282
#define PIC_UI_NEXT_BTN 261
#define PIC_UI_ORANGE_BTN 258
#define PIC_UI_ORANGE_BTN_BIG 259
#define PIC_UI_ORANGE_BTN_BIG_GREEN 260
#define PIC_UI_PAUSE_BG 267
#define PIC_UI_PLAY_BTN 271
#define PIC_UI_RESTART_BTN 263
#define PIC_UI_SELECT_LEVEL 269
#define PIC_UI_SHOP_BTN 272
#define PIC_UI_STAR0 255
#define PIC_UI_STAR1 256
#define PIC_UI_TIMER_BG 254
#define PIC_UI_TOP_BG 266
#define PIC_UI_W_STAR 257
#define PIC_ROCKET 237
#define PIC_CAREXPLODE 0
#define PIC_SMOKE_PART_ANIM 27
#define PIC_GROUND_PART_ANIM 42
#define PIC_GLASSCRASHED0_0 68
#define PIC_GEYSERBASE 102
#define PIC_GEYSER_ANIM 131
#define PIC_PARTICLE_BOOST 137
static const uint16_t PIC_BG[3][3] = {{167, 168, 169}, {170, 65535, 65535}, {171, 65535, 172}};
/* per bike: frame, frame exploded, wheel, head, corpse, arm, forearm, hip, shin, suspend back, front */
static const uint16_t PIC_BIKE[6][11] = {{173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183}, {184, 185, 175, 186, 187, 188, 189, 190, 191, 192, 193}, {194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204}, {205, 206, 196, 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}};
enum { FONT_SMALL, FONT_MID, FONT_BIG, FONT_HUGE };
static const int16_t MAP_PTS[50][2] = {{71, 378}, {162, 339}, {82, 266}, {162, 206}, {115, 94}, {200, 77}, {246, 206}, {263, 370}, {359, 378}, {350, 270}, {413, 198}, {332, 97}, {410, 65}, {480, 260}, {432, 380}, {516, 371}, {554, 191}, {488, 97}, {562, 88}, {613, 266}, {589, 357}, {677, 377}, {675, 197}, {647, 111}, {706, 76}, {744, 206}, {744, 356}, {831, 249}, {797, 111}, {862, 76}, {877, 186}, {895, 266}, {840, 370}, {939, 370}, {978, 213}, {953, 94}, {1053, 88}, {1033, 276}, {1033, 377}, {1117, 257}, {1130, 121}, {1199, 77}, {1189, 213}, {1153, 377}, {1252, 371}, {1283, 265}, {1283, 65}, {1351, 107}, {1368, 260}, {1334, 359}};
/* bikes as the menus show them (bike11: the pause screen's, then bike1-6): picture, x, y, angle */
typedef struct { uint16_t pic; int16_t x, y, deg; } BikePart;
static const BikePart BIKE_LAYOUT[7][11] = {{{175, -76, 11, 16}, {175, 76, 54, 16}, {182, -17, 17, -174}, {173, 1, -2, 16}, {177, -2, -94, 101}, {180, -36, -96, 145}, {181, -69, -97, 118}, {178, 16, -81, 60}, {179, 38, -63, 26}, {176, 40, -113, 47}, {183, 81, 54, 79}}, {{175, -70, 34, 0}, {175, 88, 34, 0}, {182, -12, 24, 170}, {173, 0, 0, 0}, {183, 92, 32, 63}, {177, -17, -68, 16}, {176, -4, -119, 15}, {179, 18, -67, 11}, {178, -8, -79, 45}, {181, -4, -5, 3}, {180, -15, -37, 30}}, {{175, -62, 40, 0}, {175, 100, 40, 0}, {192, -12, 24, 170}, {193, 92, 32, 63}, {184, 0, 0, 0}, {187, -17, -68, 16}, {186, -4, -119, 15}, {189, 18, -67, 11}, {188, -8, -79, 45}, {191, -4, -5, 3}, {190, -15, -37, 30}}, {{196, -68, 34, 0}, {196, 92, 32, 0}, {194, 0, 0, 0}, {204, 92, 32, 63}, {203, -12, 24, 170}, {198, -17, -68, 16}, {197, -4, -119, 15}, {200, 18, -67, 11}, {199, -8, -79, 45}, {202, -4, -5, 3}, {201, -15, -37, 30}}, {{175, -68, 34, 0}, {175, 94, 34, 0}, {205, 0, 0, 0}, {214, 92, 32, 63}, {213, -12, 24, 170}, {208, -17, -68, 16}, {207, -4, -119, 15}, {210, 18, -67, 11}, {209, -8, -79, 45}, {212, -4, -5, 3}, {211, -15, -37, 30}}, {{217, -68, 34, 0}, {217, 94, 34, 0}, {215, 0, 0, 0}, {225, 92, 32, 63}, {224, -12, 24, 170}, {219, -17, -68, 16}, {218, -4, -119, 15}, {221, 18, -67, 11}, {220, -8, -79, 45}, {223, -4, -5, 3}, {222, -15, -37, 30}}, {{228, -68, 34, 0}, {228, 94, 34, 0}, {236, 92, 32, 63}, {235, -12, 24, 170}, {226, 0, 0, 0}, {233, -15, -37, 30}, {230, -17, -68, 16}, {229, -4, -119, 15}, {232, 18, -67, 11}, {231, -8, -79, 45}, {234, -4, -5, 3}}};
#define PIC_FIRE 243
#endif