Chapter 3. function reference

3.1. s3d_init

#include <s3d.h>

int s3d_init( int *argc. char ***argv char *name );

This will initialize the s3d-library and the connection to the Server. It will return 0 on success in Server initializion. name specifies the your programs name.


int main(char argc, char **argv)
{
	if (!s3d_init(&argc,&argv,"Hello world")) 
	{
		...
		s3d_quit();
	}
	return(0);
}