Mail Archives: djgpp/1998/06/23/17:47:10
Message-ID: | <359017F0.376B@swipnet.se>
|
From: | Karl-Johan Karlsson <karljohan DOT karlsson AT swipnet DOT se>
|
MIME-Version: | 1.0
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Config info in Grabber datafiles
|
Lines: | 15
|
Organization: | A Customer of Tele2
|
Date: | Tue, 23 Jun 1998 21:05:39 GMT
|
NNTP-Posting-Host: | 130.244.106.71
|
NNTP-Posting-Date: | Tue, 23 Jun 1998 23:05:39 MET DST
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I would like to use Grabber datafiles to store config files with info
about scenes in an adventure-game engine.
The info is primarily about layers in the image, so the character
can get behind objects just by changing an integer variable.
Example:
layer1=backgrnd.pcx
layer3=train.pcx
layer5=suitcase.pcx
Now, if I put the character on layer 4, he would be between the
suitcases and the train.
The manual says: set_config_data(char *data, int length),
and that is fine, except for the tiny problem that it doesn't say
what length is!
Could someone tell me what length is and how to find out what it should
be, or maybe suggest a different format?
- Raw text -