原来我写的跑酷代码很简单,有很多人私聊我说不过瘾。
今天,它来了。
老样子,直接上源码。
main.cpp:
#undef UNICODE
#undef _UNICODE
#include <iostream>
#include <iomanip>
#include <string>
#include <cstdlib>
#include <ctime>
#include <windows.h>
#include <conio.h>
#include <fstream>
#include <stdio.h>
#include <algorithm>
#include <D:\b_game.h>
using namespace std;
using namespace _game;
using std::cout;
using std::cin;
const long long dts = 11;
long long wj1x, wj1y, wj2x, wj2y, wj3x, wj3y, wj4x, wj4y, cs = 0, dtbh, sy, runs, cgjd = 1, y_1x, y_1y, y_2x, y_2y, y_3x, y_3y, y_4x, y_4y;
cdhs cddx;
bool f = 1, t1 = 1, t2 = 1, t3 = 1, t4 = 1, cxjs = 1, hyflag = 1;
long long csx[dts + 1] = {
0,
18,
18,
18,
14,
2,
3,
2,
3,
18,
2,
18
};
long long csy[dts + 1] = {
0,
1,
1,
1,
1,
1,
1,
1,
37,
1,
1,
1
};
string dtm[dts + 1] = {
"空地图",
"新手练习",
"蹦床天地",
"信仰之跃",
"生死双道",
"天空跳床",
"小心暗刺",
"转来转去",
"9 9 加 6",
"天空尖刺",
"天空之跃",
"扭曲虫洞"
};
string dt[dts + 1][21] = {
{
" ",//
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
},
{
" =",//
" =",
" =",
" =",
" =",
" =",
" =",
" =",
" =",
" =",
" =",
" =",
" =",
" =",
" ===================",
" =",
" ==== =",
" = =",
" < > = $=",
" ==== ====^^^^==================- ======= =",
" ="
},
{
" ",//
" = < ",
" = < ",
" = < $ ",
" = < ",
" = < ",
" --- < ",
" = ",
" ======-=====-===---=----=-=----========-=======",
" ",
" ",
" --- ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ---------------------------------------------------------------------------",
" "
},
{
" ",//
" ",
" ",
" == === ",
" = = ",
" = = ",
" = $ = ",
" = = ",
" = = - ",
" = ",
" -== = ",
" = ",
" == = ",
" === =- ",
" == = ",
" ==== = ",
" === = ",
" == = ",
" === == ",
" = === ======-",
" ",
},
{
" ",//
" ",
" ",
" == === == ",
" === === < ",
" == < ",
" < ",
" == ==^^^^^^^^^^^== < ",
" ====== < ",
" == === ======= < ",
" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^< ",
" == < ",
" < ",
" == < ",
" ^ $",
" ========> <=== === === == = === = == === ==== ^ ==== === == = == = =====",
" ",
" ",
" ",
" ",
" ",
},
{
" ",//
" < ",
" < ",
" < ",
" < ",
" < ",
" < --- ",
" < == ",
" < ",
" < = --- ",
" < = ",
" < = ",
" < = ",
" < = ",
" < = ",
" < = --- ",
" < = $",
" = ",
" =====---------=^^^^^^^^^^^^^^^^^^^^^^