From d489393ff8acdc9bf28cc75a7d33d9f5009603e8 Mon Sep 17 00:00:00 2001 From: konstin Date: Wed, 4 Feb 2015 19:31:11 +0100 Subject: [PATCH 001/331] set "Adjust Lights" base position to camera position --- src/utils/debug.cpp | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/src/utils/debug.cpp b/src/utils/debug.cpp index 72e869954..8e03f0cce 100644 --- a/src/utils/debug.cpp +++ b/src/utils/debug.cpp @@ -153,24 +153,14 @@ void addAttachment(Attachment::AttachmentType type) * nitro emitters) */ LightNode* findNearestLight() { - World* world = World::getWorld(); - if (!world) return NULL; - AbstractKart* player_kart = NULL; - for (unsigned int i = 0; i < world->getNumKarts(); i++) - { - AbstractKart *kart = world->getKart(i); - if (kart->getController()->isPlayerController()) - player_kart = kart; - } - - if (!player_kart) - { - Log::error("Debug", "No player kart found."); + Camera* camera = Camera::getActiveCamera(); + if (camera == NULL) { + Log::error("[Debug Menu]", "No camera found."); return NULL; } - core::vector3df kart_pos = player_kart->getNode()->getAbsolutePosition(); + core::vector3df cam_pos = camera->getCameraSceneNode()->getAbsolutePosition(); LightNode* nearest = 0; float nearest_dist = 1000000.0; // big enough for (unsigned int i = 0; i < irr_driver->getLights().size(); i++) @@ -182,10 +172,10 @@ LightNode* findNearestLight() continue; core::vector3df light_pos = light->getAbsolutePosition(); - if ( kart_pos.getDistanceFrom(light_pos) < nearest_dist) + if ( cam_pos.getDistanceFrom(light_pos) < nearest_dist) { nearest = irr_driver->getLights()[i]; - nearest_dist = kart_pos.getDistanceFrom(light_pos); + nearest_dist = cam_pos.getDistanceFrom(light_pos); } } From 6805ead6e6767067bc2e8a14f992b9ada0200e23 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Tue, 24 Feb 2015 23:23:35 +0100 Subject: [PATCH 002/331] Add tooltip to explain usage of per-player handicaps --- src/guiengine/skin.cpp | 6 ++++++ src/states_screens/options_screen_ui.cpp | 1 + 2 files changed, 7 insertions(+) diff --git a/src/guiengine/skin.cpp b/src/guiengine/skin.cpp index ad77c23b8..c917eddf3 100644 --- a/src/guiengine/skin.cpp +++ b/src/guiengine/skin.cpp @@ -1609,6 +1609,12 @@ void Skin::drawCheckBox(const core::recti &rect, Widget* widget, bool focused) 0 /* no clipping */, 0, true /* alpha */); } + + if (focused && widget->hasTooltip()) + { + m_tooltip_at_mouse.push_back(true); + m_tooltips.push_back(widget); + } } // drawCheckBox // ---------------------------------------------------------------------------- diff --git a/src/states_screens/options_screen_ui.cpp b/src/states_screens/options_screen_ui.cpp index f1c2e8728..7789226d1 100644 --- a/src/states_screens/options_screen_ui.cpp +++ b/src/states_screens/options_screen_ui.cpp @@ -151,6 +151,7 @@ void OptionsScreenUI::init() CheckBoxWidget* difficulty = getWidget("perPlayerDifficulty"); assert( difficulty != NULL ); difficulty->setState( UserConfigParams::m_per_player_difficulty ); + difficulty->setTooltip(_("Handicap stronger players in the kart selection")); CheckBoxWidget* show_login = getWidget("show-login"); assert( show_login!= NULL ); From f9919c462f6ef32da062f08466a4ff9d289302cd Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 1 Mar 2015 22:30:33 +0100 Subject: [PATCH 003/331] Improve tooltip text and center tooltips --- src/guiengine/skin.cpp | 2 +- src/states_screens/options_screen_ui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guiengine/skin.cpp b/src/guiengine/skin.cpp index c917eddf3..4e4583c44 100644 --- a/src/guiengine/skin.cpp +++ b/src/guiengine/skin.cpp @@ -1849,7 +1849,7 @@ void Skin::drawTooltip(Widget* widget, bool atMouse) if (atMouse) { pos = irr_driver->getDevice()->getCursorControl()->getPosition() - + core::position2di(15, 15); + + core::position2di(10 - size.Width / 2, 20); } core::recti r(pos, size); diff --git a/src/states_screens/options_screen_ui.cpp b/src/states_screens/options_screen_ui.cpp index 7789226d1..f885987b7 100644 --- a/src/states_screens/options_screen_ui.cpp +++ b/src/states_screens/options_screen_ui.cpp @@ -151,7 +151,7 @@ void OptionsScreenUI::init() CheckBoxWidget* difficulty = getWidget("perPlayerDifficulty"); assert( difficulty != NULL ); difficulty->setState( UserConfigParams::m_per_player_difficulty ); - difficulty->setTooltip(_("Handicap stronger players in the kart selection")); + difficulty->setTooltip(_("Players can select handicapped (more difficult) profiles on the kart selection screen")); CheckBoxWidget* show_login = getWidget("show-login"); assert( show_login!= NULL ); From 1ddc4afc14d371fe6fa7e1147b0f40ca9fd9d12d Mon Sep 17 00:00:00 2001 From: Kacper Date: Sat, 7 Mar 2015 20:56:44 +0100 Subject: [PATCH 004/331] Sliders react to mouse --- src/guiengine/skin.cpp | 14 +++++++++ src/guiengine/widgets/spinner_widget.cpp | 40 ++++++++++++++++++++++++ src/guiengine/widgets/spinner_widget.hpp | 8 +++++ 3 files changed, 62 insertions(+) diff --git a/src/guiengine/skin.cpp b/src/guiengine/skin.cpp index f948ea28d..7834f6b46 100644 --- a/src/guiengine/skin.cpp +++ b/src/guiengine/skin.cpp @@ -1378,6 +1378,20 @@ void Skin::drawSpinnerBody(const core::recti &rect, Widget* widget, 0 /* no clipping */, 0, true /* alpha */); + // ---- Set value by mouse position + const float max_value = (float)(w->getMax() - w->getMin()) / + (w->getMax() - w->getMin()); + + const core::recti mouse_area(rect.UpperLeftCorner.X + handle_size, + rect.UpperLeftCorner.Y, + rect.UpperLeftCorner.X + handle_size + + (int)((widget->m_w + - 2*handle_size)*max_value), + rect.UpperLeftCorner.Y + widget->m_h); + + const core::position2di mouse_position + = irr_driver->getDevice()->getCursorControl()->getPosition(); + q->setValuesByMouse(mouse_position, mouse_area); } if (focused && widget->hasTooltip()) diff --git a/src/guiengine/widgets/spinner_widget.cpp b/src/guiengine/widgets/spinner_widget.cpp index 1a740830f..bbb21522d 100644 --- a/src/guiengine/widgets/spinner_widget.cpp +++ b/src/guiengine/widgets/spinner_widget.cpp @@ -46,6 +46,7 @@ SpinnerWidget::SpinnerWidget(const bool gauge) : Widget(WTYPE_SPINNER) m_supports_multiplayer = true; m_value = -1; m_use_background_color=false; + m_allow_mouse_change = false; m_spinner_widget_player_id=-1; m_min = 0; m_max = 999; @@ -432,3 +433,42 @@ void SpinnerWidget::setCustomText(const core::stringw& text) } } +// ----------------------------------------------------------------------------- + +void SpinnerWidget::setValuesByMouse(const core::position2di & mouse_position, + const core::recti & body_rect) +{ + if(body_rect.isPointInside(mouse_position)) + { + if (m_allow_mouse_change) + { + float exact_hover = (float)((mouse_position.X - + body_rect.UpperLeftCorner.X) / + (float)body_rect.getWidth()) * (m_max-m_min) + 0.5f; + + int new_value = ((exact_hover * (m_max-m_min)) / + (m_max-m_min))+m_min; + //Log::info("SpinnerWidget", "mouse_value: %d (%f)", + // mouse_value, exact_hover); + + if (new_value > m_max) new_value = m_max; + if (new_value < m_min) new_value = m_min; + + setValue(new_value); + EventHandler::get()->processGUIAction( + PlayerAction::PA_MENU_SELECT, + 1, Input::MAX_VALUE, + Input::IT_MOUSEBUTTON, false); //process the changes + m_allow_mouse_change = false; + } + } +} + +// ----------------------------------------------------------------------------- + +void SpinnerWidget::onClick() +{ + m_allow_mouse_change = true; +} + +// ----------------------------------------------------------------------------- diff --git a/src/guiengine/widgets/spinner_widget.hpp b/src/guiengine/widgets/spinner_widget.hpp index 02a908788..12bd61bae 100644 --- a/src/guiengine/widgets/spinner_widget.hpp +++ b/src/guiengine/widgets/spinner_widget.hpp @@ -59,6 +59,7 @@ namespace GUIEngine int m_spinner_widget_player_id; bool m_use_background_color; + bool m_allow_mouse_change; /** If each value the spinner can take has an associated text, this vector will be non-empty */ std::vector m_labels; @@ -91,6 +92,9 @@ namespace GUIEngine /** \brief implementing method from base class Widget */ virtual EventPropagation leftPressed(const int playerID); + + /** \brief implementing method from base class Widget */ + virtual void onClick(); /** When inferring widget size from its label length, this method will be called to * if/how much space must be added to the raw label's size for the widget to be large enough */ @@ -197,6 +201,10 @@ namespace GUIEngine /** Display custom text in spinner */ void setCustomText(const core::stringw& text); + + /** Set m_value based on mouse position */ + void setValuesByMouse(const core::position2di & mouse_position, + const core::recti & body_rect); }; } From 2aef2468970e84bd959d39a8ddeff42c05f2a517 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 18 Jan 2015 14:40:29 +0100 Subject: [PATCH 005/331] Fix #1824 - Hardware stats sends duplicate data --- src/config/hardware_stats.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/config/hardware_stats.cpp b/src/config/hardware_stats.cpp index 6780fa5ad..900733b64 100644 --- a/src/config/hardware_stats.cpp +++ b/src/config/hardware_stats.cpp @@ -313,9 +313,6 @@ void reportHardwareStats() std::string vendor, renderer, full_version; irr_driver->getOpenGLData(&vendor, &renderer, &full_version); - json.add("GL_VENDOR", vendor ); - json.add("GL_RENDERER", renderer ); - json.add("GL_VERSION", full_version ); json.add("gfx_drv_ver", "OpenGL "+vendor); std::string card_name = vendor; From ded59ac81e41a084851386f91766780169cf299d Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 18 Jan 2015 23:40:56 +0100 Subject: [PATCH 006/331] Fix #1822 - Addons xml file contains wrong xmlns path --- src/addons/addons_manager.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/addons/addons_manager.cpp b/src/addons/addons_manager.cpp index 3fe7ff51f..f5f7e8d5f 100644 --- a/src/addons/addons_manager.cpp +++ b/src/addons/addons_manager.cpp @@ -583,13 +583,19 @@ bool AddonsManager::uninstall(const Addon &addon) */ void AddonsManager::saveInstalled() { - //Put the addons in the xml file - //Manually because the irrlicht xml writer doesn't seem finished, FIXME ? + // Put the addons in the xml file + // Manually because the irrlicht xml writer doesn't seem finished, FIXME ? std::ofstream xml_installed(m_file_installed.c_str()); - //write the header of the xml file + // Write the header of the xml file xml_installed << "" << std::endl; - xml_installed << "" + + // Get server address from config + std::string server = UserConfigParams::m_server_addons; + // Find the third slash (end of the domain) + std::string::size_type index = server.find('/'); + index = server.find('/', index + 2) + 1; // Omit one slash + xml_installed << "" << std::endl; for(unsigned int i = 0; i < m_addons_list.getData().size(); i++) From b21f6f4782286164e316e64fd24d75457a334e44 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 8 Mar 2015 15:14:31 +0100 Subject: [PATCH 007/331] Improve handling of mouse movement for the first person camera, especially at low framerates --- src/graphics/camera.cpp | 1 + src/input/input_manager.cpp | 10 ++++------ src/input/input_manager.hpp | 4 ---- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/graphics/camera.cpp b/src/graphics/camera.cpp index 465950bc1..388ad47eb 100644 --- a/src/graphics/camera.cpp +++ b/src/graphics/camera.cpp @@ -489,6 +489,7 @@ void Camera::update(float dt) // - the kart should not be visible, but it works) m_camera->setNearValue(27.0); } + // Update the first person camera else if (UserConfigParams::m_camera_debug == 3) { core::vector3df direction(m_camera->getTarget() - m_camera->getPosition()); diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index c4beeafb5..e2f233904 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -67,8 +67,7 @@ using GUIEngine::EVENT_BLOCK; /** Initialise input */ InputManager::InputManager() : m_mode(BOOTSTRAP), - m_mouse_val_x(-1), m_mouse_val_y(-1), - m_mouse_reset(0) + m_mouse_val_x(-1), m_mouse_val_y(-1) { m_device_manager = new DeviceManager(); m_device_manager->initialize(); @@ -977,11 +976,13 @@ EventPropagation InputManager::input(const SEvent& event) UserConfigParams::m_fpscam_direction_speed; float mouse_y = ((float) diff_y) * -UserConfigParams::m_fpscam_direction_speed; + // No movement the first time it's used // At the moment there's also a hard limit because the mouse // gets reset to the middle of the screen and sometimes there // are more events fired than expected. - if (m_mouse_val_x != -1 && m_mouse_reset <= 0) + if (m_mouse_val_x != -1 && + (diff_x + diff_y) < 100 && (diff_x + diff_y) > -100) { // Rotate camera core::vector3df up(cam->getUpVector()); @@ -1016,8 +1017,6 @@ EventPropagation InputManager::input(const SEvent& event) irr_driver->getDevice()->getCursorControl()->setPosition(mid_x, mid_y); m_mouse_val_x = mid_x; m_mouse_val_y = mid_y; - // Ignore the next 2 movements - m_mouse_reset = 2; } else { @@ -1029,7 +1028,6 @@ EventPropagation InputManager::input(const SEvent& event) { m_mouse_val_x = event.MouseInput.X; m_mouse_val_y = event.MouseInput.Y; - --m_mouse_reset; } return EVENT_BLOCK; } diff --git a/src/input/input_manager.hpp b/src/input/input_manager.hpp index 3be9879c7..e931c68c5 100644 --- a/src/input/input_manager.hpp +++ b/src/input/input_manager.hpp @@ -67,10 +67,6 @@ private: * makes the mouse behave like an analog axis on a gamepad/joystick. */ int m_mouse_val_x, m_mouse_val_y; - /** To detect mouse events that are not caused by the user but by resetting - the mouse position to the center of the screen. - If it's not 0, the movement is ignored and the value is decreased. */ - int m_mouse_reset; void dispatchInput(Input::InputType, int deviceID, int btnID, Input::AxisDirection direction, int value); From 5b8834b48fea4bf5081de360d6ec729420a6c2ce Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 8 Mar 2015 17:15:50 +0100 Subject: [PATCH 008/331] Add possibility to attach the fps camera to the kart --- src/graphics/camera.cpp | 77 ++++++++++++++++++++++++++++++++++++- src/graphics/camera.hpp | 25 ++++++++++++ src/input/input_manager.cpp | 22 +---------- src/utils/debug.cpp | 7 ++++ 4 files changed, 109 insertions(+), 22 deletions(-) diff --git a/src/graphics/camera.cpp b/src/graphics/camera.cpp index 388ad47eb..0416badbc 100644 --- a/src/graphics/camera.cpp +++ b/src/graphics/camera.cpp @@ -50,6 +50,7 @@ Camera* Camera::s_active_camera = NULL; Camera::Camera(int camera_index, AbstractKart* kart) : m_kart(NULL) { m_smooth = false; + m_attached = false; m_mode = CM_NORMAL; m_index = camera_index; m_original_kart = kart; @@ -91,6 +92,11 @@ Camera::Camera(int camera_index, AbstractKart* kart) : m_kart(NULL) m_target_direction = core::vector3df(0, 0, 1); m_target_up_vector = core::vector3df(0, 1, 0); m_direction_velocity = core::vector3df(0, 0, 0); + + m_local_position = core::vector3df(0, 0, 0); + m_local_direction = core::vector3df(0, 0, 1); + m_local_up = core::vector3df(0, 1, 0); + m_angular_velocity = 0; m_target_angular_velocity = 0; m_max_velocity = 15; @@ -108,6 +114,42 @@ Camera::~Camera() s_active_camera = NULL; } // ~Camera +//----------------------------------------------------------------------------- +/** Applies mouse movement to the first person camera. + * \param x The horizontal difference of the mouse position. + * \param y The vertical difference of the mouse position. + */ +void Camera::applyMouseMovement (float x, float y) +{ + core::vector3df direction(m_target_direction); + core::vector3df up(m_camera->getUpVector()); + + // Set local values if the camera is attached to the kart + if (m_attached) + up = m_local_up; + + core::vector3df side(direction.crossProduct(up)); + + direction.normalize(); + up.normalize(); + core::quaternion quat; + quat.fromAngleAxis(x, up); + + core::quaternion quat_y; + quat_y.fromAngleAxis(y, side); + quat *= quat_y; + + direction = quat * direction; + m_target_direction = direction; + + // Don't do that because it looks ugly and is bad to handle ;) + /*side = direction.crossProduct(up); + // Compute new up vector + up = side.crossProduct(direction); + up.normalize(); + cam->setUpVector(up);*/ +} + //----------------------------------------------------------------------------- /** Changes the owner of this camera to the new kart. * \param new_kart The new kart to use this camera. @@ -495,6 +537,15 @@ void Camera::update(float dt) core::vector3df direction(m_camera->getTarget() - m_camera->getPosition()); core::vector3df up(m_camera->getUpVector()); core::vector3df side(direction.crossProduct(up)); + core::vector3df pos = m_camera->getPosition(); + + // Set local values if the camera is attached to the kart + if (m_attached) + { + direction = m_local_direction; + up = m_local_up; + pos = m_local_position; + } // Update smooth movement if (m_smooth) @@ -567,9 +618,33 @@ void Camera::update(float dt) // Move camera core::vector3df movement(direction * m_lin_velocity.Z + up * m_lin_velocity.Y + side * m_lin_velocity.X); - core::vector3df pos = m_camera->getPosition(); pos = pos + movement * dt; + if (m_attached) + { + // Save current values + m_local_position = pos; + m_local_direction = direction; + m_local_up = up; + + // Move the camera with the kart + btTransform t = m_kart->getTrans(); + if (stk_config->m_camera_follow_skid && + m_kart->getSkidding()->getVisualSkidRotation() != 0) + { + // If the camera should follow the graphical skid, add the + // visual rotation to the relative vector: + btQuaternion q(m_kart->getSkidding()->getVisualSkidRotation(), 0, 0); + t.setBasis(t.getBasis() * btMatrix3x3(q)); + } + pos = Vec3(t(Vec3(pos))).toIrrVector(); + + btQuaternion q = t.getRotation(); + btMatrix3x3 mat(q); + direction = Vec3(mat * Vec3(direction)).toIrrVector(); + up = Vec3(mat * Vec3(up)).toIrrVector(); + } + // Set camera attributes m_camera->setPosition(pos); m_camera->setTarget(pos + direction); diff --git a/src/graphics/camera.hpp b/src/graphics/camera.hpp index 071e8db91..deca13935 100644 --- a/src/graphics/camera.hpp +++ b/src/graphics/camera.hpp @@ -113,6 +113,10 @@ private: /** Smooth acceleration with the first person camera. */ bool m_smooth; + /** Attache the first person camera to a kart. + That means moving the kart also moves the camera. */ + bool m_attached; + /** The speed at which the up-vector rotates, only used for the first person camera. */ float m_angular_velocity; @@ -138,6 +142,15 @@ private: /** The up vector the camera should have, only used for the first person camera. */ core::vector3df m_target_up_vector; + /** Save the local position if the first person camera is attached to the kart. */ + core::vector3df m_local_position; + + /** Save the local direction if the first person camera is attached to the kart. */ + core::vector3df m_local_direction; + + /** Save the local up vector if the first person camera is attached to the kart. */ + core::vector3df m_local_up; + /** List of all cameras. */ static std::vector m_all_cameras; @@ -269,6 +282,10 @@ public: /** Returns the kart to which this camera is attached. */ AbstractKart* getKart() { return m_kart; } + // ------------------------------------------------------------------------ + /** Applies mouse movement to the first person camera. */ + void applyMouseMovement (float x, float y); + // ------------------------------------------------------------------------ /** Sets if the first person camera should be moved smooth. */ void setSmoothMovement (bool value) { m_smooth = value; } @@ -277,6 +294,14 @@ public: /** If the first person camera should be moved smooth. */ bool getSmoothMovement () { return m_smooth; } + // ------------------------------------------------------------------------ + /** Sets if the first person camera should be moved with the kart. */ + void setAttachedFpsCam (bool value) { m_attached = value; } + + // ------------------------------------------------------------------------ + /** If the first person camera should be moved with the kart. */ + bool getAttachedFpsCam () { return m_attached; } + // ------------------------------------------------------------------------ /** Sets the angular velocity for this camera. */ void setMaximumVelocity (float vel) { m_max_velocity = vel; } diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index e2f233904..a9e5b95b4 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -985,27 +985,7 @@ EventPropagation InputManager::input(const SEvent& event) (diff_x + diff_y) < 100 && (diff_x + diff_y) > -100) { // Rotate camera - core::vector3df up(cam->getUpVector()); - core::vector3df direction(cam->getDirection()); - core::vector3df side(direction.crossProduct(up)); - direction.normalize(); - up.normalize(); - core::quaternion quat; - quat.fromAngleAxis(mouse_x, up); - - core::quaternion quat_y; - quat_y.fromAngleAxis(mouse_y, side); - quat *= quat_y; - - direction = quat * direction; - cam->setDirection(direction); - side = direction.crossProduct(up); - - // Compute new up vector - /*up = side.crossProduct(direction); - up.normalize(); - // Don't do that because it looks ugly and is bad to handle ;) - cam->setUpVector(up);*/ + cam->applyMouseMovement(mouse_x, mouse_y); // Reset mouse position to the middle of the screen when // the mouse is far away diff --git a/src/utils/debug.cpp b/src/utils/debug.cpp index 72e869954..eab8c828a 100644 --- a/src/utils/debug.cpp +++ b/src/utils/debug.cpp @@ -97,6 +97,7 @@ enum DebugMenuCommand DEBUG_GUI_CAM_WHEEL, DEBUG_GUI_CAM_NORMAL, DEBUG_GUI_CAM_SMOOTH, + DEBUG_GUI_CAM_ATTACH, DEBUG_HIDE_KARTS, DEBUG_THROTTLE_FPS, DEBUG_VISUAL_VALUES, @@ -260,6 +261,7 @@ bool onEvent(const SEvent &event) sub->addItem(L"First person view", DEBUG_GUI_CAM_FREE); sub->addItem(L"Normal view", DEBUG_GUI_CAM_NORMAL); sub->addItem(L"Toggle smooth camera", DEBUG_GUI_CAM_SMOOTH); + sub->addItem(L"Attach fps camera to kart", DEBUG_GUI_CAM_ATTACH); mnu->addItem(L"Adjust values", DEBUG_VISUAL_VALUES); @@ -539,6 +541,11 @@ bool onEvent(const SEvent &event) Camera *cam = Camera::getActiveCamera(); cam->setSmoothMovement(!cam->getSmoothMovement()); } + else if (cmdID == DEBUG_GUI_CAM_ATTACH) + { + Camera *cam = Camera::getActiveCamera(); + cam->setAttachedFpsCam(!cam->getAttachedFpsCam()); + } else if (cmdID == DEBUG_PRINT_START_POS) { if(!world) return false; From 0a7234df84b9d38889fc54ab117d6c7d59ff0784 Mon Sep 17 00:00:00 2001 From: Deve Date: Mon, 9 Mar 2015 18:44:10 +0100 Subject: [PATCH 009/331] Allow to use shift + tab to switch to previous field. Thanks to xXFlorianXx. --- src/input/input_manager.cpp | 20 ++++++++++++++++---- src/input/input_manager.hpp | 3 ++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index a9e5b95b4..4b88fb744 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -544,7 +544,8 @@ int InputManager::getPlayerKeyboardID() const */ void InputManager::dispatchInput(Input::InputType type, int deviceID, int button, - Input::AxisDirection axisDirection, int value) + Input::AxisDirection axisDirection, int value, + bool shift_mask) { // Act different in input sensing mode. if (m_mode == INPUT_SENSE_KEYBOARD || @@ -597,7 +598,17 @@ void InputManager::dispatchInput(Input::InputType type, int deviceID, else if (button == KEY_RIGHT) action = PA_MENU_RIGHT; else if (button == KEY_SPACE) action = PA_MENU_SELECT; else if (button == KEY_RETURN) action = PA_MENU_SELECT; - else if (button == KEY_TAB) action = PA_MENU_DOWN; + else if (button == KEY_TAB) + { + if (shift_mask) + { + action = PA_MENU_UP; + } + else + { + action = PA_MENU_DOWN; + } + } if (button == KEY_RETURN && GUIEngine::ModalDialog::isADialogActive()) { @@ -922,7 +933,8 @@ EventPropagation InputManager::input(const SEvent& event) const bool wasInTextBox = GUIEngine::isWithinATextBox(); dispatchInput(Input::IT_KEYBOARD, event.KeyInput.Char, key, - Input::AD_POSITIVE, Input::MAX_VALUE); + Input::AD_POSITIVE, Input::MAX_VALUE, + event.KeyInput.Shift); // if this action took us into a text box, don't let event continue // (FIXME not the cleanest solution) @@ -951,7 +963,7 @@ EventPropagation InputManager::input(const SEvent& event) } dispatchInput(Input::IT_KEYBOARD, event.KeyInput.Char, key, - Input::AD_POSITIVE, 0); + Input::AD_POSITIVE, 0, event.KeyInput.Shift); return EVENT_BLOCK; // Don't propagate key up events } } diff --git a/src/input/input_manager.hpp b/src/input/input_manager.hpp index e931c68c5..3c3518a09 100644 --- a/src/input/input_manager.hpp +++ b/src/input/input_manager.hpp @@ -69,7 +69,8 @@ private: int m_mouse_val_x, m_mouse_val_y; void dispatchInput(Input::InputType, int deviceID, int btnID, - Input::AxisDirection direction, int value); + Input::AxisDirection direction, int value, + bool shift_mask = false); void handleStaticAction(int id0, int value); void inputSensing(Input::InputType type, int deviceID, int btnID, Input::AxisDirection axisDirection, int value); From acd1628528e2d080221bef60ace1af59f0d1568f Mon Sep 17 00:00:00 2001 From: Kacper Date: Mon, 9 Mar 2015 19:22:10 +0100 Subject: [PATCH 010/331] Moved slider's code to onClick() --- src/guiengine/skin.cpp | 14 ------ src/guiengine/widgets/spinner_widget.cpp | 61 +++++++++++++----------- src/guiengine/widgets/spinner_widget.hpp | 5 -- 3 files changed, 33 insertions(+), 47 deletions(-) diff --git a/src/guiengine/skin.cpp b/src/guiengine/skin.cpp index 7834f6b46..f948ea28d 100644 --- a/src/guiengine/skin.cpp +++ b/src/guiengine/skin.cpp @@ -1378,20 +1378,6 @@ void Skin::drawSpinnerBody(const core::recti &rect, Widget* widget, 0 /* no clipping */, 0, true /* alpha */); - // ---- Set value by mouse position - const float max_value = (float)(w->getMax() - w->getMin()) / - (w->getMax() - w->getMin()); - - const core::recti mouse_area(rect.UpperLeftCorner.X + handle_size, - rect.UpperLeftCorner.Y, - rect.UpperLeftCorner.X + handle_size + - (int)((widget->m_w - - 2*handle_size)*max_value), - rect.UpperLeftCorner.Y + widget->m_h); - - const core::position2di mouse_position - = irr_driver->getDevice()->getCursorControl()->getPosition(); - q->setValuesByMouse(mouse_position, mouse_area); } if (focused && widget->hasTooltip()) diff --git a/src/guiengine/widgets/spinner_widget.cpp b/src/guiengine/widgets/spinner_widget.cpp index bbb21522d..9b9670d18 100644 --- a/src/guiengine/widgets/spinner_widget.cpp +++ b/src/guiengine/widgets/spinner_widget.cpp @@ -46,7 +46,6 @@ SpinnerWidget::SpinnerWidget(const bool gauge) : Widget(WTYPE_SPINNER) m_supports_multiplayer = true; m_value = -1; m_use_background_color=false; - m_allow_mouse_change = false; m_spinner_widget_player_id=-1; m_min = 0; m_max = 999; @@ -435,40 +434,46 @@ void SpinnerWidget::setCustomText(const core::stringw& text) // ----------------------------------------------------------------------------- -void SpinnerWidget::setValuesByMouse(const core::position2di & mouse_position, - const core::recti & body_rect) +void SpinnerWidget::onClick() { + int x = m_x; + int y = m_y; + + if (m_parent != NULL) + { + x += m_parent->getAbsolutePosition().UpperLeftCorner.X; + y += m_parent->getAbsolutePosition().UpperLeftCorner.Y; + } + + if (m_children[1].m_deactivated) return; + + if (m_children[1].m_properties[PROP_ID] != "spinnerbody" + || !isGauge()) { return; } + + const core::position2di mouse_position + = irr_driver->getDevice()->getCursorControl()->getPosition(); + + const int handle_size = m_h*110/128; //need params->m_left_border and params->getImage()->getSize().Height + + rect body_rect = rect(x+handle_size, + y, + x+handle_size + (m_w-2*handle_size), + y+handle_size); + if(body_rect.isPointInside(mouse_position)) { - if (m_allow_mouse_change) - { - float exact_hover = (float)((mouse_position.X - - body_rect.UpperLeftCorner.X) / - (float)body_rect.getWidth()) * (m_max-m_min) + 0.5f; + float exact_hover = (float)((mouse_position.X - + body_rect.UpperLeftCorner.X) / + (float)body_rect.getWidth()) * (m_max-m_min) + 0.5f; - int new_value = ((exact_hover * (m_max-m_min)) / - (m_max-m_min))+m_min; - //Log::info("SpinnerWidget", "mouse_value: %d (%f)", - // mouse_value, exact_hover); + int new_value = ((exact_hover * (m_max-m_min)) / + (m_max-m_min))+m_min; - if (new_value > m_max) new_value = m_max; - if (new_value < m_min) new_value = m_min; + if (new_value > m_max) new_value = m_max; + if (new_value < m_min) new_value = m_min; - setValue(new_value); - EventHandler::get()->processGUIAction( - PlayerAction::PA_MENU_SELECT, - 1, Input::MAX_VALUE, - Input::IT_MOUSEBUTTON, false); //process the changes - m_allow_mouse_change = false; - } + setValue(new_value); } } // ----------------------------------------------------------------------------- - -void SpinnerWidget::onClick() -{ - m_allow_mouse_change = true; -} - -// ----------------------------------------------------------------------------- diff --git a/src/guiengine/widgets/spinner_widget.hpp b/src/guiengine/widgets/spinner_widget.hpp index 12bd61bae..2347ab3d0 100644 --- a/src/guiengine/widgets/spinner_widget.hpp +++ b/src/guiengine/widgets/spinner_widget.hpp @@ -59,7 +59,6 @@ namespace GUIEngine int m_spinner_widget_player_id; bool m_use_background_color; - bool m_allow_mouse_change; /** If each value the spinner can take has an associated text, this vector will be non-empty */ std::vector m_labels; @@ -201,10 +200,6 @@ namespace GUIEngine /** Display custom text in spinner */ void setCustomText(const core::stringw& text); - - /** Set m_value based on mouse position */ - void setValuesByMouse(const core::position2di & mouse_position, - const core::recti & body_rect); }; } From 17f7f84597eb887408f7a5abb64a04c9ee5cb6c2 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 10 Mar 2015 16:52:07 +0100 Subject: [PATCH 011/331] Replaced hardcoded values --- src/guiengine/widgets/spinner_widget.cpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/guiengine/widgets/spinner_widget.cpp b/src/guiengine/widgets/spinner_widget.cpp index 9b9670d18..6423df23f 100644 --- a/src/guiengine/widgets/spinner_widget.cpp +++ b/src/guiengine/widgets/spinner_widget.cpp @@ -445,20 +445,18 @@ void SpinnerWidget::onClick() y += m_parent->getAbsolutePosition().UpperLeftCorner.Y; } - if (m_children[1].m_deactivated) return; - - if (m_children[1].m_properties[PROP_ID] != "spinnerbody" - || !isGauge()) { return; } + if (m_children[1].m_deactivated || + m_children[1].m_properties[PROP_ID] != "spinnerbody" || + !isGauge()) + { + return; + } const core::position2di mouse_position = irr_driver->getDevice()->getCursorControl()->getPosition(); - const int handle_size = m_h*110/128; //need params->m_left_border and params->getImage()->getSize().Height - - rect body_rect = rect(x+handle_size, - y, - x+handle_size + (m_w-2*handle_size), - y+handle_size); + core::recti body_rect + = m_children[1].getIrrlichtElement()->getAbsolutePosition(); if(body_rect.isPointInside(mouse_position)) { From 886c0e3e9f72c34f7c67d04a0ac09cf5fcef0add Mon Sep 17 00:00:00 2001 From: hiker Date: Wed, 11 Mar 2015 08:04:35 +1100 Subject: [PATCH 012/331] Make sure there is always enough push back from kart-terrain collisions to avoid karts getting stuck into the wall. --- src/karts/kart.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp index b4a396570..4877cc7d8 100644 --- a/src/karts/kart.cpp +++ b/src/karts/kart.cpp @@ -1825,8 +1825,11 @@ void Kart::crashed(const Material *m, const Vec3 &normal) impulse.normalize(); else impulse = Vec3(0, 0, -1); // Arbitrary - // impulse depends of kart speed - and speed can be negative - impulse *= sqrt(fabsf(getSpeed())) + // Impulse depends of kart speed - and speed can be negative + // If the speed is too low, karts can still get stuck into a wall + // so make sure there is always enough impulse to avoid this + float abs_speed = fabsf(getSpeed()); + impulse *= ( abs_speed<10 ? 10.0f : sqrt(abs_speed) ) * m_kart_properties->getCollisionTerrainImpulse(); m_bounce_back_time = 0.2f; m_vehicle->setTimedCentralImpulse(0.1f, impulse); From a3105509047a7ec202e9128fe5a16f0707e5e5fe Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Tue, 10 Mar 2015 19:42:56 -0400 Subject: [PATCH 013/331] Small tweaks to pull request, remove unused code, use roundf instead of adding +0.5 --- src/guiengine/widgets/spinner_widget.cpp | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/guiengine/widgets/spinner_widget.cpp b/src/guiengine/widgets/spinner_widget.cpp index 6423df23f..568bd5958 100644 --- a/src/guiengine/widgets/spinner_widget.cpp +++ b/src/guiengine/widgets/spinner_widget.cpp @@ -436,15 +436,6 @@ void SpinnerWidget::setCustomText(const core::stringw& text) void SpinnerWidget::onClick() { - int x = m_x; - int y = m_y; - - if (m_parent != NULL) - { - x += m_parent->getAbsolutePosition().UpperLeftCorner.X; - y += m_parent->getAbsolutePosition().UpperLeftCorner.Y; - } - if (m_children[1].m_deactivated || m_children[1].m_properties[PROP_ID] != "spinnerbody" || !isGauge()) @@ -458,14 +449,15 @@ void SpinnerWidget::onClick() core::recti body_rect = m_children[1].getIrrlichtElement()->getAbsolutePosition(); - if(body_rect.isPointInside(mouse_position)) + if (body_rect.isPointInside(mouse_position)) { float exact_hover = (float)((mouse_position.X - body_rect.UpperLeftCorner.X) / - (float)body_rect.getWidth()) * (m_max-m_min) + 0.5f; + (float)body_rect.getWidth()) * (m_max-m_min); - int new_value = ((exact_hover * (m_max-m_min)) / - (m_max-m_min))+m_min; + float new_value_f = ((exact_hover * (m_max - m_min)) / + (m_max - m_min)) + m_min; + int new_value = (int)roundf(new_value_f); if (new_value > m_max) new_value = m_max; if (new_value < m_min) new_value = m_min; From ce9ba74f57dc063c83934357b82fa38351a52afa Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Tue, 10 Mar 2015 19:56:10 -0400 Subject: [PATCH 014/331] Tweak tooltip to only display if the mouse is actually over the checkbox --- src/guiengine/skin.cpp | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/src/guiengine/skin.cpp b/src/guiengine/skin.cpp index 91e8bf7fc..71a99f5a5 100644 --- a/src/guiengine/skin.cpp +++ b/src/guiengine/skin.cpp @@ -1374,9 +1374,9 @@ void Skin::drawSpinnerBody(const core::recti &rect, Widget* widget, const core::recti source_area(0, 0, texture_w, texture_h); draw2DImage(texture, - dest_area, source_area, - 0 /* no clipping */, 0, - true /* alpha */); + dest_area, source_area, + 0 /* no clipping */, 0, + true /* alpha */); } @@ -1598,21 +1598,28 @@ void Skin::drawCheckBox(const core::recti &rect, Widget* widget, bool focused) SColor(100,255,255,255), SColor(100,255,255,255), SColor(100,255,255,255) }; - draw2DImage( texture, rect, source_area, - 0 /* no clipping */, colors, - true /* alpha */); + draw2DImage(texture, rect, source_area, + 0 /* no clipping */, colors, + true /* alpha */); } else { - draw2DImage( texture, rect, source_area, - 0 /* no clipping */, 0, - true /* alpha */); + draw2DImage(texture, rect, source_area, + 0 /* no clipping */, 0, + true /* alpha */); } + if (focused && widget->hasTooltip()) { - m_tooltip_at_mouse.push_back(true); - m_tooltips.push_back(widget); + const core::position2di mouse_position = + irr_driver->getDevice()->getCursorControl()->getPosition(); + + if (rect.isPointInside(mouse_position)) + { + m_tooltip_at_mouse.push_back(true); + m_tooltips.push_back(widget); + } } } // drawCheckBox From 55934bd8f14888d4c658ab55a3c35dfd0e95c961 Mon Sep 17 00:00:00 2001 From: hiker Date: Wed, 11 Mar 2015 14:45:25 +1100 Subject: [PATCH 015/331] Fixed cmake on VS (before cmake create would fail, but redoing the configure and then generating the project would still work, so with an existing project this error was not detected). --- lib/libpng/CMakeLists.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/libpng/CMakeLists.txt b/lib/libpng/CMakeLists.txt index 1450173c0..2165db6a2 100644 --- a/lib/libpng/CMakeLists.txt +++ b/lib/libpng/CMakeLists.txt @@ -43,9 +43,14 @@ if(APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch i386 -F/Library/Frameworks") endif() -# needed packages -find_package(ZLIB REQUIRED) -include_directories(${ZLIB_INCLUDE_DIR}) +# Needed packages. Since WIN32 (except mingw) uses the included zlib +# version, find_package would fail with an error message. Since +# all variables are already set in this case, the find package +# is actually not necessary in this case, so just ignore it +if(NOT WIN32 OR MINGW) + find_package(ZLIB REQUIRED) + include_directories(${ZLIB_INCLUDE_DIR}) +endif() if(NOT WIN32) find_library(M_LIBRARY From 98671b620d79018056b29212fa0bacd59297052f Mon Sep 17 00:00:00 2001 From: hiker Date: Wed, 11 Mar 2015 16:45:20 +1100 Subject: [PATCH 016/331] Added some support to enable a legacy (2.1) opengl context. Many things don't work with that atm (rtt, some transparent textures). Needs to be manually set in the user's config file. --- lib/irrlicht/include/SIrrCreationParameters.h | 7 + .../source/Irrlicht/COpenGLDriver.cpp | 155 +++++++++--------- src/config/user_config.hpp | 4 + src/graphics/central_settings.cpp | 3 +- src/graphics/irr_driver.cpp | 1 + 5 files changed, 93 insertions(+), 77 deletions(-) diff --git a/lib/irrlicht/include/SIrrCreationParameters.h b/lib/irrlicht/include/SIrrCreationParameters.h index a0bc65277..ec36a5ad4 100644 --- a/lib/irrlicht/include/SIrrCreationParameters.h +++ b/lib/irrlicht/include/SIrrCreationParameters.h @@ -47,6 +47,7 @@ namespace irr DisplayAdapter(0), DriverMultithreaded(false), UsePerformanceTimer(true), + ForceLegacyDevice(false), SDK_version_do_not_use(IRRLICHT_SDK_VERSION) { } @@ -79,6 +80,7 @@ namespace irr DriverMultithreaded = other.DriverMultithreaded; DisplayAdapter = other.DisplayAdapter; UsePerformanceTimer = other.UsePerformanceTimer; + ForceLegacyDevice = other.ForceLegacyDevice; return *this; } @@ -289,6 +291,11 @@ namespace irr */ bool UsePerformanceTimer; + //! For opengl: forces a opengl 2.1 context, even if an + /** opengl 3 context is available. + */ + bool ForceLegacyDevice; + //! Don't use or change this parameter. /** Always set it to IRRLICHT_SDK_VERSION, which is done by default. This is needed for sdk version checks. */ diff --git a/lib/irrlicht/source/Irrlicht/COpenGLDriver.cpp b/lib/irrlicht/source/Irrlicht/COpenGLDriver.cpp index 79dd45682..f2f527ec1 100644 --- a/lib/irrlicht/source/Irrlicht/COpenGLDriver.cpp +++ b/lib/irrlicht/source/Irrlicht/COpenGLDriver.cpp @@ -83,93 +83,96 @@ bool COpenGLDriver::changeRenderContext(const SExposedVideoData& videoData, CIrr static PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribs_ARB; -static HGLRC getMeAGLContext(HDC HDc) +static HGLRC getMeAGLContext(HDC HDc, bool force_legacy_context) { - useCoreContext = true; - HGLRC hrc = 0; - int ctx44debug[] = + if (!force_legacy_context) { - WGL_CONTEXT_MAJOR_VERSION_ARB, 4, - WGL_CONTEXT_MINOR_VERSION_ARB, 3, - WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB, - WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, - 0 - }; + useCoreContext = true; + HGLRC hrc = 0; + int ctx44debug[] = + { + WGL_CONTEXT_MAJOR_VERSION_ARB, 4, + WGL_CONTEXT_MINOR_VERSION_ARB, 3, + WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, + 0 + }; - int ctx44[] = - { - WGL_CONTEXT_MAJOR_VERSION_ARB, 4, - WGL_CONTEXT_MINOR_VERSION_ARB, 3, - WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, - 0 - }; + int ctx44[] = + { + WGL_CONTEXT_MAJOR_VERSION_ARB, 4, + WGL_CONTEXT_MINOR_VERSION_ARB, 3, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, + 0 + }; - hrc = wglCreateContextAttribs_ARB(HDc, 0, GLContextDebugBit ? ctx44debug : ctx44); - if (hrc) - return hrc; + hrc = wglCreateContextAttribs_ARB(HDc, 0, GLContextDebugBit ? ctx44debug : ctx44); + if (hrc) + return hrc; - int ctx40debug[] = - { - WGL_CONTEXT_MAJOR_VERSION_ARB, 4, - WGL_CONTEXT_MINOR_VERSION_ARB, 0, - WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB, - WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, - 0 - }; + int ctx40debug[] = + { + WGL_CONTEXT_MAJOR_VERSION_ARB, 4, + WGL_CONTEXT_MINOR_VERSION_ARB, 0, + WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, + 0 + }; - int ctx40[] = - { - WGL_CONTEXT_MAJOR_VERSION_ARB, 4, - WGL_CONTEXT_MINOR_VERSION_ARB, 0, - WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, - 0 - }; + int ctx40[] = + { + WGL_CONTEXT_MAJOR_VERSION_ARB, 4, + WGL_CONTEXT_MINOR_VERSION_ARB, 0, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, + 0 + }; - hrc = wglCreateContextAttribs_ARB(HDc, 0, GLContextDebugBit ? ctx40debug : ctx40); - if (hrc) - return hrc; + hrc = wglCreateContextAttribs_ARB(HDc, 0, GLContextDebugBit ? ctx40debug : ctx40); + if (hrc) + return hrc; - int ctx33debug[] = - { - WGL_CONTEXT_MAJOR_VERSION_ARB, 3, - WGL_CONTEXT_MINOR_VERSION_ARB, 3, - WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB, - WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, - 0 - }; + int ctx33debug[] = + { + WGL_CONTEXT_MAJOR_VERSION_ARB, 3, + WGL_CONTEXT_MINOR_VERSION_ARB, 3, + WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, + 0 + }; - int ctx33[] = - { - WGL_CONTEXT_MAJOR_VERSION_ARB, 3, - WGL_CONTEXT_MINOR_VERSION_ARB, 3, - WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, - 0 - }; + int ctx33[] = + { + WGL_CONTEXT_MAJOR_VERSION_ARB, 3, + WGL_CONTEXT_MINOR_VERSION_ARB, 3, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, + 0 + }; - hrc = wglCreateContextAttribs_ARB(HDc, 0, GLContextDebugBit ? ctx33debug : ctx33); - if (hrc) - return hrc; + hrc = wglCreateContextAttribs_ARB(HDc, 0, GLContextDebugBit ? ctx33debug : ctx33); + if (hrc) + return hrc; - int ctx31debug[] = - { - WGL_CONTEXT_MAJOR_VERSION_ARB, 3, - WGL_CONTEXT_MINOR_VERSION_ARB, 1, - WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB, - WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, - 0 - }; + int ctx31debug[] = + { + WGL_CONTEXT_MAJOR_VERSION_ARB, 3, + WGL_CONTEXT_MINOR_VERSION_ARB, 1, + WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, + 0 + }; - int ctx31[] = - { - WGL_CONTEXT_MAJOR_VERSION_ARB, 3, - WGL_CONTEXT_MINOR_VERSION_ARB, 1, - WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, - 0 - }; + int ctx31[] = + { + WGL_CONTEXT_MAJOR_VERSION_ARB, 3, + WGL_CONTEXT_MINOR_VERSION_ARB, 1, + WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB, + 0 + }; - hrc = wglCreateContextAttribs_ARB(HDc, 0, GLContextDebugBit ? ctx31debug : ctx31); - if (hrc) - return hrc; + hrc = wglCreateContextAttribs_ARB(HDc, 0, GLContextDebugBit ? ctx31debug : ctx31); + if (hrc) + return hrc; + } // if (!force_legacy_context) useCoreContext = false; int legacyctx[] = @@ -178,7 +181,7 @@ static HGLRC getMeAGLContext(HDC HDc) WGL_CONTEXT_MINOR_VERSION_ARB, 1, 0 }; - hrc = wglCreateContextAttribs_ARB(HDc, 0, legacyctx); + HGLRC hrc = wglCreateContextAttribs_ARB(HDc, 0, legacyctx); if (hrc) return hrc; @@ -510,7 +513,7 @@ bool COpenGLDriver::initDriver(CIrrDeviceWin32* device) #ifdef WGL_ARB_create_context if (wglCreateContextAttribs_ARB) { - hrc = getMeAGLContext(HDc); + hrc = getMeAGLContext(HDc, Params.ForceLegacyDevice); } else #endif diff --git a/src/config/user_config.hpp b/src/config/user_config.hpp index 9ef1df30f..4b75e1e23 100644 --- a/src/config/user_config.hpp +++ b/src/config/user_config.hpp @@ -440,6 +440,10 @@ namespace UserConfigParams PARAM_PREFIX IntUserConfigParam m_max_fps PARAM_DEFAULT( IntUserConfigParam(120, "max_fps", &m_video_group, "Maximum fps, should be at least 60") ); + PARAM_PREFIX BoolUserConfigParam m_force_legacy_device + PARAM_DEFAULT(BoolUserConfigParam(false, "force_legacy_device", + &m_video_group, "Force OpenGL 2 context, even if OpenGL 3 is available.")); + PARAM_PREFIX BoolUserConfigParam m_texture_compression PARAM_DEFAULT(BoolUserConfigParam(true, "enable_texture_compression", &m_video_group, "Enable Texture Compression")); diff --git a/src/graphics/central_settings.cpp b/src/graphics/central_settings.cpp index 3b793a3f0..b4b7bc888 100644 --- a/src/graphics/central_settings.cpp +++ b/src/graphics/central_settings.cpp @@ -46,7 +46,8 @@ void CentralVideoSettings::init() Log::info("IrrDriver", "OpenGL renderer: %s", glGetString(GL_RENDERER)); Log::info("IrrDriver", "OpenGL version string: %s", glGetString(GL_VERSION)); } - m_glsl = (m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 1)); + m_glsl = (m_gl_major_version > 3 || (m_gl_major_version == 3 && m_gl_minor_version >= 1)) + && !UserConfigParams::m_force_legacy_device; if (!ProfileWorld::isNoGraphics()) initGL(); diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index c2995d097..3db7aebb3 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -397,6 +397,7 @@ void IrrDriver::initDevice() m_device = NULL; SIrrlichtCreationParameters params; + params.ForceLegacyDevice = UserConfigParams::m_force_legacy_device; // Try 32 and, upon failure, 24 then 16 bit per pixels for (int bits=32; bits>15; bits -=8) From 41a67d425063fa3d290e2f9332f58d2400d68a40 Mon Sep 17 00:00:00 2001 From: hiker Date: Thu, 12 Mar 2015 10:33:42 +1100 Subject: [PATCH 017/331] Added privacy notice to 'enable internet' dialog; used redirecting URLs for privacy and terms&conditions. --- src/main.cpp | 4 ++-- src/states_screens/dialogs/registration_dialog.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index d9557221b..8e4a8685f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -395,7 +395,6 @@ void handleXmasMode() */ bool isEasterMode(int day, int month, int year, int before_after_days) { - bool ears = false; switch (UserConfigParams::m_easter_ear_mode) { case 0: @@ -1201,6 +1200,7 @@ void askForInternetPermission() new MessageDialog(_("SuperTuxKart may connect to a server " "to download add-ons and notify you of updates. We also collect " "anonymous hardware statistics to help with the development of STK. " + "Please read our privacy policy at http://privacy.supertuxkart.net. " "Would you like this feature to be enabled? (To change this setting " "at a later time, go to options, select tab " "'User Interface', and edit \"Connect to the " @@ -1651,4 +1651,4 @@ void runUnitTests() assert( isEasterMode(22, 3, 2016, 5)); assert(!isEasterMode(21, 3, 2016, 5)); UserConfigParams::m_easter_ear_mode = saved_easter_mode; -} // unitTesting \ No newline at end of file +} // unitTesting diff --git a/src/states_screens/dialogs/registration_dialog.cpp b/src/states_screens/dialogs/registration_dialog.cpp index 83b39567f..c876fc910 100644 --- a/src/states_screens/dialogs/registration_dialog.cpp +++ b/src/states_screens/dialogs/registration_dialog.cpp @@ -46,7 +46,7 @@ RegistrationDialog::RegistrationDialog() : L"these terms. If you have any questions or comments regarding these " L"terms, one of the members of the development team would gladly " L"assist you.", - L"http://supertuxkart.net/terms"); + L"http://terms.supertuxkart.net"); terms_widget->setText(terms, false); // showRegistrationTerms(); From ad68d9a866bf28ccfa7367104f139048a27642ff Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Wed, 11 Mar 2015 20:28:35 -0400 Subject: [PATCH 018/331] Warn if OpenGL is too old --- src/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index d9557221b..9208ab611 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -152,6 +152,7 @@ #include "config/player_profile.hpp" #include "config/stk_config.hpp" #include "config/user_config.hpp" +#include "graphics/central_settings.hpp" #include "graphics/graphics_restrictions.hpp" #include "graphics/irr_driver.hpp" #include "graphics/material_manager.hpp" @@ -1368,6 +1369,14 @@ int main(int argc, char *argv[] ) /*from queue*/ true); GUIEngine::DialogQueue::get()->pushDialog(dialog); } + else if (!CVS->isGLSL()) + { + MessageDialog *dialog = + new MessageDialog(_("Your OpenGL version appears to be too old. Please verify " + "if an update for your video driver is available. SuperTuxKart requires OpenGL 3.1 or better."), + /*from queue*/ true); + GUIEngine::DialogQueue::get()->pushDialog(dialog); + } // Note that on the very first run of STK internet status is set to // "not asked", so the report will only be sent in the next run. From 443d57019699cbd6363894499e1257cc50efd757 Mon Sep 17 00:00:00 2001 From: hiker Date: Thu, 12 Mar 2015 11:47:38 +1100 Subject: [PATCH 019/331] Make legacy somewhat working on linux (just in case). --- .../source/Irrlicht/CIrrDeviceLinux.cpp | 42 ++++++++++--------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp b/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp index 6846e7912..361f38311 100644 --- a/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp +++ b/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp @@ -498,7 +498,7 @@ void IrrPrintXGrabError(int grabResult, const c8 * grabCommand ) } #endif -static GLXContext getMeAGLContext(Display *display, GLXFBConfig glxFBConfig) +static GLXContext getMeAGLContext(Display *display, GLXFBConfig glxFBConfig, bool force_legacy_context) { GLXContext Context; irr::video::useCoreContext = true; @@ -557,25 +557,29 @@ static GLXContext getMeAGLContext(Display *display, GLXFBConfig glxFBConfig) glXCreateContextAttribsARB = (PFNGLXCREATECONTEXTATTRIBSARBPROC) glXGetProcAddressARB( (const GLubyte *) "glXCreateContextAttribsARB" ); - // create core 4.3 context - os::Printer::log("Creating OpenGL 4.3 context...", ELL_INFORMATION); - Context = glXCreateContextAttribsARB(display, glxFBConfig, 0, True, GLContextDebugBit ? core43ctxdebug : core43ctx); - if (!XErrorSignaled) - return Context; + if(!force_legacy_context) + { + // create core 4.3 context + os::Printer::log("Creating OpenGL 4.3 context...", ELL_INFORMATION); + Context = glXCreateContextAttribsARB(display, glxFBConfig, 0, True, GLContextDebugBit ? core43ctxdebug : core43ctx); + if (!XErrorSignaled) + return Context; + + XErrorSignaled = false; + // create core 3.3 context + os::Printer::log("Creating OpenGL 3.3 context...", ELL_INFORMATION); + Context = glXCreateContextAttribsARB(display, glxFBConfig, 0, True, GLContextDebugBit ? core33ctxdebug : core33ctx); + if (!XErrorSignaled) + return Context; - XErrorSignaled = false; - // create core 3.3 context - os::Printer::log("Creating OpenGL 3.3 context...", ELL_INFORMATION); - Context = glXCreateContextAttribsARB(display, glxFBConfig, 0, True, GLContextDebugBit ? core33ctxdebug : core33ctx); - if (!XErrorSignaled) - return Context; + XErrorSignaled = false; + // create core 3.1 context (for older mesa) + os::Printer::log("Creating OpenGL 3.1 context...", ELL_INFORMATION); + Context = glXCreateContextAttribsARB(display, glxFBConfig, 0, True, GLContextDebugBit ? core31ctxdebug : core31ctx); + if (!XErrorSignaled) + return Context; - XErrorSignaled = false; - // create core 3.1 context (for older mesa) - os::Printer::log("Creating OpenGL 3.1 context...", ELL_INFORMATION); - Context = glXCreateContextAttribsARB(display, glxFBConfig, 0, True, GLContextDebugBit ? core31ctxdebug : core31ctx); - if (!XErrorSignaled) - return Context; + } // if(force_legacy_context) XErrorSignaled = false; irr::video::useCoreContext = false; @@ -999,7 +1003,7 @@ bool CIrrDeviceLinux::createWindow() glxWin=glXCreateWindow(display,glxFBConfig,window,NULL); if (glxWin) { - Context = getMeAGLContext(display, glxFBConfig); + Context = getMeAGLContext(display, glxFBConfig, CreationParams.ForceLegacyDevice); if (Context) { if (!glXMakeContextCurrent(display, glxWin, glxWin, Context)) From 06ca68275eda6991faeca833592e7234780c8a5b Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 13 Mar 2015 10:12:43 +1100 Subject: [PATCH 020/331] Fixed typo. --- src/race/race_manager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/race/race_manager.hpp b/src/race/race_manager.hpp index 01078df8f..050e043ee 100644 --- a/src/race/race_manager.hpp +++ b/src/race/race_manager.hpp @@ -120,7 +120,7 @@ public: // ------------------------------------------------------------------------ /** True if the AI should have additional abbilities, e.g. - * nolik will get special bubble gums in the final challenge. */ + * nolok will get special bubble gums in the final challenge. */ enum AISuperPower { SUPERPOWER_NONE = 0, From 7e635660879e75ed326b0abdf3e68739d30ff737 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Thu, 12 Mar 2015 19:50:09 -0400 Subject: [PATCH 021/331] Upgrade minimum track version requirement --- data/stk_config.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/stk_config.xml b/data/stk_config.xml index 80b558770..7f1674394 100644 --- a/data/stk_config.xml +++ b/data/stk_config.xml @@ -7,7 +7,7 @@ - + >j_17a(Lh2vr8qz^k6P-7Znw@E)z>O96d}>3Qnp z5~W9Bc;JdxgPE-4PbHkZ(iq{a#@=l!1?7yho)r-w%C6Y|#Y+NHKjRIN-m#iXLe3E9 z=iH7*A>-doX?mhz5rjdqPRKsuc{!lFmT8YuJHJ2AzQ=h#a}}58_c8Y)23MkdXhqLk znkIt$=DzVOxQy`U>|`qbaWCW7wTv@BLtXLU&xwZmj%X`4Png5pEE?+H4j<%wi?Crr zsQ7yi*|9iFR#I`b=F&e;8FHT*kWG51F6nVp2hC4#j#zU-M5TbR-h7kItJpy~NA;k$ zyL<*W^mjj9-Z8d)cn5px#Fx)p(3pwr0LKZ}w{dX~y75RstXL{jhLzLAWfKYO(^0kr zo@_k6GFVK#nxh63A;-WwpR$Hom>nUAqro7w)pYxih@VM8am4gr&mnK zMNn*N%y>^e0kt%UM2>Bha;dB~=84~X+a>jsY1(VNfk<<|av|Y0?#&{EEaIGVG?D#_ zKGft>ppwpqln$=_S;Ttpi?{U0lSviipa;ZD9%M^=aXQP=B_^5?jaV9y8zP8jT&tw-@~RKdGH6;8)=GVL3O#c5k4| z;l!?iV{W@dAG~r0VJ91-N0fmOSEy36Yq%~SoN*K|*o`J<*{YL+74WUR;sj9%-sZ*f zT+)2v0XcOd%G{58*zZ_$T^rvpmWPF_z`eMlVwfC^hpGhsb**{8fyZK*eI*vgl;zWS zFE;f8oo_|snKDt5CZSCUEy?MW=h;*W*7m-(oI5Ur8j-I%+xR`nav*{CPw?N{=Lg9> zKZjp=8w3is6o3HOE8@U-pg^Ga!Fylti!YZ8G>AWN87?>aRvF9~$_g!JhNl{5VPaHL zY~FqfQcQxA!idxn`%Sch<_529CWb~OOdVF8ZVlVpnD)*GXypsXn|s<4tI7O3xPk4> zB&SnnhUy4cC--sYrWhF;B?!0u-10K5`wQnvlH4# zFODi&t4aWz0ZD@w7c87r$>6&VCLxSMI+^UQs$}x$eI0V$Ln3YXPxqg zHt=tq236VUtfc&H0qsrQ2~q=XTpfz}my*T{pu>|3RvfH^PD_c->@+dYD=JRlLRj~E zwPPZ8xFrKxDC8YGzx=MK%m=7z-2ILah+MToo%cUAc34C@$yQKB5UdMtLr~1m^Ft+m z{kF#w==2MXR^X@e6?~vL^wdVGryK~ z0Rk^N8Q5-*W-C!3=r&WO=;;1r6Q&5|m-ZS^s+ zgp0^3;HrNB&4KJh&B!W^y$PVG7qAs(S^9nEX>*8{#eqF0XU!3fs-4iBO8_-Ke(85( z;yQs|<_`2O_Q9hC=r3@W7Vrn-2~N=ZAnOm+c_t%yrLyIEB_K~0gOU8O?#p*~99ybC z8)hh~-Wrn9ls>pV%4N>pEm9j+eh&h(8_W(id2;Ro0JwDMGH9?piP_c-3Ag8*g|My1 z48zfA`pm3*BeUqqU-AS&DKV1l&mF2W8)~WG{MrkNzm@!0s4>aeyN6#}+*re)5>%I8 z62Jl}NzIr1$`5`xy>sOU*A*2Pv%ru*{C``)x*DvORKFeePFY|bF746qpAwi_zEN7A z?nLa@0Pi`>M>P4dITEU(;jGA)u78?eibY)G9(!N=|nFXo{`90)01y{r)F zq8a)9jI0ZZ3A|MR(Kfzbam@#dWV86TXh&sVlVnM#l=xSZoo9X;72Rx}HD>$Q8G!lM z0bKQG6Mj1(!ne^*t9f~)+~31;n~*sD32Gp66HwyP?(qhTTf%*9BXry4HIj|kNrdd zgVhywc5oXGe|12zgh15~!ulIQeu)a6X6N+*$8Z9Af}35JgLU`=Xy#phYe{HQERHHg zm3|ySfS=;tk$2Xdxcq=ylX%j= zcq+JkOUOA9e}g zb~_c(&O!!pYVuYwy1K^AMO}s@%d7aQ!@n>D!i?m#N*col2`S+d!9-tJM1#TdtK2TD zBCiMh%$wW&kOwU(IgMcZrJRbXR@;pEURI*gq$VAFSo4}TZWzm9dl%Vq!gfPrMmlU| zEdSkQYRYJE=AABkU-(x8!F6UCuY&<=vo&;gW5dj7uA!VvC7wrU3n-TZ;#ct-m4=Py zo6$9*mjrW$V$5cgL7020QoBV>KtD~tqZPW#$!#lgVVpzx*)OlK1k=6M7vGy#xW#U= z7XYDreNE(u%zWd=ZTlrFJ8u41ht^A80P*hqwBAUC+7!K7^~YxCa{y8%EHI% zqNY#iAPtE}3!c}F*qNjpmn)Lp!F_z63l{=-vZ^#<0DS1NoJQ zQTEq~T(FyvXUw11;kWA)XXjfBi#mN>lp9!+LN`Ws-J_iSCPDVu*-#=aq%ItO3IpiE z#!H|fnXlK_nu@U-fQtp;{ND?y@WzTq@;_++zKD0fh_RHMiFO(3|0lm7trE13Vik6x(_j47@|-6q9Zq9ap*yVrNfo(W>4{dH)NxW zNxN69v$VAa10( zdj_tX9j$b%Ss%RMc@yNmKIcw*SY{nPJlAXK#n)=s5+~DeZzD+(A^v*7beIbg(v8NO z{`bVYF2RuK|KLEilwTO8PY044jU3vfSU(~B9lLfcFeL^a z7|48w9a%rq&$WA)`Ys-y9W1{kcobwx)4~7uBR@b2Oxh~STdJ)6NnA&xW1?g$=q6QC z?*%3F2XXlG2C7=dvX|Kt-1>o+0H6u{EjaJgy|G8$r8o#z)uO5o z3_S6CMj{5uGj~`b(fxD#+|HM*%OgnsBhZ1_}L!S0tVmUBwz)~{xW0l!jrpqoNrsTxnWCP~OaMRlJ>)qCyu;@WjS3=POLgZYn8mR3*p2|EpZjo;A|&GJ?@N-U^2 z{7soL{-!lI#O4Ana1t2+c~kX-^LQxSfY;9op>Z$f23*R*VmIs`H`o#Yl|ibX~1 zWNFMwzpOB8psvayLM#z|T#Wmd7p`;5_X6<0`(>kl+u3**Z!mtXV)$R}omW&-P2BYp z5D;ln6cIuw(v*&XgeDMrG15Co?>zKoD59WLL+`yvKzi?}^b$Z!=pe-a0YXPX;LY=0 zeAn-D|DNl!PMKM2X8wEsW;Rpt3wXELF{RL1mE?=e@l0%x?V!l7t6#cnD(O=6H@p6P z<)aQA4@`8@?YZvcc5W&FFc7ON(EveGS>a5HF4E2E%U;L^1aSVGN=KSjSorkw{mH8+ zCd!r1$eptU*IdAXaCk0# zQJJVfV$1<3$V~@)OW#}De4;DQhbCs|r^qxp@z*0jiNuy1cnR@u~SjHwX2 zn5}QXZOd4bLPzGLCP7AbO`OfVvhW3H|6Q<0zIS)%VmYPp301hesL@nT?<_X+tdXYo zWmlH%rx%Nc%QmEC5+q#ju7HCX0U6)@vb8-nlICo@LH0+FT`KX)%T7lIXBIBLhjSv z5`gou>k%z`sdVDanqNq%Ix}*3bAOe!qCI7u_-*&>2xWrJb!{6=zR2R>u++?jp1h)) zQ;i)$;vsN**EV#!g{4vVdlp&*y64^c)@Z7+_iWZR!pa#wga10VUvuZsH4$rX2Q=LMvnz+Q? z2ISyBGL49Q3Vf3bvzKREGE4iU-kn-VKyQA_>+dIY zN7lrceNTx{=Pa;xiQfvFwd7>C-|=Tq0e{x7NLq1eFHFfp>Vl=kbWZddi7z%|h33Z` za0EJc561Mc!+Nywc(SID>93tF16#q|c8L7|X`O~x3%t526ONLIYWALZrMdQUUO6#Q z`pJYA9&0hUldv%M1wu@7c_G{-bCL~{Tk9&SxJ6HP*HzR2ohZPE5Bn1L$gEqS+ZF?_p6w81~ zw}R;gk7bk5y)wfl>5FD$`?pI zoU4&e@m_AFzYN^n$?(6tvPBa1` zfPxRTJTCd|pdwcIL~or}-@q^3Fp38FTa|x82Lt#EX)*X#_xewF;{0J968RWb{drP8 z``N)fuyzU?!p(vCAg{B@KY)u=t#mbE02Fg^b+Y9K%1WoMj3k^? zAXuK{m9FJZy{gj>*$MqMji^2fzLF)oiBrqHbE5Joc+J0=`^%!S=>&0LDxUqrhX1SY zlCV;18bclVqyD^*IlSzZUvxX~4L<4vLb&|6d*ZE!nJ{gLc z@2@I<9X_(`AL;k^%QX0#?`G#28BjoBX}{wTySqJJ}wJ!7>G{C+4B zh|a*A9NtCg%7e6AQWE8%%bG&fM3XIq&>Z|j<(JNU3q*VuPxI{{kWV?TwwI7EQzNQJ z#f~}LL=RxxKUQ9e#4HZ*_6I2X-9Nv0c;s(eRyE*B0)jGd-HRm>lJR z`K6>>XDeOShK0Gioue8pP94V9iX^U&ZRo8x*P2owsawGhIuV%-yW&pHm$SBYi52O< zq@X0%o8!B2A6iPZRtoHC(hB#%U^rICLMJ=ESIu6LvW?DqJkyU?S$59-=dJt~nIw($ zj{#K9Wx)RD*(f%rjoy-*UtoF%GU-v2q46(tCU3WPfmkaXDiOPH|94EtvJ|os3 z1!j$fbTkRwR6M|Z@TY)l-*kvz9kocTaUX44T6D#}w;lcKtEe7irBsGN11^4=0Tv?= zoc^i>?iKF*73!vH5Gg~k(#CTZ;zK6|cd5xbne*qWzmz_o{FVgZmG)$RYWjsr&am>g z6zr2#bNHwXEW&_J5oJ?*(T9ENU4K-pMhw87&v< zkpx!&VDa&lW@8*V4_90Io#=~ilIi?qrWsLo{^Ekq-KTqqd*utv$c-aR4X?kG8%1bI zNznZld*xp*rX+dfs&{UnHmEi^;Uzev<$9k2jpYF>mdoR{jm&f%)Le$D8)6@%rAHm`dHf z{$JWBo^A~7h;gFe1H8VmEIq5D%GYv$%!2>H`+E%~W8_R#-S~VK2x|aqHU-$lf^kgz}QyR;3YOfz1G|F z+`Ye}O}yIwg-k_F6G0I|B3Va+YGlv-sC$7|`0YYzen>~u1p}I(H%UlSm}2KfR#glP zJfvw-dlG^>)*WpJM?vs1S=Cvk301yJvGXi?pW()J5}SkHCKx0#_|X|eq7)LXDA)1z zft<7%@UApl-t)!0MLFH&%}1NLuzjLZcpqm=I$ssVCxY)lyDiK8E6ZnRy~?$Px<0sr zFo^t(1W?Bg$r>0er7HQO;GnvFoJ&-n{38c~|EUyQAm@+E$BC7TeOKbR0CdSVSuCKXrq1|LzruiK~{+h|px)j(G! z?e$;FHFU1JCRk7L{}_b7ZP#hk`2w}O*OYXT*9L<%{*yM6^AgW5GAk<1);sWeXX zil<#`-jx;_&`GoEi9W|X@5;}G5ud(%ntEsjd{%PP&7;r_pQxdm7^J2Y+v73;a3`6> zs5>xn9s2FgGx*blyXMx&0S~gZ9JbU+*Y0oPZiSoGJ`1#fmd(w)MYTQZU(n3P*&1fBdB1!IMY-bo!I5d z1IQ&thGsPzaIIt}F>l9Q>Qw$dN3^~Yc@ZTUvuiUrH-XtkIfZ;-Ohv}BP!5?T-axC875;#S$%-nMG&stGvalZceo@Jmn zp~{|3j(XLQAKexU2+izRpCP`%6f_2dFHgLzh!2wE9DdlKnCx*s>>9ix*K0h!^72JP zH^>3fZ(y#;5yn;Y#^L z2gFw`3op82gDGWcFBW~}?W{OIsNA)V-u48ChbV6pQd0>GQ;I{&N@e?pq=9}l6rhUt zGGwb&72$jsd}XKmXt=IcqTIu^1yrJ?%1ff9h8Yl= zaI8!9`=Kdzd!G$fdISZ~TSyHB`N=9(e$o|?inBxg>9cPb@m1Cj*Iw{at-5Ugs89`; zr8O|pS~~mz#$Ry_iJv-(uNrfP^-*^6qvoV)?7ALLTQ>54b-^?=CCJ-!Eo_m0fnDU4 zLeIPkMN8)JdEN;v3#NE6H$>34P)0t?R%+#TE}REyo=CJ=@SyxK0CFsY0vHKT`WFKFV2< z8Xt35+X@5oRZDXG;5F%Xb;oB8$;l_cx)wSOi(zRpC{6eJUOg-RV^9$;lRE`7)Wrb; zMWlsrK|QR4c!DN$GO3EuPZB%t7A?f4`Hi)!)N&w#^Zc&8Om>Y-adkc(xQ3Lsa)SC% zPcLzLXl$-KKPh%OiPRJ&zIW+bx!&#Xr4@#y17X<5hwZGw{^4E?c6^QJU|ON@l&WTL z-0S>^OHJX^j(2|Lu)*SLl=03)dkc=U-D7ML4;|wS){(nCrqOq!FzN0Yym;Wi$q*3PgM8kHI%&oKlB-XsqQoZnO&3shQ zYG@bt>5(bGH>jPT57&ME%e?sW4RcdsvV+Al54Z;=s79Hc!I?V6gowA)M6zonE3O7$ z?p=d>?b*|@%ogB`E_@Ul8`77|E;I$l|fy0btMlBoLwddzfJ2BSKHo}a8_5u z+AQfgZXz6r&9;P=)3oKO2DQ{}&Tb`M5jaZs!lVo&)J z5Hp-|GBBl%64xD%9kfLyw=&fgdOqLHrIp6!O=2Z&Bp>y5&YkW5nmODs@L`X-_z3Did58T!lawh@eZ^{^Q7OjlxHi8gvi7RV2Dot<9`Nw*qV~T49Xg zSE2X0ZAI`^*yVcj?`=9mtGI4l@kPhXhltOwZ&A&hNr46*)Ng#9GbjCovAt#tuldr0 z4y5Y6@k#qz)z>pqx_3kRJfbGN#DMP*XM^cfUpI4@S^q#_TipHdMw~~A=aCQ zjm=q!paI94CcCEsak=U3ur zLrtH_xkQM_I4ka0Rk_r=8+h$^Tu$4ZfR0rMBk}#ALRes@#1~zTuUng`{R&HIQd#EF zB0H(+U-nA(SO-SbJ<~*P*sVd=;DQ}5eZ`y^IYHmyyioZSKe_I?3u(+UvExf2uZ}ic zuY~VXtJO_NlhF7-nEKw?Zv>)SSn8T!jzEem^WIgXIJ~DD!g|%Qvxj#_@v_JQwan(` zU$0q3M{maqTc*F~5(OP4sEOTHF4?|}6*V~@@+O{afAhW5)NNI4Ox@93)$UKERso$9 zXCAUsZ}@ak6%kyT$o#oWt;O$&>-e!> zl$L#AW(94Z2Exu8roDp*j0ejP&D%RIQ3u8d@G03*tFOTb{BC;@>znD?rMaX4Y#H!q zY=H6X*8_O=TxV)hNih-`#_$7}&Ggdjetikftg6q76k}t}qxa|5xSN58N9yuFr7GCrpxrEx>cLyhYNX~%3? zW!?998-7+%W8D#fFFVymKv>pNjWaol~e9_NB=ZEbZ}US>VCZrM$U#K~RME zOt$O6wG-+#F>)R%GR{|5v0v&XzyGEFhbLDhH}eShNs{KG-AC*G8-{S*t%=i@Zv$4j z@fTkK6X$<|p(M7814wIw&kyrnudmdu#AU|;AB^KVIiM7b*Or5`6;!SV>M|ctohgwPo9uE@l zoH%tn39hOFn}*%Mxkb+WH>s*n*&iV2VJ-a?%LEWfl27`DveOfkgEAH_0 z_`4Ln#ORfPX3(SYO_BX5vfQm`H_!T`hW8eTgy&tqBVqAdBKhsq>4(ViTlLXYqvC^txtt4wB)eTgdVu%&TcRZQAXS6lV;S3}3WvY5-*)sCFS_1%4Ke}(sr;mGM6=v4 zn-KPx_wuI|lE+#64yqJ7FL@(y@gdc(9Phi0mN}>rIX1Yx4+A-460^T?{W1@LBbmiP zqsSo3B=(2$hkr_;<%vgvoSW3#FFjn-`Vx-!zL|c;P4(xm%iq_N>^jwGU(j?~xGgK_ zcbum1=Q^ZXcEl2Jak;vojW~DfX`n}AUoy{~3>|oQb6!hes~fkp|17XeYI3k$S(5#b zei39?T8%TQ7nnaW0pz`%)~_kDEDlu55pTbE#k3OtA@IuRZMIUJlw1%aZ&zuFGlNuQ zuVSqQ1s`_6I?urBc}`~L!u7#<0s2-;R^5=Bh!|dcCHSu#p?uJSE=SF$zvj_@Ze@0P zvPlQXdP1vp*H$Cc zEuO^7UNL=@@g)Yw+)hooY6L^4c1<{%I2!<<&% z0^op7-+DHbRtm$IQ7$5OV@KaqdWf7gb+h02s1)bR9&mZDR0)sz_IVpX@+Y_BUABVivp;o{rkKrQTY< z>2kCVrq`I81qF8E^Wy2e#f2}9fta|IaFaL2GLz14Zeyg9_bdi-VBYZ};qpqToc?64 zDjM>!S)(FL5#id~9b%2-1s;t4mUoPTLWm)xn$U@oD!IE&!F_R@p3khZ$tN6PFX&dj zV{_}}q~+`EzZ*`F@wJ+o+!)QIodyhMEV@4i6upKulM^3QT@oO9e|PUT;_%#u-eTSc zU>|iWSNU-8d()epCep1^ntZUEr+YhqsUSoS5Y zBSC@m?`&=CuGfBoTpo>c<+|pHV97uCW*v3fFY-#I98|mN8yIYdJlzawSf5>3$a}d4 zSMIn-Li{47#aTo!OjG{GErib8VmKvLZoFmtb~*^fRE_6!Ef}8}IwA$$4@uV>ZrX@0 z3qJKyhBUumrO5nbNu{7dNyMVK(vZ@BGNwfC&gkD8_|HT0m)o9u$MbLWw7Xs;&}%C1 ztbW^72-I8mAoZmPmp{wgYAkEGvx>5i3oSNLFHms;5yYxJSOkNG7lHd#@aQ2Yui|s7 zw@}fza3CAbJ+Sy?N%U~DxVc^<%PocS;5dd`yl6alvQuaQ73i?rReB^^swWJ&7^2u0;Goo{UU*Lg!QA7WmM=X-bcoP zAN^bX=d7lL7d>O75!Bf#S+G9VS0m7*aK$$2S5SHm69Rk_H>@~zC{Fw*`l=qI9nqd8 z8v3cqGs-uZR*ya72bU$er2tvx^S$Mx-+sZ30q1gy-OQ_euzp1;utee&7Yg~`IzXq5U64Mu={H2rR?*D5HQq|hn!M*~al^ni_2o>pG$ z&9RN-(o45FL!`}~L7m{syKWB{sVBh6y{$)kHjUv%n7PQR=#VlwRfRVNt68bv{;e6! z%?1K<$$>DZ*><5AVDQz|QT1f_F$Q715C7$z`bgi^});UBSOyXMWM(q$Fp5d7& z=*RUZ`+)TAv*3avfvtw!Au7WcGTZHwedhIk7FZwL0iTyN_q(~f3&x$<$ZWq$nEr8t zq#O2{7%UMn?2Z#}$LYx;rS9s|-Mb(g69I~aYl&n0udPJ6Uac8358u%W8!@wK)eUq5%oBqICvE5N6 zPipr4v;&9;eKVron?mX3tLtxv8v?&tKF^l|mu^G=;?!5#B)LrP-#XM|SWleUO$8ck zUE1q0qR}G+2*E@q5P;>USXEwL)4iw2PBHRwObAND7`ptLwUK^y*n+3zRvREFI9G9 zBV$f;C7j56q-4=@1DZYWH;Qa^`|=NrVVTV`H6Vu;du_=rfv7InxLTKIcCo$nI(UoF!WHyFdHY@69L?(FgS6UkcPiATA!y-zijnnrx66Lj_QSvcmWxqTZjr z-SC>c7V&g4j{8HxvfW2~fZpt@yuFE68a30F^)m*5=N7={E8p<16=UA9zfO3MITG|0 zRSk!3QOpDnxw#idJa3xxsfI|vpR!o{mm(R$V00W?ReKzW&T}`_yGiq<@3py;jnEKw zr^1e67B)x2D7(fGrZ5IX?;GUh%AudLmw!{KL_X~-8_W(r{l$W4VpySo{pK&R?y?L| z6wj|sYmRQzhpLlZubIiy9!uzPuqz?_ud~^Y%CJF_AK59Y3o2{B@8tGKQcdqgF+o+% z;XMp=HCXBgL)AwrHW!M6Sot&N`t7m-^grZ3P5Pt1Mt^|_m!z#)#?#cV19jOel0Bt` zW~m_yK~CG+SrEI_SWAVUkeSI3k&7Yj3}uYZSbBI9`gDIUK~hFpjlAkVOy?xx^wbTX z`2HzM^>Bj|5JZr!{fQE(IWldwPnBDf8DJJZ6psr?j0&u}Z=g^!SiKf{)n$n#9+Sv( z{q&g6UaR0cwO*aZh_=QV&16G$mT8q_7ykin|ngcw7 z5SE_n(L0rr;xgmg=3G_&fIEJHIq5+(O=Noq{)UgNh+aKfD zaY)ha&hywo54`YLa);VG5z`7s$c$ffwHwn=C|Rv1UiJJkMnw}?wn{QKO=vIuq5bZd zGgHCZ*v3Rq06KVMyG-<_phjv=J6Yz8U!YG(is+S6`zp}k&~YbJQCH<0;nGS8zDvjDOohMrqEY|D3>sojE(#AM2qk1bATsh-3N@1d?RGkD~WZN3A2`|*v-9eXG{*zV?;d#^o~3g0_Nu0WxMwc(E71% zf^5v?oap760?0th!#N??%)Ldo&dDmF6)Cv_8^?)z8AvXRNuD?b*;hZysWtX2R3`Dn zfPd+}z(2YKXnDz#D9ZLeQEo`AdmU&v<##1G;f1%;;uRB>8~kxocJsRr-dEk;Y=(N_ z17nR_;jSkJc~Q>aAF>+-t#S}+1|mR95`T2m?Cm85R(mKj9{g`C5S$j|?Qd zJ-wx9La5nG;83)P%ayVoG6y`K1Wz)O<$#Xg12mQ0-{76-l3bb)vChkzUr#PP_?tht zlk&^x@+oxTM6{* zzG41V#0*9|19~fz)~xS^`1u#te_d=+8KRK2^3C*7$9jmo8gPg23|vifJ-46YmTzvI zvdB(2YiR|qu8M`D&C^q{2YW+zA28(Gf--v|(6CYgOPR$N3O*%2MG<0BmfbX0rAM;w zd9j_#)HnGv+pzF>00v(7Z+8W3{6T5kIZSfbv2C}GHS)aC<^5-p1TwD7jGI` zqHBj+$M+Uq4sbJ`r zDxN4t-A>jDqSY)v<9+MPA~GFb&10^IXC>Dp!bQ<`Krp3l}*Hpa56 z&hT%QV1g17d9xZp1w<##rDL!|Y&0Y_@hx@4{}}1qQ62nMYuR#GA1OuQm8{UjpGY79~n$r&Y|hI|WM6j7cKk6f$uN|2Iz!945NzQiF$fnrQQlHxFKSAFi; zF0kBu?F=6j{W4THuevZ~ND4L>@6hSxxaZxIK`fFT%+;KC-|GFO($wbWJQ4 zqYpKloPVSs8HSx9Rcz01Rh-LYt3l~nS|`yLpOZ$rhf;vW zQrS-2mC;;-_Fi^EOTU(E5O)<+v`ar?C<+~(CJU?Wxd_k@j+n=pFjxEz5*h-_B%|aq_QqQ){DKYg*`f z`W}NnmG6+lhwnan7{1DC9)U`-z^o-E#(q#%bRyTlK$5mTdOfar7Ak~wy%&^A7FFpFUy30ik1cqCPafz2*f1~FNZMmHR;t{o|S=jVL&_1W*Xv(Ca3GRlZ z4X(TRhavqDYy;^ZPq;j>Xw%K^RFL{@H5*$)$$b1U`URD1o_fGXHaMrR#oi^^De%|> z+Eo7FMVcGUpkf)U1uK`r>Rl?9Go;SPN&GW*NICrw3HtO#?g6(7q9J)JW3B@s^gXl}$>v<0ROf}=h9poRR`MN0a%fK|cgSZ?oGhjp%K?DdYvwpQ??51Z~n#5pq z@b$~?P};cjgBY;wa4yM<%f%p>Sbc#L@kJFW!BI#o@xyD=*+_`;xd^~fpm?f|@DEt(NCA0wm@|U{Zl=zZ zYulLBO$96>T0ilD#1)iFK?7ci~l)Sf^5rx&;}AH9*)=yiOLP3M_F;{;k;V_Sa8tXF(XwkveJgO z&Ly?`Xx8#QoQ!?bBoZ;`JAEBGi^y9~lgFk;^}6598F4?fVkT=Gd*A7TK08llC20CG z(MB!;R~{#XPGXVcl%$I_?24URUm;1??z3cq5AGiP#=1LAnVzY5ZxS(D;AEy0x84%s}>}1kLBx^_GSA`37 zr8q9U4wrCpk!8Jg?La;;A}A?pq)=a%19Pu|!(m)H-|~9T#r#?jqR~d)qRR5KDM~HN zGSqSce?iSJG4}dy$CF7i6?~8e|KWP5&MLVu{sLNZeuKlv^0O#HebLBHHIZw+0MV{F zU3>uQQuVy;GbJ}Z8fu`tGwQz#7rU=d^2?6m-*PI=H2_RqR5O*ynJ+XYb5#0}tln*n zi&!{ZXgj(;Z%M8#@$Hl3=ywdj%b;j)HTbqq3&!#N%B8pGu)1Id%iOZiG-@FZOnRo( z-p$^(eL=IgT?!sRC^!Mm`-Qc$E__;K_&_G?%~?fzncvFWHVL)Lg+4#kr$?PjRsHF= z&~`5QRIs1(79c*mZ}*TaWbz!c-8xWs-=V*n z>yqeCVhk4Ky*B=IhV(r=32EUVOPthKUG;M7mK1H4sazKW&qk*V!>jpFZD0La%~%T0 zUisu)_PMp64tYs!Pb$^(4*9xnL^pPI@r_3^h=<61}%EN=^7laU)0 zskbrP9Fcvo1*-3e&+hOC`dEMw_H2+?jihKWn(qPcpM{lk0Y(Lc}_oD!1TGeZC)c06WXhI&+ z#_B58XHZf3>u;U-bUjLzgM}sd6C1eOh*qq|r(7qc7yw@#rRi*20#Y~j&)~0>0%E81n_k#+bcK*b#^Q60a438URn(pV59) z-p*DyGQc}wcbJKxVv!saCPp!H}$;CIft)z9q6_4Px z^b*=5u;p|_KPdYfcd2{)eGIqzV2G==UvKz)&#{Ivp-bL|yD(OD2a4cnmI5A1HA#@+2Jnv1~}&{SVM2 zq4ehxz+DkMgj6_p8Pzr61guZe|4 z=L;Jg011WXvkp|83mKj=g;mWx2NU^plIfAY6UxL0rCBkw9CR-MRqkgOr_pYdwTP|r03-T!bTY< zu@98>tA~Iq`@^A6Hdli#N}?N;0m5^%;!tz|=>n_0RC#9WBdv#2n>++9h=P=G^$A6?-^4h2}DV<573fh?lE0w8oQZw&sPSyVm2J~IBYEP!1&FQ8H>-P zq5gqmUJ1Jk!UdegNcij+;r#+2FvEe^m{R$mw+>+c=Mbe$)NCu6@%t$t-bKMVRE#H# z!Hc;^(?L^3t;FYU^s`)g0=hr!5W>%$S7Fz(+HU#oD}|!8y7HxhkQjtki`nWD|`5Rs~s5VGgG<3_|dqlcR0;6z#;LNi`Wd73eWnqX2 zWiznW;lxZmha2p>lifEof06mryfYP>CloejBE1~aAfH`-*-%N-cA+$-?5qYiDM9KVt2M&7;o(i*e>mvwd0T$rTsN{}y&s#x39+Kkh4@fY1zPnrmq2+{r&J9G9tyFoS`v#pYztFm;X5m=3S+j zb<`kYZyn)|HI;ZtIh}uXmtFkCR`9;$2JWXZI=31fq57FM8xCxoqw)^AfgVhAAq(|3{0_Tx^C zo}anlZswJfrjdQ`5x#Otn5YPy(Aq;>EqN{R3I`&H(UmF+Wm#@|)eiU_pV9EU`&9BC3vtVGJDuS6m6(R>iGP}GGH4!-VRrlQ1YbPM?c)@29j13UCgHA9Hq74ncf>n|fBI4Y zLO0{&u%RPR!Yxkb3|*1PqKP*?=oZy)vY9gh?>Ua?9oFa_O0=^$cAbI{Wh9BbOBJc1 zoH zJw7FZ-}u667kn!I@(I(N=fXB!gT~TGx_IT_cGlWpo=*aM%7PoYs+PpgR9TXDoBW*r z?&~O&3T8^lt<+9(k)LG;+?rPG$z;Qe7()(NRe@?WHr3$cSw(xOV?lB}Q>C0&7%8rl z<%?3r_aGCY6j#UNKrUl4eT^B@fIEHm5Oe@NV3&ln6``tI(1yMJbXeH$TMsj#X^rGa zPry&;dO%z37srd2N`BN!e-(x6JWud5C0z%-5(emMQqJ>k-G(2tFuozUqXG0r+bQ9> zil61eO$B5-EmwWFgwT(URRKW)ft^IBcf9h%=am30$3+)lwtilxF7vYVb`$otP;2rS zx%|;LNl#mXTP(yvb)GEt@vR1Q=O2~LS{F*z_zB2)TSN+E?f!@w^-;sI+Pmb!jgYt` zMU0xrEk8OY6U=oTaup0s<2bgI6O|2Gk(5snle}^aBVA@?mFEWj6G4k=`lITT?J9qI z8c%kvsQ{LN$0UkTRG|7s{RVkusz#@OjUhD|!1`~u^c=_wftP-C)qpSJe7`t79k8G| zTbHDw!+ETQsGYe)ADlHf;IRAe*U~*ephfGtA?QJjrO}saaQB-F)>SWU45HAiMPi93 zmK=pVGS~XqqOuS5J=oJIEuY+FRn)olrNI%FI8I*&JEplju&)gV6)z6x>sh}UM;YB) zzK79?a8?)65Q+)7FiJ;3&BrTF-43NWdC;%Bm+fDG#MPCTLB~ZJf};u}Mu6s$OVN1_ zIr+>xM%_z~h^Twi9-Qe$g2c4uT~52pa9b+Z(n}@BnN{OJ#xULoRzzvk4pJ@BV$ju% zXWRNs$>$H8vC8LIh$aW(`dx+`-5})l$g62BlNVAs%!Q4an(Vvx4Q}-onq03{B;*{h zyDp@zh?21oZN>CwbIZxU=}?i(g|W)+v40m?3m+$*^}p2owb2d%d$E65jB&L(GE8u^ zjE}MljY5{~ferJ-s@z7Gtb!Nm%q)M@ncZj8csEJI_S#tXrZe@nNRM=Xmh&s5LZ6*G zeOfpE=#_<`cO>;oothe_Zc^h;RTmsO>LYlia`2ThAc8T2XRDR7`PIt&*4^+lRT4&2 zGO!W=AZYu~3vf_~aZ$O01_cFLDo)7Qf$zQ>jhvx!-=w#+G zzWNLo`5UFRgjVJ$(CZHc6@q3@pr)hPHo0PPt!4#nW`}$P?vFGMtDiPUZ!&C3nA^^r zo7K>t>Zkkla3$@kvxmHu3)nm61HfU?stUM_RwCDfw(nzvkrCmVHd(wiB& zmc7}-9y;%_ntjr4x}8HAZdfLxYvh{$#dFD>+i|KB>qB=364QEp*e1pMaeY|Q(8l%c z1*y%D*0bIWA}3_GyU5>1=q)F)pM0n8&PJe*nT!9{vt{H$Ha%9d_^NbUeCE;O@Ik3H zIAen)&8(Uz&_ER~-H5BiiZ)#s?P;u1?(o`7g#VKC3Z*R;xNhlysb?7B4}c3#Etap4 zF6_feb+Uoz`0_uqRLyHz_9 z8vQQV)F;7kfB2M7!SW&36xN!VKbn|bzA&(&#q}jbA(}i#e7er^xemr}fLwkoMA23g zuyt#SiXZfWCHhsmY41sLh1T35ji+6TpMVUm)o9Cx;aI(Pg__tyvccpHs+oCjzd>30 zh2A+xQCZ~o7&=I?HfR4bBg&Q}juP(D^4~c%J9Wwkm4@vWSgLGfK*y}NYc?{WnEp&9 zt`*WQ(h$DBCWN(CUJm!B9O zEPGw9<~(Y{WqYXX24YFqG^c*9T7@lU1^s|ui6SNx%z21&-u-#5>w8BbJX-UrZ<*e` z69rm94_zFO+WnrTV(1JSmrO;M4uxY;DlQf^C|U&j>-GKKp?+lZ3RK{G%@aPW7M^^LRtdlcg^Jm>P-vPTL$OKpiJ|0lK%Mtfbp~R z0R+Z@()81OzsLY?#I&n zvv6-jr#PWgqTa*mY;tj%EzCRBW~H9JZ>+EKhPI++^8H)*z!BmP6O11q0x|&}i`zU) zw>`r8K-5)9p%{FR*Oepk%%fO&i`9Ou5f&)xFcM|HS=_Mi*ks--?ZnBJX zJ54n%y_|_5=&CBZCCpTdMMy3Gcn^?$yb^`h!|BtG_rn{OcO$Y#dF55nB@paxN7?Yh5K+14Np4pci6wBc=wrtk>@|M~~kQqX0yOkB# zJcD>&i~_5Cj;kjK4jvWxEGD4+D=+^~tvTvsaeIZ@#KG2T@6q*>S$gFKo4_Ysw+X9? zv1dQ&FayHH#+Al6UWIyKt9ahc?3W|>Nq%|dni|nAQgfn*iyerhcb!rmz9zUji6}+J?E(W$Xq2X)nEoF zb32|I|If}5ELE8iA7e!C!5DmmHTL@^a$I!!p-n00kgv6{JNrKIImB}N*^!=e z4EenYhDv_2R6Lum$^YQ_GYQ>~j=F*L5l>bNPv}siuH1lEw(XAvSw3yyv)**7F$wFV z6?4L#*P-vSXDXqEu&Hf*c4j|OFhsj}!=Eln3m)J~01 zeH?nA5UnSxqRawQfz8j|MUk%QIlz*@U4P}*c%iGh2SN(-V9t_;Sv?3V-)Z?%WxVm*>wsXb zL2vcj#0Fo^+MOzLNs}Ld@pC&a8S)cdM*FPaRw;{;(TuQ(Z8*a{6$|b9mJy5G!H6lp z1H&WwO>}+<628WSgJ=N!q+dH9S_G2>k#yyey@UvSRvB&k=XSf?&gBjBPKvq*WTg26 zCkjSk$n*CKLSC$P&wG+2izg{d>C=2=m=s`x0_k0ZosZr(12&Svx3q;(+mky`EHUjX zmy+BsIOgvaz)Y^{$CY-wnANdh{J)eFE%i15y)VT9D_#j4ruhPB_9GWq#mg^Z$lp&a z=;wY8Xa=@!*E%MIZVma=M-n&MEx>S1wY(_7dD9a;e3+#)se!TWZRh3N%#-WlxJ%vG zeQ{#SnnF`cfldfDJ@xl)j{#|D)}zOL7GhOvBnjX1@}VQj?ktygJZJmMbXIrs9*d-y z7zPmT+d9Q8K&I#0p5oe+rdgJ1z++|iVw+1~|I*`*6&c@7^M(9_#&CWEOu1hFY3*@7BCQsMaKOtOO9vno5T87vo!HR@ow}1 z5#X!?HZSY5R&_n*9Du3g)Bw5lD?cs#g!AVBmv}p0rb_>YmD0-fdFM_5I z6o@x!?A9q8Mv^t;`8YuVZE-nru&ok~wj*L2n~?$^@Le9gIpROYy`W%2t!6A}=Pb}o zr%JRhxrbtzo|W|{h^Mi*;7#3WtK-}J$F%l^7c+andxpIxFGB2sh@y8j2_NwjvuD!& icTWEQb;W6N9!L~dApHr4OE3R(xT>q@C?gfEL;epcR8Cv~ From a01fa2f8a780c8feace6def95ac0390f6e5fb522 Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 23 Mar 2015 16:53:22 +1100 Subject: [PATCH 042/331] Updated changelog. --- CHANGELOG.md | 45 +++++++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 960ff5cd2..61b5f5b0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,18 @@ -##SuperTuxKart 0.8.1 +## SupertTuxKart 0.9 (April 2015) +* Fully shader-based rendering +* New tracks Cocoa Temple and Gran Paradiso +* Graphical improvements to many other tracks +* New karts amanda and gavroche +* New and improved tux kart +* Online login which allows to: +** connect with friends and see when they are playing +** vote for addons +** collect online achievements +* Grand Prix editor, including creation of random GPs +* Different kart physics + + +## SuperTuxKart 0.8.1 (26. November 2013) * New track STK Enterprise * Updated track The old mines * Updated Lighthouse track @@ -18,8 +32,7 @@ * Wiimote support - -##SuperTuxKart 0.8 +## SuperTuxKart 0.8 (11. December 2012) * Story mode and new challenge set * Improved AI * Skidding and better collision physics @@ -34,7 +47,7 @@ * New music -##SuperTuxKart 0.7.3 +## SuperTuxKart 0.7.3 (2. November 2011) * New Zen Garden and Subsea tracks * New Island battle arena * New Suzanne kart @@ -50,7 +63,7 @@ * Better placement of rescued karts * Transition track-making to blender 2.5/2.6 -##SuperTuxKart 0.7.2 +## SuperTuxKart 0.7.2 (15. July 2011) * Added in-game addon manager * Fixed major memory leaks * New Snow Peak track by Samuncle @@ -60,11 +73,11 @@ * Improve gamepad configuration under Windows (add ability to tell gamepads apart) * Various other tweaks done and glitches fixed -##SuperTuxKart 0.7.1b +## SuperTuxKart 0.7.1b (21. April 2011) * Fix circular dependency in challenges * Updated translations -##SuperTuxKart 0.7.1 +## SuperTuxKart 0.7.1 (15. April 2011) * Particle (smoke, splash, fire) and weather effects * New Fort Magma by Samuncle, new Shiny Suburbs track by Horace * New Beagle kart by wolterh @@ -83,7 +96,7 @@ * Full RTL (right to left) support * Various other tweaks done and glitches fixed -##SuperTuxKart 0.7 (December 2010) +## SuperTuxKart 0.7 (December 2010) Too many to list them all. Main points: * Irrlicht: @@ -97,11 +110,11 @@ Too many to list them all. Main points: * New art: - New tracks farm, hacienda, scotland, secret garden -##SuperTuxKart 0.6.2a (October 2009) +## SuperTuxKart 0.6.2a (October 2009) * Bugfix: STK would crash while trying to save the config file on Windows Vista. -##SuperTuxKart 0.6.2 (July 2009) +## SuperTuxKart 0.6.2 (July 2009) * Bugfix: Game could crash in rare circumstances. * Bugfix: Restarting a GP (with the in-race menu ESC) would not subtract already allocated points. * Bugfix: A race could be finished with an invalid shortcut. @@ -111,10 +124,10 @@ Too many to list them all. Main points: * Bugfix: GP result showed kart identifier instead of name. * Improvement: there is now 1 1 sec. wait period for the race result screen, avoiding the problem that someone presses space/enter at the end of a race, immediately quitting the menu before it can be read. -##SuperTuxKart 0.6.1a (February 2009) +## SuperTuxKart 0.6.1a (February 2009) * Bugfix: battle mode would not display track groups. -##SuperTuxKart 0.6.1 (February 2009) +## SuperTuxKart 0.6.1 (February 2009) * Added new kart ("Puffy"), new battle map ("Cave"), and new music for Snow Mountain. * Fixed bug in track selection screen that could cause a crash when track groups were used. * Fixed crash in character selection that could happen if an old user config file existed. @@ -124,7 +137,7 @@ Too many to list them all. Main points: * Added slow-down for karts driving backwards. * Somewhat reduced 'shaking' of AI driven karts. -##SuperTuxKart 0.6 (January 2009) +## SuperTuxKart 0.6 (January 2009) * New improved physics and kart handling * Added sharp turns and nitro speed boost (replacing wheelies and jump) * Totally rewrote powerups (plunger, bowling ball, cake, bubblegum) and new look for bananas @@ -147,7 +160,7 @@ Too many to list them all. Main points: - Fixed 'joystick locks' (kart would turn even if the joystick is in neutral), thanks to Samjam for the patch. -##SuperTuxKart 0.5 (May 2008) +## SuperTuxKart 0.5 (May 2008) * Six new tracks and one improved track: Fort Magma, SnowTux Peak, Amazonian Journey, City, Canyon, Crescent Crossing and StarTrack * Complete Challenges to unlock game modes, new tracks and a skidding preview * New Follow the Leader game mode @@ -161,7 +174,7 @@ Too many to list them all. Main points: - an AI crash fix (Chris Morris) -##SuperTuxKart 0.4 (February 2008) +## SuperTuxKart 0.4 (February 2008) * New physics handling using the bullet physics engine * New kart: wilber * Improved 'Shifting Sands' and 'Lighthouse' tracks @@ -172,7 +185,7 @@ Too many to list them all. Main points: * Additional music and main theme -##SuperTuxKart 0.3 (May 2007) +## SuperTuxKart 0.3 (May 2007) * Highscore lists * Shortcut detection * Improved AI From 9b604d37e5d8c9c3dfde323d73e23ad18ab28c85 Mon Sep 17 00:00:00 2001 From: samuncle Date: Mon, 23 Mar 2015 07:00:48 +0100 Subject: [PATCH 043/331] Add more infor in the changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61b5f5b0d..2392d1e9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,9 @@ ## SupertTuxKart 0.9 (April 2015) -* Fully shader-based rendering +* Fully shader-based rendering engine * New tracks Cocoa Temple and Gran Paradiso * Graphical improvements to many other tracks * New karts amanda and gavroche -* New and improved tux kart +* New and improved tux, adiumy, sara the wizard and the racer, xue kart * Online login which allows to: ** connect with friends and see when they are playing ** vote for addons From b61823e1af81a68ac8e1145eb8b1fbd394d53c43 Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 23 Mar 2015 17:23:03 +1100 Subject: [PATCH 044/331] Added GSoC students (initial version, names might need to be changed). --- data/CREDITS | Bin 13580 -> 13898 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/data/CREDITS b/data/CREDITS index 656a28d86e046b32aa6a87000cd744fd72c52b88..d46b149519863c6ba584dcfca64eece97a8aa336 100644 GIT binary patch delta 326 zcmXYs%MHRn3`FOGh&WI~3Lpi*4FN((+#(7H5MUucB|*R`4NwdcT~HOzNo4J=J@$-e z-`8LA8GFrIIdN8^SiVBtl@hT^s$3`T1@E!%*7PmURIAcR0sS47qb?QcNld`D%)AIk zZ$>?bbwnqFgxu%WX$|r@LVx;;O>OdHjnUY0xK-oUvrh;p*INrZ>Ky2 delta 12 TcmX?=)04G Date: Mon, 23 Mar 2015 23:18:24 +1100 Subject: [PATCH 045/331] Used proper names for GSoC students, renamed version SVN to GIT, and removed version numbers (to avoid confusion that e.g. Deve is now not listed as contributor to 0.8.1 anymore). --- data/CREDITS | Bin 13898 -> 13948 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/data/CREDITS b/data/CREDITS index d46b149519863c6ba584dcfca64eece97a8aa336..3e64361604a2ca72d0d8b79b2fa39e5e7ff589a7 100644 GIT binary patch delta 222 zcmW-bJqp4=5QSd~<7#UqHrop6#gvH>;}2Nm0{(;;T(giETW=u39>6n5ZlQUwih-oh%m2^vl+^Lzb%vX%!(E7HVN~~fb#1MwQe4>8yjz)%J8=Bw+If3_hJi2w delta 160 zcmey9b1G*-A8Rl}7=z!&$?0so3JjSHc?=2+1`K)(mYaXFc{0j}0tGS|N*Ib55*aFh zPzNaO!;s2Q34}n!ldCy2*`0xMc?>C&_j0%j1~cR{i_^gx+H1< From 7a8eaed6ed54055e8e408484771037ff0cd85f99 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Mon, 23 Mar 2015 22:52:25 +0100 Subject: [PATCH 046/331] Add up and down movement to first person camera (r/f keys) --- src/input/input_manager.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index 4b88fb744..0580b5f08 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -206,6 +206,28 @@ void InputManager::handleStaticAction(int key, int value) cam->setLinearVelocity(vel); break; } + case KEY_KEY_R: + { + if (!world || !UserConfigParams::m_artist_debug_mode || + UserConfigParams::m_camera_debug != 3) break; + + Camera *cam = Camera::getActiveCamera(); + core::vector3df vel(cam->getLinearVelocity()); + vel.Y = value ? cam->getMaximumVelocity() : 0; + cam->setLinearVelocity(vel); + break; + } + case KEY_KEY_F: + { + if (!world || !UserConfigParams::m_artist_debug_mode || + UserConfigParams::m_camera_debug != 3) break; + + Camera *cam = Camera::getActiveCamera(); + core::vector3df vel(cam->getLinearVelocity()); + vel.Y = value ? -cam->getMaximumVelocity() : 0; + cam->setLinearVelocity(vel); + break; + } // Rotating the first person camera case KEY_KEY_Q: { From 060bf2a2cfadf43d144d4120bd4b96cbebc2356c Mon Sep 17 00:00:00 2001 From: Flakebi Date: Tue, 24 Mar 2015 00:46:26 +0100 Subject: [PATCH 047/331] Reset rotation of first person camera when activating --- src/utils/debug.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/debug.cpp b/src/utils/debug.cpp index ae8ebb9f7..0fbff24ef 100644 --- a/src/utils/debug.cpp +++ b/src/utils/debug.cpp @@ -520,6 +520,10 @@ bool onEvent(const SEvent &event) { UserConfigParams::m_camera_debug = 3; irr_driver->getDevice()->getCursorControl()->setVisible(false); + // Reset camera rotation + Camera *cam = Camera::getActiveCamera(); + cam->setDirection(vector3df(0, 0, 1)); + cam->setUpVector(vector3df(0, 1, 0)); } else if (cmdID == DEBUG_GUI_CAM_NORMAL) { From 0501e35d95d03c25ead88b2a9f7b4e2f6c4e758b Mon Sep 17 00:00:00 2001 From: Flakebi Date: Tue, 24 Mar 2015 02:21:12 +0100 Subject: [PATCH 048/331] Prevent toppling over --- src/graphics/camera.cpp | 44 +++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/src/graphics/camera.cpp b/src/graphics/camera.cpp index 0416badbc..86ad95910 100644 --- a/src/graphics/camera.cpp +++ b/src/graphics/camera.cpp @@ -121,25 +121,36 @@ Camera::~Camera() */ void Camera::applyMouseMovement (float x, float y) { - core::vector3df direction(m_target_direction); - core::vector3df up(m_camera->getUpVector()); + vector3df direction(m_target_direction); + vector3df up(m_camera->getUpVector()); // Set local values if the camera is attached to the kart if (m_attached) up = m_local_up; - core::vector3df side(direction.crossProduct(up)); - direction.normalize(); up.normalize(); - core::quaternion quat; - quat.fromAngleAxis(x, up); - core::quaternion quat_y; - quat_y.fromAngleAxis(y, side); - quat *= quat_y; + vector3df side(direction.crossProduct(up)); + side.normalize(); + core::quaternion quat; + quat.fromAngleAxis(y, side); + + core::quaternion quat_x; + quat_x.fromAngleAxis(x, up); + quat *= quat_x; direction = quat * direction; + // Try to prevent toppling over + // If the camera would topple over with the next movement, the vertical + // movement gets reset close to the up vector + if ((direction - up).getLengthSQ() + (m_target_direction - up).getLengthSQ() + <= (direction - m_target_direction).getLengthSQ()) + direction = quat_x * ((m_target_direction - up).setLength(0.02f) + up); + // Prevent toppling under + else if ((direction + up).getLengthSQ() + (m_target_direction + up).getLengthSQ() + <= (direction - m_target_direction).getLengthSQ()) + direction = quat_x * ((m_target_direction + up).setLength(0.02f) - up); m_target_direction = direction; // Don't do that because it looks ugly and is bad to handle ;) @@ -534,10 +545,10 @@ void Camera::update(float dt) // Update the first person camera else if (UserConfigParams::m_camera_debug == 3) { - core::vector3df direction(m_camera->getTarget() - m_camera->getPosition()); - core::vector3df up(m_camera->getUpVector()); - core::vector3df side(direction.crossProduct(up)); - core::vector3df pos = m_camera->getPosition(); + vector3df direction(m_camera->getTarget() - m_camera->getPosition()); + vector3df up(m_camera->getUpVector()); + vector3df side(direction.crossProduct(up)); + vector3df pos = m_camera->getPosition(); // Set local values if the camera is attached to the kart if (m_attached) @@ -615,9 +626,12 @@ void Camera::update(float dt) up.normalize(); side.normalize(); + // Top vector is the real up vector, not the one used by the camera + vector3df top(side.crossProduct(direction)); + // Move camera - core::vector3df movement(direction * m_lin_velocity.Z + - up * m_lin_velocity.Y + side * m_lin_velocity.X); + vector3df movement(direction * m_lin_velocity.Z + + top * m_lin_velocity.Y + side * m_lin_velocity.X); pos = pos + movement * dt; if (m_attached) From 366b5aadb5723c011cfd3c6bd513762bf849f5ba Mon Sep 17 00:00:00 2001 From: hiker Date: Tue, 24 Mar 2015 21:17:25 +1100 Subject: [PATCH 049/331] Updated todo list. --- TODO.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/TODO.md b/TODO.md index fecc2019d..5ed25b4ce 100644 --- a/TODO.md +++ b/TODO.md @@ -1,8 +1,5 @@ ##TODO -THIS IS A 2nd TEST. -THIS IS A TEST. - SuperTuxKart is looking for additional man power to make this one of the best free linux games out there :) We need (in no particular order): @@ -15,17 +12,13 @@ no particular order): - Create additional art work for tracks, background images 3. Developers - - See todo list below - it's rather long at the moment :) -4. Web master + - Check our bug and enhancement request tracker on + https://github.com/supertuxkart/stk-code/issues - Extend the current web page, keep it up to date -5. Tester +4. Tester - For just about everything - - Esp. different platforms -6. Package creators - - Create packages for - - most common Linux distributions - - Windows -7. Writers + - Esp. different platforms and graphics cards +5. Writers - Write documentation, ranging from man page, to a description for the web, to a design document, ... From 4e9ab3e78671f84e36d9c1d8ace709e86b0df240 Mon Sep 17 00:00:00 2001 From: samuncle Date: Tue, 24 Mar 2015 17:59:03 +0100 Subject: [PATCH 050/331] Improved sparks for flame --- data/gfx/gfx_sparkFire_a.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/gfx/gfx_sparkFire_a.xml b/data/gfx/gfx_sparkFire_a.xml index af9f4d14d..eae403120 100644 --- a/data/gfx/gfx_sparkFire_a.xml +++ b/data/gfx/gfx_sparkFire_a.xml @@ -1,9 +1,9 @@ - + - + - From df656fbf6427abf33f6ea784f6ec4608918a9c4a Mon Sep 17 00:00:00 2001 From: deve Date: Wed, 25 Mar 2015 09:16:15 +0100 Subject: [PATCH 051/331] Allow to compile project using cygwin. Note that you need to have all dependencies in cygwin directory (can be easily installed). Atm. wiimote and joystick events are disabled. --- CMakeLists.txt | 4 ++-- lib/irrlicht/CMakeLists.txt | 4 ++++ lib/irrlicht/source/Irrlicht/COSOperator.cpp | 2 +- src/utils/translation.hpp | 1 + 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55b30e1ec..4f9ca20ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ project(SuperTuxKart) set(PROJECT_VERSION "0.8.1") -cmake_minimum_required(VERSION 2.8.1) +cmake_minimum_required(VERSION 2.8.4) if(NOT (CMAKE_MAJOR_VERSION VERSION_LESS 3)) cmake_policy(SET CMP0043 OLD) endif() @@ -32,7 +32,7 @@ else() set(WIIUSE_BUILD ON) endif() -if(MINGW) +if(MINGW OR CYGWIN) set(USE_WIIUSE OFF) endif() diff --git a/lib/irrlicht/CMakeLists.txt b/lib/irrlicht/CMakeLists.txt index 9c9429dc1..8fcd23c92 100644 --- a/lib/irrlicht/CMakeLists.txt +++ b/lib/irrlicht/CMakeLists.txt @@ -35,6 +35,10 @@ if(UNIX AND USE_XRANDR) add_definitions(-D_IRR_LINUX_X11_RANDR_) endif() +if(CYGWIN) + add_definitions(-DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_) +endif() + set(IRRLICHT_SOURCES source/Irrlicht/CGUIListBox.cpp source/Irrlicht/CZBuffer.cpp diff --git a/lib/irrlicht/source/Irrlicht/COSOperator.cpp b/lib/irrlicht/source/Irrlicht/COSOperator.cpp index 0899d1dd0..5ade8a5b4 100644 --- a/lib/irrlicht/source/Irrlicht/COSOperator.cpp +++ b/lib/irrlicht/source/Irrlicht/COSOperator.cpp @@ -11,7 +11,7 @@ #else #include #include -#ifndef _IRR_SOLARIS_PLATFORM_ +#if !defined(_IRR_SOLARIS_PLATFORM_) && !defined(__CYGWIN__) #include #include #endif diff --git a/src/utils/translation.hpp b/src/utils/translation.hpp index 1067264d5..aecfe18c9 100644 --- a/src/utils/translation.hpp +++ b/src/utils/translation.hpp @@ -28,6 +28,7 @@ # define _(String, ...) (translations->fribidize(StringUtils::insertValues(translations->w_gettext(String), ##__VA_ARGS__))) #undef _C +#undef _P # define _C(Ctx, String, ...) (translations->fribidize(StringUtils::insertValues(translations->w_gettext(String, Ctx), ##__VA_ARGS__))) # define _P(Singular, Plural, Num, ...) (translations->fribidize(StringUtils::insertValues(translations->w_ngettext(Singular, Plural, Num), Num, ##__VA_ARGS__))) # define _CP(Ctx, Singular, Plural, Num, ...) (translations->fribidize(StringUtils::insertValues(translations->w_ngettext(Singular, Plural, Num, Ctx), Num, ##__VA_ARGS__))) From 5828dddde8360a2a5131f41a16f0a329b469c0a9 Mon Sep 17 00:00:00 2001 From: Deve Date: Wed, 25 Mar 2015 18:53:09 +0100 Subject: [PATCH 052/331] Allow to disable popup messages about too old drivers in config.xml --- src/config/user_config.hpp | 3 +++ src/main.cpp | 31 +++++++++++++++++-------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/src/config/user_config.hpp b/src/config/user_config.hpp index 4b75e1e23..7b4454a12 100644 --- a/src/config/user_config.hpp +++ b/src/config/user_config.hpp @@ -482,6 +482,9 @@ namespace UserConfigParams PARAM_PREFIX BoolUserConfigParam m_esm PARAM_DEFAULT(BoolUserConfigParam(false, "enable_esm", &m_video_group, "Enable Exponential Shadow Map (better but slower)")); + PARAM_PREFIX BoolUserConfigParam m_old_driver_popup + PARAM_DEFAULT(BoolUserConfigParam(true, "old_driver_popup", + &m_video_group, "Determines if popup message about too old drivers should be displayed.")); // ---- Debug - not saved to config file /** If gamepad debugging is enabled. */ diff --git a/src/main.cpp b/src/main.cpp index 4b43fc2fb..853a2ae86 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1361,21 +1361,24 @@ int main(int argc, char *argv[] ) exit(0); } - if (!ProfileWorld::isNoGraphics() && GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_DRIVER_RECENT_ENOUGH)) + if (UserConfigParams::m_old_driver_popup) { - MessageDialog *dialog = - new MessageDialog(_("Your driver version is too old. Please install " - "the latest video drivers."), - /*from queue*/ true); - GUIEngine::DialogQueue::get()->pushDialog(dialog); - } - else if (!CVS->isGLSL()) - { - MessageDialog *dialog = - new MessageDialog(_("Your OpenGL version appears to be too old. Please verify " - "if an update for your video driver is available. SuperTuxKart requires OpenGL 3.1 or better."), - /*from queue*/ true); - GUIEngine::DialogQueue::get()->pushDialog(dialog); + if (!ProfileWorld::isNoGraphics() && GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_DRIVER_RECENT_ENOUGH)) + { + MessageDialog *dialog = + new MessageDialog(_("Your driver version is too old. Please install " + "the latest video drivers."), + /*from queue*/ true); + GUIEngine::DialogQueue::get()->pushDialog(dialog); + } + else if (!CVS->isGLSL()) + { + MessageDialog *dialog = + new MessageDialog(_("Your OpenGL version appears to be too old. Please verify " + "if an update for your video driver is available. SuperTuxKart requires OpenGL 3.1 or better."), + /*from queue*/ true); + GUIEngine::DialogQueue::get()->pushDialog(dialog); + } } // Note that on the very first run of STK internet status is set to From a0bd9db4964d10eb2a9773534996343d8884fd1b Mon Sep 17 00:00:00 2001 From: samuncle Date: Thu, 26 Mar 2015 00:46:52 +0100 Subject: [PATCH 053/331] Add more particle effect --- data/gfx/gfx_bubble_a.xml | 32 +++++++++++++++++++++++++++++ data/gfx/gfx_fireworkSmoke_a.xml | 35 ++++++++++++++++++++++++++++++++ data/gfx/gfx_firework_a.xml | 35 ++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+) create mode 100644 data/gfx/gfx_bubble_a.xml create mode 100644 data/gfx/gfx_fireworkSmoke_a.xml create mode 100644 data/gfx/gfx_firework_a.xml diff --git a/data/gfx/gfx_bubble_a.xml b/data/gfx/gfx_bubble_a.xml new file mode 100644 index 000000000..3c44ccda5 --- /dev/null +++ b/data/gfx/gfx_bubble_a.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/gfx/gfx_fireworkSmoke_a.xml b/data/gfx/gfx_fireworkSmoke_a.xml new file mode 100644 index 000000000..ca6de1aae --- /dev/null +++ b/data/gfx/gfx_fireworkSmoke_a.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/gfx/gfx_firework_a.xml b/data/gfx/gfx_firework_a.xml new file mode 100644 index 000000000..a93a58f21 --- /dev/null +++ b/data/gfx/gfx_firework_a.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 27dec2fbf8a4e722d841afb0e96ef049e632ce99 Mon Sep 17 00:00:00 2001 From: hiker Date: Thu, 26 Mar 2015 11:28:22 +1100 Subject: [PATCH 054/331] Added attribute to irrlicht's driver to enable automatic resize of images that are too big. This is then used to automatically resize any textures (except fonts, background screen) to be automatically resized to 512x512 if they are bigger. --- lib/irrlicht/include/IAttributes.h | 4 ++-- lib/irrlicht/include/IVideoDriver.h | 2 ++ lib/irrlicht/source/Irrlicht/CAttributes.cpp | 4 ++-- lib/irrlicht/source/Irrlicht/CAttributes.h | 4 ++-- lib/irrlicht/source/Irrlicht/CNullDriver.cpp | 5 ++++ lib/irrlicht/source/Irrlicht/CNullDriver.h | 3 +++ .../source/Irrlicht/COpenGLTexture.cpp | 12 ++++++++++ src/graphics/2dutils.cpp | 2 +- src/graphics/irr_driver.cpp | 15 +++++++++++- src/graphics/irr_driver.hpp | 2 +- src/guiengine/scalable_font.cpp | 24 +++++++++++++------ src/main.cpp | 4 ++++ 12 files changed, 65 insertions(+), 16 deletions(-) diff --git a/lib/irrlicht/include/IAttributes.h b/lib/irrlicht/include/IAttributes.h index f1376358e..0361ea125 100644 --- a/lib/irrlicht/include/IAttributes.h +++ b/lib/irrlicht/include/IAttributes.h @@ -501,11 +501,11 @@ public: //! Gets an attribute as dimension2d //! \param attributeName: Name of the attribute to get. //! \return Returns value of the attribute previously set by setAttribute() - virtual core::dimension2d getAttributeAsDimension2d(const c8* attributeName) = 0; + virtual core::dimension2d getAttributeAsDimension2d(const c8* attributeName) const = 0; //! Gets an attribute as dimension2d //! \param index: Index value, must be between 0 and getAttributeCount()-1. - virtual core::dimension2d getAttributeAsDimension2d(s32 index) = 0; + virtual core::dimension2d getAttributeAsDimension2d(s32 index) const = 0; //! Sets an attribute as dimension2d virtual void setAttribute(s32 index, core::dimension2d v) = 0; diff --git a/lib/irrlicht/include/IVideoDriver.h b/lib/irrlicht/include/IVideoDriver.h index 79b1b2002..3f3851425 100644 --- a/lib/irrlicht/include/IVideoDriver.h +++ b/lib/irrlicht/include/IVideoDriver.h @@ -324,6 +324,8 @@ namespace video AntiAlias (int) Number of Samples the driver uses for each pixel. 0 and 1 means anti aliasing is off, typical values are 2,4,8,16,32 */ virtual const io::IAttributes& getDriverAttributes() const=0; + //! Non-const version (with a different name to avoid involuntary mistakes). */ + virtual io::IAttributes& getNonConstDriverAttributes() = 0; //! Check if the driver was recently reset. /** For d3d devices you will need to recreate the RTTs if the diff --git a/lib/irrlicht/source/Irrlicht/CAttributes.cpp b/lib/irrlicht/source/Irrlicht/CAttributes.cpp index 21ebe1f1c..71068ca60 100644 --- a/lib/irrlicht/source/Irrlicht/CAttributes.cpp +++ b/lib/irrlicht/source/Irrlicht/CAttributes.cpp @@ -429,7 +429,7 @@ void CAttributes::setAttribute(const c8* attributeName, core::dimension2d v //! Gets an attribute as dimension2d //! \param attributeName: Name of the attribute to get. //! \return Returns value of the attribute previously set by setAttribute() -core::dimension2d CAttributes::getAttributeAsDimension2d(const c8* attributeName) +core::dimension2d CAttributes::getAttributeAsDimension2d(const c8* attributeName) const { IAttribute* att = getAttributeP(attributeName); if (att) @@ -737,7 +737,7 @@ core::rect CAttributes::getAttributeAsRect(s32 index) //! Gets an attribute as dimension2d //! \param index: Index value, must be between 0 and getAttributeCount()-1. -core::dimension2d CAttributes::getAttributeAsDimension2d(s32 index) +core::dimension2d CAttributes::getAttributeAsDimension2d(s32 index) const { if ((u32)index < Attributes.size()) return Attributes[index]->getDimension2d(); diff --git a/lib/irrlicht/source/Irrlicht/CAttributes.h b/lib/irrlicht/source/Irrlicht/CAttributes.h index 1675a3ab3..3e597a47b 100644 --- a/lib/irrlicht/source/Irrlicht/CAttributes.h +++ b/lib/irrlicht/source/Irrlicht/CAttributes.h @@ -465,11 +465,11 @@ public: //! Gets an attribute as dimension2d //! \param attributeName: Name of the attribute to get. //! \return Returns value of the attribute previously set by setAttribute() - virtual core::dimension2d getAttributeAsDimension2d(const c8* attributeName); + virtual core::dimension2d getAttributeAsDimension2d(const c8* attributeName) const; //! Gets an attribute as dimension2d //! \param index: Index value, must be between 0 and getAttributeCount()-1. - virtual core::dimension2d getAttributeAsDimension2d(s32 index); + virtual core::dimension2d getAttributeAsDimension2d(s32 index) const; //! Sets an attribute as dimension2d virtual void setAttribute(s32 index, core::dimension2d v); diff --git a/lib/irrlicht/source/Irrlicht/CNullDriver.cpp b/lib/irrlicht/source/Irrlicht/CNullDriver.cpp index 11144c114..4ef9c44de 100644 --- a/lib/irrlicht/source/Irrlicht/CNullDriver.cpp +++ b/lib/irrlicht/source/Irrlicht/CNullDriver.cpp @@ -298,6 +298,11 @@ const io::IAttributes& CNullDriver::getDriverAttributes() const return *DriverAttributes; } +//! Get attributes of the actual video driver +io::IAttributes& CNullDriver::getNonConstDriverAttributes() +{ + return *DriverAttributes; +} //! sets transformation void CNullDriver::setTransform(E_TRANSFORMATION_STATE state, const core::matrix4& mat) diff --git a/lib/irrlicht/source/Irrlicht/CNullDriver.h b/lib/irrlicht/source/Irrlicht/CNullDriver.h index c2fb5cc16..251062b68 100644 --- a/lib/irrlicht/source/Irrlicht/CNullDriver.h +++ b/lib/irrlicht/source/Irrlicht/CNullDriver.h @@ -64,6 +64,9 @@ namespace video //! Get attributes of the actual video driver const io::IAttributes& getDriverAttributes() const; + //! Non-const version (with a different name to avoid involuntary mistakes). */ + virtual io::IAttributes& getNonConstDriverAttributes(); + //! sets transformation virtual void setTransform(E_TRANSFORMATION_STATE state, const core::matrix4& mat); diff --git a/lib/irrlicht/source/Irrlicht/COpenGLTexture.cpp b/lib/irrlicht/source/Irrlicht/COpenGLTexture.cpp index 72a750a50..ef20da830 100644 --- a/lib/irrlicht/source/Irrlicht/COpenGLTexture.cpp +++ b/lib/irrlicht/source/Irrlicht/COpenGLTexture.cpp @@ -11,6 +11,8 @@ #include "COpenGLDriver.h" #include "os.h" #include "CColorConverter.h" +#include "IAttributes.h" +#include "IrrlichtDevice.h" #include "irrString.h" @@ -314,7 +316,17 @@ void COpenGLTexture::getImageValues(IImage* image) ImageSize.Width = (u32)(Driver->MaxTextureSize*ratio); } TextureSize=ImageSize.getOptimalSize(!Driver->queryFeature(EVDF_TEXTURE_NPOT)); + const core::dimension2du max_size = Driver->getDriverAttributes() + .getAttributeAsDimension2d("MAX_TEXTURE_SIZE"); + if (max_size.Width> 0 && TextureSize.Width > max_size.Width) + { + TextureSize.Width = max_size.Width; + } + if (max_size.Height> 0 && TextureSize.Height > max_size.Height) + { + TextureSize.Height = max_size.Height; + } ColorFormat = getBestColorFormat(image->getColorFormat()); } diff --git a/src/graphics/2dutils.cpp b/src/graphics/2dutils.cpp index 537ff43b8..386f1ac24 100644 --- a/src/graphics/2dutils.cpp +++ b/src/graphics/2dutils.cpp @@ -206,7 +206,7 @@ void draw2DImage(const video::ITexture* texture, const core::rect& destRect tex_width, tex_height, tex_center_pos_x, tex_center_pos_y; - getSize(texture->getOriginalSize().Width, texture->getOriginalSize().Height, texture->isRenderTarget(), + getSize(texture->getSize().Width, texture->getSize().Height, texture->isRenderTarget(), destRect, sourceRect, width, height, center_pos_x, center_pos_y, tex_width, tex_height, tex_center_pos_x, tex_center_pos_y); diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 3db7aebb3..e8a6b7232 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -592,10 +592,23 @@ void IrrDriver::initDevice() m_pointer_shown = true; } // initDevice +// ---------------------------------------------------------------------------- +void IrrDriver::setMaxTextureSize() +{ + if( (UserConfigParams::m_high_definition_textures & 0x01) == 0) + { + io::IAttributes &att = m_video_driver->getNonConstDriverAttributes(); + att.setAttribute("MAX_TEXTURE_SIZE", core::dimension2du(512, 512)); + } +} // setMaxTextureSize + +// ---------------------------------------------------------------------------- void IrrDriver::cleanSunInterposer() { delete m_sun_interposer; -} +} // cleanSunInterposer + +// ---------------------------------------------------------------------------- void IrrDriver::createSunInterposer() { scene::IMesh * sphere = m_scene_manager->getGeometryCreator()->createSphereMesh(1, 16, 16); diff --git a/src/graphics/irr_driver.hpp b/src/graphics/irr_driver.hpp index b04b380bc..6d9097b83 100644 --- a/src/graphics/irr_driver.hpp +++ b/src/graphics/irr_driver.hpp @@ -36,7 +36,6 @@ #include #include "IrrlichtDevice.h" #include "ISkinnedMesh.h" -//#include "graphics/rtts.hpp" #include "graphics/shaders.hpp" #include "graphics/wind.hpp" #include "io/file_manager.hpp" @@ -354,6 +353,7 @@ public: ~IrrDriver(); void initDevice(); void reset(); + void setMaxTextureSize(); void getOpenGLData(std::string *vendor, std::string *renderer, std::string *version); diff --git a/src/guiengine/scalable_font.cpp b/src/guiengine/scalable_font.cpp index 980fcd836..381abdb06 100644 --- a/src/guiengine/scalable_font.cpp +++ b/src/guiengine/scalable_font.cpp @@ -4,16 +4,17 @@ #include "guiengine/scalable_font.hpp" -#include -#include -#include -#include -#include - +#include "graphics/2dutils.hpp" #include "guiengine/engine.hpp" #include "io/file_manager.hpp" #include "utils/translation.hpp" -#include "graphics/2dutils.hpp" + +#include +#include +#include +#include +#include +#include namespace irr { @@ -732,7 +733,16 @@ void ScalableFont::lazyLoadTexture(int texID) // load texture assert(m_texture_files[texID].m_file_name.size() > 0); + + // Font textures can not be resized (besides the impact on quality in + // this case, the indices in the xml files would become wrong). + core::dimension2du old_max_size = Driver->getDriverAttributes() + .getAttributeAsDimension2d("MAX_TEXTURE_SIZE"); + Driver->getNonConstDriverAttributes().setAttribute("MAX_TEXTURE_SIZE", + core::dimension2du(0, 0)); + SpriteBank->setTexture(texID, Driver->getTexture( m_texture_files[texID].m_file_name )); + Driver->getNonConstDriverAttributes().setAttribute("MAX_TEXTURE_SIZE", old_max_size); // set previous mip-map+filter state //Driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, mipmap); diff --git a/src/main.cpp b/src/main.cpp index 4b43fc2fb..01b8ed5fe 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1128,6 +1128,10 @@ void initRest() powerup_manager = new PowerupManager (); attachment_manager = new AttachmentManager (); highscore_manager = new HighscoreManager (); + + // The maximum texture size can not be set earlier, since + // e.g. the background image needs to be loaded in high res. + irr_driver->setMaxTextureSize(); KartPropertiesManager::addKartSearchDir( file_manager->getAddonsFile("karts/")); track_manager->addTrackSearchDir( From 262eeca87f8e4797814f6e6734c8726beaa0f5f6 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Wed, 25 Mar 2015 20:53:05 -0400 Subject: [PATCH 055/331] Update configuration of HD textures in GUI, especially through presets --- src/states_screens/options_screen_video.cpp | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/states_screens/options_screen_video.cpp b/src/states_screens/options_screen_video.cpp index 2e144d697..887fb5d69 100644 --- a/src/states_screens/options_screen_video.cpp +++ b/src/states_screens/options_screen_video.cpp @@ -62,6 +62,7 @@ struct GFXPreset bool dof; bool global_illumination; bool degraded_ibl; + int hd_textures; }; static GFXPreset GFX_PRESETS[] = @@ -70,35 +71,35 @@ static GFXPreset GFX_PRESETS[] = false /* light */, 0 /* shadow */, false /* bloom */, false /* motionblur */, false /* lightshaft */, false /* glow */, false /* mlaa */, false /* ssao */, false /* weather */, false /* animatedScenery */, 0 /* animatedCharacters */, 0 /* anisotropy */, - false /* depth of field */, false /* global illumination */, true /* degraded IBL */ + false /* depth of field */, false /* global illumination */, true /* degraded IBL */, 0 /* hd_textures */ }, { false /* light */, 0 /* shadow */, false /* bloom */, false /* motionblur */, false /* lightshaft */, false /* glow */, false /* mlaa */, false /* ssao */, false /* weather */, true /* animatedScenery */, 1 /* animatedCharacters */, 4 /* anisotropy */, - false /* depth of field */, false /* global illumination */, true /* degraded IBL */ + false /* depth of field */, false /* global illumination */, true /* degraded IBL */, 0 /* hd_textures */ }, { true /* light */, 0 /* shadow */, false /* bloom */, false /* motionblur */, false /* lightshaft */, false /* glow */, false /* mlaa */, false /* ssao */, true /* weather */, true /* animatedScenery */, 1 /* animatedCharacters */, 4 /* anisotropy */, - false /* depth of field */, false /* global illumination */, true /* degraded IBL */ + false /* depth of field */, false /* global illumination */, true /* degraded IBL */, 1 /* hd_textures */ }, { true /* light */, 0 /* shadow */, false /* bloom */, true /* motionblur */, true /* lightshaft */, true /* glow */, true /* mlaa */, false /* ssao */, true /* weather */, true /* animatedScenery */, 1 /* animatedCharacters */, 8 /* anisotropy */, - false /* depth of field */, false /* global illumination */, false /* degraded IBL */ + false /* depth of field */, false /* global illumination */, false /* degraded IBL */, 1 /* hd_textures */ }, { true /* light */, 1024 /* shadow */, true /* bloom */, true /* motionblur */, true /* lightshaft */, true /* glow */, true /* mlaa */, true /* ssao */, true /* weather */, true /* animatedScenery */, 2 /* animatedCharacters */, 16 /* anisotropy */, - true /* depth of field */, true /* global illumination */, false /* degraded IBL */ + true /* depth of field */, true /* global illumination */, false /* degraded IBL */, 1 /* hd_textures */ } }; @@ -397,7 +398,8 @@ void OptionsScreenVideo::updateGfxSlider() GFX_PRESETS[l].weather == UserConfigParams::m_weather_effects && GFX_PRESETS[l].dof == UserConfigParams::m_dof && GFX_PRESETS[l].global_illumination == UserConfigParams::m_gi && - GFX_PRESETS[l].degraded_ibl == UserConfigParams::m_degraded_IBL) + GFX_PRESETS[l].degraded_ibl == UserConfigParams::m_degraded_IBL && + GFX_PRESETS[l].hd_textures == (UserConfigParams::m_high_definition_textures & 0x01)) { gfx->setValue(l + 1); found = true; @@ -488,7 +490,11 @@ void OptionsScreenVideo::updateTooltip() //I18N: in graphical options tooltip = tooltip + L"\n" + _("Global illumination : %s", UserConfigParams::m_gi ? enabled : disabled); - + + //I18N: in graphical options + tooltip = tooltip + L"\n" + _("Use high definition textures") + L" : " + + ((UserConfigParams::m_high_definition_textures & 0x1) == 0 ? disabled : enabled); + gfx->setTooltip(tooltip); } // updateTooltip @@ -570,6 +576,7 @@ void OptionsScreenVideo::eventCallback(Widget* widget, const std::string& name, UserConfigParams::m_dof = GFX_PRESETS[level].dof; UserConfigParams::m_gi = GFX_PRESETS[level].global_illumination; UserConfigParams::m_degraded_IBL = GFX_PRESETS[level].degraded_ibl; + UserConfigParams::m_high_definition_textures = 0x02 | GFX_PRESETS[level].hd_textures; updateGfxSlider(); } From 02d5b43d867c6a59139580ebbed5b3cae1accd5d Mon Sep 17 00:00:00 2001 From: hiker Date: Thu, 26 Mar 2015 17:12:51 +1100 Subject: [PATCH 056/331] Replaced all texture->getOriginalSize() with texture->getSize() to take potentially resized textures properly into account. --- src/graphics/2dutils.cpp | 2 +- src/graphics/render_skybox.cpp | 8 ++++---- src/guiengine/CGUISpriteBank.cpp | 4 ++-- src/states_screens/race_gui.cpp | 8 ++++---- src/states_screens/race_gui_base.cpp | 22 +++++++++++----------- src/states_screens/race_gui_overworld.cpp | 6 +++--- 6 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/graphics/2dutils.cpp b/src/graphics/2dutils.cpp index 386f1ac24..afebe54ed 100644 --- a/src/graphics/2dutils.cpp +++ b/src/graphics/2dutils.cpp @@ -117,7 +117,7 @@ void draw2DImage(const video::ITexture* texture, const core::rect& destRect tex_width, tex_height, tex_center_pos_x, tex_center_pos_y; - getSize(texture->getOriginalSize().Width, texture->getOriginalSize().Height, texture->isRenderTarget(), + getSize(texture->getSize().Width, texture->getSize().Height, texture->isRenderTarget(), destRect, sourceRect, width, height, center_pos_x, center_pos_y, tex_width, tex_height, tex_center_pos_x, tex_center_pos_y); diff --git a/src/graphics/render_skybox.cpp b/src/graphics/render_skybox.cpp index 967e756b8..30baf03ac 100644 --- a/src/graphics/render_skybox.cpp +++ b/src/graphics/render_skybox.cpp @@ -226,8 +226,8 @@ GLuint generateCubeMapFromTextures(const std::vector &texture unsigned size = 0; for (unsigned i = 0; i < 6; i++) { - size = MAX2(size, textures[i]->getOriginalSize().Width); - size = MAX2(size, textures[i]->getOriginalSize().Height); + size = MAX2(size, textures[i]->getSize().Width); + size = MAX2(size, textures[i]->getSize().Height); } const unsigned texture_permutation[] = { 2, 3, 0, 1, 5, 4 }; @@ -299,8 +299,8 @@ void IrrDriver::generateDiffuseCoefficients() for (unsigned i = 0; i < 6; i++) { - sh_w = MAX2(sh_w, SphericalHarmonicsTextures[i]->getOriginalSize().Width); - sh_h = MAX2(sh_h, SphericalHarmonicsTextures[i]->getOriginalSize().Height); + sh_w = MAX2(sh_w, SphericalHarmonicsTextures[i]->getSize().Width); + sh_h = MAX2(sh_h, SphericalHarmonicsTextures[i]->getSize().Height); } for (unsigned i = 0; i < 6; i++) diff --git a/src/guiengine/CGUISpriteBank.cpp b/src/guiengine/CGUISpriteBank.cpp index 19150fc2f..d255309e5 100644 --- a/src/guiengine/CGUISpriteBank.cpp +++ b/src/guiengine/CGUISpriteBank.cpp @@ -151,8 +151,8 @@ s32 STKModifiedSpriteBank::addTextureAsSprite(video::ITexture* texture) u32 rectangleIndex = Rectangles.size(); Rectangles.push_back( core::rect(0,0, - texture->getOriginalSize().Width, - texture->getOriginalSize().Height) ); + texture->getSize().Width, + texture->getSize().Height) ); SGUISprite sprite; sprite.frameTime = 0; diff --git a/src/states_screens/race_gui.cpp b/src/states_screens/race_gui.cpp index ad5143cd7..55dc87ed7 100644 --- a/src/states_screens/race_gui.cpp +++ b/src/states_screens/race_gui.cpp @@ -268,7 +268,7 @@ void RaceGUI::drawScores() offsetX + (int)(m_minimap_player_size/1.25f), offsetY + (int)(m_minimap_player_size/1.25f)); core::rect sourceRect(core::position2d(0,0), - team_icon->getOriginalSize()); + team_icon->getSize()); draw2DImage(team_icon,indicatorPos,sourceRect, NULL,NULL,true); numLeader++; @@ -357,7 +357,7 @@ void RaceGUI::drawGlobalMiniMap() if (old_rtt_mini_map != NULL) { core::rect source(core::position2di(0, 0), - old_rtt_mini_map->getOriginalSize()); + old_rtt_mini_map->getSize()); draw2DImage(old_rtt_mini_map, dest, source, NULL, NULL, true); } @@ -380,7 +380,7 @@ void RaceGUI::drawGlobalMiniMap() video::ITexture* icon = kart->getKartProperties()->getMinimapIcon(); - // int marker_height = m_marker->getOriginalSize().Height; + // int marker_height = m_marker->getSize().Height; core::rect source(core::position2di(0, 0), icon->getSize()); int marker_half_size = (kart->getController()->isPlayerController() ? m_minimap_player_size @@ -720,7 +720,7 @@ void RaceGUI::drawSpeedEnergyRank(const AbstractKart* kart, (int)offset.Y); video::ITexture *meter_texture = m_speed_meter_icon->getTexture(); const core::rect meter_texture_coords(core::position2d(0,0), - meter_texture->getOriginalSize()); + meter_texture->getSize()); draw2DImage(meter_texture, meter_pos, meter_texture_coords, NULL, NULL, true); // TODO: temporary workaround, shouldn't have to use diff --git a/src/states_screens/race_gui_base.cpp b/src/states_screens/race_gui_base.cpp index db54885ae..4465b8ffc 100644 --- a/src/states_screens/race_gui_base.cpp +++ b/src/states_screens/race_gui_base.cpp @@ -327,7 +327,7 @@ void RaceGUIBase::drawPowerupIcons(const AbstractKart* kart, assert(powerup->getIcon() != NULL); video::ITexture *t=powerup->getIcon()->getTexture(); assert(t != NULL); - core::rect rect(core::position2di(0, 0), t->getOriginalSize()); + core::rect rect(core::position2di(0, 0), t->getSize()); for ( int i = 0 ; i < n ; i++ ) { @@ -588,7 +588,7 @@ void RaceGUIBase::drawGlobalMusicDescription() noteX+iconSizeX/2+20, noteY+iconSizeY/2+ICON_SIZE/2); const core::rect source(core::position2d(0,0), - t->getOriginalSize()); + t->getSize()); draw2DImage(t, dest, source, NULL, NULL, true); @@ -855,7 +855,7 @@ void RaceGUIBase::drawGlobalPlayerIcons(int bottom_margin) 100+(int)(100*cos(M_PI/2*i+World::getWorld()->getTime()*2))); } const core::rect rect(core::position2d(0,0), - m_icons_frame->getTexture()->getOriginalSize()); + m_icons_frame->getTexture()->getSize()); draw2DImage( m_icons_frame->getTexture(), pos, rect,NULL, colors, true); } @@ -864,7 +864,7 @@ void RaceGUIBase::drawGlobalPlayerIcons(int bottom_margin) if (icon && !kart->getKartAnimation() && !kart->isSquashed()) { const core::rect rect(core::position2d(0,0), - icon->getOriginalSize()); + icon->getSize()); draw2DImage(icon, pos, rect, NULL, NULL, true); } @@ -877,7 +877,7 @@ void RaceGUIBase::drawGlobalPlayerIcons(int bottom_margin) float t = kart->getKartAnimation()->getAnimationTimer(); float t_anim=100*sin(0.5f*M_PI*t); const core::rect rect1(core::position2d(0,0), - icon->getOriginalSize()); + icon->getSize()); const core::rect pos1((int)(x-t_anim), y, (int)(x+w-t_anim), y+w); draw2DImage(icon, pos1, rect1, @@ -890,7 +890,7 @@ void RaceGUIBase::drawGlobalPlayerIcons(int bottom_margin) const core::rect destRect(core::position2d(x,y+w/4), core::position2d(x+w,y+w*3/4)); const core::rect sourceRect(core::position2d(0,0), - icon->getOriginalSize()); + icon->getSize()); draw2DImage(icon, destRect, sourceRect, NULL, NULL, true); @@ -902,8 +902,8 @@ void RaceGUIBase::drawGlobalPlayerIcons(int bottom_margin) //exploses into 4 parts float t = kart->getKartAnimation()->getAnimationTimer(); float t_anim=50.0f*sin(0.5f*M_PI*t); - u16 icon_size_x=icon->getOriginalSize().Width; - u16 icon_size_y=icon->getOriginalSize().Height; + u16 icon_size_x=icon->getSize().Width; + u16 icon_size_y=icon->getSize().Height; const core::rect rect1(0, 0, icon_size_x/2,icon_size_y/2); const core::rect pos1((int)(x-t_anim), (int)(y-t_anim), @@ -940,7 +940,7 @@ void RaceGUIBase::drawGlobalPlayerIcons(int bottom_margin) if (icon_plunger != NULL) { const core::rect rect(core::position2d(0,0), - icon_plunger->getOriginalSize()); + icon_plunger->getSize()); const core::rect pos1(x+10, y-10, x+w+10, y+w-10); draw2DImage(icon_plunger, pos1, rect, NULL, NULL, @@ -956,7 +956,7 @@ void RaceGUIBase::drawGlobalPlayerIcons(int bottom_margin) if (icon_attachment != NULL) { const core::rect rect(core::position2d(0,0), - icon_attachment->getOriginalSize()); + icon_attachment->getSize()); const core::rect pos1(x-20, y-10, x+w-20, y+w-10); draw2DImage(icon_attachment, pos1, rect, NULL, @@ -1054,7 +1054,7 @@ void RaceGUIBase::drawPlungerInFace(const Camera *camera, float dt) plunger_x+plunger_size, offset_y+plunger_size); const core::rect source(core::position2d(0,0), - t->getOriginalSize()); + t->getSize()); draw2DImage(t, dest, source, &viewport /* clip */, diff --git a/src/states_screens/race_gui_overworld.cpp b/src/states_screens/race_gui_overworld.cpp index a77839be4..b6242217c 100644 --- a/src/states_screens/race_gui_overworld.cpp +++ b/src/states_screens/race_gui_overworld.cpp @@ -330,7 +330,7 @@ void RaceGUIOverworld::drawGlobalMiniMap() if (old_rtt_mini_map != NULL) { - core::rect source(core::position2di(0, 0), old_rtt_mini_map->getOriginalSize()); + core::rect source(core::position2di(0, 0), old_rtt_mini_map->getSize()); draw2DImage(old_rtt_mini_map, dest, source, 0, 0, true); } else if (new_rtt_mini_map != NULL) @@ -381,7 +381,7 @@ void RaceGUIOverworld::drawGlobalMiniMap() colors[i]=kart->getKartProperties()->getColor(); } const core::rect rect(core::position2d(0,0), - m_icons_frame->getTexture()->getOriginalSize()); + m_icons_frame->getTexture()->getSize()); draw2DImage(m_icons_frame->getTexture(), position, rect, NULL, colors, true); @@ -410,7 +410,7 @@ void RaceGUIOverworld::drawGlobalMiniMap() else if (c->isSolved(RaceManager::DIFFICULTY_EASY)) state = COMPLETED_EASY; const core::rect source(core::position2d(0,0), - m_icons[state]->getOriginalSize()); + m_icons[state]->getSize()); int marker_size = m_minimap_challenge_size; core::position2di mouse = irr_driver->getMouseLocation(); From 6c57ce8507a03e15bfec3741c0de21f00e2d3999 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 27 Mar 2015 08:05:55 +1100 Subject: [PATCH 057/331] Disable texture cache for resized textures (which are all in lower res compared what we use now that we resize _every_ big texture). --- src/tracks/track.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index 36f567a00..7df8d8191 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -963,6 +963,8 @@ bool Track::loadMainTrack(const XMLNode &root) // and configure the path to them before loading the mesh. if ( (UserConfigParams::m_high_definition_textures & 0x01) == 0x00) { +#undef USE_RESIZE_CACHE +#ifdef USE_RESIZE_CACHE std::string cached_textures_dir = irr_driver->generateSmallerTextures(m_root); @@ -972,10 +974,11 @@ bool Track::loadMainTrack(const XMLNode &root) std::string texture_default_path = scene_params->getAttributeAsString(scene::B3D_TEXTURE_PATH).c_str(); scene_params->setAttribute(scene::B3D_TEXTURE_PATH, cached_textures_dir.c_str()); - +#endif mesh = irr_driver->getMesh(full_path); - +#ifdef USE_RESIZE_CACHE scene_params->setAttribute(scene::B3D_TEXTURE_PATH, texture_default_path.c_str()); +#endif } else // Load mesh with default (hd) textures { @@ -1637,6 +1640,10 @@ void Track::loadTrackModel(bool reverse_track, unsigned int mode_id) file_manager->pushTextureSearchPath(m_root); file_manager->pushModelSearchPath (m_root); + // For now ignore the resize cache, since atm it only handles texturs in + // the track directory. +#undef USE_RESIZE_CACHE +#ifdef USE_RESIZE_CACHE // If the hd texture option is disabled, we generate smaller textures // and we also add the cache directory to the texture search path if ( (UserConfigParams::m_high_definition_textures & 0x01) == 0x00) @@ -1645,7 +1652,7 @@ void Track::loadTrackModel(bool reverse_track, unsigned int mode_id) irr_driver->generateSmallerTextures(m_root); file_manager->pushTextureSearchPath(cached_textures_dir); } - +#endif // First read the temporary materials.xml file if it exists try { @@ -1823,10 +1830,12 @@ void Track::loadTrackModel(bool reverse_track, unsigned int mode_id) World::getWorld()->setClearbackBufferColor(m_sky_color); } +#ifdef USE_RESIZE_CACHE if (!UserConfigParams::m_high_definition_textures) { file_manager->popTextureSearchPath(); } +#endif file_manager->popTextureSearchPath(); file_manager->popModelSearchPath (); From f81f684b3481fd9f5dc11ee40ac52875aad04869 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Thu, 26 Mar 2015 19:37:17 -0400 Subject: [PATCH 058/331] Improve timings used for audio status. Could be more precise but is good enough for the moment. See #2049 --- src/audio/sfx_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index f729c0f39..7973e8254 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -365,7 +365,7 @@ void* SFXManager::mainLoop(void *obj) // Wait some time to let other threads run, then queue an // update event to keep music playing. StkTime::sleep(1); - me->queue(SFX_UPDATE, (SFXBase*)NULL, 0.01f); + me->queue(SFX_UPDATE, (SFXBase*)NULL, 0.001f); } me->m_sfx_commands.lock(); From 0c6f3eb3dd9bf82e0edc002df9b9a879c15fd31d Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 27 Mar 2015 11:07:38 +1100 Subject: [PATCH 059/331] Tried to increase accuracy by measuing the sleeping time exactly. --- src/audio/sfx_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index 7973e8254..e6975bbb8 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -364,7 +364,9 @@ void* SFXManager::mainLoop(void *obj) { // Wait some time to let other threads run, then queue an // update event to keep music playing. + double t = StkTime::getRealTime(); StkTime::sleep(1); + t = StkTime::getRealTime() - t; me->queue(SFX_UPDATE, (SFXBase*)NULL, 0.001f); } me->m_sfx_commands.lock(); From efcfdcced7bf585a9f39239acd342a478c80d4cd Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 27 Mar 2015 11:14:34 +1100 Subject: [PATCH 060/331] Oops - fixed typo in previous commit ... where I ignored the nicely computed 'accurate' values in the end :) --- src/audio/sfx_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index e6975bbb8..b484d3eb1 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -367,7 +367,7 @@ void* SFXManager::mainLoop(void *obj) double t = StkTime::getRealTime(); StkTime::sleep(1); t = StkTime::getRealTime() - t; - me->queue(SFX_UPDATE, (SFXBase*)NULL, 0.001f); + me->queue(SFX_UPDATE, (SFXBase*)NULL, float(t)); } me->m_sfx_commands.lock(); From 26bd5a89a00a3fdd43d3460e508d45e1c62b0744 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Thu, 26 Mar 2015 20:49:36 -0400 Subject: [PATCH 061/331] Use accurate timing for sounds. Fixes #2049 --- src/audio/sfx_manager.cpp | 16 +++++++++++++--- src/audio/sfx_manager.hpp | 4 +++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index b484d3eb1..d026b559f 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -74,6 +74,7 @@ SFXManager::SFXManager() // The sound manager initialises OpenAL m_initialized = music_manager->initialized(); m_master_gain = UserConfigParams::m_sfx_volume; + m_last_update_time = -1.0f; // Init position, since it can be used before positionListener is called. // No need to use lock here, since the thread will be created later. m_listener_position.getData() = Vec3(0, 0, 0); @@ -669,9 +670,9 @@ void SFXManager::deleteSFXMapping(const std::string &name) * adds an update command for the music manager. * \param dt Time step size. */ -void SFXManager::update(float dt) +void SFXManager::update() { - queue(SFX_UPDATE, (SFXBase*)NULL, dt); + queue(SFX_UPDATE, (SFXBase*)NULL); // Wake up the sfx thread to handle all queued up audio commands. pthread_cond_signal(&m_cond_request); } // update @@ -683,8 +684,17 @@ void SFXManager::update(float dt) */ void SFXManager::reallyUpdateNow(SFXCommand *current) { + if (m_last_update_time < 0.0) + { + // first time + m_last_update_time = StkTime::getRealTime(); + } + + double previous_update_time = m_last_update_time; + m_last_update_time = StkTime::getRealTime(); + double dt = m_last_update_time - previous_update_time; + assert(current->m_command==SFX_UPDATE); - float dt = current->m_parameter.getX(); if (music_manager->getCurrentMusic()) music_manager->getCurrentMusic()->update(dt); m_all_sfx.lock(); diff --git a/src/audio/sfx_manager.hpp b/src/audio/sfx_manager.hpp index 08e939179..a05b0df35 100644 --- a/src/audio/sfx_manager.hpp +++ b/src/audio/sfx_manager.hpp @@ -200,6 +200,8 @@ private: /** Thread id of the thread running in this object. */ Synchronised m_thread_id; + double m_last_update_time; + /** A conditional variable to wake up the main loop. */ pthread_cond_t m_cond_request; @@ -253,7 +255,7 @@ public: void reallyPauseAllNow(); void resumeAll(); void reallyResumeAllNow(); - void update(float dt); + void update(); void reallyUpdateNow(SFXCommand *current); bool soundExist(const std::string &name); void setMasterSFXVolume(float gain); From 3d4509b863c23d5b5a83c9e21e838acfbc77158f Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 27 Mar 2015 11:53:25 +1100 Subject: [PATCH 062/331] Add a log statement about outdated drivers or opengl version to the log file (even if the popup for those issues is disabled). --- src/main.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index ddd563750..0ca99d288 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1365,9 +1365,10 @@ int main(int argc, char *argv[] ) exit(0); } - if (UserConfigParams::m_old_driver_popup) + if (!ProfileWorld::isNoGraphics() && + GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_DRIVER_RECENT_ENOUGH)) { - if (!ProfileWorld::isNoGraphics() && GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_DRIVER_RECENT_ENOUGH)) + if (UserConfigParams::m_old_driver_popup) { MessageDialog *dialog = new MessageDialog(_("Your driver version is too old. Please install " @@ -1375,7 +1376,11 @@ int main(int argc, char *argv[] ) /*from queue*/ true); GUIEngine::DialogQueue::get()->pushDialog(dialog); } - else if (!CVS->isGLSL()) + Log::warn("OpenGL", "Driver is too old!"); + } + else if (!CVS->isGLSL()) + { + if (UserConfigParams::m_old_driver_popup) { MessageDialog *dialog = new MessageDialog(_("Your OpenGL version appears to be too old. Please verify " @@ -1383,6 +1388,7 @@ int main(int argc, char *argv[] ) /*from queue*/ true); GUIEngine::DialogQueue::get()->pushDialog(dialog); } + Log::warn("OpenGL", "OpenGL version is too old!"); } // Note that on the very first run of STK internet status is set to From 80de98f40a18d80478465eb7b89004a4048d83f2 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Thu, 26 Mar 2015 21:26:51 -0400 Subject: [PATCH 063/331] Fix build --- src/main_loop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_loop.cpp b/src/main_loop.cpp index cc1d4e37a..1b9d458e3 100644 --- a/src/main_loop.cpp +++ b/src/main_loop.cpp @@ -155,7 +155,7 @@ void MainLoop::run() // can use as many threads as possible without interfering // with audia PROFILER_PUSH_CPU_MARKER("Music/input/GUI", 0x7F, 0x00, 0x00); - SFXManager::get()->update(dt); + SFXManager::get()->update(); PROFILER_POP_CPU_MARKER(); PROFILER_PUSH_CPU_MARKER("Protocol manager update", 0x7F, 0x00, 0x7F); From 17039141e4761cec733b46ce8851ba8501b19c43 Mon Sep 17 00:00:00 2001 From: hiker Date: Sat, 28 Mar 2015 01:30:42 +1100 Subject: [PATCH 064/331] Fix #2051 by keeping a copy of the timer in the SktTimer class. --- src/main.cpp | 1 + src/utils/time.cpp | 20 +++++++++++++++++++- src/utils/time.hpp | 10 ++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 0ca99d288..57c6c5b11 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1085,6 +1085,7 @@ void initRest() stk_config->load(file_manager->getAsset("stk_config.xml")); irr_driver = new IrrDriver(); + StkTime::init(); // grabs the timer object from the irrlicht device // Now create the actual non-null device in the irrlicht driver irr_driver->initDevice(); diff --git a/src/utils/time.cpp b/src/utils/time.cpp index 68a0e24b2..921389842 100644 --- a/src/utils/time.cpp +++ b/src/utils/time.cpp @@ -22,13 +22,31 @@ #include +irr::ITimer *StkTime::m_timer = NULL; + +/** Init function for the timer. It grabs a copy of the timer of the + * current irrlicht device (which is the NULL device). This way the + * irrlicht time routine can be used even if no device exists. This + * situation can happen when the window resolution is changed - if the + * sfx manager (in a separate thread) would access the timer while the + * device does not exist, stk crashes. + */ +void StkTime::init() +{ + assert(!m_timer); + m_timer = irr_driver->getDevice()->getTimer(); + m_timer->grab(); +} // init + +// ---------------------------------------------------------------------------- /** Returns a time based on an arbitrary 'epoch' (e.g. could be start * time of the application, 1.1.1970, ...). * The value is a double precision floating point value in seconds. */ double StkTime::getRealTime(long startAt) { - return irr_driver->getRealTime()/1000.0; + assert(m_timer); + return m_timer->getRealTime()/1000.0; } // getTimeSinceEpoch // ---------------------------------------------------------------------------- diff --git a/src/utils/time.hpp b/src/utils/time.hpp index ea4b3222e..7dae2b734 100644 --- a/src/utils/time.hpp +++ b/src/utils/time.hpp @@ -18,6 +18,9 @@ #ifndef HEADER_TIME_HPP #define HEADER_TIME_HPP + +#include "ITimer.h" + #include #ifdef WIN32 @@ -36,9 +39,16 @@ class StkTime { +private: + /** This objects keeps a copy of irrlicht's null-device timer. This is + * important otherwise we can't get the time when resolution is switched + * (and the sfx threads needs real time at that time). */ + static irr::ITimer *m_timer; + public: typedef time_t TimeType; + static void init(); static void getDate(int *day=NULL, int *month=NULL, int *year=NULL); /** Converts the time in this object to a human readable string. */ From e65b3414b9e8b38c69cc2bc7f444a3d04b60392d Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Fri, 27 Mar 2015 20:04:39 -0400 Subject: [PATCH 065/331] Tweak cocoa challenge. Further testing welcome --- data/challenges/jungle.challenge | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/challenges/jungle.challenge b/data/challenges/jungle.challenge index b6345dbb5..cc069c478 100644 --- a/data/challenges/jungle.challenge +++ b/data/challenges/jungle.challenge @@ -6,14 +6,14 @@ - + - + - + From cedb7e7123df3511eb77f8946abfda6850a19861 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Sat, 28 Mar 2015 16:56:51 +0100 Subject: [PATCH 066/331] Fix glVertexAttribDivisor redefinition warning --- src/graphics/gl_headers.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/graphics/gl_headers.hpp b/src/graphics/gl_headers.hpp index 2542fa7a6..0e18a316d 100644 --- a/src/graphics/gl_headers.hpp +++ b/src/graphics/gl_headers.hpp @@ -13,6 +13,9 @@ extern "C" { # include # define OGL32CTX # ifdef GL_ARB_instanced_arrays +# ifdef glVertexAttribDivisor +# undef glVertexAttribDivisor +# endif # define glVertexAttribDivisor glVertexAttribDivisorARB # endif # ifndef GL_TEXTURE_SWIZZLE_RGBA From 7c697e76e5a1cb214bde8b96c66979f6a829deb7 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sat, 28 Mar 2015 22:30:10 +0100 Subject: [PATCH 067/331] Fix motion blur in multiplayer --- src/graphics/camera.cpp | 1 + src/graphics/camera.hpp | 15 +++++++++++++-- src/graphics/irr_driver.hpp | 5 ++--- src/graphics/post_processing.cpp | 20 ++++++++++---------- src/graphics/render.cpp | 2 ++ 5 files changed, 28 insertions(+), 15 deletions(-) diff --git a/src/graphics/camera.cpp b/src/graphics/camera.cpp index 86ad95910..c71cffcf1 100644 --- a/src/graphics/camera.cpp +++ b/src/graphics/camera.cpp @@ -55,6 +55,7 @@ Camera::Camera(int camera_index, AbstractKart* kart) : m_kart(NULL) m_index = camera_index; m_original_kart = kart; m_camera = irr_driver->addCameraSceneNode(); + m_previous_pv_matrix = core::matrix4(); #ifdef DEBUG if (kart != NULL) diff --git a/src/graphics/camera.hpp b/src/graphics/camera.hpp index deca13935..2b1811828 100644 --- a/src/graphics/camera.hpp +++ b/src/graphics/camera.hpp @@ -28,9 +28,10 @@ #include "utils/log.hpp" #include "utils/vec3.hpp" +#include "matrix4.h" +#include "rect.h" #include "SColor.h" #include "vector2d.h" -#include "rect.h" #include @@ -64,6 +65,8 @@ private: /** The camera scene node. */ scene::ICameraSceneNode *m_camera; + /** The project-view matrix of the previous frame, used for the blur shader. */ + core::matrix4 m_previous_pv_matrix; /** Camera's mode. */ Mode m_mode; @@ -272,7 +275,15 @@ public: void setInitialTransform(); void activate(bool alsoActivateInIrrlicht=true); void update (float dt); - void setKart (AbstractKart *new_kart); + void setKart(AbstractKart *new_kart); + + // ------------------------------------------------------------------------ + /** Returns the project-view matrix of the previous frame. */ + core::matrix4 getPreviousPVMatrix() const { return m_previous_pv_matrix; } + + // ------------------------------------------------------------------------ + /** Returns the project-view matrix of the previous frame. */ + void setPreviousPVMatrix(core::matrix4 mat) { m_previous_pv_matrix = mat; } // ------------------------------------------------------------------------ /** Returns the kart to which this camera is attached. */ diff --git a/src/graphics/irr_driver.hpp b/src/graphics/irr_driver.hpp index 6d9097b83..320cb106d 100644 --- a/src/graphics/irr_driver.hpp +++ b/src/graphics/irr_driver.hpp @@ -218,7 +218,7 @@ private: core::array m_mrt; /** Matrixes used in several places stored here to avoid recomputation. */ - core::matrix4 m_ViewMatrix, m_InvViewMatrix, m_ProjMatrix, m_InvProjMatrix, m_ProjViewMatrix, m_previousProjViewMatrix, m_InvProjViewMatrix; + core::matrix4 m_ViewMatrix, m_InvViewMatrix, m_ProjMatrix, m_InvProjMatrix, m_ProjViewMatrix, m_InvProjViewMatrix; std::vector SkyboxTextures; std::vector SphericalHarmonicsTextures; @@ -678,8 +678,7 @@ public: void setProjMatrix(core::matrix4 matrix) { m_ProjMatrix = matrix; matrix.getInverse(m_InvProjMatrix); } const core::matrix4 &getProjMatrix() const { return m_ProjMatrix; } const core::matrix4 &getInvProjMatrix() const { return m_InvProjMatrix; } - void genProjViewMatrix() { m_previousProjViewMatrix = m_ProjViewMatrix; m_ProjViewMatrix = m_ProjMatrix * m_ViewMatrix; m_InvProjViewMatrix = m_ProjViewMatrix; m_InvProjViewMatrix.makeInverse(); } - const core::matrix4 & getPreviousPVMatrix() { return m_previousProjViewMatrix; } + void genProjViewMatrix() { m_ProjViewMatrix = m_ProjMatrix * m_ViewMatrix; m_InvProjViewMatrix = m_ProjViewMatrix; m_InvProjViewMatrix.makeInverse(); } const core::matrix4 &getProjViewMatrix() const { return m_ProjViewMatrix; } const core::matrix4 &getInvProjViewMatrix() const { return m_InvProjViewMatrix; } const core::vector2df &getCurrentScreenSize() const { return m_current_screen_size; } diff --git a/src/graphics/post_processing.cpp b/src/graphics/post_processing.cpp index a04c69aa0..3ef55f656 100644 --- a/src/graphics/post_processing.cpp +++ b/src/graphics/post_processing.cpp @@ -520,25 +520,25 @@ void PostProcessing::renderMotionBlur(unsigned , FrameBuffer &in_fbo, FrameBuffe { MotionBlurProvider * const cb = (MotionBlurProvider *)irr_driver-> getCallback(ES_MOTIONBLUR); - unsigned cam = Camera::getActiveCamera()->getIndex(); + Camera *cam = Camera::getActiveCamera(); + unsigned camID = cam->getIndex(); - scene::ICameraSceneNode * const camnode = - Camera::getCamera(cam)->getCameraSceneNode(); + scene::ICameraSceneNode * const camnode = cam->getCameraSceneNode(); // Calculate the kart's Y position on screen - if (Camera::getCamera(cam)->getKart()) + if (cam->getKart()) { - const core::vector3df pos = Camera::getCamera(cam)->getKart()->getNode()->getPosition(); + const core::vector3df pos = cam->getKart()->getNode()->getPosition(); float ndc[4]; core::matrix4 trans = camnode->getProjectionMatrix(); trans *= camnode->getViewMatrix(); trans.transformVect(ndc, pos); const float karty = (ndc[1] / ndc[3]) * 0.5f + 0.5f; - setMotionBlurCenterY(cam, karty); + setMotionBlurCenterY(camID, karty); } else - setMotionBlurCenterY(cam, 0.5f); + setMotionBlurCenterY(camID, 0.5f); out_fbo.Bind(); glClear(GL_COLOR_BUFFER_BIT); @@ -546,9 +546,9 @@ void PostProcessing::renderMotionBlur(unsigned , FrameBuffer &in_fbo, FrameBuffe FullScreenShader::MotionBlurShader::getInstance()->SetTextureUnits(in_fbo.getRTT()[0], irr_driver->getDepthStencilTexture()); DrawFullScreenEffect( // Todo : use a previousPVMatrix per cam, not global - irr_driver->getPreviousPVMatrix(), + cam->getPreviousPVMatrix(), core::vector2df(0.5, 0.5), - cb->getBoostTime(Camera::getActiveCamera()->getIndex()) * 10, // Todo : should be framerate dependent + cb->getBoostTime(cam->getIndex()) * 10, // Todo : should be framerate dependent 0.15f); } @@ -730,7 +730,7 @@ FrameBuffer *PostProcessing::render(scene::ICameraSceneNode * const camnode, boo // Downsample FrameBuffer::Blit(irr_driver->getFBO(FBO_BLOOM_512), irr_driver->getFBO(FBO_BLOOM_256), GL_COLOR_BUFFER_BIT, GL_LINEAR); FrameBuffer::Blit(irr_driver->getFBO(FBO_BLOOM_256), irr_driver->getFBO(FBO_BLOOM_128), GL_COLOR_BUFFER_BIT, GL_LINEAR); - + // Copy for lens flare FrameBuffer::Blit(irr_driver->getFBO(FBO_BLOOM_512), irr_driver->getFBO(FBO_LENS_512), GL_COLOR_BUFFER_BIT, GL_LINEAR); FrameBuffer::Blit(irr_driver->getFBO(FBO_BLOOM_256), irr_driver->getFBO(FBO_LENS_256), GL_COLOR_BUFFER_BIT, GL_LINEAR); diff --git a/src/graphics/render.cpp b/src/graphics/render.cpp index e1fab4cf7..c01fb6bd3 100644 --- a/src/graphics/render.cpp +++ b/src/graphics/render.cpp @@ -276,6 +276,8 @@ void IrrDriver::renderGLSL(float dt) glDisable(GL_FRAMEBUFFER_SRGB); } } + // Save projection-view matrix for the next frame + camera->setPreviousPVMatrix(m_ProjViewMatrix); PROFILER_POP_CPU_MARKER(); } // for igetNumKarts() From f2d0b4d7e03a9deb3be55bf0e7c16d2d40b144de Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Sat, 28 Mar 2015 18:19:27 -0400 Subject: [PATCH 068/331] Some challenge tweaks, more coming. See #2052 --- data/challenges/mines.challenge | 2 +- data/challenges/sandtrack.challenge | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/challenges/mines.challenge b/data/challenges/mines.challenge index b50d24143..9d577f030 100644 --- a/data/challenges/mines.challenge +++ b/data/challenges/mines.challenge @@ -14,6 +14,6 @@ - + diff --git a/data/challenges/sandtrack.challenge b/data/challenges/sandtrack.challenge index 9010c3732..ba178bfef 100644 --- a/data/challenges/sandtrack.challenge +++ b/data/challenges/sandtrack.challenge @@ -10,10 +10,10 @@ - + - + From 8deac178d0ebf9cf433ab642138af171e9a9c182 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Sat, 28 Mar 2015 18:20:28 -0400 Subject: [PATCH 069/331] Attempt fix for 2055. Committed in a branch for now until we can test it better. --- src/tracks/track.cpp | 39 ++++++++++++++++-------- src/tracks/track.hpp | 12 +++++++- src/tracks/track_object_manager.cpp | 24 --------------- src/tracks/track_object_presentation.cpp | 18 +++++++++-- 4 files changed, 54 insertions(+), 39 deletions(-) diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index 7df8d8191..2dfeb6afe 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -142,7 +142,7 @@ Track::Track(const std::string &filename) m_startup_run = false; m_default_number_of_laps= 3; m_all_nodes.clear(); - m_all_physics_only_nodes.clear(); + m_static_physics_only_nodes.clear(); m_all_cached_meshes.clear(); loadTrackInfo(); } // Track @@ -293,7 +293,7 @@ void Track::cleanup() irr_driver->removeNode(m_all_nodes[i]); } m_all_nodes.clear(); - m_all_physics_only_nodes.clear(); + m_static_physics_only_nodes.clear(); m_all_emitters.clearAndDeleteAll(); @@ -302,6 +302,12 @@ void Track::cleanup() delete m_track_object_manager; m_track_object_manager = NULL; + for (unsigned int i = 0; i < m_object_physics_only_nodes.size(); i++) + { + m_object_physics_only_nodes[i]->drop(); + } + m_object_physics_only_nodes.clear(); + irr_driver->removeNode(m_sun); delete m_track_mesh; @@ -720,6 +726,24 @@ void Track::createPhysicsModel(unsigned int main_track_count) return; } + + // Now convert all objects that are only used for the physics + // (like invisible walls). + for (unsigned int i = 0; iremoveNode(m_static_physics_only_nodes[i]); + } + m_static_physics_only_nodes.clear(); + + for (unsigned int i = 0; isetVisible(false); + m_object_physics_only_nodes[i]->grab(); + irr_driver->removeNode(m_object_physics_only_nodes[i]); + } + m_track_mesh->removeAll(); m_gfx_effect_mesh->removeAll(); for(unsigned int i=main_track_count; iremoveNode(m_all_physics_only_nodes[i]); - } - m_all_physics_only_nodes.clear(); - if (m_track_mesh == NULL) { Log::fatal("track", "m_track_mesh == NULL, cannot loadMainTrack\n"); diff --git a/src/tracks/track.hpp b/src/tracks/track.hpp index 635d913f6..e4da819de 100644 --- a/src/tracks/track.hpp +++ b/src/tracks/track.hpp @@ -184,7 +184,12 @@ private: /** The list of all nodes that are to be converted into physics, * but not to be drawn (e.g. invisible walls). */ - std::vector m_all_physics_only_nodes; + std::vector m_static_physics_only_nodes; + + /** Same concept but for track objects. stored separately due to different + * memory management. + */ + std::vector m_object_physics_only_nodes; /** The list of all meshes that are loaded from disk, which means * that those meshes are being cached by irrlicht, and need to be freed. */ @@ -651,6 +656,11 @@ public: // ------------------------------------------------------------------------ void addNode(scene::ISceneNode* node) { m_all_nodes.push_back(node); } // ------------------------------------------------------------------------ + void addPhysicsOnlyNode(scene::ISceneNode* node) + { + m_object_physics_only_nodes.push_back(node); + } + // ------------------------------------------------------------------------ float getDisplacementSpeed() const { return m_displacement_speed; } // ------------------------------------------------------------------------ float getCausticsSpeed() const { return m_caustics_speed; } diff --git a/src/tracks/track_object_manager.cpp b/src/tracks/track_object_manager.cpp index 8545ebc32..e2f940ffd 100644 --- a/src/tracks/track_object_manager.cpp +++ b/src/tracks/track_object_manager.cpp @@ -42,13 +42,6 @@ TrackObjectManager::~TrackObjectManager() // ---------------------------------------------------------------------------- /** Adds an object to the track object manager. The type to add is specified * in the xml_node. - * \note If you add add any objects with LOD, don't forget to call - * TrackObjectManager::assingLodNodes after everything is loaded - * to finalize their creation. - * - * FIXME: all of this is horrible, just make the exporter write LOD definitions - * in a separate section that's read before everything and remove all this - * crap */ void TrackObjectManager::add(const XMLNode &xml_node, scene::ISceneNode* parent, ModelDefinitionLoader& model_def_loader) @@ -351,21 +344,4 @@ void TrackObjectManager::removeObject(TrackObject* obj) // ---------------------------------------------------------------------------- -/* -void TrackObjectManager::assingLodNodes(const std::vector& lod_nodes) -{ - for (unsigned int n=0; n& queue = m_lod_objects[ lod_nodes[n]->getGroupName() ]; - assert( queue.size() > 0 ); - const XMLNode* xml = queue[ queue.size() - 1 ]; - TrackObject* obj = new TrackObject(*xml, lod_nodes[n]->getParent(), lod_nodes[n]); - queue.erase( queue.end() - 1 ); - - m_all_objects.push_back(obj); - } - - m_lod_objects.clear(); -} -*/ diff --git a/src/tracks/track_object_presentation.cpp b/src/tracks/track_object_presentation.cpp index 55a20c61e..e6557c100 100644 --- a/src/tracks/track_object_presentation.cpp +++ b/src/tracks/track_object_presentation.cpp @@ -384,14 +384,28 @@ void TrackObjectPresentationMesh::init(const XMLNode* xml_node, bool animated = skeletal_animation && (UserConfigParams::m_graphical_effects || World::getWorld()->getIdent() == IDENT_CUTSCENE); bool displacing = false; - if(xml_node) + std::string interaction; + if (xml_node) + { xml_node->get("displacing", &displacing); + xml_node->get("interaction", &interaction); + } animated &= !displacing; m_mesh->grab(); irr_driver->grabAllTextures(m_mesh); - if (m_is_in_skybox) + if (interaction == "physicsonly") + { + m_node = irr_driver->addMesh(m_mesh, m_model_file, parent); + enabled = false; + m_frame_start = 0; + m_frame_end = 0; + + if (World::getWorld() && World::getWorld()->getTrack() && xml_node) + World::getWorld()->getTrack()->addPhysicsOnlyNode(m_node); + } + else if (m_is_in_skybox) { // Tell the driver that this mesh is a part of the background scene::IMeshSceneNode * const node = From dda3bb0f31a2d1b5bb2096811ff81714e17ed7ef Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Sat, 28 Mar 2015 19:21:48 -0400 Subject: [PATCH 070/331] Tweak more challenges --- data/challenges/lighthouse.challenge | 4 ++-- data/challenges/snowmountain.challenge | 4 ++-- data/challenges/xr591.challenge | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/data/challenges/lighthouse.challenge b/data/challenges/lighthouse.challenge index 326588621..8303cb977 100644 --- a/data/challenges/lighthouse.challenge +++ b/data/challenges/lighthouse.challenge @@ -10,11 +10,11 @@ - + - + diff --git a/data/challenges/snowmountain.challenge b/data/challenges/snowmountain.challenge index e4ac0c61e..db4319738 100644 --- a/data/challenges/snowmountain.challenge +++ b/data/challenges/snowmountain.challenge @@ -10,10 +10,10 @@ - + - + diff --git a/data/challenges/xr591.challenge b/data/challenges/xr591.challenge index 4f8bc4b0b..44efb0539 100644 --- a/data/challenges/xr591.challenge +++ b/data/challenges/xr591.challenge @@ -6,15 +6,15 @@ - + - + - + From 19fd2f6361ecea6763c1b7c6edf42d8c83b03b0d Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 29 Mar 2015 00:57:05 +0100 Subject: [PATCH 071/331] Allocate memory dynamically in fribidize --- src/utils/translation.cpp | 66 +++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 34 deletions(-) diff --git a/src/utils/translation.cpp b/src/utils/translation.cpp index 38113bf01..29396e336 100644 --- a/src/utils/translation.cpp +++ b/src/utils/translation.cpp @@ -283,26 +283,22 @@ const wchar_t* Translations::fribidize(const wchar_t* in_ptr) #if ENABLE_BIDI if(this->isRTLLanguage()) { - const int FRIBIDI_BUFFER_SIZE = 512; - FriBidiChar fribidiInput[FRIBIDI_BUFFER_SIZE]; - int len = 0; - int n = 0; - //std::cout << "fribidi input : "; - for (n = 0; ; n++) - { - fribidiInput[n] = in_ptr[n]; - //std::cout << (int)fribidiInput[n] << " "; - len++; + std::size_t length = wcslen(in_ptr); + FriBidiChar *fribidiInput; - if (n == FRIBIDI_BUFFER_SIZE-1) // prevent buffeoverflows - { - Log::warn("Translations::fribidize", "translated string too long, truncating"); - fribidiInput[n] = 0; - break; - } - if (fribidiInput[n] == 0) break; // stop on '\0' + if (sizeof(wchar_t) == sizeof(FriBidiChar)) + fribidiInput = (FriBidiChar*) in_ptr; + else + { + // On windows FriBidiChar is 4 bytes, but wchar_t is 2 bytes. + // So we simply copy the characters over here (note that this + // is technically incorrect, all characters we use/support fit + // in 16 bits, which is what irrlicht supports atm). + fribidiInput = new FriBidiChar[length + 1]; + std::memset(fribidiInput, 0, (length + 1) * sizeof(FriBidiChar)); + for (std::size_t i = 0; i <= length; i++) + fribidiInput[i] = in_ptr[i]; } - //std::cout << " (len=" << len << ")\n"; // Assume right to left as start direction. #if FRIBIDI_MINOR_VERSION==10 @@ -314,37 +310,39 @@ const wchar_t* Translations::fribidize(const wchar_t* in_ptr) FriBidiCharType pbase_dir = FRIBIDI_PAR_ON; #endif - static FriBidiChar fribidiOutput[FRIBIDI_BUFFER_SIZE]; - for (n = 0; n < 512 ; n++) { fribidiOutput[n] = 0; } + FriBidiChar *fribidiOutput = new FriBidiChar[length + 1]; + std::memset(fribidiOutput, 0, (length + 1) * sizeof(FriBidiChar)); fribidi_boolean result = fribidi_log2vis(fribidiInput, - len-1, + length, &pbase_dir, fribidiOutput, /* gint *position_L_to_V_list */ NULL, /* gint *position_V_to_L_list */ NULL, /* gint8 *embedding_level_list */ NULL ); + delete[] fribidiInput; if (!result) { + delete[] fribidiOutput; Log::error("Translations::fribidize", "Fribidi failed in 'fribidi_log2vis' =("); m_converted_string = core::stringw(in_ptr); return m_converted_string.c_str(); } -#ifdef WIN32 - // On windows FriBidiChar is 4 bytes, but wchar_t is 2 bytes. - // So we simply copy the characters over here (note that this - // is technically incorrect, all characters we use/support fit - // in 16 bits, which is what irrlicht supports atm). - static wchar_t out[FRIBIDI_BUFFER_SIZE]; - for(int i=0; i Date: Sat, 28 Mar 2015 20:16:37 -0400 Subject: [PATCH 072/331] Tweak challenges --- data/challenges/hacienda.challenge | 2 +- data/challenges/jungle.challenge | 2 +- data/challenges/mansion.challenge | 2 +- data/challenges/sandtrack.challenge | 2 +- data/challenges/snowpeak.challenge | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/challenges/hacienda.challenge b/data/challenges/hacienda.challenge index c92c72108..c351d98b6 100644 --- a/data/challenges/hacienda.challenge +++ b/data/challenges/hacienda.challenge @@ -10,7 +10,7 @@ - + diff --git a/data/challenges/jungle.challenge b/data/challenges/jungle.challenge index cc069c478..46ec0a924 100644 --- a/data/challenges/jungle.challenge +++ b/data/challenges/jungle.challenge @@ -10,7 +10,7 @@ - + diff --git a/data/challenges/mansion.challenge b/data/challenges/mansion.challenge index 06cc9795e..662a15879 100644 --- a/data/challenges/mansion.challenge +++ b/data/challenges/mansion.challenge @@ -10,7 +10,7 @@ - + diff --git a/data/challenges/sandtrack.challenge b/data/challenges/sandtrack.challenge index ba178bfef..189418b8e 100644 --- a/data/challenges/sandtrack.challenge +++ b/data/challenges/sandtrack.challenge @@ -10,7 +10,7 @@ - + diff --git a/data/challenges/snowpeak.challenge b/data/challenges/snowpeak.challenge index e9e1aa4da..e6c05e284 100644 --- a/data/challenges/snowpeak.challenge +++ b/data/challenges/snowpeak.challenge @@ -10,7 +10,7 @@ - + From 100060eafd3b1ad73c0efc23dad7aa21d0ded2e0 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 29 Mar 2015 01:43:02 +0100 Subject: [PATCH 073/331] Don't delete the array on linux and remove a useless memset --- src/utils/translation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/translation.cpp b/src/utils/translation.cpp index 29396e336..cda9463c0 100644 --- a/src/utils/translation.cpp +++ b/src/utils/translation.cpp @@ -295,7 +295,6 @@ const wchar_t* Translations::fribidize(const wchar_t* in_ptr) // is technically incorrect, all characters we use/support fit // in 16 bits, which is what irrlicht supports atm). fribidiInput = new FriBidiChar[length + 1]; - std::memset(fribidiInput, 0, (length + 1) * sizeof(FriBidiChar)); for (std::size_t i = 0; i <= length; i++) fribidiInput[i] = in_ptr[i]; } @@ -320,7 +319,8 @@ const wchar_t* Translations::fribidize(const wchar_t* in_ptr) /* gint *position_V_to_L_list */ NULL, /* gint8 *embedding_level_list */ NULL ); - delete[] fribidiInput; + if (sizeof(wchar_t) != sizeof(FriBidiChar)) + delete[] fribidiInput; if (!result) { From ded789de18a67bd75a1abcbcdbd374c7c0df6886 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 29 Mar 2015 23:17:14 +0200 Subject: [PATCH 074/331] Add option to fribidize everything --- src/utils/translation.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/utils/translation.cpp b/src/utils/translation.cpp index cda9463c0..8e5d6853f 100644 --- a/src/utils/translation.cpp +++ b/src/utils/translation.cpp @@ -47,6 +47,8 @@ // set to 1 to debug i18n #define TRANSLATE_VERBOSE 0 +// Define TEST_BIDI to force right-to-left style for all languages +//#define TEST_BIDI using namespace tinygettext; @@ -274,6 +276,9 @@ Translations::Translations() //: m_dictionary_manager("UTF-16") break; } } +#ifdef TEST_BIDI + m_rtl = true; +#endif } // Translations // ---------------------------------------------------------------------------- @@ -298,6 +303,12 @@ const wchar_t* Translations::fribidize(const wchar_t* in_ptr) for (std::size_t i = 0; i <= length; i++) fribidiInput[i] = in_ptr[i]; } +#ifdef TEST_BIDI + FriBidiChar *tmp = fribidiInput; + fribidiInput = new FriBidiChar[++length + 1]; + std::memcpy(fribidiInput + 1, tmp, length * sizeof(FriBidiChar)); + fribidiInput[0] = L'\u202E'; +#endif // Assume right to left as start direction. #if FRIBIDI_MINOR_VERSION==10 @@ -319,6 +330,11 @@ const wchar_t* Translations::fribidize(const wchar_t* in_ptr) /* gint *position_V_to_L_list */ NULL, /* gint8 *embedding_level_list */ NULL ); +#ifdef TEST_BIDI + delete[] fribidiInput; + fribidiInput = tmp; +#endif + if (sizeof(wchar_t) != sizeof(FriBidiChar)) delete[] fribidiInput; From b041d0d79ee9aa8625f4be06bdb9bde96ad64440 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sun, 29 Mar 2015 23:53:36 +0200 Subject: [PATCH 075/331] Challenge points were not displayed at the right position for RTL languages --- src/graphics/stk_text_billboard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/graphics/stk_text_billboard.cpp b/src/graphics/stk_text_billboard.cpp index aeabe147b..24276bc1e 100644 --- a/src/graphics/stk_text_billboard.cpp +++ b/src/graphics/stk_text_billboard.cpp @@ -46,7 +46,8 @@ void STKTextBillboard::updateAbsolutePosition() scene::IMesh* STKTextBillboard::getTextMesh(core::stringw text, gui::ScalableFont* font) { - font->doDraw(text, core::rect(0, 0, 1000, 1000), video::SColor(255,255,255,255), + core::dimension2du size = font->getDimension(text.c_str()); + font->doDraw(text, core::rect(0, 0, size.Width, size.Height), video::SColor(255,255,255,255), false, false, NULL, this); const float scale = 0.018f; From 1971254a7f86b4e0a4541bbf25e906273296cc80 Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 30 Mar 2015 09:12:00 +1100 Subject: [PATCH 076/331] Fixed compiler warning. --- src/audio/sfx_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index d026b559f..fc89bc5d5 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -692,7 +692,7 @@ void SFXManager::reallyUpdateNow(SFXCommand *current) double previous_update_time = m_last_update_time; m_last_update_time = StkTime::getRealTime(); - double dt = m_last_update_time - previous_update_time; + float dt = float(m_last_update_time - previous_update_time); assert(current->m_command==SFX_UPDATE); if (music_manager->getCurrentMusic()) From c579eba6db70dceb7ebaba8ca355a8ea11d7cd9f Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 30 Mar 2015 09:57:39 +1100 Subject: [PATCH 077/331] Removed empty file. --- sources.cmake | 2 +- src/network/types.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 src/network/types.cpp diff --git a/sources.cmake b/sources.cmake index c16c9c60c..ddc029d4f 100644 --- a/sources.cmake +++ b/sources.cmake @@ -1,5 +1,5 @@ # Modify this file to change the last-modified date when you add/remove a file. -# This will then trigger a new cmake run automatically. +# This will then trigger a new cmake run automatically. file(GLOB_RECURSE STK_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.hpp") file(GLOB_RECURSE STK_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.cpp") file(GLOB_RECURSE STK_SHADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "data/shaders/*") diff --git a/src/network/types.cpp b/src/network/types.cpp deleted file mode 100644 index 27a5d4fea..000000000 --- a/src/network/types.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "network/types.hpp" From 06c8089dfc8504880ecf8054e6c6b747ee286a07 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Mon, 30 Mar 2015 00:38:59 +0200 Subject: [PATCH 078/331] Fribidize more strings --- src/achievements/achievement.cpp | 2 +- src/challenges/challenge_data.cpp | 6 ++---- src/input/input_manager.cpp | 2 +- src/modes/world.cpp | 2 +- src/states_screens/dialogs/select_challenge.cpp | 4 ++-- src/states_screens/edit_gp_screen.cpp | 5 +++-- src/states_screens/edit_track_screen.cpp | 2 +- src/states_screens/gp_info_screen.cpp | 4 ++-- src/states_screens/grand_prix_editor_screen.cpp | 2 +- src/states_screens/race_gui_overworld.cpp | 5 +++-- src/states_screens/track_info_screen.cpp | 2 +- src/tracks/track.cpp | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/achievements/achievement.cpp b/src/achievements/achievement.cpp index 74ae97ff3..739b681b4 100644 --- a/src/achievements/achievement.cpp +++ b/src/achievements/achievement.cpp @@ -200,7 +200,7 @@ void Achievement::check() { //show achievement core::stringw s = _("Completed achievement \"%s\".", - m_achievement_info->getName().c_str()); + m_achievement_info->getName()); MessageQueue::add(MessageQueue::MT_ACHIEVEMENT, s); // Sends a confirmation to the server that an achievement has been diff --git a/src/challenges/challenge_data.cpp b/src/challenges/challenge_data.cpp index 6d0d0514a..ee0f8e011 100644 --- a/src/challenges/challenge_data.cpp +++ b/src/challenges/challenge_data.cpp @@ -483,8 +483,7 @@ const irr::core::stringw // shouldn't happen but let's avoid crashes as much as possible... if (track == NULL) return irr::core::stringw( L"????" ); - return _("New track '%s' now available", - core::stringw(track->getName())); + return _("New track '%s' now available", track->getName()); break; } case UNLOCK_MODE: @@ -513,8 +512,7 @@ const irr::core::stringw // shouldn't happen but let's avoid crashes as much as possible... if (kp == NULL) return irr::core::stringw( L"????" ); - return _("New kart '%s' now available", - core::stringw(kp->getName())); + return _("New kart '%s' now available", kp->getName()); } default: assert(false); diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index 0580b5f08..47885a0b8 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -749,7 +749,7 @@ void InputManager::dispatchInput(Input::InputType type, int deviceID, // is not associated to any player GUIEngine::showMessage( _("Ignoring '%s', you needed to join earlier to play!", - irr::core::stringw(gp->getName().c_str()).c_str()) ); + core::stringw(gp->getName().c_str()))); } } return; diff --git a/src/modes/world.cpp b/src/modes/world.cpp index 7a76ea5df..b5870958f 100644 --- a/src/modes/world.cpp +++ b/src/modes/world.cpp @@ -1145,7 +1145,7 @@ void World::eliminateKart(int kart_id, bool notify_of_elimination) 2.0f); else m_race_gui->addMessage(_("'%s' has been eliminated.", - core::stringw(kart->getName())), + kart->getName()), camera->getKart(), 2.0f); } // for i < number of cameras diff --git a/src/states_screens/dialogs/select_challenge.cpp b/src/states_screens/dialogs/select_challenge.cpp index 7ec264700..3c2cc7041 100644 --- a/src/states_screens/dialogs/select_challenge.cpp +++ b/src/states_screens/dialogs/select_challenge.cpp @@ -131,13 +131,13 @@ SelectChallengeDialog::SelectChallengeDialog(const float percentWidth, if (c->getData()->isGrandPrix()) { const GrandPrixData* gp = grand_prix_manager->getGrandPrix(c->getData()->getGPId()); - getWidget("title")->setText( gp->getName(), true ); + getWidget("title")->setText(translations->fribidize(gp->getName()), true); } else { const core::stringw track_name = track_manager->getTrack(c->getData()->getTrackId())->getName(); - getWidget("title")->setText( track_name, true ); + getWidget("title")->setText(translations->fribidize(track_name), true); } LabelWidget* typeLbl = getWidget("race_type_val"); diff --git a/src/states_screens/edit_gp_screen.cpp b/src/states_screens/edit_gp_screen.cpp index 92f9eeeb1..68199d986 100644 --- a/src/states_screens/edit_gp_screen.cpp +++ b/src/states_screens/edit_gp_screen.cpp @@ -155,7 +155,7 @@ void EditGPScreen::init() { LabelWidget* header = getWidget("title"); assert(header != NULL); - header->setText(m_gp->getName(), true); + header->setText(translations->fribidize(m_gp->getName()), true); IconButtonWidget* button = getWidget("save"); assert(button != NULL); @@ -281,7 +281,8 @@ void EditGPScreen::setModified(const bool modified) LabelWidget* header = getWidget("title"); assert(header != NULL); - header->setText(m_gp->getName() + (modified ? L" (+)" : L""), true); + //I18N: Indicate that the grand prix is modified and not saved + header->setText(modified ? _(L"%s (+)", m_gp->getName()) : L"", true); enableButtons(); } diff --git a/src/states_screens/edit_track_screen.cpp b/src/states_screens/edit_track_screen.cpp index c7dcd0d2a..4e3946ef0 100644 --- a/src/states_screens/edit_track_screen.cpp +++ b/src/states_screens/edit_track_screen.cpp @@ -223,7 +223,7 @@ void EditTrackScreen::selectTrack(const std::string& id) if (m_track != NULL) { tracks->setSelection(m_track->getIdent(), PLAYER_ID_GAME_MASTER, true); - selected_track->setText(m_track->getName(), true); + selected_track->setText(translations->fribidize(m_track->getName()), true); laps->setValue(m_laps); diff --git a/src/states_screens/gp_info_screen.cpp b/src/states_screens/gp_info_screen.cpp index 42eab4068..faff5444b 100644 --- a/src/states_screens/gp_info_screen.cpp +++ b/src/states_screens/gp_info_screen.cpp @@ -215,11 +215,11 @@ void GPInfoScreen::init() m_gp.createRandomGP(m_num_tracks_spinner->getValue(), m_group_name, getReverse(), true); - getWidget("name")->setText(m_gp.getName(), false); + getWidget("name")->setText(translations->fribidize(m_gp.getName()), false); } else { - getWidget("name")->setText(m_gp.getName(), false); + getWidget("name")->setText(translations->fribidize(m_gp.getName()), false); m_gp.checkConsistency(); } diff --git a/src/states_screens/grand_prix_editor_screen.cpp b/src/states_screens/grand_prix_editor_screen.cpp index 06405e217..1292202e4 100644 --- a/src/states_screens/grand_prix_editor_screen.cpp +++ b/src/states_screens/grand_prix_editor_screen.cpp @@ -168,7 +168,7 @@ void GrandPrixEditorScreen::setSelection (const GrandPrixData* gpdata) else { m_selection = grand_prix_manager->editGrandPrix(gpdata->getId()); - gpname_widget->setText (gpdata->getName(), true); + gpname_widget->setText(translations->fribidize(gpdata->getName()), true); gplist_widget->setSelection(m_selection->getId(), PLAYER_ID_GAME_MASTER, true); loadTrackList (gpdata->getId()); } diff --git a/src/states_screens/race_gui_overworld.cpp b/src/states_screens/race_gui_overworld.cpp index b6242217c..f29a735eb 100644 --- a/src/states_screens/race_gui_overworld.cpp +++ b/src/states_screens/race_gui_overworld.cpp @@ -490,7 +490,7 @@ void RaceGUIOverworld::drawGlobalMiniMap() } gui::ScalableFont* font = GUIEngine::getTitleFont(); - font->draw(gp->getName(), pos, video::SColor(255,255,255,255), + font->draw(translations->fribidize(gp->getName()), pos, video::SColor(255,255,255,255), false, true /* vcenter */, NULL); core::rect pos(15, @@ -515,7 +515,8 @@ void RaceGUIOverworld::drawGlobalMiniMap() } gui::ScalableFont* font = GUIEngine::getTitleFont(); - font->draw(track->getName(), pos, video::SColor(255,255,255,255), + font->draw(translations->fribidize(track->getName()), + pos, video::SColor(255, 255, 255, 255), false, true /* vcenter */, NULL); } diff --git a/src/states_screens/track_info_screen.cpp b/src/states_screens/track_info_screen.cpp index 21bf33586..d6a78e7a4 100644 --- a/src/states_screens/track_info_screen.cpp +++ b/src/states_screens/track_info_screen.cpp @@ -100,7 +100,7 @@ void TrackInfoScreen::init() const bool has_laps = race_manager->modeHasLaps(); const bool has_highscores = race_manager->modeHasHighscores(); - getWidget("name")->setText(m_track->getName(), false); + getWidget("name")->setText(translations->fribidize(m_track->getName()), false); //I18N: when showing who is the author of track '%s' //I18N: (place %s where the name of the author should appear) diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index 7df8d8191..0df6418a4 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -182,7 +182,7 @@ bool Track::operator<(const Track &other) const \note this is the LTR name, invoke fribidi as needed. */ core::stringw Track::getName() const { - core::stringw translated = translations->w_gettext(m_name.c_str()); + core::stringw translated = _LTR(m_name.c_str()); int index = translated.find("|"); if(index>-1) { From 9417b80a5c31005e0cbb8d0aa37287d3047eb948 Mon Sep 17 00:00:00 2001 From: Flakebi Date: Mon, 30 Mar 2015 01:11:23 +0200 Subject: [PATCH 079/331] Fix FPS display --- src/graphics/irr_driver.cpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index e8a6b7232..3f283f3d8 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -1745,15 +1745,13 @@ video::SColorf IrrDriver::getAmbientLight() const void IrrDriver::displayFPS() { gui::IGUIFont* font = GUIEngine::getSmallFont(); + core::rect position; - if(UserConfigParams::m_artist_debug_mode) - { - GL32_draw2DRectangle(video::SColor(150, 96, 74, 196),core::rect< s32 >(75,0,1100,40),NULL); - } + if (UserConfigParams::m_artist_debug_mode) + position = core::rect(75, 0, 1100, 40); else - { - GL32_draw2DRectangle(video::SColor(150, 96, 74, 196),core::rect< s32 >(75,0,900,40),NULL); - } + position = core::rect(75, 0, 900, 40); + GL32_draw2DRectangle(video::SColor(150, 96, 74, 196), position, NULL); // We will let pass some time to let things settle before trusting FPS counter // even if we also ignore fps = 1, which tends to happen in first checks const int NO_TRUST_COUNT = 200; @@ -1805,7 +1803,7 @@ void IrrDriver::displayFPS() if (UserConfigParams::m_artist_debug_mode) { - fpsString = StringUtils::insertValues(_("FPS: %d/%d/%d - PolyCount: %d Solid, %d Shadows - LightDist : %d"), + fpsString = _("FPS: %d/%d/%d - PolyCount: %d Solid, %d Shadows - LightDist : %d", min, fps, max, poly_count[SOLID_NORMAL_AND_DEPTH_PASS], poly_count[SHADOW_PASS], m_last_light_bucket_distance); poly_count[SOLID_NORMAL_AND_DEPTH_PASS] = 0; poly_count[SHADOW_PASS] = 0; @@ -1814,11 +1812,11 @@ void IrrDriver::displayFPS() object_count[TRANSPARENT_PASS] = 0; } else - fpsString = StringUtils::insertValues(_("FPS: %d/%d/%d - %d KTris"), min, fps, max, (int)roundf(kilotris)); + fpsString = _("FPS: %d/%d/%d - %d KTris", min, fps, max, (int)roundf(kilotris)); static video::SColor fpsColor = video::SColor(255, 0, 0, 0); - font->draw( fpsString.c_str(), core::rect< s32 >(100,0,400,50), fpsColor, false ); + font->draw( fpsString.c_str(), position, fpsColor, false ); } // updateFPS // ---------------------------------------------------------------------------- From 114644233a5fef8b85418ee323e4a3805f94605f Mon Sep 17 00:00:00 2001 From: Flakebi Date: Mon, 30 Mar 2015 01:17:12 +0200 Subject: [PATCH 080/331] Improve RTL display of track names in story mode --- src/states_screens/race_gui_overworld.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/states_screens/race_gui_overworld.cpp b/src/states_screens/race_gui_overworld.cpp index f29a735eb..938844a26 100644 --- a/src/states_screens/race_gui_overworld.cpp +++ b/src/states_screens/race_gui_overworld.cpp @@ -435,7 +435,7 @@ void RaceGUIOverworld::drawGlobalMiniMap() // ---- Draw nearby challenge if any core::rect pos(15, 10, - 15 + irr_driver->getActualScreenSize().Width/2, + irr_driver->getActualScreenSize().Width - 200, 10 + GUIEngine::getTitleFontHeight()); m_close_to_a_challenge = false; @@ -493,13 +493,12 @@ void RaceGUIOverworld::drawGlobalMiniMap() font->draw(translations->fribidize(gp->getName()), pos, video::SColor(255,255,255,255), false, true /* vcenter */, NULL); - core::rect pos(15, - 20 + GUIEngine::getTitleFontHeight(), - 15 + irr_driver->getActualScreenSize().Width/2, - 20 + 2*GUIEngine::getTitleFontHeight()); + core::rect pos2(pos); + pos2.UpperLeftCorner.Y += 10 + GUIEngine::getTitleFontHeight(); + pos2.LowerRightCorner.Y += 10 + GUIEngine::getTitleFontHeight(); //just below GP name - font->draw(_("Type: Grand Prix"), pos, video::SColor(255,255,255,255), + font->draw(_("Type: Grand Prix"), pos2, video::SColor(255,255,255,255), false, true /* vcenter */, NULL); } else From bcd9654a86674f003dd348ebaa120b4302106118 Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 30 Mar 2015 10:02:57 +1100 Subject: [PATCH 081/331] Added missing GPL license. --- src/graphics/2dutils.cpp | 17 +++++++++++++++++ src/graphics/2dutils.hpp | 17 +++++++++++++++++ src/graphics/IBL.cpp | 17 +++++++++++++++++ src/graphics/IBL.hpp | 17 +++++++++++++++++ src/graphics/callbacks.cpp | 1 + src/graphics/callbacks.hpp | 1 + src/graphics/central_settings.cpp | 17 +++++++++++++++++ src/graphics/central_settings.hpp | 17 +++++++++++++++++ src/graphics/explosion.hpp | 1 + src/graphics/gl_headers.hpp | 17 +++++++++++++++++ src/graphics/glwrap.cpp | 17 +++++++++++++++++ src/graphics/glwrap.hpp | 17 +++++++++++++++++ src/graphics/gpuparticles.cpp | 17 +++++++++++++++++ src/graphics/gpuparticles.hpp | 17 +++++++++++++++++ src/graphics/irr_driver.cpp | 1 - src/graphics/mlaa_areamap.hpp | 17 +++++++++++++++++ src/graphics/render_geometry.cpp | 17 +++++++++++++++++ src/graphics/render_lighting.cpp | 18 ++++++++++++++++++ src/graphics/render_skybox.cpp | 17 +++++++++++++++++ src/graphics/rtts.hpp | 1 + src/graphics/screenquad.cpp | 1 + src/graphics/screenquad.hpp | 1 + src/graphics/shaders.cpp | 1 + src/graphics/shaders.hpp | 1 + src/graphics/shaders_util.hpp | 17 +++++++++++++++++ src/graphics/shadow_matrixes.cpp | 18 ++++++++++++++++++ src/graphics/stk_text_billboard.cpp | 17 +++++++++++++++++ src/graphics/stk_text_billboard.hpp | 17 +++++++++++++++++ src/graphics/stkanimatedmesh.cpp | 17 +++++++++++++++++ src/graphics/stkanimatedmesh.hpp | 17 +++++++++++++++++ src/graphics/stkbillboard.cpp | 17 +++++++++++++++++ src/graphics/stkbillboard.hpp | 17 +++++++++++++++++ src/graphics/stkmesh.cpp | 17 +++++++++++++++++ src/graphics/stkmesh.hpp | 18 ++++++++++++++++++ src/graphics/stkmeshscenenode.cpp | 17 +++++++++++++++++ src/graphics/stkmeshscenenode.hpp | 17 +++++++++++++++++ src/graphics/stkscenemanager.cpp | 17 +++++++++++++++++ src/graphics/stkscenemanager.hpp | 18 ++++++++++++++++++ src/graphics/texturemanager.cpp | 17 +++++++++++++++++ src/graphics/texturemanager.hpp | 18 ++++++++++++++++++ src/graphics/vaomanager.cpp | 17 +++++++++++++++++ src/graphics/vaomanager.hpp | 17 +++++++++++++++++ src/graphics/wind.cpp | 1 + src/graphics/wind.hpp | 1 + src/network/network_string.cpp | 16 ++++++++++++++++ src/network/race_config.cpp | 17 +++++++++++++++++ src/network/race_config.hpp | 17 +++++++++++++++++ src/scriptengine/scriptarray.cpp | 17 +++++++++++++++++ src/scriptengine/scriptarray.hpp | 17 +++++++++++++++++ src/scriptengine/scriptstdstring.cpp | 17 +++++++++++++++++ src/scriptengine/scriptstdstring.hpp | 17 +++++++++++++++++ src/scriptengine/scriptstdstring_utils.cpp | 17 +++++++++++++++++ src/states_screens/network_kart_selection.cpp | 17 +++++++++++++++++ src/states_screens/network_kart_selection.hpp | 17 +++++++++++++++++ src/states_screens/offline_kart_selection.cpp | 17 +++++++++++++++++ src/states_screens/offline_kart_selection.hpp | 17 +++++++++++++++++ src/utils/cpp2011.hpp | 17 +++++++++++++++++ src/utils/tuple.hpp | 17 +++++++++++++++++ src/utils/vs.hpp | 17 +++++++++++++++++ 59 files changed, 830 insertions(+), 1 deletion(-) diff --git a/src/graphics/2dutils.cpp b/src/graphics/2dutils.cpp index afebe54ed..27fe497eb 100644 --- a/src/graphics/2dutils.cpp +++ b/src/graphics/2dutils.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "2dutils.hpp" #include "central_settings.hpp" #include "glwrap.hpp" diff --git a/src/graphics/2dutils.hpp b/src/graphics/2dutils.hpp index 47b0b1ef5..3ecffceeb 100644 --- a/src/graphics/2dutils.hpp +++ b/src/graphics/2dutils.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef UTILS2D_HPP #define UTILS2D_HPP diff --git a/src/graphics/IBL.cpp b/src/graphics/IBL.cpp index ef22186d8..98e54ea40 100644 --- a/src/graphics/IBL.cpp +++ b/src/graphics/IBL.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "IBL.hpp" #include "gl_headers.hpp" #include "shaders.hpp" diff --git a/src/graphics/IBL.hpp b/src/graphics/IBL.hpp index 24cdac36e..f5f97e068 100644 --- a/src/graphics/IBL.hpp +++ b/src/graphics/IBL.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef IBL_HPP #define IBL_HPP diff --git a/src/graphics/callbacks.cpp b/src/graphics/callbacks.cpp index 357a4d9a0..e85e246c5 100644 --- a/src/graphics/callbacks.cpp +++ b/src/graphics/callbacks.cpp @@ -1,4 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/callbacks.hpp b/src/graphics/callbacks.hpp index 922e6e76a..306cb6d7a 100644 --- a/src/graphics/callbacks.hpp +++ b/src/graphics/callbacks.hpp @@ -1,4 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/central_settings.cpp b/src/graphics/central_settings.cpp index b4b7bc888..8a5d61ee2 100644 --- a/src/graphics/central_settings.cpp +++ b/src/graphics/central_settings.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "central_settings.hpp" #include "modes/profile_world.hpp" #include "gl_headers.hpp" diff --git a/src/graphics/central_settings.hpp b/src/graphics/central_settings.hpp index b7b774541..6e3885dcd 100644 --- a/src/graphics/central_settings.hpp +++ b/src/graphics/central_settings.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef CENTRAL_SETTINGS_HPP #define CENTRAL_SETTINGS_HPP diff --git a/src/graphics/explosion.hpp b/src/graphics/explosion.hpp index 584adfb7c..251bb6735 100644 --- a/src/graphics/explosion.hpp +++ b/src/graphics/explosion.hpp @@ -1,6 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart // Copyright (C) 2004-2013 Steve Baker +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/gl_headers.hpp b/src/graphics/gl_headers.hpp index 2542fa7a6..e48b76c03 100644 --- a/src/graphics/gl_headers.hpp +++ b/src/graphics/gl_headers.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef GL_HEADER_HPP #define GL_HEADER_HPP diff --git a/src/graphics/glwrap.cpp b/src/graphics/glwrap.cpp index 842ca1c76..74297a009 100644 --- a/src/graphics/glwrap.cpp +++ b/src/graphics/glwrap.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "graphics/central_settings.hpp" #include "graphics/glwrap.hpp" diff --git a/src/graphics/glwrap.hpp b/src/graphics/glwrap.hpp index f3c0016cd..8aec2cdf5 100644 --- a/src/graphics/glwrap.hpp +++ b/src/graphics/glwrap.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef GLWRAP_HEADER_H #define GLWRAP_HEADER_H diff --git a/src/graphics/gpuparticles.cpp b/src/graphics/gpuparticles.cpp index cb0bdfb98..43d832a75 100644 --- a/src/graphics/gpuparticles.cpp +++ b/src/graphics/gpuparticles.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "graphics/irr_driver.hpp" #include "graphics/glwrap.hpp" #include "gpuparticles.hpp" diff --git a/src/graphics/gpuparticles.hpp b/src/graphics/gpuparticles.hpp index be6b39d4e..8225beb36 100644 --- a/src/graphics/gpuparticles.hpp +++ b/src/graphics/gpuparticles.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef GPUPARTICLES_H #define GPUPARTICLES_H diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 3f283f3d8..3ac26bdd5 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -1,4 +1,3 @@ -// // SuperTuxKart - a fun racing game with go-kart // Copyright (C) 2009-2013 Joerg Henrichs // diff --git a/src/graphics/mlaa_areamap.hpp b/src/graphics/mlaa_areamap.hpp index f5c636f68..d63eaa48d 100644 --- a/src/graphics/mlaa_areamap.hpp +++ b/src/graphics/mlaa_areamap.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef AREAMAP_H #define AREAMAP_H diff --git a/src/graphics/render_geometry.cpp b/src/graphics/render_geometry.cpp index 727c251c3..1d40d8410 100644 --- a/src/graphics/render_geometry.cpp +++ b/src/graphics/render_geometry.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "graphics/irr_driver.hpp" #include "central_settings.hpp" #include "config/user_config.hpp" diff --git a/src/graphics/render_lighting.cpp b/src/graphics/render_lighting.cpp index cf74eea07..031b6d04e 100644 --- a/src/graphics/render_lighting.cpp +++ b/src/graphics/render_lighting.cpp @@ -1,3 +1,21 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + + #include "graphics/irr_driver.hpp" #include "central_settings.hpp" #include "config/user_config.hpp" diff --git a/src/graphics/render_skybox.cpp b/src/graphics/render_skybox.cpp index 30baf03ac..236b810c8 100644 --- a/src/graphics/render_skybox.cpp +++ b/src/graphics/render_skybox.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "central_settings.hpp" #include "graphics/IBL.hpp" #include "graphics/irr_driver.hpp" diff --git a/src/graphics/rtts.hpp b/src/graphics/rtts.hpp index 3be79d37a..f0e428175 100644 --- a/src/graphics/rtts.hpp +++ b/src/graphics/rtts.hpp @@ -1,4 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/screenquad.cpp b/src/graphics/screenquad.cpp index c332339ec..c855a283c 100644 --- a/src/graphics/screenquad.cpp +++ b/src/graphics/screenquad.cpp @@ -1,4 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/screenquad.hpp b/src/graphics/screenquad.hpp index dc2d7b2b2..87c11dfce 100644 --- a/src/graphics/screenquad.hpp +++ b/src/graphics/screenquad.hpp @@ -1,4 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/shaders.cpp b/src/graphics/shaders.cpp index c3e50ef32..22da14162 100644 --- a/src/graphics/shaders.cpp +++ b/src/graphics/shaders.cpp @@ -1,4 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/shaders.hpp b/src/graphics/shaders.hpp index 9661278b1..7fff167bd 100644 --- a/src/graphics/shaders.hpp +++ b/src/graphics/shaders.hpp @@ -1,4 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/shaders_util.hpp b/src/graphics/shaders_util.hpp index 24b2df7f6..31339b4df 100644 --- a/src/graphics/shaders_util.hpp +++ b/src/graphics/shaders_util.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef SHADERS_UTIL_HPP #define SHADERS_UTIL_HPP diff --git a/src/graphics/shadow_matrixes.cpp b/src/graphics/shadow_matrixes.cpp index c9683e6e3..e973ce79e 100644 --- a/src/graphics/shadow_matrixes.cpp +++ b/src/graphics/shadow_matrixes.cpp @@ -1,3 +1,21 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + + #include #include #include diff --git a/src/graphics/stk_text_billboard.cpp b/src/graphics/stk_text_billboard.cpp index 24276bc1e..7299e108a 100644 --- a/src/graphics/stk_text_billboard.cpp +++ b/src/graphics/stk_text_billboard.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "graphics/stk_text_billboard.hpp" #include "graphics/glwrap.hpp" #include "graphics/shaders.hpp" diff --git a/src/graphics/stk_text_billboard.hpp b/src/graphics/stk_text_billboard.hpp index 9f3d80925..090f6166e 100644 --- a/src/graphics/stk_text_billboard.hpp +++ b/src/graphics/stk_text_billboard.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef STK_TEXT_BILLBOARD_HPP #define STK_TEXT_BILLBOARD_HPP diff --git a/src/graphics/stkanimatedmesh.cpp b/src/graphics/stkanimatedmesh.cpp index a91811c9a..59092ee01 100644 --- a/src/graphics/stkanimatedmesh.cpp +++ b/src/graphics/stkanimatedmesh.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "central_settings.hpp" #include "graphics/glwrap.hpp" #include "graphics/stkanimatedmesh.hpp" diff --git a/src/graphics/stkanimatedmesh.hpp b/src/graphics/stkanimatedmesh.hpp index 6c76a32c4..6eb23ac0c 100644 --- a/src/graphics/stkanimatedmesh.hpp +++ b/src/graphics/stkanimatedmesh.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef STKANIMATEDMESH_HPP #define STKANIMATEDMESH_HPP diff --git a/src/graphics/stkbillboard.cpp b/src/graphics/stkbillboard.cpp index 1753acd94..90c42572b 100644 --- a/src/graphics/stkbillboard.cpp +++ b/src/graphics/stkbillboard.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "graphics/stkbillboard.hpp" #include "graphics/glwrap.hpp" #include "graphics/shaders.hpp" diff --git a/src/graphics/stkbillboard.hpp b/src/graphics/stkbillboard.hpp index 294bc2625..f4f2cbdd2 100644 --- a/src/graphics/stkbillboard.hpp +++ b/src/graphics/stkbillboard.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef STKBILLBOARD_HPP #define STKBILLBOARD_HPP diff --git a/src/graphics/stkmesh.cpp b/src/graphics/stkmesh.cpp index df71a7c8c..fc264fccf 100644 --- a/src/graphics/stkmesh.cpp +++ b/src/graphics/stkmesh.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "central_settings.hpp" #include "graphics/glwrap.hpp" #include "graphics/irr_driver.hpp" diff --git a/src/graphics/stkmesh.hpp b/src/graphics/stkmesh.hpp index 1495ecdf2..b350fbb44 100644 --- a/src/graphics/stkmesh.hpp +++ b/src/graphics/stkmesh.hpp @@ -1,3 +1,21 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + + #ifndef STKMESH_H #define STKMESH_H diff --git a/src/graphics/stkmeshscenenode.cpp b/src/graphics/stkmeshscenenode.cpp index fbd3a76e8..bf4176402 100644 --- a/src/graphics/stkmeshscenenode.cpp +++ b/src/graphics/stkmeshscenenode.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "central_settings.hpp" #include "stkmeshscenenode.hpp" #include "stkmesh.hpp" diff --git a/src/graphics/stkmeshscenenode.hpp b/src/graphics/stkmeshscenenode.hpp index bdebe8788..a9cb78aed 100644 --- a/src/graphics/stkmeshscenenode.hpp +++ b/src/graphics/stkmeshscenenode.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef STKMESHSCENENODE_H #define STKMESHSCENENODE_H diff --git a/src/graphics/stkscenemanager.cpp b/src/graphics/stkscenemanager.cpp index e68da0f7f..cefb212f6 100644 --- a/src/graphics/stkscenemanager.cpp +++ b/src/graphics/stkscenemanager.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "graphics/glwrap.hpp" #include "graphics/stkscenemanager.hpp" #include "graphics/stkmesh.hpp" diff --git a/src/graphics/stkscenemanager.hpp b/src/graphics/stkscenemanager.hpp index a25ac34ff..bec913066 100644 --- a/src/graphics/stkscenemanager.hpp +++ b/src/graphics/stkscenemanager.hpp @@ -1,3 +1,21 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + + // Not really a scene manager yet but hold algorithm that // rework scene manager output diff --git a/src/graphics/texturemanager.cpp b/src/graphics/texturemanager.cpp index ddff55794..4afe417d0 100644 --- a/src/graphics/texturemanager.cpp +++ b/src/graphics/texturemanager.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "central_settings.hpp" #include "texturemanager.hpp" #include diff --git a/src/graphics/texturemanager.hpp b/src/graphics/texturemanager.hpp index 89489d8c1..f0d314fbb 100644 --- a/src/graphics/texturemanager.hpp +++ b/src/graphics/texturemanager.hpp @@ -1,3 +1,21 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + + #ifndef MEMORYMANAGER_HPP #define MEMORYMANAGER_HPP diff --git a/src/graphics/vaomanager.cpp b/src/graphics/vaomanager.cpp index 4d4ee1d41..bf3360f9d 100644 --- a/src/graphics/vaomanager.cpp +++ b/src/graphics/vaomanager.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "vaomanager.hpp" #include "irr_driver.hpp" #include "stkmesh.hpp" diff --git a/src/graphics/vaomanager.hpp b/src/graphics/vaomanager.hpp index af86bcc6e..2008f315e 100644 --- a/src/graphics/vaomanager.hpp +++ b/src/graphics/vaomanager.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef VAOMANAGER_HPP #define VAOMANAGER_HPP diff --git a/src/graphics/wind.cpp b/src/graphics/wind.cpp index 5bddd4a15..1ac0cae6d 100644 --- a/src/graphics/wind.cpp +++ b/src/graphics/wind.cpp @@ -1,4 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/wind.hpp b/src/graphics/wind.hpp index afa011d43..9fe12a8a2 100644 --- a/src/graphics/wind.hpp +++ b/src/graphics/wind.hpp @@ -1,4 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/network_string.cpp b/src/network/network_string.cpp index 251c98fb5..597b13078 100644 --- a/src/network/network_string.cpp +++ b/src/network/network_string.cpp @@ -1,3 +1,19 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. #include "network/network_string.hpp" NetworkString operator+(NetworkString const& a, NetworkString const& b) diff --git a/src/network/race_config.cpp b/src/network/race_config.cpp index a60af9015..9a459ed1b 100644 --- a/src/network/race_config.cpp +++ b/src/network/race_config.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "network/race_config.hpp" #include "race/race_manager.hpp" diff --git a/src/network/race_config.hpp b/src/network/race_config.hpp index 64829972a..f721e5064 100644 --- a/src/network/race_config.hpp +++ b/src/network/race_config.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef RACE_CONFIG_HPP #define RACE_CONFIG_HPP diff --git a/src/scriptengine/scriptarray.cpp b/src/scriptengine/scriptarray.cpp index 86efaa25f..edb2bcd1c 100644 --- a/src/scriptengine/scriptarray.cpp +++ b/src/scriptengine/scriptarray.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include #include #include diff --git a/src/scriptengine/scriptarray.hpp b/src/scriptengine/scriptarray.hpp index 3b8287084..42a13510f 100644 --- a/src/scriptengine/scriptarray.hpp +++ b/src/scriptengine/scriptarray.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef SCRIPTARRAY_H #define SCRIPTARRAY_H diff --git a/src/scriptengine/scriptstdstring.cpp b/src/scriptengine/scriptstdstring.cpp index b74ce3d85..1cd595867 100644 --- a/src/scriptengine/scriptstdstring.cpp +++ b/src/scriptengine/scriptstdstring.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "scriptstdstring.hpp" #include // assert() #include // std::stringstream diff --git a/src/scriptengine/scriptstdstring.hpp b/src/scriptengine/scriptstdstring.hpp index 8ac0115b3..5bf26ae8f 100644 --- a/src/scriptengine/scriptstdstring.hpp +++ b/src/scriptengine/scriptstdstring.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + // // Script std::string // diff --git a/src/scriptengine/scriptstdstring_utils.cpp b/src/scriptengine/scriptstdstring_utils.cpp index f5021ccf7..27ba927c1 100644 --- a/src/scriptengine/scriptstdstring_utils.cpp +++ b/src/scriptengine/scriptstdstring_utils.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include #include "scriptstdstring.hpp" #include "scriptarray.hpp" diff --git a/src/states_screens/network_kart_selection.cpp b/src/states_screens/network_kart_selection.cpp index b5da42da8..23e82ff6a 100644 --- a/src/states_screens/network_kart_selection.cpp +++ b/src/states_screens/network_kart_selection.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "states_screens/network_kart_selection.hpp" #include "audio/sfx_manager.hpp" diff --git a/src/states_screens/network_kart_selection.hpp b/src/states_screens/network_kart_selection.hpp index 524fb433c..57b2e9fbc 100644 --- a/src/states_screens/network_kart_selection.hpp +++ b/src/states_screens/network_kart_selection.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef NETWORK_KART_SELECTION_HPP #define NETWORK_KART_SELECTION_HPP diff --git a/src/states_screens/offline_kart_selection.cpp b/src/states_screens/offline_kart_selection.cpp index 296678360..9bba1771e 100644 --- a/src/states_screens/offline_kart_selection.cpp +++ b/src/states_screens/offline_kart_selection.cpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #include "states_screens/offline_kart_selection.hpp" DEFINE_SCREEN_SINGLETON( OfflineKartSelectionScreen ); diff --git a/src/states_screens/offline_kart_selection.hpp b/src/states_screens/offline_kart_selection.hpp index 5cfe747fb..cbde2e40b 100644 --- a/src/states_screens/offline_kart_selection.hpp +++ b/src/states_screens/offline_kart_selection.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef OFFLINE_KART_SELECTION_HPP #define OFFLINE_KART_SELECTION_HPP diff --git a/src/utils/cpp2011.hpp b/src/utils/cpp2011.hpp index cd4f4704d..621834fa2 100644 --- a/src/utils/cpp2011.hpp +++ b/src/utils/cpp2011.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef CPP2011_HPP #define CPP2011_HPP #include diff --git a/src/utils/tuple.hpp b/src/utils/tuple.hpp index d79fb498f..799061388 100644 --- a/src/utils/tuple.hpp +++ b/src/utils/tuple.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + #ifndef __STK_TUPLE_HPP__ #define __STK_TUPLE_HPP__ diff --git a/src/utils/vs.hpp b/src/utils/vs.hpp index 017f07400..341985193 100644 --- a/src/utils/vs.hpp +++ b/src/utils/vs.hpp @@ -1,3 +1,20 @@ +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 SuperTuxKart-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 3 +// 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. + /** Visual studio workarounds in one place * Note that Visual Studio 2013 does have the maths functions defined, * so we define the work arounds only for compiler versions before 18.00 From 8d07d26c256838497d5d74804957c929ab11924b Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 30 Mar 2015 11:31:42 +1100 Subject: [PATCH 082/331] Updated (c) year to include 2015. --- src/achievements/achievement.cpp | 4 +- src/achievements/achievement.hpp | 4 +- src/achievements/achievement_info.cpp | 4 +- src/achievements/achievement_info.hpp | 5 +- src/achievements/achievements_manager.cpp | 4 +- src/achievements/achievements_manager.hpp | 2 +- src/achievements/achievements_status.cpp | 4 +- src/achievements/achievements_status.hpp | 4 +- src/addons/addon.cpp | 2 +- src/addons/addon.hpp | 2 +- src/addons/addons_manager.cpp | 2 +- src/addons/addons_manager.hpp | 2 +- src/addons/news_manager.cpp | 2 +- src/addons/news_manager.hpp | 2 +- src/addons/zip.cpp | 2 +- src/addons/zip.hpp | 2 +- src/animations/animation_base.cpp | 2 +- src/animations/animation_base.hpp | 2 +- src/animations/ipo.cpp | 2 +- src/animations/ipo.hpp | 2 +- src/animations/three_d_animation.cpp | 2 +- src/animations/three_d_animation.hpp | 2 +- src/audio/dummy_sfx.hpp | 4 +- src/audio/music.hpp | 2 +- src/audio/music_dummy.hpp | 2 +- src/audio/music_information.cpp | 2 +- src/audio/music_information.hpp | 2 +- src/audio/music_manager.cpp | 4 +- src/audio/music_manager.hpp | 4 +- src/audio/music_ogg.cpp | 2 +- src/audio/music_ogg.hpp | 2 +- src/audio/sfx_base.hpp | 4 +- src/audio/sfx_buffer.cpp | 2 +- src/audio/sfx_buffer.hpp | 2 +- src/audio/sfx_manager.cpp | 2 +- src/audio/sfx_manager.hpp | 2 +- src/audio/sfx_openal.cpp | 6 +- src/audio/sfx_openal.hpp | 2 +- src/challenges/challenge_data.cpp | 2 +- src/challenges/challenge_data.hpp | 2 +- src/challenges/challenge_status.cpp | 2 +- src/challenges/challenge_status.hpp | 2 +- src/challenges/story_mode_status.cpp | 2 +- src/challenges/story_mode_status.hpp | 2 +- src/challenges/unlock_manager.cpp | 2 +- src/challenges/unlock_manager.hpp | 2 +- src/config/hardware_stats.cpp | 8 +- src/config/hardware_stats.hpp | 2 +- src/config/player_manager.cpp | 2 +- src/config/player_manager.hpp | 2 +- src/config/player_profile.cpp | 2 +- src/config/player_profile.hpp | 2 +- src/config/saved_grand_prix.cpp | 2 +- src/config/saved_grand_prix.hpp | 2 +- src/config/stk_config.cpp | 2 +- src/config/stk_config.hpp | 2 +- src/config/user_config.cpp | 2 +- src/config/user_config.hpp | 2 +- src/graphics/2dutils.hpp | 2 +- src/graphics/IBL.cpp | 2 +- src/graphics/IBL.hpp | 2 +- src/graphics/camera.cpp | 4 +- src/graphics/camera.hpp | 4 +- src/graphics/central_settings.cpp | 2 +- src/graphics/central_settings.hpp | 2 +- src/graphics/explosion.cpp | 2 +- src/graphics/explosion.hpp | 2 +- src/graphics/glwrap.cpp | 2 +- src/graphics/graphics_restrictions.cpp | 1024 ++++++++--------- src/graphics/graphics_restrictions.hpp | 2 +- src/graphics/hit_effect.hpp | 2 +- src/graphics/hit_sfx.cpp | 2 +- src/graphics/hit_sfx.hpp | 2 +- src/graphics/irr_driver.cpp | 2 +- src/graphics/irr_driver.hpp | 2 +- src/graphics/large_mesh_buffer.hpp | 2 +- src/graphics/light.cpp | 2 +- src/graphics/light.hpp | 2 +- src/graphics/lod_node.cpp | 2 +- src/graphics/lod_node.hpp | 2 +- src/graphics/material.cpp | 4 +- src/graphics/material.hpp | 4 +- src/graphics/material_manager.cpp | 4 +- src/graphics/material_manager.hpp | 4 +- src/graphics/mesh_tools.cpp | 2 +- src/graphics/mesh_tools.hpp | 2 +- src/graphics/moving_texture.cpp | 2 +- src/graphics/moving_texture.hpp | 2 +- src/graphics/particle_emitter.cpp | 2 +- src/graphics/particle_emitter.hpp | 2 +- src/graphics/particle_kind.cpp | 2 +- src/graphics/particle_kind.hpp | 2 +- src/graphics/particle_kind_manager.cpp | 2 +- src/graphics/particle_kind_manager.hpp | 2 +- src/graphics/per_camera_node.cpp | 2 +- src/graphics/per_camera_node.hpp | 2 +- src/graphics/post_processing.cpp | 2 +- src/graphics/post_processing.hpp | 2 +- src/graphics/referee.cpp | 2 +- src/graphics/referee.hpp | 2 +- src/graphics/render.cpp | 2 +- src/graphics/rtts.cpp | 2 +- src/graphics/shaders_util.hpp | 2 +- src/graphics/show_curve.cpp | 2 +- src/graphics/show_curve.hpp | 2 +- src/graphics/skid_marks.cpp | 4 +- src/graphics/skid_marks.hpp | 4 +- src/graphics/slip_stream.cpp | 2 +- src/graphics/slip_stream.hpp | 2 +- src/graphics/stars.cpp | 2 +- src/graphics/stars.hpp | 2 +- src/graphics/stkscenemanager.cpp | 2 +- src/graphics/sun.cpp | 2 +- src/graphics/sun.hpp | 2 +- src/graphics/texturemanager.cpp | 2 +- src/graphics/texturemanager.hpp | 2 +- src/graphics/vaomanager.hpp | 2 +- src/graphics/water.cpp | 2 +- src/graphics/water.hpp | 2 +- src/graphics/weather.cpp | 2 +- src/graphics/weather.hpp | 2 +- src/guiengine/CGUISpriteBank.cpp | 2 +- src/guiengine/CGUISpriteBank.hpp | 2 +- src/guiengine/abstract_state_manager.cpp | 2 +- src/guiengine/abstract_state_manager.hpp | 2 +- .../abstract_top_level_container.cpp | 2 +- .../abstract_top_level_container.hpp | 2 +- src/guiengine/dialog_queue.cpp | 2 +- src/guiengine/dialog_queue.hpp | 2 +- src/guiengine/engine.cpp | 2 +- src/guiengine/engine.hpp | 2 +- src/guiengine/event_handler.cpp | 2 +- src/guiengine/event_handler.hpp | 2 +- src/guiengine/layout_manager.cpp | 2 +- src/guiengine/layout_manager.hpp | 2 +- src/guiengine/message_queue.cpp | 2 +- src/guiengine/message_queue.hpp | 2 +- src/guiengine/modaldialog.cpp | 2 +- src/guiengine/modaldialog.hpp | 2 +- src/guiengine/scalable_font.cpp | 12 +- src/guiengine/scalable_font.hpp | 2 +- src/guiengine/screen.cpp | 2 +- src/guiengine/screen.hpp | 2 +- src/guiengine/screen_loader.cpp | 2 +- src/guiengine/skin.cpp | 2 +- src/guiengine/skin.hpp | 2 +- src/guiengine/widget.cpp | 2 +- src/guiengine/widget.hpp | 2 +- src/guiengine/widgets.hpp | 2 +- src/guiengine/widgets/CGUIEditBox.cpp | 2 +- src/guiengine/widgets/CGUIEditBox.hpp | 2 +- src/guiengine/widgets/CGUISTKListBox.cpp | 2 +- src/guiengine/widgets/CGUISTKListBox.hpp | 2 +- src/guiengine/widgets/bubble_widget.cpp | 2 +- src/guiengine/widgets/bubble_widget.hpp | 2 +- src/guiengine/widgets/button_widget.cpp | 2 +- src/guiengine/widgets/button_widget.hpp | 2 +- src/guiengine/widgets/check_box_widget.cpp | 2 +- src/guiengine/widgets/check_box_widget.hpp | 2 +- .../widgets/dynamic_ribbon_widget.cpp | 2 +- .../widgets/dynamic_ribbon_widget.hpp | 2 +- src/guiengine/widgets/icon_button_widget.cpp | 2 +- src/guiengine/widgets/icon_button_widget.hpp | 2 +- src/guiengine/widgets/kart_stats_widget.cpp | 2 +- src/guiengine/widgets/kart_stats_widget.hpp | 2 +- src/guiengine/widgets/label_widget.cpp | 2 +- src/guiengine/widgets/label_widget.hpp | 2 +- src/guiengine/widgets/list_widget.cpp | 2 +- src/guiengine/widgets/list_widget.hpp | 2 +- src/guiengine/widgets/model_view_widget.cpp | 2 +- src/guiengine/widgets/model_view_widget.hpp | 2 +- src/guiengine/widgets/player_kart_widget.cpp | 2 +- src/guiengine/widgets/player_kart_widget.hpp | 2 +- src/guiengine/widgets/player_name_spinner.cpp | 2 +- src/guiengine/widgets/player_name_spinner.hpp | 2 +- src/guiengine/widgets/progress_bar_widget.cpp | 2 +- src/guiengine/widgets/progress_bar_widget.hpp | 2 +- src/guiengine/widgets/rating_bar_widget.cpp | 2 +- src/guiengine/widgets/rating_bar_widget.hpp | 2 +- src/guiengine/widgets/ribbon_widget.cpp | 2 +- src/guiengine/widgets/ribbon_widget.hpp | 2 +- src/guiengine/widgets/skill_level_widget.cpp | 2 +- src/guiengine/widgets/skill_level_widget.hpp | 2 +- src/guiengine/widgets/spinner_widget.cpp | 2 +- src/guiengine/widgets/spinner_widget.hpp | 2 +- src/guiengine/widgets/text_box_widget.cpp | 2 +- src/guiengine/widgets/text_box_widget.hpp | 2 +- src/input/binding.cpp | 2 +- src/input/binding.hpp | 2 +- src/input/device_config.cpp | 2 +- src/input/device_config.hpp | 2 +- src/input/device_manager.cpp | 2 +- src/input/device_manager.hpp | 2 +- src/input/gamepad_config.cpp | 2 +- src/input/gamepad_config.hpp | 2 +- src/input/gamepad_device.cpp | 4 +- src/input/gamepad_device.hpp | 2 +- src/input/input.hpp | 4 +- src/input/input_device.cpp | 2 +- src/input/input_device.hpp | 2 +- src/input/input_manager.cpp | 2 +- src/input/input_manager.hpp | 4 +- src/input/keyboard_config.cpp | 2 +- src/input/keyboard_config.hpp | 2 +- src/input/keyboard_device.cpp | 4 +- src/input/keyboard_device.hpp | 4 +- src/input/wiimote.cpp | 2 +- src/input/wiimote.hpp | 2 +- src/input/wiimote_manager.cpp | 2 +- src/input/wiimote_manager.hpp | 2 +- src/io/file_manager.cpp | 4 +- src/io/file_manager.hpp | 4 +- src/io/utf_writer.cpp | 2 +- src/io/utf_writer.hpp | 2 +- src/io/xml_node.cpp | 2 +- src/io/xml_node.hpp | 2 +- src/items/attachment.cpp | 2 +- src/items/attachment.hpp | 2 +- src/items/attachment_manager.cpp | 2 +- src/items/attachment_manager.hpp | 2 +- src/items/attachment_plugin.hpp | 2 +- src/items/bowling.cpp | 2 +- src/items/bowling.hpp | 2 +- src/items/cake.cpp | 4 +- src/items/cake.hpp | 4 +- src/items/flyable.cpp | 4 +- src/items/flyable.hpp | 4 +- src/items/item.cpp | 4 +- src/items/item.hpp | 4 +- src/items/item_manager.cpp | 2 +- src/items/item_manager.hpp | 2 +- src/items/plunger.cpp | 4 +- src/items/plunger.hpp | 4 +- src/items/powerup.cpp | 2 +- src/items/powerup.hpp | 2 +- src/items/powerup_manager.cpp | 2 +- src/items/powerup_manager.hpp | 2 +- src/items/projectile_manager.cpp | 2 +- src/items/projectile_manager.hpp | 2 +- src/items/rubber_ball.cpp | 2 +- src/items/rubber_ball.hpp | 2 +- src/items/rubber_band.cpp | 2 +- src/items/rubber_band.hpp | 2 +- src/items/swatter.cpp | 2 +- src/items/swatter.hpp | 2 +- src/karts/abstract_kart.cpp | 2 +- src/karts/abstract_kart.hpp | 2 +- src/karts/abstract_kart_animation.cpp | 2 +- src/karts/abstract_kart_animation.hpp | 2 +- src/karts/cannon_animation.cpp | 2 +- src/karts/cannon_animation.hpp | 2 +- src/karts/controller/ai_base_controller.cpp | 4 +- src/karts/controller/ai_base_controller.hpp | 2 +- src/karts/controller/ai_properties.cpp | 2 +- src/karts/controller/ai_properties.hpp | 2 +- src/karts/controller/controller.cpp | 2 +- src/karts/controller/controller.hpp | 2 +- src/karts/controller/end_controller.cpp | 6 +- src/karts/controller/end_controller.hpp | 6 +- src/karts/controller/kart_control.hpp | 2 +- src/karts/controller/player_controller.cpp | 4 +- src/karts/controller/player_controller.hpp | 4 +- src/karts/controller/skidding_ai.cpp | 6 +- src/karts/controller/skidding_ai.hpp | 6 +- src/karts/explosion_animation.cpp | 2 +- src/karts/explosion_animation.hpp | 2 +- src/karts/ghost_kart.cpp | 2 +- src/karts/ghost_kart.hpp | 2 +- src/karts/kart.cpp | 4 +- src/karts/kart.hpp | 4 +- src/karts/kart_gfx.cpp | 2 +- src/karts/kart_gfx.hpp | 2 +- src/karts/kart_model.cpp | 2 +- src/karts/kart_model.hpp | 2 +- src/karts/kart_properties.cpp | 2 +- src/karts/kart_properties.hpp | 2 +- src/karts/kart_properties_manager.cpp | 4 +- src/karts/kart_properties_manager.hpp | 4 +- src/karts/kart_with_stats.cpp | 2 +- src/karts/kart_with_stats.hpp | 2 +- src/karts/max_speed.cpp | 2 +- src/karts/max_speed.hpp | 2 +- src/karts/moveable.cpp | 4 +- src/karts/moveable.hpp | 4 +- src/karts/player_difficulty.cpp | 2 +- src/karts/player_difficulty.hpp | 2 +- src/karts/rescue_animation.cpp | 2 +- src/karts/rescue_animation.hpp | 2 +- src/karts/skidding.cpp | 2 +- src/karts/skidding.hpp | 2 +- src/karts/skidding_properties.cpp | 2 +- src/karts/skidding_properties.hpp | 2 +- src/main.cpp | 4 +- src/main_loop.cpp | 4 +- src/main_loop.hpp | 4 +- src/modes/cutscene_world.cpp | 2 +- src/modes/cutscene_world.hpp | 2 +- src/modes/demo_world.cpp | 2 +- src/modes/demo_world.hpp | 2 +- src/modes/easter_egg_hunt.cpp | 2 +- src/modes/easter_egg_hunt.hpp | 2 +- src/modes/follow_the_leader.cpp | 2 +- src/modes/follow_the_leader.hpp | 2 +- src/modes/linear_world.cpp | 2 +- src/modes/linear_world.hpp | 2 +- src/modes/overworld.cpp | 2 +- src/modes/overworld.hpp | 2 +- src/modes/profile_world.cpp | 2 +- src/modes/profile_world.hpp | 2 +- src/modes/soccer_world.cpp | 2 +- src/modes/soccer_world.hpp | 2 +- src/modes/standard_race.cpp | 2 +- src/modes/standard_race.hpp | 2 +- src/modes/three_strikes_battle.cpp | 2 +- src/modes/three_strikes_battle.hpp | 2 +- src/modes/tutorial_world.cpp | 2 +- src/modes/tutorial_world.hpp | 2 +- src/modes/world.cpp | 2 +- src/modes/world.hpp | 2 +- src/modes/world_status.cpp | 2 +- src/modes/world_status.hpp | 2 +- src/modes/world_with_rank.cpp | 2 +- src/modes/world_with_rank.hpp | 2 +- src/network/client_network_manager.cpp | 2 +- src/network/client_network_manager.hpp | 2 +- src/network/event.cpp | 2 +- src/network/event.hpp | 2 +- src/network/game_setup.cpp | 2 +- src/network/game_setup.hpp | 2 +- src/network/network_interface.cpp | 2 +- src/network/network_interface.hpp | 2 +- src/network/network_manager.cpp | 2 +- src/network/network_manager.hpp | 2 +- src/network/network_string.hpp | 2 +- src/network/network_world.hpp | 2 +- src/network/protocol.cpp | 2 +- src/network/protocol.hpp | 2 +- src/network/protocol_manager.cpp | 2 +- src/network/protocol_manager.hpp | 2 +- .../protocols/client_lobby_room_protocol.cpp | 2 +- src/network/protocols/connect_to_peer.cpp | 2 +- src/network/protocols/connect_to_peer.hpp | 2 +- src/network/protocols/connect_to_server.cpp | 2 +- src/network/protocols/connect_to_server.hpp | 2 +- src/network/protocols/get_peer_address.cpp | 2 +- src/network/protocols/get_peer_address.hpp | 2 +- src/network/protocols/get_public_address.cpp | 2 +- src/network/protocols/get_public_address.hpp | 2 +- src/network/protocols/hide_public_address.cpp | 2 +- src/network/protocols/hide_public_address.hpp | 2 +- src/network/protocols/lobby_room_protocol.cpp | 2 +- src/network/protocols/lobby_room_protocol.hpp | 2 +- src/network/protocols/ping_protocol.cpp | 2 +- src/network/protocols/quick_join_protocol.cpp | 2 +- src/network/protocols/request_connection.cpp | 2 +- .../protocols/server_lobby_room_protocol.cpp | 2 +- src/network/protocols/show_public_address.cpp | 2 +- src/network/protocols/show_public_address.hpp | 2 +- src/network/protocols/start_server.cpp | 2 +- src/network/protocols/stop_server.cpp | 2 +- src/network/remote_kart_info.hpp | 2 +- src/network/server_network_manager.cpp | 2 +- src/network/server_network_manager.hpp | 2 +- src/network/stk_host.cpp | 2 +- src/network/stk_host.hpp | 2 +- src/network/stk_peer.cpp | 2 +- src/network/stk_peer.hpp | 2 +- src/network/types.hpp | 2 +- src/online/http_request.cpp | 2 +- src/online/http_request.hpp | 2 +- src/online/online_player_profile.cpp | 2 +- src/online/online_player_profile.hpp | 2 +- src/online/online_profile.cpp | 2 +- src/online/online_profile.hpp | 2 +- src/online/profile_manager.cpp | 2 +- src/online/profile_manager.hpp | 2 +- src/online/request.cpp | 2 +- src/online/request.hpp | 2 +- src/online/request_manager.cpp | 6 +- src/online/request_manager.hpp | 6 +- src/online/server.cpp | 2 +- src/online/server.hpp | 2 +- src/online/servers_manager.cpp | 2 +- src/online/servers_manager.hpp | 2 +- src/online/xml_request.cpp | 2 +- src/online/xml_request.hpp | 2 +- src/physics/btKart.cpp | 2 +- src/physics/btKart.hpp | 2 +- src/physics/btKartRaycast.cpp | 2 +- src/physics/btKartRaycast.hpp | 2 +- src/physics/irr_debug_drawer.cpp | 2 +- src/physics/irr_debug_drawer.hpp | 2 +- src/physics/kart_motion_state.hpp | 2 +- src/physics/physical_object.cpp | 2 +- src/physics/physical_object.hpp | 2 +- src/physics/physics.cpp | 2 +- src/physics/physics.hpp | 2 +- src/physics/stk_dynamics_world.hpp | 2 +- src/physics/triangle_mesh.cpp | 2 +- src/physics/triangle_mesh.hpp | 2 +- src/physics/user_pointer.hpp | 2 +- src/race/grand_prix_data.cpp | 4 +- src/race/grand_prix_data.hpp | 4 +- src/race/grand_prix_manager.cpp | 2 +- src/race/grand_prix_manager.hpp | 2 +- src/race/highscore_manager.cpp | 2 +- src/race/highscore_manager.hpp | 2 +- src/race/highscores.cpp | 2 +- src/race/highscores.hpp | 2 +- src/race/history.cpp | 2 +- src/race/history.hpp | 2 +- src/race/race_manager.cpp | 2 +- src/race/race_manager.hpp | 2 +- src/replay/replay_base.cpp | 2 +- src/replay/replay_base.hpp | 2 +- src/replay/replay_play.cpp | 2 +- src/replay/replay_play.hpp | 2 +- src/replay/replay_recorder.cpp | 2 +- src/replay/replay_recorder.hpp | 2 +- src/scriptengine/script_engine.cpp | 24 +- src/scriptengine/script_engine.hpp | 2 +- src/scriptengine/script_kart.cpp | 2 +- src/scriptengine/script_kart.hpp | 2 +- src/scriptengine/script_physics.cpp | 2 +- src/scriptengine/script_physics.hpp | 2 +- src/scriptengine/script_track.cpp | 2 +- src/scriptengine/script_track.hpp | 2 +- src/scriptengine/scriptvec3.cpp | 2 +- src/scriptengine/scriptvec3.hpp | 2 +- src/states_screens/addons_screen.cpp | 2 +- src/states_screens/addons_screen.hpp | 2 +- src/states_screens/arenas_screen.cpp | 2 +- src/states_screens/arenas_screen.hpp | 2 +- src/states_screens/create_server_screen.cpp | 2 +- src/states_screens/create_server_screen.hpp | 2 +- src/states_screens/credits.cpp | 2 +- src/states_screens/credits.hpp | 2 +- src/states_screens/cutscene_gui.cpp | 2 +- src/states_screens/cutscene_gui.hpp | 2 +- .../dialogs/add_device_dialog.cpp | 2 +- .../dialogs/add_device_dialog.hpp | 2 +- src/states_screens/dialogs/addons_loading.cpp | 2 +- src/states_screens/dialogs/addons_loading.hpp | 2 +- .../dialogs/change_password_dialog.cpp | 2 +- .../dialogs/change_password_dialog.hpp | 2 +- .../dialogs/confirm_resolution_dialog.cpp | 2 +- .../dialogs/confirm_resolution_dialog.hpp | 2 +- .../dialogs/custom_video_settings.cpp | 2 +- .../dialogs/custom_video_settings.hpp | 2 +- src/states_screens/dialogs/debug_slider.cpp | 2 +- src/states_screens/dialogs/debug_slider.hpp | 2 +- .../dialogs/enter_gp_name_dialog.cpp | 4 +- .../dialogs/enter_gp_name_dialog.hpp | 2 +- src/states_screens/dialogs/gp_info_dialog.cpp | 2 +- src/states_screens/dialogs/gp_info_dialog.hpp | 2 +- src/states_screens/dialogs/message_dialog.cpp | 2 +- src/states_screens/dialogs/message_dialog.hpp | 2 +- .../dialogs/press_a_key_dialog.cpp | 2 +- .../dialogs/press_a_key_dialog.hpp | 2 +- .../dialogs/race_paused_dialog.cpp | 2 +- .../dialogs/race_paused_dialog.hpp | 2 +- .../dialogs/recovery_dialog.cpp | 2 +- .../dialogs/recovery_dialog.hpp | 2 +- .../dialogs/registration_dialog.cpp | 2 +- .../dialogs/registration_dialog.hpp | 2 +- .../dialogs/select_challenge.cpp | 2 +- .../dialogs/select_challenge.hpp | 2 +- .../dialogs/server_info_dialog.cpp | 2 +- .../dialogs/server_info_dialog.hpp | 2 +- .../dialogs/tutorial_message_dialog.cpp | 2 +- .../dialogs/tutorial_message_dialog.hpp | 2 +- .../dialogs/user_info_dialog.cpp | 2 +- .../dialogs/user_info_dialog.hpp | 2 +- src/states_screens/dialogs/vote_dialog.cpp | 2 +- src/states_screens/dialogs/vote_dialog.hpp | 2 +- src/states_screens/easter_egg_screen.cpp | 2 +- src/states_screens/easter_egg_screen.hpp | 2 +- src/states_screens/edit_gp_screen.cpp | 2 +- src/states_screens/edit_gp_screen.hpp | 2 +- src/states_screens/edit_track_screen.cpp | 2 +- src/states_screens/edit_track_screen.hpp | 2 +- src/states_screens/feature_unlocked.cpp | 2 +- src/states_screens/feature_unlocked.hpp | 2 +- src/states_screens/gp_info_screen.cpp | 4 +- src/states_screens/gp_info_screen.hpp | 4 +- src/states_screens/grand_prix_cutscene.cpp | 2 +- src/states_screens/grand_prix_cutscene.hpp | 2 +- .../grand_prix_editor_screen.cpp | 2 +- .../grand_prix_editor_screen.hpp | 2 +- src/states_screens/grand_prix_lose.cpp | 2 +- src/states_screens/grand_prix_lose.hpp | 2 +- src/states_screens/grand_prix_win.cpp | 2 +- src/states_screens/grand_prix_win.hpp | 2 +- src/states_screens/help_screen_1.cpp | 2 +- src/states_screens/help_screen_1.hpp | 2 +- src/states_screens/help_screen_2.cpp | 2 +- src/states_screens/help_screen_2.hpp | 2 +- src/states_screens/help_screen_3.cpp | 2 +- src/states_screens/help_screen_3.hpp | 2 +- src/states_screens/help_screen_4.cpp | 2 +- src/states_screens/help_screen_4.hpp | 2 +- src/states_screens/kart_selection.cpp | 2 +- src/states_screens/kart_selection.hpp | 2 +- src/states_screens/main_menu_screen.cpp | 2 +- src/states_screens/main_menu_screen.hpp | 2 +- src/states_screens/networking_lobby.cpp | 2 +- src/states_screens/networking_lobby.hpp | 2 +- .../online_profile_achievements.cpp | 2 +- .../online_profile_achievements.hpp | 2 +- src/states_screens/online_profile_base.cpp | 2 +- src/states_screens/online_profile_base.hpp | 2 +- src/states_screens/online_profile_friends.cpp | 2 +- src/states_screens/online_profile_friends.hpp | 2 +- .../online_profile_settings.cpp | 2 +- .../online_profile_settings.hpp | 2 +- src/states_screens/online_screen.cpp | 2 +- src/states_screens/online_screen.hpp | 2 +- src/states_screens/online_user_search.cpp | 2 +- src/states_screens/online_user_search.hpp | 2 +- src/states_screens/options_screen_audio.cpp | 2 +- src/states_screens/options_screen_audio.hpp | 2 +- src/states_screens/options_screen_input.cpp | 2 +- src/states_screens/options_screen_input.hpp | 2 +- src/states_screens/options_screen_input2.cpp | 2 +- src/states_screens/options_screen_input2.hpp | 2 +- src/states_screens/options_screen_ui.cpp | 2 +- src/states_screens/options_screen_ui.hpp | 2 +- src/states_screens/options_screen_video.cpp | 2 +- src/states_screens/options_screen_video.hpp | 2 +- src/states_screens/race_gui.cpp | 4 +- src/states_screens/race_gui.hpp | 4 +- src/states_screens/race_gui_base.cpp | 4 +- src/states_screens/race_gui_base.hpp | 2 +- src/states_screens/race_gui_overworld.cpp | 4 +- src/states_screens/race_gui_overworld.hpp | 4 +- src/states_screens/race_result_gui.cpp | 2 +- src/states_screens/race_result_gui.hpp | 2 +- src/states_screens/race_setup_screen.cpp | 2 +- src/states_screens/race_setup_screen.hpp | 2 +- src/states_screens/register_screen.cpp | 2 +- src/states_screens/register_screen.hpp | 2 +- src/states_screens/server_selection.cpp | 2 +- src/states_screens/server_selection.hpp | 2 +- src/states_screens/soccer_setup_screen.cpp | 2 +- src/states_screens/soccer_setup_screen.hpp | 2 +- src/states_screens/state_manager.cpp | 2 +- src/states_screens/state_manager.hpp | 2 +- src/states_screens/track_info_screen.cpp | 4 +- src/states_screens/track_info_screen.hpp | 4 +- src/states_screens/tracks_screen.cpp | 2 +- src/states_screens/tracks_screen.hpp | 2 +- src/states_screens/user_screen.cpp | 2 +- src/states_screens/user_screen.hpp | 2 +- src/tinygettext/dictionary.cpp | 2 +- src/tinygettext/dictionary.hpp | 2 +- src/tinygettext/dictionary_manager.cpp | 2 +- src/tinygettext/dictionary_manager.hpp | 2 +- src/tinygettext/file_system.hpp | 2 +- src/tinygettext/iconv.cpp | 2 +- src/tinygettext/iconv.hpp | 2 +- src/tinygettext/language.cpp | 2 +- src/tinygettext/language.hpp | 2 +- src/tinygettext/log_stream.hpp | 2 +- src/tinygettext/plural_forms.cpp | 2 +- src/tinygettext/plural_forms.hpp | 2 +- src/tinygettext/po_parser.cpp | 2 +- src/tinygettext/po_parser.hpp | 2 +- src/tinygettext/stk_file_system.cpp | 2 +- src/tinygettext/stk_file_system.hpp | 2 +- src/tinygettext/tgt_log.cpp | 2 +- src/tinygettext/tgt_log.hpp | 2 +- src/tinygettext/tinygettext.cpp | 2 +- src/tinygettext/tinygettext.hpp | 2 +- src/tracks/ambient_light_sphere.cpp | 2 +- src/tracks/ambient_light_sphere.hpp | 2 +- src/tracks/bezier_curve.cpp | 2 +- src/tracks/bezier_curve.hpp | 2 +- src/tracks/check_cannon.cpp | 2 +- src/tracks/check_cannon.hpp | 2 +- src/tracks/check_goal.cpp | 2 +- src/tracks/check_goal.hpp | 2 +- src/tracks/check_lap.cpp | 2 +- src/tracks/check_lap.hpp | 2 +- src/tracks/check_line.cpp | 2 +- src/tracks/check_line.hpp | 2 +- src/tracks/check_manager.cpp | 2 +- src/tracks/check_manager.hpp | 2 +- src/tracks/check_sphere.cpp | 2 +- src/tracks/check_sphere.hpp | 2 +- src/tracks/check_structure.cpp | 2 +- src/tracks/check_structure.hpp | 2 +- src/tracks/graph_node.cpp | 2 +- src/tracks/graph_node.hpp | 2 +- src/tracks/model_definition_loader.cpp | 2 +- src/tracks/model_definition_loader.hpp | 2 +- src/tracks/quad.cpp | 2 +- src/tracks/quad.hpp | 2 +- src/tracks/quad_graph.cpp | 2 +- src/tracks/quad_graph.hpp | 2 +- src/tracks/quad_set.cpp | 2 +- src/tracks/quad_set.hpp | 2 +- src/tracks/terrain_info.cpp | 2 +- src/tracks/terrain_info.hpp | 2 +- src/tracks/track.cpp | 4 +- src/tracks/track.hpp | 4 +- src/tracks/track_manager.cpp | 2 +- src/tracks/track_manager.hpp | 2 +- src/tracks/track_object.cpp | 2 +- src/tracks/track_object.hpp | 2 +- src/tracks/track_object_manager.cpp | 2 +- src/tracks/track_object_manager.hpp | 2 +- src/tracks/track_object_presentation.cpp | 2 +- src/tracks/track_object_presentation.hpp | 2 +- src/tracks/track_sector.cpp | 2 +- src/tracks/track_sector.hpp | 2 +- src/utils/aligned_array.hpp | 2 +- src/utils/can_be_deleted.hpp | 2 +- src/utils/command_line.cpp | 2 +- src/utils/command_line.hpp | 2 +- src/utils/constants.cpp | 2 +- src/utils/constants.hpp | 4 +- src/utils/crash_reporting.cpp | 2 +- src/utils/crash_reporting.hpp | 2 +- src/utils/debug.cpp | 2 +- src/utils/debug.hpp | 2 +- src/utils/helpers.cpp | 6 +- src/utils/helpers.hpp | 2 +- src/utils/interpolation_array.hpp | 2 +- src/utils/leak_check.cpp | 2 +- src/utils/leak_check.hpp | 2 +- src/utils/log.cpp | 2 +- src/utils/log.hpp | 2 +- src/utils/no_copy.hpp | 2 +- src/utils/profiler.cpp | 2 +- src/utils/profiler.hpp | 2 +- src/utils/ptr_vector.hpp | 2 +- src/utils/random_generator.cpp | 2 +- src/utils/random_generator.hpp | 2 +- src/utils/singleton.hpp | 2 +- src/utils/string_utils.cpp | 6 +- src/utils/string_utils.hpp | 6 +- src/utils/synchronised.hpp | 2 +- src/utils/time.cpp | 2 +- src/utils/time.hpp | 2 +- src/utils/translation.cpp | 2 +- src/utils/translation.hpp | 2 +- src/utils/types.hpp | 2 +- src/utils/vec3.cpp | 2 +- src/utils/vec3.hpp | 2 +- tools/update_copyright.sh | 4 +- 650 files changed, 1262 insertions(+), 1263 deletions(-) mode change 100755 => 100644 src/guiengine/message_queue.cpp mode change 100755 => 100644 src/utils/can_be_deleted.hpp diff --git a/src/achievements/achievement.cpp b/src/achievements/achievement.cpp index 739b681b4..f9e66d045 100644 --- a/src/achievements/achievement.cpp +++ b/src/achievements/achievement.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2014 Glenn De Jonghe -// 2014 Joerg Henrichs +// Copyright (C) 2013-2015 Glenn De Jonghe +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/achievements/achievement.hpp b/src/achievements/achievement.hpp index b127af293..a1618a2d4 100644 --- a/src/achievements/achievement.hpp +++ b/src/achievements/achievement.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2014 Glenn De Jonghe -// 2014 Joerg Henrichs +// Copyright (C) 2013-2015 Glenn De Jonghe +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/achievements/achievement_info.cpp b/src/achievements/achievement_info.cpp index d10e8e056..d732abe83 100644 --- a/src/achievements/achievement_info.cpp +++ b/src/achievements/achievement_info.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2014 Glenn De Jonghe -// 2014 Joerg Henrichs +// Copyright (C) 2013-2015 Glenn De Jonghe +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/achievements/achievement_info.hpp b/src/achievements/achievement_info.hpp index 677170b17..d79caa2d0 100644 --- a/src/achievements/achievement_info.hpp +++ b/src/achievements/achievement_info.hpp @@ -1,8 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2014 Glenn De Jonghe -// 2014 Joerg Henrichs - +// Copyright (C) 2013-2015 Glenn De Jonghe +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/achievements/achievements_manager.cpp b/src/achievements/achievements_manager.cpp index de51c1e78..b5194854a 100644 --- a/src/achievements/achievements_manager.cpp +++ b/src/achievements/achievements_manager.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2014 Glenn De Jonghe -// 2014 Joerg Henrichs +// Copyright (C) 2013-2015 Glenn De Jonghe +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/achievements/achievements_manager.hpp b/src/achievements/achievements_manager.hpp index a9c8ab90a..c0520e154 100644 --- a/src/achievements/achievements_manager.hpp +++ b/src/achievements/achievements_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/achievements/achievements_status.cpp b/src/achievements/achievements_status.cpp index 4f59a3c17..bccf443d2 100644 --- a/src/achievements/achievements_status.cpp +++ b/src/achievements/achievements_status.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2014 Glenn De Jonghe -// 2014 Joerg Henrichs +// Copyright (C) 2013-2015 Glenn De Jonghe +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/achievements/achievements_status.hpp b/src/achievements/achievements_status.hpp index faf234fc7..34852fa26 100644 --- a/src/achievements/achievements_status.hpp +++ b/src/achievements/achievements_status.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2014 Glenn De Jonghe -// 2014 Joerg Henrichs +// Copyright (C) 2013-2015 Glenn De Jonghe +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/addons/addon.cpp b/src/addons/addon.cpp index 6f17829a9..2cb6ac259 100644 --- a/src/addons/addon.cpp +++ b/src/addons/addon.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Lucas Baudin, Joerg Henrichs +// Copyright (C) 2010-2015 Lucas Baudin, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/addons/addon.hpp b/src/addons/addon.hpp index 4a8b166e8..65ab7735d 100644 --- a/src/addons/addon.hpp +++ b/src/addons/addon.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Lucas Baudin, Joerg Henrichs +// Copyright (C) 2010-2015 Lucas Baudin, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/addons/addons_manager.cpp b/src/addons/addons_manager.cpp index f5f7e8d5f..add5fc813 100644 --- a/src/addons/addons_manager.cpp +++ b/src/addons/addons_manager.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Lucas Baudin +// Copyright (C) 2010-2015 Lucas Baudin // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/addons/addons_manager.hpp b/src/addons/addons_manager.hpp index f78ce5bd9..2aa096e2d 100644 --- a/src/addons/addons_manager.hpp +++ b/src/addons/addons_manager.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Lucas Baudin, Joerg Henrichs +// Copyright (C) 2010-2015 Lucas Baudin, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/addons/news_manager.cpp b/src/addons/news_manager.cpp index 697ff211e..c89c84cef 100644 --- a/src/addons/news_manager.cpp +++ b/src/addons/news_manager.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/addons/news_manager.hpp b/src/addons/news_manager.hpp index 264d7936a..e249a83a8 100644 --- a/src/addons/news_manager.hpp +++ b/src/addons/news_manager.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/addons/zip.cpp b/src/addons/zip.cpp index 9b4fd5ff8..a0cca0983 100644 --- a/src/addons/zip.cpp +++ b/src/addons/zip.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Lucas Baudin +// Copyright (C) 2010-2015 Lucas Baudin // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/addons/zip.hpp b/src/addons/zip.hpp index e78f515cc..dd2c20585 100644 --- a/src/addons/zip.hpp +++ b/src/addons/zip.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Lucas Baudin +// Copyright (C) 2010-2015 Lucas Baudin // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/animations/animation_base.cpp b/src/animations/animation_base.cpp index 74f987d39..6936583f8 100644 --- a/src/animations/animation_base.cpp +++ b/src/animations/animation_base.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/animations/animation_base.hpp b/src/animations/animation_base.hpp index 926f0578f..140738014 100644 --- a/src/animations/animation_base.hpp +++ b/src/animations/animation_base.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/animations/ipo.cpp b/src/animations/ipo.cpp index 8e4331893..c810a024d 100644 --- a/src/animations/ipo.cpp +++ b/src/animations/ipo.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/animations/ipo.hpp b/src/animations/ipo.hpp index a0a93eff4..fadff2028 100644 --- a/src/animations/ipo.hpp +++ b/src/animations/ipo.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/animations/three_d_animation.cpp b/src/animations/three_d_animation.cpp index 324b392d5..5ec43df29 100644 --- a/src/animations/three_d_animation.cpp +++ b/src/animations/three_d_animation.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/animations/three_d_animation.hpp b/src/animations/three_d_animation.hpp index 8d8bfe5e1..4ed22c08f 100644 --- a/src/animations/three_d_animation.hpp +++ b/src/animations/three_d_animation.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/dummy_sfx.hpp b/src/audio/dummy_sfx.hpp index 578eded7b..0b3c4ab46 100644 --- a/src/audio/dummy_sfx.hpp +++ b/src/audio/dummy_sfx.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Patrick Ammann -// Copyright (C) 2008-2013 Joerg Henrichs, Patrick Ammann +// Copyright (C) 2006-2015 Patrick Ammann +// Copyright (C) 2008-2015 Joerg Henrichs, Patrick Ammann // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/music.hpp b/src/audio/music.hpp index 8908d9e1e..a848fb6e5 100644 --- a/src/audio/music.hpp +++ b/src/audio/music.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Patrick Ammann +// Copyright (C) 2006-2015 Patrick Ammann // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/music_dummy.hpp b/src/audio/music_dummy.hpp index b88202847..c2a9dd70b 100644 --- a/src/audio/music_dummy.hpp +++ b/src/audio/music_dummy.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Patrick Ammann +// Copyright (C) 2006-2015 Patrick Ammann // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/music_information.cpp b/src/audio/music_information.cpp index c18a8ba01..a568880c2 100644 --- a/src/audio/music_information.cpp +++ b/src/audio/music_information.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/music_information.hpp b/src/audio/music_information.hpp index 7203451bc..868510d03 100644 --- a/src/audio/music_information.hpp +++ b/src/audio/music_information.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/music_manager.cpp b/src/audio/music_manager.cpp index db3cb3b9a..d009df0ac 100644 --- a/src/audio/music_manager.cpp +++ b/src/audio/music_manager.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Patrick Ammann -// Copyright (C) 2008-2013 Patrick Ammann , Joerg Henrichs +// Copyright (C) 2006-2015 Patrick Ammann +// Copyright (C) 2008-2015 Patrick Ammann , Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/music_manager.hpp b/src/audio/music_manager.hpp index a4c858b36..a66d15976 100644 --- a/src/audio/music_manager.hpp +++ b/src/audio/music_manager.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Patrick Ammann -// Copyright (C) 2008-2013 Patrick Ammann , Joerg Henrichs +// Copyright (C) 2006-2015 Patrick Ammann +// Copyright (C) 2008-2015 Patrick Ammann , Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/music_ogg.cpp b/src/audio/music_ogg.cpp index 77f5c6e0d..e184b4aea 100644 --- a/src/audio/music_ogg.cpp +++ b/src/audio/music_ogg.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Damien Morel +// Copyright (C) 2007-2015 Damien Morel // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/music_ogg.hpp b/src/audio/music_ogg.hpp index 55127790c..822728584 100644 --- a/src/audio/music_ogg.hpp +++ b/src/audio/music_ogg.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Damien Morel +// Copyright (C) 2007-2015 Damien Morel // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/sfx_base.hpp b/src/audio/sfx_base.hpp index eedc85b59..c95511bb6 100644 --- a/src/audio/sfx_base.hpp +++ b/src/audio/sfx_base.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Patrick Ammann -// Copyright (C) 2008-2013 Joerg Henrichs, Patrick Ammann +// Copyright (C) 2006-2015 Patrick Ammann +// Copyright (C) 2008-2015 Joerg Henrichs, Patrick Ammann // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/sfx_buffer.cpp b/src/audio/sfx_buffer.cpp index 3efa72e0d..070a76af7 100644 --- a/src/audio/sfx_buffer.cpp +++ b/src/audio/sfx_buffer.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/sfx_buffer.hpp b/src/audio/sfx_buffer.hpp index e0583b67c..d2dd1f726 100644 --- a/src/audio/sfx_buffer.hpp +++ b/src/audio/sfx_buffer.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index fc89bc5d5..31ba9f2d1 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/sfx_manager.hpp b/src/audio/sfx_manager.hpp index a05b0df35..31447f546 100644 --- a/src/audio/sfx_manager.hpp +++ b/src/audio/sfx_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/sfx_openal.cpp b/src/audio/sfx_openal.cpp index 2368185e5..3395b2333 100644 --- a/src/audio/sfx_openal.cpp +++ b/src/audio/sfx_openal.cpp @@ -1,8 +1,8 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Joerg Henrichs -// Copyright (C) 2006-2014 Patrick Ammann -// Copyright (C) 2009-2014 Marianne Gagnon +// Copyright (C) 2014-2015 Joerg Henrichs +// Copyright (C) 2006-2015 Patrick Ammann +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/audio/sfx_openal.hpp b/src/audio/sfx_openal.hpp index 1642970b5..19d3adabb 100644 --- a/src/audio/sfx_openal.hpp +++ b/src/audio/sfx_openal.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Patrick Ammann +// Copyright (C) 2006-2015 Patrick Ammann // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/challenges/challenge_data.cpp b/src/challenges/challenge_data.cpp index ee0f8e011..0301d0435 100644 --- a/src/challenges/challenge_data.cpp +++ b/src/challenges/challenge_data.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/challenges/challenge_data.hpp b/src/challenges/challenge_data.hpp index 59e065b0a..5c9889f1f 100644 --- a/src/challenges/challenge_data.hpp +++ b/src/challenges/challenge_data.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/challenges/challenge_status.cpp b/src/challenges/challenge_status.cpp index 71ce2548c..7b41e7b5f 100644 --- a/src/challenges/challenge_status.cpp +++ b/src/challenges/challenge_status.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/challenges/challenge_status.hpp b/src/challenges/challenge_status.hpp index aa3ea0c42..9e69e73a9 100644 --- a/src/challenges/challenge_status.hpp +++ b/src/challenges/challenge_status.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/challenges/story_mode_status.cpp b/src/challenges/story_mode_status.cpp index 73769d1d3..fcefad1dd 100644 --- a/src/challenges/story_mode_status.cpp +++ b/src/challenges/story_mode_status.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/challenges/story_mode_status.hpp b/src/challenges/story_mode_status.hpp index 784a43605..dab906b87 100644 --- a/src/challenges/story_mode_status.hpp +++ b/src/challenges/story_mode_status.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/challenges/unlock_manager.cpp b/src/challenges/unlock_manager.cpp index 2f4fb4d92..5a6501991 100644 --- a/src/challenges/unlock_manager.cpp +++ b/src/challenges/unlock_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/challenges/unlock_manager.hpp b/src/challenges/unlock_manager.hpp index d5834fbbd..781379ec7 100644 --- a/src/challenges/unlock_manager.hpp +++ b/src/challenges/unlock_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/hardware_stats.cpp b/src/config/hardware_stats.cpp index 900733b64..91c07f56c 100644 --- a/src/config/hardware_stats.cpp +++ b/src/config/hardware_stats.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Joerg Henrichs +// Copyright (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -57,7 +57,7 @@ namespace HardwareStats // ---------------------------------------------------------------------------- /** Returns the amount of RAM in MB. - * (C) 2014 by Wildfire Games (0 A.D.), ported by Joerg Henrichs + * (C) 2014-2015 Wildfire Games (0 A.D.), ported by Joerg Henrichs */ int getRAM() { @@ -98,7 +98,7 @@ int getRAM() // ---------------------------------------------------------------------------- /** Returns the number of processors on the system. - * (C) 2014 by Wildfire Games (0 A.D.), ported by Joerg Henrichs + * (C) 2014-2015 Wildfire Games (0 A.D.), ported by Joerg Henrichs */ int getNumProcessors() { @@ -204,7 +204,7 @@ void determineOSVersion() #endif #ifdef WIN32 - // (C) 2014 by Wildfire Games (0 A.D.), ported by Joerg Henrichs. + // (C) 2014-2015 Wildfire Games (0 A.D.), ported by Joerg Henrichs. HKEY hKey; if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, diff --git a/src/config/hardware_stats.hpp b/src/config/hardware_stats.hpp index 4c5ef321f..d2dfd0044 100644 --- a/src/config/hardware_stats.hpp +++ b/src/config/hardware_stats.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Joerg Henrichs +// Copyright (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/player_manager.cpp b/src/config/player_manager.cpp index f1b84a52c..1495ff4e6 100644 --- a/src/config/player_manager.cpp +++ b/src/config/player_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2014 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/player_manager.hpp b/src/config/player_manager.hpp index a4a6e1f22..f11912534 100644 --- a/src/config/player_manager.hpp +++ b/src/config/player_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2014 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/player_profile.cpp b/src/config/player_profile.cpp index e5df0c1ba..c934ee6d7 100644 --- a/src/config/player_profile.cpp +++ b/src/config/player_profile.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 SuperTuxKart-Team +// Copyright (C) 2012-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/player_profile.hpp b/src/config/player_profile.hpp index 94868d35a..8cef55762 100644 --- a/src/config/player_profile.hpp +++ b/src/config/player_profile.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/saved_grand_prix.cpp b/src/config/saved_grand_prix.cpp index 0f808e642..779204f45 100644 --- a/src/config/saved_grand_prix.cpp +++ b/src/config/saved_grand_prix.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/saved_grand_prix.hpp b/src/config/saved_grand_prix.hpp index 84b494067..effb10190 100644 --- a/src/config/saved_grand_prix.hpp +++ b/src/config/saved_grand_prix.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/stk_config.cpp b/src/config/stk_config.cpp index 64ca6a914..1f5f756a0 100644 --- a/src/config/stk_config.cpp +++ b/src/config/stk_config.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/stk_config.hpp b/src/config/stk_config.hpp index ba3f45acf..c1825822a 100644 --- a/src/config/stk_config.hpp +++ b/src/config/stk_config.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/config/user_config.cpp b/src/config/user_config.cpp index a6c8b1988..40554f8b8 100644 --- a/src/config/user_config.cpp +++ b/src/config/user_config.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // Modelled after Supertux's configfile.cpp // // This program is free software; you can redistribute it and/or diff --git a/src/config/user_config.hpp b/src/config/user_config.hpp index 7b4454a12..4ea5da5b7 100644 --- a/src/config/user_config.hpp +++ b/src/config/user_config.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // Modelled after Supertux's configfile.h // // This program is free software; you can redistribute it and/or diff --git a/src/graphics/2dutils.hpp b/src/graphics/2dutils.hpp index 3ecffceeb..52f65f819 100644 --- a/src/graphics/2dutils.hpp +++ b/src/graphics/2dutils.hpp @@ -47,4 +47,4 @@ void draw2DVertexPrimitiveList(irr::video::ITexture *t, const void* vertices, void GL32_draw2DRectangle(irr::video::SColor color, const irr::core::rect& position, const irr::core::rect* clip = 0); -#endif \ No newline at end of file +#endif diff --git a/src/graphics/IBL.cpp b/src/graphics/IBL.cpp index 98e54ea40..5a733f21d 100644 --- a/src/graphics/IBL.cpp +++ b/src/graphics/IBL.cpp @@ -385,4 +385,4 @@ GLuint generateSpecularCubemap(GLuint probe) glBindFramebuffer(GL_FRAMEBUFFER, 0); glDeleteFramebuffers(1, &fbo); return cubemap_texture; -} \ No newline at end of file +} diff --git a/src/graphics/IBL.hpp b/src/graphics/IBL.hpp index f5f97e068..f9461dd7e 100644 --- a/src/graphics/IBL.hpp +++ b/src/graphics/IBL.hpp @@ -35,4 +35,4 @@ using the cubemap provided by CubemapFace. void SphericalHarmonics(Color *CubemapFace[6], size_t edge_size, float *blueSHCoeff, float *greenSHCoeff, float *redSHCoeff); GLuint generateSpecularCubemap(GLuint probe); -#endif \ No newline at end of file +#endif diff --git a/src/graphics/camera.cpp b/src/graphics/camera.cpp index c71cffcf1..058469486 100644 --- a/src/graphics/camera.cpp +++ b/src/graphics/camera.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 SuperTuxKart-Team, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 SuperTuxKart-Team, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/camera.hpp b/src/graphics/camera.hpp index 2b1811828..830b3b598 100644 --- a/src/graphics/camera.hpp +++ b/src/graphics/camera.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 SuperTuxKart-Team, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 SuperTuxKart-Team, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/central_settings.cpp b/src/graphics/central_settings.cpp index 8a5d61ee2..ede01d4d7 100644 --- a/src/graphics/central_settings.cpp +++ b/src/graphics/central_settings.cpp @@ -341,4 +341,4 @@ bool CentralVideoSettings::isESMEnabled() const bool CentralVideoSettings::isDefferedEnabled() const { return UserConfigParams::m_dynamic_lights && !GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_ADVANCED_PIPELINE); -} \ No newline at end of file +} diff --git a/src/graphics/central_settings.hpp b/src/graphics/central_settings.hpp index 6e3885dcd..dbde9c656 100644 --- a/src/graphics/central_settings.hpp +++ b/src/graphics/central_settings.hpp @@ -90,4 +90,4 @@ public: extern CentralVideoSettings* CVS; -#endif \ No newline at end of file +#endif diff --git a/src/graphics/explosion.cpp b/src/graphics/explosion.cpp index 3706d770d..eba0951ac 100644 --- a/src/graphics/explosion.cpp +++ b/src/graphics/explosion.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker +// Copyright (C) 2004-2015 Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/explosion.hpp b/src/graphics/explosion.hpp index 251bb6735..4dbf2fdb3 100644 --- a/src/graphics/explosion.hpp +++ b/src/graphics/explosion.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker +// Copyright (C) 2004-2015 Steve Baker // Copyright (C) 2014-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or diff --git a/src/graphics/glwrap.cpp b/src/graphics/glwrap.cpp index 74297a009..c1e308bab 100644 --- a/src/graphics/glwrap.cpp +++ b/src/graphics/glwrap.cpp @@ -361,7 +361,7 @@ const std::string getGLExtensions() // ---------------------------------------------------------------------------- /** Adds GL limits to the json data structure. - * (C) 2014 by Wildfire Games (0 A.D.), ported by Joerg Henrichs + * (C) 2014-2015 Wildfire Games (0 A.D.), ported by Joerg Henrichs */ void getGLLimits(HardwareStats::Json *json) { diff --git a/src/graphics/graphics_restrictions.cpp b/src/graphics/graphics_restrictions.cpp index d656267c1..ac6e72031 100644 --- a/src/graphics/graphics_restrictions.cpp +++ b/src/graphics/graphics_restrictions.cpp @@ -1,512 +1,512 @@ -// -// SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Joerg Henrichs -// -// 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 3 -// 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. - -#include "graphics/graphics_restrictions.hpp" - -#include "io/file_manager.hpp" -#include "io/xml_node.hpp" -#include "utils/log.hpp" -#include "utils/no_copy.hpp" -#include "utils/string_utils.hpp" -#include "utils/types.hpp" - -#include - -namespace GraphicsRestrictions -{ - - class Rule; - namespace Private - { - /** Stores for each grpahics restriction if it's enabled or not. */ - std::vector m_all_graphics_restriction; - - /** The list of names used in the XML file for the graphics - * restriction types. They must be in the same order as the types. */ - - char *m_names_of_restrictions[] = { - "UniformBufferObject", - "GeometryShader4", - "DrawIndirect", - "TextureView", - "TextureStorage", - "ImageLoadStore", - "BaseInstance", - "ComputeShader", - "ShaderStorageBufferObject", - "MultiDrawIndirect", - "ShaderAtomicCounters", - "BufferStorage", - "BindlessTexture", - "TextureCompressionS3TC", - "AMDVertexShaderLayer", - "DriverRecentEnough", - "HighDefinitionTextures", - "AdvancedPipeline", - "FramebufferSRGBWorking", - "GI", - }; - } // namespace Private - using namespace Private; - - /** Returns the graphics restrictions type for a string, or - * GR_COUNT if the name is not found. */ -GraphicsRestrictionsType getTypeForName(const std::string &name) -{ - unsigned int i = 0; - while (m_names_of_restrictions[i] != NULL) - { - if (name == m_names_of_restrictions[i]) - return (GraphicsRestrictionsType)i; - i++; - } - return GR_COUNT; -} // getTypeForName - -// ============================================================================ -/** A small utility class to manage and compare version tuples. - */ -class Version -{ -private: - /** The array containing the version number. */ - std::vector m_version; - - // ---------------------------------------------------------------------------- - /** Searches for the first number in the string, then converts the rest of the - * string into a tuple. E.g. "Build 12.34.56" --> [12,34,56]. - */ - void convertVersionString(const std::string &version) - { - std::string s = version; - std::string::iterator p = s.begin(); - while( (p !=s.end()) && ((*p<'0') || (*p>'9')) ) - p++; - s.erase(s.begin(), p); - m_version = StringUtils::splitToUInt(s, '.'); - } // convertVersionString - -public: - // ------------------------------------------------------------------------ - /** Dummy default constructor. */ - Version() {} - // ------------------------------------------------------------------------ - /** Simple constructor which takes a string with "." separated numbers. - */ - Version(const std::string &version) - { - convertVersionString(version); - } // Version(std::string) - - // ------------------------------------------------------------------------ - /** Create a version instance from the driver and car name. For example for - * an Intel HD3000 card the string is "3.1.0 - Build 9.17.10.3517" it would - * create [9,17,10,3517] - i.e. it takes the vendor info into account. - * \param driver_version The GL_VERSION string (i.e. opengl and version - * number). - * \param card_name The GL_RENDERER string (i.e. graphics card). - */ - Version(const std::string &driver_version, const std::string &card_name) - { - m_version.clear(); - - // Mesa needs to be tested first, otherwise (if testing for card name - // further down) it would be detected as a non-mesa driver. - if (driver_version.find("Mesa") != std::string::npos) - { - std::string driver; - // Try to force the driver name to be in a standard way by removing - // optional strings - driver = StringUtils::replace(driver_version, "-devel", ""); - driver = StringUtils::replace(driver, "(Core Profile) ", ""); - std::vector l = StringUtils::split(driver, ' '); - if (l.size() > 2) - { - // driver can be: "1.4 (3.0 Mesa 10.1.0)" --> l[3] must be used - if (l[2] != "Mesa") - convertVersionString(l[2]); - else - convertVersionString(l[3]); - return; - } - } - - // Intel card: driver version = "3.1.0 - Build 9.17.10.3517" - // --------------------------------------------------------- - if (StringUtils::startsWith(card_name, "Intel")) - { - std::vector s = StringUtils::split(driver_version, '-'); - if (s.size() == 2) - { - convertVersionString(s[1]); - return; - } - } - - // Nvidia: driver_version = "4.3.0 NVIDIA 340.58" - // ---------------------------------------------- - if (driver_version.find("NVIDIA") != std::string::npos) - { - std::vector s = StringUtils::split(driver_version, ' '); - if (s.size() == 3) - { - convertVersionString(s[2]); - return; - } - - } - - // ATI: some drivers use e.g.: "4.1 ATI-1.24.38" - if (driver_version.find("ATI-") != std::string::npos) - { - std::string driver; - // Try to force the driver name to be in a standard way by removing - // optional strings - driver = StringUtils::replace(driver_version, "ATI-", ""); - std::vector s = StringUtils::split(driver, ' '); - convertVersionString(s[1]); - return; - } - - // AMD: driver_version = "4.3.13283 Core Profile/Debug Context 14.501.1003.0" - // ---------------------------------------------- - if (card_name.find("AMD") != std::string::npos) - { - std::vector s = StringUtils::split(driver_version, ' '); - if (s.size() == 5) - { - convertVersionString(s[4]); - return; - } - - } - - // ATI: other drivers use "4.0.10188 Core Profile Context" - if (card_name.find("ATI") != std::string::npos) - { - std::vector s = StringUtils::split(driver_version, ' '); - convertVersionString(s[0]); - return; - } - - Log::warn("Graphics", "Can not find version for '%s' '%s' - ignored.", - driver_version.c_str(), card_name.c_str()); - - } // Version - - // ------------------------------------------------------------------------ - /** Compares two version numbers. Equal returns true if the elements are - * identical. - */ - bool operator== (const Version &other) const - { - if (m_version.size() != other.m_version.size()) return false; - for(unsigned int i=0; ioperator==(other); - } // operator!= - // ------------------------------------------------------------------------ - /** If *this < other. */ - bool operator< (const Version &other) const - { - unsigned int min_n = std::min(m_version.size(), other.m_version.size()); - for (unsigned int i = 0; i other.m_version[i]) return false; - if (m_version[i] < other.m_version[i]) return true; - } - if (m_version.size() >= other.m_version.size()) - return false; - else - return true; - } // operator< - // ------------------------------------------------------------------------ - /** If *this <= other. */ - bool operator<= (const Version &other) const - { - unsigned int min_n = std::min(m_version.size(), other.m_version.size()); - for (unsigned int i = 0; i other.m_version[i]) return false; - if (m_version[i] < other.m_version[i]) return true; - } - if (m_version.size() > other.m_version.size()) - return false; - else - return true; - } // operator<= - -}; // class Version -// ============================================================================ -class Rule : public NoCopy -{ -private: - /** Operators to test for a card. */ - enum {CARD_IS, CARD_CONTAINS} m_card_test; - - /** Name of the card for which this rule applies. */ - std::string m_card_name; - - /** Operators to test version numbers with. */ - enum {VERSION_IGNORE, VERSION_EQUAL, VERSION_LESS, - VERSION_LESS_EQUAL} m_version_test; - - /** Driver version for which this rule applies. */ - Version m_driver_version; - - /** For which OS this rule applies. */ - std::string m_os; - - /** Which options to disable. */ - std::vector m_disable_options; -public: - Rule(const XMLNode *rule) - { - m_version_test = VERSION_IGNORE; - if(rule->get("is", &m_card_name)) - { - m_card_test = CARD_IS; - } - else if(rule->get("contains", &m_card_name)) - { - m_card_test = CARD_CONTAINS; - } - - rule->get("os", &m_os); - - std::string s; - if(rule->get("version", &s) && s.size()>1) - { - if(s.substr(0, 2)=="<=") - { - m_version_test = VERSION_LESS_EQUAL; - s = s.substr(2, s.size()); - } - else if(s[0]=='<') - { - m_version_test = VERSION_LESS; - s.erase(s.begin()); - } - else if(s[0]=='=') - { - m_version_test = VERSION_EQUAL; - s.erase(s.begin()); - } - else - { - Log::warn("Graphics", "Invalid verison '%s' found - ignored.", - s.c_str()); - } - m_driver_version = Version(s); - } // has version - - if(rule->get("disable", &s)) - m_disable_options = StringUtils::split(s, ' '); - } // Rule - // ------------------------------------------------------------------------ - bool applies(const std::string &card, const Version &version) const - { - // Test for OS - // ----------- - if(m_os.size()>0) - { -#ifdef __linux__ - if(m_os!="linux") return false; -#endif -#ifdef WIN32 - if(m_os!="windows") return false; -#endif -#ifdef __APPLE__ - if(m_os!="osx") return false; -#endif -#ifdef BSD - if(m_os!="bsd") return false; -#endif - } // m_os.size()>0 - - // Test for card - // ------------- - switch(m_card_test) - { - case CARD_IS: - if(card!=m_card_name) return false; - break; - case CARD_CONTAINS: - if(card.find(m_card_name)==std::string::npos) - return false; - break; - } // switch m_card_test - - // Test for driver version - // ----------------------- - switch(m_version_test) - { - case VERSION_IGNORE: break; // always true - case VERSION_EQUAL: if(!(version==m_driver_version)) return false; - break; - case VERSION_LESS_EQUAL: - if (!(version <= m_driver_version)) return false; - break; - case VERSION_LESS: - if (!(version < m_driver_version )) return false; - break; - } // switch m_version_test - return true; - // ----------------------------------------------- - } // applies - - // ------------------------------------------------------------------------ - /** Returns a list of options to disable. */ - const std::vector& getRestrictions() const - { - return m_disable_options; - } // getRestrictions - // ------------------------------------------------------------------------ -}; // class Rule - -// ============================================================================ -/** Very rudimentary and brute unit testing. Better than nothing :P - */ -void unitTesting() -{ - assert(Version("1") == Version("1")); - assert(Version("1") != Version("2")); - assert(Version("1") <= Version("2")); - assert(Version("1") < Version("2")); - assert(Version("1.2.3") < Version("2")); - assert(Version("1.2.3") < Version("1.3")); - assert(Version("1.2.3") < Version("1.2.4")); - assert(Version("1.2.3") < Version("1.2.3.1")); - assert(Version("1.2.3") <= Version("2")); - assert(Version("1.2.3") <= Version("1.3")); - assert(Version("1.2.3") <= Version("1.2.4")); - assert(Version("1.2.3") <= Version("1.2.3.1")); - assert(Version("1.2.3") <= Version("1.2.3")); - assert(Version("1.2.3") == Version("1.2.3")); - assert(Version("10.3") < Version("10.3.2")); - assert(Version("10.3") <= Version("10.3.2")); - assert(!(Version("10.3.2") < Version("10.3"))); - assert(!(Version("10.3.2") <= Version("10.3"))); - assert(Version("3.3 NVIDIA-10.0.19 310.90.10.05b1", - "NVIDIA GeForce GTX 680MX OpenGL Engine") - == Version("310.90.10.5") ); - - assert(Version("4.1 NVIDIA-10.0.43 310.41.05f01", - "NVIDIA GeForce GTX 780M OpenGL Engine") - == Version("310.41.05")); - - assert(Version("3.1 (Core Profile) Mesa 10.3.0", - "Mesa DRI Mobile Intel\u00ae GM45 Express Chipset") - == Version("10.3.0") ); - assert(Version("3.3 (Core Profile) Mesa 10.5.0-devel", - "Gallium 0.4 on NVC1") - == Version("10.5.0") ); - assert(Version("3.3 (Core Profile) Mesa 10.5.0-devel", - "Mesa DRI Intel(R) Sandybridge Mobile") - == Version("10.5.0") ); - assert(Version("2.1 Mesa 10.5.0-devel (git-82e919d)", - "Gallium 0.4 on i915 (chipse)") - == Version("10.5.0") ); - assert(Version("1.4 (3.0 Mesa 10.1.0)", - "Mesa DRI Intel(R) Ivybridge Mobile") - == Version("10.1.0")); - assert(Version("4.3.13283 Core Profile Context 14.501.1003.0", - "AMD Radeon R9 200 Series") - == Version("14.501.1003.0")); - assert(Version("4.0.10188 Core Profile Context", - "ATI Radeon HD 5400 Series") - == Version("4.0.10188")); - assert(Version("4.1 ATI-1.24.38", "AMD Radeon HD 6970M OpenGL Engine") - == Version("1.24.38")); - -} // unitTesting - -// ---------------------------------------------------------------------------- -/** Reads in the graphical restriction file. - * \param driver_version The GL_VERSION string (i.e. opengl and version - * number). - * \param card_name The GL_RENDERER string (i.e. graphics card). - */ -void init(const std::string &driver_version, - const std::string &card_name) -{ - for (unsigned int i = 0; i < GR_COUNT; i++) - m_all_graphics_restriction.push_back(false); - - std::string filename = - file_manager->getUserConfigFile("graphical_restrictions.xml"); - if (!file_manager->fileExists(filename)) - filename = file_manager->getAsset("graphical_restrictions.xml"); - const XMLNode *rules = file_manager->createXMLTree(filename); - if (!rules) - { - Log::warn("Graphics", "Could not find graphical_restrictions.xm"); - return; - } - if (rules->getName() != "graphical-restrictions") - { - delete rules; - Log::warn("Graphics", "'%s' did not contain graphical-restrictions tag", - filename.c_str()); - return; - } - - Version version(driver_version, card_name); - for (unsigned int i = 0; igetNumNodes(); i++) - { - const XMLNode *xml_rule = rules->getNode(i); - if (xml_rule->getName() != "card") - { - Log::warn("Graphics", "Incorrect node '%s' found in '%s' - ignored.", - xml_rule->getName().c_str(), filename.c_str()); - continue; - } - Rule rule(xml_rule); - if (rule.applies(card_name, version)) - { - std::vector restrictions = rule.getRestrictions(); - std::vector::iterator p; - for (p = restrictions.begin(); p != restrictions.end(); p++) - { - GraphicsRestrictionsType t = getTypeForName(*p); - if (t != GR_COUNT) - m_all_graphics_restriction[t] = true; - } // for p in rules - } // if m_all_rules[i].applies() - } - delete rules; -} // init - -// ---------------------------------------------------------------------------- -/** Returns if the specified graphics restriction is defined. - * \param type The graphical restriction to tes.t - */ -bool isDisabled(GraphicsRestrictionsType type) -{ - return m_all_graphics_restriction[type]; -} // isDisabled - -} // namespace HardwareStats +// +// SuperTuxKart - a fun racing game with go-kart +// Copyright (C) 2014-2015 Joerg Henrichs +// +// 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 3 +// 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. + +#include "graphics/graphics_restrictions.hpp" + +#include "io/file_manager.hpp" +#include "io/xml_node.hpp" +#include "utils/log.hpp" +#include "utils/no_copy.hpp" +#include "utils/string_utils.hpp" +#include "utils/types.hpp" + +#include + +namespace GraphicsRestrictions +{ + + class Rule; + namespace Private + { + /** Stores for each grpahics restriction if it's enabled or not. */ + std::vector m_all_graphics_restriction; + + /** The list of names used in the XML file for the graphics + * restriction types. They must be in the same order as the types. */ + + char *m_names_of_restrictions[] = { + "UniformBufferObject", + "GeometryShader4", + "DrawIndirect", + "TextureView", + "TextureStorage", + "ImageLoadStore", + "BaseInstance", + "ComputeShader", + "ShaderStorageBufferObject", + "MultiDrawIndirect", + "ShaderAtomicCounters", + "BufferStorage", + "BindlessTexture", + "TextureCompressionS3TC", + "AMDVertexShaderLayer", + "DriverRecentEnough", + "HighDefinitionTextures", + "AdvancedPipeline", + "FramebufferSRGBWorking", + "GI", + }; + } // namespace Private + using namespace Private; + + /** Returns the graphics restrictions type for a string, or + * GR_COUNT if the name is not found. */ +GraphicsRestrictionsType getTypeForName(const std::string &name) +{ + unsigned int i = 0; + while (m_names_of_restrictions[i] != NULL) + { + if (name == m_names_of_restrictions[i]) + return (GraphicsRestrictionsType)i; + i++; + } + return GR_COUNT; +} // getTypeForName + +// ============================================================================ +/** A small utility class to manage and compare version tuples. + */ +class Version +{ +private: + /** The array containing the version number. */ + std::vector m_version; + + // ---------------------------------------------------------------------------- + /** Searches for the first number in the string, then converts the rest of the + * string into a tuple. E.g. "Build 12.34.56" --> [12,34,56]. + */ + void convertVersionString(const std::string &version) + { + std::string s = version; + std::string::iterator p = s.begin(); + while( (p !=s.end()) && ((*p<'0') || (*p>'9')) ) + p++; + s.erase(s.begin(), p); + m_version = StringUtils::splitToUInt(s, '.'); + } // convertVersionString + +public: + // ------------------------------------------------------------------------ + /** Dummy default constructor. */ + Version() {} + // ------------------------------------------------------------------------ + /** Simple constructor which takes a string with "." separated numbers. + */ + Version(const std::string &version) + { + convertVersionString(version); + } // Version(std::string) + + // ------------------------------------------------------------------------ + /** Create a version instance from the driver and car name. For example for + * an Intel HD3000 card the string is "3.1.0 - Build 9.17.10.3517" it would + * create [9,17,10,3517] - i.e. it takes the vendor info into account. + * \param driver_version The GL_VERSION string (i.e. opengl and version + * number). + * \param card_name The GL_RENDERER string (i.e. graphics card). + */ + Version(const std::string &driver_version, const std::string &card_name) + { + m_version.clear(); + + // Mesa needs to be tested first, otherwise (if testing for card name + // further down) it would be detected as a non-mesa driver. + if (driver_version.find("Mesa") != std::string::npos) + { + std::string driver; + // Try to force the driver name to be in a standard way by removing + // optional strings + driver = StringUtils::replace(driver_version, "-devel", ""); + driver = StringUtils::replace(driver, "(Core Profile) ", ""); + std::vector l = StringUtils::split(driver, ' '); + if (l.size() > 2) + { + // driver can be: "1.4 (3.0 Mesa 10.1.0)" --> l[3] must be used + if (l[2] != "Mesa") + convertVersionString(l[2]); + else + convertVersionString(l[3]); + return; + } + } + + // Intel card: driver version = "3.1.0 - Build 9.17.10.3517" + // --------------------------------------------------------- + if (StringUtils::startsWith(card_name, "Intel")) + { + std::vector s = StringUtils::split(driver_version, '-'); + if (s.size() == 2) + { + convertVersionString(s[1]); + return; + } + } + + // Nvidia: driver_version = "4.3.0 NVIDIA 340.58" + // ---------------------------------------------- + if (driver_version.find("NVIDIA") != std::string::npos) + { + std::vector s = StringUtils::split(driver_version, ' '); + if (s.size() == 3) + { + convertVersionString(s[2]); + return; + } + + } + + // ATI: some drivers use e.g.: "4.1 ATI-1.24.38" + if (driver_version.find("ATI-") != std::string::npos) + { + std::string driver; + // Try to force the driver name to be in a standard way by removing + // optional strings + driver = StringUtils::replace(driver_version, "ATI-", ""); + std::vector s = StringUtils::split(driver, ' '); + convertVersionString(s[1]); + return; + } + + // AMD: driver_version = "4.3.13283 Core Profile/Debug Context 14.501.1003.0" + // ---------------------------------------------- + if (card_name.find("AMD") != std::string::npos) + { + std::vector s = StringUtils::split(driver_version, ' '); + if (s.size() == 5) + { + convertVersionString(s[4]); + return; + } + + } + + // ATI: other drivers use "4.0.10188 Core Profile Context" + if (card_name.find("ATI") != std::string::npos) + { + std::vector s = StringUtils::split(driver_version, ' '); + convertVersionString(s[0]); + return; + } + + Log::warn("Graphics", "Can not find version for '%s' '%s' - ignored.", + driver_version.c_str(), card_name.c_str()); + + } // Version + + // ------------------------------------------------------------------------ + /** Compares two version numbers. Equal returns true if the elements are + * identical. + */ + bool operator== (const Version &other) const + { + if (m_version.size() != other.m_version.size()) return false; + for(unsigned int i=0; ioperator==(other); + } // operator!= + // ------------------------------------------------------------------------ + /** If *this < other. */ + bool operator< (const Version &other) const + { + unsigned int min_n = std::min(m_version.size(), other.m_version.size()); + for (unsigned int i = 0; i other.m_version[i]) return false; + if (m_version[i] < other.m_version[i]) return true; + } + if (m_version.size() >= other.m_version.size()) + return false; + else + return true; + } // operator< + // ------------------------------------------------------------------------ + /** If *this <= other. */ + bool operator<= (const Version &other) const + { + unsigned int min_n = std::min(m_version.size(), other.m_version.size()); + for (unsigned int i = 0; i other.m_version[i]) return false; + if (m_version[i] < other.m_version[i]) return true; + } + if (m_version.size() > other.m_version.size()) + return false; + else + return true; + } // operator<= + +}; // class Version +// ============================================================================ +class Rule : public NoCopy +{ +private: + /** Operators to test for a card. */ + enum {CARD_IS, CARD_CONTAINS} m_card_test; + + /** Name of the card for which this rule applies. */ + std::string m_card_name; + + /** Operators to test version numbers with. */ + enum {VERSION_IGNORE, VERSION_EQUAL, VERSION_LESS, + VERSION_LESS_EQUAL} m_version_test; + + /** Driver version for which this rule applies. */ + Version m_driver_version; + + /** For which OS this rule applies. */ + std::string m_os; + + /** Which options to disable. */ + std::vector m_disable_options; +public: + Rule(const XMLNode *rule) + { + m_version_test = VERSION_IGNORE; + if(rule->get("is", &m_card_name)) + { + m_card_test = CARD_IS; + } + else if(rule->get("contains", &m_card_name)) + { + m_card_test = CARD_CONTAINS; + } + + rule->get("os", &m_os); + + std::string s; + if(rule->get("version", &s) && s.size()>1) + { + if(s.substr(0, 2)=="<=") + { + m_version_test = VERSION_LESS_EQUAL; + s = s.substr(2, s.size()); + } + else if(s[0]=='<') + { + m_version_test = VERSION_LESS; + s.erase(s.begin()); + } + else if(s[0]=='=') + { + m_version_test = VERSION_EQUAL; + s.erase(s.begin()); + } + else + { + Log::warn("Graphics", "Invalid verison '%s' found - ignored.", + s.c_str()); + } + m_driver_version = Version(s); + } // has version + + if(rule->get("disable", &s)) + m_disable_options = StringUtils::split(s, ' '); + } // Rule + // ------------------------------------------------------------------------ + bool applies(const std::string &card, const Version &version) const + { + // Test for OS + // ----------- + if(m_os.size()>0) + { +#ifdef __linux__ + if(m_os!="linux") return false; +#endif +#ifdef WIN32 + if(m_os!="windows") return false; +#endif +#ifdef __APPLE__ + if(m_os!="osx") return false; +#endif +#ifdef BSD + if(m_os!="bsd") return false; +#endif + } // m_os.size()>0 + + // Test for card + // ------------- + switch(m_card_test) + { + case CARD_IS: + if(card!=m_card_name) return false; + break; + case CARD_CONTAINS: + if(card.find(m_card_name)==std::string::npos) + return false; + break; + } // switch m_card_test + + // Test for driver version + // ----------------------- + switch(m_version_test) + { + case VERSION_IGNORE: break; // always true + case VERSION_EQUAL: if(!(version==m_driver_version)) return false; + break; + case VERSION_LESS_EQUAL: + if (!(version <= m_driver_version)) return false; + break; + case VERSION_LESS: + if (!(version < m_driver_version )) return false; + break; + } // switch m_version_test + return true; + // ----------------------------------------------- + } // applies + + // ------------------------------------------------------------------------ + /** Returns a list of options to disable. */ + const std::vector& getRestrictions() const + { + return m_disable_options; + } // getRestrictions + // ------------------------------------------------------------------------ +}; // class Rule + +// ============================================================================ +/** Very rudimentary and brute unit testing. Better than nothing :P + */ +void unitTesting() +{ + assert(Version("1") == Version("1")); + assert(Version("1") != Version("2")); + assert(Version("1") <= Version("2")); + assert(Version("1") < Version("2")); + assert(Version("1.2.3") < Version("2")); + assert(Version("1.2.3") < Version("1.3")); + assert(Version("1.2.3") < Version("1.2.4")); + assert(Version("1.2.3") < Version("1.2.3.1")); + assert(Version("1.2.3") <= Version("2")); + assert(Version("1.2.3") <= Version("1.3")); + assert(Version("1.2.3") <= Version("1.2.4")); + assert(Version("1.2.3") <= Version("1.2.3.1")); + assert(Version("1.2.3") <= Version("1.2.3")); + assert(Version("1.2.3") == Version("1.2.3")); + assert(Version("10.3") < Version("10.3.2")); + assert(Version("10.3") <= Version("10.3.2")); + assert(!(Version("10.3.2") < Version("10.3"))); + assert(!(Version("10.3.2") <= Version("10.3"))); + assert(Version("3.3 NVIDIA-10.0.19 310.90.10.05b1", + "NVIDIA GeForce GTX 680MX OpenGL Engine") + == Version("310.90.10.5") ); + + assert(Version("4.1 NVIDIA-10.0.43 310.41.05f01", + "NVIDIA GeForce GTX 780M OpenGL Engine") + == Version("310.41.05")); + + assert(Version("3.1 (Core Profile) Mesa 10.3.0", + "Mesa DRI Mobile Intel\u00ae GM45 Express Chipset") + == Version("10.3.0") ); + assert(Version("3.3 (Core Profile) Mesa 10.5.0-devel", + "Gallium 0.4 on NVC1") + == Version("10.5.0") ); + assert(Version("3.3 (Core Profile) Mesa 10.5.0-devel", + "Mesa DRI Intel(R) Sandybridge Mobile") + == Version("10.5.0") ); + assert(Version("2.1 Mesa 10.5.0-devel (git-82e919d)", + "Gallium 0.4 on i915 (chipse)") + == Version("10.5.0") ); + assert(Version("1.4 (3.0 Mesa 10.1.0)", + "Mesa DRI Intel(R) Ivybridge Mobile") + == Version("10.1.0")); + assert(Version("4.3.13283 Core Profile Context 14.501.1003.0", + "AMD Radeon R9 200 Series") + == Version("14.501.1003.0")); + assert(Version("4.0.10188 Core Profile Context", + "ATI Radeon HD 5400 Series") + == Version("4.0.10188")); + assert(Version("4.1 ATI-1.24.38", "AMD Radeon HD 6970M OpenGL Engine") + == Version("1.24.38")); + +} // unitTesting + +// ---------------------------------------------------------------------------- +/** Reads in the graphical restriction file. + * \param driver_version The GL_VERSION string (i.e. opengl and version + * number). + * \param card_name The GL_RENDERER string (i.e. graphics card). + */ +void init(const std::string &driver_version, + const std::string &card_name) +{ + for (unsigned int i = 0; i < GR_COUNT; i++) + m_all_graphics_restriction.push_back(false); + + std::string filename = + file_manager->getUserConfigFile("graphical_restrictions.xml"); + if (!file_manager->fileExists(filename)) + filename = file_manager->getAsset("graphical_restrictions.xml"); + const XMLNode *rules = file_manager->createXMLTree(filename); + if (!rules) + { + Log::warn("Graphics", "Could not find graphical_restrictions.xm"); + return; + } + if (rules->getName() != "graphical-restrictions") + { + delete rules; + Log::warn("Graphics", "'%s' did not contain graphical-restrictions tag", + filename.c_str()); + return; + } + + Version version(driver_version, card_name); + for (unsigned int i = 0; igetNumNodes(); i++) + { + const XMLNode *xml_rule = rules->getNode(i); + if (xml_rule->getName() != "card") + { + Log::warn("Graphics", "Incorrect node '%s' found in '%s' - ignored.", + xml_rule->getName().c_str(), filename.c_str()); + continue; + } + Rule rule(xml_rule); + if (rule.applies(card_name, version)) + { + std::vector restrictions = rule.getRestrictions(); + std::vector::iterator p; + for (p = restrictions.begin(); p != restrictions.end(); p++) + { + GraphicsRestrictionsType t = getTypeForName(*p); + if (t != GR_COUNT) + m_all_graphics_restriction[t] = true; + } // for p in rules + } // if m_all_rules[i].applies() + } + delete rules; +} // init + +// ---------------------------------------------------------------------------- +/** Returns if the specified graphics restriction is defined. + * \param type The graphical restriction to tes.t + */ +bool isDisabled(GraphicsRestrictionsType type) +{ + return m_all_graphics_restriction[type]; +} // isDisabled + +} // namespace HardwareStats diff --git a/src/graphics/graphics_restrictions.hpp b/src/graphics/graphics_restrictions.hpp index 908a0e03f..ab44ce92f 100644 --- a/src/graphics/graphics_restrictions.hpp +++ b/src/graphics/graphics_restrictions.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Joerg Henrichs +// Copyright (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/hit_effect.hpp b/src/graphics/hit_effect.hpp index e2ec5966a..cf07a7bb5 100644 --- a/src/graphics/hit_effect.hpp +++ b/src/graphics/hit_effect.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/hit_sfx.cpp b/src/graphics/hit_sfx.cpp index 1a1f45c58..5fe15a6e1 100644 --- a/src/graphics/hit_sfx.cpp +++ b/src/graphics/hit_sfx.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/hit_sfx.hpp b/src/graphics/hit_sfx.hpp index d7f7e2e5a..3386777a8 100644 --- a/src/graphics/hit_sfx.hpp +++ b/src/graphics/hit_sfx.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 3ac26bdd5..92608912a 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/irr_driver.hpp b/src/graphics/irr_driver.hpp index 320cb106d..cc28d14ee 100644 --- a/src/graphics/irr_driver.hpp +++ b/src/graphics/irr_driver.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/large_mesh_buffer.hpp b/src/graphics/large_mesh_buffer.hpp index 034ef7b4e..0350b6c17 100644 --- a/src/graphics/large_mesh_buffer.hpp +++ b/src/graphics/large_mesh_buffer.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002-2012 Nikolaus Gebhardt +// Copyright (C) 2002-2015 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h diff --git a/src/graphics/light.cpp b/src/graphics/light.cpp index 068809995..f3e7f1d5a 100644 --- a/src/graphics/light.cpp +++ b/src/graphics/light.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lauri Kasanen +// Copyright (C) 2013-2015 Lauri Kasanen // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/light.hpp b/src/graphics/light.hpp index c3a830e30..c27cdff57 100644 --- a/src/graphics/light.hpp +++ b/src/graphics/light.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lauri Kasanen +// Copyright (C) 2013-2015 Lauri Kasanen // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/lod_node.cpp b/src/graphics/lod_node.cpp index 8f94368c2..03be0ef1b 100644 --- a/src/graphics/lod_node.cpp +++ b/src/graphics/lod_node.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Marianne Gagnon +// Copyright (C) 2011-2015 Marianne Gagnon // based on code Copyright 2002-2010 Nikolaus Gebhardt // // This program is free software; you can redistribute it and/or diff --git a/src/graphics/lod_node.hpp b/src/graphics/lod_node.hpp index 8c349eb67..a9297fc4f 100644 --- a/src/graphics/lod_node.hpp +++ b/src/graphics/lod_node.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Marianne Gagnon +// Copyright (C) 2011-2015 Marianne Gagnon // based on code Copyright 2002-2010 Nikolaus Gebhardt // // This program is free software; you can redistribute it and/or diff --git a/src/graphics/material.cpp b/src/graphics/material.cpp index f6fbc3d00..bd0fcf3ca 100644 --- a/src/graphics/material.cpp +++ b/src/graphics/material.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004 Steve Baker -// Copyright (C) 2010-2013 Steve Baker, Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2010-2015 Steve Baker, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/material.hpp b/src/graphics/material.hpp index bc7d08df5..692adfb57 100644 --- a/src/graphics/material.hpp +++ b/src/graphics/material.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004 Steve Baker -// Copyright (C) 2010-2013 Steve Baker, Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2010-2015 Steve Baker, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/material_manager.cpp b/src/graphics/material_manager.cpp index c84a83e0a..7d63ce869 100644 --- a/src/graphics/material_manager.cpp +++ b/src/graphics/material_manager.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2010-2013 Steve Baker, Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2010-2015 Steve Baker, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/material_manager.hpp b/src/graphics/material_manager.hpp index f49af51aa..d791c9dcb 100644 --- a/src/graphics/material_manager.hpp +++ b/src/graphics/material_manager.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2010-2013 Steve Baker, Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2010-2015 Steve Baker, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/mesh_tools.cpp b/src/graphics/mesh_tools.cpp index 06ac222ba..0375677a5 100644 --- a/src/graphics/mesh_tools.cpp +++ b/src/graphics/mesh_tools.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/mesh_tools.hpp b/src/graphics/mesh_tools.hpp index 84bfa5555..e1e28076e 100644 --- a/src/graphics/mesh_tools.hpp +++ b/src/graphics/mesh_tools.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/moving_texture.cpp b/src/graphics/moving_texture.cpp index bb94203c6..71e1cdd7b 100644 --- a/src/graphics/moving_texture.cpp +++ b/src/graphics/moving_texture.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/moving_texture.hpp b/src/graphics/moving_texture.hpp index dbce82e90..b3f7a15be 100644 --- a/src/graphics/moving_texture.hpp +++ b/src/graphics/moving_texture.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/particle_emitter.cpp b/src/graphics/particle_emitter.cpp index 4a5e9f126..ecad6ece1 100644 --- a/src/graphics/particle_emitter.cpp +++ b/src/graphics/particle_emitter.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2011-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/particle_emitter.hpp b/src/graphics/particle_emitter.hpp index 4e360d5c9..c4842660d 100644 --- a/src/graphics/particle_emitter.hpp +++ b/src/graphics/particle_emitter.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2011-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/particle_kind.cpp b/src/graphics/particle_kind.cpp index a6f90301d..0833a55c8 100644 --- a/src/graphics/particle_kind.cpp +++ b/src/graphics/particle_kind.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2011-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/particle_kind.hpp b/src/graphics/particle_kind.hpp index 796d1b885..b708e1c8e 100644 --- a/src/graphics/particle_kind.hpp +++ b/src/graphics/particle_kind.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2011-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/particle_kind_manager.cpp b/src/graphics/particle_kind_manager.cpp index dfc6ccf30..e6406c935 100644 --- a/src/graphics/particle_kind_manager.cpp +++ b/src/graphics/particle_kind_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2011-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/particle_kind_manager.hpp b/src/graphics/particle_kind_manager.hpp index ef7b7a2f5..55f55eac2 100644 --- a/src/graphics/particle_kind_manager.hpp +++ b/src/graphics/particle_kind_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Marianne Gagnon +// Copyright (C) 2011-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/per_camera_node.cpp b/src/graphics/per_camera_node.cpp index 6bccd7f41..ae8d71e3c 100644 --- a/src/graphics/per_camera_node.cpp +++ b/src/graphics/per_camera_node.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Marianne Gagnon +// Copyright (C) 2011-2015 Marianne Gagnon // based on code Copyright 2002-2010 Nikolaus Gebhardt // // This program is free software; you can redistribute it and/or diff --git a/src/graphics/per_camera_node.hpp b/src/graphics/per_camera_node.hpp index 1a7542af6..a0eff639b 100644 --- a/src/graphics/per_camera_node.hpp +++ b/src/graphics/per_camera_node.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Marianne Gagnon +// Copyright (C) 2011-2015 Marianne Gagnon // based on code Copyright 2002-2010 Nikolaus Gebhardt // // This program is free software; you can redistribute it and/or diff --git a/src/graphics/post_processing.cpp b/src/graphics/post_processing.cpp index 3ef55f656..ca27d13e7 100644 --- a/src/graphics/post_processing.cpp +++ b/src/graphics/post_processing.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 the SuperTuxKart-Team +// Copyright (C) 2011-2015 the SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/post_processing.hpp b/src/graphics/post_processing.hpp index 8933ae552..c5df89ff9 100644 --- a/src/graphics/post_processing.hpp +++ b/src/graphics/post_processing.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 the SuperTuxKart-Team +// Copyright (C) 2011-2015 the SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/referee.cpp b/src/graphics/referee.cpp index d4c0d85ff..4b60ddf53 100644 --- a/src/graphics/referee.cpp +++ b/src/graphics/referee.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/referee.hpp b/src/graphics/referee.hpp index 754d5ef86..c5348e5f1 100644 --- a/src/graphics/referee.hpp +++ b/src/graphics/referee.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/render.cpp b/src/graphics/render.cpp index c01fb6bd3..7f81098c5 100644 --- a/src/graphics/render.cpp +++ b/src/graphics/render.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/rtts.cpp b/src/graphics/rtts.cpp index 4af6d1d3c..7f0cf23c2 100644 --- a/src/graphics/rtts.cpp +++ b/src/graphics/rtts.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lauri Kasanen +// Copyright (C) 2013-2015 Lauri Kasanen // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/shaders_util.hpp b/src/graphics/shaders_util.hpp index 31339b4df..533ac1626 100644 --- a/src/graphics/shaders_util.hpp +++ b/src/graphics/shaders_util.hpp @@ -617,4 +617,4 @@ public: SetTextureHandles_impl<0>(ids...); } }; -#endif \ No newline at end of file +#endif diff --git a/src/graphics/show_curve.cpp b/src/graphics/show_curve.cpp index 92b2f27a6..0d1860528 100644 --- a/src/graphics/show_curve.cpp +++ b/src/graphics/show_curve.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/show_curve.hpp b/src/graphics/show_curve.hpp index d3b63bf70..1c05f0e09 100644 --- a/src/graphics/show_curve.hpp +++ b/src/graphics/show_curve.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/skid_marks.cpp b/src/graphics/skid_marks.cpp index d6c7d602d..228ca3ad9 100644 --- a/src/graphics/skid_marks.cpp +++ b/src/graphics/skid_marks.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2013-2013 Joerg Henrichs +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2013-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/skid_marks.hpp b/src/graphics/skid_marks.hpp index 3f94e720d..0f92b491c 100644 --- a/src/graphics/skid_marks.hpp +++ b/src/graphics/skid_marks.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2013-2013 Joerg Henrichs +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2013-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/slip_stream.cpp b/src/graphics/slip_stream.cpp index 8c0b66022..57a9c61f3 100644 --- a/src/graphics/slip_stream.cpp +++ b/src/graphics/slip_stream.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/slip_stream.hpp b/src/graphics/slip_stream.hpp index a51238057..0aa94a16a 100644 --- a/src/graphics/slip_stream.hpp +++ b/src/graphics/slip_stream.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/stars.cpp b/src/graphics/stars.cpp index eabe7944d..e28095e4b 100644 --- a/src/graphics/stars.cpp +++ b/src/graphics/stars.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2012-2013 SuperTuxKart-Team +// Copyright (C) 2012-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/stars.hpp b/src/graphics/stars.hpp index a100ee518..89cd33a2f 100644 --- a/src/graphics/stars.hpp +++ b/src/graphics/stars.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2012-2013 SuperTuxKart-Team +// Copyright (C) 2012-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/stkscenemanager.cpp b/src/graphics/stkscenemanager.cpp index cefb212f6..0b76b8d6e 100644 --- a/src/graphics/stkscenemanager.cpp +++ b/src/graphics/stkscenemanager.cpp @@ -854,4 +854,4 @@ PROFILER_POP_CPU_MARKER(); if (CVS->supportsAsyncInstanceUpload()) glMemoryBarrier(GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT); -} \ No newline at end of file +} diff --git a/src/graphics/sun.cpp b/src/graphics/sun.cpp index 2e257c71b..9481d760d 100644 --- a/src/graphics/sun.cpp +++ b/src/graphics/sun.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lauri Kasanen +// Copyright (C) 2013-2015 Lauri Kasanen // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/sun.hpp b/src/graphics/sun.hpp index bac4a570f..245450e46 100644 --- a/src/graphics/sun.hpp +++ b/src/graphics/sun.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lauri Kasanen +// Copyright (C) 2013-2015 Lauri Kasanen // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/texturemanager.cpp b/src/graphics/texturemanager.cpp index 4afe417d0..6a567f9f6 100644 --- a/src/graphics/texturemanager.cpp +++ b/src/graphics/texturemanager.cpp @@ -213,4 +213,4 @@ video::ITexture* getUnicolorTexture(const video::SColor &c) img->drop(); return tex; } -} \ No newline at end of file +} diff --git a/src/graphics/texturemanager.hpp b/src/graphics/texturemanager.hpp index f0d314fbb..afa82a4e5 100644 --- a/src/graphics/texturemanager.hpp +++ b/src/graphics/texturemanager.hpp @@ -30,4 +30,4 @@ void compressTexture(irr::video::ITexture *tex, bool srgb, bool premul_alpha = f bool loadCompressedTexture(const std::string& compressed_tex); void saveCompressedTexture(const std::string& compressed_tex); -#endif \ No newline at end of file +#endif diff --git a/src/graphics/vaomanager.hpp b/src/graphics/vaomanager.hpp index 2008f315e..e82235841 100644 --- a/src/graphics/vaomanager.hpp +++ b/src/graphics/vaomanager.hpp @@ -185,4 +185,4 @@ public: ~VAOManager(); }; -#endif \ No newline at end of file +#endif diff --git a/src/graphics/water.cpp b/src/graphics/water.cpp index 3ac11d981..03f23bb35 100644 --- a/src/graphics/water.cpp +++ b/src/graphics/water.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lauri Kasanen +// Copyright (C) 2013-2015 Lauri Kasanen // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/water.hpp b/src/graphics/water.hpp index de378dab8..fe6f60b59 100644 --- a/src/graphics/water.hpp +++ b/src/graphics/water.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lauri Kasanen +// Copyright (C) 2013-2015 Lauri Kasanen // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/weather.cpp b/src/graphics/weather.cpp index f0f1310b2..539b2bb32 100644 --- a/src/graphics/weather.cpp +++ b/src/graphics/weather.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2011-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/graphics/weather.hpp b/src/graphics/weather.hpp index d6fb1b135..139e9bbf5 100644 --- a/src/graphics/weather.hpp +++ b/src/graphics/weather.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2011-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/CGUISpriteBank.cpp b/src/guiengine/CGUISpriteBank.cpp index d255309e5..45b30070f 100644 --- a/src/guiengine/CGUISpriteBank.cpp +++ b/src/guiengine/CGUISpriteBank.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002-2013 Nikolaus Gebhardt, modified by Marianne Gagnon +// Copyright (C) 2002-2015 Nikolaus Gebhardt, modified by Marianne Gagnon // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h diff --git a/src/guiengine/CGUISpriteBank.hpp b/src/guiengine/CGUISpriteBank.hpp index 28a87fc3d..82ec6011e 100644 --- a/src/guiengine/CGUISpriteBank.hpp +++ b/src/guiengine/CGUISpriteBank.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002-2009 Nikolaus Gebhardt, modified by Marianne Gagnon +// Copyright (C) 2002-2015 Nikolaus Gebhardt, modified by Marianne Gagnon // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h diff --git a/src/guiengine/abstract_state_manager.cpp b/src/guiengine/abstract_state_manager.cpp index ae9f1a2ed..52cd17ec6 100644 --- a/src/guiengine/abstract_state_manager.cpp +++ b/src/guiengine/abstract_state_manager.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/abstract_state_manager.hpp b/src/guiengine/abstract_state_manager.hpp index 5198eb30d..cd5d4d5e4 100644 --- a/src/guiengine/abstract_state_manager.hpp +++ b/src/guiengine/abstract_state_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/abstract_top_level_container.cpp b/src/guiengine/abstract_top_level_container.cpp index 332a45b40..cd504059f 100644 --- a/src/guiengine/abstract_top_level_container.cpp +++ b/src/guiengine/abstract_top_level_container.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/abstract_top_level_container.hpp b/src/guiengine/abstract_top_level_container.hpp index 15a278528..29bd8dea0 100644 --- a/src/guiengine/abstract_top_level_container.hpp +++ b/src/guiengine/abstract_top_level_container.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/dialog_queue.cpp b/src/guiengine/dialog_queue.cpp index 0a390f224..29f57174a 100644 --- a/src/guiengine/dialog_queue.cpp +++ b/src/guiengine/dialog_queue.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/dialog_queue.hpp b/src/guiengine/dialog_queue.hpp index 1a8a51271..0ff1553bc 100644 --- a/src/guiengine/dialog_queue.hpp +++ b/src/guiengine/dialog_queue.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/engine.cpp b/src/guiengine/engine.cpp index 37406b954..659afa306 100644 --- a/src/guiengine/engine.cpp +++ b/src/guiengine/engine.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/engine.hpp b/src/guiengine/engine.hpp index a1c869bd3..daca2333e 100644 --- a/src/guiengine/engine.hpp +++ b/src/guiengine/engine.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/event_handler.cpp b/src/guiengine/event_handler.cpp index 17125c82e..58b316b7b 100644 --- a/src/guiengine/event_handler.cpp +++ b/src/guiengine/event_handler.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/event_handler.hpp b/src/guiengine/event_handler.hpp index be31df84f..221701897 100644 --- a/src/guiengine/event_handler.hpp +++ b/src/guiengine/event_handler.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/layout_manager.cpp b/src/guiengine/layout_manager.cpp index 458c17b7d..c91ec10be 100644 --- a/src/guiengine/layout_manager.cpp +++ b/src/guiengine/layout_manager.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/layout_manager.hpp b/src/guiengine/layout_manager.hpp index 4d338e864..d6b297ef1 100644 --- a/src/guiengine/layout_manager.hpp +++ b/src/guiengine/layout_manager.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/message_queue.cpp b/src/guiengine/message_queue.cpp old mode 100755 new mode 100644 index 10554595e..ebe684fda --- a/src/guiengine/message_queue.cpp +++ b/src/guiengine/message_queue.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Joerg Henrichs +// Copyright (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/message_queue.hpp b/src/guiengine/message_queue.hpp index 8a06d41f0..3abeb5874 100644 --- a/src/guiengine/message_queue.hpp +++ b/src/guiengine/message_queue.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Joerg Henrichs +// Copyright (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/modaldialog.cpp b/src/guiengine/modaldialog.cpp index 544f4c012..970a49843 100644 --- a/src/guiengine/modaldialog.cpp +++ b/src/guiengine/modaldialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/modaldialog.hpp b/src/guiengine/modaldialog.hpp index 4ffddfbb7..37519b1db 100644 --- a/src/guiengine/modaldialog.hpp +++ b/src/guiengine/modaldialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/scalable_font.cpp b/src/guiengine/scalable_font.cpp index 381abdb06..f3a525a44 100644 --- a/src/guiengine/scalable_font.cpp +++ b/src/guiengine/scalable_font.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002-2013 Nikolaus Gebhardt +// Copyright (C) 2002-2015 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h @@ -736,13 +736,13 @@ void ScalableFont::lazyLoadTexture(int texID) // Font textures can not be resized (besides the impact on quality in // this case, the indices in the xml files would become wrong). - core::dimension2du old_max_size = Driver->getDriverAttributes() - .getAttributeAsDimension2d("MAX_TEXTURE_SIZE"); - Driver->getNonConstDriverAttributes().setAttribute("MAX_TEXTURE_SIZE", - core::dimension2du(0, 0)); + core::dimension2du old_max_size = Driver->getDriverAttributes() + .getAttributeAsDimension2d("MAX_TEXTURE_SIZE"); + Driver->getNonConstDriverAttributes().setAttribute("MAX_TEXTURE_SIZE", + core::dimension2du(0, 0)); SpriteBank->setTexture(texID, Driver->getTexture( m_texture_files[texID].m_file_name )); - Driver->getNonConstDriverAttributes().setAttribute("MAX_TEXTURE_SIZE", old_max_size); + Driver->getNonConstDriverAttributes().setAttribute("MAX_TEXTURE_SIZE", old_max_size); // set previous mip-map+filter state //Driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, mipmap); diff --git a/src/guiengine/scalable_font.hpp b/src/guiengine/scalable_font.hpp index 612536a99..034c1b6db 100644 --- a/src/guiengine/scalable_font.hpp +++ b/src/guiengine/scalable_font.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002-2013 Nikolaus Gebhardt +// Copyright (C) 2002-2015 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h diff --git a/src/guiengine/screen.cpp b/src/guiengine/screen.cpp index 7f4064b84..0f64a42cf 100644 --- a/src/guiengine/screen.cpp +++ b/src/guiengine/screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/screen.hpp b/src/guiengine/screen.hpp index 25963496a..3df7fc712 100644 --- a/src/guiengine/screen.hpp +++ b/src/guiengine/screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/screen_loader.cpp b/src/guiengine/screen_loader.cpp index 4126806cc..eab6163eb 100644 --- a/src/guiengine/screen_loader.cpp +++ b/src/guiengine/screen_loader.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/skin.cpp b/src/guiengine/skin.cpp index 71a99f5a5..fd75fca0d 100644 --- a/src/guiengine/skin.cpp +++ b/src/guiengine/skin.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/skin.hpp b/src/guiengine/skin.hpp index efa26f23d..208a2ad21 100644 --- a/src/guiengine/skin.hpp +++ b/src/guiengine/skin.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widget.cpp b/src/guiengine/widget.cpp index 4a92b30b3..932a3f5f7 100644 --- a/src/guiengine/widget.cpp +++ b/src/guiengine/widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widget.hpp b/src/guiengine/widget.hpp index 95cc43905..ca3ca8a2c 100644 --- a/src/guiengine/widget.hpp +++ b/src/guiengine/widget.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets.hpp b/src/guiengine/widgets.hpp index 749cf2f0c..cbabe95a6 100644 --- a/src/guiengine/widgets.hpp +++ b/src/guiengine/widgets.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/CGUIEditBox.cpp b/src/guiengine/widgets/CGUIEditBox.cpp index 9bac16163..c9044fe40 100644 --- a/src/guiengine/widgets/CGUIEditBox.cpp +++ b/src/guiengine/widgets/CGUIEditBox.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002-2013 Nikolaus Gebhardt +// Copyright (C) 2002-2015 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h diff --git a/src/guiengine/widgets/CGUIEditBox.hpp b/src/guiengine/widgets/CGUIEditBox.hpp index d9555bbf3..790e440ff 100644 --- a/src/guiengine/widgets/CGUIEditBox.hpp +++ b/src/guiengine/widgets/CGUIEditBox.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002-2011 Nikolaus Gebhardt +// Copyright (C) 2002-2015 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h diff --git a/src/guiengine/widgets/CGUISTKListBox.cpp b/src/guiengine/widgets/CGUISTKListBox.cpp index 0ce2cb155..cc1de8b5a 100644 --- a/src/guiengine/widgets/CGUISTKListBox.cpp +++ b/src/guiengine/widgets/CGUISTKListBox.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002-2012 Nikolaus Gebhardt +// Copyright (C) 2002-2015 Nikolaus Gebhardt // 2013 Glenn De Jonghe // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h diff --git a/src/guiengine/widgets/CGUISTKListBox.hpp b/src/guiengine/widgets/CGUISTKListBox.hpp index 7b2c2a72a..1974c0a87 100644 --- a/src/guiengine/widgets/CGUISTKListBox.hpp +++ b/src/guiengine/widgets/CGUISTKListBox.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2002-2012 Nikolaus Gebhardt +// Copyright (C) 2002-2015 Nikolaus Gebhardt // 2013 Glenn De Jonghe // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h diff --git a/src/guiengine/widgets/bubble_widget.cpp b/src/guiengine/widgets/bubble_widget.cpp index 82fd4fbbb..3536fbecd 100644 --- a/src/guiengine/widgets/bubble_widget.cpp +++ b/src/guiengine/widgets/bubble_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/bubble_widget.hpp b/src/guiengine/widgets/bubble_widget.hpp index ee3f1e92f..82bbdceaa 100644 --- a/src/guiengine/widgets/bubble_widget.hpp +++ b/src/guiengine/widgets/bubble_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/button_widget.cpp b/src/guiengine/widgets/button_widget.cpp index 01016b2be..92c5be297 100644 --- a/src/guiengine/widgets/button_widget.cpp +++ b/src/guiengine/widgets/button_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/button_widget.hpp b/src/guiengine/widgets/button_widget.hpp index 95bc227b0..5f7330e63 100644 --- a/src/guiengine/widgets/button_widget.hpp +++ b/src/guiengine/widgets/button_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/check_box_widget.cpp b/src/guiengine/widgets/check_box_widget.cpp index 35ee7308f..cd0307f3d 100644 --- a/src/guiengine/widgets/check_box_widget.cpp +++ b/src/guiengine/widgets/check_box_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/check_box_widget.hpp b/src/guiengine/widgets/check_box_widget.hpp index a5bf1d529..efbc137e5 100644 --- a/src/guiengine/widgets/check_box_widget.hpp +++ b/src/guiengine/widgets/check_box_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/dynamic_ribbon_widget.cpp b/src/guiengine/widgets/dynamic_ribbon_widget.cpp index f233a5d46..3149e1138 100644 --- a/src/guiengine/widgets/dynamic_ribbon_widget.cpp +++ b/src/guiengine/widgets/dynamic_ribbon_widget.cpp @@ -1,5 +1,5 @@ // Supertuxkart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/dynamic_ribbon_widget.hpp b/src/guiengine/widgets/dynamic_ribbon_widget.hpp index 520bde76e..8f1ec47a3 100644 --- a/src/guiengine/widgets/dynamic_ribbon_widget.hpp +++ b/src/guiengine/widgets/dynamic_ribbon_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/icon_button_widget.cpp b/src/guiengine/widgets/icon_button_widget.cpp index 9f155a3f7..d15110f06 100644 --- a/src/guiengine/widgets/icon_button_widget.cpp +++ b/src/guiengine/widgets/icon_button_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/icon_button_widget.hpp b/src/guiengine/widgets/icon_button_widget.hpp index 9c8221a87..b673e8f95 100644 --- a/src/guiengine/widgets/icon_button_widget.hpp +++ b/src/guiengine/widgets/icon_button_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/kart_stats_widget.cpp b/src/guiengine/widgets/kart_stats_widget.cpp index 3fc6884ac..6de73a0d1 100644 --- a/src/guiengine/widgets/kart_stats_widget.cpp +++ b/src/guiengine/widgets/kart_stats_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/kart_stats_widget.hpp b/src/guiengine/widgets/kart_stats_widget.hpp index 8091c1a11..e78aa4555 100644 --- a/src/guiengine/widgets/kart_stats_widget.hpp +++ b/src/guiengine/widgets/kart_stats_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/label_widget.cpp b/src/guiengine/widgets/label_widget.cpp index c27ec1d22..f27c8e39b 100644 --- a/src/guiengine/widgets/label_widget.cpp +++ b/src/guiengine/widgets/label_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/label_widget.hpp b/src/guiengine/widgets/label_widget.hpp index 34e4cf8b4..b8d914945 100644 --- a/src/guiengine/widgets/label_widget.hpp +++ b/src/guiengine/widgets/label_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/list_widget.cpp b/src/guiengine/widgets/list_widget.cpp index 24ffc1cdd..9ac3b5b51 100644 --- a/src/guiengine/widgets/list_widget.cpp +++ b/src/guiengine/widgets/list_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/list_widget.hpp b/src/guiengine/widgets/list_widget.hpp index 4bbfe5c0c..bdbad90ee 100644 --- a/src/guiengine/widgets/list_widget.hpp +++ b/src/guiengine/widgets/list_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/model_view_widget.cpp b/src/guiengine/widgets/model_view_widget.cpp index 3493ad9f9..d6ade0fde 100644 --- a/src/guiengine/widgets/model_view_widget.cpp +++ b/src/guiengine/widgets/model_view_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/model_view_widget.hpp b/src/guiengine/widgets/model_view_widget.hpp index 2752905d4..3090a1688 100644 --- a/src/guiengine/widgets/model_view_widget.hpp +++ b/src/guiengine/widgets/model_view_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/player_kart_widget.cpp b/src/guiengine/widgets/player_kart_widget.cpp index e9218761f..d9d0a6115 100644 --- a/src/guiengine/widgets/player_kart_widget.cpp +++ b/src/guiengine/widgets/player_kart_widget.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/player_kart_widget.hpp b/src/guiengine/widgets/player_kart_widget.hpp index da86bc9a8..47baecb65 100644 --- a/src/guiengine/widgets/player_kart_widget.hpp +++ b/src/guiengine/widgets/player_kart_widget.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/player_name_spinner.cpp b/src/guiengine/widgets/player_name_spinner.cpp index 9361af7e8..93fbbf26f 100644 --- a/src/guiengine/widgets/player_name_spinner.cpp +++ b/src/guiengine/widgets/player_name_spinner.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/player_name_spinner.hpp b/src/guiengine/widgets/player_name_spinner.hpp index 3cdc90df6..9b32c2e01 100644 --- a/src/guiengine/widgets/player_name_spinner.hpp +++ b/src/guiengine/widgets/player_name_spinner.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/progress_bar_widget.cpp b/src/guiengine/widgets/progress_bar_widget.cpp index 2acd17d6e..0b08d7b2b 100644 --- a/src/guiengine/widgets/progress_bar_widget.cpp +++ b/src/guiengine/widgets/progress_bar_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/progress_bar_widget.hpp b/src/guiengine/widgets/progress_bar_widget.hpp index 142f09fb3..9bab6789a 100644 --- a/src/guiengine/widgets/progress_bar_widget.hpp +++ b/src/guiengine/widgets/progress_bar_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/rating_bar_widget.cpp b/src/guiengine/widgets/rating_bar_widget.cpp index 2a58cccdd..1625b852b 100644 --- a/src/guiengine/widgets/rating_bar_widget.cpp +++ b/src/guiengine/widgets/rating_bar_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/rating_bar_widget.hpp b/src/guiengine/widgets/rating_bar_widget.hpp index 0a14c5d26..592f5bfd8 100644 --- a/src/guiengine/widgets/rating_bar_widget.hpp +++ b/src/guiengine/widgets/rating_bar_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // 2013 Glenn De Jonghe // // This program is free software; you can redistribute it and/or diff --git a/src/guiengine/widgets/ribbon_widget.cpp b/src/guiengine/widgets/ribbon_widget.cpp index fe7397682..8177826df 100644 --- a/src/guiengine/widgets/ribbon_widget.cpp +++ b/src/guiengine/widgets/ribbon_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/ribbon_widget.hpp b/src/guiengine/widgets/ribbon_widget.hpp index 8e37403f0..5960568fb 100644 --- a/src/guiengine/widgets/ribbon_widget.hpp +++ b/src/guiengine/widgets/ribbon_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/skill_level_widget.cpp b/src/guiengine/widgets/skill_level_widget.cpp index eb1cd00eb..d3d8a602d 100644 --- a/src/guiengine/widgets/skill_level_widget.cpp +++ b/src/guiengine/widgets/skill_level_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/skill_level_widget.hpp b/src/guiengine/widgets/skill_level_widget.hpp index 88a02ab38..0fecf8598 100644 --- a/src/guiengine/widgets/skill_level_widget.hpp +++ b/src/guiengine/widgets/skill_level_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/spinner_widget.cpp b/src/guiengine/widgets/spinner_widget.cpp index 568bd5958..f49d9f581 100644 --- a/src/guiengine/widgets/spinner_widget.cpp +++ b/src/guiengine/widgets/spinner_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/spinner_widget.hpp b/src/guiengine/widgets/spinner_widget.hpp index 2347ab3d0..4f1c4a841 100644 --- a/src/guiengine/widgets/spinner_widget.hpp +++ b/src/guiengine/widgets/spinner_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/text_box_widget.cpp b/src/guiengine/widgets/text_box_widget.cpp index 461f1692b..0a55d4aac 100644 --- a/src/guiengine/widgets/text_box_widget.cpp +++ b/src/guiengine/widgets/text_box_widget.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/guiengine/widgets/text_box_widget.hpp b/src/guiengine/widgets/text_box_widget.hpp index a3b5f081d..97a61971c 100644 --- a/src/guiengine/widgets/text_box_widget.hpp +++ b/src/guiengine/widgets/text_box_widget.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/binding.cpp b/src/input/binding.cpp index 44c24da16..083a6b3ae 100644 --- a/src/input/binding.cpp +++ b/src/input/binding.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/binding.hpp b/src/input/binding.hpp index 8d970bdb3..78a82ec66 100644 --- a/src/input/binding.hpp +++ b/src/input/binding.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/device_config.cpp b/src/input/device_config.cpp index 59ff0b2c5..04b6cc8ff 100644 --- a/src/input/device_config.cpp +++ b/src/input/device_config.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/device_config.hpp b/src/input/device_config.hpp index 71b06174f..844eb6c01 100644 --- a/src/input/device_config.hpp +++ b/src/input/device_config.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/device_manager.cpp b/src/input/device_manager.cpp index 2f884ad1c..c547f2be1 100644 --- a/src/input/device_manager.cpp +++ b/src/input/device_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/device_manager.hpp b/src/input/device_manager.hpp index 4bdd3af4f..e7a053a51 100644 --- a/src/input/device_manager.hpp +++ b/src/input/device_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/gamepad_config.cpp b/src/input/gamepad_config.cpp index 751158145..2dacb758a 100644 --- a/src/input/gamepad_config.cpp +++ b/src/input/gamepad_config.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/gamepad_config.hpp b/src/input/gamepad_config.hpp index a6cf827cc..42a8fb478 100644 --- a/src/input/gamepad_config.hpp +++ b/src/input/gamepad_config.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/gamepad_device.cpp b/src/input/gamepad_device.cpp index 30a204839..c554c0c1b 100644 --- a/src/input/gamepad_device.cpp +++ b/src/input/gamepad_device.cpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2013 Marianne Gagnon -// 2014 Joerg Henrichs +// Copyright (C) 2009-2015 Marianne Gagnon +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/gamepad_device.hpp b/src/input/gamepad_device.hpp index c430c3832..d5907b35a 100644 --- a/src/input/gamepad_device.hpp +++ b/src/input/gamepad_device.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/input.hpp b/src/input/input.hpp index 8932a2bc2..20930a064 100644 --- a/src/input/input.hpp +++ b/src/input/input.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Robert Schuster -// Copyright (C) 2012-2013 SuperTuxKart-Team +// Copyright (C) 2007-2015 Robert Schuster +// Copyright (C) 2012-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/input_device.cpp b/src/input/input_device.cpp index a90ff3152..a9a9be510 100644 --- a/src/input/input_device.cpp +++ b/src/input/input_device.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/input_device.hpp b/src/input/input_device.hpp index 3fce8586e..a367263ff 100644 --- a/src/input/input_device.hpp +++ b/src/input/input_device.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/input_manager.cpp b/src/input/input_manager.cpp index 47885a0b8..636703ffa 100644 --- a/src/input/input_manager.cpp +++ b/src/input/input_manager.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2012-2013 SuperTuxKart-Team +// Copyright (C) 2012-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/input_manager.hpp b/src/input/input_manager.hpp index 3c3518a09..2ffff2ea4 100644 --- a/src/input/input_manager.hpp +++ b/src/input/input_manager.hpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2004-2006 Steve Baker -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/keyboard_config.cpp b/src/input/keyboard_config.cpp index 87ffcf3c0..8ae975a45 100644 --- a/src/input/keyboard_config.cpp +++ b/src/input/keyboard_config.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/keyboard_config.hpp b/src/input/keyboard_config.hpp index 3ca9be870..7d3dc264e 100644 --- a/src/input/keyboard_config.hpp +++ b/src/input/keyboard_config.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/keyboard_device.cpp b/src/input/keyboard_device.cpp index 011b59777..6dfbe5ad2 100644 --- a/src/input/keyboard_device.cpp +++ b/src/input/keyboard_device.cpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2013 Marianne Gagnon -// 2014 Joerg Henrichs +// Copyright (C) 2009-2015 Marianne Gagnon +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/keyboard_device.hpp b/src/input/keyboard_device.hpp index 29ded6585..faf77e7a5 100644 --- a/src/input/keyboard_device.hpp +++ b/src/input/keyboard_device.hpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2014 Marianne Gagnon -// 2014 Joerg Henrichs +// Copyright (C) 2009-2015 Marianne Gagnon +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/wiimote.cpp b/src/input/wiimote.cpp index f9de58a1e..a69d2fcd5 100644 --- a/src/input/wiimote.cpp +++ b/src/input/wiimote.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/wiimote.hpp b/src/input/wiimote.hpp index 60e29eab5..d6e65830b 100644 --- a/src/input/wiimote.hpp +++ b/src/input/wiimote.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/wiimote_manager.cpp b/src/input/wiimote_manager.cpp index f3fc3868f..a5d81fab2 100644 --- a/src/input/wiimote_manager.cpp +++ b/src/input/wiimote_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 SuperTuxKart-Team +// Copyright (C) 2012-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/input/wiimote_manager.hpp b/src/input/wiimote_manager.hpp index d76778d5a..810537151 100644 --- a/src/input/wiimote_manager.hpp +++ b/src/input/wiimote_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 SuperTuxKart-Team +// Copyright (C) 2012-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/io/file_manager.cpp b/src/io/file_manager.cpp index eb15ceca9..1989fcbb7 100644 --- a/src/io/file_manager.cpp +++ b/src/io/file_manager.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004 Steve Baker -// Copyright (C) 2008-2013 Steve Baker, Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2008-2015 Steve Baker, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/io/file_manager.hpp b/src/io/file_manager.hpp index 8ae5792bc..18d6e1949 100644 --- a/src/io/file_manager.hpp +++ b/src/io/file_manager.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004 Steve Baker -// Copyright (C) 2008-2013 Steve Baker, Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2008-2015 Steve Baker, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/io/utf_writer.cpp b/src/io/utf_writer.cpp index b5d3d7b76..4232f20ab 100644 --- a/src/io/utf_writer.cpp +++ b/src/io/utf_writer.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/io/utf_writer.hpp b/src/io/utf_writer.hpp index cc7ef30a0..02f8ebcd7 100644 --- a/src/io/utf_writer.hpp +++ b/src/io/utf_writer.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/io/xml_node.cpp b/src/io/xml_node.cpp index 6180e9cd4..cbc8dc21a 100644 --- a/src/io/xml_node.cpp +++ b/src/io/xml_node.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/io/xml_node.hpp b/src/io/xml_node.hpp index 675e68b0c..ed990dab4 100644 --- a/src/io/xml_node.hpp +++ b/src/io/xml_node.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/attachment.cpp b/src/items/attachment.cpp index 0be47c80c..b1eb41199 100644 --- a/src/items/attachment.cpp +++ b/src/items/attachment.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/attachment.hpp b/src/items/attachment.hpp index 6fa469562..825db163f 100644 --- a/src/items/attachment.hpp +++ b/src/items/attachment.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/attachment_manager.cpp b/src/items/attachment_manager.cpp index d7f9d0561..8c3c54cc3 100644 --- a/src/items/attachment_manager.cpp +++ b/src/items/attachment_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/attachment_manager.hpp b/src/items/attachment_manager.hpp index 92bc6cba9..ec4b4a296 100644 --- a/src/items/attachment_manager.hpp +++ b/src/items/attachment_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/attachment_plugin.hpp b/src/items/attachment_plugin.hpp index 1b90a6ef1..a6c792819 100644 --- a/src/items/attachment_plugin.hpp +++ b/src/items/attachment_plugin.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/bowling.cpp b/src/items/bowling.cpp index 4d0b8c935..e0f37d5dc 100644 --- a/src/items/bowling.cpp +++ b/src/items/bowling.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/bowling.hpp b/src/items/bowling.hpp index 8b84c3f3b..600a21947 100644 --- a/src/items/bowling.hpp +++ b/src/items/bowling.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2007-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/cake.cpp b/src/items/cake.cpp index 7f802dcbb..aa1ce12ba 100644 --- a/src/items/cake.cpp +++ b/src/items/cake.cpp @@ -1,9 +1,9 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // Physics improvements and linear intersection algorithm by -// Copyright (C) 2009-2013 David Mikos. +// Copyright (C) 2009-2015 David Mikos. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/cake.hpp b/src/items/cake.hpp index 626a671e6..d22b71679 100644 --- a/src/items/cake.hpp +++ b/src/items/cake.hpp @@ -1,9 +1,9 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // Physics improvements and linear intersection algorithm by -// Copyright (C) 2009-2013 David Mikos. +// Copyright (C) 2009-2015 David Mikos. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/flyable.cpp b/src/items/flyable.cpp index 8db602671..2088c5adc 100644 --- a/src/items/flyable.cpp +++ b/src/items/flyable.cpp @@ -1,9 +1,9 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // Linear item-kart intersection function written by -// Copyright (C) 2009-2013 David Mikos +// Copyright (C) 2009-2015 David Mikos // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/flyable.hpp b/src/items/flyable.hpp index b15884f0e..89aa4cb07 100644 --- a/src/items/flyable.hpp +++ b/src/items/flyable.hpp @@ -1,9 +1,9 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // Linear item-kart intersection function written by -// Copyright (C) 2009-2013 David Mikos. +// Copyright (C) 2009-2015 David Mikos. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/item.cpp b/src/items/item.cpp index 8ada22f57..b9115fdb4 100644 --- a/src/items/item.cpp +++ b/src/items/item.cpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2004 Steve Baker -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/item.hpp b/src/items/item.hpp index df6125197..583f8322e 100644 --- a/src/items/item.hpp +++ b/src/items/item.hpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2004 Steve Baker -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/item_manager.cpp b/src/items/item_manager.cpp index 0503dc99c..21cc23fa8 100644 --- a/src/items/item_manager.cpp +++ b/src/items/item_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/item_manager.hpp b/src/items/item_manager.hpp index 09e3af587..dfba939f4 100644 --- a/src/items/item_manager.hpp +++ b/src/items/item_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/plunger.cpp b/src/items/plunger.cpp index 29d55dc44..778edc473 100644 --- a/src/items/plunger.cpp +++ b/src/items/plunger.cpp @@ -1,9 +1,9 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // Physics improvements and linear intersection algorithm by -// Copyright (C) 2009-2013 David Mikos. +// Copyright (C) 2009-2015 David Mikos. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/plunger.hpp b/src/items/plunger.hpp index 5ac873241..e8cdb7815 100644 --- a/src/items/plunger.hpp +++ b/src/items/plunger.hpp @@ -1,9 +1,9 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // Physics improvements and linear intersection algorithm by -// Copyright (C) 2009-2013 David Mikos. +// Copyright (C) 2009-2015 David Mikos. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/powerup.cpp b/src/items/powerup.cpp index d8ae4203f..b354b7aff 100644 --- a/src/items/powerup.cpp +++ b/src/items/powerup.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/powerup.hpp b/src/items/powerup.hpp index a21335342..aa4e117e9 100644 --- a/src/items/powerup.hpp +++ b/src/items/powerup.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/powerup_manager.cpp b/src/items/powerup_manager.cpp index 83e794d4d..153e444dd 100644 --- a/src/items/powerup_manager.cpp +++ b/src/items/powerup_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/powerup_manager.hpp b/src/items/powerup_manager.hpp index 4bb3d69d5..c42904191 100644 --- a/src/items/powerup_manager.hpp +++ b/src/items/powerup_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/projectile_manager.cpp b/src/items/projectile_manager.cpp index 091c64f97..709ca4135 100644 --- a/src/items/projectile_manager.cpp +++ b/src/items/projectile_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/projectile_manager.hpp b/src/items/projectile_manager.hpp index 0ef2c1e0d..8fcdb0c4e 100644 --- a/src/items/projectile_manager.hpp +++ b/src/items/projectile_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/rubber_ball.cpp b/src/items/rubber_ball.cpp index b9ca9a3f7..af2d09d62 100644 --- a/src/items/rubber_ball.cpp +++ b/src/items/rubber_ball.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/rubber_ball.hpp b/src/items/rubber_ball.hpp index a84d0348b..5b7506666 100644 --- a/src/items/rubber_ball.hpp +++ b/src/items/rubber_ball.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/rubber_band.cpp b/src/items/rubber_band.cpp index 38099b475..88625d26e 100644 --- a/src/items/rubber_band.cpp +++ b/src/items/rubber_band.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/rubber_band.hpp b/src/items/rubber_band.hpp index 9b8496a20..40b59aabb 100644 --- a/src/items/rubber_band.hpp +++ b/src/items/rubber_band.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/swatter.cpp b/src/items/swatter.cpp index 9a72cb592..326b47cbd 100644 --- a/src/items/swatter.cpp +++ b/src/items/swatter.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/items/swatter.hpp b/src/items/swatter.hpp index 5dd42a8e6..5454552d0 100644 --- a/src/items/swatter.hpp +++ b/src/items/swatter.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/abstract_kart.cpp b/src/karts/abstract_kart.cpp index 28fa7995a..a88741718 100644 --- a/src/karts/abstract_kart.cpp +++ b/src/karts/abstract_kart.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/abstract_kart.hpp b/src/karts/abstract_kart.hpp index e47285daf..565d8f3bd 100644 --- a/src/karts/abstract_kart.hpp +++ b/src/karts/abstract_kart.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/abstract_kart_animation.cpp b/src/karts/abstract_kart_animation.cpp index 7062c3f7a..f51e28f84 100644 --- a/src/karts/abstract_kart_animation.cpp +++ b/src/karts/abstract_kart_animation.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/abstract_kart_animation.hpp b/src/karts/abstract_kart_animation.hpp index 14f318e82..5dbfd9873 100644 --- a/src/karts/abstract_kart_animation.hpp +++ b/src/karts/abstract_kart_animation.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/cannon_animation.cpp b/src/karts/cannon_animation.cpp index a44ee3f22..e89478af6 100644 --- a/src/karts/cannon_animation.cpp +++ b/src/karts/cannon_animation.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/cannon_animation.hpp b/src/karts/cannon_animation.hpp index 7a58cc414..bb8022c25 100644 --- a/src/karts/cannon_animation.hpp +++ b/src/karts/cannon_animation.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/ai_base_controller.cpp b/src/karts/controller/ai_base_controller.cpp index a192eb5ba..bbc95d5d4 100644 --- a/src/karts/controller/ai_base_controller.cpp +++ b/src/karts/controller/ai_base_controller.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Eduardo Hernandez Munoz -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Eduardo Hernandez Munoz +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/ai_base_controller.hpp b/src/karts/controller/ai_base_controller.hpp index d27143833..72cbb8269 100644 --- a/src/karts/controller/ai_base_controller.hpp +++ b/src/karts/controller/ai_base_controller.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/ai_properties.cpp b/src/karts/controller/ai_properties.cpp index 720fc5a77..e60da3cf9 100644 --- a/src/karts/controller/ai_properties.cpp +++ b/src/karts/controller/ai_properties.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/ai_properties.hpp b/src/karts/controller/ai_properties.hpp index aadad7c07..ccdcf8d8b 100644 --- a/src/karts/controller/ai_properties.hpp +++ b/src/karts/controller/ai_properties.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/controller.cpp b/src/karts/controller/controller.cpp index 334e2bf08..1f9d8f71f 100644 --- a/src/karts/controller/controller.cpp +++ b/src/karts/controller/controller.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/controller.hpp b/src/karts/controller/controller.hpp index 556d3b699..689972bb6 100644 --- a/src/karts/controller/controller.hpp +++ b/src/karts/controller/controller.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/end_controller.cpp b/src/karts/controller/end_controller.cpp index 5ab334a47..8855ccd88 100644 --- a/src/karts/controller/end_controller.cpp +++ b/src/karts/controller/end_controller.cpp @@ -1,8 +1,8 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Eduardo Hernandez Munoz -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Eduardo Hernandez Munoz +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/end_controller.hpp b/src/karts/controller/end_controller.hpp index 72b979dd4..463305674 100644 --- a/src/karts/controller/end_controller.hpp +++ b/src/karts/controller/end_controller.hpp @@ -1,8 +1,8 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Eduardo Hernandez Munoz -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Eduardo Hernandez Munoz +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/kart_control.hpp b/src/karts/controller/kart_control.hpp index f820796c6..82d31544a 100644 --- a/src/karts/controller/kart_control.hpp +++ b/src/karts/controller/kart_control.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/player_controller.cpp b/src/karts/controller/player_controller.cpp index e396d3e4e..f45a47857 100644 --- a/src/karts/controller/player_controller.cpp +++ b/src/karts/controller/player_controller.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Joerg Henrichs, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Joerg Henrichs, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/player_controller.hpp b/src/karts/controller/player_controller.hpp index 9f90da39b..4431a0f19 100644 --- a/src/karts/controller/player_controller.hpp +++ b/src/karts/controller/player_controller.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Joerg Henrichs, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Joerg Henrichs, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/skidding_ai.cpp b/src/karts/controller/skidding_ai.cpp index c50c275da..74f40a84d 100644 --- a/src/karts/controller/skidding_ai.cpp +++ b/src/karts/controller/skidding_ai.cpp @@ -1,8 +1,8 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Eduardo Hernandez Munoz -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Eduardo Hernandez Munoz +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/controller/skidding_ai.hpp b/src/karts/controller/skidding_ai.hpp index 28a8e548f..7363c46a1 100644 --- a/src/karts/controller/skidding_ai.hpp +++ b/src/karts/controller/skidding_ai.hpp @@ -1,9 +1,9 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Eduardo Hernandez Munoz -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Eduardo Hernandez Munoz +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/explosion_animation.cpp b/src/karts/explosion_animation.cpp index 24796e1b4..81799dd8d 100644 --- a/src/karts/explosion_animation.cpp +++ b/src/karts/explosion_animation.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/explosion_animation.hpp b/src/karts/explosion_animation.hpp index 457f6dcda..a75d893df 100644 --- a/src/karts/explosion_animation.hpp +++ b/src/karts/explosion_animation.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/ghost_kart.cpp b/src/karts/ghost_kart.cpp index d284e37dc..099116399 100644 --- a/src/karts/ghost_kart.cpp +++ b/src/karts/ghost_kart.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/ghost_kart.hpp b/src/karts/ghost_kart.hpp index 9fb66dbea..f08742a1a 100644 --- a/src/karts/ghost_kart.hpp +++ b/src/karts/ghost_kart.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart.cpp b/src/karts/kart.cpp index 03ef993f1..7ec9b2645 100644 --- a/src/karts/kart.cpp +++ b/src/karts/kart.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 SuperTuxKart-Team, Joerg Henrichs, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 SuperTuxKart-Team, Joerg Henrichs, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart.hpp b/src/karts/kart.hpp index 5c0b2d5ae..30a5dcb34 100644 --- a/src/karts/kart.hpp +++ b/src/karts/kart.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 SuperTuxKart-Team, Joerg Henrichs, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 SuperTuxKart-Team, Joerg Henrichs, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_gfx.cpp b/src/karts/kart_gfx.cpp index 160cfd381..3cc52a6e1 100644 --- a/src/karts/kart_gfx.cpp +++ b/src/karts/kart_gfx.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_gfx.hpp b/src/karts/kart_gfx.hpp index 9438eaec9..2eda04d45 100644 --- a/src/karts/kart_gfx.hpp +++ b/src/karts/kart_gfx.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_model.cpp b/src/karts/kart_model.cpp index c047376d9..71527258c 100644 --- a/src/karts/kart_model.cpp +++ b/src/karts/kart_model.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_model.hpp b/src/karts/kart_model.hpp index 454a66427..249ea51a7 100644 --- a/src/karts/kart_model.hpp +++ b/src/karts/kart_model.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_properties.cpp b/src/karts/kart_properties.cpp index 5e687d47f..d47ae7ac7 100644 --- a/src/karts/kart_properties.cpp +++ b/src/karts/kart_properties.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_properties.hpp b/src/karts/kart_properties.hpp index d0b6ba628..f8268eb36 100644 --- a/src/karts/kart_properties.hpp +++ b/src/karts/kart_properties.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_properties_manager.cpp b/src/karts/kart_properties_manager.cpp index efba7b5a6..f8d2554d7 100644 --- a/src/karts/kart_properties_manager.cpp +++ b/src/karts/kart_properties_manager.cpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_properties_manager.hpp b/src/karts/kart_properties_manager.hpp index fbc05f79e..bcaedf8e6 100644 --- a/src/karts/kart_properties_manager.hpp +++ b/src/karts/kart_properties_manager.hpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_with_stats.cpp b/src/karts/kart_with_stats.cpp index a916b2255..22f9a39b4 100644 --- a/src/karts/kart_with_stats.cpp +++ b/src/karts/kart_with_stats.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/kart_with_stats.hpp b/src/karts/kart_with_stats.hpp index 84b6161a7..a85870a84 100644 --- a/src/karts/kart_with_stats.hpp +++ b/src/karts/kart_with_stats.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/max_speed.cpp b/src/karts/max_speed.cpp index eb1b7feb3..c044f77d4 100644 --- a/src/karts/max_speed.cpp +++ b/src/karts/max_speed.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/max_speed.hpp b/src/karts/max_speed.hpp index 8c9d76bff..4470e6029 100644 --- a/src/karts/max_speed.hpp +++ b/src/karts/max_speed.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/moveable.cpp b/src/karts/moveable.cpp index 84f5d17e0..76aa5212d 100644 --- a/src/karts/moveable.cpp +++ b/src/karts/moveable.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Joerg Henrichs, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Joerg Henrichs, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/moveable.hpp b/src/karts/moveable.hpp index 42d82217a..4a0599dad 100644 --- a/src/karts/moveable.hpp +++ b/src/karts/moveable.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Joerg Henrichs, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Joerg Henrichs, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/player_difficulty.cpp b/src/karts/player_difficulty.cpp index aa985b01b..d674b7e41 100644 --- a/src/karts/player_difficulty.cpp +++ b/src/karts/player_difficulty.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/player_difficulty.hpp b/src/karts/player_difficulty.hpp index c7197fbdc..00d8b5b50 100644 --- a/src/karts/player_difficulty.hpp +++ b/src/karts/player_difficulty.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/rescue_animation.cpp b/src/karts/rescue_animation.cpp index d06c3097f..c88273a80 100644 --- a/src/karts/rescue_animation.cpp +++ b/src/karts/rescue_animation.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/rescue_animation.hpp b/src/karts/rescue_animation.hpp index 89df1cf03..bc37e0602 100644 --- a/src/karts/rescue_animation.hpp +++ b/src/karts/rescue_animation.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/skidding.cpp b/src/karts/skidding.cpp index a1014adff..9c7de0521 100644 --- a/src/karts/skidding.cpp +++ b/src/karts/skidding.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/skidding.hpp b/src/karts/skidding.hpp index 83afb927e..9e74723a1 100644 --- a/src/karts/skidding.hpp +++ b/src/karts/skidding.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/skidding_properties.cpp b/src/karts/skidding_properties.cpp index 1bf1a246e..0f2f28d6b 100644 --- a/src/karts/skidding_properties.cpp +++ b/src/karts/skidding_properties.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/karts/skidding_properties.hpp b/src/karts/skidding_properties.hpp index 9f8416d2e..be9fe790a 100644 --- a/src/karts/skidding_properties.hpp +++ b/src/karts/skidding_properties.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/main.cpp b/src/main.cpp index 57c6c5b11..98b88bcad 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,8 +1,8 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2011-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2011-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/main_loop.cpp b/src/main_loop.cpp index 1b9d458e3..d001cb534 100644 --- a/src/main_loop.cpp +++ b/src/main_loop.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/main_loop.hpp b/src/main_loop.hpp index 2743110af..41d051cd3 100644 --- a/src/main_loop.hpp +++ b/src/main_loop.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/cutscene_world.cpp b/src/modes/cutscene_world.cpp index 1354c97de..a10ec95af 100644 --- a/src/modes/cutscene_world.cpp +++ b/src/modes/cutscene_world.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/cutscene_world.hpp b/src/modes/cutscene_world.hpp index 30b882287..e85da3ad2 100644 --- a/src/modes/cutscene_world.hpp +++ b/src/modes/cutscene_world.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/demo_world.cpp b/src/modes/demo_world.cpp index be4170cc6..00baf633c 100644 --- a/src/modes/demo_world.cpp +++ b/src/modes/demo_world.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/demo_world.hpp b/src/modes/demo_world.hpp index a31811e67..a2d047a2f 100644 --- a/src/modes/demo_world.hpp +++ b/src/modes/demo_world.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/easter_egg_hunt.cpp b/src/modes/easter_egg_hunt.cpp index 7ee0c0ee2..25b1a65c0 100644 --- a/src/modes/easter_egg_hunt.cpp +++ b/src/modes/easter_egg_hunt.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/easter_egg_hunt.hpp b/src/modes/easter_egg_hunt.hpp index e3460c783..00eb70db5 100644 --- a/src/modes/easter_egg_hunt.hpp +++ b/src/modes/easter_egg_hunt.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/follow_the_leader.cpp b/src/modes/follow_the_leader.cpp index f9c4b2f94..711e1d1ab 100644 --- a/src/modes/follow_the_leader.cpp +++ b/src/modes/follow_the_leader.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/follow_the_leader.hpp b/src/modes/follow_the_leader.hpp index 5af95c780..ff29fc727 100644 --- a/src/modes/follow_the_leader.hpp +++ b/src/modes/follow_the_leader.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/linear_world.cpp b/src/modes/linear_world.cpp index d8bd33c07..22b2ad891 100644 --- a/src/modes/linear_world.cpp +++ b/src/modes/linear_world.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/linear_world.hpp b/src/modes/linear_world.hpp index cce0da377..928a83256 100644 --- a/src/modes/linear_world.hpp +++ b/src/modes/linear_world.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/overworld.cpp b/src/modes/overworld.cpp index 9097c4add..725fc3c17 100644 --- a/src/modes/overworld.cpp +++ b/src/modes/overworld.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/overworld.hpp b/src/modes/overworld.hpp index ef7807101..4001f0faa 100644 --- a/src/modes/overworld.hpp +++ b/src/modes/overworld.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/profile_world.cpp b/src/modes/profile_world.cpp index c6cb4ba0c..0fef5edc7 100644 --- a/src/modes/profile_world.cpp +++ b/src/modes/profile_world.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/profile_world.hpp b/src/modes/profile_world.hpp index 95e23bbeb..6a0977ebc 100644 --- a/src/modes/profile_world.hpp +++ b/src/modes/profile_world.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/soccer_world.cpp b/src/modes/soccer_world.cpp index 9453cd3d8..dcba80e8c 100644 --- a/src/modes/soccer_world.cpp +++ b/src/modes/soccer_world.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/soccer_world.hpp b/src/modes/soccer_world.hpp index 25eb1d11e..d33f1dd74 100644 --- a/src/modes/soccer_world.hpp +++ b/src/modes/soccer_world.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/standard_race.cpp b/src/modes/standard_race.cpp index 3f546e6e6..b3a88d325 100644 --- a/src/modes/standard_race.cpp +++ b/src/modes/standard_race.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/standard_race.hpp b/src/modes/standard_race.hpp index ddfc6efc5..d94933183 100644 --- a/src/modes/standard_race.hpp +++ b/src/modes/standard_race.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/three_strikes_battle.cpp b/src/modes/three_strikes_battle.cpp index abdc9c4e6..aa95da191 100644 --- a/src/modes/three_strikes_battle.cpp +++ b/src/modes/three_strikes_battle.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/three_strikes_battle.hpp b/src/modes/three_strikes_battle.hpp index aa144a666..46a18674c 100644 --- a/src/modes/three_strikes_battle.hpp +++ b/src/modes/three_strikes_battle.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/tutorial_world.cpp b/src/modes/tutorial_world.cpp index 5113dc64d..8bf0eec48 100644 --- a/src/modes/tutorial_world.cpp +++ b/src/modes/tutorial_world.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2012-2013 Marianne Gagnon +// Copyright (C) 2012-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/tutorial_world.hpp b/src/modes/tutorial_world.hpp index 4f7088ec4..a62f74637 100644 --- a/src/modes/tutorial_world.hpp +++ b/src/modes/tutorial_world.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2012-2013 Marianne Gagnon +// Copyright (C) 2012-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/world.cpp b/src/modes/world.cpp index b5870958f..d7d71b0f4 100644 --- a/src/modes/world.cpp +++ b/src/modes/world.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/world.hpp b/src/modes/world.hpp index cfe341a13..fef41591b 100644 --- a/src/modes/world.hpp +++ b/src/modes/world.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/world_status.cpp b/src/modes/world_status.cpp index c19ae0cd3..578f13a0e 100644 --- a/src/modes/world_status.cpp +++ b/src/modes/world_status.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/world_status.hpp b/src/modes/world_status.hpp index ccc2ac866..270ca5a44 100644 --- a/src/modes/world_status.hpp +++ b/src/modes/world_status.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/world_with_rank.cpp b/src/modes/world_with_rank.cpp index 2f64b3d3d..bbad420c0 100644 --- a/src/modes/world_with_rank.cpp +++ b/src/modes/world_with_rank.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/modes/world_with_rank.hpp b/src/modes/world_with_rank.hpp index d51bf9352..0914f27d8 100644 --- a/src/modes/world_with_rank.hpp +++ b/src/modes/world_with_rank.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/client_network_manager.cpp b/src/network/client_network_manager.cpp index 00f672484..b2379256f 100644 --- a/src/network/client_network_manager.cpp +++ b/src/network/client_network_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/client_network_manager.hpp b/src/network/client_network_manager.hpp index 1c54d62dc..5e5b11683 100644 --- a/src/network/client_network_manager.hpp +++ b/src/network/client_network_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/event.cpp b/src/network/event.cpp index 1266654ae..60689271b 100644 --- a/src/network/event.cpp +++ b/src/network/event.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/event.hpp b/src/network/event.hpp index cf5bf6a6f..86634b436 100644 --- a/src/network/event.hpp +++ b/src/network/event.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/game_setup.cpp b/src/network/game_setup.cpp index 1cbdbc0b4..fa966ef45 100644 --- a/src/network/game_setup.cpp +++ b/src/network/game_setup.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/game_setup.hpp b/src/network/game_setup.hpp index b8c670623..106f10893 100644 --- a/src/network/game_setup.hpp +++ b/src/network/game_setup.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/network_interface.cpp b/src/network/network_interface.cpp index 262083330..ba7c69553 100644 --- a/src/network/network_interface.cpp +++ b/src/network/network_interface.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/network_interface.hpp b/src/network/network_interface.hpp index 4da28b430..180fd9e49 100644 --- a/src/network/network_interface.hpp +++ b/src/network/network_interface.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/network_manager.cpp b/src/network/network_manager.cpp index 71201d484..501f6dde3 100644 --- a/src/network/network_manager.cpp +++ b/src/network/network_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/network_manager.hpp b/src/network/network_manager.hpp index 13ae87f15..ada420fab 100644 --- a/src/network/network_manager.hpp +++ b/src/network/network_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/network_string.hpp b/src/network/network_string.hpp index 188455725..dc56c8e06 100644 --- a/src/network/network_string.hpp +++ b/src/network/network_string.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/network_world.hpp b/src/network/network_world.hpp index f9b4f820f..31b8db125 100644 --- a/src/network/network_world.hpp +++ b/src/network/network_world.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocol.cpp b/src/network/protocol.cpp index d71d8c265..64603cdcd 100644 --- a/src/network/protocol.cpp +++ b/src/network/protocol.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocol.hpp b/src/network/protocol.hpp index 4fab04112..b7e63ad4f 100644 --- a/src/network/protocol.hpp +++ b/src/network/protocol.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocol_manager.cpp b/src/network/protocol_manager.cpp index 75b623a82..8fcff847a 100644 --- a/src/network/protocol_manager.cpp +++ b/src/network/protocol_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocol_manager.hpp b/src/network/protocol_manager.hpp index b54b5d0e2..12840515a 100644 --- a/src/network/protocol_manager.hpp +++ b/src/network/protocol_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/client_lobby_room_protocol.cpp b/src/network/protocols/client_lobby_room_protocol.cpp index 308439e8a..be3cf93ad 100644 --- a/src/network/protocols/client_lobby_room_protocol.cpp +++ b/src/network/protocols/client_lobby_room_protocol.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/connect_to_peer.cpp b/src/network/protocols/connect_to_peer.cpp index e130a2d1b..166f27d62 100644 --- a/src/network/protocols/connect_to_peer.cpp +++ b/src/network/protocols/connect_to_peer.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/connect_to_peer.hpp b/src/network/protocols/connect_to_peer.hpp index 97bad8327..7c30d738d 100644 --- a/src/network/protocols/connect_to_peer.hpp +++ b/src/network/protocols/connect_to_peer.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/connect_to_server.cpp b/src/network/protocols/connect_to_server.cpp index 1f66313fb..f89a27a44 100644 --- a/src/network/protocols/connect_to_server.cpp +++ b/src/network/protocols/connect_to_server.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/connect_to_server.hpp b/src/network/protocols/connect_to_server.hpp index 7f95a512a..093a21819 100644 --- a/src/network/protocols/connect_to_server.hpp +++ b/src/network/protocols/connect_to_server.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/get_peer_address.cpp b/src/network/protocols/get_peer_address.cpp index e0e6a09a3..3bb90f437 100644 --- a/src/network/protocols/get_peer_address.cpp +++ b/src/network/protocols/get_peer_address.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/get_peer_address.hpp b/src/network/protocols/get_peer_address.hpp index 6dac695a1..e9bce5dc0 100644 --- a/src/network/protocols/get_peer_address.hpp +++ b/src/network/protocols/get_peer_address.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/get_public_address.cpp b/src/network/protocols/get_public_address.cpp index 503875743..7034217df 100644 --- a/src/network/protocols/get_public_address.cpp +++ b/src/network/protocols/get_public_address.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/get_public_address.hpp b/src/network/protocols/get_public_address.hpp index 408a031ba..0e7f80b7a 100644 --- a/src/network/protocols/get_public_address.hpp +++ b/src/network/protocols/get_public_address.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/hide_public_address.cpp b/src/network/protocols/hide_public_address.cpp index f320ddf5f..2207c2149 100644 --- a/src/network/protocols/hide_public_address.cpp +++ b/src/network/protocols/hide_public_address.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/hide_public_address.hpp b/src/network/protocols/hide_public_address.hpp index e1c5c800a..f2279390c 100644 --- a/src/network/protocols/hide_public_address.hpp +++ b/src/network/protocols/hide_public_address.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/lobby_room_protocol.cpp b/src/network/protocols/lobby_room_protocol.cpp index 46be6df03..28ea342bd 100644 --- a/src/network/protocols/lobby_room_protocol.cpp +++ b/src/network/protocols/lobby_room_protocol.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/lobby_room_protocol.hpp b/src/network/protocols/lobby_room_protocol.hpp index d132359dd..82213150c 100644 --- a/src/network/protocols/lobby_room_protocol.hpp +++ b/src/network/protocols/lobby_room_protocol.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/ping_protocol.cpp b/src/network/protocols/ping_protocol.cpp index 7fd5232ed..045062668 100644 --- a/src/network/protocols/ping_protocol.cpp +++ b/src/network/protocols/ping_protocol.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/quick_join_protocol.cpp b/src/network/protocols/quick_join_protocol.cpp index 3788dc8d9..2f7006f15 100644 --- a/src/network/protocols/quick_join_protocol.cpp +++ b/src/network/protocols/quick_join_protocol.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/request_connection.cpp b/src/network/protocols/request_connection.cpp index 44b300487..d62dc5a65 100644 --- a/src/network/protocols/request_connection.cpp +++ b/src/network/protocols/request_connection.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/server_lobby_room_protocol.cpp b/src/network/protocols/server_lobby_room_protocol.cpp index 438b2de3a..9de64c6a8 100644 --- a/src/network/protocols/server_lobby_room_protocol.cpp +++ b/src/network/protocols/server_lobby_room_protocol.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/show_public_address.cpp b/src/network/protocols/show_public_address.cpp index 8cbe0bbcd..451e149a5 100644 --- a/src/network/protocols/show_public_address.cpp +++ b/src/network/protocols/show_public_address.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/show_public_address.hpp b/src/network/protocols/show_public_address.hpp index e1dae5387..acfa50961 100644 --- a/src/network/protocols/show_public_address.hpp +++ b/src/network/protocols/show_public_address.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/start_server.cpp b/src/network/protocols/start_server.cpp index 8291d5841..da8899777 100644 --- a/src/network/protocols/start_server.cpp +++ b/src/network/protocols/start_server.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/protocols/stop_server.cpp b/src/network/protocols/stop_server.cpp index 0524d4291..f2358f391 100644 --- a/src/network/protocols/stop_server.cpp +++ b/src/network/protocols/stop_server.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/remote_kart_info.hpp b/src/network/remote_kart_info.hpp index d3d23e328..72af75d1d 100644 --- a/src/network/remote_kart_info.hpp +++ b/src/network/remote_kart_info.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/server_network_manager.cpp b/src/network/server_network_manager.cpp index f433b43ef..784c61324 100644 --- a/src/network/server_network_manager.cpp +++ b/src/network/server_network_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/server_network_manager.hpp b/src/network/server_network_manager.hpp index 460cf6031..6afc16c81 100644 --- a/src/network/server_network_manager.hpp +++ b/src/network/server_network_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/stk_host.cpp b/src/network/stk_host.cpp index 75bea642b..9983410e8 100644 --- a/src/network/stk_host.cpp +++ b/src/network/stk_host.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/stk_host.hpp b/src/network/stk_host.hpp index 788aa6717..d293a603e 100644 --- a/src/network/stk_host.hpp +++ b/src/network/stk_host.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/stk_peer.cpp b/src/network/stk_peer.cpp index 35ad08860..8a04d96c2 100644 --- a/src/network/stk_peer.cpp +++ b/src/network/stk_peer.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/stk_peer.hpp b/src/network/stk_peer.hpp index 4603da143..7f5abd967 100644 --- a/src/network/stk_peer.hpp +++ b/src/network/stk_peer.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/network/types.hpp b/src/network/types.hpp index ad594d37e..7b9c2432a 100644 --- a/src/network/types.hpp +++ b/src/network/types.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/http_request.cpp b/src/online/http_request.cpp index c3d2a340f..80354f513 100644 --- a/src/online/http_request.cpp +++ b/src/online/http_request.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // 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 3 diff --git a/src/online/http_request.hpp b/src/online/http_request.hpp index 7383b047f..70a5b5d60 100644 --- a/src/online/http_request.hpp +++ b/src/online/http_request.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // 2013 Glenn De Jonghe // // This program is free software; you can redistribute it and/or diff --git a/src/online/online_player_profile.cpp b/src/online/online_player_profile.cpp index f2a6d6472..611844d66 100644 --- a/src/online/online_player_profile.cpp +++ b/src/online/online_player_profile.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/online_player_profile.hpp b/src/online/online_player_profile.hpp index 06d9b6551..cef45820c 100644 --- a/src/online/online_player_profile.hpp +++ b/src/online/online_player_profile.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/online_profile.cpp b/src/online/online_profile.cpp index 9909d6b96..e3c0f99fb 100644 --- a/src/online/online_profile.cpp +++ b/src/online/online_profile.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/online_profile.hpp b/src/online/online_profile.hpp index 675168ca1..acded73bb 100644 --- a/src/online/online_profile.hpp +++ b/src/online/online_profile.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/profile_manager.cpp b/src/online/profile_manager.cpp index 2f160e70f..156c6a54f 100644 --- a/src/online/profile_manager.cpp +++ b/src/online/profile_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/profile_manager.hpp b/src/online/profile_manager.hpp index 512f5755e..474f32bc4 100644 --- a/src/online/profile_manager.hpp +++ b/src/online/profile_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/request.cpp b/src/online/request.cpp index 7ffb1a981..2de86ee8f 100644 --- a/src/online/request.cpp +++ b/src/online/request.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // 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 3 diff --git a/src/online/request.hpp b/src/online/request.hpp index 7443583bc..e4ccb7342 100644 --- a/src/online/request.hpp +++ b/src/online/request.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // 2013 Glenn De Jonghe // // This program is free software; you can redistribute it and/or diff --git a/src/online/request_manager.cpp b/src/online/request_manager.cpp index ee873aca5..740c5c643 100644 --- a/src/online/request_manager.cpp +++ b/src/online/request_manager.cpp @@ -1,8 +1,8 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2014 Lucas Baudin -// 2011-2014 Joerg Henrichs -// 2013-2014 Glenn De Jonghe +// Copyright (C) 2010-2015 Lucas Baudin +// (C) 2014-2015 Joerg Henrichs +// (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/request_manager.hpp b/src/online/request_manager.hpp index 313240f21..5457fffc7 100644 --- a/src/online/request_manager.hpp +++ b/src/online/request_manager.hpp @@ -1,8 +1,8 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2014 Lucas Baudin -// 2011-2014 Joerg Henrichs -// 2013-2014 Glenn De Jonghe +// Copyright (C) 2010-2015 Lucas Baudin +// (C) 2011-2015 Joerg Henrichs +// (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/server.cpp b/src/online/server.cpp index f716da58a..9ac730bcb 100644 --- a/src/online/server.cpp +++ b/src/online/server.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/server.hpp b/src/online/server.hpp index f9576056a..b35b6cf3c 100644 --- a/src/online/server.hpp +++ b/src/online/server.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/servers_manager.cpp b/src/online/servers_manager.cpp index 7e4c93048..f36b93ebb 100644 --- a/src/online/servers_manager.cpp +++ b/src/online/servers_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/servers_manager.hpp b/src/online/servers_manager.hpp index fe0c8f76b..525b48c3f 100644 --- a/src/online/servers_manager.hpp +++ b/src/online/servers_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/online/xml_request.cpp b/src/online/xml_request.cpp index 4154ff1f7..89c8d9bba 100644 --- a/src/online/xml_request.cpp +++ b/src/online/xml_request.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // 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 3 diff --git a/src/online/xml_request.hpp b/src/online/xml_request.hpp index 1e2f6089d..9f8d06957 100644 --- a/src/online/xml_request.hpp +++ b/src/online/xml_request.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // 2013 Glenn De Jonghe // // This program is free software; you can redistribute it and/or diff --git a/src/physics/btKart.cpp b/src/physics/btKart.cpp index 02d2c98d5..24d52bbfc 100644 --- a/src/physics/btKart.cpp +++ b/src/physics/btKart.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2013 Erwin Coumans http://continuousphysics.com/Bullet/ + * Copyright (C) 2005-2015 Erwin Coumans http://continuousphysics.com/Bullet/ * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, diff --git a/src/physics/btKart.hpp b/src/physics/btKart.hpp index a799f0575..62b2c61c4 100644 --- a/src/physics/btKart.hpp +++ b/src/physics/btKart.hpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2013 Erwin Coumans http://continuousphysics.com/Bullet/ + * Copyright (C) 2005-2015 Erwin Coumans http://continuousphysics.com/Bullet/ * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, diff --git a/src/physics/btKartRaycast.cpp b/src/physics/btKartRaycast.cpp index 856f83826..c9b13b647 100644 --- a/src/physics/btKartRaycast.cpp +++ b/src/physics/btKartRaycast.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2013 Erwin Coumans http://continuousphysics.com/Bullet/ + * Copyright (C) 2005-2015 Erwin Coumans http://continuousphysics.com/Bullet/ * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, diff --git a/src/physics/btKartRaycast.hpp b/src/physics/btKartRaycast.hpp index f9c7faa16..0fcb4ac5a 100644 --- a/src/physics/btKartRaycast.hpp +++ b/src/physics/btKartRaycast.hpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2013 Erwin Coumans http://continuousphysics.com/Bullet/ + * Copyright (C) 2005-2015 Erwin Coumans http://continuousphysics.com/Bullet/ * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, diff --git a/src/physics/irr_debug_drawer.cpp b/src/physics/irr_debug_drawer.cpp index f5fd5ce6f..5fffd2a1d 100644 --- a/src/physics/irr_debug_drawer.cpp +++ b/src/physics/irr_debug_drawer.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/irr_debug_drawer.hpp b/src/physics/irr_debug_drawer.hpp index 6dc54d4ed..6086473fb 100644 --- a/src/physics/irr_debug_drawer.hpp +++ b/src/physics/irr_debug_drawer.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/kart_motion_state.hpp b/src/physics/kart_motion_state.hpp index 8e0fa80e0..734449e6f 100644 --- a/src/physics/kart_motion_state.hpp +++ b/src/physics/kart_motion_state.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/physical_object.cpp b/src/physics/physical_object.cpp index cfa014e32..7ed9c7d49 100644 --- a/src/physics/physical_object.cpp +++ b/src/physics/physical_object.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/physical_object.hpp b/src/physics/physical_object.hpp index 408d19a2f..7d4dd1158 100644 --- a/src/physics/physical_object.hpp +++ b/src/physics/physical_object.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/physics.cpp b/src/physics/physics.cpp index 2da99af70..7935282f3 100644 --- a/src/physics/physics.cpp +++ b/src/physics/physics.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/physics.hpp b/src/physics/physics.hpp index cd8b54e5e..ac0cf77f7 100644 --- a/src/physics/physics.hpp +++ b/src/physics/physics.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/stk_dynamics_world.hpp b/src/physics/stk_dynamics_world.hpp index d0f2f49d0..633a83ee1 100644 --- a/src/physics/stk_dynamics_world.hpp +++ b/src/physics/stk_dynamics_world.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/triangle_mesh.cpp b/src/physics/triangle_mesh.cpp index e6dd840ca..ca28aa623 100644 --- a/src/physics/triangle_mesh.cpp +++ b/src/physics/triangle_mesh.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/triangle_mesh.hpp b/src/physics/triangle_mesh.hpp index 7bef215a9..5557ed4a7 100644 --- a/src/physics/triangle_mesh.hpp +++ b/src/physics/triangle_mesh.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/physics/user_pointer.hpp b/src/physics/user_pointer.hpp index b9f6612df..0aea034da 100644 --- a/src/physics/user_pointer.hpp +++ b/src/physics/user_pointer.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/grand_prix_data.cpp b/src/race/grand_prix_data.cpp index 51ae5768f..e0516fa33 100644 --- a/src/race/grand_prix_data.cpp +++ b/src/race/grand_prix_data.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/grand_prix_data.hpp b/src/race/grand_prix_data.hpp index 947de389c..b720a7d3a 100644 --- a/src/race/grand_prix_data.hpp +++ b/src/race/grand_prix_data.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/grand_prix_manager.cpp b/src/race/grand_prix_manager.cpp index f4376b441..793874dc3 100644 --- a/src/race/grand_prix_manager.cpp +++ b/src/race/grand_prix_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/grand_prix_manager.hpp b/src/race/grand_prix_manager.hpp index 78af06010..4159b5213 100644 --- a/src/race/grand_prix_manager.hpp +++ b/src/race/grand_prix_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/highscore_manager.cpp b/src/race/highscore_manager.cpp index 0d38d91ed..92eff9094 100644 --- a/src/race/highscore_manager.cpp +++ b/src/race/highscore_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/highscore_manager.hpp b/src/race/highscore_manager.hpp index a87b00a31..898716479 100644 --- a/src/race/highscore_manager.hpp +++ b/src/race/highscore_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/highscores.cpp b/src/race/highscores.cpp index 00fdcf623..bc5a4f2c5 100644 --- a/src/race/highscores.cpp +++ b/src/race/highscores.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/highscores.hpp b/src/race/highscores.hpp index 02bb2412f..94bd6fc95 100644 --- a/src/race/highscores.hpp +++ b/src/race/highscores.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/history.cpp b/src/race/history.cpp index 2f4736ec0..ec65911f8 100644 --- a/src/race/history.cpp +++ b/src/race/history.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/history.hpp b/src/race/history.hpp index 02f0570e3..62a13c463 100644 --- a/src/race/history.hpp +++ b/src/race/history.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/race_manager.cpp b/src/race/race_manager.cpp index ea8bc119f..17814d3e5 100644 --- a/src/race/race_manager.cpp +++ b/src/race/race_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/race/race_manager.hpp b/src/race/race_manager.hpp index 050e043ee..c553bdab4 100644 --- a/src/race/race_manager.hpp +++ b/src/race/race_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/replay/replay_base.cpp b/src/replay/replay_base.cpp index b92fd034f..6efda19c5 100644 --- a/src/replay/replay_base.cpp +++ b/src/replay/replay_base.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/replay/replay_base.hpp b/src/replay/replay_base.hpp index 761689a13..6b48bdc24 100644 --- a/src/replay/replay_base.hpp +++ b/src/replay/replay_base.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/replay/replay_play.cpp b/src/replay/replay_play.cpp index 4eede7e6b..3a9c5fc83 100644 --- a/src/replay/replay_play.cpp +++ b/src/replay/replay_play.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/replay/replay_play.hpp b/src/replay/replay_play.hpp index 681d0bffb..cc479982f 100644 --- a/src/replay/replay_play.hpp +++ b/src/replay/replay_play.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/replay/replay_recorder.cpp b/src/replay/replay_recorder.cpp index 449aa4c1d..07a5c1e9a 100644 --- a/src/replay/replay_recorder.cpp +++ b/src/replay/replay_recorder.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/replay/replay_recorder.hpp b/src/replay/replay_recorder.hpp index 33ea58493..c77c2015c 100644 --- a/src/replay/replay_recorder.hpp +++ b/src/replay/replay_recorder.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/scriptengine/script_engine.cpp b/src/scriptengine/script_engine.cpp index 05db7ff15..2d6bf293b 100644 --- a/src/scriptengine/script_engine.cpp +++ b/src/scriptengine/script_engine.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -39,15 +39,15 @@ namespace Scripting //Line Callback -void MessageCallback(const asSMessageInfo *msg, void *param) -{ - const char *type = "ERR "; - if (msg->type == asMSGTYPE_WARNING) - type = "WARN"; - else if (msg->type == asMSGTYPE_INFORMATION) - type = "INFO"; - - printf("%s (%d, %d) : %s : %s\n", msg->section, msg->row, msg->col, type, msg->message); +void MessageCallback(const asSMessageInfo *msg, void *param) +{ + const char *type = "ERR "; + if (msg->type == asMSGTYPE_WARNING) + type = "WARN"; + else if (msg->type == asMSGTYPE_INFORMATION) + type = "INFO"; + + printf("%s (%d, %d) : %s : %s\n", msg->section, msg->row, msg->col, type, msg->message); } @@ -60,8 +60,8 @@ ScriptEngine::ScriptEngine() { std::cout << "Failed to create script engine." << std::endl; } - - // The script compiler will write any compiler messages to the callback. + + // The script compiler will write any compiler messages to the callback. //m_engine->SetMessageCallback(asFUNCTION(MessageCallback), 0, asCALL_CDECL); // Configure the script engine with all the functions, diff --git a/src/scriptengine/script_engine.hpp b/src/scriptengine/script_engine.hpp index 3334a86a4..6d742ccc5 100644 --- a/src/scriptengine/script_engine.hpp +++ b/src/scriptengine/script_engine.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/scriptengine/script_kart.cpp b/src/scriptengine/script_kart.cpp index 8aae258c1..458168e4f 100644 --- a/src/scriptengine/script_kart.cpp +++ b/src/scriptengine/script_kart.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/scriptengine/script_kart.hpp b/src/scriptengine/script_kart.hpp index b214e7d1e..5ddca0e09 100644 --- a/src/scriptengine/script_kart.hpp +++ b/src/scriptengine/script_kart.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/scriptengine/script_physics.cpp b/src/scriptengine/script_physics.cpp index 657665b68..7f33d7617 100644 --- a/src/scriptengine/script_physics.cpp +++ b/src/scriptengine/script_physics.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/scriptengine/script_physics.hpp b/src/scriptengine/script_physics.hpp index ff52c29f9..d6f47534d 100644 --- a/src/scriptengine/script_physics.hpp +++ b/src/scriptengine/script_physics.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/scriptengine/script_track.cpp b/src/scriptengine/script_track.cpp index 7b66c31f3..26db06ce8 100644 --- a/src/scriptengine/script_track.cpp +++ b/src/scriptengine/script_track.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/scriptengine/script_track.hpp b/src/scriptengine/script_track.hpp index c4d29c9c6..ddea74408 100644 --- a/src/scriptengine/script_track.hpp +++ b/src/scriptengine/script_track.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/scriptengine/scriptvec3.cpp b/src/scriptengine/scriptvec3.cpp index 02dc3c62f..0f7bc9306 100644 --- a/src/scriptengine/scriptvec3.cpp +++ b/src/scriptengine/scriptvec3.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/scriptengine/scriptvec3.hpp b/src/scriptengine/scriptvec3.hpp index 468fc3237..0aae113e9 100644 --- a/src/scriptengine/scriptvec3.hpp +++ b/src/scriptengine/scriptvec3.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 SuperTuxKart Team +// Copyright (C) 2014-2015 SuperTuxKart Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/addons_screen.cpp b/src/states_screens/addons_screen.cpp index c7c851ec7..aa87e1866 100644 --- a/src/states_screens/addons_screen.cpp +++ b/src/states_screens/addons_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Lucas Baudin, Joerg Henrichs +// Copyright (C) 2010-2015 Lucas Baudin, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/addons_screen.hpp b/src/states_screens/addons_screen.hpp index 460543aa5..63c0f3371 100644 --- a/src/states_screens/addons_screen.hpp +++ b/src/states_screens/addons_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Lucas Baudin, Joerg Henrichs +// Copyright (C) 2010-2015 Lucas Baudin, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/arenas_screen.cpp b/src/states_screens/arenas_screen.cpp index 10a3dc412..974052c85 100644 --- a/src/states_screens/arenas_screen.cpp +++ b/src/states_screens/arenas_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/arenas_screen.hpp b/src/states_screens/arenas_screen.hpp index 898538e3e..097e3c3e1 100644 --- a/src/states_screens/arenas_screen.hpp +++ b/src/states_screens/arenas_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/create_server_screen.cpp b/src/states_screens/create_server_screen.cpp index 408bc0ba8..283857fb8 100644 --- a/src/states_screens/create_server_screen.cpp +++ b/src/states_screens/create_server_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/create_server_screen.hpp b/src/states_screens/create_server_screen.hpp index f701b0cdd..d960cec53 100644 --- a/src/states_screens/create_server_screen.hpp +++ b/src/states_screens/create_server_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/credits.cpp b/src/states_screens/credits.cpp index 38c9f1084..4592f729d 100644 --- a/src/states_screens/credits.cpp +++ b/src/states_screens/credits.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/credits.hpp b/src/states_screens/credits.hpp index 237ffdf6e..7c594bf6c 100644 --- a/src/states_screens/credits.hpp +++ b/src/states_screens/credits.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/cutscene_gui.cpp b/src/states_screens/cutscene_gui.cpp index 4d4399e5e..de5f7581c 100644 --- a/src/states_screens/cutscene_gui.cpp +++ b/src/states_screens/cutscene_gui.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Marianne Gagnon +// Copyright (C) 2012-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/cutscene_gui.hpp b/src/states_screens/cutscene_gui.hpp index 2b166a812..d71a501b8 100644 --- a/src/states_screens/cutscene_gui.hpp +++ b/src/states_screens/cutscene_gui.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Marianne Gagnon +// Copyright (C) 2012-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/add_device_dialog.cpp b/src/states_screens/dialogs/add_device_dialog.cpp index a5d422a8d..96a21121f 100644 --- a/src/states_screens/dialogs/add_device_dialog.cpp +++ b/src/states_screens/dialogs/add_device_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/add_device_dialog.hpp b/src/states_screens/dialogs/add_device_dialog.hpp index 8bac559ff..39858b3cb 100644 --- a/src/states_screens/dialogs/add_device_dialog.hpp +++ b/src/states_screens/dialogs/add_device_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/addons_loading.cpp b/src/states_screens/dialogs/addons_loading.cpp index 9b7269d5c..b90a65a32 100644 --- a/src/states_screens/dialogs/addons_loading.cpp +++ b/src/states_screens/dialogs/addons_loading.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon, Joerg Henrichs +// Copyright (C) 2009-2015 Marianne Gagnon, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/addons_loading.hpp b/src/states_screens/dialogs/addons_loading.hpp index 27f52a431..9f025f78a 100644 --- a/src/states_screens/dialogs/addons_loading.hpp +++ b/src/states_screens/dialogs/addons_loading.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Lucas Baudin +// Copyright (C) 2010-2015 Lucas Baudin // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/change_password_dialog.cpp b/src/states_screens/dialogs/change_password_dialog.cpp index 6104d997d..e4aa34a11 100644 --- a/src/states_screens/dialogs/change_password_dialog.cpp +++ b/src/states_screens/dialogs/change_password_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/change_password_dialog.hpp b/src/states_screens/dialogs/change_password_dialog.hpp index 396031979..e1eaaa14e 100644 --- a/src/states_screens/dialogs/change_password_dialog.hpp +++ b/src/states_screens/dialogs/change_password_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/confirm_resolution_dialog.cpp b/src/states_screens/dialogs/confirm_resolution_dialog.cpp index 591dcd815..a418b577e 100644 --- a/src/states_screens/dialogs/confirm_resolution_dialog.cpp +++ b/src/states_screens/dialogs/confirm_resolution_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/confirm_resolution_dialog.hpp b/src/states_screens/dialogs/confirm_resolution_dialog.hpp index dc3ad1605..9d8b97b48 100644 --- a/src/states_screens/dialogs/confirm_resolution_dialog.hpp +++ b/src/states_screens/dialogs/confirm_resolution_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/custom_video_settings.cpp b/src/states_screens/dialogs/custom_video_settings.cpp index 5a35cfd70..cbbab6121 100644 --- a/src/states_screens/dialogs/custom_video_settings.cpp +++ b/src/states_screens/dialogs/custom_video_settings.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/custom_video_settings.hpp b/src/states_screens/dialogs/custom_video_settings.hpp index 7ab896056..a80c6eca2 100644 --- a/src/states_screens/dialogs/custom_video_settings.hpp +++ b/src/states_screens/dialogs/custom_video_settings.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/debug_slider.cpp b/src/states_screens/dialogs/debug_slider.cpp index 2e16c817e..464977cb3 100644 --- a/src/states_screens/dialogs/debug_slider.cpp +++ b/src/states_screens/dialogs/debug_slider.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/debug_slider.hpp b/src/states_screens/dialogs/debug_slider.hpp index ea3dcf011..2a8be11cf 100644 --- a/src/states_screens/dialogs/debug_slider.hpp +++ b/src/states_screens/dialogs/debug_slider.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/enter_gp_name_dialog.cpp b/src/states_screens/dialogs/enter_gp_name_dialog.cpp index c2aaa10c7..d78da0278 100644 --- a/src/states_screens/dialogs/enter_gp_name_dialog.cpp +++ b/src/states_screens/dialogs/enter_gp_name_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Marc Coll +// Copyright (C) 2014-2015 Marc Coll // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -144,4 +144,4 @@ void EnterGPNameDialog::validateName() m_self_destroy = true; } -} \ No newline at end of file +} diff --git a/src/states_screens/dialogs/enter_gp_name_dialog.hpp b/src/states_screens/dialogs/enter_gp_name_dialog.hpp index 99e729a06..a1f268514 100644 --- a/src/states_screens/dialogs/enter_gp_name_dialog.hpp +++ b/src/states_screens/dialogs/enter_gp_name_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Marc Coll +// Copyright (C) 2014-2015 Marc Coll // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/gp_info_dialog.cpp b/src/states_screens/dialogs/gp_info_dialog.cpp index 464e9af30..712126929 100644 --- a/src/states_screens/dialogs/gp_info_dialog.cpp +++ b/src/states_screens/dialogs/gp_info_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/gp_info_dialog.hpp b/src/states_screens/dialogs/gp_info_dialog.hpp index 93158162e..7b4874c6c 100644 --- a/src/states_screens/dialogs/gp_info_dialog.hpp +++ b/src/states_screens/dialogs/gp_info_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/message_dialog.cpp b/src/states_screens/dialogs/message_dialog.cpp index ecf24646c..f3fa7a2b3 100644 --- a/src/states_screens/dialogs/message_dialog.cpp +++ b/src/states_screens/dialogs/message_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/message_dialog.hpp b/src/states_screens/dialogs/message_dialog.hpp index 62bbe5b06..5164d4bee 100644 --- a/src/states_screens/dialogs/message_dialog.hpp +++ b/src/states_screens/dialogs/message_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/press_a_key_dialog.cpp b/src/states_screens/dialogs/press_a_key_dialog.cpp index 464b09fa5..c765484ed 100644 --- a/src/states_screens/dialogs/press_a_key_dialog.cpp +++ b/src/states_screens/dialogs/press_a_key_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/press_a_key_dialog.hpp b/src/states_screens/dialogs/press_a_key_dialog.hpp index 090cf929a..953bd1e1a 100644 --- a/src/states_screens/dialogs/press_a_key_dialog.hpp +++ b/src/states_screens/dialogs/press_a_key_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/race_paused_dialog.cpp b/src/states_screens/dialogs/race_paused_dialog.cpp index 219665645..1a4d2e442 100644 --- a/src/states_screens/dialogs/race_paused_dialog.cpp +++ b/src/states_screens/dialogs/race_paused_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/race_paused_dialog.hpp b/src/states_screens/dialogs/race_paused_dialog.hpp index efefda4be..3b9c16d65 100644 --- a/src/states_screens/dialogs/race_paused_dialog.hpp +++ b/src/states_screens/dialogs/race_paused_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/recovery_dialog.cpp b/src/states_screens/dialogs/recovery_dialog.cpp index b08545700..0298dc353 100644 --- a/src/states_screens/dialogs/recovery_dialog.cpp +++ b/src/states_screens/dialogs/recovery_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/recovery_dialog.hpp b/src/states_screens/dialogs/recovery_dialog.hpp index 5920bb4a2..65fc861e7 100644 --- a/src/states_screens/dialogs/recovery_dialog.hpp +++ b/src/states_screens/dialogs/recovery_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/registration_dialog.cpp b/src/states_screens/dialogs/registration_dialog.cpp index c876fc910..1ec7b325f 100644 --- a/src/states_screens/dialogs/registration_dialog.cpp +++ b/src/states_screens/dialogs/registration_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/registration_dialog.hpp b/src/states_screens/dialogs/registration_dialog.hpp index a1cef727b..abd05fc78 100644 --- a/src/states_screens/dialogs/registration_dialog.hpp +++ b/src/states_screens/dialogs/registration_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/select_challenge.cpp b/src/states_screens/dialogs/select_challenge.cpp index 3c2cc7041..ea8583a9c 100644 --- a/src/states_screens/dialogs/select_challenge.cpp +++ b/src/states_screens/dialogs/select_challenge.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Marianne Gagnon +// Copyright (C) 2012-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/select_challenge.hpp b/src/states_screens/dialogs/select_challenge.hpp index 2a39a17e1..e35dcc5e7 100644 --- a/src/states_screens/dialogs/select_challenge.hpp +++ b/src/states_screens/dialogs/select_challenge.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Marianne Gagnon +// Copyright (C) 2012-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/server_info_dialog.cpp b/src/states_screens/dialogs/server_info_dialog.cpp index 094a2be9c..439a7b40a 100644 --- a/src/states_screens/dialogs/server_info_dialog.cpp +++ b/src/states_screens/dialogs/server_info_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/server_info_dialog.hpp b/src/states_screens/dialogs/server_info_dialog.hpp index 9e8f91f8e..31381bbfe 100644 --- a/src/states_screens/dialogs/server_info_dialog.hpp +++ b/src/states_screens/dialogs/server_info_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/tutorial_message_dialog.cpp b/src/states_screens/dialogs/tutorial_message_dialog.cpp index 3eda7e0cb..0e53155f1 100644 --- a/src/states_screens/dialogs/tutorial_message_dialog.cpp +++ b/src/states_screens/dialogs/tutorial_message_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/tutorial_message_dialog.hpp b/src/states_screens/dialogs/tutorial_message_dialog.hpp index 6bfcfdfb7..743300465 100644 --- a/src/states_screens/dialogs/tutorial_message_dialog.hpp +++ b/src/states_screens/dialogs/tutorial_message_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Marianne Gagnon +// Copyright (C) 2010-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/user_info_dialog.cpp b/src/states_screens/dialogs/user_info_dialog.cpp index 872062fe1..e43d4c21b 100644 --- a/src/states_screens/dialogs/user_info_dialog.cpp +++ b/src/states_screens/dialogs/user_info_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/user_info_dialog.hpp b/src/states_screens/dialogs/user_info_dialog.hpp index 63c6a2e65..0726fd4e5 100644 --- a/src/states_screens/dialogs/user_info_dialog.hpp +++ b/src/states_screens/dialogs/user_info_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/vote_dialog.cpp b/src/states_screens/dialogs/vote_dialog.cpp index 89a4df154..5433f3bb7 100644 --- a/src/states_screens/dialogs/vote_dialog.cpp +++ b/src/states_screens/dialogs/vote_dialog.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/dialogs/vote_dialog.hpp b/src/states_screens/dialogs/vote_dialog.hpp index 32fed5570..511b31288 100644 --- a/src/states_screens/dialogs/vote_dialog.hpp +++ b/src/states_screens/dialogs/vote_dialog.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/easter_egg_screen.cpp b/src/states_screens/easter_egg_screen.cpp index 2a593d2cf..b88bb6555 100644 --- a/src/states_screens/easter_egg_screen.cpp +++ b/src/states_screens/easter_egg_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/easter_egg_screen.hpp b/src/states_screens/easter_egg_screen.hpp index 605fa526c..fca29858d 100644 --- a/src/states_screens/easter_egg_screen.hpp +++ b/src/states_screens/easter_egg_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/edit_gp_screen.cpp b/src/states_screens/edit_gp_screen.cpp index 68199d986..243553de0 100644 --- a/src/states_screens/edit_gp_screen.cpp +++ b/src/states_screens/edit_gp_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Marc Coll +// Copyright (C) 2014-2015 Marc Coll // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/edit_gp_screen.hpp b/src/states_screens/edit_gp_screen.hpp index 35adeb591..5f3941437 100644 --- a/src/states_screens/edit_gp_screen.hpp +++ b/src/states_screens/edit_gp_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Marc Coll +// Copyright (C) 2014-2015 Marc Coll // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/edit_track_screen.cpp b/src/states_screens/edit_track_screen.cpp index 4e3946ef0..b5a5f8db3 100644 --- a/src/states_screens/edit_track_screen.cpp +++ b/src/states_screens/edit_track_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Marc Coll +// Copyright (C) 2014-2015 Marc Coll // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/edit_track_screen.hpp b/src/states_screens/edit_track_screen.hpp index a5edb982b..1d9d753c4 100644 --- a/src/states_screens/edit_track_screen.hpp +++ b/src/states_screens/edit_track_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Marc Coll +// Copyright (C) 2014-2015 Marc Coll // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/feature_unlocked.cpp b/src/states_screens/feature_unlocked.cpp index 2e9f32b0f..2bd737ff9 100644 --- a/src/states_screens/feature_unlocked.cpp +++ b/src/states_screens/feature_unlocked.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/feature_unlocked.hpp b/src/states_screens/feature_unlocked.hpp index 70589ab05..606ad58e2 100644 --- a/src/states_screens/feature_unlocked.hpp +++ b/src/states_screens/feature_unlocked.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/gp_info_screen.cpp b/src/states_screens/gp_info_screen.cpp index faff5444b..12c9f07f0 100644 --- a/src/states_screens/gp_info_screen.cpp +++ b/src/states_screens/gp_info_screen.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2014 Marianne Gagnon -// 2014 Joerg Henrichs, konstin +// Copyright (C) 2009-2015 Marianne Gagnon +// (C) 2014-2015 Joerg Henrichs, konstin // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/gp_info_screen.hpp b/src/states_screens/gp_info_screen.hpp index 3e579bfc8..25a08d9c8 100644 --- a/src/states_screens/gp_info_screen.hpp +++ b/src/states_screens/gp_info_screen.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2014 Marianne Gagnon -// 2014 Joerg Henrichs +// Copyright (C) 2009-2015 Marianne Gagnon +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/grand_prix_cutscene.cpp b/src/states_screens/grand_prix_cutscene.cpp index f4851de81..6a53d417a 100644 --- a/src/states_screens/grand_prix_cutscene.cpp +++ b/src/states_screens/grand_prix_cutscene.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 konstin +// Copyright (C) 2014-2015 konstin // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/grand_prix_cutscene.hpp b/src/states_screens/grand_prix_cutscene.hpp index d85834b7b..adf8b129a 100644 --- a/src/states_screens/grand_prix_cutscene.hpp +++ b/src/states_screens/grand_prix_cutscene.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 konstin +// Copyright (C) 2014-2015 konstin // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/grand_prix_editor_screen.cpp b/src/states_screens/grand_prix_editor_screen.cpp index 1292202e4..3366057df 100644 --- a/src/states_screens/grand_prix_editor_screen.cpp +++ b/src/states_screens/grand_prix_editor_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Marc Coll +// Copyright (C) 2014-2015 Marc Coll // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/grand_prix_editor_screen.hpp b/src/states_screens/grand_prix_editor_screen.hpp index 1c329dfd9..f24f5ed6a 100644 --- a/src/states_screens/grand_prix_editor_screen.hpp +++ b/src/states_screens/grand_prix_editor_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Marc Coll +// Copyright (C) 2014-2015 Marc Coll // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/grand_prix_lose.cpp b/src/states_screens/grand_prix_lose.cpp index 9a3db63c0..0120499ae 100644 --- a/src/states_screens/grand_prix_lose.cpp +++ b/src/states_screens/grand_prix_lose.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/grand_prix_lose.hpp b/src/states_screens/grand_prix_lose.hpp index a1cd0d6a4..ba49685b3 100644 --- a/src/states_screens/grand_prix_lose.hpp +++ b/src/states_screens/grand_prix_lose.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/grand_prix_win.cpp b/src/states_screens/grand_prix_win.cpp index 36ccc122c..a66abf995 100644 --- a/src/states_screens/grand_prix_win.cpp +++ b/src/states_screens/grand_prix_win.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/grand_prix_win.hpp b/src/states_screens/grand_prix_win.hpp index 06e999d12..d5ecdfd2d 100644 --- a/src/states_screens/grand_prix_win.hpp +++ b/src/states_screens/grand_prix_win.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 SuperTuxKart-Team +// Copyright (C) 2010-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/help_screen_1.cpp b/src/states_screens/help_screen_1.cpp index 4280202fc..83dcdeeb0 100644 --- a/src/states_screens/help_screen_1.cpp +++ b/src/states_screens/help_screen_1.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/help_screen_1.hpp b/src/states_screens/help_screen_1.hpp index 6677c6001..e517f721c 100644 --- a/src/states_screens/help_screen_1.hpp +++ b/src/states_screens/help_screen_1.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/help_screen_2.cpp b/src/states_screens/help_screen_2.cpp index b2b08a0a1..a5707f964 100644 --- a/src/states_screens/help_screen_2.cpp +++ b/src/states_screens/help_screen_2.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/help_screen_2.hpp b/src/states_screens/help_screen_2.hpp index d7a1d75ad..87ebfe963 100644 --- a/src/states_screens/help_screen_2.hpp +++ b/src/states_screens/help_screen_2.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/help_screen_3.cpp b/src/states_screens/help_screen_3.cpp index a8a7cb4f6..9118a37cb 100644 --- a/src/states_screens/help_screen_3.cpp +++ b/src/states_screens/help_screen_3.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/help_screen_3.hpp b/src/states_screens/help_screen_3.hpp index 74a5e2258..a0b1e3f4f 100644 --- a/src/states_screens/help_screen_3.hpp +++ b/src/states_screens/help_screen_3.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/help_screen_4.cpp b/src/states_screens/help_screen_4.cpp index c271467db..aceb1e5c5 100644 --- a/src/states_screens/help_screen_4.cpp +++ b/src/states_screens/help_screen_4.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/help_screen_4.hpp b/src/states_screens/help_screen_4.hpp index 8142b4540..b7d55e096 100644 --- a/src/states_screens/help_screen_4.hpp +++ b/src/states_screens/help_screen_4.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/kart_selection.cpp b/src/states_screens/kart_selection.cpp index 1c8ff4b6c..05269388b 100644 --- a/src/states_screens/kart_selection.cpp +++ b/src/states_screens/kart_selection.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/kart_selection.hpp b/src/states_screens/kart_selection.hpp index 0ef09a451..028720c18 100644 --- a/src/states_screens/kart_selection.hpp +++ b/src/states_screens/kart_selection.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/main_menu_screen.cpp b/src/states_screens/main_menu_screen.cpp index da0dd1916..914af70d6 100644 --- a/src/states_screens/main_menu_screen.cpp +++ b/src/states_screens/main_menu_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/main_menu_screen.hpp b/src/states_screens/main_menu_screen.hpp index 141415859..0da2a18df 100644 --- a/src/states_screens/main_menu_screen.hpp +++ b/src/states_screens/main_menu_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/networking_lobby.cpp b/src/states_screens/networking_lobby.cpp index 37ed2a886..33279759c 100644 --- a/src/states_screens/networking_lobby.cpp +++ b/src/states_screens/networking_lobby.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/networking_lobby.hpp b/src/states_screens/networking_lobby.hpp index d864fd27d..d98595253 100644 --- a/src/states_screens/networking_lobby.hpp +++ b/src/states_screens/networking_lobby.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_profile_achievements.cpp b/src/states_screens/online_profile_achievements.cpp index 39d8478bb..0cddada26 100644 --- a/src/states_screens/online_profile_achievements.cpp +++ b/src/states_screens/online_profile_achievements.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_profile_achievements.hpp b/src/states_screens/online_profile_achievements.hpp index 963fbb8fe..a25aa5e73 100644 --- a/src/states_screens/online_profile_achievements.hpp +++ b/src/states_screens/online_profile_achievements.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_profile_base.cpp b/src/states_screens/online_profile_base.cpp index 3a414d5d4..605c09984 100644 --- a/src/states_screens/online_profile_base.cpp +++ b/src/states_screens/online_profile_base.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_profile_base.hpp b/src/states_screens/online_profile_base.hpp index 2a57567ad..0285edb4b 100644 --- a/src/states_screens/online_profile_base.hpp +++ b/src/states_screens/online_profile_base.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_profile_friends.cpp b/src/states_screens/online_profile_friends.cpp index 822e53ded..a7dd2a9d5 100644 --- a/src/states_screens/online_profile_friends.cpp +++ b/src/states_screens/online_profile_friends.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_profile_friends.hpp b/src/states_screens/online_profile_friends.hpp index 319f97a7e..a8dd9bb36 100644 --- a/src/states_screens/online_profile_friends.hpp +++ b/src/states_screens/online_profile_friends.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_profile_settings.cpp b/src/states_screens/online_profile_settings.cpp index 06abe7bde..1231b2c16 100644 --- a/src/states_screens/online_profile_settings.cpp +++ b/src/states_screens/online_profile_settings.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010 Glenn De Jonghe +// Copyright (C) 2010-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_profile_settings.hpp b/src/states_screens/online_profile_settings.hpp index 36fbd2669..6ed75ec8c 100644 --- a/src/states_screens/online_profile_settings.hpp +++ b/src/states_screens/online_profile_settings.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_screen.cpp b/src/states_screens/online_screen.cpp index cea7b4fe2..6f1d26624 100644 --- a/src/states_screens/online_screen.cpp +++ b/src/states_screens/online_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_screen.hpp b/src/states_screens/online_screen.hpp index 472e23deb..12af003a7 100644 --- a/src/states_screens/online_screen.hpp +++ b/src/states_screens/online_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_user_search.cpp b/src/states_screens/online_user_search.cpp index 872f7fcb3..5c9953471 100644 --- a/src/states_screens/online_user_search.cpp +++ b/src/states_screens/online_user_search.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010 Lucas Baudin, Joerg Henrichs +// Copyright (C) 2010-2015 Lucas Baudin, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/online_user_search.hpp b/src/states_screens/online_user_search.hpp index 4bc1082e9..5ec93db07 100644 --- a/src/states_screens/online_user_search.hpp +++ b/src/states_screens/online_user_search.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_audio.cpp b/src/states_screens/options_screen_audio.cpp index e5bbaf8b3..734c12a2d 100644 --- a/src/states_screens/options_screen_audio.cpp +++ b/src/states_screens/options_screen_audio.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_audio.hpp b/src/states_screens/options_screen_audio.hpp index 2b6468de0..fd48973ed 100644 --- a/src/states_screens/options_screen_audio.hpp +++ b/src/states_screens/options_screen_audio.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_input.cpp b/src/states_screens/options_screen_input.cpp index 1d9b34041..b92880471 100644 --- a/src/states_screens/options_screen_input.cpp +++ b/src/states_screens/options_screen_input.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_input.hpp b/src/states_screens/options_screen_input.hpp index 02fcfc598..9d0ff1094 100644 --- a/src/states_screens/options_screen_input.hpp +++ b/src/states_screens/options_screen_input.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_input2.cpp b/src/states_screens/options_screen_input2.cpp index 0f60f181e..a9031dcd1 100644 --- a/src/states_screens/options_screen_input2.cpp +++ b/src/states_screens/options_screen_input2.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_input2.hpp b/src/states_screens/options_screen_input2.hpp index ee2c7fbd0..bc3ea8abc 100644 --- a/src/states_screens/options_screen_input2.hpp +++ b/src/states_screens/options_screen_input2.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_ui.cpp b/src/states_screens/options_screen_ui.cpp index f885987b7..fe089e73c 100644 --- a/src/states_screens/options_screen_ui.cpp +++ b/src/states_screens/options_screen_ui.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_ui.hpp b/src/states_screens/options_screen_ui.hpp index 91d419413..959cc9723 100644 --- a/src/states_screens/options_screen_ui.hpp +++ b/src/states_screens/options_screen_ui.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_video.cpp b/src/states_screens/options_screen_video.cpp index 887fb5d69..3d293d0de 100644 --- a/src/states_screens/options_screen_video.cpp +++ b/src/states_screens/options_screen_video.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/options_screen_video.hpp b/src/states_screens/options_screen_video.hpp index 14c2dfca5..745863b2c 100644 --- a/src/states_screens/options_screen_video.hpp +++ b/src/states_screens/options_screen_video.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_gui.cpp b/src/states_screens/race_gui.cpp index 55dc87ed7..92ff1649c 100644 --- a/src/states_screens/race_gui.cpp +++ b/src/states_screens/race_gui.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Joerg Henrichs, SuperTuxKart-Team, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Joerg Henrichs, SuperTuxKart-Team, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_gui.hpp b/src/states_screens/race_gui.hpp index 8ae4d626b..fe2730b96 100644 --- a/src/states_screens/race_gui.hpp +++ b/src/states_screens/race_gui.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Joerg Henrichs, SuperTuxKart-Team, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Joerg Henrichs, SuperTuxKart-Team, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_gui_base.cpp b/src/states_screens/race_gui_base.cpp index 4465b8ffc..2e00ec0b1 100644 --- a/src/states_screens/race_gui_base.cpp +++ b/src/states_screens/race_gui_base.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Joerg Henrichs, SuperTuxKart-Team, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Joerg Henrichs, SuperTuxKart-Team, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_gui_base.hpp b/src/states_screens/race_gui_base.hpp index 05a20beb7..cf6eaa687 100644 --- a/src/states_screens/race_gui_base.hpp +++ b/src/states_screens/race_gui_base.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_gui_overworld.cpp b/src/states_screens/race_gui_overworld.cpp index 938844a26..d222b5857 100644 --- a/src/states_screens/race_gui_overworld.cpp +++ b/src/states_screens/race_gui_overworld.cpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Joerg Henrichs, SuperTuxKart-Team, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Joerg Henrichs, SuperTuxKart-Team, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_gui_overworld.hpp b/src/states_screens/race_gui_overworld.hpp index 950c2d9bd..7a3a9535f 100644 --- a/src/states_screens/race_gui_overworld.hpp +++ b/src/states_screens/race_gui_overworld.hpp @@ -1,7 +1,7 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2006-2013 Joerg Henrichs, SuperTuxKart-Team, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2006-2015 Joerg Henrichs, SuperTuxKart-Team, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_result_gui.cpp b/src/states_screens/race_result_gui.cpp index 80f5cbbbc..3e6e57046 100644 --- a/src/states_screens/race_result_gui.cpp +++ b/src/states_screens/race_result_gui.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_result_gui.hpp b/src/states_screens/race_result_gui.hpp index 4e365b114..09ccb4531 100644 --- a/src/states_screens/race_result_gui.hpp +++ b/src/states_screens/race_result_gui.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_setup_screen.cpp b/src/states_screens/race_setup_screen.cpp index bef5316c2..cc9780e10 100644 --- a/src/states_screens/race_setup_screen.cpp +++ b/src/states_screens/race_setup_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/race_setup_screen.hpp b/src/states_screens/race_setup_screen.hpp index 3569a6cc2..60ca8bfe2 100644 --- a/src/states_screens/race_setup_screen.hpp +++ b/src/states_screens/race_setup_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/register_screen.cpp b/src/states_screens/register_screen.cpp index 383e60360..387ba9a76 100644 --- a/src/states_screens/register_screen.cpp +++ b/src/states_screens/register_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Joerg Henrichs +// Copyright (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/register_screen.hpp b/src/states_screens/register_screen.hpp index 6c73b7acc..edf935f6c 100644 --- a/src/states_screens/register_screen.hpp +++ b/src/states_screens/register_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2014 Joerg Henrichs +// Copyright (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/server_selection.cpp b/src/states_screens/server_selection.cpp index a0794da33..2689b22fc 100644 --- a/src/states_screens/server_selection.cpp +++ b/src/states_screens/server_selection.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010 Lucas Baudin, Joerg Henrichs +// Copyright (C) 2010-2015 Lucas Baudin, Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/server_selection.hpp b/src/states_screens/server_selection.hpp index aecd29992..408164000 100644 --- a/src/states_screens/server_selection.hpp +++ b/src/states_screens/server_selection.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/soccer_setup_screen.cpp b/src/states_screens/soccer_setup_screen.cpp index 60286e446..dd2c13edd 100644 --- a/src/states_screens/soccer_setup_screen.cpp +++ b/src/states_screens/soccer_setup_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2013 Lionel Fuentes +// Copyright (C) 2013-2015 Lionel Fuentes // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/soccer_setup_screen.hpp b/src/states_screens/soccer_setup_screen.hpp index c8fe50a9f..7d9ddb058 100644 --- a/src/states_screens/soccer_setup_screen.hpp +++ b/src/states_screens/soccer_setup_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2013 Lionel Fuentes +// Copyright (C) 2013-2015 Lionel Fuentes // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/state_manager.cpp b/src/states_screens/state_manager.cpp index a1356e7d2..a2ef65d63 100644 --- a/src/states_screens/state_manager.cpp +++ b/src/states_screens/state_manager.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/state_manager.hpp b/src/states_screens/state_manager.hpp index cfda60c06..f11120c01 100644 --- a/src/states_screens/state_manager.hpp +++ b/src/states_screens/state_manager.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/track_info_screen.cpp b/src/states_screens/track_info_screen.cpp index d6a78e7a4..ff6887ed7 100644 --- a/src/states_screens/track_info_screen.cpp +++ b/src/states_screens/track_info_screen.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2014 Marianne Gagnon -// 2014 Joerg Henrichs +// Copyright (C) 2009-2015 Marianne Gagnon +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/track_info_screen.hpp b/src/states_screens/track_info_screen.hpp index c35970cb1..b4583bdd9 100644 --- a/src/states_screens/track_info_screen.hpp +++ b/src/states_screens/track_info_screen.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2014 Marianne Gagnon -// 2014 Joerg Henrichs +// Copyright (C) 2009-2015 Marianne Gagnon +// (C) 2014-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/tracks_screen.cpp b/src/states_screens/tracks_screen.cpp index 17217e066..32bd92abf 100644 --- a/src/states_screens/tracks_screen.cpp +++ b/src/states_screens/tracks_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/tracks_screen.hpp b/src/states_screens/tracks_screen.hpp index 31898b39b..c0e205844 100644 --- a/src/states_screens/tracks_screen.hpp +++ b/src/states_screens/tracks_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/user_screen.cpp b/src/states_screens/user_screen.cpp index 2f12a5c99..3c4658c70 100644 --- a/src/states_screens/user_screen.cpp +++ b/src/states_screens/user_screen.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/states_screens/user_screen.hpp b/src/states_screens/user_screen.hpp index 6d21b9d05..b8257db35 100644 --- a/src/states_screens/user_screen.hpp +++ b/src/states_screens/user_screen.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/dictionary.cpp b/src/tinygettext/dictionary.cpp index 4873527eb..0fae1272c 100644 --- a/src/tinygettext/dictionary.cpp +++ b/src/tinygettext/dictionary.cpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/dictionary.hpp b/src/tinygettext/dictionary.hpp index dd492c17c..8a1c64b97 100644 --- a/src/tinygettext/dictionary.hpp +++ b/src/tinygettext/dictionary.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/dictionary_manager.cpp b/src/tinygettext/dictionary_manager.cpp index 254530042..f123d2293 100644 --- a/src/tinygettext/dictionary_manager.cpp +++ b/src/tinygettext/dictionary_manager.cpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/dictionary_manager.hpp b/src/tinygettext/dictionary_manager.hpp index 994b941ea..82f6a0d4b 100644 --- a/src/tinygettext/dictionary_manager.hpp +++ b/src/tinygettext/dictionary_manager.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/file_system.hpp b/src/tinygettext/file_system.hpp index 9881637b5..cc8b95032 100644 --- a/src/tinygettext/file_system.hpp +++ b/src/tinygettext/file_system.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2013 Ingo Ruhnke +// Copyright (C) 2009-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/iconv.cpp b/src/tinygettext/iconv.cpp index da4d5e400..e28f7a3ac 100644 --- a/src/tinygettext/iconv.cpp +++ b/src/tinygettext/iconv.cpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2013 Ingo Ruhnke +// Copyright (C) 2009-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/iconv.hpp b/src/tinygettext/iconv.hpp index e1e43122c..8bb2bd671 100644 --- a/src/tinygettext/iconv.hpp +++ b/src/tinygettext/iconv.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // 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 diff --git a/src/tinygettext/language.cpp b/src/tinygettext/language.cpp index e6303cd9d..aefed84b7 100644 --- a/src/tinygettext/language.cpp +++ b/src/tinygettext/language.cpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/language.hpp b/src/tinygettext/language.hpp index 037200f59..46f47d299 100644 --- a/src/tinygettext/language.hpp +++ b/src/tinygettext/language.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/log_stream.hpp b/src/tinygettext/log_stream.hpp index 333c72ae5..814dad151 100644 --- a/src/tinygettext/log_stream.hpp +++ b/src/tinygettext/log_stream.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2013 Ingo Ruhnke +// Copyright (C) 2009-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/plural_forms.cpp b/src/tinygettext/plural_forms.cpp index c206ca587..3ac31f43c 100644 --- a/src/tinygettext/plural_forms.cpp +++ b/src/tinygettext/plural_forms.cpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/plural_forms.hpp b/src/tinygettext/plural_forms.hpp index b51f73aa2..ce8fc3eb1 100644 --- a/src/tinygettext/plural_forms.hpp +++ b/src/tinygettext/plural_forms.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/po_parser.cpp b/src/tinygettext/po_parser.cpp index f63157d0c..2af6edef5 100644 --- a/src/tinygettext/po_parser.cpp +++ b/src/tinygettext/po_parser.cpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2013 Ingo Ruhnke +// Copyright (C) 2009-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/po_parser.hpp b/src/tinygettext/po_parser.hpp index c02949e12..922e617d6 100644 --- a/src/tinygettext/po_parser.hpp +++ b/src/tinygettext/po_parser.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2013 Ingo Ruhnke +// Copyright (C) 2009-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/stk_file_system.cpp b/src/tinygettext/stk_file_system.cpp index 4381548ba..496bdb5d3 100644 --- a/src/tinygettext/stk_file_system.cpp +++ b/src/tinygettext/stk_file_system.cpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2013 Ingo Ruhnke +// Copyright (C) 2009-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/stk_file_system.hpp b/src/tinygettext/stk_file_system.hpp index 272201c20..850fc0bf0 100644 --- a/src/tinygettext/stk_file_system.hpp +++ b/src/tinygettext/stk_file_system.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2013 Ingo Ruhnke +// Copyright (C) 2009-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/tgt_log.cpp b/src/tinygettext/tgt_log.cpp index 3a9bc900e..280fcd0e6 100644 --- a/src/tinygettext/tgt_log.cpp +++ b/src/tinygettext/tgt_log.cpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2013 Ingo Ruhnke +// Copyright (C) 2009-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/tgt_log.hpp b/src/tinygettext/tgt_log.hpp index 393dbb748..0e34a5286 100644 --- a/src/tinygettext/tgt_log.hpp +++ b/src/tinygettext/tgt_log.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2013 Ingo Ruhnke +// Copyright (C) 2009-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/tinygettext.cpp b/src/tinygettext/tinygettext.cpp index f0134fc24..eaf17567e 100644 --- a/src/tinygettext/tinygettext.cpp +++ b/src/tinygettext/tinygettext.cpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tinygettext/tinygettext.hpp b/src/tinygettext/tinygettext.hpp index 1924299db..c481112eb 100644 --- a/src/tinygettext/tinygettext.hpp +++ b/src/tinygettext/tinygettext.hpp @@ -1,5 +1,5 @@ // tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2013 Ingo Ruhnke +// Copyright (C) 2006-2015 Ingo Ruhnke // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/ambient_light_sphere.cpp b/src/tracks/ambient_light_sphere.cpp index 3b1bdf9b9..806bd6f48 100644 --- a/src/tracks/ambient_light_sphere.cpp +++ b/src/tracks/ambient_light_sphere.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/ambient_light_sphere.hpp b/src/tracks/ambient_light_sphere.hpp index 74ae319c8..d3dd28d93 100644 --- a/src/tracks/ambient_light_sphere.hpp +++ b/src/tracks/ambient_light_sphere.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/bezier_curve.cpp b/src/tracks/bezier_curve.cpp index 8d45c7676..c64dab8c8 100644 --- a/src/tracks/bezier_curve.cpp +++ b/src/tracks/bezier_curve.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/bezier_curve.hpp b/src/tracks/bezier_curve.hpp index 2b2143f91..e41653365 100644 --- a/src/tracks/bezier_curve.hpp +++ b/src/tracks/bezier_curve.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_cannon.cpp b/src/tracks/check_cannon.cpp index 7effbe71b..34f30fcae 100644 --- a/src/tracks/check_cannon.cpp +++ b/src/tracks/check_cannon.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_cannon.hpp b/src/tracks/check_cannon.hpp index 9e3a62dea..3507195d3 100644 --- a/src/tracks/check_cannon.hpp +++ b/src/tracks/check_cannon.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_goal.cpp b/src/tracks/check_goal.cpp index f582f182f..5e2daaed6 100644 --- a/src/tracks/check_goal.cpp +++ b/src/tracks/check_goal.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_goal.hpp b/src/tracks/check_goal.hpp index 966ab3a69..3368924d4 100644 --- a/src/tracks/check_goal.hpp +++ b/src/tracks/check_goal.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_lap.cpp b/src/tracks/check_lap.cpp index bf92b9b10..016c987d5 100644 --- a/src/tracks/check_lap.cpp +++ b/src/tracks/check_lap.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_lap.hpp b/src/tracks/check_lap.hpp index 0d07cb310..b6d19a78a 100644 --- a/src/tracks/check_lap.hpp +++ b/src/tracks/check_lap.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_line.cpp b/src/tracks/check_line.cpp index 155170dc1..46d06bed3 100644 --- a/src/tracks/check_line.cpp +++ b/src/tracks/check_line.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_line.hpp b/src/tracks/check_line.hpp index 9b95a09eb..7d24f3a6f 100644 --- a/src/tracks/check_line.hpp +++ b/src/tracks/check_line.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_manager.cpp b/src/tracks/check_manager.cpp index 1281fd1cb..cc6309d19 100644 --- a/src/tracks/check_manager.cpp +++ b/src/tracks/check_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_manager.hpp b/src/tracks/check_manager.hpp index 20be19f2e..ecc62fb05 100644 --- a/src/tracks/check_manager.hpp +++ b/src/tracks/check_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_sphere.cpp b/src/tracks/check_sphere.cpp index 465b67bdb..bd07fcf24 100644 --- a/src/tracks/check_sphere.cpp +++ b/src/tracks/check_sphere.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_sphere.hpp b/src/tracks/check_sphere.hpp index 4d7a5fc90..4780ed681 100644 --- a/src/tracks/check_sphere.hpp +++ b/src/tracks/check_sphere.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_structure.cpp b/src/tracks/check_structure.cpp index e33179d17..c72421e27 100644 --- a/src/tracks/check_structure.cpp +++ b/src/tracks/check_structure.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/check_structure.hpp b/src/tracks/check_structure.hpp index 07382e2b2..e5e3a24c6 100644 --- a/src/tracks/check_structure.hpp +++ b/src/tracks/check_structure.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/graph_node.cpp b/src/tracks/graph_node.cpp index a48559830..81f5bfaa3 100644 --- a/src/tracks/graph_node.cpp +++ b/src/tracks/graph_node.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/graph_node.hpp b/src/tracks/graph_node.hpp index 43d1610f5..f0bc91640 100644 --- a/src/tracks/graph_node.hpp +++ b/src/tracks/graph_node.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/model_definition_loader.cpp b/src/tracks/model_definition_loader.cpp index 14fe029e2..21af0ffb8 100644 --- a/src/tracks/model_definition_loader.cpp +++ b/src/tracks/model_definition_loader.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/model_definition_loader.hpp b/src/tracks/model_definition_loader.hpp index bc4f48dcb..82a310108 100644 --- a/src/tracks/model_definition_loader.hpp +++ b/src/tracks/model_definition_loader.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/quad.cpp b/src/tracks/quad.cpp index d8757017f..729600f44 100644 --- a/src/tracks/quad.cpp +++ b/src/tracks/quad.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/quad.hpp b/src/tracks/quad.hpp index 4688ecb60..74f35abdc 100644 --- a/src/tracks/quad.hpp +++ b/src/tracks/quad.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/quad_graph.cpp b/src/tracks/quad_graph.cpp index ac061b7da..7c4e7197b 100644 --- a/src/tracks/quad_graph.cpp +++ b/src/tracks/quad_graph.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/quad_graph.hpp b/src/tracks/quad_graph.hpp index ca5850a92..b40d6ff0c 100644 --- a/src/tracks/quad_graph.hpp +++ b/src/tracks/quad_graph.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/quad_set.cpp b/src/tracks/quad_set.cpp index c262859af..0fa8d2d34 100644 --- a/src/tracks/quad_set.cpp +++ b/src/tracks/quad_set.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/quad_set.hpp b/src/tracks/quad_set.hpp index b7aff164c..8e646ae4e 100644 --- a/src/tracks/quad_set.hpp +++ b/src/tracks/quad_set.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/terrain_info.cpp b/src/tracks/terrain_info.cpp index 2347cad37..b10b367e9 100644 --- a/src/tracks/terrain_info.cpp +++ b/src/tracks/terrain_info.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/terrain_info.hpp b/src/tracks/terrain_info.hpp index 68301718a..4c3b7c17d 100644 --- a/src/tracks/terrain_info.hpp +++ b/src/tracks/terrain_info.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2007-2013 Joerg Henrichs +// Copyright (C) 2007-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index 043fbac26..dc54d4896 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2009-2013 Joerg Henrichs, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2009-2015 Joerg Henrichs, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track.hpp b/src/tracks/track.hpp index e4da819de..8eb856b2f 100644 --- a/src/tracks/track.hpp +++ b/src/tracks/track.hpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2009-2013 Joerg Henrichs, Steve Baker +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2009-2015 Joerg Henrichs, Steve Baker // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_manager.cpp b/src/tracks/track_manager.cpp index 37911fd7c..4bdbdaeae 100644 --- a/src/tracks/track_manager.cpp +++ b/src/tracks/track_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_manager.hpp b/src/tracks/track_manager.hpp index 7d2b86ed1..dab519dd8 100644 --- a/src/tracks/track_manager.hpp +++ b/src/tracks/track_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_object.cpp b/src/tracks/track_object.cpp index a322df919..ad8fc9da6 100644 --- a/src/tracks/track_object.cpp +++ b/src/tracks/track_object.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2013-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_object.hpp b/src/tracks/track_object.hpp index fcdcdffba..edc2e4b93 100644 --- a/src/tracks/track_object.hpp +++ b/src/tracks/track_object.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_object_manager.cpp b/src/tracks/track_object_manager.cpp index e2f940ffd..75093f15c 100644 --- a/src/tracks/track_object_manager.cpp +++ b/src/tracks/track_object_manager.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_object_manager.hpp b/src/tracks/track_object_manager.hpp index 5585b7dbd..bb8b1ef54 100644 --- a/src/tracks/track_object_manager.hpp +++ b/src/tracks/track_object_manager.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2009-2013 Joerg Henrichs +// Copyright (C) 2009-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_object_presentation.cpp b/src/tracks/track_object_presentation.cpp index e6557c100..5e2ba515a 100644 --- a/src/tracks/track_object_presentation.cpp +++ b/src/tracks/track_object_presentation.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2013-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2013-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_object_presentation.hpp b/src/tracks/track_object_presentation.hpp index 46f66d183..95a6ebaf8 100644 --- a/src/tracks/track_object_presentation.hpp +++ b/src/tracks/track_object_presentation.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2013-2013 Joerg Henrichs, Marianne Gagnon +// Copyright (C) 2013-2015 Joerg Henrichs, Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_sector.cpp b/src/tracks/track_sector.cpp index 82d7cf09e..a87853413 100644 --- a/src/tracks/track_sector.cpp +++ b/src/tracks/track_sector.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/tracks/track_sector.hpp b/src/tracks/track_sector.hpp index 57a0e7c1a..138db8e6f 100644 --- a/src/tracks/track_sector.hpp +++ b/src/tracks/track_sector.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/aligned_array.hpp b/src/utils/aligned_array.hpp index a97e37ba3..25de1e790 100644 --- a/src/utils/aligned_array.hpp +++ b/src/utils/aligned_array.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/can_be_deleted.hpp b/src/utils/can_be_deleted.hpp old mode 100755 new mode 100644 index 1c0ad3555..000d9e698 --- a/src/utils/can_be_deleted.hpp +++ b/src/utils/can_be_deleted.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/command_line.cpp b/src/utils/command_line.cpp index 55252791e..0ac7193c6 100644 --- a/src/utils/command_line.cpp +++ b/src/utils/command_line.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/command_line.hpp b/src/utils/command_line.hpp index 9557762fd..399033e3f 100644 --- a/src/utils/command_line.hpp +++ b/src/utils/command_line.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/constants.cpp b/src/utils/constants.cpp index b740211c6..34e4e12d4 100644 --- a/src/utils/constants.cpp +++ b/src/utils/constants.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2012-2013 SuperTuxKart-Team +// Copyright (C) 2012-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/constants.hpp b/src/utils/constants.hpp index 8d3b0c306..58d58a961 100644 --- a/src/utils/constants.hpp +++ b/src/utils/constants.hpp @@ -1,7 +1,7 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2004-2013 Steve Baker -// Copyright (C) 2012-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Steve Baker +// Copyright (C) 2012-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/crash_reporting.cpp b/src/utils/crash_reporting.cpp index e3dc853d8..034425aac 100644 --- a/src/utils/crash_reporting.cpp +++ b/src/utils/crash_reporting.cpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2013 Lionel Fuentes +// Copyright (C) 2013-2015 Lionel Fuentes // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/crash_reporting.hpp b/src/utils/crash_reporting.hpp index 5f5b360bd..dd1804f7f 100644 --- a/src/utils/crash_reporting.hpp +++ b/src/utils/crash_reporting.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2013 Lionel Fuentes +// Copyright (C) 2013-2015 Lionel Fuentes // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/debug.cpp b/src/utils/debug.cpp index 0fbff24ef..b40481a27 100644 --- a/src/utils/debug.cpp +++ b/src/utils/debug.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lionel Fuentes +// Copyright (C) 2013-2015 Lionel Fuentes // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/debug.hpp b/src/utils/debug.hpp index 295df1ed5..3694aeb21 100644 --- a/src/utils/debug.hpp +++ b/src/utils/debug.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2013 Lionel Fuentes +// Copyright (C) 2013-2015 Lionel Fuentes // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/helpers.cpp b/src/utils/helpers.cpp index c0c9ee301..5a89b8b43 100644 --- a/src/utils/helpers.cpp +++ b/src/utils/helpers.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lauri Kasanen +// Copyright (C) 2013-2015 Lauri Kasanen // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -51,8 +51,8 @@ u8 shash8(const u8 * const data, const u16 size) { /* -Copyright (C) 2011 by Ashima Arts (Simplex noise) -Copyright (C) 2011 by Lauri Kasanen (cpu port) +Copyright (C) 2011 by-2015 Ashima Arts (Simplex noise) +Copyright (C) 2011 by-2015 Lauri Kasanen (cpu port) Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/src/utils/helpers.hpp b/src/utils/helpers.hpp index bdb10a1e9..6ee09be4d 100644 --- a/src/utils/helpers.hpp +++ b/src/utils/helpers.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Lauri Kasanen +// Copyright (C) 2013-2015 Lauri Kasanen // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/interpolation_array.hpp b/src/utils/interpolation_array.hpp index 884970a54..e4f0b7893 100644 --- a/src/utils/interpolation_array.hpp +++ b/src/utils/interpolation_array.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2012-2013 Joerg Henrichs +// Copyright (C) 2012-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/leak_check.cpp b/src/utils/leak_check.cpp index 5f199c6ab..2f8920ee7 100644 --- a/src/utils/leak_check.cpp +++ b/src/utils/leak_check.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Marianne Gagnon, Joerg Henrichs +// Copyright (C) 2011-2015 Marianne Gagnon, Joerg Henrichs // // 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 diff --git a/src/utils/leak_check.hpp b/src/utils/leak_check.hpp index 6d461ed78..b04a6db80 100644 --- a/src/utils/leak_check.hpp +++ b/src/utils/leak_check.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Marianne Gagnon, Joerg Henrichs +// Copyright (C) 2011-2015 Marianne Gagnon, Joerg Henrichs // // 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 diff --git a/src/utils/log.cpp b/src/utils/log.cpp index 345a914d9..99f0270bd 100644 --- a/src/utils/log.cpp +++ b/src/utils/log.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2013 Joerg Henrichs +// Copyright (C) 2013-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/log.hpp b/src/utils/log.hpp index d04f6f071..61726cb8b 100644 --- a/src/utils/log.hpp +++ b/src/utils/log.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013-2013 Joerg Henrichs +// Copyright (C) 2013-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/no_copy.hpp b/src/utils/no_copy.hpp index d23c3edf2..0f1e7573d 100644 --- a/src/utils/no_copy.hpp +++ b/src/utils/no_copy.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2003 Matthias-2013 Braun +// Copyright (C) 2003-2015 Matthias-2013 Braun // // 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 diff --git a/src/utils/profiler.cpp b/src/utils/profiler.cpp index 259ef77c5..6b962d917 100644 --- a/src/utils/profiler.cpp +++ b/src/utils/profiler.cpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/profiler.hpp b/src/utils/profiler.hpp index dd3cafa25..ce182cea3 100644 --- a/src/utils/profiler.hpp +++ b/src/utils/profiler.hpp @@ -1,5 +1,5 @@ // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/ptr_vector.hpp b/src/utils/ptr_vector.hpp index 814259551..23347185b 100644 --- a/src/utils/ptr_vector.hpp +++ b/src/utils/ptr_vector.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2009-2013 Marianne Gagnon +// Copyright (C) 2009-2015 Marianne Gagnon // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/random_generator.cpp b/src/utils/random_generator.cpp index 0105e700b..6685444e3 100644 --- a/src/utils/random_generator.cpp +++ b/src/utils/random_generator.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/random_generator.hpp b/src/utils/random_generator.hpp index c4ccd52d7..9f1805724 100644 --- a/src/utils/random_generator.hpp +++ b/src/utils/random_generator.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/singleton.hpp b/src/utils/singleton.hpp index 96ac90023..5c04d556c 100644 --- a/src/utils/singleton.hpp +++ b/src/utils/singleton.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/string_utils.cpp b/src/utils/string_utils.cpp index 3aa6f2167..3984e874d 100644 --- a/src/utils/string_utils.cpp +++ b/src/utils/string_utils.cpp @@ -1,8 +1,8 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2004-2013 Steve Baker , -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Steve Baker , +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/string_utils.hpp b/src/utils/string_utils.hpp index 7deb7652b..ebcc28895 100644 --- a/src/utils/string_utils.hpp +++ b/src/utils/string_utils.hpp @@ -1,8 +1,8 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2004-2013 Steve Baker , -// Copyright (C) 2004-2013 Ingo Ruhnke -// Copyright (C) 2006-2013 SuperTuxKart-Team +// Copyright (C) 2004-2015 Steve Baker , +// Copyright (C) 2004-2015 Ingo Ruhnke +// Copyright (C) 2006-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/synchronised.hpp b/src/utils/synchronised.hpp index 0794e76ca..7bac32541 100644 --- a/src/utils/synchronised.hpp +++ b/src/utils/synchronised.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2010-2013 Joerg Henrichs +// Copyright (C) 2010-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/time.cpp b/src/utils/time.cpp index 921389842..86cf7c056 100644 --- a/src/utils/time.cpp +++ b/src/utils/time.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/time.hpp b/src/utils/time.hpp index 7dae2b734..9b36ace8b 100644 --- a/src/utils/time.hpp +++ b/src/utils/time.hpp @@ -1,6 +1,6 @@ // SuperTuxKart - a fun racing game with go-kart // -// Copyright (C) 2013 SuperTuxKart-Team +// Copyright (C) 2013-2015 SuperTuxKart-Team // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/translation.cpp b/src/utils/translation.cpp index 8e5d6853f..fa5b81f58 100644 --- a/src/utils/translation.cpp +++ b/src/utils/translation.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006,-2013 2007, 2008 Joerg Henrichs +// Copyright (C) 2006,-2015 2007, 2008 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/translation.hpp b/src/utils/translation.hpp index aecfe18c9..3782dc2b0 100644 --- a/src/utils/translation.hpp +++ b/src/utils/translation.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2006-2013 Joerg Henrichs +// Copyright (C) 2006-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/types.hpp b/src/utils/types.hpp index c2021fcfd..082e30e08 100644 --- a/src/utils/types.hpp +++ b/src/utils/types.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2013 Glenn De Jonghe +// Copyright (C) 2013-2015 Glenn De Jonghe // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/vec3.cpp b/src/utils/vec3.cpp index 6595119ba..4fc0c3ee5 100644 --- a/src/utils/vec3.cpp +++ b/src/utils/vec3.cpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2008-2013 Joerg Henrichs +// Copyright (C) 2008-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/utils/vec3.hpp b/src/utils/vec3.hpp index 0d3905869..2a2e86b2b 100644 --- a/src/utils/vec3.hpp +++ b/src/utils/vec3.hpp @@ -1,6 +1,6 @@ // // SuperTuxKart - a fun racing game with go-kart -// Copyright (C) 2011-2013 Joerg Henrichs +// Copyright (C) 2011-2015 Joerg Henrichs // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/tools/update_copyright.sh b/tools/update_copyright.sh index 2df3e2995..f3521cd35 100755 --- a/tools/update_copyright.sh +++ b/tools/update_copyright.sh @@ -20,9 +20,9 @@ BEGIN { } /\(C\)/ { if(index($4,"-")>0) - new_years=gensub("-.*$","-2013",1,$4); + new_years=gensub("-.*$","-2015",1,$4); else - new_years=$4"-2013"; + new_years=$4"-2015"; line = $0; sub($4,new_years,line); print line; From 9cb862f708a40b90861fc53e33b9ebc7532b9bc3 Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 30 Mar 2015 11:50:12 +1100 Subject: [PATCH 083/331] Fix travis build. --- src/utils/translation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/translation.cpp b/src/utils/translation.cpp index fa5b81f58..677a8b9cf 100644 --- a/src/utils/translation.cpp +++ b/src/utils/translation.cpp @@ -321,7 +321,7 @@ const wchar_t* Translations::fribidize(const wchar_t* in_ptr) #endif FriBidiChar *fribidiOutput = new FriBidiChar[length + 1]; - std::memset(fribidiOutput, 0, (length + 1) * sizeof(FriBidiChar)); + memset(fribidiOutput, 0, (length + 1) * sizeof(FriBidiChar)); fribidi_boolean result = fribidi_log2vis(fribidiInput, length, &pbase_dir, From cd67daf4a3ff2fbefe64a7eeef0c7a900889d82f Mon Sep 17 00:00:00 2001 From: Deve Date: Mon, 30 Mar 2015 20:12:25 +0200 Subject: [PATCH 084/331] MinGW: Don't show console window in release mode. Removed unused cmake option. --- CMakeLists.txt | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f9ca20ee..54db8a1a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,9 +19,6 @@ option(USE_WIIUSE "Support for wiimote input devices" ON) option(USE_FRIBIDI "Support for right-to-left languages" ON) option(CHECK_ASSETS "Check if assets are installed in ../stk-assets" ON) -if(UNIX OR MINGW) - option(USE_CPP2011 "Activate C++ 2011 mode (GCC only)" OFF) -endif() if(MSVC OR MINGW) # Normally hide the option to build wiiuse on VS, since it depends # on the installation of the Windows DDK (Driver Developer Kit), @@ -172,13 +169,6 @@ if (OPENMP_FOUND) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") endif() - -if(UNIX OR MINGW) -# if(USE_CPP2011) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x") -# endif() -endif() - # OpenGL find_package(OpenGL REQUIRED) include_directories(${OPENGL_INCLUDE_DIR}) @@ -198,12 +188,16 @@ if(UNIX AND NOT APPLE) endif() endif() - # Set some compiler options if(UNIX OR MINGW) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") endif() +if(MINGW AND CMAKE_BUILD_TYPE MATCHES Release) + SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--subsystem,windows") +endif() + if(WIN32) # By default windows.h has macros defined for min and max that screw up everything add_definitions(-DNOMINMAX) From c7e785b59c10f50ac448576bcf2ec43d116fa2b0 Mon Sep 17 00:00:00 2001 From: hiker Date: Tue, 31 Mar 2015 16:16:30 +1100 Subject: [PATCH 085/331] Fixed translator credits display (translators were repeated before). Added #undef'ed debug mode to only see translations. --- src/states_screens/credits.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/states_screens/credits.cpp b/src/states_screens/credits.cpp index 4592f729d..2602ae566 100644 --- a/src/states_screens/credits.cpp +++ b/src/states_screens/credits.cpp @@ -170,6 +170,13 @@ void CreditsScreen::loadedFromFile() // let's assume the file is encoded as UTF-16 while (getWideLine( file, &line )) { +#undef DEBUG_TRANSLATIONS // Enable to only see the translator credits +#ifdef DEBUG_TRANSLATIONS + static int my_counter = 0; + if (my_counter > 0) + break; + my_counter++; +#endif stringc cversion = line.c_str(); //printf("CREDITS line : %s\n", cversion.c_str()); @@ -207,6 +214,7 @@ void CreditsScreen::loadedFromFile() irr::core::stringw translators_credits = _("translator-credits"); + const int MAX_PER_SCREEN = 6; if (translators_credits != L"translator-credits") { @@ -214,13 +222,13 @@ void CreditsScreen::loadedFromFile() StringUtils::split(translators_credits, '\n'); m_sections.push_back( new CreditsSection("Translations")); - for(unsigned int i = 1; i < translator.size(); i = i + 4) + for(unsigned int i = 1; i < translator.size(); i = i + MAX_PER_SCREEN) { line = stringw(translations->getCurrentLanguageName().c_str()); CreditsEntry entry(line); getCurrentSection()->addEntry( entry ); - for(unsigned int j = 0; i + j < translator.size() && j < 6; j ++) + for(unsigned int j = 0; i + j < translator.size() && j < MAX_PER_SCREEN; j ++) { getCurrentSection()->addSubEntry(translator[i + j]); } From 5e56f8904a14b466349c03c85632456767d7817a Mon Sep 17 00:00:00 2001 From: Deve Date: Tue, 31 Mar 2015 19:27:07 +0200 Subject: [PATCH 086/331] MinGW: Allow to compile wiiuse. Still disabled by default because it requires mingw-w64 and it may not work with other versions. --- CMakeLists.txt | 2 +- lib/wiiuse/CMakeLists.txt | 5 +++-- lib/wiiuse/os_win.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54db8a1a5..2c2f3f5c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ option(USE_WIIUSE "Support for wiimote input devices" ON) option(USE_FRIBIDI "Support for right-to-left languages" ON) option(CHECK_ASSETS "Check if assets are installed in ../stk-assets" ON) -if(MSVC OR MINGW) +if(MSVC) # Normally hide the option to build wiiuse on VS, since it depends # on the installation of the Windows DDK (Driver Developer Kit), # which also needs an absolute path :( diff --git a/lib/wiiuse/CMakeLists.txt b/lib/wiiuse/CMakeLists.txt index eabc0836e..ef6a8c788 100644 --- a/lib/wiiuse/CMakeLists.txt +++ b/lib/wiiuse/CMakeLists.txt @@ -38,7 +38,7 @@ if(APPLE) ) endif() -if(MSVC) +if(WIN32) add_definitions("/DWIIUSE_STATIC") add_library(wiiuse STATIC ${WIIUSE_SOURCES}) else() @@ -81,5 +81,6 @@ if(MSVC) else() set_target_properties(wiiuse PROPERTIES STATIC_LIBRARY_FLAGS "setupapi.lib hid.lib") endif() - +elseif(MINGW) + target_link_libraries(wiiuse hid setupapi) endif() diff --git a/lib/wiiuse/os_win.c b/lib/wiiuse/os_win.c index 8a3de24de..156ae4d7d 100644 --- a/lib/wiiuse/os_win.c +++ b/lib/wiiuse/os_win.c @@ -48,7 +48,7 @@ # ifdef __cplusplus extern "C" { # endif - WINHIDSDI BOOL WINAPI HidD_SetOutputReport(HANDLE, PVOID, ULONG); + HIDAPI BOOL NTAPI HidD_SetOutputReport(HANDLE, PVOID, ULONG); # ifdef __cplusplus } # endif From 414522e8237351ae47f05a5831a9f27ba95fb101 Mon Sep 17 00:00:00 2001 From: hiker Date: Wed, 1 Apr 2015 09:41:37 +1100 Subject: [PATCH 087/331] First version of a simple script that adds the transifex authors to the list of launchpad authors in the translator-credits string. The latter is used to display the appropriate in-game credits. --- tools/update_po_authors.py | 64 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100755 tools/update_po_authors.py diff --git a/tools/update_po_authors.py b/tools/update_po_authors.py new file mode 100755 index 000000000..275c465b4 --- /dev/null +++ b/tools/update_po_authors.py @@ -0,0 +1,64 @@ +#!/bin/env python + +# A simple script that adds all authors from transifex, which are +# listed in comments at the beginning of the file, to the +# 'translator-credits' translations - where launchpad added them +# and which are shown in stk. +import re +import sys + +if __name__ == "__main__": + if len(sys.argv)!=2: + print "Usage: getpo_authors.py PATH_TO_PO_FILE" + sys.exit(-1) + + f = open(sys.argv[1], "r") + if not f: + print "Can not find", sys.argv[1] + exit + lines = f.readlines() + + f.close() + + authors = [] + found = 0 + + # Find all authors with a simple finite state machine: + contributions = -1 + line_count = 0 + for i in lines: + line = i[:-1] # remove \n + if line=="# Translators:": + found = 1 + elif found and line[:2]=="# ": + authors.append(line[2:]) + elif line[:5]=="msgid": + found = 0 + elif line[:31]== "msgstr \"Launchpad Contributions": + contributions = line_count + line_count = line_count + 1 + + + # Delete all email addresses - not sure if the authors + # would want them to be published + email=re.compile(" *<.*@.*\..*> *") # one @ and one dot at least + for i in range(len(authors)): + g = email.search(authors[i]) + if g: + authors[i] = authors[i][:g.start()]+authors[i][g.end():] + + # Now append the new authors to the Launchpad string + if contributions==-1: + print "Can not find old Launchpad Contributions string." + sys.exit(-1) + else: + # Remove trailing " + s=reduce(lambda x,y: x+"\\n "+y, authors) + lines[contributions] = lines[contributions][:-2]+"\\n "+s+\ + lines[contributions][-2:] + + f = open(sys.argv[1], "w") + for i in lines: + f.write(i) + f.close() + From 4b735861cd526732d7172727eb7176b8a039d4f3 Mon Sep 17 00:00:00 2001 From: samuncle Date: Wed, 1 Apr 2015 04:30:17 +0200 Subject: [PATCH 088/331] Add a particle system --- data/gfx/gfx_sparkBlue_a.xml | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 data/gfx/gfx_sparkBlue_a.xml diff --git a/data/gfx/gfx_sparkBlue_a.xml b/data/gfx/gfx_sparkBlue_a.xml new file mode 100644 index 000000000..533b01ce8 --- /dev/null +++ b/data/gfx/gfx_sparkBlue_a.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + From cbd45c26a24b31bcd137d498ddbe4c9aec147834 Mon Sep 17 00:00:00 2001 From: hiker Date: Wed, 1 Apr 2015 22:24:02 +1100 Subject: [PATCH 089/331] Merge and sort old and new translation credits. Fixed handling of " and some other minor fixes. --- tools/update_po_authors.py | 59 +++++++++++++++++++++++++++++--------- 1 file changed, 45 insertions(+), 14 deletions(-) diff --git a/tools/update_po_authors.py b/tools/update_po_authors.py index 275c465b4..e5b0b4688 100755 --- a/tools/update_po_authors.py +++ b/tools/update_po_authors.py @@ -4,6 +4,17 @@ # listed in comments at the beginning of the file, to the # 'translator-credits' translations - where launchpad added them # and which are shown in stk. +# +# Usage: update_po_authors.py PATH_TO/LANGUAGE.po +# +# IMPORTANT note: this script must be run on a file downloaded +# from transifex, not on a file on which this script had +# been run before (otherwise the transifex authors would +# be added again and again)!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +# +# Less important note: The specified file is overwritten without +# a backup! Make sure the git status is unmodified. + import re import sys @@ -20,8 +31,8 @@ if __name__ == "__main__": f.close() - authors = [] - found = 0 + new_authors = [] + found = 0 # Find all authors with a simple finite state machine: contributions = -1 @@ -31,7 +42,7 @@ if __name__ == "__main__": if line=="# Translators:": found = 1 elif found and line[:2]=="# ": - authors.append(line[2:]) + new_authors.append(line[2:]) elif line[:5]=="msgid": found = 0 elif line[:31]== "msgstr \"Launchpad Contributions": @@ -42,21 +53,41 @@ if __name__ == "__main__": # Delete all email addresses - not sure if the authors # would want them to be published email=re.compile(" *<.*@.*\..*> *") # one @ and one dot at least - for i in range(len(authors)): - g = email.search(authors[i]) + for i in range(len(new_authors)): + g = email.search(new_authors[i]) if g: - authors[i] = authors[i][:g.start()]+authors[i][g.end():] + new_authors[i] = new_authors[i][:g.start()] \ + + new_authors[i][g.end():] - # Now append the new authors to the Launchpad string - if contributions==-1: - print "Can not find old Launchpad Contributions string." - sys.exit(-1) + # Get the old authors from the translator-credits string: + if contributions>0: + # Ignore the first entry, which is "msgstr ...", and the + # last two characters, which are the '"\n'. + old_authors = lines[contributions][:-2].split("\\n")[1:] + for i in range(len(old_authors)): + old_authors[i] = old_authors[i].strip() else: - # Remove trailing " - s=reduce(lambda x,y: x+"\\n "+y, authors) - lines[contributions] = lines[contributions][:-2]+"\\n "+s+\ - lines[contributions][-2:] + old_authors=[] + + all_authors = old_authors + new_authors; + all_authors = sorted(all_authors, key=lambda x: x.lower()) + all_authors_string = reduce(lambda x,y: x+"\\n"+y, all_authors, "") + + # If no old authors exists, write a new entry: + if contributions==-1: + lines.append("\n") + lines.append("#: src/states_screens/credits.cpp:209\n") + lines.append("msgid \"translator-credits\"\n") + else: + # Otherwise just delete the old contribution string + # so that the new one can be appended below. + del lines[contributions] + + # Append new author list + lines.append("msgstr \"Launchpad Contributions:\\n%s\"\n"%all_authors_string) + + # Overwrite old file f = open(sys.argv[1], "w") for i in lines: f.write(i) From 3f76b0c68d680c46f62f6347f97769395603f8bf Mon Sep 17 00:00:00 2001 From: hiker Date: Thu, 2 Apr 2015 10:46:30 +1100 Subject: [PATCH 090/331] Used better icon for achievements in tabs. --- data/gui/online/profile_achievements_tab.stkgui | 2 +- data/gui/online/profile_friends.stkgui | 2 +- data/gui/online/profile_overview.stkgui | 2 +- data/gui/online/profile_settings.stkgui | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/gui/online/profile_achievements_tab.stkgui b/data/gui/online/profile_achievements_tab.stkgui index 33b0900d1..7d519d661 100644 --- a/data/gui/online/profile_achievements_tab.stkgui +++ b/data/gui/online/profile_achievements_tab.stkgui @@ -9,7 +9,7 @@ - diff --git a/data/gui/online/profile_friends.stkgui b/data/gui/online/profile_friends.stkgui index 50e933392..e0e49473b 100644 --- a/data/gui/online/profile_friends.stkgui +++ b/data/gui/online/profile_friends.stkgui @@ -9,7 +9,7 @@ - + diff --git a/data/gui/online/profile_overview.stkgui b/data/gui/online/profile_overview.stkgui index 158d95f43..eed9c717b 100644 --- a/data/gui/online/profile_overview.stkgui +++ b/data/gui/online/profile_overview.stkgui @@ -12,7 +12,7 @@ - + diff --git a/data/gui/online/profile_settings.stkgui b/data/gui/online/profile_settings.stkgui index d021747ba..5b86964e3 100644 --- a/data/gui/online/profile_settings.stkgui +++ b/data/gui/online/profile_settings.stkgui @@ -8,7 +8,7 @@ - + From fb58e4b3b3b01f902ce590842ce97cd730f8bbda Mon Sep 17 00:00:00 2001 From: hiker Date: Thu, 2 Apr 2015 23:59:55 +1100 Subject: [PATCH 091/331] Use STK's log function in tinyugettext (so all errors/warnings are logged to stdout.log). --- sources.cmake | 2 +- src/tinygettext/dictionary.cpp | 15 ++++-- src/tinygettext/dictionary_manager.cpp | 13 +++-- src/tinygettext/iconv.cpp | 1 - src/tinygettext/log_stream.hpp | 34 ------------- src/tinygettext/po_parser.cpp | 11 ++-- src/tinygettext/tgt_log.cpp | 70 -------------------------- src/tinygettext/tgt_log.hpp | 56 --------------------- 8 files changed, 26 insertions(+), 176 deletions(-) delete mode 100644 src/tinygettext/log_stream.hpp delete mode 100644 src/tinygettext/tgt_log.cpp delete mode 100644 src/tinygettext/tgt_log.hpp diff --git a/sources.cmake b/sources.cmake index ddc029d4f..dfc0e3774 100644 --- a/sources.cmake +++ b/sources.cmake @@ -1,5 +1,5 @@ # Modify this file to change the last-modified date when you add/remove a file. -# This will then trigger a new cmake run automatically. +# This will then trigger a new cmake run automatically. file(GLOB_RECURSE STK_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.hpp") file(GLOB_RECURSE STK_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.cpp") file(GLOB_RECURSE STK_SHADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "data/shaders/*") diff --git a/src/tinygettext/dictionary.cpp b/src/tinygettext/dictionary.cpp index 0fae1272c..e500c4fe2 100644 --- a/src/tinygettext/dictionary.cpp +++ b/src/tinygettext/dictionary.cpp @@ -16,9 +16,10 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include -#include "log_stream.hpp" #include "dictionary.hpp" +#include "utils/log.hpp" + namespace tinygettext { Dictionary::Dictionary(const std::string& charset_) : @@ -168,8 +169,9 @@ Dictionary::add_translation(const std::string& msgid, const std::string& msgstr) } else { - log_warning << "collision in add_translation: '" - << msgid << "' -> '" << msgstr << "' vs '" << vec[0] << "'" << std::endl; + Log::warn("tinygettext", + "Collision in add translation: '%s' -> '%s' vs '%s'.", + msgid.c_str(), msgstr.c_str(), vec[0].c_str()); vec[0] = msgstr; } } @@ -186,7 +188,9 @@ Dictionary::add_translation(const std::string& msgctxt, } else { - log_warning << "collision in add_translation(\"" << msgctxt << "\", \"" << msgid << "\", \"" << msgid_plural << "\")" << std::endl; + Log::warn("tinygettext", + "collision in add_translation(\"%s\", \"%s\", \"%s\")", + msgctxt.c_str(), msgid.c_str(), msgid_plural.c_str()); vec = msgstrs; } } @@ -201,7 +205,8 @@ Dictionary::add_translation(const std::string& msgctxt, const std::string& msgid } else { - log_warning << "collision in add_translation(\"" << msgctxt << "\", \"" << msgid << "\")" << std::endl; + Log::warn("tinygettext", "collision in add_translation(\"%s\", \"%s\")", + msgctxt.c_str(), msgid.c_str()); vec[0] = msgstr; } } diff --git a/src/tinygettext/dictionary_manager.cpp b/src/tinygettext/dictionary_manager.cpp index f123d2293..bb28c7d21 100644 --- a/src/tinygettext/dictionary_manager.cpp +++ b/src/tinygettext/dictionary_manager.cpp @@ -17,6 +17,8 @@ #include "dictionary_manager.hpp" +#include "utils/log.hpp" + #include #include #include @@ -24,7 +26,6 @@ #include #include -#include "log_stream.hpp" #include "po_parser.hpp" #include "stk_file_system.hpp" @@ -134,7 +135,8 @@ DictionaryManager::get_dictionary(const Language& language) if (!po_language) { - log_warning << *filename << ": warning: ignoring, unknown language" << std::endl; + Log::warn("tinygettext", "%s: warning: ignoring, unknown language", + filename->c_str()); } else { @@ -157,7 +159,8 @@ DictionaryManager::get_dictionary(const Language& language) std::auto_ptr in = filesystem->open_file(pofile); if (!in.get()) { - log_error << "error: failure opening: " << pofile << std::endl; + Log::error("tinygettext", "error: failure opening: '%s'.", + pofile.c_str()); } else { @@ -166,8 +169,8 @@ DictionaryManager::get_dictionary(const Language& language) } catch(std::exception& e) { - log_error << "error: failure parsing: " << pofile << std::endl; - log_error << e.what() << "" << std::endl; + Log::error("tinygettext", "error: failure parsing: '%s'.", pofile.c_str()); + Log::error("tinygettext", "%s", e.what()); } } } diff --git a/src/tinygettext/iconv.cpp b/src/tinygettext/iconv.cpp index e28f7a3ac..a2fdbbb0c 100644 --- a/src/tinygettext/iconv.cpp +++ b/src/tinygettext/iconv.cpp @@ -25,7 +25,6 @@ #include #include "iconv.hpp" -#include "log_stream.hpp" namespace tinygettext { diff --git a/src/tinygettext/log_stream.hpp b/src/tinygettext/log_stream.hpp deleted file mode 100644 index 814dad151..000000000 --- a/src/tinygettext/log_stream.hpp +++ /dev/null @@ -1,34 +0,0 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2015 Ingo Ruhnke -// -// 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. - -#ifndef HEADER_TINYGETTEXT_LOG_STREAM_HPP -#define HEADER_TINYGETTEXT_LOG_STREAM_HPP - -#include "tgt_log.hpp" - -namespace tinygettext { - -// FIXME: very bad to have such things in the API -#define log_error if (!Log::log_error_callback); else (Log(Log::log_error_callback)).get() -#define log_warning if (!Log::log_warning_callback); else (Log(Log::log_warning_callback)).get() -#define log_info if (!Log::log_info_callback); else (Log(Log::log_warning_callback)).get() - -} // namespace tinygettext - -#endif - -/* EOF */ diff --git a/src/tinygettext/po_parser.cpp b/src/tinygettext/po_parser.cpp index 2af6edef5..85368510e 100644 --- a/src/tinygettext/po_parser.cpp +++ b/src/tinygettext/po_parser.cpp @@ -22,15 +22,17 @@ #include #include #include +#include #include #include #include "language.hpp" -#include "log_stream.hpp" #include "iconv.hpp" #include "dictionary.hpp" #include "plural_forms.hpp" +#include "utils/log.hpp" + namespace tinygettext { bool POParser::pedantic = true; @@ -65,14 +67,15 @@ POParser::~POParser() void POParser::warning(const std::string& msg) { - log_warning << filename << ":" << line_number << ": warning: " << msg << ": " << current_line << std::endl; - //log_warning << "Line: " << current_line << std::endl; + Log::warn("tinygettext", "%s line %d %s: \"%s\"", + filename.c_str(), line_number, msg.c_str(), current_line.c_str()); } void POParser::error(const std::string& msg) { - log_error << filename << ":" << line_number << ": error: " << msg << ": " << current_line << std::endl; + Log::error("tinygettext", "%s line %d %s: \"%s\"", + filename.c_str(), line_number, msg.c_str(), current_line.c_str()); // Try to recover from an error by searching for start of another entry do diff --git a/src/tinygettext/tgt_log.cpp b/src/tinygettext/tgt_log.cpp deleted file mode 100644 index 280fcd0e6..000000000 --- a/src/tinygettext/tgt_log.cpp +++ /dev/null @@ -1,70 +0,0 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2015 Ingo Ruhnke -// -// 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. - -#include -#include "tgt_log.hpp" - -namespace tinygettext { - -Log::log_callback_t Log::log_info_callback = &Log::default_log_callback; -Log::log_callback_t Log::log_warning_callback = &Log::default_log_callback; -Log::log_callback_t Log::log_error_callback = &Log::default_log_callback; - -void -Log::default_log_callback(const std::string& str) -{ - std::cerr << "tinygettext: " << str; -} - -void -Log::set_log_info_callback(log_callback_t callback) -{ - log_info_callback = callback; -} - -void -Log::set_log_warning_callback(log_callback_t callback) -{ - log_warning_callback = callback; -} - -void -Log::set_log_error_callback(log_callback_t callback) -{ - log_error_callback = callback; -} - -Log::Log(log_callback_t callback_) : - callback(callback_), - out() -{ -} - -Log::~Log() -{ - callback(out.str()); -} - -std::ostream& -Log::get() -{ - return out; -} - -} // namespace tinygettext - -/* EOF */ diff --git a/src/tinygettext/tgt_log.hpp b/src/tinygettext/tgt_log.hpp deleted file mode 100644 index 0e34a5286..000000000 --- a/src/tinygettext/tgt_log.hpp +++ /dev/null @@ -1,56 +0,0 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2015 Ingo Ruhnke -// -// 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. - -#ifndef HEADER_TINYGETTEXT_LOG_HPP -#define HEADER_TINYGETTEXT_LOG_HPP - -#include - -namespace tinygettext { - -class Log -{ -public: - typedef void (*log_callback_t)(const std::string&); - - static log_callback_t log_info_callback; - static log_callback_t log_warning_callback; - static log_callback_t log_error_callback; - - - static void default_log_callback(const std::string& str); - - static void set_log_info_callback(log_callback_t callback); - static void set_log_warning_callback(log_callback_t callback); - static void set_log_error_callback(log_callback_t callback); - -private: - log_callback_t callback; - std::ostringstream out; - -public: - Log(log_callback_t callback); - ~Log(); - - std::ostream& get(); -}; - -} // namespace tinygettext - -#endif - -/* EOF */ From ddcd6f9ca3245232f198cc828c4d858c52b416f3 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 3 Apr 2015 00:05:47 +1100 Subject: [PATCH 092/331] Removed empty files. --- sources.cmake | 2 +- src/tinygettext/iconv.cpp | 149 ---------------------------------- src/tinygettext/iconv.hpp | 72 ---------------- src/tinygettext/po_parser.cpp | 1 - src/tinygettext/po_parser.hpp | 2 - 5 files changed, 1 insertion(+), 225 deletions(-) delete mode 100644 src/tinygettext/iconv.cpp delete mode 100644 src/tinygettext/iconv.hpp diff --git a/sources.cmake b/sources.cmake index dfc0e3774..f484b15d5 100644 --- a/sources.cmake +++ b/sources.cmake @@ -1,5 +1,5 @@ # Modify this file to change the last-modified date when you add/remove a file. -# This will then trigger a new cmake run automatically. +# This will then trigger a new cmake run automatically. file(GLOB_RECURSE STK_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.hpp") file(GLOB_RECURSE STK_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "src/*.cpp") file(GLOB_RECURSE STK_SHADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "data/shaders/*") diff --git a/src/tinygettext/iconv.cpp b/src/tinygettext/iconv.cpp deleted file mode 100644 index a2fdbbb0c..000000000 --- a/src/tinygettext/iconv.cpp +++ /dev/null @@ -1,149 +0,0 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009-2015 Ingo Ruhnke -// -// 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. - -/* -#include -#include -#include -#include -#include -#include -#include - -#include "iconv.hpp" - -namespace tinygettext { - -#ifndef tinygettext_ICONV_CONST -# define tinygettext_ICONV_CONST -#endif - -IConv::IConv() - : to_charset(), - from_charset(), - cd(0) -{} - -IConv::IConv(const std::string& from_charset_, const std::string& to_charset_) - : to_charset(), - from_charset(), - cd(0) -{ - set_charsets(from_charset_, to_charset_); -} - -IConv::~IConv() -{ - if (cd) - tinygettext_iconv_close(cd); -} - -void -IConv::set_charsets(const std::string& from_charset_, const std::string& to_charset_) -{ - if (cd) - tinygettext_iconv_close(cd); - - from_charset = from_charset_; - to_charset = to_charset_; - - for(std::string::iterator i = to_charset.begin(); i != to_charset.end(); ++i) - *i = static_cast(toupper(*i)); - - for(std::string::iterator i = from_charset.begin(); i != from_charset.end(); ++i) - *i = static_cast(toupper(*i)); - - if (to_charset == from_charset) - { - cd = 0; - } - else - { - cd = tinygettext_iconv_open(to_charset.c_str(), from_charset.c_str()); - if (cd == reinterpret_cast(-1)) - { - if(errno == EINVAL) - { - std::ostringstream str; - str << "IConv construction failed: conversion from '" << from_charset - << "' to '" << to_charset << "' not available"; - throw std::runtime_error(str.str()); - } - else - { - std::ostringstream str; - str << "IConv: construction failed: " << strerror(errno); - throw std::runtime_error(str.str()); - } - } - } -} - -/// Convert a string from encoding to another. -std::string -IConv::convert(const std::string& text) -{ - if (!cd) - { - return text; - } - else - { - size_t inbytesleft = text.size(); - size_t outbytesleft = 4*inbytesleft; // Worst case scenario: ASCII -> UTF-32? - - // We try to avoid to much copying around, so we write directly into - // a std::string - tinygettext_ICONV_CONST char* inbuf = const_cast(&text[0]); - std::string result(outbytesleft, 'X'); - char* outbuf = &result[0]; - - // Try to convert the text. - size_t ret = tinygettext_iconv(cd, (const char**)&inbuf, &inbytesleft, &outbuf, &outbytesleft); - if (ret == static_cast(-1)) - { - if (errno == EILSEQ || errno == EINVAL) - { // invalid multibyte sequence - tinygettext_iconv(cd, NULL, NULL, NULL, NULL); // reset state - - // FIXME: Could try to skip the invalid byte and continue - log_error << "error: tinygettext:iconv: invalid multibyte sequence in: \"" << text << "\"" << std::endl; - } - else if (errno == E2BIG) - { // output buffer to small - assert(!"tinygettext/iconv.cpp: E2BIG: This should never be reached"); - } - else if (errno == EBADF) - { - assert(!"tinygettext/iconv.cpp: EBADF: This should never be reached"); - } - else - { - assert(!"tinygettext/iconv.cpp: : This should never be reached"); - } - } - - result.resize(4*text.size() - outbytesleft); - - return result; - } -} - -} // namespace tinygettext -*/ - -/* EOF */ diff --git a/src/tinygettext/iconv.hpp b/src/tinygettext/iconv.hpp deleted file mode 100644 index 8bb2bd671..000000000 --- a/src/tinygettext/iconv.hpp +++ /dev/null @@ -1,72 +0,0 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006-2015 Ingo Ruhnke -// -// 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 3 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, see . - -/* -#ifndef HEADER_TINYGETTEXT_ICONV_HPP -#define HEADER_TINYGETTEXT_ICONV_HPP - -#include - -#ifdef HAVE_SDL -# include "SDL.h" - -# define tinygettext_ICONV_CONST const -# define tinygettext_iconv_t SDL_iconv_t -# define tinygettext_iconv SDL_iconv -# define tinygettext_iconv_open SDL_iconv_open -# define tinygettext_iconv_close SDL_iconv_close -#else -# include - -# ifdef HAVE_ICONV_CONST -# define tinygettext_ICONV_CONST ICONV_CONST -# else -# define tinygettext_ICONV_CONST -# endif - -# define tinygettext_iconv_t iconv_t -# define tinygettext_iconv iconv -# define tinygettext_iconv_open iconv_open -# define tinygettext_iconv_close iconv_close -#endif - -namespace tinygettext { - -class IConv -{ -private: - std::string to_charset; - std::string from_charset; - tinygettext_iconv_t cd; - -public: - IConv(); - IConv(const std::string& fromcode, const std::string& tocode); - ~IConv(); - - void set_charsets(const std::string& fromcode, const std::string& tocode); - std::string convert(const std::string& text); - -private: - IConv (const IConv&); - IConv& operator= (const IConv&); -}; - -} // namespace tinygettext - -#endif -*/ -/* EOF */ diff --git a/src/tinygettext/po_parser.cpp b/src/tinygettext/po_parser.cpp index 85368510e..0831c2417 100644 --- a/src/tinygettext/po_parser.cpp +++ b/src/tinygettext/po_parser.cpp @@ -27,7 +27,6 @@ #include #include "language.hpp" -#include "iconv.hpp" #include "dictionary.hpp" #include "plural_forms.hpp" diff --git a/src/tinygettext/po_parser.hpp b/src/tinygettext/po_parser.hpp index 922e617d6..42fe8e825 100644 --- a/src/tinygettext/po_parser.hpp +++ b/src/tinygettext/po_parser.hpp @@ -21,8 +21,6 @@ #include #include -//#include "iconv.hpp" - namespace tinygettext { class Dictionary; From 67d5e41d2c4c8e4102702059d249f47be5f64644 Mon Sep 17 00:00:00 2001 From: hiker Date: Sun, 5 Apr 2015 22:14:48 +1000 Subject: [PATCH 093/331] Try an improvement for #2073 (stk does not start if /data exists). --- src/io/file_manager.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/io/file_manager.cpp b/src/io/file_manager.cpp index 1989fcbb7..ef193ae13 100644 --- a/src/io/file_manager.cpp +++ b/src/io/file_manager.cpp @@ -160,19 +160,19 @@ FileManager::FileManager() #ifdef __APPLE__ else if( macSetBundlePathIfRelevant( root_dir ) ) { root_dir = root_dir + "data/"; } #endif - else if(m_file_system->existFile("data")) + else if(m_file_system->existFile("data/stk_config.xml")) root_dir = "data/" ; - else if(m_file_system->existFile("../data")) + else if(m_file_system->existFile("../data/stk_config.xml")) root_dir = "../data/" ; - else if(m_file_system->existFile("../../data")) + else if(m_file_system->existFile("../../data/stk_config.xml")) root_dir = "../../data/" ; // Test for old style build environment, with executable in root of stk - else if(m_file_system->existFile(exe_path+"data")) + else if(m_file_system->existFile(exe_path+"data/stk_config.xml")) root_dir = (exe_path+"data/").c_str(); // Check for windows cmake style: bld/Debug/bin/supertuxkart.exe - else if (m_file_system->existFile(exe_path + "../../../data")) + else if (m_file_system->existFile(exe_path + "../../../data/stk_config.xml")) root_dir = (exe_path + "../../../data/").c_str(); - else if (m_file_system->existFile(exe_path + "../data")) + else if (m_file_system->existFile(exe_path + "../data/stk_config.xml")) { root_dir = exe_path.c_str(); root_dir += "../data/"; From d746ea8aa1cf74ffc05e816ec7390e92210397e2 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Tue, 7 Apr 2015 19:11:49 -0400 Subject: [PATCH 094/331] Fix #2068 --- src/achievements/achievement.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/achievements/achievement.cpp b/src/achievements/achievement.cpp index f9e66d045..9fd6e6ba7 100644 --- a/src/achievements/achievement.cpp +++ b/src/achievements/achievement.cpp @@ -19,7 +19,7 @@ #include "achievements/achievement.hpp" - +#include "achievements/achievements_manager.hpp" #include "achievements/achievement_info.hpp" #include "guiengine/message_queue.hpp" #include "io/utf_writer.hpp" @@ -199,8 +199,13 @@ void Achievement::check() if(m_achievement_info->checkCompletion(this)) { //show achievement - core::stringw s = _("Completed achievement \"%s\".", - m_achievement_info->getName()); + // Note: the "name" variable is required, see issue #2068 + // calling _("...", info->getName()) is invalid because getName also calls + // _() and thus the string it returns is mapped to a temporary buffer + // in theory, it should return a copy of the string, but clang tries to + // optimise away the copy + core::stringw name = m_achievement_info->getName(); + core::stringw s = _("Completed achievement \"%s\".", name); MessageQueue::add(MessageQueue::MT_ACHIEVEMENT, s); // Sends a confirmation to the server that an achievement has been From 66db97056461650247ec97922bf84a65369a11e6 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Tue, 7 Apr 2015 19:32:55 -0400 Subject: [PATCH 095/331] Add context to help translators --- data/gui/options_input.stkgui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gui/options_input.stkgui b/data/gui/options_input.stkgui index e4a230d5f..ec6ed5271 100644 --- a/data/gui/options_input.stkgui +++ b/data/gui/options_input.stkgui @@ -30,7 +30,7 @@