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

This file contains main scenario routines. More...

#include "actor.h"

Include dependency graph for scene.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SceneSamplesStruct
struct  ScenePoint
struct  ZoneBox

Defines

#define NUM_SCENES_ENTRIES   120
#define NUM_SCENES   NUM_SCENES_ENTRIES-1
#define NUM_MAX_ACTORS   100
#define NUM_MAX_ZONES   100
#define NUM_MAX_TRACKS   100

Functions

void change_scene ()

Variables

int needChangeScene
int currentSceneIdx
unsigned char * spriteBoundingBoxPtr
int currentGameOverScene
int alphaLight
int betaLight
SceneSamplesStruct sampleAmbience
SceneSamplesStruct sampleRepeat
SceneSamplesStruct sampleRound
short int sampleMinDelay
short int sampleMinDelayRnd
short int sceneMusic
short int sceneHeroX
short int sceneHeroY
short int sceneHeroZ
int sceneNumActors
ActorStruct sceneActors [NUM_MAX_ACTORS]
ActorStructsceneHero
int sceneNumZones
ZoneBox sceneZones [NUM_MAX_ZONES]
int sceneNumTracks
ScenePoint sceneTracks [NUM_MAX_TRACKS]
short int changeRoomVar10


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.h.


Define Documentation

#define NUM_MAX_ACTORS   100

Definition at line 34 of file scene.h.

#define NUM_MAX_TRACKS   100

Definition at line 36 of file scene.h.

#define NUM_MAX_ZONES   100

Definition at line 35 of file scene.h.

#define NUM_SCENES   NUM_SCENES_ENTRIES-1

Definition at line 32 of file scene.h.

Referenced by change_grid().

#define NUM_SCENES_ENTRIES   120

Definition at line 31 of file scene.h.


Function Documentation

void change_scene (  ) 


Variable Documentation

Definition at line 44 of file scene.h.

Referenced by load_scene().

int betaLight

Definition at line 45 of file scene.h.

Referenced by load_scene().

short int changeRoomVar10

Definition at line 134 of file scene.h.

Definition at line 43 of file scene.h.

Referenced by load_scene().

Definition at line 39 of file scene.h.

Referenced by change_grid(), change_scene(), and init_vars().

Definition at line 55 of file scene.h.

Referenced by load_scene().

short int sampleMinDelay

Definition at line 59 of file scene.h.

Referenced by load_scene().

short int sampleMinDelayRnd

Definition at line 60 of file scene.h.

Referenced by load_scene().

Definition at line 56 of file scene.h.

Referenced by load_scene().

Definition at line 57 of file scene.h.

Referenced by load_scene().

ActorStruct sceneActors[NUM_MAX_ACTORS]

Definition at line 70 of file scene.h.

Referenced by change_scene(), init_vars(), and load_scene().

short int sceneHeroX

Definition at line 63 of file scene.h.

Referenced by change_scene(), and load_scene().

short int sceneHeroY

Definition at line 64 of file scene.h.

Referenced by change_scene(), and load_scene().

short int sceneHeroZ

Definition at line 65 of file scene.h.

Referenced by change_scene(), and load_scene().

short int sceneMusic

Definition at line 61 of file scene.h.

Referenced by change_scene(), and load_scene().

Definition at line 68 of file scene.h.

Referenced by change_scene(), load_scene(), and process_actors_drawlist().

Definition at line 129 of file scene.h.

Referenced by load_scene().

Definition at line 123 of file scene.h.

Referenced by display_zones(), and load_scene().

ScenePoint sceneTracks[NUM_MAX_TRACKS]

Definition at line 130 of file scene.h.

Referenced by load_scene().

ZoneBox sceneZones[NUM_MAX_ZONES]

Definition at line 124 of file scene.h.

Referenced by display_zones(), load_scene(), and process_actors_drawlist().

unsigned char* spriteBoundingBoxPtr

Definition at line 41 of file scene.h.

Referenced by init_resources(), init_sprite_actor(), and process_drawing().


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