forked from catmirrors/xlvns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlvnsimage_sximage.h
41 lines (32 loc) · 1.32 KB
/
lvnsimage_sximage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* LEAF Visual Novel System For X
* (c) Copyright 1999,2000 Go Watanabe mailto:go@denpa.org
* All rights reserverd.
*
* ORIGINAL LVNS (c) Copyright 1996-1999 LEAF/AQUAPLUS Inc.
*
* $Id: lvnsimage_sximage.h,v 1.3 2001/06/26 15:47:44 go Exp $
*/
/*
* LVNSImage
* 8bit indexed colored image
*/
#ifndef __lvnsimage_sximage_h_
#define __lvnsimage_sximage_h_
#include "lvnsimage.h"
#include "sximage.h"
void lvnsimage_sximage_init(void);
void lvnsimage_set_pal_to_sximage(LvnsImage *image, SuperXImage *sximage);
void lvnsimage_set_pal_to_sximage_multi(LvnsImage *image, SuperXImage *sximage, int par16);
void lvnsimage_set_pal_to_sximage_screen(LvnsImage *image, SuperXImage *sximage, int par16);
void lvnsimage_copy_to_sximage(LvnsImage *image,
SuperXImage *sximage,
int x, int y);
void lvnsimage_copy_area_to_sximage(LvnsImage *src, SuperXImage *dst,
int x, int y, int w, int h, int x2, int y2);
void lvnsimage_copy_mask_unit_to_sximage(LvnsImage *src, SuperXImage *dst,
int x, int y, int x2, int y2, int mask);
void lvnsimage_copy_squaremask_unit_to_sximage(LvnsImage *src, SuperXImage *dst,
int x, int y, int x2, int y2, int mask);
void sximage_box(SuperXImage *image, int x, int y, int w, int h, int idx);
#endif