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

This file contains scene actor routines. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "actor.h"
#include "lbaengine.h"
#include "scene.h"
#include "hqrdepack.h"
#include "resources.h"

Include dependency graph for actor.c:

Go to the source code of this file.

Functions

void preload_sprites ()
void init_sprite_actor (int spriteIdx, int actorIdx)
void init_actor (short int actorIdx)
void set_actor_angle_safe (short int startAngle, short int endAngle, short int stepAngle, TimeStruct *timePtr)
void clear_real_angle (ActorStruct *ptr)
void set_actor_angle (short int startAngle, short int endAngle, short int stepAngle, TimeStruct *timePtr)
int get_real_angle (TimeStruct *angleData)
int get_real_value (TimeStruct *angleData)


Detailed Description

This file contains scene actor 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 actor.c.


Function Documentation

void clear_real_angle ( ActorStruct ptr  ) 

Definition at line 131 of file actor.c.

References ActorStruct::angle, set_actor_angle_safe(), and ActorStruct::time.

int get_real_angle ( TimeStruct angleData  ) 

int get_real_value ( TimeStruct angleData  ) 

void init_actor ( short int  actorIdx  ) 

void init_sprite_actor ( int  spriteIdx,
int  actorIdx 
)

void preload_sprites (  ) 

void set_actor_angle ( short int  startAngle,
short int  endAngle,
short int  stepAngle,
TimeStruct timePtr 
)

void set_actor_angle_safe ( short int  startAngle,
short int  endAngle,
short int  stepAngle,
TimeStruct timePtr 
)


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