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

« back to all changes in this revision

Viewing changes to bear-engine/core/src/universe/code/physical_item_attributes.cpp

  • 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
36
36
 */
37
37
bear::universe::physical_item_attributes::physical_item_attributes()
38
38
  : m_mass(std::numeric_limits<double>::infinity()), m_density(1),
39
 
    m_speed(0, 0), m_acceleration(0, 0), m_internal_force(0, 0),
40
 
    m_external_force(0, 0), m_self_friction(0.98), m_contact_friction(1),
41
 
    m_elasticity(0), m_hardness(1), m_position(0, 0), m_size(0, 0),
42
 
    m_system_angle(0), m_can_move_items(true), 
43
 
    m_contact_after_collision(false),
44
 
    m_left_contact(false), m_right_contact(false), m_top_contact(false),
45
 
    m_bottom_contact(false), m_middle_contact(false),
46
 
    m_is_phantom(false), m_is_artificial(false)
 
39
    m_angular_speed(0), m_speed(0, 0), m_acceleration(0, 0),
 
40
    m_internal_force(0, 0), m_external_force(0, 0), m_self_friction(0.98),
 
41
    m_contact_friction(1), m_elasticity(0), m_hardness(1), m_position(0, 0),
 
42
    m_size(0, 0), m_system_angle(0), m_can_move_items(true),
 
43
    m_contact_after_collision(false), m_left_contact(false),
 
44
    m_right_contact(false), m_top_contact(false), m_bottom_contact(false),
 
45
    m_middle_contact(false), m_is_phantom(false), m_is_artificial(false),
 
46
    m_weak_collisions(false)
47
47
{
48
48
 
49
49
} // physical_item_attributes::physical_item_attributes()