File: dc_main.h

package info (click to toggle)
wolf4sdl 1.7+svn262+dfsg1-5
  • links: PTS, VCS
  • area: contrib
  • in suites: bullseye, sid
  • size: 4,112 kB
  • sloc: cpp: 34,696; ansic: 1,257; objc: 246; makefile: 159; sh: 44
file content (49 lines) | stat: -rw-r--r-- 970 bytes parent folder | download | duplicates (4)
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
//Wolf4SDL\DC
//dc_main.h
//2009 - Cyle Terry

#ifndef __DC_MAIN_H_
#define __DC_MAIN_H_

typedef uint8 uint8_t;
typedef uint16 uint16_t;
typedef uint32 uint32_t;
typedef int8 int8_t;
typedef int16 int16_t;
typedef int32 int32_t;
typedef int64 int64_t;
typedef ptr_t uintptr_t;

//dc_cd.cpp
int DC_CheckDrive();

//dc_main.cpp
void DC_Init();
void DC_CheckArguments();
int  DC_CheckForMaps(char *path);
#ifdef  SPEAR
#ifndef SPEARDEMO
int  DC_SetMission(char *path);
#endif
#endif

//dc_maple.cpp
int  DC_ButtonPress(int button);
int  DC_MousePresent();
void DC_WaitButtonPress(int button);
void DC_WaitButtonRelease(int button);

//dc_video.cpp
void DC_VideoInit();
void DC_DrawString(int x, int y, char *str);
void DC_CLS();
void DC_Flip();

//dc_vmu.cpp
extern void DiskFlopAnim(int x, int y);
       void DC_StatusDrawLCD(int index);
       void DC_StatusClearLCD();
       void DC_SaveToVMU(char *fname, char *str);
       int  DC_LoadFromVMU(char *fname);

#endif