File: loadlv.h

package info (click to toggle)
ketm 0.0.6-17sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,356 kB
  • ctags: 875
  • sloc: ansic: 7,303; sh: 410; makefile: 185
file content (30 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (2)
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