File: loadlv.h

package info (click to toggle)
ketm 0.0.6-25
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 10,524 kB
  • sloc: ansic: 7,302; sh: 3,540; makefile: 135
file content (30 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (3)
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
#ifndef _LOADLV_H_
#define _LOADLV_H_

#include <SDL/SDL.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>


typedef struct _levelentry {
	Uint32 time;
	char command;
	char para1[64];
	int para2;
	int done;
	struct _levelentry *next;
} LEVELENTRY;

#include "support.h"


int loadlv(int level);
char *loadlv_getint(char *c, int *nr);
char *loadlv_getstr(char *c, char *buffer);
void loadlv_serror(char *filename, int line_nr);
void loadlv_addentry(Uint32 time, char command, char *para1, int para2);
void loadlv_freeentry();

#endif