亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? scr.java

?? JAKE2用JAVA寫的queck2的3D游戲開發(fā)引擎
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
            }        });        scr_initialized = true;    }    /*     * ============== SCR_DrawNet ==============     */    static void DrawNet() {        if (cls.netchan.outgoing_sequence - cls.netchan.incoming_acknowledged < CMD_BACKUP - 1)            return;        re.DrawPic(scr_vrect.x + 64, scr_vrect.y, "net");    }    /*     * ============== SCR_DrawPause ==============     */    static void DrawPause() {        Dimension dim = new Dimension();        if (scr_showpause.value == 0) // turn off for screenshots            return;        if (cl_paused.value == 0)            return;        re.DrawGetPicSize(dim, "pause");        re.DrawPic((viddef.width - dim.width) / 2, viddef.height / 2 + 8,                "pause");    }    /*     * ============== SCR_DrawLoading ==============     */    static void DrawLoading() {        Dimension dim = new Dimension();        if (scr_draw_loading == 0)            return;        scr_draw_loading = 0;        re.DrawGetPicSize(dim, "loading");        re.DrawPic((viddef.width - dim.width) / 2,                (viddef.height - dim.height) / 2, "loading");    }    // =============================================================================    /*     * ================== SCR_RunConsole     *      * Scroll it up or down ==================     */    static void RunConsole() {        // decide on the height of the console        if (cls.key_dest == key_console)            scr_conlines = 0.5f; // half screen        else            scr_conlines = 0; // none visible        if (scr_conlines < scr_con_current) {            scr_con_current -= scr_conspeed.value * cls.frametime;            if (scr_conlines > scr_con_current)                scr_con_current = scr_conlines;        } else if (scr_conlines > scr_con_current) {            scr_con_current += scr_conspeed.value * cls.frametime;            if (scr_conlines < scr_con_current)                scr_con_current = scr_conlines;        }    }    /*     * ================== SCR_DrawConsole ==================     */    static void DrawConsole() {        Console.CheckResize();        if (cls.state == ca_disconnected || cls.state == ca_connecting) { // forced                                                                          // full                                                                          // screen                                                                          // console            Console.DrawConsole(1.0f);            return;        }        if (cls.state != ca_active || !cl.refresh_prepped) { // connected, but                                                             // can't render            Console.DrawConsole(0.5f);            re.DrawFill(0, viddef.height / 2, viddef.width, viddef.height / 2,                    0);            return;        }        if (scr_con_current != 0) {            Console.DrawConsole(scr_con_current);        } else {            if (cls.key_dest == key_game || cls.key_dest == key_message)                Console.DrawNotify(); // only draw notify in game        }    }    // =============================================================================    /*     * ================ SCR_BeginLoadingPlaque ================     */    public static void BeginLoadingPlaque() {        S.StopAllSounds();        cl.sound_prepped = false; // don't play ambients        if (cls.disable_screen != 0)            return;        if (developer.value != 0)            return;        if (cls.state == ca_disconnected)            return; // if at console, don't bring up the plaque        if (cls.key_dest == key_console)            return;        if (cl.cinematictime > 0)            scr_draw_loading = 2; // clear to balack first        else            scr_draw_loading = 1;        UpdateScreen();        cls.disable_screen = Timer.Milliseconds();        cls.disable_servercount = cl.servercount;    }    /*     * ================ SCR_EndLoadingPlaque ================     */    public static void EndLoadingPlaque() {        cls.disable_screen = 0;        Console.ClearNotify();    }    /*     * ================ SCR_Loading_f ================     */    static void Loading_f() {        BeginLoadingPlaque();    }    /*     * ================ SCR_TimeRefresh_f ================     */    static void TimeRefresh_f() {        int i;        int start, stop;        float time;        if (cls.state != ca_active)            return;        start = Timer.Milliseconds();        if (Cmd.Argc() == 2) { // run without page flipping            re.BeginFrame(0);            for (i = 0; i < 128; i++) {                cl.refdef.viewangles[1] = i / 128.0f * 360.0f;                re.RenderFrame(cl.refdef);            }            re.EndFrame();        } else {            for (i = 0; i < 128; i++) {                cl.refdef.viewangles[1] = i / 128.0f * 360.0f;                re.BeginFrame(0);                re.RenderFrame(cl.refdef);                re.EndFrame();            }        }        stop = Timer.Milliseconds();        time = (stop - start) / 1000.0f;        Com.Printf("%f seconds (%f fps)\n", new Vargs(2).add(time).add(                128.0f / time));    }    static void DirtyScreen() {        AddDirtyPoint(0, 0);        AddDirtyPoint(viddef.width - 1, viddef.height - 1);    }    /*     * ============== SCR_TileClear     *      * Clear any parts of the tiled background that were drawn on last frame     * ==============     */    static dirty_t clear = new dirty_t();    static void TileClear() {        int i;        int top, bottom, left, right;        clear.clear();        if (scr_drawall.value != 0)            DirtyScreen(); // for power vr or broken page flippers...        if (scr_con_current == 1.0f)            return; // full screen console        if (scr_viewsize.value == 100)            return; // full screen rendering        if (cl.cinematictime > 0)            return; // full screen cinematic        // erase rect will be the union of the past three frames        // so tripple buffering works properly        clear.set(scr_dirty);        for (i = 0; i < 2; i++) {            if (scr_old_dirty[i].x1 < clear.x1)                clear.x1 = scr_old_dirty[i].x1;            if (scr_old_dirty[i].x2 > clear.x2)                clear.x2 = scr_old_dirty[i].x2;            if (scr_old_dirty[i].y1 < clear.y1)                clear.y1 = scr_old_dirty[i].y1;            if (scr_old_dirty[i].y2 > clear.y2)                clear.y2 = scr_old_dirty[i].y2;        }        scr_old_dirty[1].set(scr_old_dirty[0]);        scr_old_dirty[0].set(scr_dirty);        scr_dirty.x1 = 9999;        scr_dirty.x2 = -9999;        scr_dirty.y1 = 9999;        scr_dirty.y2 = -9999;        // don't bother with anything convered by the console)        top = (int) (scr_con_current * viddef.height);        if (top >= clear.y1)            clear.y1 = top;        if (clear.y2 <= clear.y1)            return; // nothing disturbed        top = scr_vrect.y;        bottom = top + scr_vrect.height - 1;        left = scr_vrect.x;        right = left + scr_vrect.width - 1;        if (clear.y1 < top) { // clear above view screen            i = clear.y2 < top - 1 ? clear.y2 : top - 1;            re.DrawTileClear(clear.x1, clear.y1, clear.x2 - clear.x1 + 1, i                    - clear.y1 + 1, "backtile");            clear.y1 = top;        }        if (clear.y2 > bottom) { // clear below view screen            i = clear.y1 > bottom + 1 ? clear.y1 : bottom + 1;            re.DrawTileClear(clear.x1, i, clear.x2 - clear.x1 + 1, clear.y2 - i                    + 1, "backtile");            clear.y2 = bottom;        }        if (clear.x1 < left) { // clear left of view screen            i = clear.x2 < left - 1 ? clear.x2 : left - 1;            re.DrawTileClear(clear.x1, clear.y1, i - clear.x1 + 1, clear.y2                    - clear.y1 + 1, "backtile");            clear.x1 = left;        }        if (clear.x2 > right) { // clear left of view screen            i = clear.x1 > right + 1 ? clear.x1 : right + 1;            re.DrawTileClear(i, clear.y1, clear.x2 - i + 1, clear.y2 - clear.y1                    + 1, "backtile");            clear.x2 = right;        }    }    // ===============================================================    static final int STAT_MINUS = 10; // num frame for '-' stats digit    static final int ICON_WIDTH = 24;    static final int ICON_HEIGHT = 24;    static final int CHAR_WIDTH = 16;    static final int ICON_SPACE = 8;    /*     * ================ SizeHUDString     *      * Allow embedded \n in the string ================     */    static void SizeHUDString(String string, Dimension dim) {        int lines, width, current;        lines = 1;        width = 0;        current = 0;        for (int i = 0; i < string.length(); i++) {            if (string.charAt(i) == '\n') {                lines++;                current = 0;            } else {                current++;                if (current > width)                    width = current;            }        }        dim.width = width * 8;        dim.height = lines * 8;    }    static void DrawHUDString(String string, int x, int y, int centerwidth,            int xor) {        int margin;        //char line[1024];        StringBuffer line = new StringBuffer(1024);        int i;        margin = x;        for (int l = 0; l < string.length();) {            // scan out one line of text from the string            line = new StringBuffer(1024);            while (l < string.length() && string.charAt(l) != '\n') {                line.append(string.charAt(l));                l++;            }            if (centerwidth != 0)                x = margin + (centerwidth - line.length() * 8) / 2;            else                x = margin;            for (i = 0; i < line.length(); i++) {                re.DrawChar(x, y, line.charAt(i) ^ xor);                x += 8;            }            if (l < string.length()) {                l++; // skip the \n                x = margin;                y += 8;            }        }    }    /*     * ============== SCR_DrawField ==============     */    static void DrawField(int x, int y, int color, int width, int value) {        char ptr;        String num;        int l;        int frame;        if (width < 1)            return;        // draw number string        if (width > 5)            width = 5;        AddDirtyPoint(x, y);        AddDirtyPoint(x + width * CHAR_WIDTH + 2, y + 23);        num = "" + value;        l = num.length();        if (l > width)            l = width;        x += 2 + CHAR_WIDTH * (width - l);        ptr = num.charAt(0);        for (int i = 0; i < l; i++) {            ptr = num.charAt(i);            if (ptr == '-')                frame = STAT_MINUS;            else                frame = ptr - '0';            re.DrawPic(x, y, sb_nums[color][frame]);            x += CHAR_WIDTH;        }    }    /*     * =============== SCR_TouchPics     *      * Allows rendering code to cache all needed sbar graphics ===============     */    static void TouchPics() {        int i, j;        for (i = 0; i < 2; i++)            for (j = 0; j < 11; j++)                re.RegisterPic(sb_nums[i][j]);        if (crosshair.value != 0.0f) {            if (crosshair.value > 3.0f || crosshair.value < 0.0f)                crosshair.value = 3.0f;            crosshair_pic = "ch" + (int) crosshair.value;            Dimension dim = new Dimension();            re.DrawGetPicSize(dim, crosshair_pic);            crosshair_width = dim.width;            crosshair_height = dim.height;            if (crosshair_width == 0)                crosshair_pic = "";        }    }    /*     * ================ SCR_ExecuteLayoutString     *      * ================     */    static void ExecuteLayoutString(String s) {        int x, y;        int value;        String token;        int width;        int index;        clientinfo_t ci;        if (cls.state != ca_active || !cl.refresh_prepped)            return;        //		if (!s[0])        if (s == null || s.length() == 0)            return;        x = 0;        y = 0;        width = 3;        Com.ParseHelp ph = new Com.ParseHelp(s);        while (!ph.isEof()) {            token = Com.Parse(ph);            if (token.equals("xl")) {                token = Com.Parse(ph);                x = Lib.atoi(token);                continue;            }            if (token.equals("xr")) {                token = Com.Parse(ph);                x = viddef.width + Lib.atoi(token);                continue;            }            if (token.equals("xv")) {                token = Com.Parse(ph);                x = viddef.width / 2 - 160 + Lib.atoi(token);                continue;            }            if (token.equals("yt")) {                token = Com.Parse(ph);                y = Lib.atoi(token);                continue;            }            if (token.equals("yb")) {                token = Com.Parse(ph);                y = viddef.height + Lib.atoi(token);                continue;            }            if (token.equals("yv")) {                token = Com.Parse(ph);                y = viddef.height / 2 - 120 + Lib.atoi(token);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美女视频一区二区三区| 一区二区三区日本| 亚洲大片免费看| 99re热视频精品| 亚洲欧美一区二区视频| 精品一区精品二区高清| 亚洲一区二区精品3399| 三级欧美在线一区| 欧美日韩午夜在线视频| 亚洲午夜久久久久中文字幕久| av电影在线观看不卡| 国产精品你懂的在线| 亚洲韩国精品一区| 欧美高清你懂得| 蜜臀av性久久久久蜜臀aⅴ四虎| 欧美亚男人的天堂| 婷婷夜色潮精品综合在线| 韩国av一区二区| 精品国产髙清在线看国产毛片| 日韩在线观看一区二区| 久草中文综合在线| 日韩欧美电影一区| 一区二区国产视频| 91成人免费电影| 亚洲综合久久久久| 丝瓜av网站精品一区二区| 色综合中文字幕国产 | 国产精品久久久久久久第一福利 | 亚洲高清免费观看 | 免费人成网站在线观看欧美高清| 91视频观看视频| 一区二区三区精品在线观看| 日韩一卡二卡三卡四卡| 成人精品一区二区三区中文字幕 | 国产午夜精品一区二区三区四区| 精品久久国产字幕高潮| 久久网这里都是精品| 色综合色狠狠综合色| 捆绑紧缚一区二区三区视频 | 国产一区二区调教| 亚洲精品自拍动漫在线| 久久综合精品国产一区二区三区| 色婷婷久久久久swag精品| 国产乱码精品一区二区三区忘忧草| 亚洲免费观看高清完整版在线观看 | 91丨九色porny丨蝌蚪| 精品无人码麻豆乱码1区2区| 亚洲品质自拍视频网站| 久久久噜噜噜久久人人看| 色偷偷久久一区二区三区| 国产成人在线色| 免费成人在线观看| 亚洲国产你懂的| 国产精品久久久久久久久动漫| 成人app在线观看| 日本不卡高清视频| 欧美aⅴ一区二区三区视频| 午夜视频在线观看一区二区三区| 国产欧美一区二区在线| 国产精品狼人久久影院观看方式| 久久亚洲私人国产精品va媚药| 日韩女优视频免费观看| 91成人看片片| 欧美人牲a欧美精品| 欧美午夜一区二区三区免费大片| 91丨porny丨户外露出| 91看片淫黄大片一级在线观看| 国产精品123区| 成人小视频在线| 不卡av在线网| 欧美精品色综合| 国产日产精品1区| 亚洲精品成人精品456| 久久99在线观看| 一区二区三区色| 男男gaygay亚洲| 国产又粗又猛又爽又黄91精品| 国产91精品在线观看| 一区二区三区高清| 丝袜诱惑亚洲看片| 国产一区二区在线看| 欧洲精品中文字幕| 久久中文娱乐网| 亚洲丰满少妇videoshd| 高清成人免费视频| 4438成人网| 国产精品网站在线观看| 日韩av一级片| 在线一区二区观看| 国产丝袜欧美中文另类| 亚洲免费av高清| 波多野结衣一区二区三区| 欧美一级片在线看| 亚洲一区二区在线观看视频| 91丨九色丨蝌蚪富婆spa| av在线播放不卡| 日韩欧美国产1| 美脚の诱脚舐め脚责91 | 国产99久久久久| 精品区一区二区| 亚洲国产精品精华液网站| 99久久99久久精品免费看蜜桃| 久久久久久久久伊人| 久久亚洲一级片| 亚洲第一成年网| 99re成人在线| 一区二区视频在线| 国产高清亚洲一区| 日本一区二区电影| 国产精品自拍网站| 欧美激情一区在线| 成人国产电影网| 国产老妇另类xxxxx| 欧美在线观看视频一区二区三区| 国产精品日日摸夜夜摸av| 成人综合婷婷国产精品久久| 久久综合一区二区| 成人福利视频在线看| 国产精品免费看片| 99国产精品一区| 亚洲人成精品久久久久| 日韩制服丝袜av| 精品国产人成亚洲区| 亚洲一区二区三区美女| 7777精品久久久大香线蕉| 亚洲午夜久久久久| 欧美区在线观看| 国产一区在线观看麻豆| 久久久亚洲国产美女国产盗摄 | 亚洲视频在线观看三级| 国产成+人+日韩+欧美+亚洲 | 国产91精品久久久久久久网曝门 | 国产精品主播直播| 最好看的中文字幕久久| 欧美色图一区二区三区| 国产自产2019最新不卡| 亚洲免费观看高清完整版在线观看熊| 日韩午夜激情电影| 91黄视频在线| 国内成人精品2018免费看| 亚洲午夜在线视频| 亚洲日本中文字幕区| 日韩视频一区在线观看| 午夜在线成人av| 欧美xxxx在线观看| 欧美日韩在线电影| 99久久精品国产一区二区三区| 国内精品不卡在线| 亚洲国产三级在线| 亚洲国产综合在线| 中文字幕一区二区三区在线播放| 久久亚洲精华国产精华液| 欧美一区二区三区白人| 7777精品伊人久久久大香线蕉的| 欧美日韩免费观看一区二区三区| 丁香五精品蜜臀久久久久99网站| 中文字幕 久热精品 视频在线| 欧美一区二区二区| 91麻豆swag| 51精品视频一区二区三区| 欧美日本国产视频| 欧美一区日韩一区| 91精品国产91久久久久久一区二区 | 亚洲一区二区三区激情| 亚洲精品国产成人久久av盗摄 | 在线观看免费亚洲| 日本欧美一区二区三区乱码| 日韩精彩视频在线观看| 香港成人在线视频| 精品一区二区三区在线播放 | 国产乱码字幕精品高清av| 国产尤物一区二区| 91在线观看视频| 欧美男人的天堂一二区| 日韩视频一区二区三区| 久久久国产精华| 亚洲欧美电影一区二区| 国产成人在线视频网站| 成人免费高清在线| 日日夜夜精品视频免费| 久久精品国产精品亚洲红杏| jvid福利写真一区二区三区| 精品对白一区国产伦| 亚洲与欧洲av电影| 一本到三区不卡视频| 国产午夜久久久久| 国产精品18久久久久久久久久久久 | 亚洲视频一二三| 欧美成人综合网站| 免费人成在线不卡| 欧美成人激情免费网| 国产乱码一区二区三区| 日韩欧美黄色影院| 日日摸夜夜添夜夜添国产精品| 欧美日韩一本到| 亚洲成人777| 欧美一区二区视频在线观看| 亚洲精品一区二区三区福利 | 美腿丝袜亚洲一区| 日韩一级大片在线|