forked from catmirrors/xlvns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmgLvnsCore.h
57 lines (43 loc) · 1.12 KB
/
mgLvnsCore.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* LEAF Visual Novel System For MGL2
* (c) Copyright 2001 TF mailto:tf@denpa.org
* All rights reserverd.
*
* ORIGINAL LVNS (c) Copyright 1996-1999 LEAF/AQUAPLUS Inc.
*
* $Id: mgLvnsCore.h,v 1.1 2001/08/06 13:56:58 tf Exp $
*
*/
#ifndef __INCLUDE_MGLVNSCORE_H
#define __INCLUDE_MGLVNSCORE_H
#include <sys/time.h>
#include "Lvns.h"
#include "cdinfo.h"
#ifndef CDDEVICE
#define CDDEVICE "/dev/hdc"
#endif
#ifndef AUDIODEVICE
#define AUDIODEVICE "/dev/dsp"
#endif
typedef struct {
Lvns *info; /* 基本情報 */
/* ---------------------------------------------------------- */
/* CD-DA 演奏用データ */
CDInfo *cdinfo;
Music music;
/* -------------------------------------------------------- */
/* 高精度タイマ用 */
struct timeval timer[10];
Bool noshared;
/* -------------------------------------------------------- */
/* Flip 処理用 */
long wait_clock;
long wait_count;
} LvnsCorePart;
typedef struct {
LvnsCorePart lvnscore;
} LvnsCoreRec;
typedef LvnsCoreRec *LvnsCoreWidget;
#define LCW (lcw->lvnscore)
void LvnsCoreInitMusic(LvnsCoreWidget lcw);
#endif