⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 othelo.c

📁 编译后直接运行的MP3播放器全部C语言源代码 一个包含FAT文件系统、系统引导 Boot、FLASH Driver等内容的
💻 C
字号:
/*   Designed, Written, AI Bots, the lot ...BlueChip =8狣#   Thanks espcially to      DevZer0, LinusN, Zagor, scott666         for their help with understanding Rockbox & the SDK   Please note that the code formatting is not that which was   produced originally, but has been updated by whoever   ported it to the plugin system.   I am sure it was done with good reason, so I have not   redone it!*//* *  Version   Date      Who   Comment *  --------  --------  ----  ------------------------------------------------ *  1.4       20030729  BC    Ensure game terminates even if dreamer disabled *  1.3       20030729  BC    Fixed display bug introduced by port to plugin *                            Updated documentation *  1.2       2003            Ported to new plugin system *  1.1       20030625  BC    Flash board when invalid move to used aquare *                            Fixed "pause computer" for real harware! *                            Added USB_CONNECTED support *                            Ensure correct fonts on the way in and out *  1.0       20030622  BC    Release * * *  Todo: *  # More AI :) *  # Reintroduce suspend feature under plugin system *//* Plugin header */#include "plugin.h"#ifdef HAVE_LCD_BITMAPstatic struct plugin_api* rb;/***************************************************************************//***************************************************************************//*                        OTHFONT.H                                        *//***************************************************************************//***************************************************************************//* Don't reorder this array - you have been warned! */enum othfontc {    of_plx,    of_plo,    of_poss,    of_choice,    of_sp,    of_h,    of_c,    of_0,    of_1,    of_2,    of_3,    of_4,    of_5,    of_6,    of_7,    of_8,    of_9,    of_colon,    of_dash,    of_ptr,    of_p,    of_l,    of_a,    of_y,    of_q,    of_u,    of_i,    of_t,    of_eos};static unsigned char othfont[of_eos][6] = {    /*  +------+     *  |  ##  |     *  | #### |     *  |######|     *  |######|     *  | #### |     *  |  ##  |     *  +------+     */    {0x0C, 0x1E, 0x3F, 0x3F, 0x1E, 0x0C},    /*  +------+     *  |  ##  |     *  | #### |     *  |##  ##|     *  |##  ##|     *  | #### |     *  |  ##  |     *  +------+     */    {0x0C, 0x1E, 0x33, 0x33, 0x1E, 0x0C},    /*  +------+     *  |      |     *  |      |     *  |  ##  |     *  |  ##  |     *  |      |     *  |      |     *  +------+     */    {0x00, 0x00, 0x0C, 0x0C, 0x00, 0x00},    /*  +------+     *  |      |     *  | #  # |     *  |  ##  |     *  |  ##  |     *  | #  # |     *  |      |     *  +------+     */    {0x00, 0x12, 0x0C, 0x0C, 0x12, 0x00},    /*  +------+     *  |      |     *  |      |     *  |      |     *  |      |     *  |      |     *  |      |     *  +------+     */    {0x00, 0x00, 0x00, 0x00, 0x00, 0x00},    /*  +------+     *  | #  # | 0001 0010  12     *  | #  # | 0001 0010  12     *  | #### | 0001 1110  1E     *  | #  # | 0001 0010  12     *  | #  # | 0001 0010  12     *  | #  # | 0001 0010  12     *  +------+     */    {0x12,0x12,0x1E,0x12,0x12,0x12},    /*  +------+     *  |  ##  | 0000 1100  0C     *  | #  # | 0001 0010  12     *  |#     | 0010 0000  20     *  |#     | 0010 0000  20     *  | #  # | 0001 0010  12     *  |  ##  | 0000 1100  0C     *  +------+     */    {0x0C,0x12,0x20,0x20,0x12,0x0C},    /*  +------+     *  |  ##  | 0000 1100  0C     *  | #  # | 0001 0010  12     *  | # ## | 0001 0110  16     *  | ## # | 0001 1010  1A     *  | #  # | 0001 0010  12     *  |  ##  | 0000 1100  0C     *  +------+     */    {0x0C,0x12,0x16,0x1A,0x12,0x0C},    /*  +------+     *  |   #  | 0000 0100  04     *  |  ##  | 0000 1100  0C     *  |   #  | 0000 0100  04     *  |   #  | 0000 0100  04     *  |   #  | 0000 0100  04     *  |  ### | 0000 1110  0E     *  +------+     */    {0x04,0x0C,0x04,0x04,0x04,0x0E},    /*  +------+     *  |  ##  | 0000 1100  0C     *  | #  # | 0001 0010  12     *  |    # | 0000 0010  02     *  |  ##  | 0000 1100  0C     *  | #    | 0001 0000  10     *  | #### | 0001 1110  1E     *  +------+     */    {0x0C,0x12,0x02,0x0C,0x10,0x1E},    /*  +------+     *  | ###  | 0001 1100  1C     *  |    # | 0000 0010  02     *  |  ##  | 0000 1100  0C     *  |    # | 0000 0010  02     *  |    # | 0000 0010  02     *  | ###  | 0001 1100  1C     *  +------+     */    {0x1C,0x02,0x0C,0x02,0x02,0x1C},    /*  +------+     *  | #    | 0001 0000  10     *  | #    | 0001 0000  10     *  | # #  | 0001 0100  14     *  | # #  | 0001 0100  14     *  | #### | 0001 1110  1E     *  |   #  | 0000 0100  04     *  +------+     */    {0x10,0x10,0x14,0x14,0x1E,0x04},    /*  +------+     *  | #### | 0001 1110  1E     *  | #    | 0001 0000  10     *  | ###  | 0001 1100  1C     *  |    # | 0000 0010  02     *  | #  # | 0001 0010  12     *  |  ##  | 0000 1100  0C     *  +------+     */    {0x1E,0x10,0x1C,0x02,0x12,0x0C},    /*  +------+     *  |  ### | 0000 1110  0E     *  | #    | 0001 0000  10     *  | ###  | 0001 1100  1C     *  | #  # | 0001 0010  12     *  | #  # | 0001 0010  12     *  |  ##  | 0000 1100  0C     *  +------+     */    {0x0E,0x10,0x1C,0x12,0x12,0x0C},    /*  +------+     *  | #### | 0001 1110  1E     *  |    # | 0000 0010  02     *  |   #  | 0000 0100  04     *  |   #  | 0000 0100  04     *  |  #   | 0000 1000  08     *  |  #   | 0000 1000  08     *  +------+     */    {0x1E,0x02,0x04,0x04,0x08,0x08},    /*  +------+     *  |  ##  | 0000 1100  0C     *  | #  # | 0001 0010  12     *  |  ##  | 0000 1100  0C     *  | #  # | 0001 0010  12     *  | #  # | 0001 0010  12     *  |  ##  | 0000 1100  0C     *  +------+     */    {0x0C,0x12,0x0C,0x12,0x12,0x0C},    /*  +------+     *  |  ##  | 0000 1100  0C     *  | #  # | 0001 0010  12     *  | #  # | 0001 0010  12     *  |  ### | 0000 1110  0E     *  |    # | 0000 0010  02     *  |  ##  | 0000 1100  0C     *  +------+     */    {0x0C,0x12,0x12,0x0E,0x02,0x0C},    /*  +------+     *  |      | 0000 0000  00     *  |  ##  | 0000 1100  0C     *  |  ##  | 0000 1100  0C     *  |      | 0000 0000  00     *  |  ##  | 0000 1100  0C     *  |  ##  | 0000 1100  0C     *  +------+     */    {0x00,0x0C,0x0C,0x00,0x0C,0x0C},    /*  +------+     *  |      | 0000 0000  00     *  |      | 0000 0000  00     *  | #### | 0001 1110  1E     *  | #### | 0001 1110  1E     *  |      | 0000 0000  00     *  |      | 0000 0000  00     *  +------+     */    {0x00,0x00,0x1E,0x1E,0x00,0x00},    /*  +------+     *  |      | 0000 0000  00     *  |   #  | 0000 0100  04     *  |   ## | 0000 0110  06     *  |######| 0011 1111  3F     *  |   ## | 0000 0110  06     *  |   #  | 0000 0100  04     *  +------+     */    {0x00,0x04,0x06,0x3F,0x06,0x04},    /*     *  谀哪哪目 谀哪哪目 谀哪哪目 谀哪哪目     *  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -