mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-16 03:06:45 -04:00
game folder "just" compiles (not link)
This commit is contained in:
parent
13d3908273
commit
1b0f7fe0c2
135 changed files with 2161 additions and 2336 deletions
40
libs/mgifmem.h
Normal file
40
libs/mgifmem.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
//!!!! POZOR, NUTNE LINKOVAT SOUBOR LZWA.ASM
|
||||
#ifndef _MGIFMEM_H
|
||||
|
||||
typedef void (*MGIF_PROC)(int,void *,int csize); //prvni cislo akce, druhy data akce
|
||||
|
||||
#define _MGIFMEM_H
|
||||
#define MGIF "MGIF"
|
||||
#define MGIF_Y "97"
|
||||
#define VER 0x100
|
||||
#define MGIF_EMPTY 0
|
||||
#define MGIF_LZW 1
|
||||
#define MGIF_DELTA 2
|
||||
#define MGIF_PAL 3
|
||||
#define MGIF_SOUND 4
|
||||
#define MGIF_TEXT 5
|
||||
#define MGIF_COPY 6
|
||||
#define MGIF_SINIT 7
|
||||
|
||||
#define SMD_256 1
|
||||
#define SMD_HICOLOR 2
|
||||
|
||||
typedef struct mgif_header
|
||||
{
|
||||
char sign[4];
|
||||
char year[2];
|
||||
char eof;
|
||||
word ver;
|
||||
long frames;
|
||||
word snd_chans;
|
||||
int snd_freq;
|
||||
short ampl_table[256];
|
||||
short reserved[32];
|
||||
}MGIF_HEADER_T;
|
||||
|
||||
|
||||
void mgif_install_proc(MGIF_PROC proc);
|
||||
void *open_mgif(void *mgif); //vraci ukazatel na prvni frame
|
||||
void *mgif_play(void *mgif); //dekoduje a zobrazi frame
|
||||
void close_mgif(); //dealokuje buffery pro prehravani
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue