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

« back to all changes in this revision

Viewing changes to plee-the-bear/src/ptb/item/action_file_recorder.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
  Plee the Bear
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
55
55
  class action_file_recorder:
56
56
    public item_with_single_player_control_reader<bear::engine::base_item>
57
57
  {
58
 
    DECLARE_BASE_ITEM(action_file_recorder, ptb);
 
58
    DECLARE_BASE_ITEM(action_file_recorder);
59
59
 
60
60
  private:
61
61
    /** \brief The type of the parent class. */
67
67
    class action_information
68
68
    {
69
69
    public:
70
 
      bool operator<( const action_information& other) const;      
 
70
      bool operator<( const action_information& other) const;
71
71
 
72
72
    public:
73
73
      /** \brief The date of the action. */
78
78
 
79
79
      /** \brief The duration of the action. */
80
80
      bear::universe::time_type duration;
81
 
    }; // class  action_information 
 
81
    }; // class  action_information
82
82
 
83
83
    /** \brief All actions of a given player. */
84
84
    typedef std::vector< action_information > actions_vector;
85
85
 
86
86
    /** \brief The current actions of a given player. */
87
87
    typedef std::map
88
 
    < player_action::value_type, 
 
88
    < player_action::value_type,
89
89
      action_information > current_actions_map;
90
 
  
91
 
        
 
90
 
 
91
 
92
92
  public:
93
93
    action_file_recorder();
94
94
    action_file_recorder( const action_file_recorder& that );