D:/WorkAround/prequengine/trunk/src/scene.c File Reference

This file contains main scenario routines. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "scene.h"
#include "actor.h"
#include "grid.h"
#include "main.h"
#include "lbaengine.h"
#include "dialogues.h"
#include "resources.h"
#include "music.h"

Include dependency graph for scene.c:

Go to the source code of this file.

Functions

void set_actor_staticflags (int actorIdx, unsigned short int staticFlags)
void load_scene ()
int init_scene (int index)
void change_scene ()

Variables

unsigned char * currentScene


Detailed Description

This file contains main scenario routines.

Prequengine: a Little Big Adventure engine

Copyright (C) 2008 Prequengine team
Copyright (C) 2002-2007 The TwinEngine team

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Definition in file scene.c.


Function Documentation

void change_scene (  ) 

int init_scene ( int  index  ) 

Definition at line 230 of file scene.c.

References currentScene, hqr_entry_size(), hqr_get_entry(), HQR_SCENE_FILE, and load_scene().

Referenced by change_scene().

void load_scene (  ) 

void set_actor_staticflags ( int  actorIdx,
unsigned short int  staticFlags 
)


Variable Documentation

unsigned char* currentScene

Definition at line 38 of file scene.c.

Referenced by init_scene(), and load_scene().


Generated on Thu Sep 18 14:14:49 2008 for Prequengine by  doxygen 1.5.5