Mail Archives: djgpp/1999/04/10/09:35:40
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);
return 0;
}
------
And I hoped, that I could set game.run from rl_format().
- Ilari
David Whitcombe kirjoitti viestiss� <7emt1u$fd3$1 AT news1 DOT rmi DOT net>...
>Are you calling rl_format() with an allocated pointer to type game_?
>Or is it just a pointer with no allocation?
>
>That'd make it choke.
>Someone else may see something different.
>
- Raw text -