X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbakapee.h;h=a6076dafcef6069112d47e48a849ad57bc0b7de4;hb=0b27dec43b461090fb2b9770f031dd230a9a0f75;hp=fd0a1a0a595c1a2d8630383b7b6cc1d2c913688f;hpb=6b585194480dbbfb1ca8ae9d4564418b24e79d48;p=16.git diff --git a/src/lib/bakapee.h b/src/lib/bakapee.h old mode 100644 new mode 100755 index fd0a1a0a..a6076daf --- a/src/lib/bakapee.h +++ b/src/lib/bakapee.h @@ -1,56 +1,65 @@ -/* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 - * - * This file is part of Project 16. - * - * Project 16 is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * Project 16 is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see , or - * write to the Free Software Foundation, Inc., 51 Franklin Street, - * Fifth Floor, Boston, MA 02110-1301 USA. - * - */ - -#ifndef __BAKAPEE_H_ -#define __BAKAPEE_H_ - -#include "src/lib/16_head.h" -#include "src/lib/modex16.h" - -#define TILEWH 16 -#define QUADWH TILEWH/2 +/* Project 16 Source Code~ + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 + * + * This file is part of Project 16. + * + * Project 16 is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * Project 16 is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + +#ifndef __BAKAPEE_H_ +#define __BAKAPEE_H_ + +#include "src/lib/16_head.h" +#include "src/lib/modex16.h" +#include +#include +#include + +//#include "src/lib/modex/modex.h" +//#include "16/x/modex.h" + +#define TILEWH 16 +#define QUADWH TILEWH/2 #define BONK 400 #define LGQ 32 -#define HGQ 55 - -#define TILE - +#define HGQ 55 + +#define TILE + +//which lib? +#define MXLIB + typedef struct { - word gq; - word qq; + word gq; sword bakax, bakay; sword xx, yy, sx, sy; - byte coor; -} bakapee_t; - -void pdump(page_t *pee); -void cls(page_t *page, byte color, byte *Where); -void colortest(page_t *page, bakapee_t *pee); -void colorz(page_t *page, bakapee_t *pee); -void ssd(page_t *page, bakapee_t *pee, word svq); -void dingpp(page_t *page, bakapee_t *pee); -void dingo(bakapee_t *pee); -void dingas(bakapee_t *pee); -void dingu(bakapee_t *pee); -void ding(page_t *page, bakapee_t *pee, word q); - -#endif /*__BAKAPEE_H_*/ + byte coor; + boolean tile; +} bakapee_t; + +void clrstdin(); +void colortest(page_t *page, bakapee_t *pee); +void colorz(page_t *page, bakapee_t *pee); +void ssd(page_t *page, bakapee_t *pee, word svq); +void dingpp(page_t *page, bakapee_t *pee); +void dingo(page_t *page, bakapee_t *pee); +void dingas(bakapee_t *pee); +void dingu(bakapee_t *pee); +void dingq(bakapee_t *pee); +void ding(page_t *page, bakapee_t *pee, word q); + +#endif /*__BAKAPEE_H_*/