OSDN Git Service

updated copyright. i am not dead just busy. i am working more on wolfenstien 3d and...
[proj16/16.git] / src / lib / bakapee.h
index f734f2e..8c5c2dc 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123\r
+ * Copyright (C) 2012-2020 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
 #ifndef __BAKAPEE_H_\r
 #define __BAKAPEE_H_\r
 \r
-/* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
- *\r
- * This file is part of Project 16.\r
- *\r
- * Project 16 is free software; you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 3 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * Project 16 is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program.  If not, see <http://www.gnu.org/licenses/>, or\r
- * write to the Free Software Foundation, Inc., 51 Franklin Street,\r
- * Fifth Floor, Boston, MA 02110-1301 USA.\r
- *\r
- */\r
 #include "src/lib/16_head.h"\r
 #include "src/lib/16_vl.h"\r
 #include <hw/cpu/cpu.h>\r
 #include <hw/dos/dos.h>\r
 #include <hw/vga/vga.h>\r
 \r
-//#include "src/lib/modex/modex.h"\r
-//#include "16/x/modex.h"\r
-\r
-#define TILEWH 16\r
-#define QUADWH                 TILEWH/2\r
-#define BONK       400\r
-#define LGQ         32\r
-#define HGQ         55\r
-\r
-#define TILE\r
-\r
-//which lib?\r
-#define MXLIB\r
+#define TILEWH 16\r
+#define QUADWH TILEWH/2\r
 \r
 typedef struct {\r
        word gq;\r
@@ -70,9 +38,17 @@ typedef struct {
        sword xx, yy, sx, sy;\r
        byte coor;\r
        boolean tile;\r
+       word bonk,lgq,hgq;\r
 } bakapee_t;\r
 \r
+#define BAKAFIZZUNSIGNED\r
+#ifdef BAKAFIZZUNSIGNED\r
+boolean baka_FizzleFade (unsigned source, unsigned dest, unsigned width, unsigned height, unsigned frames, boolean abortable, global_game_variables_t *gvar);\r
+#else\r
+boolean baka_FizzleFade (page_t *sourcepage, page_t *destpage, unsigned width, unsigned height, unsigned frames, boolean abortable, global_game_variables_t *gvar);\r
+#endif\r
 void clrstdin();\r
+void TL_DosLibStartup(global_game_variables_t *gvar);\r
 void colortest(page_t *page, bakapee_t *pee);\r
 void colorz(page_t *page, bakapee_t *pee);\r
 void ssd(page_t *page, bakapee_t *pee, word svq);\r