1 /* Project 16 Source Code~
\r
2 * Copyright (C) 2012-2019 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover
\r
4 * This file is part of Project 16.
\r
6 * Project 16 is free software; you can redistribute it and/or modify
\r
7 * it under the terms of the GNU General Public License as published by
\r
8 * the Free Software Foundation; either version 3 of the License, or
\r
9 * (at your option) any later version.
\r
11 * Project 16 is distributed in the hope that it will be useful,
\r
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
14 * GNU General Public License for more details.
\r
16 * You should have received a copy of the GNU General Public License
\r
17 * along with this program. If not, see <http://www.gnu.org/licenses/>, or
\r
18 * write to the Free Software Foundation, Inc., 51 Franklin Street,
\r
19 * Fifth Floor, Boston, MA 02110-1301 USA.
\r
23 #ifndef __BAKAPEE_H_
\r
24 #define __BAKAPEE_H_
\r
26 #include "src/lib/16_head.h"
\r
27 #include "src/lib/16_vl.h"
\r
28 #include <hw/cpu/cpu.h>
\r
29 #include <hw/dos/dos.h>
\r
30 #include <hw/vga/vga.h>
\r
33 #define QUADWH TILEWH/2
\r
38 sword xx, yy, sx, sy;
\r
44 #define BAKAFIZZUNSIGNED
\r
45 #ifdef BAKAFIZZUNSIGNED
\r
46 boolean baka_FizzleFade (unsigned source, unsigned dest, unsigned width, unsigned height, unsigned frames, boolean abortable, global_game_variables_t *gvar);
\r
48 boolean baka_FizzleFade (page_t *sourcepage, page_t *destpage, unsigned width, unsigned height, unsigned frames, boolean abortable, global_game_variables_t *gvar);
\r
51 void TL_DosLibStartup(global_game_variables_t *gvar);
\r
52 void colortest(page_t *page, bakapee_t *pee);
\r
53 void colorz(page_t *page, bakapee_t *pee);
\r
54 void ssd(page_t *page, bakapee_t *pee, word svq);
\r
55 void dingpp(page_t *page, bakapee_t *pee);
\r
56 void dingo(page_t *page, bakapee_t *pee);
\r
57 void dingas(bakapee_t *pee);
\r
58 void dingaso(bakapee_t *pee);
\r
59 void dingu(bakapee_t *pee);
\r
60 void dingq(bakapee_t *pee);
\r
61 void dingqo(bakapee_t *pee);
\r
62 void ding(page_t *page, bakapee_t *pee, word q);
\r
64 #endif /*__BAKAPEE_H_*/
\r