diff --git a/.gitignore b/.gitignore index 76c1507..4d83a1e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ build-cg/* +src/levels.c diff --git a/JTMM.g3a b/JTMM.g3a index ab0d842..3db79fa 100644 Binary files a/JTMM.g3a and b/JTMM.g3a differ diff --git a/include/shared_define.h b/include/shared_define.h index 8d38769..468322b 100644 --- a/include/shared_define.h +++ b/include/shared_define.h @@ -1,4 +1,4 @@ #define PLAYER_H 11 #define PLAYER_W 11 #define LEVEL_WIDTH 28 -#define LAST_LEVEL 5060 +#define LAST_LEVEL 5061 diff --git a/src/levels.c b/src/levels.c deleted file mode 100644 index 7546869..0000000 --- a/src/levels.c +++ /dev/null @@ -1,3 +0,0 @@ -#include "levels.h" -#include -void set_level(int level_id, char level[]){switch (level_id){case 5050:memcpy(level,"-----------------------------00000000000000000000000000--00000000000000000000000000--000.....rr..........000000--000.....rr..........000000--000.....rr..........000000--000.....rr..........000000--000..E..rr..........000000--00000000000bbbb.....000000--00000000000bbbb00000000000--00.............00000000000--00.............00000000000--00.........000000000000000--00..S......000000000000000--00000000000000000000000000--00000000000000000000000000-----------------------------",476);break;case 5051:memcpy(level,"-----------------------------00000000000000000000000000--00000000000000000000000000--00000000000000000000000000--00000000000000000000000000--00000000000000000000000000--00......................00--00......................00--00......................00--00......................00--00S....................E00--0000rrrrrrrrrbbbbbbbbb0000--0000vvvvvvvvvvvvvvvvvv0000--00000000000000000000000000--00000000000000000000000000--00000000000000000000000000-----------------------------",476);break;case 5052:memcpy(level,"-----------------------------00000000000000000000000000--00000000000000000000000000--0000000000.........0000000--0000000000.......E.0000000--0000000000....000000000000--0000000000......0000000000--0000000000bb....0000000000--0000000000......0000000000--0000000000....000000000000--0000000000......0000000000--0000000000rr....0000000000--0000000.........0000000000--0000000.S.......0000000000--00000000000000000000000000--00000000000000000000000000-----------------------------",476);break;case 5053:memcpy(level,"-----------------------------00000000000000000000000000--00000000000000000000000000--00000000000000000000000000--0000.....00000000000000000--000.......0000000000000000--00.........000000000000000--00.........000000000000000--00.........0000....b..r.00--00.........000.....b..r.00--00....0............b..rE00--00....0..........bbbrrr.00--00....0.........bvvvvvvv00--00.S..0.........v000000000--0000**00000000000000000000--00000000000000000000000000-----------------------------",476);break;case 5054:memcpy(level,"-----------------------------00000000000000000000000000--00000000000000000000000000--00......000...v...000...00--00......000.......000.E.00--00.S....000.......000...00--00000...000...0...000...00--00000www000www0www000www00--00000www000www0www000www00--00000www000www0www000www00--00000vww000wwv0vww000wwv00--00000wwwwwwwww0wwwwwwwww00--00000wwwwwwwww0wwwwwwwww00--00000wwwwwwwww0wwwwwwwww00--00000000000000000000000000--00000000000000000000000000-----------------------------",476);break;case 5055:memcpy(level,"-----------------------------00000000000000000000000000--00000000000000000000000000--00......................00--00......................00--00......................00--000000..............000000--.r...0..............0...b.--.r...0..............0...b.--.r.S.0..............0.E.b.--000000..............000000--00......................00--00......................00--00......................00--00000000000000000000000000--00000000000000000000000000-----------------------------",476);break;case 5056:memcpy(level,"-----------------------------00000000000000..0000000000--00000000000000..0000000000--000000.......0..0...ww...0--000000.......0..0...ww...0--000000.......0......ww...0--000000bbb0...0.....vvvv..0--000000vww0...0..00vvvvvvE0--000000www0v.....0000000000--000000wwv0v.....0000000000--000000rrr0...0..0000000000--00...0wwv0...0..v000000000--00...bwww0...0..v000000000--00.S.bwww0***0..0000000000--00000000000000..0000000000--00000000000000..0000000000-----------------------------",476);break;case 5057:memcpy(level,"-----------------------------00000000000000000000000000--00000000000000000000000000--00....v000000vvvvvvvv...00--00....v0vv000...........00--00....0v..000.........S.00--00ww0.E...000........00000--00ww0000v...........v00000--00ww000..............00000--00ww000...........w..00000--00wwwwww00^.......v..00000--00wwwwww00^.......v..00000--00vvvvvv00^......vv..00000--00000000000......vv..00000--000000000000vvv0v00**00000--00000000000000000000000000-----------------------------",476);break;case 5058:memcpy(level,"-----------------------------0000000000ww0000000www0000--000000000www0000000www0000--00.....0..000000000www0000--00.S...0.^000000000www0000--00000..0.^00000........000--00000..0.^0000.........000--00.....0.^000vbww0rrrrr000--00.....0.^00rwwbw0.....000--00bb0vvv.^0vwrwwv0.....000--00wwrww..0wbwwrw00v.vvv000--00wwrww..0wwbwv000.....000--00wwrww..0rwwb0000.....000--00vvvww..0wrv000000.E.0000--0000000**0ww0000000...0000--0000000000ww0000000...0000-----------------------------",476);break;case 5059:memcpy(level,"-----------------------------00000000000000000000000000--0000000vvvvvv0000000000000--000000vv....vv^...v0000000--00...0v......v^v...0000000--00...0v..v...v^..^.0000000--00.S.0vww0v..v^..^.0E.0000--00rrr0vvww0..v^..^.0..0000--00.v000vww0.vv^.v^.0v.0000--00.vv00vvbv.vv^..^..w.0000--00..v0vvww0..v^..^....0000--00...0vwrwv..v^..^....0000--00...0wwwvv..v^v.^w...0000--00vr..wwvvv.wr...^vvvv0000--000vv00000vvv0v0v000000000--00000000000000000000000000-----------------------------",476);break;case 5060:memcpy(level,"-----------------------------..........................--............0000000.......--............0vvvvv0.......--............0v...v00......--............0v.E..v0......--............0v....v0......--............0vvvv.v0......--..........000000v.00......--.........00vvv0v.w0.......--......0000vb.rv.b.0.......--......0v...b.r..bv0.......--......0S...b.r..v00.......--......00vv0vvv0v00........--.......0000000000.........--..........................-----------------------------",476);break;}} \ No newline at end of file diff --git a/up-editor/screens/5061.scr b/up-editor/screens/5061.scr new file mode 100644 index 0000000..354af46 --- /dev/null +++ b/up-editor/screens/5061.scr @@ -0,0 +1 @@ +........v.v.......................w.........................w.........................v.................v.vvvv.......................vSv...................v...vr.v.................v....v..v.................v....wv..v.................*....v..v......................wvb.v......................v..v......................wv..v......................v..v......................wvr.v............... \ No newline at end of file