Mail Archives: djgpp/1999/04/10/10:41:45
El día Sat, 10 Apr 1999 15:06:44 +0300, "Ilari Kaartinen"
<ililka AT mantta DOT fi> escribió:
>I don't understand what you are saying, but i used rl_format() like this.
>(and that "if(strcmp(string,__RL_GAME__))" was a mistake, uups. It should be
>"if(strcmp(string,__RL_GAME__)==0)", but still..)
>------
>#include "rl.h"
>int main (void)
>{
>
>TXT_BUFFER *screen; // I use Wazoo
>opti_ options;
>game_ game;
>play_ player;
>
>rl_format(__RL_GAME__,game,player);
But rl_format is expecting _pointers_ to variables of type game_ and
play_, and here you're passing these variables directly. You should do
something like
rl_format(__RL_GAME__, &game, &player);
Regards,
GUILLE
----
Guillermo Rodriguez Garcia
XXguille AT XXiies DOT XXes (ya sabes :-)
- Raw text -