~ubuntu-branches/ubuntu/natty/smc/natty

« back to all changes in this revision

Viewing changes to src/core/sprite_manager.h

  • Committer: Bazaar Package Importer
  • Author(s): Muammar El Khatib
  • Date: 2008-10-20 00:31:35 UTC
  • mfrom: (1.1.4 upstream) (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081020003135-5ac8cpecomfohvv5
Tags: 1.6-1
* New upstream release. (Closes:#479415)
* Bumped standards version to 3.8.0.
* debian/control: dpatch build dependency has been removed temporarily.
* debian/control: smc-data does not depend on smc anymore. This change will
  avoid a circular dependency. (Closes: #478712)
* smc does not segfault. (Closes: #500039, #491590) 
* Icon is not missed in Gnome Menu. Thanks to Saïvann for providing a 
  solution. (Closes: #491885)
* debian/control: smc-data's and smc-music's descriptions have been improved.
  (Closes: #493630)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
                sprite_manager.h  -  header for the corresponding cpp file
3
 
                             -------------------
4
 
    copyright            :  (C) 2005 - 2007 by Florian Richter
 
2
 * sprite_manager.h  -  header for the corresponding cpp file
 
3
 *
 
4
 * Copyright (C) 2005 - 2008 Florian Richter
5
5
 ***************************************************************************/
6
6
/*
7
7
   This program is free software; you can redistribute it and/or modify
13
13
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
14
14
*/
15
15
 
16
 
#ifndef __SPRITE_MANAGER_H__
17
 
#define __SPRITE_MANAGER_H__
 
16
#ifndef SMC_SPRITE_MANAGER_H
 
17
#define SMC_SPRITE_MANAGER_H
18
18
 
19
19
#include "../core/globals.h"
20
20
#include "../core/obj_manager.h"
56
56
        void Get_Objects_sorted( SpriteList &new_objects, bool editor_sort = 0, bool with_player = 0 );
57
57
 
58
58
        // Update items drawing validation
59
 
        void Update_items_valid_draw( void );
 
59
        void Update_Items_Valid_Draw( void );
60
60
        // Update items
61
 
        void Update_items( void );
 
61
        void Update_Items( void );
62
62
        // Draw items
63
 
        void Draw_items( void );
 
63
        void Draw_Items( void );
64
64
        // Create Collision data and Handle the collisions
65
 
        void Handle_Collision_items( void );
 
65
        void Handle_Collision_Items( void );
66
66
 
67
67
 
68
68
        /* Return the current size
69
69
         * of the specified sprite array
70
70
         */
71
 
        unsigned int Get_Size_array( ArrayType sprite_array );
 
71
        unsigned int Get_Size_Array( ArrayType sprite_array );
72
72
 
73
73
        // Return object pointer if found
74
74
        cSprite *operator [] ( unsigned int identifier )