31
General discussions / FindSFML for CMAKE
« on: January 28, 2009, 10:38:08 pm »
It worked fine under XCode 3.1.2 on MacOSX 10.5.6.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
switch(statevar)
{
case AT_DOOR:
if (has_key==true)
{
statevar=DOOR_OPEN;
tile[DOORX,DOORY]=OPENED_DOOR_ICON;
has_key=false;
}
else
{
message("You need a key.");
}
break;
case DOOR_OPEN:
start_cutscene(DOOR_OPENED);
statevar=DOOR_CUTSCENE_SHOWING;
break;
default:
break;
}