X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbakapee.h;h=5243b286552af604129d3069578de5bbad7ca2a9;hb=4d4c2774d4e51f7356f7a5ef32ef61a9fd2c299a;hp=f734f2e55780542607fbbaec457c20ad7e3fd736;hpb=c86784110ce81f51ffaa36cb547ce1efe2faef00;p=16.git
diff --git a/src/lib/bakapee.h b/src/lib/bakapee.h
index f734f2e5..5243b286 100755
--- a/src/lib/bakapee.h
+++ b/src/lib/bakapee.h
@@ -1,5 +1,5 @@
/* Project 16 Source Code~
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123
+ * Copyright (C) 2012-2022 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover
*
* This file is part of Project 16.
*
@@ -23,46 +23,14 @@
#ifndef __BAKAPEE_H_
#define __BAKAPEE_H_
-/* Project 16 Source Code~
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover
- *
- * 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.
- *
- */
#include "src/lib/16_head.h"
#include "src/lib/16_vl.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
-
-//which lib?
-#define MXLIB
+#define TILEWH 16
+#define QUADWH TILEWH/2
typedef struct {
word gq;
@@ -70,9 +38,17 @@ typedef struct {
sword xx, yy, sx, sy;
byte coor;
boolean tile;
+ word bonk,lgq,hgq;
} bakapee_t;
+#define BAKAFIZZUNSIGNED
+#ifdef BAKAFIZZUNSIGNED
+boolean baka_FizzleFade (unsigned source, unsigned dest, unsigned width, unsigned height, unsigned frames, boolean abortable, global_game_variables_t *gvar);
+#else
+boolean baka_FizzleFade (page_t *sourcepage, page_t *destpage, unsigned width, unsigned height, unsigned frames, boolean abortable, global_game_variables_t *gvar);
+#endif
void clrstdin();
+void TL_DosLibStartup(global_game_variables_t *gvar);
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);