~ubuntu-branches/ubuntu/trusty/plee-the-bear/trusty-proposed

« back to all changes in this revision

Viewing changes to bear-engine/core/src/engine/game_description.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Julien Jorge, Julien Jorge
  • Date: 2010-11-17 20:13:34 UTC
  • mfrom: (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20101117201334-o4dp7uq437to7oxb
Tags: 0.5.1-1
[ Julien Jorge ]
* New upstream release (Closes: #565062, #546514).
* Add armhf architecture (Closes: #604689).
* Remove patches integrated upstream: rpath-editors.diff, rpath-game.diff,
  editors-menu-section.diff.
* Bump the Standard-Version, no changes.
* Update my email address.
* Set build dependency of libclaw to 1.6.0.
* Add the missing ${misc:Depends} in debian/control.
* List gettext translations in bear-factory.install and plee-the-bear.install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
  Bear Engine
3
3
 
4
 
  Copyright (C) 2005-2009 Julien Jorge, Sebastien Angibaud
 
4
  Copyright (C) 2005-2010 Julien Jorge, Sebastien Angibaud
5
5
 
6
6
  This program is free software; you can redistribute it and/or modify it
7
7
  under the terms of the GNU General Public License as published by the
49
49
    class ENGINE_EXPORT game_description
50
50
    {
51
51
    public:
52
 
      typedef std::map<std::string, std::string> level_files_map;
53
52
      typedef std::list<std::string> string_list;
54
53
 
55
54
    public:
56
55
      game_description();
57
56
 
58
 
      const level_files_map& level_files() const;
59
57
      const std::string& start_level() const;
60
58
      const std::string& game_name() const;
61
59
      const claw::math::coordinate_2d<unsigned int>& screen_size() const;
70
68
      void add_resources_path( const string_list& value );
71
69
      void add_item_library( const string_list& value );
72
70
      void set_start_level( const std::string& value );
73
 
      bool add_level( const std::string& value );
74
71
 
75
72
    private:
76
 
      /** \brief Files associated to the levels. */
77
 
      level_files_map m_level_files;
78
 
 
79
73
      /** \brief The name of the first level to load. */
80
74
      std::string m_start_level;
81
75