Code:
typedef struct
{
	ENTITY* character;
	STRING* sentence_content;
	STRING* oggFile;
} sentence;


typedef struct dialogue
{
	STRING* dialogueName;
	int sentenceCount;
	sentence sentenceArray;
} dialogue;


void main(){
	dialogue* d1 = malloc(sizeof(dialogue));	
	d1.sentenceArray.sentence_content = "lol";
	
	printf("%s",d1.sentenceArray.sentence_content);
	
}


this is working well. Hope this helps.

Last edited by Quadraxas; 12/04/08 15:39.

3333333333